.shop-overview{display:flex;flex:1;min-height:0;flex-direction:column;gap:24px;overflow-y:auto;padding:4px 4px 12px}.shop-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;min-height:28px}.shop-heading h3{font-family:var(--font-display);font-weight:600}.shop-carousel{display:flex;align-items:center;gap:4px}.shop-carousel>button{flex-shrink:0}.shop-feature{flex:1;min-width:0;overflow:hidden}.shop-feature .shop-scene{height:120px}.shop-feature h3{font-size:16px;line-height:20px;margin-top:4px}.shop-feature-actions{display:flex;flex-direction:column;gap:8px;margin-top:12px}.shop-feature-actions button{min-height:44px;height:auto;font-size:13px;padding:6px}.shop-feature-actions p{min-height:0;padding:0;font-size:12px}.shop-feature-actions>p:last-child{font-size:11px}.shop-theme-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.shop-theme-button{min-width:0;min-height:72px;border:solid var(--line);border-width:1px 1px 3px;border-radius:12px;background:var(--card);display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px 3px;font-size:11px;line-height:14px;font-weight:700}.shop-theme-button:active{background:var(--paper-2)}.shop-selected{border-color:var(--orange-ink)}.shop-theme-swatch{display:flex;overflow:hidden;border:1px solid var(--line);border-radius:6px;width:100%;height:22px}.shop-theme-swatch>span{flex:1}.shop-package-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.shop-package{min-width:0;border:1px solid var(--line);border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:8px;background:var(--card)}.shop-package>strong{display:flex;gap:5px;align-items:center;font-size:13px}.shop-package p{font-size:11px;line-height:15px;color:var(--ink-soft)}.shop-package button{width:100%;min-height:44px;height:auto;font-size:13px;padding:6px}.shop-owned{display:flex;min-height:44px;align-items:center;justify-content:center;gap:4px;font-size:13px;color:var(--green-ink);font-weight:700}.shop-footer{display:flex;gap:12px;margin-top:auto}.shop-footer>button{flex:1;font-size:12px;min-height:44px;height:auto;padding:6px}.shop-theme-button:focus-visible{outline:2px solid var(--violet);outline-offset:-2px}@media(max-height:740px){.shop-overview{gap:20px}.shop-feature .shop-scene{height:88px}.shop-feature .kk-mascot{width:54px;height:auto}.shop-theme-button{min-height:64px}.shop-package{padding:10px}}.shop-overview>section{flex-shrink:0}.shop-costumes{display:flex;flex-direction:column;gap:12px}.shop-overview>section:not(.shop-costumes)>.shop-heading{margin-bottom:12px}.shop-plus{gap:12px;min-height:68px;height:auto;padding:12px;text-align:left;white-space:normal}.shop-plus-copy{display:flex;min-width:0;flex:1;flex-direction:column;gap:4px}.shop-plus-copy>strong{font-size:16px;line-height:20px}.shop-plus-copy>span{font-size:12px;line-height:16px;font-weight:500}.shop-plus-price{flex-shrink:0;font-size:13px}.shop-feature-actions button{padding:8px}.shop-heading>button{margin-left:auto}.stage-screen.stage-fit{display:grid;grid-template-rows:minmax(0,1fr) auto;justify-content:normal;gap:0;overflow:visible;padding-bottom:0}.stage-fit>.stage-content{display:flex;flex-direction:column;gap:8px;min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-gutter:stable;overflow-anchor:none;padding:3px;scroll-padding-block:6px}.stage-content>*{flex-shrink:0;min-width:0}.stage-content .answer-zone{border:0;background:transparent;padding:4px 0}.stage-content .stage-guide-row{display:flex}.stage-content .question-card p{overflow-wrap:break-word}.stage-content .headline-text{font-size:1.2rem}.stage-content .headline-slot{display:inline-block;vertical-align:baseline;min-height:1.55em;inline-size:4.5em;max-inline-size:100%;padding:0 .3em;line-height:1.4}.stage-content .headline-slot[data-headline-filled]{display:inline;inline-size:auto;padding:.08em .3em;box-decoration-break:clone;-webkit-box-decoration-break:clone;overflow-wrap:break-word;word-break:normal;white-space:normal}.stage-content .choice-button{min-height:44px;padding:8px 10px}.stage-fit>.stage-footer{display:flex;flex-direction:column;justify-content:flex-end;gap:6px;min-width:0;min-block-size:3.5rem;padding:6px 3px 3px;background:var(--paper)}.stage-footer .stage-feedback{position:static;margin:0;padding:0}.stage-footer .answer-feedback{padding:6px 0 0}.stage-result-copy{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.stage-result-copy .answer-verdict-label{font-size:1rem}.stage-result-copy .stage-score{font-size:1.125rem}.stage-result-copy .kk-mascot{width:28px;height:36px;flex-shrink:0}.stage-result-copy p{margin-top:0}.stage-result-actions{display:flex;align-items:stretch;gap:8px}.stage-continue{flex:1;min-width:0}.stage-result-actions .ui-button{min-height:44px;height:100%;padding:8px 12px;font-size:1rem}.stage-result-actions .stage-fact-button{max-width:48%}.stage-fit :is(button,[role=slider]){min-height:44px}.stage-fit [data-order-arrow]{min-width:44px}.stage-content .order-card{padding:8px 4px}.stage-fit[data-review]>.stage-footer{min-block-size:44px}@media (max-height:650px){.stage-fit>.stage-content{gap:6px}.stage-content .stage-guide-row{min-height:0}.stage-content .stage-guide-row .kk-mascot{display:none}.stage-content .year-track{margin-block:12px 20px}}@media (prefers-reduced-motion:reduce){.stage-fit :is(button,.order-card){transition:none}}.stage-companion{overflow:hidden;display:flex;align-items:center;gap:12px;min-width:0;min-height:100px;padding:2px 4px}.stage-companion-character{flex:none;width:80px;padding-block:22px 4px}.stage-companion-character .kk-mascot{width:80px;height:auto}.stage-companion-speech{flex:1;min-width:0;padding:9px 12px;border-radius:18px 18px 18px 4px;background:var(--paper-2);overflow-wrap:anywhere}.stage-companion-message{font-size:.875rem;font-weight:700;line-height:1.4}.stage-companion-verdict{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin-bottom:4px;font-family:var(--font-display);font-size:1rem;font-weight:600;line-height:1.2}.stage-companion-verdict>svg{flex:none}.stage-companion[data-verdict=correct] .stage-companion-verdict{color:var(--green-ink)}.stage-companion[data-verdict=partial] .stage-companion-verdict{color:var(--orange-ink)}.stage-companion[data-verdict=incorrect] .stage-companion-verdict{color:var(--red-ink)}.stage-companion-score{margin-left:auto;white-space:nowrap}.stage-companion-score small{margin-left:3px;font-family:var(--font-body);font-size:.7rem}.stage-companion-detail{display:block;margin-top:3px;font-weight:500}@media (max-height:700px){.stage-companion{gap:8px;min-height:80px}.stage-companion-character,.stage-companion-character .kk-mascot{width:64px}.stage-companion-speech{padding:7px 9px}}.stage-screen.stage-fit[data-companion]{grid-template-rows:auto minmax(0,1fr) auto}.stage-header{min-width:0;min-height:0;max-height:40dvh;overflow-y:auto;overscroll-behavior:contain;padding:2px 3px 6px}.stage-fit>.stage-footer:empty{min-block-size:0;padding:0}.stage-content .question-card{border:0;border-radius:16px;background:var(--card);padding:12px 14px;box-shadow:inset 3px 0 var(--orange)}.stage-question-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.stage-question-label{display:inline-flex;align-items:center;gap:6px;margin-bottom:5px;color:var(--orange-ink);font-size:.75rem;font-weight:800;line-height:1.3}.stage-question-label>span{display:grid;place-items:center;width:17px;height:17px;border-radius:50%;background:var(--orange);color:var(--paper);font-family:var(--font-display);font-size:.75rem}.stage-question-meta .stage-question-label{margin:0}.stage-content .stage-question-text{margin-top:3px;font-family:var(--font-display);font-size:1.2rem;font-weight:550;line-height:1.4;text-wrap:pretty}.stage-content .headline-text{line-height:1.65}.stage-question-context{margin-block:5px;color:var(--ink-soft);font-size:.8125rem;line-height:1.4}.stage-content .choice-button[data-answer-state=correct]{border-color:var(--green);background:color-mix(in srgb,var(--green) 18%,var(--card));color:var(--green-ink);opacity:1}.stage-content .choice-button[data-answer-state=incorrect]{border-color:var(--red);background:color-mix(in srgb,var(--red) 14%,var(--card));color:var(--red-ink);opacity:1}.order-answer-title{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px;padding:4px 0 9px;font-family:var(--font-display);font-size:1.15rem;font-weight:600}.order-answer-title>span{color:var(--ink-soft);font-family:var(--font-body);font-size:.75rem;font-weight:600}.order-solution{display:flex;flex-direction:column}.order-solution-row{display:flex;align-items:center;gap:10px;min-width:0;padding:11px 2px;border-top:1px solid var(--line)}.order-solution-number{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:50%;background:var(--green);color:var(--paper);font-family:var(--font-display);font-weight:600}.order-solution-event{flex:1;min-width:0}.order-solution-date{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:3px}.order-solution-date>b{font-size:.8125rem;color:var(--green-ink)}.order-solution-event>p{font-weight:700;font-size:.9375rem;line-height:1.35;overflow-wrap:break-word}.order-previous-position{flex:none;border-radius:8px;background:color-mix(in srgb,var(--red) 12%,var(--paper));padding:4px 6px;color:var(--red-ink);font-size:.7rem;font-weight:800}@media (max-height:700px){.stage-content .question-card{padding:9px 11px}.stage-content .stage-question-text{font-size:1.1rem}.order-solution-row{padding-block:8px}}.stage-fit .stage-footer .answer-feedback{padding:6px 0 0}.stage-fit .stage-footer .answer-feedback>.stage-result-actions{margin:0}@media (max-width:350px){.stage-result-actions .stage-fact-button{width:44px;max-width:44px;flex:none;padding:8px}.stage-fact-button>span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}}@media (max-height:650px){.stage-companion-character{padding-block:14px 2px}.stage-companion-character,.stage-companion-character .kk-mascot{width:52px}.stage-fit:has(.order-answer) .stage-guide>div:first-child{display:none}.order-solution-row{padding-block:5px}.order-previous-position{padding-block:1px}.order-solution-event>p{font-size:.875rem;line-height:1.3}}.duel-ui{min-width:0;color:var(--ink)}.duel-content:has(.duel-question){overflow-y:auto;overscroll-behavior-y:contain}.duel-ui .duel-view{display:flex;min-width:0;flex-direction:column;gap:12px}.duel-ui .duel-toolbar{display:flex;align-items:center;gap:8px}.duel-ui .duel-toolbar>nav{min-width:0;flex:1}.duel-ui .duel-card{padding:16px;border:1px solid var(--line);border-radius:20px;background:var(--card)}.duel-ui .duel-segments{display:flex;gap:4px;padding:4px;border:1px solid var(--line);border-radius:18px;background:var(--paper-2)}.duel-ui .duel-segments>button{min-width:44px;min-height:44px;flex:1 1 0;gap:4px;padding:8px 4px;border-color:transparent;border-radius:13px;background:transparent;box-shadow:none;color:var(--ink-soft);font-size:.875rem}.duel-ui .duel-segments>button[aria-pressed=true]{border-color:var(--line);background:var(--card);box-shadow:0 2px 0 var(--shadow);color:var(--violet-ink)}.duel-ui .game-button-ghost{box-shadow:0 2px 0 var(--shadow)}.duel-ui .duel-feature{display:flex;align-items:center;gap:8px}.duel-ui .duel-empty>svg,.duel-ui .duel-feature>svg{flex-shrink:0;color:var(--violet-ink)}.duel-ui .duel-empty{display:grid;justify-items:center;gap:8px;padding-block:20px;text-align:center}.duel-ui .duel-count{min-width:20px;padding:1px 4px;border-radius:8px;background:var(--paper-2);font-size:.75rem;font-variant-numeric:tabular-nums}.duel-ui .duel-code-input{width:100%;min-width:0;min-height:52px;padding:12px;border:2px solid var(--line);border-radius:14px;background:var(--paper);color:var(--ink);font-family:ui-monospace,monospace;font-size:max(16px,1rem);text-align:center;letter-spacing:.08em}.duel-ui .duel-record{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:12px 4px;border:1px solid var(--line);border-radius:18px;background:var(--card);text-align:center}.duel-ui .duel-record>div{min-width:0;padding-inline:4px}.duel-ui .duel-record>div+div{border-inline-start:1px solid var(--line)}.duel-ui .duel-row{width:100%;min-height:64px;justify-content:space-between;padding:12px;border-radius:16px;text-align:start}.duel-ui .duel-help{color:var(--ink-soft)}.duel-ui .duel-source,.duel-ui button[aria-haspopup=dialog],.duel-ui summary{border:1px solid var(--line);background:var(--paper-2);box-shadow:0 2px 0 var(--shadow)}.duel-ui .duel-source,.duel-ui summary{min-width:44px;min-height:44px;padding:12px;border-radius:14px;color:var(--ink);cursor:pointer;font-weight:700;overflow-wrap:anywhere}.duel-ui summary::marker{color:var(--violet-ink)}.duel-ui details[open]>summary{margin-bottom:12px}.duel-ui .duel-source{display:inline-flex;align-items:center;text-decoration:none}.duel-ui :is(button,input,summary,a):focus-visible{outline:3px solid var(--violet-ink);outline-offset:3px}.duel-ui :is(summary,.duel-source):active{background:var(--card);box-shadow:none}@media (prefers-reduced-motion:reduce){.duel-ui .ui-button{transition:none}.duel-ui .ui-button:not(:disabled):active{transform:none}}.stage-screen.results-fit.results-summary{container:round-results/size;gap:12px;justify-content:safe center;padding:8px 0;overflow-x:hidden;overflow-y:auto}.results-fit .results-hero{display:grid;gap:12px;padding:0 4px;border:0;border-radius:0;background:transparent}.results-heading{text-align:center}.results-fit .results-date{font-size:12px;line-height:1.4;font-weight:700}.results-fit .results-title{margin-top:4px;font-size:32px;line-height:1.1}.results-fit .results-score-row{display:flex;flex-direction:column;align-items:center;gap:2px}.results-fit .results-kumkum{padding:32px 12px 0}.results-fit .results-kumkum:before{content:"";position:absolute;inset:auto -15px 8px;height:42px;border-radius:50%;background:color-mix(in srgb,var(--orange) 13%,transparent)}.results-fit .results-kumkum>.kk-mascot{position:relative}.results-fit .results-score-copy{text-align:center}.results-fit .results-score{display:flex;align-items:center;justify-content:center;gap:8px;font-size:42px;line-height:1.1}.results-fit .results-score-max{margin-top:3px;font-size:12px;line-height:1.3;font-weight:700}.results-fit .results-rewards{display:grid;gap:10px}.results-fit .results-xp-streak{display:flex;align-items:stretch;gap:12px}.results-fit .results-xp{flex:1;min-width:0;padding:10px 12px;border-radius:18px;background:color-mix(in srgb,var(--green) 12%,var(--paper))}.results-fit .results-stat-label{display:block;font-size:11px;line-height:1.3;font-weight:800;color:var(--ink-soft)}.results-fit .results-xp-label{display:block;margin:3px 0 6px;font-size:23px;line-height:1.15}.results-fit .results-xp-track{height:9px;overflow:hidden;border-radius:20px;background:color-mix(in srgb,var(--green) 23%,var(--paper))}.results-fit .results-xp-fill{width:100%;height:100%;transform-origin:left;border-radius:inherit;background:var(--green)}.results-fit .results-streak{display:flex;align-items:center;justify-content:center;gap:7px;min-width:42%;padding:10px 12px;border-radius:18px;background:color-mix(in srgb,var(--orange) 12%,var(--paper))}.results-fit .results-streak-count{display:flex;align-items:baseline;gap:5px;margin-top:2px;font-size:28px;line-height:1.1}.results-fit .results-streak-count>small{font-family:var(--font-body);font-size:12px;font-weight:800}.results-fit .results-badges{display:flex;align-items:center;gap:10px;min-height:52px;width:100%;padding:4px 0;text-align:left}.results-fit .results-badge-medal{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:50%;background:color-mix(in srgb,var(--violet) 18%,var(--paper))}.results-fit .results-badge-copy{flex:1;min-width:0}.results-fit .results-badge-heading{display:block;font-family:var(--font-display);font-size:16px;font-weight:600}.results-fit .results-badge-names{display:flex;gap:8px;margin-top:2px;min-width:0;font-size:12px;font-weight:800}.results-fit .results-badge-names>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.results-fit .results-badge-names>span:last-child{flex-shrink:0;max-width:60%}.results-fit .results-badges>svg{flex:none}.results-fit .results-actions{display:grid;grid-template-columns:1fr;gap:10px}.results-fit .results-actions>button{min-height:50px;width:100%;padding:10px 12px;font-size:17px}.results-fit .results-navigation{display:flex;align-items:center;justify-content:space-around;width:min(100%,240px);margin:0 auto;gap:16px}.results-fit .results-navigation>button{width:44px;height:44px;padding:8px;border:0;background:transparent;box-shadow:none;color:var(--ink-soft)}.results-fit .results-details{position:fixed;inset:max(12px,env(safe-area-inset-top)) 0 calc(var(--ad-h, 0px) + max(12px, env(safe-area-inset-bottom)));width:calc(100% - 24px);max-width:424px;max-height:calc(100dvh - max(24px, env(safe-area-inset-top)) - max(24px, env(safe-area-inset-bottom)) - var(--ad-h, 0px));margin:auto;padding:16px;overflow-y:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:24px;color:var(--ink);background:var(--paper)}.results-fit .results-details::backdrop{background:#1a1430b3}.results-fit .results-details-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:16px}.results-fit .results-details-content{display:flex;flex-direction:column;gap:12px}.results-fit .results-details .result-hint{display:block}.results-fit .results-badges:focus-visible{outline:3px solid var(--violet);outline-offset:3px;border-radius:4px}.results-fit .results-toast{position:fixed;z-index:40;left:16px;right:16px;bottom:calc(var(--ad-h, 0px) + env(safe-area-inset-bottom) + 12px);border-radius:12px;padding:8px;background:var(--card)}@media (max-height:740px){.stage-screen.results-fit.results-summary{gap:8px;padding:2px 0}.results-fit .results-hero{gap:8px}.results-fit .results-title{margin-top:2px;font-size:27px}.results-fit .results-score-row{flex-direction:row;justify-content:center;gap:18px}.results-fit .results-kumkum{padding-top:22px}.results-fit .results-kumkum>.kk-mascot{width:80px;height:102px}.results-fit .results-score{font-size:38px}.results-fit .results-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.results-fit .results-actions>button{min-height:48px;font-size:15px;padding:8px}.results-fit .results-play>svg:last-child{display:none}}@media (max-height:620px){.stage-screen.results-fit.results-summary{gap:5px;padding:0}.results-fit .results-hero{gap:3px}.results-fit .results-date{font-size:10px}.results-fit .results-title{font-size:24px}.results-fit .results-kumkum{padding-top:16px}.results-fit .results-kumkum>.kk-mascot{width:60px;height:77px}.results-fit .results-kumkum:before{height:28px}.results-fit .results-score{font-size:32px}.results-fit .results-xp-streak{gap:8px}.results-fit .results-streak,.results-fit .results-xp{padding:7px 9px;border-radius:14px}.results-fit .results-xp-label{font-size:19px;margin:2px 0 5px}.results-fit .results-streak-count{font-size:24px}.results-fit .results-rewards{gap:5px}.results-fit .results-badges{min-height:44px;gap:8px}.results-fit .results-badge-heading{font-size:14px}.results-fit .results-badge-medal{width:34px;height:34px}.results-fit .results-badge-medal>svg{width:26px;height:26px}.results-fit .results-actions>button{min-height:44px;font-size:13px;gap:5px}.results-fit .results-navigation{gap:12px}}@container round-results (max-height: 630px){.stage-screen.results-fit.results-summary{gap:8px;padding:2px 0}.results-fit .results-hero{gap:8px}.results-fit .results-title{margin-top:2px;font-size:27px}.results-fit .results-score-row{flex-direction:row;justify-content:center;gap:18px}.results-fit .results-kumkum{padding-top:22px}.results-fit .results-kumkum>.kk-mascot{width:80px;height:102px}.results-fit .results-score{font-size:38px}.results-fit .results-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.results-fit .results-actions>button{min-height:48px;font-size:15px;padding:8px}.results-fit .results-play>svg:last-child{display:none}}@container round-results (max-height: 450px){.stage-screen.results-fit.results-summary{gap:5px;padding:0}.results-fit .results-hero{gap:3px}.results-fit .results-date{font-size:10px}.results-fit .results-title{font-size:24px}.results-fit .results-kumkum{padding-top:16px}.results-fit .results-kumkum>.kk-mascot{width:60px;height:77px}.results-fit .results-kumkum:before{height:28px}.results-fit .results-score{font-size:32px}.results-fit .results-xp-streak{gap:8px}.results-fit .results-streak,.results-fit .results-xp{padding:7px 9px;border-radius:14px}.results-fit .results-xp-label{font-size:19px;margin:2px 0 5px}.results-fit .results-streak-count{font-size:24px}.results-fit .results-rewards{gap:5px}.results-fit .results-badges{min-height:44px;gap:8px}.results-fit .results-badge-heading{font-size:14px}.results-fit .results-badge-medal{width:34px;height:34px}.results-fit .results-badge-medal>svg{width:26px;height:26px}.results-fit .results-actions>button{min-height:44px;font-size:13px;gap:5px}.results-fit .results-navigation{gap:12px}}.streak-fire{display:inline-block;flex:none;vertical-align:middle;overflow:visible;pointer-events:none}.streak-fire>path{transform-box:fill-box;transform-origin:50% 95%}.streak-fire[data-motion-active=true]>.streak-fire__outer{animation:streak-fire-sway 2s ease-in-out 4}.streak-fire[data-motion-active=true]>.streak-fire__tongue{animation:streak-fire-flicker 1.6s ease-in-out 5}.streak-fire[data-motion-active=true]>.streak-fire__core{animation:streak-fire-glow .8s ease-in-out 10}@keyframes streak-fire-sway{0%,to{transform:rotate(0deg) scale(1)}24%{transform:rotate(-3deg) scale(.97,1.06)}57%{transform:rotate(2deg) scale(1.02,.97)}79%{transform:rotate(-.8deg) scale(.99,1.015)}}@keyframes streak-fire-flicker{0%,to{transform:rotate(0deg) scale(1);opacity:1}32%{transform:rotate(3.5deg) scale(.94,1.12);opacity:.9}68%{transform:rotate(-3deg) scale(1.035,.95);opacity:.97}}@keyframes streak-fire-glow{0%,to{transform:scale(1);opacity:1}43%{transform:scale(.92,1.12);opacity:.78}72%{transform:scale(1.04,.98);opacity:.96}}@media (prefers-reduced-motion:reduce){.streak-fire[data-motion-active=true]>path{animation:none;transform:none;opacity:1}}