@font-face{font-family:Raleway;src:url('./assets/raleway.woff2') format('woff2');font-display:swap}
:root{font-family:Raleway,Arial,sans-serif;color:#16263c;background:#f3f7fc;font-variant-numeric:lining-nums;--ink:#16263c;--muted:#617189;--accent:#ed131c;--blue:var(--accent);--coral:#d94f44;--line:#d9e2ee;--paper:#fff;--mint:#20816c;--soft:#eaf0fb;color-scheme:light}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button,.button{border:1px solid var(--line);background:white;color:var(--ink);font-weight:650;min-height:44px;border-radius:12px;padding:11px 17px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px}button:hover:enabled,.button:hover{border-color:#9ab3e6;background:#f5f8ff}button:disabled{opacity:.5;cursor:default}.primary{background:var(--blue);border-color:var(--blue);color:white}.primary:hover:enabled{background:#244ab0;color:white}.coral{background:var(--coral);border-color:var(--coral);color:#fff}.danger{color:#ac3029}.quiet{background:transparent;border-color:transparent;color:var(--muted)}:focus-visible{outline:3px solid #e08f17;outline-offset:3px}input,select{width:100%;border:1px solid #b6c6db;border-radius:10px;background:white;color:var(--ink);padding:12px;min-height:46px}label{display:block;font-size:14px;font-weight:650;line-height:1.5}label input,label select{margin-top:7px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(34px,4.4vw,62px);letter-spacing:-1.8px;line-height:1.08;font-weight:800}h2{font-size:28px;line-height:1.2;letter-spacing:-.6px}h3{font-size:19px;line-height:1.35}p{line-height:1.65}small,.muted{color:var(--muted)}small{line-height:1.5}.loading{padding:60px;text-align:center}.brand{display:flex;align-items:center;gap:12px;font-weight:800;text-decoration:none;color:var(--ink);font-size:24px;letter-spacing:-.6px}.brand-mark{background:var(--blue);color:white;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;font-size:28px}.brand small{display:block;font-size:11px;font-weight:600;letter-spacing:0;margin-top:2px}.topbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:25px 0}.landing{max-width:1240px;margin:auto;padding:0 32px 30px}.top-actions{display:flex;gap:8px;align-items:center}.semester{font-size:13px;padding:7px 12px;background:#e7edf8;border-radius:20px;font-weight:600}.hero{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(300px,.8fr);align-items:center;gap:64px;padding:52px 0 38px}.hero h1{max-width:640px;margin-bottom:22px}.hero p{color:var(--muted);font-size:18px;max-width:560px}.hero-art{position:relative;height:360px;background:#e8effc;border-radius:80px 36px 90px 36px;display:flex;align-items:center;justify-content:center;overflow:hidden}.hero-orbit{position:absolute;width:310px;height:310px;border:1px solid #b9cbee;border-radius:50%;transform:rotate(-22deg)}.hero-orbit:after{content:'';width:390px;height:200px;border:1px solid #b9cbee;border-radius:50%;position:absolute;left:-40px;top:55px}.duo{width:192px;height:208px;flex:none;background:url('./assets/duo.webp') 0 0 /1536px 2288px no-repeat;animation:duo-idle 2.4s steps(6) infinite;position:relative;image-rendering:auto}.hero-art .duo{transform:scale(1.52);margin-top:-8px}.duo.waiting{background-position-y:-1248px;animation:duo-wait 2s steps(6) infinite}.duo.review{background-position-y:-1664px;animation:duo-review 2.4s steps(6) infinite}.duo.waving{background-position-y:-624px;animation:duo-wave 1.6s steps(4) infinite}.hero-label{position:absolute;bottom:20px;left:0;right:0;text-align:center;color:#405a85;font-weight:750;font-size:14px}.mission-note{position:absolute;top:22px;left:22px;padding:8px 13px;border:1px solid #bdd0ed;border-radius:30px;background:#fff9;font-size:12px;font-weight:650}.game-heading{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-top:15px}.game-heading h2{margin-bottom:20px}.game-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.game-card{background:var(--paper);border:1px solid var(--line);border-radius:24px;padding:26px;position:relative;overflow:hidden}.game-card:before{content:'';display:block;width:54px;height:5px;background:var(--coral);border-radius:5px;margin-bottom:22px}.game-card.blue:before{background:var(--blue)}.game-card h3{font-size:26px;letter-spacing:-.6px;margin:13px 0 10px}.game-card p{color:var(--muted);margin-bottom:22px}.tag{display:inline-block;padding:6px 10px;background:#fbecea;color:#a83730;font-size:12px;font-weight:750;border-radius:8px}.blue .tag{background:#e9efff;color:#2b51ad}.mini-track{display:flex;gap:6px;margin-bottom:22px}.mini-stop{flex:1;border:1px solid #ead1ce;color:#a64740;background:#fff5f4;border-radius:8px;text-align:center;padding:9px 0;font-size:12px;font-weight:700}.blue .mini-stop{background:#f0f4ff;border-color:#d6e0fa;color:#4266b5}.card-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:13px;color:var(--muted)}.landing-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:28px 0 0;color:var(--muted);font-size:13px}.landing-bottom a{color:var(--muted)}.join-strip{display:flex;align-items:center;justify-content:space-between;gap:30px;background:var(--ink);color:#fff;border-radius:18px;padding:21px 26px;margin-top:22px}.join-strip p{color:#c3d0e2;margin:6px 0 0;font-size:14px}.join-strip h3{margin:0}.join-strip button{flex:none}.shell{display:grid;grid-template-columns:238px minmax(0,1fr);min-height:100dvh}.rail{padding:26px 20px;background:white;border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;width:238px;display:flex;flex-direction:column;overflow:auto}.rail .brand{font-size:22px}.rail-caption{margin:35px 10px 13px;font-size:13px;color:var(--muted)}.navigation{display:grid;gap:7px}.navigation button{border-color:transparent;justify-content:flex-start;background:transparent;border-radius:11px;color:var(--muted);font-size:15px}.navigation button.active{background:#eaf0ff;color:#294fa8}.nav-symbol{width:22px;display:inline-grid;place-items:center;font-family:Arial;font-size:20px}.mentor{margin-top:auto;padding-top:24px}.mentor-visual{height:158px;display:grid;place-items:center;background:#eff3fb;border-radius:22px;overflow:hidden}.mentor-visual .duo{transform:scale(.75);margin-top:-12px}.mentor h3{font-size:16px;margin:15px 0 7px}.mentor p{font-size:13px;color:var(--muted);line-height:1.55;margin:0}.main{grid-column:2;padding:30px 36px 50px;max-width:1540px;width:100%}.workspace-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.workspace-header h1{font-size:30px;letter-spacing:-.7px;margin:6px 0 0}.workspace-header small{font-size:13px}.header-actions{display:flex;align-items:center;gap:10px}.live-pill{border-radius:30px;font-size:12px;font-weight:650;padding:8px 12px;background:#e8f4ee;color:#1c7056}.live-pill.offline{background:#fff0db;color:#925815}.clock{font-variant-numeric:lining-nums tabular-nums;font-family:Arial,sans-serif;font-size:38px;font-weight:700;letter-spacing:-1px;line-height:1.1}.clock.urgent{color:#b83930}.panel{background:white;border:1px solid var(--line);border-radius:21px;padding:25px;margin-bottom:20px}.panel h2{font-size:23px;margin-bottom:14px}.panel p{color:var(--muted)}.section-row{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px}.section-row h2,.section-row h3{margin:0}.inline{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.inline label{flex:1;min-width:130px}.inline button{flex:none}.timer-panel{display:flex;align-items:center;justify-content:space-between;gap:25px;background:#eaf0fd;border-color:#ccdaf5}.timer-panel p{margin:6px 0 0;font-size:13px}.timer-controls{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.timer-controls label{width:90px}.game-select{display:flex;gap:10px;margin-bottom:22px}.game-select button{flex:1;justify-content:flex-start;padding:15px 18px;border-radius:14px;color:var(--muted)}.game-select button.selected{border-color:#7195e8;background:#eef3ff;color:#294fa8}.game-select strong{display:block;font-size:15px}.game-select small{display:block;font-weight:500;font-size:12px;margin-top:5px}.stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:20px}.stat{padding:19px 22px;background:white;border:1px solid var(--line);border-radius:16px;display:flex;align-items:center;justify-content:space-between;gap:15px}.stat strong{font-size:27px;font-family:Arial;font-weight:650}.stat span{font-size:13px;color:var(--muted)}.crew-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.crew-card{padding:21px;background:white;border:1px solid var(--line);border-radius:17px;min-width:0}.crew-card h3{margin:0 0 5px}.crew-code{font-family:Arial,sans-serif;font-size:26px;letter-spacing:3px;font-weight:650;margin:13px 0 16px;color:#2e51ac}.crew-card:nth-child(4n+2) .crew-code{color:#b84941}.crew-card:nth-child(4n+3) .crew-code{color:#277760}.crew-card:nth-child(4n+4) .crew-code{color:#7b57aa}.crew-card small{display:block}.crew-card select{margin-top:12px;font-size:13px}.crew-card .crew-actions{display:flex;flex-wrap:wrap;gap:4px;margin-top:10px}.crew-actions button{font-size:12px;min-height:36px;padding:8px}.invite{display:grid;grid-template-columns:minmax(0,1fr) 180px minmax(0,1fr);align-items:center;gap:30px}.invite img{width:180px;height:180px;display:block;background:white}.invite p{margin-bottom:10px;font-size:14px;overflow-wrap:anywhere}.room-code{font-family:Arial;font-size:25px;letter-spacing:3px;font-weight:700}.group-menu{max-width:360px}.small-link{color:#315dc4;font-size:13px}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;font-size:14px;white-space:nowrap}th,td{padding:13px 12px;border-bottom:1px solid var(--line);text-align:left}th{font-size:12px;color:var(--muted);font-weight:650;background:#f7f9fc}tbody th{background:transparent;color:var(--ink);font-size:14px}td .progress{width:90px}.progress{height:7px;background:#e8edf5;border-radius:5px;overflow:hidden}.progress i{height:100%;display:block;background:var(--blue);border-radius:5px}.route{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.route-lecture{padding:18px;border:1px solid var(--line);border-radius:15px;background:#f9fbff}.route-lecture h3{font-size:15px;margin:0 0 13px;color:#415775;min-height:40px}.route-station{display:flex;align-items:center;gap:10px;min-height:44px;margin-bottom:6px;border:0;background:transparent;padding:4px;color:var(--ink);text-align:left;font-size:13px;width:100%;justify-content:flex-start}.station-number{width:31px;height:31px;border-radius:9px;display:grid;place-items:center;border:1px solid #cdd9ec;background:white;flex:none;font-family:Arial;font-weight:700}.route-station.done .station-number{background:#e5f5ed;color:#217452;border-color:#aed9c6}.route-station.current .station-number{background:var(--blue);color:white;border-color:var(--blue)}.route-station:disabled{opacity:.65}.task-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:21px}.task-context{font-size:17px;line-height:1.65;color:#40536c;max-width:80ch;margin-bottom:24px}.task-top{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px}.task-top h2{font-size:30px;margin:0}.task-top .tag{background:#edf2fd;color:#375cab}.task-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.answer-card{padding:20px;background:#f8faff;border:1px solid var(--line);border-radius:15px;min-width:0}.answer-card.partner-field{background:#f2f5f9}.answer-card h3{font-size:16px;line-height:1.5;margin:0 0 14px}.field-owner{font-size:11px;font-weight:700;color:#3261bf;display:block;margin-bottom:8px}.partner-field .field-owner{color:#637087}.option{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.5;font-weight:500;margin:9px 0;cursor:pointer;padding:8px 9px;border-radius:8px}.option:has(input:checked){background:#e2eafe;color:#23468e}.option input{width:16px;height:16px;min-height:0;margin:2px 0 0;accent-color:var(--blue);flex:none;padding:0}.option:has(input:disabled){cursor:default}.answer-card input[type=text]{font-family:Arial;margin-top:0}.task-footer{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-top:23px}.saved-label{font-size:12px;color:var(--muted)}.side-info{padding:23px;height:fit-content}.side-info h3{font-size:16px}.side-info p{font-size:13px}.role-card{background:#edf3ff;border-radius:12px;padding:15px;margin:17px 0;font-size:13px;line-height:1.6}.hint{margin-top:14px;background:#fff8e9;border:1px solid #eddbb4;color:#7b5b1e;border-radius:12px;padding:15px;font-size:14px;line-height:1.6}.explanation{margin-top:14px;padding:13px;background:#e8f4ef;color:#246951;border-radius:10px;font-size:13px;line-height:1.6}.explanation strong{display:block;margin-bottom:5px}.review-correct{color:#227456}.review-incorrect{color:#b43f36}.review-unanswered{color:#78869a}.badge{font-size:11px;font-weight:650;border-radius:7px;padding:5px 8px;background:#edf2fb}.score-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.score-card{padding:21px;border:1px solid var(--line);border-radius:15px;background:white}.score-card strong{font-size:29px;font-family:Arial;color:#3159b4}.score-card h3{margin-bottom:12px}.instructions{max-width:900px}.instructions ol{padding-left:22px}.instructions li{line-height:1.75;margin:12px 0;color:#40536c}.instructions h3{margin:26px 0 10px}.empty{padding:44px 30px;text-align:center}.empty h2{margin-top:16px}.empty p{max-width:550px;margin:0 auto 22px}.finish{padding:45px;text-align:center}.finish .duo{margin:0 auto 25px}.finish h2{font-size:32px}.countdown{position:fixed;inset:0;z-index:500;display:grid;place-items:center;background:#edf3ffef;backdrop-filter:blur(6px);color:var(--blue);font-size:150px;font-family:Arial;font-weight:700}.countdown[hidden]{display:none}.sync-banner{background:#fff4df;border:1px solid #ecd5a1;color:#83591d;padding:11px 15px;border-radius:12px;margin-bottom:18px;font-size:13px}.error{color:#a52b27;font-size:14px;line-height:1.5}.success{color:#236f53}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:23px}dialog{border:1px solid var(--line);border-radius:23px;max-width:520px;width:calc(100% - 32px);padding:28px;color:var(--ink);box-shadow:0 25px 100px #142c5c2a}dialog::backdrop{background:#16263c66;backdrop-filter:blur(3px)}dialog h2{font-size:26px;margin-bottom:12px}dialog p{font-size:14px;color:var(--muted)}dialog label{margin-bottom:16px}dialog .error:empty{display:none}.close-modal{position:absolute;right:15px;top:15px;width:34px;min-height:34px;padding:0;font-size:21px;background:transparent;border:0;color:var(--muted)}#toast{position:fixed;right:24px;bottom:24px;max-width:420px;background:#16263c;color:white;font-size:14px;line-height:1.5;padding:14px 20px;border-radius:13px;z-index:600;display:none;box-shadow:0 12px 40px #16263c33}.presentation .rail{display:none}.presentation .shell{grid-template-columns:1fr}.presentation .main{grid-column:1;max-width:none}.presentation .workspace-header h1{font-size:38px}.presentation .crew-code{font-size:38px}.presentation table{font-size:18px}.presentation .route-lecture h3{font-size:19px}.presentation .route-station{font-size:17px}.presentation .answer-card h3{font-size:20px}.presentation .option,.presentation .explanation{font-size:17px}.dark{--ink:#e9f0fc;--muted:#a5b6cc;--line:#38485e;--paper:#243347;--soft:#253b61;background:#19273b;color:var(--ink);color-scheme:dark}.dark .rail,.dark .panel,.dark .crew-card,.dark .score-card,.dark .stat,.dark button,.dark input,.dark select,.dark dialog{background:var(--paper);color:var(--ink)}.dark .primary{background:#4e7bf2}.dark .answer-card,.dark .route-lecture,.dark th,.dark .mentor-visual{background:#293e5c}.dark .task-context,.dark .instructions li{color:#b9c9dd}.dark .timer-panel,.dark .role-card,.dark .navigation .active,.dark .game-select .selected{background:#2a416b}.dark .option:has(input:checked){background:#354e7d;color:#dfeaff}.dark .explanation{background:#22483c;color:#b7e6d2}.dark .partner-field{background:#243145}.dark .station-number{background:#253b61}.dark .hero-art{background:#253b61}.dark .game-card p{color:var(--muted)}.dark .quiet{background:transparent}.dark .hero-label{color:#bfd3ff}
@keyframes duo-idle{to{background-position-x:-1152px}}@keyframes duo-wait{to{background-position-x:-1152px}}@keyframes duo-review{to{background-position-x:-1152px}}@keyframes duo-wave{to{background-position-x:-768px}}
@media(min-width:1600px){.main{padding:38px 50px}.task-fields{gap:20px}.crew-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:1180px){.task-layout{grid-template-columns:minmax(0,1fr)}.side-info{display:none}.crew-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.route{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{gap:30px}.shell{grid-template-columns:210px minmax(0,1fr)}.rail{width:210px;padding:25px 15px}.main{padding:26px}.invite{grid-template-columns:minmax(0,1fr) 160px}.invite>div:last-child{grid-column:1/-1}.invite img{width:160px;height:160px}.timer-panel{align-items:flex-start;flex-direction:column;gap:17px}}
@media(max-width:760px){.landing{padding:0 20px 28px}.topbar{padding:20px 0}.top-actions .semester{display:none}.top-actions button{font-size:12px;padding:9px}.hero{grid-template-columns:1fr;padding:25px 0 24px;gap:25px}.hero h1{font-size:42px;letter-spacing:-1.2px}.hero p{font-size:16px}.hero-art{height:260px;border-radius:45px 22px 55px 22px}.hero-art .duo{transform:scale(1.05)}.hero-label{bottom:17px}.hero-orbit{width:240px;height:240px}.hero-orbit:after{width:300px;height:160px;left:-30px;top:40px}.game-grid{grid-template-columns:1fr}.game-card{padding:23px}.game-heading{align-items:start;flex-direction:column;gap:0}.game-heading h2{margin-bottom:7px}.game-heading small{margin-bottom:18px}.join-strip{align-items:flex-start;gap:14px;flex-direction:column;padding:21px}.join-strip button{width:100%}.landing-bottom{align-items:flex-start;flex-direction:column;gap:12px}.shell{display:block}.rail{position:fixed;inset:auto 0 0;width:100%;height:74px;z-index:200;padding:7px 6px calc(7px + env(safe-area-inset-bottom));background:var(--paper);border:0;border-top:1px solid var(--line);overflow:visible}.rail .brand,.rail-caption,.mentor{display:none}.navigation{grid-template-columns:repeat(4,minmax(0,1fr));gap:0}.navigation button{display:flex;flex-direction:column;gap:4px;padding:5px 2px;font-size:10px;border-radius:9px;min-height:52px}.nav-symbol{font-size:20px}.main{padding:20px 16px 100px}.workspace-header{gap:12px;align-items:flex-start;margin-bottom:20px}.workspace-header h1{font-size:23px}.header-actions{gap:4px;flex-wrap:wrap;justify-content:flex-end}.header-actions button{padding:8px;min-height:36px;font-size:13px}.header-actions .live-pill{font-size:10px}.header-actions .fullscreen{display:none}.panel{padding:20px 16px;border-radius:17px}.panel h2{font-size:21px}.game-select{gap:8px}.game-select button{padding:12px 10px;min-width:0;align-items:flex-start}.game-select strong{font-size:13px}.game-select small{font-size:10px}.stat-row{gap:7px}.stat{padding:13px 10px;flex-direction:column;align-items:flex-start;gap:9px;border-radius:12px}.stat span{font-size:11px}.stat strong{font-size:22px}.crew-grid{gap:10px}.crew-card{padding:16px 12px}.crew-card h3{font-size:16px}.crew-code{font-size:22px;letter-spacing:1px}.crew-actions button{font-size:11px;padding:6px}.invite{grid-template-columns:1fr;text-align:center;gap:18px}.invite img{width:190px;height:190px;margin:auto;grid-row:1}.invite .inline{justify-content:center}.invite>div:last-child{grid-column:1}.section-row{align-items:flex-start;flex-direction:column;gap:12px}.section-row .inline{width:100%}.timer-controls{gap:8px;width:100%;align-items:end}.timer-controls label{width:70px;font-size:11px}.timer-controls button{font-size:12px;padding:11px 10px}.timer-controls .reset-time{min-height:35px}.clock{font-size:33px}.route{grid-template-columns:1fr}.route-lecture h3{min-height:0}.task-fields{grid-template-columns:1fr}.task-top{align-items:flex-start;flex-direction:column;gap:11px}.task-top h2{font-size:27px}.task-context{font-size:16px}.task-footer{align-items:flex-start;flex-direction:column}.task-footer button{width:100%}.task-footer .saved-label{font-size:11px}.answer-card{padding:18px 15px}.option{font-size:14px}.score-grid{grid-template-columns:1fr 1fr}.finish{padding:25px 12px}.finish h2{font-size:27px}.group-menu{max-width:none}.presentation .main{padding-bottom:25px}#toast{right:16px;left:16px;bottom:88px;max-width:none}.mobile-hidden{display:none!important}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important}.duo{background-position-x:0!important}}
.brand-logo{display:block;width:42px;height:42px;object-fit:contain;flex:none}.brand-mark{background:transparent}
.brand-logo{display:block;width:42px;height:42px;flex:none;background:var(--blue);mask:url("./assets/logo.png") center/contain no-repeat;-webkit-mask:url("./assets/logo.png") center/contain no-repeat}
.brand-logo{background:transparent;mask:none;-webkit-mask:none;object-fit:contain}
:root{--accent:#ed131c;--accent-strong:#b3151c;--accent-wash:#fff0f1;--accent-border:#f3b9bf;--action:#df121b;--coral:var(--accent)}
.primary,.coral{background:var(--action);border-color:var(--action);color:#fff}
.primary:hover:enabled,.coral:hover:enabled{background:#bc1119;border-color:#bc1119;color:#fff}
button:hover:enabled,.button:hover{border-color:var(--accent-border);background:var(--accent-wash)}
button.primary:hover:enabled{background:#bc1119;color:#fff}
.navigation button.active,.game-select button.selected,.option:has(input:checked){background:var(--accent-wash);color:var(--accent-strong)}
.game-select button.selected{border-color:var(--accent)}
.timer-panel,.role-card{background:var(--accent-wash);border-color:var(--accent-border)}
.field-owner,.small-link,.score-card strong{color:var(--accent-strong)}
.crew-card:nth-child(4n+1) .crew-code,.crew-card:nth-child(4n+2) .crew-code{color:var(--accent-strong)}
.blue .tag,.task-top .tag{background:var(--accent-wash);color:var(--accent-strong)}
.blue .mini-stop{background:var(--accent-wash);border-color:var(--accent-border);color:var(--accent-strong)}
.hero-art{background:#f8e9ed}.hero-orbit,.hero-orbit:after{border-color:#e5bac3}.hero-label{color:#8e394a}.mission-note{border-color:#e5bac3}
.answer-card{background:#fffafb}.partner-field{background:#f2f5f9}.mentor-visual{background:#f8edf0}
.dark{--accent-strong:#ffb5bb;--accent-wash:#4b2630;--accent-border:#a95661;--action:#c51018;--blue:#ed131c}
.dark .primary,.dark .coral{background:var(--action);color:#fff}
.dark .navigation button.active,.dark .game-select button.selected,.dark .option:has(input:checked){background:var(--accent-wash);color:var(--accent-strong)}
.dark .timer-panel,.dark .role-card{background:var(--accent-wash)}
.dark .field-owner,.dark .score-card strong{color:var(--accent-strong)}
.dark .hero-art{background:#432833}.dark .hero-label{color:#ecc0c9}.dark .mentor-visual{background:#432833}
.dark .answer-card{background:#342a3c}.dark .partner-field{background:#243145}
.main{max-width:none;padding:20px 24px 28px}.workspace-header{margin-bottom:16px}.workspace-header h1{font-size:27px}.panel{padding:18px 20px;margin-bottom:14px;border-radius:17px}.section-row{margin-bottom:14px}.game-select{margin-bottom:14px}.game-select button{padding:11px 14px}.timer-panel{padding:12px 16px;gap:14px;margin-bottom:14px}.timer-panel .clock{font-size:31px}.timer-panel p{font-size:11px}.timer-controls{gap:6px}.timer-controls button{font-size:13px;padding:10px 11px;min-height:41px}.timer-controls label{font-size:11px;width:70px}.timer-controls input{padding:10px;min-height:41px}.route-controls{display:grid;grid-template-columns:minmax(290px,.65fr) minmax(0,1.35fr);gap:14px;align-items:stretch}.route-controls>.game-select,.route-controls>.timer-panel{margin-bottom:14px}.route-controls .game-select button{font-size:13px}.route-controls .game-select strong{font-size:14px}.route-controls .timer-panel{flex-wrap:wrap;flex-direction:row;align-items:center}.route-controls .timer-panel>div:first-child{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.route-controls .timer-panel>div:first-child p{display:none}.route-controls .timer-controls{flex:1;justify-content:flex-end}.movement-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px}.movement-heading h2{font-size:23px;margin:0 0 5px}.movement-heading small{font-size:12px}.map-stats{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;font-size:11px;color:var(--muted)}.map-stats>span{padding:6px 9px;background:var(--soft);border-radius:8px}.map-stats button{font-size:12px;min-height:34px;padding:7px}.movement-map-grid{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:16px;align-items:start}.movement-map-scroll{overflow-x:auto;max-width:100%;border-radius:12px;background:#f7f9fd}.station-route-map{display:block;width:100%;height:auto;min-width:0;font-family:Raleway,Arial,sans-serif}.map-road{fill:none;stroke:#d9e2ee;stroke-width:24;stroke-linecap:round;stroke-linejoin:round}.map-road-center{fill:none;stroke:#fff;stroke-width:3;stroke-dasharray:5 10}.map-progress-road{fill:none;stroke:#e9868d;stroke-width:8;stroke-linecap:round;stroke-linejoin:round}.map-station circle{fill:var(--paper);stroke:#becce0;stroke-width:2}.map-station.visited circle{fill:var(--accent-wash);stroke:var(--accent)}.map-station.accessible{cursor:pointer}.map-station.accessible:hover circle,.map-station.accessible:focus-visible circle{stroke:var(--accent);stroke-width:4}.map-station-number{font-family:Arial,sans-serif;font-size:21px;font-weight:700;fill:var(--ink);pointer-events:none}.map-station-title{font-size:13px;font-weight:650;fill:var(--ink);pointer-events:none}.map-station-lecture{font-size:11px;fill:var(--muted);pointer-events:none}.map-token{cursor:pointer}.map-token circle{stroke:white;stroke-width:1.5}.map-token text{font-family:Arial,sans-serif;font-size:9px;font-weight:700;fill:white;pointer-events:none}.map-token.muted-token{opacity:.24}.map-token:focus-visible circle{stroke:var(--accent);stroke-width:3}.map-finish circle{fill:#e8f4ee;stroke:#3b896f;stroke-width:2}.map-finish>text:first-of-type{fill:#23684f;font-family:Arial;font-size:21px}.movement-roster{display:grid;gap:7px;max-height:584px;overflow:auto;padding-right:3px}.map-crew{display:flex;align-items:flex-start;gap:10px;text-align:left;justify-content:flex-start;padding:10px;min-height:64px;border-radius:10px}.map-crew.selected{border-color:var(--accent);background:var(--accent-wash)}.crew-marker{width:27px;height:27px;border-radius:50%;flex:none;display:grid;place-items:center;color:#fff;font-family:Arial;font-size:12px;font-weight:700}.map-crew-info{min-width:0;display:grid;gap:3px}.map-crew-info strong{font-size:13px;overflow-wrap:anywhere}.map-crew-info small{font-size:10px;font-weight:500}.map-legend{display:flex;gap:17px;align-items:center;flex-wrap:wrap;color:var(--muted);font-size:11px;padding-top:12px}.map-legend>span{display:flex;align-items:center;gap:7px}.legend-station{width:13px;height:13px;border-radius:50%;border:1px solid #bacadd;background:var(--paper)}.legend-crew{width:13px;height:13px;border-radius:50%;background:var(--accent)}.route-details summary,.lecture-details summary,.recovery-fields summary{cursor:pointer;font-size:14px;font-weight:650}.route-details .table-scroll,.lecture-details .route{margin-top:16px}.score-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px}.score-card{padding:14px 16px;border-radius:13px;display:grid;gap:8px}.score-card h3{font-size:16px;margin:3px 0 0}.score-values{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.score-values strong{font-size:27px}.score-values strong small{font-size:12px;font-weight:500}.score-values>span{font-size:12px;color:var(--muted)}.recovery-card{padding:15px;border:1px solid var(--accent-border);background:var(--accent-wash);border-radius:12px;margin:16px 0}.recovery-card strong{display:block;font-family:Arial;font-size:26px;letter-spacing:3px;margin:8px 0}.recovery-card p{font-size:13px;margin:0}.recovery-fields{margin:8px 0 20px}.recovery-fields label{margin-top:13px}.dark .movement-map-scroll{background:#1d2a3e}.dark .map-road{stroke:#495b73}.dark .map-road-center{stroke:#243347}.dark .map-station circle{stroke:#708199}.dark .map-token circle{stroke:#dce6f5}.dark .map-stats>span{background:#293a54}
@media(max-width:1400px){.route-controls{grid-template-columns:1fr}.route-controls>.game-select{margin-bottom:0}.route-controls .timer-panel{margin-bottom:14px}.route-controls .game-select{max-width:none}}
@media(max-width:1100px){.movement-map-grid{grid-template-columns:1fr}.movement-roster{grid-template-columns:repeat(3,minmax(0,1fr));max-height:none}.movement-heading{align-items:flex-start;flex-direction:column;gap:10px}.map-stats{justify-content:flex-start}.timer-panel{flex-direction:row;flex-wrap:wrap;align-items:center}}
@media(max-width:760px){.shell{height:100vh;height:100dvh;min-height:0;overflow:hidden}.main{height:calc(100vh - 74px - env(safe-area-inset-bottom,0px));height:calc(100dvh - 74px - env(safe-area-inset-bottom,0px));overflow-y:auto;overscroll-behavior-y:contain;padding:16px 14px 24px;scroll-padding-bottom:18px;-webkit-overflow-scrolling:touch}.rail{height:calc(74px + env(safe-area-inset-bottom,0px));padding:7px 6px calc(7px + env(safe-area-inset-bottom,0px));border-radius:0;background:var(--paper)}.workspace-header h1{font-size:23px}.panel{padding:16px 14px}.route-controls{gap:10px}.route-controls .timer-panel{gap:11px}.route-controls .timer-controls{justify-content:flex-start}.timer-controls button{font-size:12px}.movement-roster{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.station-route-map{min-width:760px}.movement-panel{padding:14px 10px}.movement-heading h2{font-size:21px}.map-legend{gap:10px;font-size:10px}.map-stats{gap:6px}.map-stats>span{font-size:10px}.map-crew{padding:9px 7px;gap:7px}.map-crew-info strong{font-size:12px}.score-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.score-values{gap:6px;align-items:flex-start;flex-direction:column}.score-card{padding:12px}.score-card strong{font-size:23px}.presentation .main{height:100vh;height:100dvh;padding-bottom:20px}.presentation .shell{height:100vh;height:100dvh}}
@media(min-width:1401px){.route-controls{grid-template-columns:minmax(280px,.5fr) minmax(0,1.5fr)}.route-controls .game-select{min-height:78px;align-self:start}.route-controls .timer-controls button{font-size:12px;padding:8px 9px}.route-controls .timer-panel{min-height:78px}}
