:root{color-scheme:dark;--bg:#071a2c;--ink:#f5fbff;--muted:#b1cbd3;--cyan:#74f5e6;--gold:#ffdc8a;--coral:#ff9a89;--stroke:rgba(179,245,244,.18);--font:-apple-system,BlinkMacSystemFont,"PingFang HK","PingFang TC","Microsoft JhengHei","Noto Sans CJK TC",sans-serif}*{box-sizing:border-box}html{min-height:100%;background:#061526}body{margin:0;min-width:320px;font-family:var(--font);font-size:16px;line-height:1.55;color:var(--ink);background:radial-gradient(ellipse at 73% 16%,#174b62 0,#0d2c42 35%,#07192c 82%);-webkit-tap-highlight-color:transparent}button,a{font:inherit}button{color:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #ffe29a;outline-offset:3px}button:disabled{cursor:default}[hidden]{display:none!important}.svg-defs{position:absolute;width:0;height:0}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}.app{max-width:1800px;min-height:100dvh;margin:auto;display:flex;flex-direction:column;overflow:hidden;position:relative}.app:before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.13;background-image:linear-gradient(rgba(151,232,235,.11) 1px,transparent 1px),linear-gradient(90deg,rgba(151,232,235,.11) 1px,transparent 1px);background-size:72px 72px;mask-image:linear-gradient(transparent,#000 35%,transparent)}.topbar{height:72px;flex:none;padding:0 clamp(20px,4vw,60px);display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid rgba(195,243,244,.13);position:relative;z-index:5;background:rgba(4,20,35,.44)}.brand{display:flex;align-items:center;gap:11px}.brand-icon,.result-icon,.about-icon{width:40px;height:40px;border-radius:13px;background:linear-gradient(145deg,#91fff0,#31c8c2);color:#0a3d4b;display:grid;place-items:center;box-shadow:0 0 22px rgba(67,231,214,.2);flex:none}.brand strong{font-size:16px;display:block;line-height:1.2}.brand small{display:block;color:#a9c8ce;font-size:12px;margin-top:3px}.top-actions{display:flex;gap:8px}.icon-btn{display:flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:8px 12px;border:1px solid rgba(178,239,237,.18);border-radius:11px;background:rgba(13,49,65,.8);color:#e7faf8;font-size:14px}.icon-btn:hover{background:#205468}.icon-btn svg{width:18px;height:18px}.app main{position:relative;flex:1}.screen{position:relative;animation:appear .35s ease both}.section-kicker{display:flex;gap:9px;align-items:center;color:#8cf9e9;font-weight:800;font-size:13px;letter-spacing:.13em}.section-kicker i{width:8px;height:8px;border-radius:50%;background:#6df3df;box-shadow:0 0 16px #6df3df}.site-foot{height:32px;padding:0 clamp(20px,4vw,60px);display:flex;justify-content:space-between;align-items:center;color:#87aab3;font-size:12px;position:relative}.home-screen{padding:clamp(24px,3.4vw,48px) clamp(22px,5vw,76px) 20px}.home-head h1,.mode-hero h1{font-size:clamp(49px,5.4vw,78px);line-height:1.12;margin:13px 0 14px;letter-spacing:.025em}.home-head h1 span,.mode-hero h1 span,.result-header h1 span{color:var(--cyan)}.home-head>p,.mode-hero>p{color:#c8dfe4;font-size:clamp(15px,1.3vw,18px);line-height:1.75;margin:0}.home-head{position:relative}.home-head:after{content:"";position:absolute;width:320px;height:190px;right:3%;top:0;background:radial-gradient(ellipse,#3bcbb73b,transparent 70%);pointer-events:none}.home-cue{display:flex;gap:13px;align-items:center;font-weight:800;margin:24px 0 12px}.home-cue i{width:35px;height:1px;background:#71cac5}.home-cue small{color:#b2ced2;font-size:13px;font-weight:500}.role-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.role-card{height:clamp(235px,33vh,330px);position:relative;overflow:hidden;text-align:left;border:1px solid rgba(184,243,241,.34);border-radius:19px;background:#164355;box-shadow:0 16px 36px rgba(0,11,22,.25);transition:transform .22s,border-color .22s;padding:0;isolation:isolate}.role-card:hover{transform:translateY(-5px);border-color:#9ffff0}.role-picture{position:absolute;inset:0;z-index:-2;background-size:auto 110%;background-position:0% 37%;background-repeat:no-repeat}.role-teacher .role-picture{background-image:url('./assets/teacher-scene.webp')}.role-parent .role-picture{background-image:url('./assets/parent-scene.webp')}.role-student .role-picture{background-image:url('./assets/student-scene.webp')}.role-card:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(3,21,33,.86) 0,rgba(3,21,33,.15) 24%,rgba(3,21,33,.18) 45%,rgba(3,21,33,.95) 100%),linear-gradient(90deg,rgba(2,19,32,.1),rgba(2,19,32,.25))}.role-card-content{display:flex;flex-direction:column;align-items:flex-start;position:absolute;left:20px;right:18px;bottom:17px}.role-card-content small{font-size:11px;letter-spacing:.15em;color:#96f5e8;font-weight:800}.role-card-content strong{font-size:clamp(18px,1.65vw,24px);margin:2px 0}.role-card-content em{font-style:normal;font-size:13px;color:#cbe4e3}.role-go{margin-top:12px;padding:6px 13px;border-radius:8px;background:#8cfae7;color:#103d44;font-size:13px;font-weight:850}.home-bottom{margin-top:16px;display:flex;justify-content:space-between;gap:15px;color:#a9c5cb;font-size:12px}.home-bottom span{display:flex;align-items:center;gap:7px}.home-bottom svg{width:15px;height:15px;color:#8be5d9}.mode-screen{min-height:calc(100dvh - 104px);padding:clamp(35px,5vw,70px) clamp(24px,6vw,90px);display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(30px,6vw,90px);align-items:center}.role-chip{display:inline-flex;border:1px solid #68dfd0;border-radius:99px;background:#1b5261;padding:7px 14px;margin-bottom:24px;font-weight:750;color:#bcfff3;font-size:14px}.mode-hero>p{max-width:510px}.steps-overview{display:flex;gap:8px;flex-wrap:wrap;margin-top:27px}.steps-overview span{padding:9px 11px;border:1px solid var(--stroke);background:rgba(18,64,76,.65);border-radius:10px;font-size:13px}.steps-overview b{color:#90f9e9;margin-right:5px}.mode-choices{display:grid;grid-template-columns:1fr 1fr;gap:14px}.mode-card{position:relative;min-height:260px;padding:24px;text-align:left;border-radius:20px;border:1px solid var(--stroke);background:linear-gradient(150deg,rgba(31,86,99,.95),rgba(11,47,65,.98));box-shadow:0 20px 50px #0003;display:flex;flex-direction:column;align-items:flex-start}.mode-card:hover{border-color:#a1ffed;transform:translateY(-3px)}.mode-card.recommended{border-color:rgba(128,245,228,.68)}.mode-flag{position:absolute;right:14px;top:14px;padding:5px 9px;border-radius:99px;background:#91f6dd;color:#073d41;font-weight:850;font-size:11px}.mode-icon{font-size:27px;color:#9dffef;margin-bottom:12px}.mode-card strong{font-size:23px}.mode-card p{font-size:14px;color:#c1dce0;min-height:65px}.mode-meta{font-size:13px;color:#abd1d4}.mode-action{margin-top:15px;font-size:14px;color:#a8ffed}.plain-btn{border:0;background:none;color:#b7d2d4;text-decoration:underline;text-underline-offset:4px;padding:6px 0;text-align:left;min-height:44px}.play-screen{padding:clamp(18px,2.2vw,31px) clamp(20px,4vw,60px) 20px}.mission-top{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:16px}.mission-top h1{font-size:clamp(29px,3vw,43px);line-height:1.2;margin:7px 0 0;letter-spacing:.03em}.kicker-sep{color:#5a9a9f}.stage-bar{display:flex;align-items:center;gap:10px;padding-bottom:4px}.stage-bar span{display:flex;align-items:center;gap:7px;color:#9dbac0;font-size:13px;font-weight:700;white-space:nowrap}.stage-bar span b{height:26px;width:26px;border-radius:50%;border:1px solid #5a8994;display:grid;place-items:center;font-size:12px}.stage-bar span.current{color:#c7fff5}.stage-bar span.current b{background:#82f3e1;color:#063d44;border-color:#82f3e1}.stage-bar span.done b{background:#317765;color:#dbfff4;border-color:#64d2b1}.stage-bar i{width:17px;height:1px;background:#59828c}.mission-layout{display:grid;grid-template-columns:minmax(300px,.82fr) minmax(410px,1.18fr);gap:16px;align-items:stretch;min-height:clamp(500px,65vh,690px)}.scene-frame{overflow:hidden;position:relative;border:1px solid rgba(180,238,233,.3);border-radius:21px;min-height:490px;isolation:isolate;background:#20576a}.scene-image{position:absolute;inset:0;z-index:-3;background-size:auto 108%;background-repeat:no-repeat;background-position:0% 37%;transform:scale(1.02);animation:scene-drift 16s ease-in-out infinite alternate}.scene-frame.teacher .scene-image{background-image:url('./assets/teacher-scene.webp')}.scene-frame.parent .scene-image{background-image:url('./assets/parent-scene.webp')}.scene-frame.student .scene-image{background-image:url('./assets/student-scene.webp')}.scene-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#072335 0,rgba(5,28,42,.82) 14%,transparent 34%,rgba(5,25,38,.08) 52%,rgba(4,21,35,.94) 89%),linear-gradient(90deg,transparent 42%,rgba(5,26,38,.72) 100%)}.scene-upper{position:absolute;top:17px;left:17px;right:17px;display:flex;justify-content:space-between;align-items:center}.scene-chip{padding:7px 11px;background:#0a394a;border:1px solid rgba(137,250,233,.38);border-radius:99px;font-size:12px;color:#d9fff8;font-weight:700}.scene-shield{height:37px;width:37px;border-radius:12px;display:grid;place-items:center;background:#8af1df;color:#0d4650}.scene-shield svg{width:22px;height:22px}.scene-glow{position:absolute;right:-60px;top:22%;width:160px;height:160px;border-radius:50%;background:#67f5e71c;filter:blur(26px);animation:glow 3s ease-in-out infinite alternate}.story-card{position:absolute;bottom:0;left:0;right:0;padding:22px}.story-label,.task-kicker,.label-overline{display:block;color:#95f8e8;font-size:11px;font-weight:850;letter-spacing:.14em}.story-card p{font-size:16px;line-height:1.75;color:white;margin:7px 0 13px;text-shadow:0 2px 8px #061522}.story-badge{display:inline-block;border-radius:8px;padding:5px 10px;font-size:12px;color:#ffdabd;background:rgba(155,71,63,.65);border:1px solid rgba(255,182,157,.45)}.task-panel{border-radius:21px;border:1px solid rgba(177,238,235,.24);background:linear-gradient(145deg,rgba(27,78,91,.98),rgba(10,43,61,.98));box-shadow:0 18px 44px #0003,inset 0 1px #ffffff15;display:flex;flex-direction:column;padding:clamp(17px,2vw,27px);min-width:0}.task-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.task-count{font-size:13px;font-weight:750;color:#b8d8d7}.task-content{flex:1;display:flex;flex-direction:column}.task-content h2{font-size:clamp(21px,2vw,29px);line-height:1.35;margin:10px 0 7px}.task-intro{color:#c3dbe0;margin:0 0 13px;font-size:15px;line-height:1.65}.evidence-board{border:1px solid rgba(160,231,230,.2);border-radius:15px;background:rgba(5,30,47,.56);padding:12px;margin-top:3px}.board-head{display:flex;align-items:center;gap:8px;padding:1px 3px 10px;color:#bde8e4;font-size:13px;font-weight:750}.board-head svg{color:#8df2e2;width:19px;height:19px}.evidence-grid{display:grid;gap:7px}.evidence-btn{width:100%;min-height:49px;padding:10px 12px;border:1px solid rgba(184,234,232,.17);border-radius:10px;background:rgba(31,82,96,.73);display:flex;align-items:center;text-align:left;gap:10px;transition:background .18s,border-color .18s}.evidence-btn:hover:not(:disabled){border-color:#99f7e8;background:#2d7181}.evidence-btn.found{border-color:#9ef1bd;background:rgba(39,121,92,.6)}.evidence-btn.checked-neutral{border-color:#f1c993;background:rgba(115,87,60,.52)}.evidence-btn strong{font-size:14px}.evidence-btn .evidence-icon{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;background:#5dc8c2;color:#083a45;flex:none;font-size:13px;font-weight:850}.evidence-btn.found .evidence-icon{background:#a7f0c4}.evidence-btn small{margin-left:auto;color:#c1e6e0;font-size:12px}.inline-feedback{margin-top:10px;padding:10px 12px;border-radius:10px;background:rgba(25,103,97,.35);border:1px solid rgba(132,239,215,.28);color:#e2fffa;font-size:14px;line-height:1.55}.inline-feedback.caution{background:rgba(145,90,47,.25);border-color:rgba(255,198,134,.4);color:#ffe4cb}.option-list{display:grid;gap:8px;margin-top:6px}.answer-btn{width:100%;display:flex;align-items:flex-start;gap:10px;border-radius:12px;border:1px solid rgba(186,234,232,.19);background:rgba(7,34,50,.66);padding:12px;text-align:left;line-height:1.5;font-size:15px;transition:background .2s,border-color .2s}.answer-btn:hover:not(:disabled){border-color:#88eee0;background:#205b67}.answer-btn.selected.good{border-color:#92edb8;background:rgba(37,113,83,.58)}.answer-btn.selected.partial{border-color:#ffcd8a;background:rgba(129,92,49,.5)}.answer-btn.selected.risk{border-color:#ffa5a0;background:rgba(135,63,63,.5)}.answer-btn:disabled:not(.selected){opacity:.62}.answer-letter{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;background:#2b6371;color:#cffff8;font-weight:800;font-size:13px;flex:none}.decision-result{border:1px solid #86ddc6;background:rgba(31,105,91,.38);border-radius:12px;padding:12px;margin-top:10px;color:#dcfff6;font-size:14px;line-height:1.6}.decision-result.partial{border-color:#ffd194;background:rgba(128,88,48,.35);color:#ffedda}.decision-result.risk{border-color:#ffa59c;background:rgba(133,62,61,.34);color:#ffe5df}.decision-result strong{display:block;font-size:13px;letter-spacing:.03em;margin-bottom:3px}.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;border:0;border-radius:11px;padding:11px 21px;background:linear-gradient(110deg,#a5ffea,#53dccc);color:#07393e;font-weight:850;text-decoration:none;box-shadow:0 7px 21px #3ce7c922;transition:transform .15s,filter .15s}.primary-button:hover{filter:brightness(1.07);transform:translateY(-2px)}.primary-button svg{width:18px;height:18px}.next-btn{margin-top:12px;width:100%}.task-foot{display:flex;justify-content:space-between;gap:10px;border-top:1px solid var(--stroke);padding-top:10px;margin-top:13px;color:#9bbfc4;font-size:11px}.task-foot span{display:flex;align-items:center;gap:5px}.task-foot svg{width:14px;height:14px;color:#91dfd5}.result-screen{padding:clamp(22px,3vw,45px) clamp(22px,5vw,76px);max-width:1500px;margin:auto}.result-header{display:flex;align-items:center;gap:19px;margin-bottom:22px}.result-icon{width:76px;height:76px;border-radius:24px}.result-icon svg{width:38px;height:38px}.result-header h1{font-size:clamp(28px,3.5vw,48px);line-height:1.25;margin:6px 0}.result-header p{margin:0;color:#c1d9dd}.result-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:15px}.result-main{display:grid;gap:15px}.score-card,.summary-card,.guide-card,.about-modal{border:1px solid var(--stroke);background:linear-gradient(150deg,rgba(29,78,90,.97),rgba(10,42,60,.98));border-radius:20px;box-shadow:0 15px 40px #0002;padding:22px}.score-card{display:flex;justify-content:space-between;align-items:center}.score-card h2,.summary-card h2,.guide-card h2{font-size:21px;margin:4px 0}.score-card p{font-size:14px;color:#b5d1d4;margin:5px 0}.score-number{display:flex;align-items:baseline;white-space:nowrap;color:#a5ffed}.score-number strong{font-size:58px;line-height:1}.score-number span{font-size:15px;color:#abcad0}.result-cases{display:grid;gap:9px;margin-top:12px}.case-summary{padding:12px;border-radius:11px;background:rgba(3,31,44,.5);border:1px solid rgba(176,232,228,.13)}.case-summary strong{display:block;font-size:15px;color:#effffb}.case-summary p{font-size:13px;line-height:1.6;color:#c4dcde;margin:5px 0}.case-summary small{font-size:12px;color:#98ede0}.guide-card{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.guide-card h2{font-size:24px;line-height:1.35}.guide-card p{font-size:14px;color:#bfd9db;margin:0}.guide-card img{width:145px;height:145px;background:white;border:7px solid white;border-radius:8px}.guide-card a{font-size:14px;color:#a2ffef;text-decoration:none;border-bottom:1px solid #8be4d7}.result-actions{display:flex;gap:14px;align-items:center;margin-top:17px}.result-actions p{font-size:12px;color:#a9c4c6}.overlay{position:fixed;inset:0;z-index:30;display:grid;place-items:center;padding:18px;background:rgba(1,13,24,.8);backdrop-filter:blur(6px)}.about-modal{position:relative;max-width:500px;padding:28px}.close-btn{position:absolute;right:18px;top:18px;background:#103e4c;border:1px solid var(--stroke);width:40px;height:40px;border-radius:11px;display:grid;place-items:center}.close-btn svg{width:18px;height:18px}.about-icon{width:53px;height:53px;margin-bottom:15px}.about-modal h2{font-size:27px;line-height:1.3;margin:8px 0}.about-modal p{color:#c4dcdf;font-size:15px}.about-tags{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:19px 0}.about-tags span{padding:10px;background:#0a3343;border:1px solid var(--stroke);border-radius:9px;font-size:14px}.about-modal .primary-button{width:100%}.about-modal small{display:block;color:#a3c1c5;font-size:12px;margin-top:14px}
@keyframes appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes scene-drift{to{transform:scale(1.06) translateX(-1%)}}@keyframes glow{to{opacity:.4;transform:scale(1.15)}}
.evidence-btn{align-items:flex-start}.evidence-copy{display:flex;flex:1;flex-direction:column;gap:3px;min-width:0}.evidence-copy>span{font-size:13px;line-height:1.5;color:#cbe1e3;font-weight:400}.evidence-btn small{white-space:nowrap;align-self:center}
.story-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.scene-status{font-size:12px;padding:5px 9px;border-radius:8px;color:#e1fff9;border:1px solid rgba(143,240,220,.4);background:rgba(12,65,72,.85);transition:background .25s,border-color .25s}.action-good .scene-status{background:#246d60;border-color:#a1f9d3}.action-alert .scene-status{background:#844f46;border-color:#ffc3a4}.action-good .scene-shield{background:#b5ffd5}.action-alert .scene-shield{background:#ffc69f}.action-alert .scene-glow{background:#ff927e44}
@media(max-width:950px){.home-screen{padding-top:25px}.home-head h1{font-size:55px}.role-card{height:240px}.role-card-content strong{font-size:19px}.mission-layout{grid-template-columns:minmax(250px,.7fr) minmax(390px,1.3fr)}.scene-frame{min-height:470px}.scene-image{background-size:auto 110%;background-position:0% 37%}.task-panel{padding:17px}.task-content h2{font-size:23px}.story-card{padding:17px}.story-card p{font-size:14px}.stage-bar{gap:5px}.stage-bar span{font-size:12px}.stage-bar i{width:9px}.result-grid{grid-template-columns:1fr 240px}}
@media(max-width:680px){.topbar{height:64px;padding:0 14px}.brand-icon{width:37px;height:37px}.brand strong{font-size:14px}.brand small{font-size:10px}.top-actions{gap:5px}.icon-btn{width:39px;height:39px;min-height:39px;padding:0}.icon-btn span{display:none}.home-screen{padding:27px 16px}.home-head h1{font-size:48px}.home-head>p{font-size:14px}.wide-only{display:none}.home-cue{margin:19px 0 10px}.role-cards{grid-template-columns:1fr;gap:9px}.role-card{height:128px}.role-picture{background-size:auto 170%;background-position:4% 35%}.role-card:after{background:linear-gradient(90deg,rgba(3,21,33,.2) 0,rgba(3,21,33,.65) 35%,rgba(3,21,33,.98) 68%)}.role-card-content{left:44%;top:13px;bottom:10px}.role-card-content strong{font-size:17px}.role-card-content em{font-size:12px}.role-go{margin-top:6px;padding:4px 9px;font-size:11px}.home-bottom{font-size:11px;display:block}.home-bottom span{margin-top:5px}.mode-screen{display:block;padding:30px 18px}.mode-hero h1{font-size:48px}.mode-hero>p{font-size:14px}.mode-choices{margin-top:23px;grid-template-columns:1fr}.mode-card{min-height:180px;padding:18px}.mode-card p{min-height:auto;margin:8px 0}.mode-action{margin-top:9px}.play-screen{padding:20px 14px}.mission-top{align-items:start;display:block}.mission-top h1{font-size:29px}.stage-bar{margin-top:13px;justify-content:space-between}.stage-bar span{font-size:11px}.stage-bar span b{height:23px;width:23px}.mission-layout{display:flex;flex-direction:column;gap:10px}.scene-frame{min-height:275px;height:275px}.scene-image{background-size:auto 150%;background-position:0% 40%}.scene-shade{background:linear-gradient(180deg,rgba(5,25,39,.9),transparent 30%,rgba(4,21,35,.9) 90%),linear-gradient(90deg,transparent,rgba(5,26,38,.65))}.scene-upper{top:10px;left:10px;right:10px}.story-card{padding:14px}.story-card p{font-size:13px;line-height:1.5;margin:5px 0}.story-badge{font-size:11px}.task-panel{padding:16px}.task-content h2{font-size:22px}.answer-btn{font-size:14px}.task-foot{font-size:10px}.result-screen{padding:22px 15px}.result-header{align-items:flex-start}.result-icon{width:52px;height:52px;border-radius:16px}.result-icon svg{width:27px;height:27px}.result-header h1{font-size:27px}.result-header p{font-size:14px}.result-grid{grid-template-columns:1fr}.guide-card{display:grid;grid-template-columns:1fr 120px;align-items:center}.guide-card .label-overline,.guide-card h2,.guide-card p,.guide-card a{grid-column:1}.guide-card h2{font-size:20px}.guide-card img{grid-column:2;grid-row:1/5;width:120px;height:120px}.result-actions{display:block}.result-actions .primary-button{width:100%}.site-foot{padding:0 16px;font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
