@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2)format("woff2-variations");unicode-range:U+1F??}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-wght-normal-CkhJZR-_.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-wght-normal-Dx4kXJAl.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Orbitron Variable;font-style:normal;font-display:swap;font-weight:400 900;src:url(/assets/orbitron-latin-wght-normal-Du7j2Vp2.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--bg:#eff;--surface:#fff;--text:#26136d;--text-muted:#4f3f94;--border:#26136d;--border-soft:#c6eef3;--shadow:#26136d;--ocean:#beffff;--land:#fff3e0;--land-stroke:#26136d;--land-hover:#ffd21f;--land-active:#f4008a;--accent:#f4008a;--accent-text:#c8006f;--primary:#02f2ff;--on-primary:#26136d;--correct:#0052d6;--correct-text:#0052d6;--wrong:#ff174f;--wrong-text:#d1003a;--target:#f4008a;--focus:#26136d;--checker:#26136d;--learning:#ffd21f;--logo-light-display:block;--logo-dark-display:none;--banner-sea:#d4fbff;--banner-land:#ffeacc;--font-display:"Orbitron Variable", "Segoe UI", system-ui, sans-serif;--font-body:"Inter Variable", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light only;font-family:var(--font-body);color:var(--text);background:var(--bg);line-height:1.5}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark only;--bg:#150a42;--surface:#26136d;--text:#eff;--text-muted:#c4c9f0;--border:#8f80dc;--border-soft:#3b2790;--shadow:#0a0424;--ocean:#0f0735;--land:#42309f;--land-stroke:#150a42;--land-hover:#6a56d8;--land-active:#f4008a;--accent:#ff4fb0;--accent-text:#ff4fb0;--primary:#02f2ff;--on-primary:#26136d;--correct:#02f2ff;--correct-text:#02f2ff;--wrong:#ff174f;--wrong-text:#ff7a98;--target:#f4008a;--focus:#ffd21f;--checker:#02f2ff;--logo-light-display:none;--logo-dark-display:block;--banner-sea:#1d0e58;--banner-land:#33228a}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark only;--bg:#150a42;--surface:#26136d;--text:#eff;--text-muted:#c4c9f0;--border:#8f80dc;--border-soft:#3b2790;--shadow:#0a0424;--ocean:#0f0735;--land:#42309f;--land-stroke:#150a42;--land-hover:#6a56d8;--land-active:#f4008a;--accent:#ff4fb0;--accent-text:#ff4fb0;--primary:#02f2ff;--on-primary:#26136d;--correct:#02f2ff;--correct-text:#02f2ff;--wrong:#ff174f;--wrong-text:#ff7a98;--target:#f4008a;--focus:#ffd21f;--checker:#02f2ff;--logo-light-display:none;--logo-dark-display:block;--banner-sea:#1d0e58;--banner-land:#33228a}}*{box-sizing:border-box}body{background:var(--bg);margin:0}.app{flex-direction:column;gap:20px;max-width:1100px;min-height:100vh;margin:0 auto;padding:24px 16px;display:flex}.app__header{padding-bottom:24px;position:relative}.app__header:after{content:"";background:repeating-conic-gradient(var(--checker) 0 25%, transparent 0 50%) 0 0 / 8px 8px;height:8px;position:absolute;bottom:0;left:0;right:0}.app__title,.home__title,.screen__title,.card h3,.settings__title,.settings__label,.summary h3{font-family:var(--font-display);text-transform:uppercase;letter-spacing:-.02em;font-weight:800;line-height:1.15}.app__title{margin:0;line-height:0}.banner{background:var(--banner-sea);border:2px solid var(--border);min-height:150px;box-shadow:4px 4px 0 var(--shadow);border-radius:12px;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;padding:20px 16px;display:grid;position:relative;overflow:hidden}.banner__background{width:100%;height:100%;position:absolute;inset:0}.banner__sea,.banner__glow{fill:var(--banner-sea);stop-color:var(--banner-sea)}.banner__land{fill:var(--banner-land)}.banner__px--\#{fill:var(--text)}.banner__px--R{fill:#ae1c28}.banner__px--W{fill:#fff}.banner__px--B{fill:#21468b}.banner__px--o{fill:var(--primary);fill-opacity:.55}.banner__px--g{fill:#fff}.banner__px--y{fill:#ffd21f}.banner .app__title{grid-column:2;position:relative}.app__home{border-radius:8px;display:inline-block}.app__home:focus-visible{outline:3px solid var(--accent);outline-offset:4px}.app__logo{width:clamp(160px,30vw,270px);height:auto}.app__logo--light{display:var(--logo-light-display)}.app__logo--dark{display:var(--logo-dark-display)}.tapper{flex:none;height:auto}.home__hello{align-items:center;gap:16px;margin-bottom:24px;display:flex}.home__hello .tapper{width:clamp(96px,22vw,150px)}.home__hello:before,.home__hello:after{content:"";margin-inline:-8px}.home__hello:before{flex-grow:var(--hello-offset,0)}.home__hello:after{flex-grow:calc(1 - var(--hello-offset,0))}.home__hello[data-side=right]{flex-direction:row-reverse}.home__hello[data-side=right] .speech-bubble:before{border-width:10px 0 10px 12px;border-color:#0000;border-left-color:var(--border);left:auto;right:-12px}.home__hello[data-side=right] .speech-bubble:after{border-width:8px 0 8px 10px;border-color:#0000;border-left-color:var(--surface);left:auto;right:-9px}.tapper[data-mirrored=true]{transform:scaleX(-1)}.speech-bubble{background:var(--surface);border:2px solid var(--border);min-width:0;box-shadow:4px 4px 0 var(--shadow);border-radius:12px;padding:12px 16px;position:relative}.speech-bubble:before,.speech-bubble:after{content:"";border-style:solid;border-color:#0000;width:0;height:0;position:absolute;top:50%}.speech-bubble:before{border-width:10px 12px 10px 0;border-right-color:var(--border);margin-top:-10px;left:-12px}.speech-bubble:after{border-width:8px 10px 8px 0;border-right-color:var(--surface);margin-top:-8px;left:-9px}.home__greeting{font-family:var(--font-display);text-transform:uppercase;letter-spacing:-.02em;margin:0;font-weight:800}.app__tagline{max-width:220px;color:var(--text);font-family:var(--font-display);grid-column:3;justify-self:start;margin:0 0 0 8px;font-size:.95rem;font-weight:700;line-height:1.3}@media (width>=900px){.app__tagline{top:-12px}}@media (width<=600px){.banner{gap:6px;min-height:108px;padding:12px 8px}.app__logo{width:clamp(104px,34vw,170px)}.app__tagline{align-self:end;margin-left:6px;padding:6px 8px;font-size:.72rem}}.app__main{flex:1}.app__footer{color:var(--text-muted);font-size:.8rem}.app:has(.screen--fit){gap:12px;height:100dvh;min-height:0;padding-block:12px;overflow-x:clip}.app:has(.screen--fit) .app__header{justify-content:space-between;align-items:center;gap:16px;padding-bottom:14px;display:flex}.app:has(.screen--fit) .banner{min-height:0;box-shadow:none;background:0 0;border:0;border-radius:0;padding:0;display:block;overflow:visible}:is(.app:has(.screen--fit) .banner__background,.app:has(.screen--fit) .app__tagline){display:none}.app:has(.screen--fit) .app__settings{position:static}.app:has(.screen--fit) .app__logo{width:clamp(120px,24vw,180px)}.app:has(.screen--fit) .app__main{flex-direction:column;min-height:0;display:flex}.screen--fit{flex-direction:column;flex:1;min-height:0;display:flex}.screen--fit>*,.screen--fit .map-panel>*{flex:none}.screen--fit>.map-panel,.screen--fit .map-panel__map:not([hidden]){flex-direction:column;flex:0 auto;min-height:0;display:flex}.screen--fit .world-map{aspect-ratio:960/500;flex:0 auto;min-height:0}.screen--fit .world-map__svg{aspect-ratio:960/500;width:auto;max-width:100%;height:100%;margin-inline:auto}.screen--fit .world-map{container-type:size}@container (height<=120px){.screen--fit .world-map__controls{flex-direction:row}}@container (height<=48px){.screen--fit .world-map__controls{display:none}}@media (width<=600px){@container (height<=170px){.screen--fit .world-map__controls{flex-direction:row}}@container (height<=60px){.screen--fit .world-map__controls{display:none}}}.screen--fit .flag--large{width:min(240px,30vw,24dvh)}.screen--fit .flag-options{grid-template-columns:repeat(4,minmax(0,min(160px,18dvh)))}@media (width<=600px) and (orientation:portrait){.screen--fit>.map-panel:not(:has([hidden] .world-map)){flex:auto;position:relative;overflow:clip}.screen--fit .map-panel__map:not([hidden]){flex:auto}.screen--fit .world-map[data-adapts]{aspect-ratio:auto;flex:1 1 0}.screen--fit .map-panel .continue-button{z-index:2;margin:0;position:absolute;bottom:24px;left:50%;transform:translate(-50%)}}@media (width<=600px),(height<=520px){.screen--fit .answer-form__input{flex-basis:100%}.screen--fit .answer-form{column-gap:8px}.screen--fit .answer-form .button{white-space:nowrap;flex:auto;padding-inline:10px}.screen--fit .answer-form__label{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}.screen--fit .screen__bar{gap:4px 10px;font-size:.85rem}.screen--fit .screen__bar .button{padding:2px 10px}.screen--fit .tally{gap:10px}.screen--fit .tiles{gap:6px}.screen--fit .tiles legend{margin-bottom:4px;font-size:.9rem}.screen--fit .tile__text{padding:2px 10px;font-size:.9rem}.app:has(.screen--fit) .app__footer{font-size:.7rem;line-height:1.3}}@media (width<=600px) and (height>=521px){.screen--fit .quiz__ask:has(>.quiz__prompt){--prompt-size:.9rem;--prompt-line:1.25;min-height:calc(3 * var(--prompt-line) * var(--prompt-size) + 2 * 6px + 2 * 2px);gap:8px}.screen--fit .quiz__ask:has(>.quiz__prompt) .tapper{width:40px}.screen--fit .quiz__ask>.quiz__prompt{font-size:var(--prompt-size);line-height:var(--prompt-line);padding:6px 10px}.screen--fit .flag-options{--flag-rows:calc((100dvh - 210px) / 2);--flag-option-height:calc((var(--flag-rows) - 8px) / 2);--flag-option-width:calc((var(--flag-option-height) - 16px) * 4 / 3 + 16px);grid-template-columns:repeat(2, minmax(0, var(--flag-option-width)));justify-content:center;gap:8px}.screen--fit .quiz__ask:has(>.flag-prompt){gap:8px}.screen--fit .quiz__ask:has(>.flag-prompt) .tapper{width:40px}.screen--fit .flag-prompt{flex-wrap:nowrap;gap:10px;padding:6px 10px}.screen--fit .flag-prompt .quiz__prompt{flex:1 1 0;font-size:.9rem;line-height:1.25}.screen--fit .flag-prompt .flag--large{width:96px}@media (width<=370px){.screen--fit .flag-prompt .quiz__prompt{font-size:.85rem}}.screen--fit:has(.map-panel__map[hidden]) .flag-prompt{flex-wrap:wrap;justify-content:center}.screen--fit:has(.map-panel__map[hidden]) .flag-prompt .quiz__prompt{flex-basis:100%}.screen--fit:has(.map-panel__map[hidden]) .flag-prompt .flag--large{width:min(240px,100%,30dvh)}}.screen--fit .map-panel:has(>.map-panel__map[hidden]):has(>.map-panel__caption:empty){box-shadow:none;background:0 0;border:0;padding:0}.screen--fit .map-panel:has(>.map-panel__map[hidden])>.map-panel__caption:empty{min-height:0;margin:0}@media (height<=520px){.app:has(.screen--fit){gap:8px;padding-block:8px}.app:has(.screen--fit) .app__header{padding-bottom:10px}.app:has(.screen--fit) .app__header:after{background-size:6px 6px;height:6px}.app:has(.screen--fit) .app__logo{width:100px}.app:has(.screen--fit) .app__settings{width:32px;height:32px}.screen--fit .screen__bar{margin-bottom:8px}.screen--fit .screen__title{font-size:1.1rem}.screen--fit .quiz__ask{gap:8px;margin-bottom:8px}.screen--fit .quiz__ask .tapper{width:40px}.screen--fit .speech-bubble{padding:6px 12px}.screen--fit .quiz__prompt{font-size:1rem}.screen--fit .flag-prompt{flex-wrap:nowrap;gap:8px}.screen--fit .flag--large{width:20dvh}.screen--fit .answer-form{gap:6px 8px;margin-bottom:8px}.screen--fit .answer-form__input{padding:4px 10px}.screen--fit .answer-form .button{padding:4px 10px;font-size:.85rem}.screen--fit .flag-options{gap:8px;margin-bottom:8px}.screen--fit .map-panel{padding:8px}.screen--fit .map-panel__caption,.screen--fit .continue-button{margin-top:4px}.screen--fit .explore__maps{margin-bottom:8px}}@media (height<=520px) and (aspect-ratio>=3/2){.screen--fit{grid-template-rows:auto auto auto 1fr;grid-template-columns:minmax(0,2fr) minmax(0,3fr);align-content:start;column-gap:12px;display:grid}.screen--fit>*{grid-column:1}.screen--fit>.screen__bar{grid-column:1/-1}.screen--fit>.map-panel{grid-area:2/2/-1;align-self:start;max-height:100%}.screen--fit .flag-options{grid-template-columns:repeat(2,minmax(0,24dvh))}.screen--fit .flag-prompt{flex-wrap:wrap;gap:6px}.screen--fit .flag--large{width:22dvh}.app:has(.screen--fit.quiz){--side-header:42px;grid-template-columns:minmax(0,2fr) minmax(0,3fr);grid-template-rows:var(--side-header) minmax(0, 1fr);column-gap:12px;display:grid}.app:has(.screen--fit.quiz) .app__header{z-index:1;height:var(--side-header);box-sizing:border-box;grid-area:1/1}.app:has(.screen--fit.quiz) .app__main{grid-area:1/1/-1/-1}.screen--fit.quiz{padding-top:calc(var(--side-header) + 8px)}.screen--fit.quiz>.screen__bar{grid-column:1}.screen--fit.quiz .answer-form .button{white-space:normal;flex:1 1 0}.screen--fit.quiz .flag--large{width:18dvh}.screen--fit.quiz>.map-panel{margin-top:calc(-1 * (var(--side-header) + 8px));max-height:calc(100% + var(--side-header) + 8px);grid-row:1/-1}.app:has(.screen--fit.quiz):not(:has(.flag-prompt,.flag-options)){grid-template-columns:minmax(0,1fr) minmax(0,2fr)}.screen--fit.quiz:not(:has(.flag-prompt,.flag-options)){grid-template-columns:minmax(0,1fr) minmax(0,2fr)}}.quiz-bar__settings{display:none}@media (width<=600px),(height<=520px) and (aspect-ratio>=3/2){.app:has(.quiz-bar__settings) .app__header{display:none}.app:has(.screen--fit.quiz):has(.quiz-bar__settings){--side-header:0px}.quiz-bar__settings{border:2px solid var(--border);background:var(--surface);width:36px;height:36px;color:var(--text-muted);cursor:pointer;border-radius:10px;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.quiz-bar__settings:focus-visible{outline:2px solid var(--accent);outline-offset:2px}}@media (width<=600px){.screen--fit .screen__bar:has(.quiz-bar__settings){flex-wrap:nowrap;gap:6px;font-size:.78rem}.screen--fit .screen__bar:has(.quiz-bar__settings) .button{padding:2px 8px}.screen--fit .screen__bar:has(.quiz-bar__settings) .quiz__progress{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.screen--fit .screen__bar:has(.quiz-bar__settings) .tally{flex:none;gap:8px}.screen--fit .screen__bar:has(.quiz-bar__settings) .tally div{gap:4px}.quiz-bar__settings{width:32px;height:32px}.quiz-bar__settings svg{width:18px;height:18px}}.app__settings{border:2px solid var(--border);background:var(--surface);cursor:pointer;width:40px;height:40px;color:var(--text-muted);border-radius:10px;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex;position:absolute;top:10px;right:10px}@media (hover:hover){.app__settings:hover{color:var(--text);background:var(--border-soft)}}.app__settings:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media (width<=600px){.app__settings{width:34px;height:34px;top:6px;right:6px}}.app{padding-top:max(24px, env(safe-area-inset-top));padding-right:max(16px, env(safe-area-inset-right));padding-bottom:max(24px, env(safe-area-inset-bottom));padding-left:max(16px, env(safe-area-inset-left))}.app:has(.screen--fit){padding-top:max(12px, env(safe-area-inset-top));padding-bottom:max(12px, env(safe-area-inset-bottom))}@media (height<=520px){.app:has(.screen--fit){padding-top:max(8px, env(safe-area-inset-top));padding-bottom:max(8px, env(safe-area-inset-bottom))}}dialog.settings,dialog.story{max-height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}.settings{width:min(440px,100vw - 32px);max-height:calc(100vh - 32px);color:var(--text);background:var(--surface);border:2px solid var(--border);box-shadow:5px 5px 0 var(--shadow);border-radius:12px;padding:0}.settings::backdrop{background:#0a042499}.settings__panel{flex-direction:column;gap:20px;padding:20px;display:flex}.settings__bar{justify-content:space-between;align-items:center;gap:12px;display:flex}.settings__title{margin:0;font-size:1.25rem}.settings__label{margin:0 0 8px;font-size:1rem}.language-switcher,.feedback-speed{flex-direction:column;gap:4px;display:flex}.language-switcher__option,.feedback-speed__option{cursor:pointer;border-radius:8px;align-items:center;gap:10px;padding:6px 8px;display:flex}@media (hover:hover){.language-switcher__option:hover,.feedback-speed__option:hover{background:var(--border-soft)}}.language-switcher__option .flag--small{margin-right:0}.language-switcher__input,.feedback-speed__input{accent-color:var(--accent);margin:0}.theme-switcher{background:var(--border-soft);border:2px solid var(--border);border-radius:10px;gap:2px;padding:2px;display:inline-flex}.theme-switcher__option:has(.theme-switcher__input:disabled){opacity:.4;cursor:not-allowed}.theme-switcher__note{color:var(--text-muted);margin:8px 0 0;font-size:.85rem}.theme-switcher__option{width:34px;height:28px;color:var(--text-muted);cursor:pointer;border-radius:7px;justify-content:center;align-items:center;transition:background-color .12s,color .12s;display:inline-flex;position:relative}.theme-switcher__option--text{width:auto;min-width:48px;padding:0 12px;font-weight:600}.theme-switcher__input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}@media (hover:hover){.theme-switcher__option:hover{color:var(--text)}}.theme-switcher__option:has(input:checked){color:var(--on-primary);background:var(--primary)}.theme-switcher__option:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:1px}@media (prefers-reduced-motion:reduce){.theme-switcher__option{transition:none}}.typo-switcher{flex-direction:column;gap:4px;display:flex}.typo-switcher__option{cursor:pointer;border-radius:8px;align-items:flex-start;gap:10px;padding:6px 8px;display:flex}@media (hover:hover){.typo-switcher__option:hover{background:var(--border-soft)}}.typo-switcher__input{accent-color:var(--accent);margin:3px 0 0}.typo-switcher__text{flex-direction:column;gap:2px;display:flex}.typo-switcher__description,.typo-switcher__note{color:var(--text-muted);font-size:.875rem}.typo-switcher__note{margin:4px 8px 0}.visually-hidden{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.button{font:inherit;color:var(--text);background:var(--surface);border:2px solid var(--border);cursor:pointer;box-shadow:3px 3px 0 var(--shadow);border-radius:8px;padding:6px 16px;font-weight:600;transition:transform 80ms,box-shadow 80ms}@media (hover:hover){.button:hover:not(:disabled){box-shadow:4px 4px 0 var(--shadow);transform:translate(-1px,-1px)}}.button:active:not(:disabled){box-shadow:0 0 0 var(--shadow);transform:translate(3px,3px)}.button--primary{font-family:var(--font-display);text-transform:uppercase;letter-spacing:.02em;color:var(--on-primary);background:var(--primary);font-weight:800}@media (prefers-reduced-motion:reduce){.button{transition:none}}.button:focus-visible,.language-switcher__input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.home__title{margin:0 0 16px;font-size:1.4rem}.home__cards{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px;display:grid}.card{background:var(--surface);border:2px solid var(--border);box-shadow:5px 5px 0 var(--shadow);border-radius:12px;padding:20px}.card h3{margin:0 0 6px;font-size:1.05rem}.card p{color:var(--text-muted);margin:0 0 16px}.home__intro{color:var(--text-muted);margin:0;font-size:1.1rem}.game-tile{font:inherit;color:var(--text);text-align:left;cursor:pointer;flex-direction:column;align-items:flex-start;gap:6px;transition:transform 80ms,box-shadow 80ms;display:flex;position:relative}.game-tile__button{font:inherit;color:inherit;text-align:inherit;cursor:pointer;background:0 0;border:0;padding:0}.game-tile__button:after{content:"";border-radius:10px;position:absolute;inset:0}.game-tile__button:focus-visible{outline:none}@media (hover:hover){.game-tile:hover{box-shadow:7px 7px 0 var(--accent);transform:translate(-2px,-2px)}}.game-tile:active{box-shadow:0 0 0 var(--shadow);transform:translate(5px,5px)}.game-tile:has(.game-tile__button:focus-visible){outline:3px solid var(--accent);outline-offset:3px}.game-tile__art{border-bottom:2px solid var(--border);background:var(--ocean);border-radius:10px 10px 0 0;align-self:stretch;width:calc(100% + 40px);height:120px;margin:-20px -20px 8px;display:block}.game-tile__title{font-family:var(--font-display);text-transform:uppercase;letter-spacing:-.02em;font-size:1.15rem;font-weight:800;line-height:1.15}.game-tile__description{color:var(--text-muted)}@media (prefers-reduced-motion:reduce){.game-tile{transition:none}}.topic__heading{min-width:0}.topic__pick{color:var(--text-muted);margin:2px 0 0;font-weight:600}.screen--fit>.topic__body{flex:auto;grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(220px,2fr) minmax(0,3fr);gap:20px;min-height:0;display:grid}.topic__games{flex-direction:column;gap:14px;min-height:0;margin:0;padding:6px 12px 12px 6px;list-style:none;display:flex;overflow-y:auto}.topic__games li{background:var(--surface);border:2px solid var(--border);box-shadow:4px 4px 0 var(--shadow);cursor:pointer;border-radius:12px;flex-direction:column;gap:4px;padding:12px 16px;transition:transform 80ms,box-shadow 80ms;display:flex;position:relative}@media (hover:hover){.topic__games li:hover{box-shadow:6px 6px 0 var(--accent);transform:translate(-2px,-2px)}}.topic__games li:has([data-selected=true]){border-color:var(--accent);border-width:2px 2px 2px 8px;padding-left:10px}.topic__games li:has(.topic__game:focus-visible){outline:3px solid var(--accent);outline-offset:3px}.topic__game{font:inherit;color:inherit;text-align:inherit;cursor:pointer;background:0 0;border:0;padding:0}.topic__game:after{content:"";border-radius:10px;position:absolute;inset:0}.topic__game:focus-visible{outline:none}.topic__game-title{font-family:var(--font-display);text-transform:uppercase;letter-spacing:-.02em;font-size:1.05rem;font-weight:800;line-height:1.15}.topic__game-description{color:var(--text-muted)}.topic__games li:has([aria-disabled=true]){box-shadow:none;cursor:default;border-style:dashed;transform:none}.topic__game[aria-disabled=true]{color:var(--text-muted);cursor:default}.topic__preview{flex-direction:column;align-items:center;gap:12px;min-height:0;padding:6px 6px 12px;display:flex}.game-preview{aspect-ratio:3/2;background:var(--bg);border:2px solid var(--border);width:100%;min-height:0;box-shadow:5px 5px 0 var(--shadow);border-radius:12px;flex:0 auto;overflow:hidden}.game-preview__media,.game-preview .game-tile__art{object-fit:contain;border:0;border-radius:0;width:100%;height:100%;margin:0;display:block}.topic__play{flex:none}@media (width<=600px) and (not ((height<=520px) and (aspect-ratio>=3/2))){.screen--fit>.topic__body{flex-direction:column;display:flex}.topic__games{flex:auto;gap:10px}.topic__games li{flex:none;padding:8px 12px}.topic__games li:has([data-selected=true]){padding-left:6px}.topic__games li:has(.topic__card-preview):hover{box-shadow:4px 4px 0 var(--shadow);transform:none}.topic__card-preview{flex-direction:column;gap:8px;margin-top:6px;display:flex}.topic__card-preview .game-preview{min-height:150px;box-shadow:3px 3px 0 var(--shadow);flex:none}.topic__card-preview .game-preview[data-layout=phone]{aspect-ratio:360/450;align-self:center;width:auto;max-width:100%;height:min(125vw - 97.5px,100dvh - 385px)}.topic__card-preview .topic__play{z-index:1;align-self:stretch;padding:10px 16px;font-size:1.1rem;position:relative}}@media (height<=520px){.screen--fit.topic{flex-direction:column;display:flex}.screen--fit.topic>*{grid-area:auto}}@media (height<=520px) and (aspect-ratio>=3/2){.topic>.screen__bar{flex-wrap:nowrap;margin-bottom:6px}.topic__heading{flex-wrap:wrap;align-items:baseline;column-gap:12px;display:flex}.topic__pick{margin:0;font-size:.85rem}.screen--fit>.topic__body{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.topic__games{gap:8px;padding-top:4px}.topic__games li{gap:2px;padding:6px 12px}.topic__games li:has([data-selected=true]){padding-left:6px}.topic__game-title{font-size:.95rem}.topic__game-description{font-size:.9rem;line-height:1.3}.topic__preview{--topic-play-room:58px;gap:8px;padding:4px 6px 8px;container-type:size}.topic__preview .game-preview{width:min(100%, (100cqh - var(--topic-play-room)) * 3 / 2);flex:none}.topic__play{padding-block:6px}}@media (height<=520px) and (aspect-ratio>=2){.screen--fit>.topic__body{grid-template-columns:minmax(0,3fr) minmax(0,4fr)}.topic__preview{--topic-play-width:128px;flex-direction:row;justify-content:center;align-items:flex-end}.topic__preview .game-preview{width:min(100cqw - var(--topic-play-width), (100cqh - 6px) * 3 / 2)}}@media (prefers-reduced-motion:reduce){.topic__games li{transition:none}}.play-setup{width:min(520px,100vw - 32px)}.tiles{border:0;flex-wrap:wrap;gap:8px;margin:0;padding:0;display:flex}.tiles legend{width:100%;padding:0}.tile{cursor:pointer;position:relative}.tile__input{opacity:0;cursor:pointer;margin:0;position:absolute;inset:0}.tile__text{background:var(--bg);border:2px solid var(--border);border-radius:999px;padding:8px 14px;font-weight:600;display:inline-block}.tile__input:checked+.tile__text{color:var(--on-primary);background:var(--primary);box-shadow:3px 3px 0 var(--shadow)}@media (forced-colors:active){.tile__input:checked+.tile__text{forced-color-adjust:none;color:highlighttext;background:highlight;border-color:highlight}.theme-switcher__option:has(input:checked){forced-color-adjust:none;color:highlighttext;background:highlight;border-color:highlight}:is(.language-switcher__option:has(input:checked),.feedback-speed__option:has(input:checked),.typo-switcher__option:has(input:checked)){outline:2px solid highlight}.quiz__prompt strong{text-underline-offset:3px;text-decoration:underline;text-decoration-thickness:2px}}.tile__input:disabled{cursor:default}.tile:has(.tile__input:disabled){cursor:default}.tile__input:disabled+.tile__text{color:var(--text-muted);border-style:dashed;font-weight:400}.tile__input:focus-visible+.tile__text{outline:2px solid var(--accent);outline-offset:2px}.play-setup__start{align-self:stretch;padding:12px 16px;font-size:1.1rem}@media (width<=600px){.play-setup{width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.play-setup .settings__panel{gap:14px;padding:0 16px 16px}.play-setup .settings__bar{z-index:1;background:var(--surface);padding-top:14px;padding-bottom:6px;position:sticky;top:0}.play-setup .tiles{gap:10px}.play-setup .tiles legend{margin-bottom:8px;font-size:1rem}.play-setup .tile .tile__text{align-items:center;min-height:44px;padding:6px 16px;font-size:1rem;display:inline-flex}.play-setup__start{z-index:1;box-shadow:3px 3px 0 var(--shadow), 0 0 0 16px var(--surface);position:sticky;bottom:16px}}.screen__bar{flex-wrap:wrap;align-items:center;gap:12px 20px;margin-bottom:12px;display:flex}.screen__title{margin:0;font-size:1.4rem}.map-panel{background:var(--surface);border:2px solid var(--border);box-shadow:5px 5px 0 var(--shadow);border-radius:12px;padding:12px}.map-panel__caption{text-align:center;min-height:1.75em;color:var(--text-muted);margin:8px 0 0}.map-panel__caption strong{color:var(--accent-text);font-size:1.15rem}.world-map__labels{pointer-events:none;z-index:1;border-radius:6px;position:absolute;top:0;left:0;overflow:hidden}.map-label{--tone:var(--border);border:2px solid var(--tone);background:var(--surface);max-width:min(20rem,100% - 8px);box-shadow:3px 3px 0 var(--shadow);color:var(--text);border-radius:10px;align-items:center;gap:8px;padding:6px 12px;font-size:1rem;font-weight:600;line-height:1.3;display:flex;position:absolute;top:0;left:0}.map-label[data-tone=correct]{--tone:var(--correct)}.map-label[data-tone=wrong]{--tone:var(--wrong)}.map-label[data-tone=target]{--tone:var(--target)}.map-label[data-tone=correct]:before{content:"✓";content:"✓" / "";color:var(--correct-text);font-weight:800}.map-label[data-tone=wrong]:before,.map-label[data-tone=target]:before{content:"✗";content:"✗" / "";color:var(--wrong-text);font-weight:800}.map-label strong{font-size:1.1rem;font-weight:800}.map-label .flag{flex:none}.map-label__note{color:var(--text-muted);font-weight:500}.map-label[data-side]:after{content:"";border:0 solid #0000;width:0;height:0;position:absolute}.map-label[data-side=above]:after{top:100%;left:calc(var(--pointer) - 8px);border-width:9px 8px 0;border-top-color:var(--tone)}.map-label[data-side=below]:after{bottom:100%;left:calc(var(--pointer) - 8px);border-width:0 8px 9px;border-bottom-color:var(--tone)}.map-label[data-side=right]:after{right:100%;top:calc(var(--pointer) - 8px);border-width:8px 9px 8px 0;border-right-color:var(--tone)}.map-label[data-side=left]:after{left:100%;top:calc(var(--pointer) - 8px);border-width:8px 0 8px 9px;border-left-color:var(--tone)}@media (width<=560px){.map-label{gap:6px;padding:4px 8px;font-size:.85rem}.map-label strong{font-size:.95rem}}.explore__maps{margin-bottom:12px}.world-map{position:relative}.world-map__svg{touch-action:none;-webkit-user-select:none;user-select:none;border-radius:6px;width:100%;height:auto;display:block}.world-map__svg:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.world-map__controls{flex-direction:column;gap:4px;display:flex;position:absolute;top:8px;right:8px}.world-map__control{width:34px;height:34px;color:var(--text);background:var(--surface);border:2px solid var(--border);cursor:pointer;box-shadow:2px 2px 0 var(--shadow);border-radius:8px;place-items:center;padding:0;display:grid}@media (hover:hover){.world-map__control:hover{background:var(--primary);color:var(--on-primary)}}.world-map__control:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media (width<=600px){.world-map__controls{gap:8px;top:auto;bottom:6px;right:6px}.world-map__control{width:44px;height:44px}.world-map__control svg{width:22px;height:22px}.map-label{max-width:min(20rem,100% - 64px)}}.world-map__sphere{fill:var(--ocean)}.world-map__country{fill:var(--land);stroke:var(--land-stroke);stroke-width:.5px;vector-effect:non-scaling-stroke;cursor:pointer;transition:fill .12s}@media (hover:hover){.world-map__country:hover{fill:var(--land-hover)}}.world-map__country[data-out-of-scope],.world-map__country[data-context]{opacity:.35;cursor:default;pointer-events:none}.world-map__country[data-highlight=active]{fill:var(--land-active)}.world-map__country[data-highlight=correct]{fill:var(--correct)}.world-map__country[data-highlight=wrong]{fill:var(--hatch-map,var(--wrong))}.world-map__hatch-base{fill:var(--wrong)}.world-map__hatch-stripe{fill:var(--surface);opacity:.6}.world-map__country[data-highlight=target]{fill:var(--target)}.world-map__country[data-highlight=revealed]{fill:var(--correct)}.world-map__water{fill:var(--ocean);stroke:var(--land-stroke);stroke-width:.5px;vector-effect:non-scaling-stroke}.world-map__country[data-highlight=known]{fill:var(--correct)}.world-map__country[data-highlight=learning]{fill:var(--learning)}.world-map__outline{fill:none;stroke:var(--text);stroke-width:1px;vector-effect:non-scaling-stroke;pointer-events:none}.world-map__marker{cursor:pointer}.world-map__marker[data-static]{pointer-events:none}.world-map__marker-hit{fill:#0000}.world-map__marker-dot{fill:var(--land);stroke:var(--text-muted);stroke-width:1px;vector-effect:non-scaling-stroke;transition:fill .12s}@media (hover:hover){.world-map__marker:hover .world-map__marker-dot{fill:var(--land-hover)}}.world-map__marker[data-highlight=active] .world-map__marker-dot{fill:var(--land-active)}.world-map__marker[data-highlight=correct] .world-map__marker-dot{fill:var(--correct)}.world-map__marker[data-highlight=correct] .world-map__marker-dot,.world-map__outline[data-highlight=correct]{stroke:var(--text);stroke-width:2.5px}.world-map__marker[data-highlight=wrong] .world-map__marker-dot{fill:var(--hatch-screen,var(--wrong));stroke:var(--text)}.world-map__marker[data-highlight=known] .world-map__marker-dot{fill:var(--correct)}.world-map__marker[data-highlight=learning] .world-map__marker-dot{fill:var(--learning)}.world-map__marker[data-highlight=revealed] .world-map__marker-dot{fill:var(--correct);stroke:var(--text);stroke-width:2.5px;stroke-dasharray:3 2}.world-map__marker[data-highlight=target] .world-map__marker-dot{fill:var(--target);stroke:var(--text);stroke-width:2.5px;stroke-dasharray:3 2;animation:.8s ease-in-out infinite alternate pulse}.world-map__outline[data-highlight=target],.world-map__outline[data-highlight=revealed]{stroke-width:4px;stroke-dasharray:8 5;animation:.8s ease-in-out infinite alternate pulse}.world-map__country[data-focus-id]:focus,.city-layer__city[data-focus-id]:focus{outline:none}.world-map__focus{pointer-events:none}.world-map__focus-halo,.world-map__focus-line{fill:none;vector-effect:non-scaling-stroke}.world-map__focus-halo{stroke:var(--surface);stroke-width:7px}.world-map__focus-line{stroke:var(--focus);stroke-width:3.5px}@keyframes pulse{0%{stroke-opacity:1}to{stroke-opacity:.2}}.city-layer__city{cursor:pointer}.city-layer[data-static]{pointer-events:none}.city-layer__hit{fill:#0000}.city-layer__dot{fill:var(--surface);stroke:var(--text);stroke-width:1.5px;vector-effect:non-scaling-stroke;transition:fill .12s}.city-layer__city[data-highlight=active] .city-layer__dot{fill:var(--land-active)}@media (hover:hover){.city-layer__city:hover .city-layer__dot{fill:var(--land-active)}}.city-layer__city[data-highlight=correct] .city-layer__dot,.city-layer__city[data-highlight=known] .city-layer__dot{fill:var(--correct)}.city-layer__city[data-highlight=correct] .city-layer__dot{stroke-width:3px}.city-layer__city[data-highlight=wrong] .city-layer__dot{fill:var(--hatch-screen,var(--wrong))}.city-layer__city[data-highlight=learning] .city-layer__dot{fill:var(--learning)}.city-layer__city[data-highlight=revealed] .city-layer__dot{fill:var(--correct);stroke-width:2.5px;stroke-dasharray:3 2}.city-layer__city[data-highlight=target] .city-layer__dot{fill:var(--target);stroke-width:2.5px;stroke-dasharray:3 2;animation:.8s ease-in-out infinite alternate pulse}.world-map__svg[data-cities=ask] .world-map__country{cursor:default}@media (hover:hover){.world-map__svg[data-cities=ask] .world-map__country:hover:not([data-highlight]){fill:var(--land)}}.world-map__canvas{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.world-map__svg{position:relative}.world-map__svg :is(.world-map__sphere,.world-map__country,.world-map__water,.world-map__outline,.world-map__marker-dot,.city-layer__dot,.world-map__focus){opacity:0}@media (prefers-reduced-motion:reduce){.world-map__outline[data-highlight=target],.world-map__marker[data-highlight=target] .world-map__marker-dot,.city-layer__city[data-highlight=target] .city-layer__dot{animation:none}}.quiz__progress{color:var(--text-muted)}.tally{gap:16px;margin:0 0 0 auto;display:flex}.tally div{align-items:baseline;gap:6px;display:flex}.tally dt{color:var(--text-muted);font-size:.9rem}.tally dd{font-family:var(--font-display);font-variant-numeric:tabular-nums;margin:0;font-weight:800}.tally__value{--pop:var(--correct);display:inline-block}.tally__value[data-kind=wrong]{--pop:var(--wrong)}.tally__value[data-pop]{z-index:1;animation:.9s ease-out tally-pop;position:relative}@keyframes tally-pop{0%{transform:scale(1)}18%{color:var(--pop);text-shadow:0 0 6px var(--pop), 0 0 16px var(--pop), 0 0 32px var(--pop);transform:translateY(-4px)scale(3.9)rotate(-8deg)}40%{color:var(--pop);text-shadow:0 0 6px var(--pop), 0 0 16px var(--pop);transform:scale(2.5)rotate(5deg)}65%{color:var(--pop);transform:scale(1.5)rotate(-2deg)}to{transform:scale(1)}}@media (prefers-reduced-motion:reduce){.tally__value[data-pop]{animation-name:tally-flash}}@keyframes tally-flash{0%,60%{color:var(--pop);text-shadow:0 0 6px var(--pop), 0 0 14px var(--pop)}}.quiz__prompt{font-family:var(--font-display);letter-spacing:-.01em;margin:0 0 12px;font-size:1.15rem;font-weight:700;line-height:1.3}.quiz__ask{align-items:center;gap:12px;margin-bottom:12px;display:flex}.quiz__ask .tapper{width:clamp(52px,12vw,76px)}.quiz__ask>.quiz__prompt,.quiz__ask>.flag-prompt{margin:0}.quiz__prompt strong{color:var(--accent-text);font-weight:800}.quiz__prompt:has(>.reveal)>.quiz__question{display:none}@media (width<=600px),(height<=520px) and (aspect-ratio>=3/2){.quiz__prompt:has(>.reveal)>.quiz__question{visibility:hidden;display:inline}.flag-prompt .quiz__prompt:has(>.reveal){position:relative}.quiz__prompt>.reveal{z-index:3;min-height:calc(100% + 4px);padding:inherit;background:var(--surface);border:2px solid var(--border);box-shadow:4px 4px 0 var(--shadow);border-radius:12px;padding-top:6px;padding-bottom:6px;position:absolute;top:-2px;left:-2px;right:-2px}.flag-prompt .quiz__prompt>.reveal{min-height:calc(100% + 16px);padding:6px 8px;top:-8px;left:-6px;right:-8px}}.reveal{flex-direction:column;gap:4px;display:flex}.reveal__line{align-items:center;gap:8px;display:flex}.swatch{border:2px solid var(--text);border-radius:4px;flex:none;width:1.1em;height:1.1em}.swatch[data-swatch=revealed]{background:var(--correct);border-style:dashed}.swatch[data-swatch=wrong]{background:repeating-linear-gradient(45deg, var(--wrong) 0 3px, color-mix(in srgb, var(--surface) 60%, var(--wrong)) 3px 6px)}.answer-form{flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0 0 12px;display:flex}.answer-form__label{width:100%;color:var(--text-muted);font-size:.9rem}.answer-form__input{min-width:0;font:inherit;color:var(--text);background:var(--surface);border:2px solid var(--border);border-radius:8px;flex:220px;padding:6px 12px;font-size:1.1rem}.answer-form__input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.button:disabled{cursor:default;opacity:.6}.quiz__feedback[data-kind=correct]{color:var(--correct-text);font-weight:600}.quiz__feedback[data-kind=wrong],.quiz__feedback[data-kind=revealed]{color:var(--wrong-text);font-weight:600}.quiz__feedback[data-kind=correct]:before{content:"✓ ";content:"✓ " / ""}.quiz__feedback[data-kind=wrong]:before,.quiz__feedback[data-kind=revealed]:before{content:"✗ ";content:"✗ " / ""}.quiz__prompt[tabindex="-1"]:focus,.flag-prompt[tabindex="-1"]:focus,.summary .screen__title[tabindex="-1"]:focus,.screen__title[tabindex="-1"]:focus:not(:focus-visible),.home__title[tabindex="-1"]:focus:not(:focus-visible){outline:none}.screen__title[tabindex="-1"]:focus-visible,.home__title[tabindex="-1"]:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.continue-button{margin:8px auto 0;display:block}.summary{background:var(--surface);border:2px solid var(--border);max-width:560px;box-shadow:5px 5px 0 var(--shadow);border-radius:12px;padding:24px}.summary .tapper{float:right;width:clamp(80px,20vw,120px);margin:-8px -8px 8px 12px}.summary__score{font-family:var(--font-display);letter-spacing:-.02em;margin-bottom:4px;font-size:1.3rem;font-weight:800}.summary__perfect{color:var(--correct-text);font-weight:600}.summary h3{margin:20px 0 6px;font-size:1rem}.summary__missed{columns:2;margin:0;padding-left:20px}.summary__actions{flex-wrap:wrap;gap:12px;margin-top:24px;display:flex}.summary__comparison{clear:both}.summary__best{font-family:var(--font-display);text-transform:uppercase;letter-spacing:-.02em;color:var(--accent-text);font-weight:800}.exercise-intro__ask{align-items:center;gap:16px;max-width:720px;margin:clamp(8px,4vh,40px) 0 20px;display:flex}.exercise-intro__ask .tapper{flex:none;width:clamp(80px,18vw,140px)}.exercise-intro__text{font-family:var(--font-display);margin:0;padding:16px 20px;font-size:clamp(1rem,2.6vw,1.3rem);font-weight:700;line-height:1.45}.typed-text__rest{visibility:hidden}.exercise-intro__actions{flex-wrap:wrap;align-items:center;gap:12px 24px;display:flex}.exercise-intro__hide{cursor:pointer;align-items:center;gap:8px;font-weight:600;display:inline-flex}.exercise-intro__hide input{width:18px;height:18px;accent-color:var(--accent);margin:0}.history__totals{flex-wrap:wrap;gap:12px 32px;margin:0 0 16px;display:flex}.history__totals dt{color:var(--text-muted);font-weight:600}.history__totals dd{font-family:var(--font-display);margin:0;font-size:1.6rem;font-weight:800}.history__rounds{flex-direction:column;gap:8px;margin:0 0 20px;padding:0;list-style:none;display:flex}.history__round{background:var(--surface);border:2px solid var(--border);border-radius:10px;flex-wrap:wrap;align-items:baseline;gap:4px 16px;padding:10px 14px;display:flex}.history__date{color:var(--text-muted);font-size:.9rem}.history__stopped{border:2px solid var(--border);border-radius:999px;padding:0 8px;font-size:.85rem;font-weight:600}.mastery-toggle{cursor:pointer;align-items:center;gap:8px;margin-left:auto;font-weight:600;display:inline-flex}.mastery-toggle input{width:18px;height:18px;accent-color:var(--accent);margin:0}.mastery-legend{color:var(--text-muted);flex-wrap:wrap;justify-content:center;gap:4px 20px;margin:8px 0 0;padding:0;list-style:none;display:flex}.mastery-legend li{align-items:center;gap:6px;display:inline-flex}.mastery-legend__swatch{border:1px solid var(--land-stroke);background:var(--land);border-radius:3px;width:14px;height:14px}.mastery-legend__swatch[data-level=known]{background:var(--correct)}.mastery-legend__swatch[data-level=learning]{background:var(--learning)}.confirm-dialog{width:min(420px,100vw - 32px);color:var(--text);background:var(--surface);border:2px solid var(--border);box-shadow:5px 5px 0 var(--shadow);border-radius:12px;padding:0}.confirm-dialog::backdrop{background:#0a042499}.confirm-dialog__panel{padding:20px}.confirm-dialog__title{font-family:var(--font-display);text-transform:uppercase;letter-spacing:-.02em;margin:0 0 8px;font-size:1.2rem;font-weight:800}.confirm-dialog__actions{flex-wrap:wrap;justify-content:flex-end;gap:12px;margin-top:20px;display:flex}.not-found a.button{text-decoration:none;display:inline-block}.not-found a.button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.app__footer a,.about a{color:var(--accent-text);text-underline-offset:2px;font-weight:600;text-decoration:underline}.app__footer a:focus-visible,.about a:focus-visible,.about__license summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:4px}.about{width:100%;max-width:760px;margin-inline:auto}.about__intro{margin:0 0 8px;font-size:1.05rem}.about__section{background:var(--surface);border:2px solid var(--border);box-shadow:4px 4px 0 var(--shadow);border-radius:12px;margin-top:16px;padding:4px 20px 12px}.about__section h3{font-family:var(--font-display);text-transform:uppercase;letter-spacing:-.02em;margin:12px 0 4px;font-size:1.1rem;font-weight:800}.about__section ul{padding-left:1.25em}.about__section li+li{margin-top:4px}.about__status{color:var(--text-muted)}.about .about__licenses{margin:0;padding:0;list-style:none}.about__license{border-top:1px solid var(--border-soft)}.about__license summary{cursor:pointer;padding:8px 4px}.about__package{font-weight:600}.about__version{color:var(--text-muted)}.about__spdx{border:2px solid var(--border);border-radius:999px;margin-left:4px;padding:0 8px;font-size:.85rem;font-weight:600}.about__text{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--bg);border-radius:8px;margin:0 0 12px;padding:12px;font-size:.8rem}@media (width<=600px){.about__section{padding-inline:12px}}.flag{aspect-ratio:4/3;vertical-align:middle;box-shadow:0 0 0 1px var(--border);background:var(--ocean);border-radius:3px;flex:none;display:inline-block;overflow:hidden}.flag--small{width:1.6em;margin-right:.5em}.flag--medium{width:100%}.flag--large{width:min(240px,60vw)}.flag__image{width:100%;height:100%;display:block}.flag-prompt{flex-wrap:wrap;align-items:center;gap:12px 24px;margin-bottom:12px;display:flex}.flag-prompt .quiz__prompt{flex:200px;margin:0}.flag-options{grid-template-columns:repeat(4,minmax(0,160px));gap:12px;margin-bottom:12px;display:grid}@media (width<=560px){.flag-options{grid-template-columns:repeat(2,minmax(0,1fr))}}.flag-option{background:var(--surface);border:2px solid var(--border);cursor:pointer;box-shadow:3px 3px 0 var(--shadow);border-radius:10px;padding:6px;display:block}@media (hover:hover){.flag-option:hover:not(:disabled){background:var(--primary)}}.flag-option:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.flag-option:disabled{cursor:default}.flag-option[data-state=correct]{border-color:var(--correct);box-shadow:0 0 0 2px var(--correct)}.flag-option[data-state=revealed]{border-color:var(--target);box-shadow:0 0 0 2px var(--target)}.flag-option[data-state=wrong]{border-color:var(--wrong);opacity:.5}.summary__missed li:has(.flag){break-inside:avoid;align-items:center;display:flex}.summary__missed:has(.flag){padding-left:0;list-style:none}.show-intros{flex-wrap:wrap;align-items:center;gap:8px 12px;display:flex}.show-intros__status{margin:0}.button[aria-disabled=true],.button[aria-disabled=true]:hover,.button[aria-disabled=true]:active{cursor:default;opacity:.6;box-shadow:3px 3px 0 var(--shadow);transform:none}.story{width:min(560px,100vw - 32px);max-height:calc(100dvh - 32px);color:var(--text);background:var(--surface);border:2px solid var(--border);box-shadow:5px 5px 0 var(--shadow);border-radius:12px;padding:0}.story::backdrop{background:#0a042499}.story__panel{flex-direction:column;gap:16px;padding:20px;display:flex}.story__page{align-items:center;gap:20px;display:flex}.story__page .tapper{width:clamp(88px,24vw,140px)}.story__text{background:var(--bg);flex:1;margin:0;font-size:1.1rem;line-height:1.5}.story__text:after{border-right-color:var(--bg)}.story__dots{justify-content:center;gap:8px;display:flex}.story__dot{border:2px solid var(--border);border-radius:50%;width:10px;height:10px}.story__dot[data-current=true]{background:var(--accent)}.story__actions{flex-wrap:wrap;justify-content:flex-end;gap:12px;display:flex}.home__speech{flex-direction:column;align-items:flex-start;gap:8px;min-width:0;display:flex}.home__view-intro{color:var(--text-muted);font:inherit;text-underline-offset:3px;cursor:pointer;background:0 0;border:0;border-radius:4px;padding:2px 4px;font-size:.9rem;font-weight:600;text-decoration:underline}@media (hover:hover){.home__view-intro:hover{color:var(--accent-text)}}.home__view-intro:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media (width<=480px){.story__page{flex-direction:column;gap:12px}.story__text:before,.story__text:after{display:none}}@media (pointer:coarse){.button,.app__settings,.quiz-bar__settings,.theme-switcher__option{min-width:44px;min-height:44px}.app__home,.home__view-intro,.language-switcher__option,.feedback-speed__option,.typo-switcher__option,.exercise-intro__hide,.mastery-toggle,.about__license summary{min-height:44px}.app__home{align-items:center;display:inline-flex}.tile__text{align-items:center;min-height:44px;display:inline-flex}.app__footer .app__about{align-items:center;min-height:44px;margin-block:-10px -8px;display:inline-flex}}
