:root{--bg:#fff7e6;--bg-2:#fcefe0;--paper:#fffdf7;--paper-blue:#eef7ff;--text:#24324a;--muted:#5f6a7c;--outline:#24324a;--shadow:0 18px 0 #24324a14,0 26px 40px #24324a1f;--yellow:#ffd768;--blue:#59b4ff;--orange:#ff8f66;--green:#6ccf8d;--green-soft:#eafff0;--red-soft:#fff0ee;--sand:#bb8b52;--sand-soft:#fff1df}*{box-sizing:border-box}html{scroll-behavior:smooth}body{color:var(--text);background:radial-gradient(circle at top left,#ffd66847,transparent 30%),radial-gradient(circle at top right,#59b4ff2e,transparent 30%),radial-gradient(circle at bottom left,#ff8f6624,transparent 26%),linear-gradient(180deg,var(--bg),var(--bg-2));margin:0;font-family:Arial,Helvetica,sans-serif}button,input{font:inherit}img{max-width:100%;display:block}h1,h2,h3,strong,.eyebrow,.mini-badge,.rule-label,.section-kicker,.counter-bubble,.primary-button,.secondary-button{font-weight:800}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.page-shell{width:min(1320px,100% - 28px);margin:0 auto;padding:24px 0 56px}.comic-panel{border:4px solid var(--outline);background:var(--paper);box-shadow:var(--shadow);border-radius:34px;position:relative}.start-overlay{z-index:40;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#24324a57;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.start-card{text-align:center;width:min(640px,100%);padding:28px}.start-title-art{width:min(100%,560px);margin:10px auto 18px}.start-card p{color:var(--muted);margin:0;line-height:1.55}.start-form{gap:10px;margin-top:18px;display:grid}.name-label-input{text-align:left;font-weight:800}.name-input{border:3px solid var(--outline);background:#fff;border-radius:20px;outline:none;width:100%;padding:16px 18px}.name-input:focus{box-shadow:0 0 0 5px #59b4ff33}.start-button{justify-self:center;min-width:220px}.hero-card{grid-template-columns:1.15fr .85fr;gap:24px;padding:24px;display:grid;overflow:hidden}.hero-card:before{content:"";pointer-events:none;background:radial-gradient(circle at 20% 16%,#ffd66847,#0000 20%),radial-gradient(circle at 88% 18%,#59b4ff2e,#0000 20%);position:absolute;inset:0}.hero-copy,.hero-rules-card{z-index:1;position:relative}.hero-stickers,.hero-toolbar,.result-actions,.result-metrics{flex-wrap:wrap;gap:12px;display:flex}.eyebrow,.mini-badge,.rule-label,.section-kicker,.counter-bubble{border:3px solid var(--outline);border-radius:999px;justify-content:center;align-items:center;display:inline-flex}.eyebrow{background:var(--yellow);padding:10px 16px}.mini-badge{background:#dff4ff;padding:10px 16px}.hero-title-art{filter:drop-shadow(0 8px 18px #24324a1f);width:min(100%,760px);margin:14px 0 10px}.scene-title-art{width:min(100%,360px);margin:10px 0 8px}.intro{color:var(--muted);max-width:760px;margin:0;font-size:1.08rem;line-height:1.6}.hero-toolbar{align-items:stretch;margin-top:18px}.comic-score,.progress-comic,.hero-rules-card,.metric-card,.mistake-card,.round-complete-card,.result-art-card,.clue-card{border:4px solid var(--outline);background:#fff;border-radius:28px}.comic-score,.progress-comic{min-width:220px;padding:16px 18px}.comic-score strong,.progress-comic strong,.mistake-card strong,.metric-card strong{margin-top:8px;font-size:1.8rem;display:block}.comic-score span,.progress-comic span,.mistake-card p,.metric-card span{color:var(--muted);line-height:1.45}.section-kicker,.rule-label{background:#fff2b8;padding:8px 14px}.progress-track{border:3px solid var(--outline);background:#eef3fb;border-radius:999px;height:18px;margin-top:12px;overflow:hidden}.progress-fill{background:linear-gradient(90deg,var(--blue),#80d0ff);height:100%}.hero-rules-card{background:linear-gradient(#fffef6,#fef2df);padding:20px}.rules-list{gap:12px;margin:16px 0 0;padding:0;line-height:1.55;list-style:none;display:grid}.rules-item{grid-template-columns:60px 1fr;align-items:center;gap:12px;padding:8px 0;display:grid}.rule-number-art{object-fit:contain;filter:drop-shadow(0 6px 10px #24324a26);width:52px;height:52px}.rules-footer{border:3px dashed var(--outline);color:var(--muted);background:#fff;border-radius:22px;margin-top:16px;padding:14px 16px}.game-grid{grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);align-items:start;gap:24px;margin-top:24px;display:grid}.scene-panel,.clue-panel,.result-panel{padding:22px}.scene-headline{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.scene-headline h2,.result-copy h2{margin:10px 0;font-size:clamp(2rem,3vw,3rem);line-height:1.04}.scene-headline p,.result-copy p,.certificate-note{color:var(--muted);margin:0;line-height:1.55}.counter-bubble{white-space:nowrap;background:#dff4ff;padding:10px 16px}.scene-wrapper{border:4px solid var(--outline);cursor:crosshair;background:linear-gradient(#f5fbff,#fff8ed);border-radius:30px;min-height:480px;margin-top:18px;position:relative;overflow:hidden}.scene-image{pointer-events:none;width:100%;height:auto}.hotspot{cursor:pointer;background:#ffd6680f;border:none;border-radius:22px;transition:transform .18s,background .18s,box-shadow .18s;position:absolute;box-shadow:inset 0 0 0 3px #24324a14}.hotspot:hover,.hotspot:focus-visible{background:#ffd66847;outline:none;transform:scale(1.03);box-shadow:inset 0 0 0 3px #24324a3d}.marker{border:3px solid var(--outline);color:#16723f;background:#fff;border-radius:999px;place-items:center;width:42px;height:42px;font-size:1.2rem;display:grid;position:absolute;top:-12px;right:-10px}.feedback-bubble{border:4px solid var(--outline);border-radius:24px;margin-top:16px;padding:16px 18px;line-height:1.5}.feedback-good{background:var(--green-soft)}.feedback-bad{background:var(--red-soft)}.round-complete-card{background:linear-gradient(#fffef6,#fff3ca);margin-top:16px;padding:18px}.round-complete-card strong{margin-bottom:6px;font-size:1.5rem;display:block}.round-complete-card p{color:var(--muted);margin:0 0 14px;line-height:1.55}.clue-panel{background:linear-gradient(#fffef8,#fff5e8)}.clue-list{gap:14px;margin-top:16px;display:grid}.clue-card{background:#fff;padding:16px}.clue-card strong{margin-bottom:8px;font-size:1.05rem;display:block}.clue-card p{color:var(--muted);margin:0;line-height:1.5}.clue-card-found{background:linear-gradient(#f0fff4,#fff)}.mistake-card{background:#fff;margin-top:16px;padding:16px}.primary-button,.secondary-button{border:4px solid var(--outline);cursor:pointer;border-radius:999px;padding:14px 22px;transition:transform .16s,box-shadow .16s}.primary-button:hover,.secondary-button:hover,.primary-button:focus-visible,.secondary-button:focus-visible{outline:none;transform:translateY(-2px);box-shadow:0 10px 18px #24324a24}.primary-button{background:linear-gradient(#ffe57c,#ffc845)}.secondary-button{background:linear-gradient(#dff4ff,#b6e0ff)}.result-panel{background:linear-gradient(#fffef8,#fff2db);margin-top:24px}.result-topline{border:3px solid var(--outline);background:#dff4ff;border-radius:999px;padding:10px 16px;font-weight:800;display:inline-flex}.result-layout{grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);align-items:center;gap:22px;margin-top:18px;display:grid}.result-metrics{margin:18px 0}.metric-card{min-width:160px;padding:16px}.result-comment{font-size:1.06rem}.certificate-note{margin-top:12px}.result-art-card{background:#fff;padding:18px}.result-art-card img{width:100%;height:auto}.stars-row{gap:8px;margin:16px 0 8px;font-size:2rem;display:flex}.star{color:#cfd8e8;text-shadow:0 2px #24324a14}.star-filled{color:#ffb400}@media (max-width:1080px){.hero-card,.game-grid,.result-layout{grid-template-columns:1fr}.scene-headline{flex-direction:column}}@media (max-width:720px){.page-shell{width:min(100% - 16px,1320px);padding-top:16px}.hero-card,.scene-panel,.clue-panel,.result-panel,.start-card{padding:18px}.scene-wrapper{min-height:280px}.counter-bubble{white-space:normal}}.explanation-panel{background:linear-gradient(#eef8ff,#fff);margin-top:16px;padding:18px}.explanation-panel h3{margin:12px 0 8px;font-size:1.2rem}.explanation-panel p{color:var(--muted);margin:0;line-height:1.6}.start-topbar,.hero-language-row{justify-content:flex-end;display:flex}.hero-language-row{margin-top:12px}.language-switch{flex-wrap:wrap;gap:8px;display:inline-flex}.language-chip{border:3px solid var(--outline);color:var(--text);cursor:pointer;background:#fff;border-radius:999px;padding:10px 14px;transition:transform .15s,box-shadow .15s,background .15s}.language-chip:hover{transform:translateY(-1px)}.language-chip-active{background:#dff4ff;box-shadow:0 6px #24324a14}.title-caption,.scene-title-caption{color:var(--text);letter-spacing:.02em;font-weight:800}.title-caption{margin:-2px 0 14px}.hero-caption{margin-top:-2px}.scene-title-caption{margin:4px 0 8px}.glossary-panel{background:linear-gradient(#fffaf0,#fff);margin-top:16px;padding:18px}.glossary-intro{color:var(--muted);margin:12px 0 0;line-height:1.55}.glossary-grid{grid-template-columns:repeat(auto-fit,minmax(128px,1fr));gap:10px;margin-top:12px;display:grid}.glossary-card{border:3px solid var(--outline);background:var(--sand-soft);border-radius:20px;padding:10px}.glossary-card strong{margin-bottom:6px;font-size:1.05rem;display:block}.glossary-card span{color:var(--muted);font-size:.92rem}.lang-separator{opacity:.45}.lang-en-accent{color:var(--sand);font-weight:900}.language-mixed .language-chip-active{background:var(--sand-soft)}.language-mixed .title-caption .lang-en-accent,.language-mixed .scene-title-caption .lang-en-accent,.language-mixed .intro .lang-en-accent,.language-mixed .rules-item .lang-en-accent,.language-mixed .clue-card .lang-en-accent,.language-mixed .explanation-panel .lang-en-accent,.language-mixed .glossary-card .lang-en-accent,.language-mixed .result-panel .lang-en-accent,.language-mixed .hero-stickers .lang-en-accent,.language-mixed .rule-label .lang-en-accent,.language-mixed .section-kicker .lang-en-accent,.language-mixed .counter-bubble .lang-en-accent,.language-mixed .comic-score .lang-en-accent,.language-mixed .progress-comic .lang-en-accent,.language-mixed .result-topline .lang-en-accent,.language-mixed .metric-card .lang-en-accent{color:var(--sand)}.scene-complete-overlay{z-index:45;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#24324a5c;justify-content:center;align-items:flex-start;padding:18px;display:flex;position:fixed;inset:0;overflow-y:auto}.scene-complete-modal{background:linear-gradient(#fffdf7,#fff1da);width:min(980px,100%);margin:auto;padding:24px}.scene-complete-overlay::-webkit-scrollbar{width:0;height:0}.scene-complete-modal .primary-button{margin-bottom:8px}.scene-complete-modal h3{margin:8px 0;font-size:clamp(1.55rem,2.3vw,2.15rem);line-height:1.06}.scene-complete-intro{color:var(--muted);margin:0;line-height:1.45}.scene-complete-stats{flex-wrap:wrap;gap:12px;margin-top:16px;display:flex}.mini-metric-chip{border:4px solid var(--outline);background:linear-gradient(#fff9ee,#fff);border-radius:24px;flex:260px;padding:12px 14px}.mini-metric-inline{justify-content:space-between;align-items:center;gap:14px;display:flex}.mini-metric-chip span{color:var(--muted);margin:0;line-height:1.35;display:block}.mini-metric-chip strong{margin-top:8px;font-size:1.5rem;display:block}.scene-complete-actions{justify-content:center;margin-top:18px;display:flex}.glossary-card{text-align:center;background:linear-gradient(#fff7ea,#fff);justify-items:center;gap:8px;display:grid}.glossary-thumb{object-fit:contain;filter:drop-shadow(0 8px 16px #24324a1f);width:102px;height:78px}.glossary-card strong{margin-bottom:0}.metric-card-art{background:radial-gradient(circle at 100% 0,#ffd66847,#0000 24%),linear-gradient(#fffdf7,#fff5df);min-width:185px;padding:18px;position:relative;overflow:hidden}.metric-card-art:before{content:"";background:#24324a0d;border-radius:999px;height:14px;position:absolute;top:12px;left:14px;right:14px}.metric-label{color:var(--muted);margin-top:10px;line-height:1.45;display:block;position:relative}.metric-value-art{border:4px solid var(--outline);color:#c86f2e;text-shadow:0 2px #fffc,0 4px #24324a14;background:linear-gradient(#fff8dc,#ffd987);border-radius:26px;justify-content:center;align-items:center;gap:10px;min-height:86px;margin-top:14px;padding:14px 18px;font-size:clamp(2rem,4vw,3rem);font-weight:900;line-height:1;display:inline-flex;position:relative;box-shadow:0 12px 18px #24324a1f}.metric-divider{opacity:.45}.metric-card-sand{background:radial-gradient(circle at 100% 0,#bb8b5238,#0000 24%),linear-gradient(#fff8ed,#fff0d8)}.metric-value-art-sand{color:#a4662d;background:linear-gradient(#fff8e8,#f5d1a6)}.metric-card-blue{background:radial-gradient(circle at 100% 0,#59b4ff33,#0000 24%),linear-gradient(#f3fbff,#edf6ff)}.metric-value-art-blue{color:#2c6ba2;background:linear-gradient(#f6fbff,#bddfff)}@media (max-width:720px){.scene-complete-modal{padding:18px}.metric-value-art{width:100%;min-height:76px}.glossary-thumb{width:88px;height:68px}}.digit-number{vertical-align:middle;white-space:nowrap;justify-content:center;align-items:flex-end;gap:2px;width:max-content;max-width:none;flex-flow:row!important;display:inline-flex!important}.digit-number-sm{min-height:26px}.digit-number-md{min-height:48px}.digit-number-lg{min-height:62px}.digit-img{object-fit:contain;filter:drop-shadow(0 4px 6px #24324a1f);flex:none;width:auto;max-width:none;display:block}.digit-number-sm .digit-img{height:26px}.digit-number-md .digit-img{height:46px}.digit-number-lg .digit-img{height:60px}.digit-gap{width:8px}.number-pill-inline{flex-wrap:wrap;align-items:center;gap:8px;display:inline-flex}.number-block-center{flex:none;justify-content:center;align-items:center;width:auto;display:flex;overflow:visible}.mission-kicker{flex-wrap:wrap;align-items:center;gap:8px;display:inline-flex}.counter-bubble-art{flex-wrap:wrap;align-items:center;gap:10px;display:inline-flex}.hotspot{background:#73d68105;box-shadow:inset 0 0 0 3px #24324a0f}.hotspot:hover,.hotspot:focus-visible{background:#63de7638;box-shadow:inset 0 0 0 4px #1b793c52,0 0 0 6px #7ee48b2e}.hotspot-found{background:#55db6d61;box-shadow:inset 0 0 0 4px #0a702c75,0 0 0 5px #77ec822e}.hotspot-active{background:#4ae36a85;animation:1.15s ease-in-out infinite hotspotPulse;box-shadow:inset 0 0 0 5px #0d7d32b8,0 0 0 10px #79f28847}@keyframes hotspotPulse{0%,to{transform:scale(1)}50%{transform:scale(1.04)}}.marker{color:#0d8f46;background:linear-gradient(#fff,#eaffef);border-color:#0e6a34;width:50px;height:50px;font-size:1.4rem}.typewriter-text{white-space:pre-wrap;min-height:4.8em}.scene-complete-modal{width:min(980px,100%);max-height:none;padding:24px;overflow:visible}.scene-complete-actions{background:0 0;margin-top:22px;padding-top:0;padding-bottom:0;position:static}.glossary-panel-modal{margin-top:18px}.glossary-grid{grid-template-columns:repeat(auto-fit,minmax(128px,1fr))}.glossary-thumb{object-fit:contain;width:96px;height:72px}.metric-value-art{width:100%;min-height:96px}.metric-divider{display:none}.comic-score strong,.progress-comic strong,.mini-metric-chip strong,.mistake-card strong{font-size:inherit}@media (max-width:720px){.scene-complete-overlay{padding:10px}.scene-complete-modal{max-height:none;padding:16px}.scene-complete-actions{padding-bottom:0}.glossary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.digit-number-md .digit-img{height:40px}.digit-number-lg .digit-img{height:50px}}.glossary-card strong .lang-en-accent{color:var(--sand);font-weight:900}.glossary-card strong .lang-separator{opacity:.55}.scene-complete-overlay{align-items:center;padding:16px;overflow:hidden}.scene-complete-modal{flex-direction:column;width:min(980px,100%);max-height:calc(100vh - 32px);padding:18px;display:flex;overflow:hidden}.scene-complete-body{scrollbar-width:none;flex:auto;padding-right:6px;overflow:auto}.scene-complete-body::-webkit-scrollbar{width:0;height:0}.scene-complete-modal h3{margin-top:0}.scene-complete-actions{background:0 0;flex:none;justify-content:center;margin-top:10px;padding-top:10px;display:flex}.scene-complete-actions .primary-button{margin:0}@media (max-width:720px){.scene-complete-overlay{padding:10px}.scene-complete-modal{max-height:calc(100vh - 20px);padding:16px}.scene-complete-body{padding-right:0}.scene-complete-actions{margin-top:12px;padding-top:12px}}.glossary-card strong{font-size:.96rem;line-height:1.2}.glossary-card span{font-size:.82rem}@media (max-width:720px){.mini-metric-inline{gap:10px}.mini-metric-chip{padding:10px 12px}.glossary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}}
