@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800;900&family=DM+Sans:wght@400;500;600;700&display=swap');
:root{font-family:'DM Sans',system-ui,sans-serif;color:#ede9df;background:#0b1018;font-synthesis:none}*{box-sizing:border-box}html,body{margin:0;min-height:100%}body{background:radial-gradient(circle at 50% 0%,#202a36 0%,#0b1018 55%);padding:0 22px}.shell{max-width:1350px;margin:auto}.topbar{height:78px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:13px}.brand-mark{font-size:29px;color:#e94d42;line-height:1}.brand-text{font-family:'Barlow Condensed',Impact,sans-serif;font-size:25px;font-weight:800;letter-spacing:.07em}.brand-text strong{color:#ef5b49}.topbar-right{display:flex;align-items:center;gap:28px}.eyebrow,.chapter,.lives-label,.panel-kicker,.stage-progress,.stats>div>span,.overlay-kicker,.overlay-footnote,.arena-caption,footer,.boss-hud,.input-help,label,.primary-button,#strikeButton,.icon-button{font-family:'Barlow Condensed',Impact,sans-serif;letter-spacing:.15em}.eyebrow{font-size:13px;color:#85909b}.icon-button{border:1px solid #394451;background:#18212c;color:#dbdfdc;min-height:38px;padding:0 12px;cursor:pointer;font-size:16px}.icon-button span{font-size:12px;margin-left:5px}.icon-button:hover,.icon-button:focus-visible{border-color:#e96250}.game{border:1px solid #48515a;box-shadow:0 30px 100px #0009}.arena{position:relative;height:clamp(430px,51vw,600px);overflow:hidden;background:#1a2027;isolation:isolate}.scene{position:absolute;inset:-3%;background-image:var(--scene);background-position:center 49%;background-size:cover;transform:none}.scene-shade{position:absolute;inset:0;background:linear-gradient(180deg,#050a11c9 0%,transparent 21%,transparent 46%,#07101855 69%,#091019ed 100%),linear-gradient(90deg,#05090d7b,transparent 25%,transparent 75%,#05090d81)}.scene-grain{position:absolute;inset:0;opacity:.24;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E")}.arena-header{position:absolute;z-index:2;left:32px;right:32px;top:28px;display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.stage-name{display:grid;gap:4px}.chapter{font-size:13px;color:#f16856;font-weight:700}.stage-name strong{font:800 clamp(22px,3vw,38px)/1 'Barlow Condensed',Impact,sans-serif;letter-spacing:.05em;text-shadow:0 2px 12px #000}.lives{display:flex;align-items:center;gap:14px;background:#0a1019bd;border:1px solid #82909a50;padding:11px 15px}.lives-label{font-size:13px;color:#c2c8c9}.lives #lifeIcons{color:#ed5b4b;letter-spacing:.24em;font-size:15px;white-space:nowrap}.boss-hud{position:absolute;z-index:2;left:50%;top:100px;transform:translateX(-50%);width:min(330px,44%);display:grid;gap:8px;text-align:center;color:#f2e8d9;font-size:13px;font-weight:700;text-shadow:0 2px 6px #000}.health-track{height:8px;background:#1a1720;border:1px solid #f5e4d787;box-shadow:0 3px 12px #0009}.health-fill{height:100%;width:100%;background:linear-gradient(90deg,#a9282c,#f06a4e);transition:width .28s}.arena-caption{position:absolute;z-index:2;bottom:24px;left:32px;right:32px;display:flex;align-items:center;gap:16px;font-size:13px;color:#e2e2d9;font-weight:700;text-shadow:0 2px 5px #000}.caption-line{height:1px;background:#dce1dc80;flex:1}.arena-caption span:last-child{color:#f17a63}.overlay{position:absolute;inset:0;z-index:8;display:grid;place-items:center;padding:20px;background:#071019a8;backdrop-filter:blur(5px)}.overlay[hidden],.countdown[hidden]{display:none}.overlay-card{width:min(510px,100%);text-align:center;background:linear-gradient(145deg,#18232edb,#0b1018f2);border:1px solid #a8aa9f7a;padding:clamp(25px,4vw,48px);box-shadow:0 22px 90px #000a}.overlay-kicker{color:#ec6752;font-size:15px;font-weight:800}.overlay h1{font:900 clamp(48px,7vw,82px)/.95 'Barlow Condensed',Impact,sans-serif;text-transform:uppercase;letter-spacing:.025em;margin:16px 0}.overlay p{font-size:16px;line-height:1.6;color:#d0d3d0;margin:0 auto 24px;max-width:380px}.primary-button{min-width:230px;min-height:54px;border:0;background:#e75646;color:#140e0e;font-size:18px;font-weight:900;cursor:pointer;transition:transform .18s,background .18s}.primary-button span{margin-left:18px}.primary-button:hover,.primary-button:focus-visible{transform:translateY(-2px);background:#ff7661}.overlay .overlay-footnote{font-size:13px;margin:19px 0 0;color:#8e9aa3;text-transform:uppercase}.countdown{position:absolute;inset:0;z-index:7;display:grid;place-items:center;font:900 clamp(120px,24vw,250px)/1 'Barlow Condensed',Impact,sans-serif;color:#f5f0e7;text-shadow:6px 8px 0 #b93835,0 10px 70px #000;animation:countPulse .8s ease-out}.play-panel{background:#141d26;padding:28px 32px 26px}.mission-line{display:flex;justify-content:space-between;align-items:end;gap:22px}.panel-kicker{font-size:13px;font-weight:800;color:#e96550}.mission-line h2{font:700 clamp(24px,3vw,32px)/1.1 'Barlow Condensed',Impact,sans-serif;letter-spacing:.025em;margin:7px 0 0}.stage-progress{min-width:155px;text-align:right;font-size:14px;color:#aeb9be}.progress-track{height:4px;background:#39444b;margin-top:10px}.progress-track>div{width:0;height:100%;background:#e5674e;transition:width .28s}.passage{margin:25px 0 23px;background:#0c151e;border:1px solid #384653;border-left:4px solid #dc584a;min-height:111px;padding:20px 22px;line-height:2.15;font-size:clamp(18px,2vw,24px);font-weight:600;word-spacing:.12em}.word{color:#84939e;white-space:nowrap;border-bottom:2px solid transparent;padding:3px 2px}.word.done{color:#77b8a8}.word.current{color:#fff5e7;border-bottom-color:#f36a52;background:#e565491c}.word.current .matched{color:#74dcc2}.word.current .unmatched{color:#fff5e7}.word.current.error{color:#ff7365;background:#79252160}form label{display:block;font-size:13px;color:#c5cfd1;margin-bottom:9px;font-weight:700}form label span{color:#ec7259;margin-left:5px}.input-row{display:flex;min-height:58px;border:1px solid #677681;background:#101a24;transition:border-color .2s,box-shadow .2s}.input-row:focus-within{border-color:#eb735e;box-shadow:0 0 0 3px #ea6c4e27}.input-row.error{border-color:#ff604f;animation:inputShake .3s}.prompt-chevron{align-self:center;font-size:32px;color:#e5654e;margin-left:18px;margin-right:12px;line-height:0}.input-row input{min-width:0;flex:1;border:0;outline:none;background:transparent;font:600 21px 'DM Sans',sans-serif;color:white;letter-spacing:.02em}.input-row input::placeholder{font-weight:400;color:#768790}.input-row input:disabled{cursor:not-allowed}.input-row button{border:0;background:#e75c49;color:#10151b;padding:0 26px;font-size:17px;font-weight:900;cursor:pointer;white-space:nowrap}.input-row button:hover:not(:disabled){background:#ff8066}.input-row button:disabled{background:#5c6569;color:#b2babe;cursor:not-allowed}.input-row button span{font-size:18px;margin-left:8px}.input-help{font-size:13px;color:#9aa8ac;margin:9px 0 0;letter-spacing:.025em}.input-help.negative{color:#ff786a}.stats{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #35414c;margin-top:24px;padding-top:19px}.stats>div{padding-left:20px;border-left:1px solid #35414c;display:grid;gap:5px}.stats>div:first-child{padding-left:0;border:0}.stats>div>span{font-size:13px;color:#a7b2ba;font-weight:700}.stats strong{font:800 31px/1 'Barlow Condensed',Impact,sans-serif;color:#f5f1e9}.stats small{font-size:16px;color:#ed765d}footer{display:flex;justify-content:space-between;gap:18px;padding:20px 0 28px;color:#6f808b;font-size:12px;font-weight:700}@keyframes countPulse{from{opacity:.5;transform:scale(1.35)}to{opacity:1;transform:scale(1)}}@keyframes inputShake{20%,60%{transform:translateX(-5px)}40%,80%{transform:translateX(5px)}}@media(max-width:700px){body{padding:0 10px}.topbar{height:65px}.eyebrow{display:none}.brand-text{font-size:21px}.arena{height:clamp(380px,72vh,540px)}.scene{background-position:center}.arena-header{left:18px;right:18px;top:18px}.stage-name strong{font-size:24px}.lives{padding:8px;gap:6px}.lives-label{display:none}.boss-hud{top:88px;width:55%}.arena-caption{left:18px;right:18px;bottom:17px;font-size:12px}.play-panel{padding:22px 17px}.passage{padding:15px 14px;font-size:19px;line-height:2.05}.mission-line h2{font-size:23px}.stage-progress{min-width:100px;font-size:12px}.stats>div{padding-left:10px}.stats strong{font-size:27px}.stats>div>span{font-size:11px}.input-row button{padding:0 13px;font-size:15px}.input-row input{font-size:18px}.prompt-chevron{margin-left:10px;margin-right:8px}footer{font-size:11px}}@media(max-width:410px){.arena{height:390px}.stage-name strong{font-size:21px}.boss-hud{top:91px}.stats{gap:14px 0}.stats strong{font-size:25px}.input-row button span{display:none}footer span:last-child{display:none}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}

.battle-canvas{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none}.arena-header,.boss-hud,.arena-caption{z-index:3}.scene{inset:0;background-position:center center}.scene-shade{z-index:0}.scene-grain{z-index:2;opacity:.13}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.arena.danger .arena-caption{color:#ffbd76}.arena.danger .arena-caption span:last-child{color:#ffb46e}.arena.danger .boss-hud{color:#ffb46e}.primary-button:disabled{opacity:.65;cursor:wait;transform:none}.arena-caption{pointer-events:none}.arena-caption span:first-child{max-width:65%}.input-row button:disabled{cursor:default}

/* Keep the fight and the typing controls together in a laptop viewport. */
.topbar{height:64px}.arena{height:clamp(280px,43vh,500px)}.play-panel{padding:18px 24px 16px}.passage{margin:16px 0;min-height:0;padding:12px 16px;line-height:1.8;font-size:20px;word-spacing:normal;overflow-wrap:normal}.mission-line h2{font-size:26px}.stats{margin-top:16px;padding-top:12px}.stats strong{font-size:27px}.input-row{min-height:52px}footer{padding:14px 0 18px}.arena-header{top:19px}.boss-hud{top:87px}.arena-caption{bottom:17px}.stage-name strong{font-size:30px}.boss-hud{width:270px}.overlay-card{padding:24px 32px}.overlay h1{font-size:58px}.overlay p{margin-bottom:18px}.overlay .overlay-footnote{margin-top:14px}
@media(max-width:700px){.arena{height:330px}.play-panel{padding:18px 16px}.passage{font-size:18px;max-height:180px;overflow-y:auto}.stage-name strong{font-size:22px}.boss-hud{top:82px;width:220px}.overlay-card{padding:22px}.overlay h1{font-size:48px}.overlay p{font-size:15px}.mission-line h2{font-size:23px}.arena-caption{gap:8px;letter-spacing:.06em}.arena-caption span:first-child{max-width:60%}.stats>div>span{font-size:12px}.arena-caption .caption-line{min-width:8px}}
.fullscreen-button{display:inline-flex;align-items:center;justify-content:center;gap:6px}.fullscreen-button span{margin:0}.fullscreen-button[aria-pressed="true"]{border-color:#f08065;color:#ffc1a6}.topbar-right{gap:16px}.display-status{font-size:14px;color:#ffd0ac;margin:0 0 8px}.display-status:empty{display:none}.lesson-rule{font-size:14px;color:#b9c7cf;line-height:1.4;margin:-4px 0 12px}.panel-kicker{letter-spacing:.07em}
html.immersive{background:#0b1018}html.immersive body{padding:0 16px;overflow:auto}html.immersive .shell{max-width:none;height:100dvh;min-height:600px;display:flex;flex-direction:column}html.immersive .topbar{height:54px;flex-shrink:0}html.immersive .game{flex:1;min-height:0;display:flex;flex-direction:column;border:0;box-shadow:none}html.immersive .arena{height:auto;flex:1;min-height:230px}html.immersive .play-panel{flex-shrink:0;padding:14px 24px}html.immersive .passage{margin:12px 0;max-height:112px;overflow-y:auto}html.immersive .stats{margin-top:12px;padding-top:10px}html.immersive footer{display:none}
@media(max-width:1000px){.topbar .eyebrow{display:none}}@media(max-width:560px){.topbar-right{gap:8px}.fullscreen-button span{display:none}.fullscreen-button{min-width:40px;padding:0 10px}.brand{gap:7px}.brand-text{font-size:19px}.topbar{gap:10px}.lesson-rule{font-size:14px}.panel-kicker{font-size:12px}html.immersive body{padding:0 8px}html.immersive .shell{min-height:720px}html.immersive .play-panel{padding:14px 12px}html.immersive .passage{max-height:150px}}

/* Search-readable game guide below the playable arena. */
.brand{color:inherit;text-decoration:none}.brand:focus-visible,.topbar-link:focus-visible,.about-game a:focus-visible,footer a:focus-visible{outline:2px solid #f08065;outline-offset:4px}.brand-text{margin:0;line-height:1}.overlay h2{font:900 clamp(48px,7vw,82px)/.95 'Barlow Condensed',Impact,sans-serif;text-transform:uppercase;letter-spacing:.025em;margin:16px 0}.topbar-link,footer a{font:700 13px 'Barlow Condensed',Impact,sans-serif;letter-spacing:.13em;color:#bbc7ca;text-decoration:none;white-space:nowrap}.topbar-link:hover,footer a:hover{color:#ff8b70}.topbar-right{gap:18px}
.about-game{border:1px solid #34414c;border-top:0;background:linear-gradient(165deg,#17222b,#101820);padding:40px clamp(22px,4vw,48px);color:#d1d9d9}.about-intro{max-width:760px}.about-intro h2{font:800 clamp(28px,4vw,44px)/1.08 'Barlow Condensed',Impact,sans-serif;letter-spacing:.025em;color:#f5eee4;margin:10px 0 16px}.about-game p{font-size:15px;line-height:1.7;margin:0}.about-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin-top:32px;padding-top:27px;border-top:1px solid #394651}.about-grid h3{font:800 22px 'Barlow Condensed',Impact,sans-serif;color:#f2c3ac;letter-spacing:.04em;margin:0 0 9px}.about-note{margin-top:28px!important;color:#aebfc3}footer{align-items:center}footer nav{display:flex;gap:22px}html.immersive .about-game{display:none}
@media(max-width:700px){.about-game{padding:28px 22px}.about-grid{grid-template-columns:1fr;gap:22px;margin-top:24px;padding-top:22px}footer{flex-wrap:wrap;justify-content:center;text-align:center}footer nav{order:-1;width:100%;justify-content:center}}@media(max-width:560px){.topbar-link{display:none}}@media(max-width:410px){footer #keyTip{display:none}}

/* Pricing follows the playable game and keeps future plans clearly separate. */
.pricing{padding:42px clamp(22px,4vw,48px) 46px;background:#101820;border:1px solid #34414c;border-top:0}.pricing-intro{max-width:770px}.pricing h2{font:800 clamp(29px,4vw,44px)/1.1 'Barlow Condensed',Impact,sans-serif;letter-spacing:.025em;margin:9px 0 14px}.pricing-intro p,.pricing-note{font-size:16px;line-height:1.65;color:#c4d0d1;margin:0}.pricing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin:28px 0 20px}.price-card{display:flex;flex-direction:column;min-width:0;background:#17222d;border:1px solid #42515b;padding:25px 24px 24px}.price-card-free{border-color:#e96d54;background:linear-gradient(155deg,#24242a,#17222d 70%)}.price-status{font:800 13px 'Barlow Condensed',Impact,sans-serif;letter-spacing:.14em;color:#ff967a}.price-status-planned{color:#a5b7c0}.price-card h3{font:800 27px 'Barlow Condensed',Impact,sans-serif;margin:10px 0 2px;color:#f6eee4}.price-card .price-audience{font-size:15px;line-height:1.45;margin:0;color:#bdc9cb}.price-card .price{display:flex;align-items:baseline;gap:8px;margin:22px 0 0}.price strong{font:800 46px/1 'Barlow Condensed',Impact,sans-serif;color:#f6eee4}.price span{font-size:15px;color:#c2cccf}.price-alt{min-height:23px;font-size:14px;line-height:1.5;color:#b2c0c3;margin:6px 0 0}.price-card ul{padding:18px 0 0 20px;margin:14px 0 24px;border-top:1px solid #3d4a53;flex:1}.price-card li{font-size:15px;line-height:1.5;color:#d2d9d7;margin:0 0 10px;padding-left:3px}.price-card li::marker{color:#e8775c}.price-action,.price-unavailable{display:block;text-align:center;padding:13px 10px;font:800 15px 'Barlow Condensed',Impact,sans-serif;letter-spacing:.12em}.price-action{background:#ed6650;color:#141820;text-decoration:none}.price-action:hover,.price-action:focus-visible{background:#ff896d}.price-unavailable{border:1px solid #53626b;color:#a7b8bc}.pricing-note{font-size:14px;color:#aabbbd}html.immersive .pricing{display:none}
.site-footer{display:block;padding:0 0 20px}.footer-main{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 0}.site-footer nav{display:flex;gap:20px}.footer-credit{border-top:1px solid #33404a;padding:15px 0 0;text-align:center;font:600 14px 'DM Sans',system-ui,sans-serif;letter-spacing:0;color:#adbcc1}.footer-credit a{font:700 14px 'DM Sans',system-ui,sans-serif;letter-spacing:0;color:#e98771;text-decoration:underline;text-underline-offset:3px}
@media(max-width:850px){.pricing-grid{grid-template-columns:1fr;max-width:560px}.price-card ul{flex:auto}.footer-main{flex-wrap:wrap;justify-content:center;text-align:center}.footer-main nav{order:-1;width:100%;justify-content:center}}@media(max-width:560px){.pricing{padding:30px 20px}.pricing-grid{gap:14px;margin-top:24px}.price-card{padding:22px}.footer-main nav{gap:16px}.footer-main nav a{font-size:12px}.footer-main #keyTip{display:none}}

/* Full screen is one continuous battlefield with a readable floating typing HUD. */
html.immersive,html.immersive body{width:100%;height:100%;overflow:hidden}
html.immersive body{padding:0}
html.immersive .shell{position:relative;width:100%;max-width:none;height:100dvh;min-height:0;display:block;overflow:hidden}
html.immersive .topbar{position:absolute;z-index:10;top:12px;left:clamp(16px,2.5vw,40px);right:clamp(16px,2.5vw,40px);height:44px;padding:0;background:transparent}
html.immersive .topbar .brand{filter:drop-shadow(0 2px 6px #000)}
html.immersive .topbar-link,html.immersive .eyebrow{display:none}
html.immersive .game{position:absolute;inset:0;display:block;min-height:0;border:0;box-shadow:none;overflow:hidden}
html.immersive .arena{position:absolute;inset:0;width:100%;height:100%;min-height:0;overflow:hidden}
html.immersive .scene{background-position:center 48%}
html.immersive .arena-header{top:70px;left:clamp(16px,2.5vw,40px);right:clamp(16px,2.5vw,40px)}
html.immersive .boss-hud{top:80px;width:min(330px,32%)}
html.immersive .arena-caption{top:clamp(150px,22vh,210px);bottom:auto;left:50%;right:auto;transform:translateX(-50%);width:max-content;max-width:calc(100% - 36px);padding:7px 13px;background:#08121bc0;border:1px solid #8b9ba25c;font-size:12px;white-space:nowrap}
html.immersive .arena-caption .caption-line{display:none}
html.immersive .arena-caption span:first-child{max-width:none}
html.immersive .play-panel{position:absolute;z-index:4;left:50%;bottom:clamp(12px,2vh,24px);transform:translateX(-50%);display:grid;grid-template-columns:minmax(0,1fr) minmax(188px,220px);grid-template-areas:"mission stats" "passage stats" "form stats";gap:8px 22px;width:min(1100px,calc(100% - 48px));max-height:calc(100dvh - 210px);padding:16px 20px 14px;overflow-y:auto;background:linear-gradient(145deg,#0c1722d9,#101e29e6);border:1px solid #adbec17a;box-shadow:0 16px 60px #000b;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
html.immersive .mission-line{grid-area:mission;align-items:center}
html.immersive .mission-line h2{font-size:23px;margin:1px 0 0}
html.immersive .panel-kicker{font-size:12px}
html.immersive .passage{grid-area:passage;margin:0;min-height:0;max-height:100px;padding:9px 13px;overflow-y:auto;background:#07131cbc;border-color:#72818a8c;font-size:19px;line-height:1.75}
html.immersive .word{color:#b1c0c4}
html.immersive .word.current{color:#fff9ed;background:#e565493b}
html.immersive .lesson-rule{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html.immersive #typingForm{grid-area:form;min-width:0}
html.immersive #typingForm label{margin:0 0 5px;font-size:12px}
html.immersive .input-row{min-height:46px;background:#0c1926dc}
html.immersive .input-help{margin:5px 0 0;font-size:12px;letter-spacing:0}
html.immersive .stats{grid-area:stats;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:center;gap:14px 8px;margin:0;padding:0 0 0 18px;border:0;border-left:1px solid #88969c66}
html.immersive .stats>div,html.immersive .stats>div:first-child{display:grid;gap:4px;min-width:0;padding:0;border:0}
html.immersive .stats>div>span{font-size:12px;letter-spacing:.08em;white-space:nowrap}
html.immersive .stats strong{font-size:27px}
html.immersive .stats small{font-size:14px}
html.immersive .game:has(.overlay:not([hidden])) .play-panel{visibility:hidden}
html.immersive .display-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:700px){html.immersive .topbar{top:9px;left:14px;right:14px;height:40px}html.immersive .arena-header{top:59px;left:14px;right:14px}html.immersive .arena-header .stage-name strong{font-size:21px}html.immersive .boss-hud{top:112px;width:min(240px,60%)}html.immersive .arena-caption{top:166px;font-size:11px}html.immersive .play-panel{bottom:max(8px,env(safe-area-inset-bottom));grid-template-columns:minmax(0,1fr);grid-template-areas:"mission" "passage" "form" "stats";gap:7px;width:calc(100% - 20px);max-height:calc(100dvh - 190px);padding:12px 13px 10px}html.immersive .mission-line h2{font-size:20px}html.immersive .passage{max-height:92px;padding:7px 10px;font-size:17px;line-height:1.6}html.immersive .input-row{min-height:43px}html.immersive .stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;justify-items:center;padding:8px 0 0;border-left:0;border-top:1px solid #88969c66;text-align:center}html.immersive .stats>div>span{font-size:11px}html.immersive .stats strong{font-size:22px}html.immersive .stats small{font-size:11px}html.immersive .input-help{font-size:12px}}
@media(max-width:410px){html.immersive .arena-caption{top:158px}html.immersive .stage-progress{min-width:82px}html.immersive .mission-line h2{font-size:18px}html.immersive .stats>div>span{font-size:10px;letter-spacing:0}html.immersive .stats strong{font-size:20px}}
@media(max-height:560px){html.immersive .arena-header{top:56px}html.immersive .boss-hud{top:105px}html.immersive .arena-caption{top:155px}html.immersive .play-panel{max-height:calc(100dvh - 165px)}html.immersive .passage{max-height:70px}}

/* The armory is a deliberate pause between the Oni and the forest encounter. */
.arena-tools{display:grid;justify-items:end;gap:7px}.weapon-status{font:700 12px 'Barlow Condensed',Impact,sans-serif;letter-spacing:.11em;color:#b5f2df;background:#07161ddc;border:1px solid #98ddc188;padding:5px 8px;text-align:right}.weapon-status[hidden]{display:none}
.weapon-shop{position:absolute;z-index:9;inset:0;display:grid;place-items:center;padding:18px;background:#051019b8;backdrop-filter:blur(5px)}.weapon-shop[hidden]{display:none}.shop-card{width:min(880px,100%);max-height:100%;overflow-y:auto;padding:clamp(18px,3vw,32px);background:linear-gradient(150deg,#1d2a31f5,#101a24fa);border:1px solid #afbbac9c;box-shadow:0 22px 90px #000c}.shop-card h2{font:900 clamp(36px,5vw,56px)/1 'Barlow Condensed',Impact,sans-serif;text-transform:uppercase;margin:8px 0;color:#f8f0df}.shop-card>p{font-size:16px;line-height:1.55;color:#d0dbd7;margin:0 0 14px}.shop-balance{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap;padding:10px 14px;background:#0a1a20;border:1px solid #527868;font:700 14px 'Barlow Condensed',Impact,sans-serif;letter-spacing:.1em;color:#b3dbca}.shop-balance strong{font-size:26px;color:#f3dc90}.shop-balance span{margin-left:auto;color:#acbab4;font-size:13px;letter-spacing:0}.shop-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}.shop-item{display:grid;grid-template-columns:1fr auto;align-items:start;gap:5px 10px;padding:13px 15px;background:#0c1922e9;border:1px solid #566c69}.shop-item h3{grid-column:1/-1;margin:0;font:800 24px/1 'Barlow Condensed',Impact,sans-serif;color:#fff4dd}.shop-item p{grid-column:1/-1;min-height:41px;margin:0;color:#c3d1ce;font-size:14px;line-height:1.45}.shop-price{align-self:center;color:#f0d69a;font:800 14px 'Barlow Condensed',Impact,sans-serif;letter-spacing:.08em}.shop-item button{border:1px solid #e58d65;background:#b04d3c;color:#fff3e7;padding:7px 11px;font:800 13px 'Barlow Condensed',Impact,sans-serif;letter-spacing:.08em;cursor:pointer}.shop-item button:hover:not(:disabled),.shop-item button:focus-visible{background:#d5694f}.shop-item button:disabled{opacity:.52;cursor:not-allowed}.shop-message{min-height:23px!important;margin:3px 0 13px!important;color:#b7ead2!important;font-size:14px!important}.shop-card>.primary-button{width:100%;min-height:47px}.arena:has(.weapon-shop:not([hidden])) .battle-canvas,.arena:has(.weapon-shop:not([hidden])) .arena-header,.arena:has(.weapon-shop:not([hidden])) .boss-hud,.arena:has(.weapon-shop:not([hidden])) .arena-caption{visibility:hidden}html.immersive .game:has(.weapon-shop:not([hidden])) .play-panel{visibility:hidden}
@media(max-width:700px){.weapon-shop{padding:10px}.shop-card{padding:17px}.shop-card h2{font-size:36px}.shop-items{grid-template-columns:1fr;gap:8px}.shop-item{padding:9px 12px}.shop-item p{min-height:0}.shop-balance span{width:100%;margin:0}.weapon-status{font-size:11px}}
html:not(.immersive) .game:has(.weapon-shop:not([hidden])) .arena{height:clamp(560px,76vh,760px)}
.game:has(.weapon-shop:not([hidden])) .play-panel{display:none}
.shop-item{grid-template-columns:110px minmax(0,1fr);grid-template-rows:1fr auto;column-gap:14px;min-height:152px;padding:11px;background:linear-gradient(145deg,#162832,#0a1820);border-color:#778c8399}
.shop-art{grid-column:1;grid-row:1/3;display:block;width:110px;height:110px;align-self:center;object-fit:contain;background:radial-gradient(circle at 48% 45%,#5b716748 0%,#162b30 60%,#0a181e 100%);border:1px solid #a4baa43a;border-radius:5px;box-shadow:inset 0 0 24px #0007}
.shop-details{grid-column:2;grid-row:1;min-width:0}
.shop-details h3{font-size:22px;line-height:1.05;margin:2px 0 6px}
.shop-details p{font-size:13px;line-height:1.4;min-height:0}
.shop-purchase{grid-column:2;grid-row:2;display:flex;align-items:center;justify-content:space-between;gap:7px;flex-wrap:wrap}
.shop-purchase button{min-height:34px}
@media(max-width:700px){.shop-item{grid-template-columns:86px minmax(0,1fr);min-height:122px}.shop-art{width:86px;height:86px}.shop-details h3{font-size:21px}.shop-details p{font-size:13px}}
.pricing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.price-card-armory{border-color:#9b8b62;background:linear-gradient(150deg,#2a2a2a,#17222d 72%)}
.shop-details .shop-parent-price{min-height:0;margin:9px 0 0;color:#e7c996;font:700 11px/1.3 'Barlow Condensed',Impact,sans-serif;letter-spacing:.075em}
.shop-upgrade{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:4px 0 14px;padding:14px 17px;border:1px solid #ceab6d;background:linear-gradient(120deg,#413426,#202b2c 75%);box-shadow:inset 0 0 24px #e0a95912}
.shop-upgrade .panel-kicker{color:#f6c987;font-size:12px}
.shop-upgrade h3{margin:4px 0 3px;color:#fff1d9;font:800 25px/1 'Barlow Condensed',Impact,sans-serif;text-transform:uppercase}
.shop-upgrade h3 strong{color:#f7d795;margin-left:6px}
.shop-upgrade h3 small{font-size:14px;font-weight:600;text-transform:none;color:#d1c8b9}
.shop-upgrade p{margin:0;max-width:610px;color:#d2d9d2;font-size:13px;line-height:1.4}
.shop-upgrade-status{flex:none;border:1px solid #c4a473;padding:8px 10px;color:#f4dcae;font:800 12px 'Barlow Condensed',Impact,sans-serif;letter-spacing:.07em;text-align:center}
@media(max-width:850px){.pricing-grid{grid-template-columns:1fr}}
@media(max-width:700px){.shop-upgrade{display:block}.shop-upgrade-status{display:inline-block;margin-top:10px}.shop-details .shop-parent-price{font-size:10px}.shop-upgrade h3{font-size:23px}}
