/* Illustrated arcade worlds. All artwork is drawn locally; no image downloads. */
#gamePane{--arcade-purple:#7160d8}
body:has(#gamePane:not([hidden])) #title{display:none}
body:has(#gamePane:not([hidden])) .reward-toast{top:20px;bottom:auto;left:auto;right:24px;transform:none}
.arcade-intro{padding:8px 0 5px}
.arcade-intro h2{font-size:clamp(34px,4.6vw,52px);font-weight:750;line-height:1.12;letter-spacing:-.045em;margin:15px 0 17px}
.arcade-intro h2>span{color:var(--accent)}
.arcade-intro p.muted{font-size:14px;line-height:1.8}
.arcade-free{font-size:8px;letter-spacing:.04em;padding:4px 7px;background:var(--accent-soft);border-radius:5px;margin-left:6px}
#gamePane .overview-grid{margin:27px 0 34px}
.games-heading{margin:0 0 17px;align-items:end}
.games-heading .eyebrow{margin:0 0 5px}
.games-heading h2{font-size:21px;letter-spacing:-.025em}
#gamePane .game-mode-grid{gap:16px;margin-bottom:28px}
#gamePane [data-mode=blitz]{--game-accent:#7864da;--world-ink:#cbc3ff}
#gamePane [data-mode=rain]{--game-accent:#238caa;--world-ink:#b4f5ff}
#gamePane [data-mode=sprint]{--game-accent:#b7792b;--world-ink:#ffe1a3}
#gamePane [data-mode=rally]{--game-accent:#448a65;--world-ink:#b5f1c9}
:root[data-theme=dark] #gamePane [data-mode=blitz]{--game-accent:#aa98ff}
:root[data-theme=dark] #gamePane [data-mode=rain]{--game-accent:#76d6ed}
:root[data-theme=dark] #gamePane [data-mode=sprint]{--game-accent:#ebbb70}
:root[data-theme=dark] #gamePane [data-mode=rally]{--game-accent:#88d3a5}
#gamePane .game-mode{padding:0;overflow:hidden;border-radius:15px;gap:0;box-shadow:0 3px 10px #20203003}
#gamePane .game-mode:hover{transform:translateY(-4px);box-shadow:0 10px 24px #2020300b}
#gamePane .game-mode[aria-pressed=true]{background:var(--panel);box-shadow:0 0 0 2px var(--game-accent)}
#gamePane .game-mode::after{display:none}
.mode-art{display:block;width:100%;aspect-ratio:1.9;object-fit:cover;background:#1b2045}
.mode-content{display:flex;flex-direction:column;align-items:start;width:100%;padding:16px 17px 15px;position:relative}
.mode-content .mode-icon{position:absolute;right:13px;top:-17px;width:32px;height:32px;border:3px solid var(--panel);background:var(--game-accent);color:#fff;border-radius:50%;margin:0}
.mode-content .mode-icon .ui-icon{width:15px;height:15px}
.mode-kicker{font-size:8px;letter-spacing:.075em;font-weight:700;color:var(--game-accent);margin-bottom:6px}
#gamePane .mode-name{font-size:15px;letter-spacing:-.02em;line-height:1.4;padding-right:6px}
#gamePane .mode-description{min-height:0;font-size:10px;line-height:1.6;margin-top:5px}
.mode-bottom{display:flex;justify-content:space-between;align-items:center;width:100%;border-top:1px solid var(--line);margin-top:13px;padding-top:10px}
#gamePane .mode-record{margin:0;font-size:9px}
.mode-play{display:flex;align-items:center;gap:4px;font-size:9px;font-weight:650;color:var(--game-accent)}
.mode-play::after{content:'↗';font-size:13px}
#gamePane .game-mode[aria-pressed=true] .mode-play::after{content:'✓'}
#gamePane .arcade-layout{grid-template-columns:minmax(0,1fr) 260px;gap:22px}
#gamePane .game-arena{padding:24px;border-radius:17px;scroll-margin-top:18px;min-width:0}
#gamePane .arena-heading h2{font-size:25px;letter-spacing:-.035em;font-weight:700;margin-top:5px}
#gamePane #gameDescription{margin:13px 0 17px;font-size:12px}
#gamePane .game-metrics{padding:12px 0;margin-bottom:18px}
#gamePane .game-metric strong{font-size:23px;font-weight:650;letter-spacing:-.04em}
.game-viewport{position:relative;width:100%;height:365px;isolation:isolate;overflow:hidden;border-radius:12px;background:#151936;color:#fff;container-type:inline-size}
#gameWorld{display:block;width:100%;height:100%;object-fit:cover}
.world-hud{position:absolute;z-index:2;top:15px;left:16px;right:16px;display:flex;align-items:center;gap:7px;pointer-events:none}
.world-chip{display:inline-flex;align-items:center;font-size:9px;line-height:1;padding:8px 10px;background:#121a32b8;border:1px solid #ffffff25;border-radius:6px;letter-spacing:.06em;color:#f2f1ff;font-weight:700;backdrop-filter:blur(8px);font-variant-numeric:tabular-nums}
.combo-chip{color:#ffe5a3}
.world-lives{margin-left:auto;font-size:17px;letter-spacing:3px;color:#ff95ad;text-shadow:0 2px 10px #0004;white-space:nowrap}
.world-lives .lost-heart{opacity:.23}
.world-footer{position:absolute;z-index:2;bottom:12px;left:16px;right:16px;display:flex;justify-content:space-between;gap:10px;font-size:8px;font-weight:700;letter-spacing:.12em;color:#fff9;pointer-events:none;text-shadow:0 1px 6px #0008}
#gamePane .game-word-stage{position:absolute;top:66px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 28px);min-width:190px;min-height:0;padding:13px 22px 12px;border:1px solid #ffffff30;border-radius:12px;background:#101832d9;box-shadow:0 8px 25px #05081c33;backdrop-filter:blur(10px);text-align:center;z-index:2;pointer-events:none}
#gamePane .game-word-stage>p{margin:0 0 5px;color:#c2cbe3;font-size:9px;letter-spacing:.02em}
#gamePane .game-word{color:#fff;font:650 clamp(22px,3vw,34px)/1.5 var(--mono);letter-spacing:.025em;min-height:1.5em;white-space:pre-wrap}
#gamePane .game-word .remaining{color:#f1f0ff}
#gamePane .game-word .matched{color:#8ef0c2;text-shadow:0 0 16px #8ef0c255}
#gamePane .game-word .mismatch{color:#ff9aa7;text-decoration:underline;text-underline-offset:6px}
#gamePane #wordTime{height:3px;margin-top:10px;background:#ffffff24}
#gamePane #wordTime::-webkit-progress-bar{background:#ffffff24}
#gamePane #wordTime::-webkit-progress-value{background:var(--world-ink)}
#gamePane #wordTime::-moz-progress-bar{background:var(--world-ink)}
.game-viewport.is-urgent .game-word-stage{border-color:#ff97a5!important;box-shadow:0 0 25px #ff7c8a24}
.game-viewport.is-urgent #wordTime::-webkit-progress-value{background:#ff9cab!important}
.game-viewport.is-urgent #wordTime::-moz-progress-bar{background:#ff9cab!important}
#gamePane .game-arena[data-mode=blitz] .game-word-stage{top:var(--attack-y,42%);left:var(--attack-x,50%);transform:translate(-50%,-50%);min-width:min(170px,60%);max-width:60%;padding:9px 13px 10px;background:#37283eee;border-color:#edb597b3;box-shadow:0 0 24px #ed8b681c,0 8px 20px #05081c33;backdrop-filter:none}
#gamePane .game-arena[data-mode=blitz] .game-word{font-size:clamp(17px,3.5cqw,27px);line-height:1.35;letter-spacing:.015em}
#gamePane .game-arena[data-mode=blitz] .game-word-stage>p{font-size:8px;color:#eac7ba;line-height:1.4;margin-bottom:4px;letter-spacing:.02em}
#gamePane .game-arena[data-mode=blitz] #wordTime{margin-top:7px;background:#f4ba9a22}
#gamePane .game-arena[data-mode=blitz] #wordTime::-webkit-progress-value{background:#f1c397}
#gamePane .game-arena[data-mode=blitz] #wordTime::-moz-progress-bar{background:#f1c397}
.sprint-route{position:absolute;z-index:2;bottom:33px;left:22px;right:27px;height:5px;background:#69563935;border-radius:10px;border:1px solid #fff5;pointer-events:none}
.sprint-route>span{display:block;height:100%;width:0;background:#f8e4af;border-radius:10px}
.sprint-route>i{position:absolute;left:0;top:50%;transform:translate(-50%,-50%);width:10px;height:10px;border-radius:50%;background:#936b46;border:2px solid #ffeec7;box-shadow:0 1px 5px #5e3d3c44}
.sprint-route>b{position:absolute;right:-8px;bottom:-3px;font-size:20px;color:#85543e;text-shadow:0 1px #fff5}
#gamePane .game-arena[data-mode=sprint] .game-word-stage{top:62px;background:#533820db;border-color:#f6d19c66}
#gamePane .game-arena[data-mode=rally] .game-word-stage{top:57px;background:#183d32e8}
.world-overlay{position:absolute;z-index:5;inset:0;display:grid;place-items:center;background:#0c15233d;backdrop-filter:blur(3px);padding:20px}
.world-overlay-card{width:min(340px,100%);padding:24px 23px;text-align:center;border:1px solid #ffffff35;border-radius:16px;background:#101a30ed;color:#f6f7ff;box-shadow:0 15px 40px #060c2240}
.world-overlay-card>.eyebrow{color:var(--world-ink);font-size:9px;letter-spacing:.12em}
.world-overlay-card>strong{display:block;font-size:30px;line-height:1.2;margin:11px 0 12px;font-weight:750;letter-spacing:-.04em}
.world-overlay-card>p{color:#bcc8dd;font-size:11px;line-height:1.8;margin:0 auto 19px;max-width:260px}
.world-overlay-card>.solid-button{background:var(--world-ink);color:#13243a;border:0;font-size:12px;padding:11px 21px}
.world-overlay.is-countdown{background:#0d142045;backdrop-filter:none;pointer-events:none}
.world-overlay.is-countdown .world-overlay-card{background:transparent;border:0;box-shadow:none}
.world-overlay.is-countdown strong{font:800 90px/1 var(--mono);color:#fff;text-shadow:0 6px 25px #0005;margin:18px 0}
.world-overlay.is-countdown p{color:#fff}
.world-feedback{position:absolute;z-index:3;left:50%;top:54%;transform:translate(-50%,-50%);font-size:24px;font-weight:800;color:#baffdd;text-shadow:0 2px 12px #0008;opacity:0;pointer-events:none;white-space:nowrap}
.world-feedback.is-visible{animation:world-pop 850ms ease-out both}
.world-feedback.is-miss{color:#ffb0ba}
.world-feedback.is-stage{color:#ffe09a}
@keyframes world-pop{0%{opacity:0;transform:translate(-50%,5px) scale(.8)}18%,60%{opacity:1;transform:translate(-50%,-12px) scale(1)}100%{opacity:0;transform:translate(-50%,-38px) scale(1.02)}}
#gamePane .rain-field{position:absolute;z-index:1;inset:52px 9px 22px;height:auto;margin:0;background:transparent;border:0;border-radius:0;overflow:hidden;pointer-events:none}
#gamePane .rain-word{position:absolute;top:0;display:flex;align-items:center;justify-content:center;min-width:79px;max-width:calc(50% - 8px);height:62px;padding:8px 12px 11px;background:linear-gradient(140deg,#fbeacc,#efbb83);border:2px solid #fff9;border-radius:50% 50% 45% 45%;color:#513d36;box-shadow:inset -6px -8px 0 #bd794822,0 4px 14px #0f375522;font:650 13px var(--mono);white-space:nowrap;transition:transform 50ms linear}
#gamePane .rain-word::before{content:'';position:absolute;bottom:-6px;left:calc(50% - 5px);width:8px;height:8px;transform:rotate(45deg);background:#e6ac7d;border-radius:1px}
#gamePane .rain-word::after{content:'';position:absolute;top:calc(100% + 6px);left:50%;width:1px;height:24px;background:#f7f9ff9c;transform:rotate(9deg);transform-origin:top}
#gamePane .rain-word:nth-of-type(3n+2){background:linear-gradient(140deg,#d2d9ff,#a4a5e3);color:#33395f}
#gamePane .rain-word:nth-of-type(3n){background:linear-gradient(140deg,#c5f3db,#7dd1c2);color:#1b4c48}
#gamePane .rain-word.is-target{border-color:#fff;box-shadow:0 0 0 3px #ffffff40,0 0 26px #fff5;color:#183a34;background:linear-gradient(140deg,#d5ffe2,#8be6c0)}
#gamePane .rain-word.is-danger{border-color:#ffc8cf;background:linear-gradient(140deg,#ffd5d0,#f79cac);color:#68253e}
.rain-letter.matched{color:#086545;text-decoration:underline;text-underline-offset:4px}
.game-toolbar{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:10px 0 9px;min-width:0}
.auto-submit{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--muted);cursor:pointer;white-space:nowrap}
.auto-submit input{width:13px;height:13px;accent-color:var(--game-accent);margin:0}
.game-toolbar>div{display:flex;align-items:center;gap:2px}
.game-toolbar .text-button{font-size:10px;padding:6px 8px}
.game-toolbar .icon-button{width:30px;height:30px;font-size:20px;color:var(--muted)}
.game-toolbar .icon-button[aria-pressed=true]{color:var(--game-accent);background:color-mix(in srgb,var(--game-accent) 10%,var(--panel))}
.input-prefix{align-self:center;color:var(--game-accent);font-size:22px;margin-left:14px}
#gamePane .game-input-form{border-radius:10px;background:var(--panel);border-width:2px}
#gamePane .game-input-form input{font-size:16px;padding:13px 12px}
#gamePane .game-input-form button{padding:5px 12px;min-width:60px}
.game-input-hint{font-size:9px;color:var(--muted);text-align:center;line-height:1.9;margin:10px 0 0}
.game-input-hint kbd{font-size:8px;padding:2px 4px}
#gamePane .game-status{font-size:11px;line-height:1.6;margin:10px 0 15px;min-height:18px}
.game-keyboard{display:grid;gap:4px;justify-content:center;padding:17px 2px 8px;max-width:100%;overflow:hidden}
.game-key-row{display:flex;justify-content:center;gap:4px}
.game-key{display:grid;place-items:center;font:11px var(--mono);width:29px;height:28px;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--muted)}
.game-key.is-next{background:var(--game-accent);color:var(--panel);border-color:var(--game-accent);box-shadow:0 2px 8px color-mix(in srgb,var(--game-accent) 25%,transparent)}
#gamePane .game-actions .solid-button{background:var(--game-accent);color:#fff}
#gamePane .personal-best{background:linear-gradient(150deg,color-mix(in srgb,var(--game-accent,#7864da) 6%,var(--panel)),var(--panel))}
#gamePane .personal-best>strong{font-size:48px;font-weight:650;letter-spacing:-.06em}
.mission-card>.eyebrow{font-size:9px}
.game-missions{display:grid;gap:13px;margin-top:17px}
.game-mission{display:flex;gap:9px;align-items:center;font-size:11px;color:var(--muted)}
.mission-check{display:grid;place-items:center;width:23px;height:23px;flex-shrink:0;border:1px solid var(--line);border-radius:50%;font-size:10px;color:var(--muted)}
.game-mission.is-complete{color:var(--text)}
.game-mission.is-complete .mission-check{border-color:transparent;background:var(--accent-soft);color:var(--accent)}
.game-mission>span:last-child{flex:1;min-width:0}
.game-mission small{display:block;font-size:9px;margin-top:2px;color:var(--muted)}
#gamePane .game-result{align-items:start;padding:21px;background:color-mix(in srgb,var(--game-accent) 5%,var(--panel));margin-top:21px}
.result-body{min-width:0;flex:1}
.result-stars{display:flex;gap:4px;margin:0 0 10px;color:#d9a744;font-size:25px;line-height:1}
.result-stars .empty-star{color:var(--line)}
.result-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:15px;padding-top:14px;border-top:1px solid var(--line)}
.result-stats strong{display:block;font:650 19px/1.5 var(--mono);color:var(--text)}
.result-stats small{font-size:9px;color:var(--muted)}
#gameArena:fullscreen{max-width:1200px;width:100%;height:100%;overflow:auto;padding:24px clamp(20px,6vw,100px);background:var(--panel);border:0;border-radius:0;margin:auto}
#gameArena:fullscreen .game-viewport{height:min(52svh,570px)}
#gameArena:fullscreen::backdrop{background:var(--bg)}
@media(min-width:1450px){.game-viewport{height:390px}}
@media(max-width:1000px){#gamePane .arcade-layout{grid-template-columns:minmax(0,1fr) 225px;gap:16px}#gamePane .game-arena{padding:19px}#gamePane .game-mode-grid{gap:12px}.mode-content{padding:14px 13px}.game-viewport{height:340px}#gamePane .mode-name{font-size:13px}.mode-bottom{flex-wrap:wrap;gap:4px}.arcade-intro h2{font-size:42px}.game-toolbar .text-button{font-size:9px;padding:6px}.auto-submit{font-size:9px}.game-key{width:25px}}
@media(max-width:800px){#gamePane .arcade-layout{grid-template-columns:1fr}#gamePane .game-mode-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mode-art{aspect-ratio:2.2}#gamePane .mode-name{font-size:16px}.mode-content{padding:17px}.mode-bottom{flex-wrap:nowrap}.game-viewport{height:385px}#gamePane .arcade-sidebar{grid-template-columns:1fr 1fr}.arcade-sidebar .daily-promo{grid-column:auto}.arcade-sidebar .game-instructions{font-size:11px}.arcade-intro .feature-actions{flex-direction:column;align-items:stretch}.game-key{width:31px}.game-toolbar .text-button{font-size:10px}.auto-submit{font-size:10px}}
@media(max-width:640px){body:has(#gamePane:not([hidden])) #title{display:none}.arcade-intro{margin-top:3px}.arcade-intro h2{font-size:37px;margin:15px 0}.arcade-intro p.muted{font-size:12px}.arcade-intro .feature-actions{flex-direction:row;flex-wrap:wrap;margin-top:19px}.arcade-intro .feature-actions button{font-size:11px}#gamePane .overview-grid{margin:23px 0 27px}.games-heading{align-items:start}.games-heading h2{font-size:18px}.games-heading>span{display:none}#gamePane .game-mode-grid{gap:11px;margin-bottom:24px}#gamePane .game-mode{min-height:0;border-radius:12px}.mode-art{aspect-ratio:1.65}.mode-content{padding:12px 11px 11px}.mode-kicker{font-size:7px;margin-bottom:5px}#gamePane .mode-name{font-size:12px;line-height:1.5}#gamePane .mode-description{font-size:9px;min-height:29px;margin-top:4px}.mode-content .mode-icon{width:27px;height:27px;right:8px;top:-14px}.mode-content .mode-icon .ui-icon{width:12px;height:12px}.mode-bottom{gap:4px;margin-top:9px;padding-top:8px}.mode-play{font-size:8px}#gamePane .mode-record{font-size:8px}.mode-play::after{font-size:10px}#gamePane .game-arena{padding:14px;border-radius:14px}#gamePane .arena-heading{flex-wrap:wrap;gap:12px}#gamePane .arena-heading h2{font-size:22px}.arena-heading .eyebrow{font-size:8px}.game-settings{margin-left:auto}.game-settings select{min-height:32px}#gamePane #gameDescription{font-size:11px;margin:11px 0 13px}#gamePane .game-metric strong{font-size:20px}#gamePane .game-metric small{font-size:8px}#gamePane .game-metrics{padding:10px 0;margin-bottom:13px}.game-viewport{height:340px;border-radius:9px}.world-hud{top:11px;left:10px;right:10px;gap:5px}.world-chip{font-size:8px;padding:7px}.world-lives{font-size:14px;letter-spacing:1px}.world-footer{left:10px;right:10px;font-size:7px;letter-spacing:.05em}.world-footer span:last-child{display:none}#gamePane .game-word-stage{min-width:160px;max-width:calc(100% - 18px);padding:12px 15px}#gamePane .game-word{font-size:25px}#gamePane .game-word-stage>p{font-size:8px}.world-overlay{padding:15px}.world-overlay-card{padding:23px 16px}.world-overlay-card>strong{font-size:27px}.world-overlay-card>p{font-size:10px}.world-overlay-card>.solid-button{font-size:11px}.world-feedback{font-size:21px}#gamePane .rain-word{font-size:11px;min-width:66px;height:56px;padding:7px 8px 10px}.game-toolbar{flex-wrap:wrap;margin-top:8px;gap:3px 5px}.auto-submit{font-size:9px}.game-toolbar .text-button{font-size:9px;padding:5px}.game-toolbar .icon-button{width:27px;height:30px;font-size:19px}.game-toolbar>div{margin-left:auto;gap:0}.input-prefix{font-size:19px;margin-left:10px}#gamePane .game-input-form input{font-size:14px;padding:12px 9px}#gamePane .game-input-form button{font-size:9px;min-width:50px;padding:5px 7px}.game-input-hint{font-size:8px}#gamePane .game-status{font-size:10px}.game-key{width:20px;height:25px;font-size:10px}.game-key-row{gap:3px}#gamePane .arcade-sidebar{grid-template-columns:1fr}.arcade-sidebar .daily-promo{grid-column:auto}#gamePane .personal-best{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}#gamePane .personal-best>.eyebrow{grid-column:1/-1}#gamePane .personal-best>strong{font-size:39px}#gamePane .personal-best>p{align-self:center;font-size:10px;margin:0}#gamePane .personal-best>.goal-mini{grid-column:1/-1}.game-missions{grid-template-columns:1fr;gap:12px}.game-mission{font-size:11px}#gamePane .game-result{padding:16px;gap:10px}.game-result h3{font-size:17px}.result-stats strong{font-size:17px}.result-stats small{font-size:8px}.result-icon .ui-icon{width:25px;height:25px}.result-stars{font-size:22px}}
@media(max-width:360px){.arcade-intro h2{font-size:32px}.game-viewport{height:320px}.mode-bottom{flex-wrap:wrap}#gamePane .mode-name{font-size:11px}.mode-content{padding:11px 9px}.game-settings{margin-left:0}.game-toolbar>div{margin-left:0}.game-toolbar{gap:5px}.game-key{width:17px;height:23px}.game-key-row{gap:2px}}
@media(prefers-reduced-motion:reduce){.world-feedback.is-visible{animation:none;opacity:1}.game-mode:hover{transform:none!important}}
@media(max-width:640px){#gamePane .personal-best{display:block}#gamePane .personal-best>.eyebrow{display:inline-flex}#gamePane .personal-best>p{margin:3px 0 12px}#gamePane #gameGoal{grid-area:auto;width:auto}}

/* The heritage collection: jade, felt and warm brass. */
#gamePane{--accent:#286d63;--accent-soft:#e8f2ec;--heritage-gold:#c1914d}
:root[data-theme=dark] #gamePane{--accent:#9bd1ba;--accent-soft:#263d35;--heritage-gold:#dfbc7b}
.arcade-intro.heritage-intro{display:grid;grid-template-columns:1.15fr 1fr;gap:0;position:relative;overflow:hidden;border:1px solid #315e55;border-radius:22px;background:#163e3b;color:#f6efdc;padding:0;margin:0 0 25px;isolation:isolate}
.heritage-intro::after{content:'';position:absolute;inset:auto 0 0;height:6px;background:repeating-linear-gradient(90deg,#d4b176 0 22px,#a77340 22px 25px,#254e44 25px 47px,#d4b176 47px 50px);z-index:2}
.heritage-copy{padding:38px 0 36px 38px;position:relative;z-index:1}
.heritage-intro .eyebrow{color:#e4c58d;font-size:10px;letter-spacing:.11em}
.heritage-seal{display:inline-flex;align-items:center;justify-content:center;width:27px;height:27px;border:1px solid #d9b97a77;border-radius:50%;font-size:12px;letter-spacing:0}
.heritage-intro h2{font-size:clamp(34px,4.2vw,51px);line-height:1.15;letter-spacing:-.045em;margin:18px 0 16px;color:#fff5de}
.heritage-intro h2>span{color:#e6bf7a}
.heritage-intro p.muted{color:#b8d0c3;font-size:12px;line-height:1.9;max-width:390px}
.heritage-intro .feature-actions{flex-direction:row;justify-content:start;margin-top:23px;gap:10px;flex-wrap:wrap}
.heritage-intro .solid-button{background:#e4bf80;color:#233f35;font-size:12px;font-weight:650;padding:12px 16px}
.heritage-intro .soft-button{background:#ffffff08;border-color:#acc7af40;color:#eee5ce;font-size:12px;padding:12px 14px}
.heritage-facts{display:flex;flex-wrap:wrap;gap:17px;margin-top:21px;font-size:9px;letter-spacing:.045em;color:#b3c8b6}
.heritage-facts>span+span::before{content:'·';margin-right:17px;color:#c6a46e}
.heritage-poster{position:relative;align-self:stretch;min-width:0;min-height:350px;overflow:hidden;background:#387875}
.heritage-poster::before{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#163e3b,transparent 28%);pointer-events:none}
.heritage-poster .mode-art{height:100%;width:100%;position:absolute;inset:0;aspect-ratio:auto;object-fit:cover}
.poster-label{position:absolute;z-index:2;bottom:23px;right:25px;font-size:8px;letter-spacing:.14em;color:#ffe7b7}
.poster-stamp{position:absolute;right:28px;top:25px;z-index:2;border:1px solid #e8ce9c77;border-radius:50%;width:73px;height:73px;display:flex;align-items:center;justify-content:center;text-align:center;font-size:12px;letter-spacing:.12em;line-height:1.5;color:#f4ddb2;transform:rotate(9deg);background:#204f4933}
#gamePane .game-mode-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:24px}
.game-filters{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:0 0 19px}
.game-filters button{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:9px 13px;border-color:transparent;background:transparent;font-size:11px;color:var(--muted);border-radius:8px}
.game-filters button>span{font-size:9px;font-variant-numeric:tabular-nums;opacity:.8}
.game-filters button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent);border-color:color-mix(in srgb,var(--accent) 16%,var(--panel));font-weight:650}
#gamePane .games-heading{margin-bottom:11px}
#gamePane .games-heading>span{font-size:10px}
#gamePane .game-mode{border-radius:13px}
#gamePane .mode-art{aspect-ratio:1.5}
#gamePane .heritage-poster .mode-art{aspect-ratio:auto}
#gamePane .mode-name{font-size:14px}
.mode-content{padding:15px 13px 13px}
.mode-access{position:absolute;top:10px;left:10px;display:inline-flex;align-items:center;gap:4px;padding:4px 6px;border:1px solid #fff3;border-radius:5px;color:#e0f4e5;background:#193e36de;font-size:7px;font-weight:750;letter-spacing:.05em;backdrop-filter:blur(6px)}
.mode-access.is-premium{color:#ffe0a4;background:#3e3529e8;border-color:#eed09566}
.mode-access .ui-icon{width:10px;height:10px}
#gamePane [data-mode=shagai]{--game-accent:#92703b;--world-ink:#f3d99e}
#gamePane [data-mode=archery]{--game-accent:#3c8371;--world-ink:#bbe9cf}
#gamePane [data-mode=wrestling]{--game-accent:#b05f4c;--world-ink:#f3c5a9}
#gamePane [data-mode=ger]{--game-accent:#a07949;--world-ink:#f4d9a3}
#gamePane [data-mode=morin]{--game-accent:#407e84;--world-ink:#c0e4d2}
#gamePane [data-mode=caravan]{--game-accent:#b18347;--world-ink:#f5d7a2}
:root[data-theme=dark] #gamePane [data-mode=shagai],:root[data-theme=dark] #gamePane [data-mode=ger],:root[data-theme=dark] #gamePane [data-mode=caravan]{--game-accent:#dab779}
:root[data-theme=dark] #gamePane [data-mode=archery],:root[data-theme=dark] #gamePane [data-mode=morin]{--game-accent:#8ac7b3}
:root[data-theme=dark] #gamePane [data-mode=wrestling]{--game-accent:#e2a490}
.arcade-pass{display:flex;align-items:center;gap:18px;padding:22px 25px;border:1px solid color-mix(in srgb,var(--heritage-gold) 40%,var(--line));border-radius:14px;background:linear-gradient(110deg,color-mix(in srgb,var(--heritage-gold) 11%,var(--panel)),var(--panel));margin:0 0 29px}
.arcade-pass>div{flex:1;min-width:0}
.pass-mark{display:grid;place-items:center;flex-shrink:0;font-size:32px;color:var(--heritage-gold);width:55px;height:55px;border:1px solid color-mix(in srgb,var(--heritage-gold) 40%,var(--line));border-radius:50%}
.arcade-pass .eyebrow{font-size:8px;color:var(--heritage-gold)}
.arcade-pass h3{font-size:17px;margin:4px 0 5px;letter-spacing:-.025em}
.arcade-pass p{font-size:10px;line-height:1.7;color:var(--muted);margin:0}
.arcade-pass .solid-button{background:#286d63;color:#f1f1da;font-size:12px;gap:20px;flex-shrink:0}
.arcade-pass.is-active{border-color:var(--accent);background:var(--accent-soft)}
#gamePane .game-arena:is([data-mode=shagai],[data-mode=archery],[data-mode=wrestling],[data-mode=ger],[data-mode=caravan]) .game-word-stage{top:58px;background:#243e32ed;border-color:#dcc08866}
#gamePane .game-arena[data-mode=morin] .game-word-stage{top:58px;background:#15393de8;border-color:#dec38966}
#gamePane .game-arena:is([data-mode=ger],[data-mode=morin],[data-mode=caravan]) .game-word-stage>p{font-size:8px;max-width:280px;line-height:1.7;margin-inline:auto}
.world-feedback{font-size:clamp(14px,3.5cqw,23px);max-width:95%;text-align:center;white-space:normal}
#premiumPane{position:relative;overflow:hidden;border-top:4px solid #b38b52}
#premiumPane .priceGrid{padding:13px 0 20px;gap:45px}
#premiumPane .price{color:#a67b3f}
#premiumPane h2{font-size:30px;letter-spacing:-.04em;margin-top:13px}
#premiumPane .priceGrid>div>p{color:var(--muted);font-size:13px;line-height:1.9;max-width:430px}
#premiumPane .priceGrid ul{font-size:12px;padding:20px 0 0 19px;line-height:1.8}
#premiumGames{display:flex;margin-top:17px;font-size:12px}
#qrPayment{display:block;width:210px;max-width:100%;background:#fff;border:10px solid #fff;border-radius:10px;margin:15px 0}
#bankLinks{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}
#bankLinks a{padding:8px 10px;border:1px solid var(--line);border-radius:7px;font-size:12px;text-decoration:none}
@media(max-width:1100px){#gamePane .game-mode-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.heritage-copy{padding:30px}.heritage-intro h2{font-size:43px}.heritage-intro .feature-actions{flex-direction:row}.heritage-poster{min-height:365px}}
@media(max-width:800px){#gamePane .game-mode-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.arcade-intro.heritage-intro{grid-template-columns:1.15fr 1fr}.heritage-copy{padding:27px 0 27px 25px}.heritage-intro h2{font-size:35px}.heritage-intro p.muted{font-size:11px}.heritage-intro .feature-actions{gap:7px}.heritage-intro .feature-actions button{font-size:10px;padding:10px}.heritage-facts{gap:9px;font-size:8px}.heritage-facts>span+span::before{margin-right:9px}.poster-stamp{right:17px;width:58px;height:58px;font-size:10px}.arcade-pass{padding:18px;gap:13px}.arcade-pass h3{font-size:15px}.arcade-pass p{font-size:10px}.pass-mark{width:42px;height:42px;font-size:26px}}
@media(max-width:640px){.arcade-intro.heritage-intro{display:flex;flex-direction:column;gap:0;border-radius:16px}.heritage-copy{padding:25px 23px 0;width:100%}.heritage-intro h2{font-size:39px;margin:17px 0 13px}.heritage-intro p.muted{font-size:11px}.heritage-intro .eyebrow{font-size:9px}.heritage-intro .feature-actions{margin-top:19px;flex-direction:row}.heritage-intro .feature-actions button{font-size:11px;padding:11px 13px}.heritage-facts{margin-top:17px;font-size:8px;gap:11px}.heritage-facts>span+span::before{margin-right:11px}.heritage-poster{width:100%;min-height:210px;margin-top:17px}.heritage-poster::before{background:linear-gradient(180deg,#163e3b,transparent 45%)}.poster-stamp{width:54px;height:54px;top:24px;right:22px;font-size:9px}.poster-label{bottom:20px;right:22px;font-size:7px}#gamePane .game-mode-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}#gamePane .mode-art{aspect-ratio:1.5}#gamePane .mode-name{font-size:12px}.mode-content{padding:13px 10px 11px}.mode-access{font-size:6px;top:8px;left:8px;padding:4px 5px}.mode-access .ui-icon{width:8px;height:8px}.game-filters{gap:3px;margin-bottom:15px}.game-filters button{font-size:10px;gap:5px;padding:8px 9px}.game-filters button>span{font-size:8px}.arcade-pass{flex-wrap:wrap;gap:12px;padding:17px;margin-bottom:24px}.arcade-pass>div{flex-basis:calc(100% - 60px)}.arcade-pass .solid-button{width:100%;justify-content:space-between;padding:10px 14px}.arcade-pass h3{font-size:14px}.arcade-pass p{font-size:10px}.pass-mark{width:36px;height:36px;font-size:23px}.world-feedback{font-size:16px}#premiumPane .priceGrid{gap:12px}#premiumPane h2{font-size:27px}#premiumPane .priceGrid ul{padding-top:0}#gamePane .game-arena[data-mode=morin] .game-word-stage>p{max-width:220px;font-size:7px}}
@media(max-width:360px){.heritage-copy{padding:23px 18px 0}.heritage-intro h2{font-size:34px}.heritage-intro .feature-actions{gap:6px}.heritage-intro .feature-actions button{font-size:10px;padding:10px}.heritage-intro p.muted{font-size:10px}.game-filters button{padding:8px 7px;font-size:9px;gap:4px}#gamePane .mode-name{font-size:11px}}

.arcade-pass>.pass-action{flex:0 0 auto;display:grid;justify-items:end;gap:9px}
.mode-access{font-size:9px;padding:5px 7px}
.pass-action>strong{font-size:22px;font-weight:700;letter-spacing:-.04em;color:var(--text)}
.arcade-pass .availability-note{color:var(--heritage-gold);font-size:10px;margin-top:7px}
#gamePane #arcadeOverview{margin:27px 0}
.world-overlay-card>.solid-button{max-width:100%;white-space:normal}
#premiumPane .priceGrid .plan-billing{font-size:12px;font-weight:600;color:var(--text);margin:4px 0 13px}
#premiumPane .priceGrid .payment-status{padding:12px 14px;background:var(--surface);border-left:3px solid #b38b52;border-radius:5px;color:var(--text);font-size:12px;line-height:1.8;margin:16px 0}
#premiumPane .payment-status[data-state=active]{border-color:var(--accent);background:var(--accent-soft)}
.plan-includes{padding:16px 0 0}
.plan-includes h3{font-size:15px;margin:0 0 13px}
#premiumPane .plan-includes ul{padding-top:0;margin-top:0}
@media(max-width:640px){.mode-access{font-size:8px;padding:4px 6px}.arcade-pass>.pass-action{flex-basis:100%;width:100%;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:14px}.pass-action>strong{font-size:20px}.arcade-pass .pass-action .solid-button{font-size:10px;justify-content:center;white-space:normal;min-width:0}.plan-includes{padding-top:6px}#premiumPane .priceGrid .payment-status{font-size:11px;padding:11px 12px}}
