@charset "UTF-8";
:root{color-scheme:dark;--bg:#070b19;--ink:#eefaff;--muted:#8c9ab6;--cyan:#75f4ff;--pink:#ef8af4;--gold:#ffd85c;font-family:Inter,"Segoe UI",system-ui,sans-serif;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 50% 0,#12213b 0,transparent 65%),var(--bg);color:var(--ink);min-height:100dvh}button,select{font:inherit}button{cursor:pointer;color:inherit;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:background .18s,border-color .18s,box-shadow .18s,transform .18s}button:disabled{cursor:default}button:focus-visible,select:focus-visible{outline:2px solid white;outline-offset:4px}button:hover:not(:disabled){filter:brightness(1.13)}button:active:not(:disabled){transform:translateY(2px)}[hidden]{display:none!important}button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}em{font-style:normal;color:var(--cyan)}
.app{width:min(1344px,100%);margin:auto;padding:0 40px}.topbar{height:100px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:13px;border:0;background:none;text-align:left;font-weight:800;font-size:17px;letter-spacing:2px;padding:0}.brand small{display:block;font:9px/1.7 Consolas,monospace;letter-spacing:2.6px;color:#738aa5;margin-top:1px}.brand-icon{display:block;width:32px;height:32px;background:#ffd955;border:3px solid #0a1724;box-shadow:0 0 0 1px #b0faff,0 0 20px #61edff35;position:relative;transform:rotate(-8deg)}.brand-icon:before,.brand-icon:after{content:"";position:absolute;top:9px;width:4px;height:6px;background:#092135}.brand-icon:before{left:5px}.brand-icon:after{right:5px}.brand-icon i{position:absolute;left:11px;top:19px;width:5px;height:2px;background:#c48a31}.top-actions{display:flex;align-items:center;gap:14px}.wallet{display:flex;align-items:center;gap:9px;background:#121c31;border:1px solid #2b344f;border-radius:7px;padding:9px 14px}.wallet b{font-size:14px;font-variant-numeric:tabular-nums}.gem-icon{color:var(--pink);text-shadow:0 0 12px #ed77f4a0;font-size:19px}.wallet-label{font:9px Consolas,monospace;color:#8c9ab6;letter-spacing:1.5px;margin-left:5px}.top-divider{height:22px;width:1px;background:#27334a;margin:0 3px}.icon-button{display:grid;place-items:center;width:35px;height:35px;padding:0;background:transparent;border:0;color:#9caec9}.icon-button.on{color:var(--cyan)}
.stage{isolation:isolate;position:relative;width:100%;height:clamp(560px,calc(100dvh - 154px),820px);overflow:hidden;background:#08172c;border:1px solid #35445c;border-radius:14px;box-shadow:0 30px 90px #0006,0 0 80px #31bed90a}.stage>canvas{display:block;width:100%;height:100%;touch-action:none}.scene-shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#030c22b3 0,#07102a11 47%,#08122866 67%,#071024 99%)}.corner{pointer-events:none;position:absolute;width:27px;height:27px;z-index:10;border-color:#72e7f5;border-style:solid;opacity:.7}.corner-tl{left:8px;top:8px;border-width:1px 0 0 1px;border-radius:5px 0 0}.corner-tr{right:8px;top:8px;border-width:1px 1px 0 0;border-radius:0 5px 0 0}.corner-bl{left:8px;bottom:8px;border-width:0 0 1px 1px;border-radius:0 0 0 5px}.corner-br{right:8px;bottom:8px;border-width:0 1px 1px 0;border-radius:0 0 5px}.screen{position:absolute;inset:0}.home-screen{padding:30px 40px}.home-meta{display:flex;justify-content:space-between;color:#a2bbc9;font:9px Consolas,monospace;letter-spacing:1.6px}.status-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--cyan);box-shadow:0 0 8px var(--cyan);margin-right:6px;vertical-align:1px}.home-edition{color:#8a9ab2}.hero-heading{text-align:center;position:absolute;top:12%;left:0;right:0}.eyebrow{font:10px/1.6 Consolas,monospace;letter-spacing:2.5px;color:#a6c7d6}.hero-heading h1{margin:5px 0 6px;font-size:clamp(62px,7.1vw,102px);font-weight:800;letter-spacing:6px;line-height:1.18;color:#f0feff;text-shadow:0 0 5px #c1faff,0 0 26px #56dbff88,0 4px 0 #207a95;font-style:italic}.hero-heading h1 span{color:#a3f7ff}.hero-heading p{font-size:13px;letter-spacing:.4px;color:#b1c7db;margin:8px 0}.hero-character{position:absolute;width:180px;height:190px;left:50%;top:38%;transform:translateX(-50%)}.hero-character canvas{position:absolute;width:150px;height:165px;left:15px;top:-5px;image-rendering:pixelated;animation:float 3s ease-in-out infinite;filter:drop-shadow(0 0 20px #7cf3ff66)}.hero-platform{position:absolute;bottom:11px;left:0;width:180px;height:18px;background:linear-gradient(180deg,#42c9e2,#0c3c69);border-top:4px solid #91ffff;box-shadow:0 -5px 25px #47faff80,0 12px 25px #0006;clip-path:polygon(5% 0,100% 0,96% 100%,0 100%)}.hero-ring{position:absolute;left:24px;right:24px;height:17px;bottom:29px;border:1px solid #7bfaff77;border-radius:50%;box-shadow:0 0 12px #5ae9ff55;animation:pulse 3s infinite}.hero-world{position:absolute;left:40px;top:49%;display:flex;gap:14px;align-items:center}.world-marker{color:var(--cyan);font:32px Consolas,monospace;opacity:.9}.hero-world small{display:block;font:8px Consolas,monospace;letter-spacing:1.8px;color:#a7bfd3;margin-bottom:8px}.hero-world strong{font-size:19px;font-weight:500}.world-line{width:45px;height:1px;background:#67eafa55;margin-left:12px}.hero-caption{position:absolute;right:40px;top:49%;display:flex;align-items:center;gap:12px;font:9px/1.8 Consolas,monospace;letter-spacing:1.6px;color:#b2c2d9}.tiny-cross{color:var(--pink);font-size:25px}.home-bottom{position:absolute;bottom:24px;left:40px;right:40px}.adventure-progress{display:flex;justify-content:space-between;flex-wrap:wrap;font:9px Consolas,monospace;color:#a5b9ce;letter-spacing:1.3px;gap:10px;margin-bottom:20px}.progress-track{height:3px;background:#29334e;width:100%;overflow:hidden}.progress-track i{display:block;background:var(--cyan);height:100%;min-width:4px;box-shadow:0 0 12px var(--cyan)}.home-buttons{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:13px}.play-button{min-height:77px;background:linear-gradient(110deg,#7bfcff,#57dce9);color:#09232c;border:1px solid #b7ffff;border-radius:7px;display:flex;align-items:center;text-align:left;gap:20px;padding:13px 22px;box-shadow:0 0 24px #55eafa28,inset 0 0 0 4px #c6ffff22;font-size:20px;font-weight:850;letter-spacing:1.4px}.play-triangle{font-size:24px}.play-button small{display:block;font:9px Consolas,monospace;letter-spacing:1.5px;margin-top:5px;color:#1f5362}.button-arrow{margin-left:auto;font-size:26px;font-weight:400}.menu-tile{display:flex;gap:16px;align-items:center;text-align:left;padding:15px 22px;border:1px solid #4a7187;background:#091a32d9;border-radius:7px;box-shadow:inset 0 0 16px #63edff0a;font-size:14px;font-weight:700;letter-spacing:1.5px}.menu-tile small{display:block;font-size:10px;font-weight:400;letter-spacing:.3px;color:#9eb4cc;margin-top:6px}.tile-icon{color:var(--cyan)}.tile-icon svg{width:26px;height:26px}.pink{border-color:#865084;background:#261331c9}.pink .tile-icon,.pink-text{color:var(--pink)}.home-foot{margin-top:19px;display:flex;justify-content:space-between;align-items:center;font:8px Consolas,monospace;letter-spacing:1.1px;color:#839ab6}.home-foot button{background:none;border:0;font:10px Consolas,monospace;color:#bccde3;letter-spacing:0;padding:0}.home-foot button b{color:var(--gold);margin-left:7px}.home-foot button:disabled{color:#718ca2}.page-footer{min-height:54px;display:flex;align-items:center;gap:25px;color:#62758e;font:8px Consolas,monospace;letter-spacing:1.2px}.page-footer button{background:none;border:0;color:#a5b4cc;font-size:11px;margin-left:auto;letter-spacing:0}.page-footer button span{color:var(--cyan);margin-left:4px}.desktop-hint{display:flex;gap:5px;align-items:center;letter-spacing:.5px}kbd{padding:3px 4px;border:1px solid #324058;border-radius:3px;font:8px Consolas,monospace;color:#9caec6;margin-left:2px}
.library-screen{background:linear-gradient(145deg,#09172af7,#090d22f5);padding:32px 36px;display:flex;flex-direction:column}.screen-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px;flex-shrink:0}h2{font-size:34px;letter-spacing:-1px;margin:5px 0 0;font-weight:650}.close-button{width:40px;height:40px;border:1px solid #3b4c64;background:#14233b;border-radius:7px;color:#b7ccde;font-size:17px}.scroll-area{overflow:auto;overscroll-behavior:contain;min-height:0;scrollbar-width:thin;scrollbar-color:#396378 #0c1527;padding:2px 6px 12px 2px}.world-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.world-card{overflow:hidden;border:1px solid #2f435d;background:#0b1427;border-radius:8px;padding:0;text-align:left;position:relative;min-width:0}.world-card.selected{border-color:var(--cyan);box-shadow:0 0 0 1px #75f4ff44}.world-card.locked{opacity:.55}.world-card canvas{display:block;width:100%;height:90px;object-fit:cover}.world-card .world-details{padding:11px 12px;display:flex;align-items:center;gap:10px}.world-card .world-number{font:18px Consolas,monospace;color:var(--world-color)}.world-card strong{display:block;font-size:12px;font-weight:600}.world-card small{display:block;font:8px Consolas,monospace;color:#93aac2;margin-top:5px;letter-spacing:.7px}.world-card .lock-tag{position:absolute;right:7px;top:7px;font-size:12px;background:#050a17bd;border-radius:4px;padding:3px 5px;color:#d0e0f1}.level-section{margin-top:25px;border-top:1px solid #2a3c56;padding-top:19px}.level-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.level-heading h3{margin:0;font-size:14px;font-weight:500}.level-heading>span{font:9px Consolas,monospace;color:#94acc3;letter-spacing:1px}.level-grid{display:grid;grid-template-columns:repeat(20,1fr);gap:6px}.level-button{display:grid;place-items:center;gap:2px;aspect-ratio:1;border-radius:5px;border:1px solid #253751;background:#111c30;color:#61738d;font:11px Consolas,monospace;min-width:0;padding:0}.level-button.completed{background:#102d37;color:#88dedf;border-color:#235464}.level-button.current{background:var(--cyan);color:#081a2a;box-shadow:0 0 15px #63f5ff35;font-weight:800;border-color:var(--cyan)}.level-button .mini-star{font-size:8px}.helper{font-size:10px;line-height:1.7;color:#859eb8;margin:15px 0 0}.shop-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}.segmented{display:flex;gap:5px}.segmented button{background:transparent;border:1px solid transparent;color:#91a4bd;font-size:11px;padding:8px 12px;border-radius:5px}.segmented button.active{border-color:#526d83;background:#16334b;color:#b8faff}#ownedCount{font:11px Consolas,monospace;color:#92a9bf}.shop-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:11px}.skin-card{border:1px solid #30425b;background:radial-gradient(ellipse at 50% 35%,#25304b,#111b30 70%);border-radius:8px;position:relative;text-align:center;padding:9px 7px 12px;min-width:0}.skin-card.equipped{border-color:var(--cyan);box-shadow:inset 0 0 18px #5feafc12,0 0 0 1px #75f4ff22}.skin-card canvas{display:block;margin:auto;width:74px;height:74px;image-rendering:pixelated}.skin-card strong{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600}.skin-card small{display:block;font:9px Consolas,monospace;color:#92a7bd;margin-top:7px}.skin-card.equipped small{color:var(--cyan)}.skin-card .skin-badge{position:absolute;top:7px;right:7px;font:7px Consolas,monospace;color:#d5a0ed;letter-spacing:.8px}.upgrade-panel{display:flex;align-items:center;gap:20px;border-top:1px solid #283c53;padding-top:23px;margin-top:25px;flex-wrap:wrap}.upgrade-panel h3{margin:4px 0;font-size:22px}.upgrade-panel p{color:#9eb6c9;font-size:11px;margin:5px 0}.upgrade-panel .eyebrow{font-size:8px}.outline-button{padding:12px 16px;background:#102b3d;border:1px solid #438594;color:#a4f8ff;border-radius:6px;font-size:12px}.outline-button:disabled{opacity:.5}.deco-label{font-size:10px;color:#97b0c5;display:grid;gap:6px;margin-left:auto}.deco-label select{background:#0c192d;color:#ccdde9;border:1px solid #34485e;border-radius:5px;padding:8px;font-size:11px;max-width:100%}
.hud{position:absolute;top:24px;left:27px;right:27px;pointer-events:none}.hud-top{display:flex;gap:13px;align-items:center}.hud-pause{width:42px;height:42px;pointer-events:auto;background:#09172cdd;border:1px solid #57939e;border-radius:6px;color:var(--cyan);font-size:21px}.hud-location small{font:9px Consolas,monospace;letter-spacing:1.5px;color:#c4dfea;display:block}.hud-location b{display:block;letter-spacing:2px;font-size:19px;line-height:1.4}.hud-hearts{margin-left:auto;color:#ff83b1;font-size:20px;white-space:nowrap;text-shadow:0 0 13px #f77a9a66;letter-spacing:3px}.hud-second{display:flex;justify-content:space-between;font:12px Consolas,monospace;margin-top:15px;color:#c0d7e8}.hud-gems{color:var(--pink)}.hud-gems b{color:#cbdfea;font-weight:400;margin-left:5px}.level-distance{height:2px;background:#a0d8e822;margin-top:12px}.level-distance i{display:block;height:100%;background:var(--cyan);width:0;box-shadow:0 0 8px var(--cyan)}.tutorial{text-align:center;margin-top:18px;font-size:12px;color:#e1faff;text-shadow:0 2px 8px #000}.tutorial span{display:block;color:#b3d0e0;font-size:10px;margin-top:6px}.boss-meter{width:min(350px,80%);margin:20px auto;color:#ff9bcc;text-align:center;font:9px Consolas,monospace;letter-spacing:2px}.boss-meter>div{height:7px;background:#481c3b;margin-top:8px}.boss-meter i{display:block;height:100%;background:#ff6dba;width:100%}.modal-layer{position:absolute;inset:0;z-index:20;display:grid;place-items:center;padding:24px;background:#030919b8;backdrop-filter:blur(12px)}.modal-card{width:min(380px,100%);max-height:100%;overflow:auto;background:linear-gradient(150deg,#132540,#0c1429);border:1px solid #456b83;box-shadow:0 0 50px #3aeafa0f;border-radius:14px;padding:32px;text-align:center}.modal-card .eyebrow{font-size:9px}.modal-card h2{margin:12px 0 10px;font-size:38px;color:var(--cyan)}.modal-card p{color:#a5bbd1;font-size:12px;line-height:1.8}.modal-symbol{font-size:35px;line-height:1;color:var(--cyan);margin:0 0 13px}.modal-buttons{display:grid;gap:9px;margin-top:25px}.modal-buttons button{border:1px solid #3f607a;background:#132a43;padding:12px;border-radius:6px;font-size:12px;letter-spacing:.5px}.modal-buttons .primary{background:var(--cyan);color:#092230;border-color:#b1faff;font-weight:700}.modal-buttons .pink-button{border-color:#a166aa;color:var(--pink)}.result-stats{display:flex;justify-content:center;gap:35px;padding:18px 0;margin:20px 0 10px;border-top:1px solid #35516a;border-bottom:1px solid #35516a}.result-stats b{display:block;font:24px Consolas,monospace;color:#f0faff}.result-stats small{display:block;font:8px Consolas,monospace;color:#96b4c9;margin-top:5px;letter-spacing:1.5px}.help-row{text-align:left;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #2c425c;padding:10px 0;font-size:11px;color:#acc4d8}.help-row b{color:#e1f3ff;font-weight:500}.help-row kbd{font-size:10px}.toast{position:absolute;z-index:30;left:50%;bottom:20px;transform:translate(-50%,15px);padding:13px 20px;background:#122c3cf5;border:1px solid #5aa4ad;color:#d8fcff;border-radius:7px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;font-size:12px;max-width:calc(100% - 32px);text-align:center;width:max-content;box-shadow:0 7px 25px #0004}.toast.visible{opacity:1;transform:translate(-50%,0)}
.language-button{border:1px solid #34435a;background:#101b30;border-radius:5px;padding:7px 8px;color:var(--cyan);font:10px Consolas,monospace;white-space:nowrap}.language-button span{color:#7f93ae}.language-button .chosen{color:var(--cyan)}
.stage:fullscreen{width:100vw;height:100dvh;max-height:none;border-radius:0;border:0}.stage:fullscreen .hud{top:max(24px,env(safe-area-inset-top))}
/* A separate, local playtest. Match the game's quiet cyan / pink surfaces. */
.test-landscape-entry{display:none}
.playtest-entry{border:1px solid #477685;border-radius:5px;padding:8px 10px;background:#0c2537b0;color:#a3f7ff;font:9px Consolas,monospace;letter-spacing:.6px;min-height:36px}
.home-meta{align-items:center}.home-meta .playtest-entry{margin-top:-8px}
.playtest-screen .screen-heading{margin-bottom:12px}.test-intro{font-size:12px;line-height:1.7;color:#b1c6d9;max-width:650px;margin:0 0 18px}
.test-loadout{padding:16px;border:1px solid #294b60;border-radius:9px;background:linear-gradient(120deg,#10293b,#101b31);margin-bottom:20px}
.test-loadout>.eyebrow{font-size:8px;letter-spacing:1.5px}.test-weapons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:10px}
.test-weapons button{min-height:46px;background:#0c1728;border:1px solid #345069;border-radius:6px;color:#9db7cb;font-size:11px;display:flex;align-items:center;justify-content:center;gap:8px;padding:8px}
.test-weapons button span{font-size:23px;color:var(--weapon-color)}.test-weapons button.selected{border-color:var(--weapon-color);color:#ecfbff;background:#17374b;box-shadow:inset 0 0 14px #82ecff0b}
.test-loadout p{font-size:11px;line-height:1.6;color:#b3c9da;min-height:18px;margin:11px 0 0}.test-progress{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px;font:10px Consolas,monospace;color:#a7c9d7}.test-progress b{color:#99f1ef}.test-progress>span{color:#829db8}
.test-levels{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.test-level{min-width:0;min-height:145px;border:1px solid #304761;border-radius:8px;padding:14px;text-align:left;background:linear-gradient(140deg,#17283e,#101a2d);display:flex;flex-direction:column;gap:7px}
.test-level-top{display:flex;justify-content:space-between;align-items:center;color:#6cdde6}.test-level-top b{font:23px Consolas,monospace;letter-spacing:-1px}.test-level-top>span{font-size:19px;color:#6e96ae}.test-level strong{font-size:12px;font-weight:600;line-height:1.5;min-height:36px}.test-level small{font:7px Consolas,monospace;letter-spacing:.7px;color:#95b0c7}.test-level-bottom{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-top:auto;padding-top:8px;border-top:1px solid #ffffff0c;font:9px Consolas,monospace;color:#9fb9cf}.test-stars{letter-spacing:2px;color:#d6b178;font-size:13px}.test-level.completed{border-color:#3e7c7b;background:linear-gradient(140deg,#16313d,#101e31)}.test-level.completed .test-level-top>span{color:#8df2d5}.test-level.boss-level{border-color:#8d5a89;background:linear-gradient(140deg,#35213f,#151c32)}.test-level.boss-level .test-level-top{color:#f8a8e7}
.test-tools{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 10px}.test-tools button,.test-modal-tools button{background:#122b3d;border:1px solid #3f6379;border-radius:6px;padding:12px 14px;font-size:11px;min-height:44px;color:#c7eaf3}.test-tools button:last-child{color:#94aec6;background:transparent}.test-privacy{font-size:10px;line-height:1.8;color:#8ca4bc;max-width:660px;margin:12px 0}.test-modal-tools{border-top:1px solid #365069;margin-top:16px;padding-top:14px}.test-modal-tools button{width:100%;font-size:11px}
.test-feedback{text-align:left;display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}.test-feedback label{display:grid;gap:6px;min-width:0;color:#b3cfdf;font-size:11px}.test-feedback label:last-child{grid-column:1/-1}.test-feedback select,.test-feedback textarea{width:100%;min-height:42px;border:1px solid #49647c;border-radius:5px;background:#0b192c;color:#e1f3ff;padding:9px;font:12px Arial,sans-serif}.test-feedback textarea{resize:vertical;line-height:1.6}.test-feedback textarea::placeholder{color:#728ca7}textarea:focus-visible{outline:2px solid #9beef2;outline-offset:2px}
@media(max-width:650px){.home-meta{letter-spacing:.7px;gap:7px}.home-meta .playtest-entry{font-size:8px;padding:7px;white-space:nowrap}.test-intro{font-size:11px;margin-bottom:13px}.test-levels{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.test-level{padding:12px;min-height:149px}.test-level strong{font-size:11px;min-height:33px}.test-weapons{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.test-weapons button{min-height:43px}.test-loadout{padding:12px;margin-bottom:16px}.test-loadout p{min-height:36px;margin-top:9px;font-size:10px}.test-progress{font-size:9px;align-items:flex-start;flex-direction:column;gap:5px}.test-tools{display:grid;grid-template-columns:1fr}.test-tools button{min-height:45px}.test-feedback{gap:12px 9px}.test-feedback select{font-size:12px}}
@media(orientation:landscape) and (max-height:600px){.playtest-screen .screen-heading h2{font-size:23px}.playtest-screen .test-intro{max-width:none;font-size:11px;margin-bottom:10px}.test-loadout{padding:12px;margin-bottom:14px}.test-weapons{grid-template-columns:repeat(4,minmax(0,1fr))}.test-levels{grid-template-columns:repeat(4,minmax(0,1fr))}.test-level{padding:11px;min-height:137px}.test-tools{display:flex}.test-progress{flex-direction:row}.modal-card:has(.test-feedback){width:min(620px,100%)}.test-feedback{grid-template-columns:repeat(4,minmax(0,1fr))}.test-feedback label:last-child{grid-column:1/-1}}

@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}@keyframes pulse{50%{opacity:.4;transform:scale(.9)}}
@media(pointer:coarse){.desktop-hint{display:none}}
@media(max-width:1000px){.app{padding:0 22px}.topbar{height:80px}.stage{height:calc(100dvh - 130px);min-height:540px}.hero-caption{right:30px;font-size:8px;letter-spacing:1px}.hero-world{left:30px}.world-line{display:none}.home-screen{padding:25px 30px}.home-bottom{left:30px;right:30px}.hero-character{top:36%}.menu-tile{padding:12px 16px;gap:10px}.play-button{padding:13px 17px;gap:13px;font-size:17px}.home-foot{letter-spacing:.4px}.desktop-hint{display:none}.shop-grid{grid-template-columns:repeat(5,1fr)}.level-grid{grid-template-columns:repeat(10,1fr)}.world-card canvas{height:75px}.world-card .world-details{padding:10px 8px;gap:7px}.world-card strong{font-size:10px}.world-card small{font-size:7px}}
@media(max-width:650px){body{background:#070c1c}.app{padding:0 12px}.topbar{height:76px;padding:env(safe-area-inset-top) 3px 0;gap:10px}.brand{font-size:13px;letter-spacing:1.4px;gap:9px}.brand small{font-size:7px;letter-spacing:1.8px}.brand-icon{width:27px;height:27px}.brand-icon:before,.brand-icon:after{top:7px;width:3px;height:5px}.brand-icon i{top:16px;left:9px}.top-actions{gap:5px}.wallet{padding:6px 10px;gap:7px}.wallet-label,.top-divider,.fullscreen-button{display:none}.wallet b{font-size:12px}.gem-icon{font-size:16px}.icon-button{width:32px}.stage{height:calc(100dvh - 115px - env(safe-area-inset-top));min-height:520px;border-radius:12px}.home-screen{padding:24px 20px}.home-meta{font-size:7px;letter-spacing:1.3px}.home-edition{display:none}.hero-heading{top:12.3%;padding:0 10px}.hero-heading .eyebrow{font-size:7px;letter-spacing:1.8px}.hero-heading h1{font-size:clamp(39px,10.1vw,66px);letter-spacing:2px;margin-top:10px;white-space:nowrap}.hero-heading p{font-size:10px;letter-spacing:0;max-width:260px;margin:12px auto;line-height:1.7}.hero-character{top:33%;width:160px;height:176px}.hero-character canvas{width:140px;height:154px;left:10px}.hero-platform{width:160px;bottom:8px}.hero-ring{bottom:26px}.hero-world{left:20px;top:56.5%;gap:9px}.world-marker{font-size:23px}.hero-world small{font-size:6px;letter-spacing:1.1px;margin-bottom:4px}.hero-world strong{font-size:13px}.hero-caption{display:none}.home-bottom{left:20px;right:20px;bottom:23px}.adventure-progress{font-size:7px;letter-spacing:1px;gap:9px;margin-bottom:15px}.home-buttons{grid-template-columns:1fr 1fr;gap:10px}.play-button{grid-column:1/-1;min-height:65px;font-size:18px;gap:18px;padding:10px 20px}.play-button small{font-size:8px}.menu-tile{min-height:59px;padding:10px 13px;gap:12px;font-size:11px;letter-spacing:1px}.menu-tile small{font-size:8px;margin-top:4px}.tile-icon svg{width:21px;height:21px}.home-foot{margin-top:15px;justify-content:center}.home-foot>span{display:none}.home-foot button{font-size:9px}.page-footer{min-height:39px;justify-content:space-between;gap:8px;font-size:6px;letter-spacing:.7px}.page-footer button{font-size:10px;padding-right:0}.library-screen{padding:25px 17px}.screen-heading{margin-bottom:19px;gap:8px}.screen-heading .eyebrow{font-size:7px;letter-spacing:1.4px}h2{font-size:27px;letter-spacing:-.6px}.close-button{width:33px;height:33px;flex-shrink:0}.world-grid{grid-template-columns:repeat(2,1fr);gap:9px}.world-card canvas{height:83px}.world-card .world-details{padding:9px}.world-card strong{font-size:11px}.world-card .world-number{font-size:19px}.world-card small{font-size:7px}.level-section{margin-top:19px;padding-top:17px}.level-heading h3{font-size:12px}.level-heading>span{font-size:7px}.level-grid{grid-template-columns:repeat(5,1fr);gap:7px}.level-button{aspect-ratio:1.25;font-size:12px}.helper{font-size:9px}.shop-grid{grid-template-columns:repeat(3,1fr);gap:8px}.skin-card{padding:8px 4px 11px}.skin-card canvas{width:65px;height:65px}.skin-card strong{font-size:10px}.skin-card small{font-size:8px}.skin-card .skin-badge{font-size:6px}.segmented{gap:1px}.segmented button{font-size:9px;padding:7px 8px}.shop-toolbar{gap:3px}#ownedCount{font-size:9px}.upgrade-panel{gap:15px;align-items:flex-start}.upgrade-panel h3{font-size:19px}.upgrade-panel p{font-size:9px}.upgrade-panel .outline-button{margin-left:auto;font-size:10px;padding:10px}.deco-label{width:100%;margin-left:0}.hud{top:24px;left:19px;right:19px}.hud-pause{width:36px;height:36px}.hud-location small{font-size:7px;letter-spacing:1px}.hud-location b{font-size:16px}.hud-hearts{font-size:16px;letter-spacing:1px}.hud-second{font-size:10px}.tutorial{font-size:11px;line-height:1.6}.tutorial span{font-size:9px;max-width:220px;margin:5px auto 0}.modal-layer{padding:20px}.modal-card{padding:25px}.modal-card h2{font-size:33px}.toast{font-size:11px;bottom:115px}.stage[data-view="home"] .toast,.stage[data-view="shop"] .toast{bottom:20px}}
@media(max-width:360px){.app{padding:0 7px}.home-screen{padding:20px 16px}.home-bottom{left:16px;right:16px}.hero-heading h1{font-size:36px}.topbar{height:68px}.stage{height:calc(100dvh - 107px);min-height:420px}.hero-world{left:16px}.menu-tile{gap:8px}.brand small{display:none}}
@media(max-height:740px) and (max-width:650px){.hero-heading{top:10%}.hero-character{top:29%;transform:translateX(-50%) scale(.82)}.hero-world{top:54%}.home-bottom{bottom:17px}.home-foot{margin-top:12px}.adventure-progress{margin-bottom:12px}.home-buttons{gap:8px}.play-button{min-height:58px}.menu-tile{min-height:50px}}
@media(max-height:540px) and (orientation:landscape){.app{padding:0 15px}.topbar{height:55px}.stage{min-height:340px;height:calc(100dvh - 80px)}.page-footer{min-height:25px}.hero-heading{top:8%}.hero-heading h1{font-size:49px}.hero-heading p{font-size:10px}.hero-heading .eyebrow{font-size:7px}.hero-character{top:30%;transform:translateX(-50%) scale(.6);transform-origin:top center}.hero-world,.hero-caption{top:40%}.home-bottom{bottom:17px}.home-foot{display:none}.adventure-progress{margin-bottom:10px}.play-button{min-height:55px}.home-buttons{gap:10px}.home-meta{font-size:7px}.library-screen{padding:20px 25px}.screen-heading{margin-bottom:12px}h2{font-size:26px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}.hero-character canvas{transform:none}}

@media(max-width:650px) and (max-height:650px){.stage{min-height:420px}.hero-character{top:28%;transform:translateX(-50%) scale(.65)}.hero-world{display:none}.hero-heading{top:8%}.hero-heading h1{font-size:36px}.hero-heading p{font-size:9px}}


/* Touch controls: a shared direction rocker and two distinct action buttons. */
.touch-controls {
  touch-action:none;
  user-select:none;
  -webkit-user-select:none;
  -webkit-touch-callout:none;
  position: absolute;
  inset: auto 0 0;
  display: none;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 38px 22px max(24px, env(safe-area-inset-bottom));
  pointer-events: none;
  background: linear-gradient(0deg, #060e20ed, #071429a6 52%, transparent);
}
.direction-pad, .action-pad { position: relative; display: flex; align-items: center; pointer-events: auto; }
.direction-pad {
  gap: 4px;
  padding: 7px;
  border: 1px solid #6cb9cc66;
  border-radius: 40px;
  background: linear-gradient(155deg, #1c3b53e8, #0b1c32f5);
  box-shadow: inset 0 1px 0 #b8f6ff19, 0 8px 24px #0006, 0 0 20px #56dbea09;
  backdrop-filter: blur(16px);
}
.control-caption {
  position: absolute;
  top: -22px;
  left: 0;
  right: 0;
  text-align: center;
  color: #9ebfce;
  font: 8px/1 Consolas, monospace;
  letter-spacing: 2.3px;
  text-shadow: 0 2px 6px #000;
  pointer-events: none;
}
.pad-divider { width: 1px; height: 22px; background: linear-gradient(transparent, #88c6d13d, transparent); }
.touch-controls button {
  touch-action:none;
  user-select:none;
  -webkit-user-select:none;
  -webkit-touch-callout:none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: linear-gradient(150deg, #2e597332, #081b3133);
  color: #c8faff;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  -webkit-touch-callout: none;
  transition: transform .1s, box-shadow .1s, background .1s;
}
.touch-controls button svg { width: 25px; height: 25px; stroke-width: 2.2; pointer-events: none; }
.touch-controls button small {
  color: inherit;
  font: 8px/1 Consolas, monospace;
  font-weight: 700;
  letter-spacing: 1.2px;
  margin-top: 5px;
  pointer-events: none;
}
.action-pad { gap: 15px; }
.touch-controls .shoot-key {
  width: 58px;
  height: 58px;
  margin-bottom: 5px;
  color: #f4b3f6;
  border-color: #e996e575;
  background: linear-gradient(145deg, #4e2b55e8, #221930f2);
  box-shadow: inset 0 1px 0 #ffccff24, 0 5px 18px #0005, 0 0 0 4px #c47cdb09;
  backdrop-filter: blur(14px);
}
.touch-controls .shoot-key svg { width: 21px; height: 21px; fill: #e5a3ed; stroke-width: 1; filter: drop-shadow(0 0 5px #ef93ed66); }
.touch-controls .shoot-key small { font-size: 7px; letter-spacing: 1px; }
.touch-controls .jump-key {
  position: relative;
  width: 80px;
  height: 80px;
  color: #092d40;
  border: 1px solid #b9ffff;
  background: linear-gradient(145deg, #b0ffff, #71e5ed 55%, #43b4cf);
  box-shadow: inset 0 2px 0 #e6ffff99, inset 0 -4px 8px #197c974d, 0 6px 20px #0006, 0 0 0 5px #69edf40d, 0 0 24px #72ebf22b;
}
.touch-controls .jump-key::before { content: ''; position: absolute; inset: 5px; border: 1px solid #e0ffff52; border-radius: 50%; pointer-events: none; }
.touch-controls .jump-key svg { width: 28px; height: 28px; stroke-width: 2.2; }
.touch-controls .special-key {
  position: absolute;
  right: 89px;
  bottom: 79px;
  width: 40px;
  height: 40px;
  border-color: #eac86680;
  color: #ffe6a0;
  background: linear-gradient(145deg, #443b29f5, #241e2bf0);
  box-shadow: 0 3px 16px #0006, inset 0 1px 0 #fff3c51a;
}
.touch-controls .special-key svg { width: 20px; height: 20px; }
.touch-controls button:hover:not(:disabled) { filter: none; }
.touch-controls button.pressed {
  transform: translateY(2px) scale(.94);
  background: linear-gradient(150deg, #367289, #153d53);
  border-color: #b4faffaa;
  color: #e8ffff;
  box-shadow: inset 0 2px 6px #00152166, 0 0 16px #71edff33;
}
.touch-controls .jump-key.pressed {
  color: #073343;
  background: linear-gradient(145deg, #75edf4, #50c6d6);
  box-shadow: inset 0 3px 8px #176f8866, 0 0 0 5px #72eff626, 0 0 30px #72eff644;
}
.touch-controls .shoot-key.pressed {
  color: #fff0ff;
  background: linear-gradient(145deg, #8d4b8e, #472248);
  border-color: #f8c8fa;
  box-shadow: inset 0 2px 5px #37173e66, 0 0 20px #ed95ef44;
}
@media (pointer: coarse), (max-width: 650px) { .touch-controls { display: flex; } }
@media (max-width: 650px) { .touch-controls { padding-left: 18px; padding-right: 18px; gap: 12px; } }
@media (max-width: 360px) {
  .touch-controls { padding: 34px 13px max(20px, env(safe-area-inset-bottom)); gap: 10px; }
  .direction-pad { padding: 6px; gap: 3px; }
  .touch-controls button { width: 48px; height: 48px; }
  .touch-controls .jump-key { width: 70px; height: 70px; }
  .touch-controls .shoot-key { width: 50px; height: 50px; }
  .action-pad { gap: 11px; }
  .touch-controls .special-key { width: 36px; height: 36px; right: 77px; bottom: 70px; }
  .control-caption { font-size: 7px; top: -20px; }
}
@media (max-height: 540px) and (orientation: landscape) {
  .touch-controls { padding: 22px 22px 16px; }
  .touch-controls .jump-key { width: 64px; height: 64px; }
  .direction-pad { padding: 5px; }
  .touch-controls button { width: 48px; height: 48px; }
  .touch-controls .shoot-key { width: 50px; height: 50px; }
  .control-caption { display: none; }
  .touch-controls .special-key { right: 75px; bottom: 62px; width: 34px; height: 34px; }
}

.brand-sprite{display:block;width:39px;height:39px;image-rendering:pixelated;filter:drop-shadow(0 0 9px #74eafb30)}
@media(max-width:650px){.brand-sprite{width:33px;height:33px}}

.shop-grid .skin-card canvas{width:92px;height:92px;max-width:100%;object-fit:contain}

/* Three equal-reach movement controls, including a real crouch button. */
.direction-pad{display:grid;grid-template-columns:48px 44px 48px;gap:0;padding:7px 6px;border-radius:38px}
.direction-pad button{width:48px;height:56px}
.direction-pad .crouch-key{width:44px;height:48px;border-radius:14px;color:#a9d3e4;border:1px solid #7aafc02e;background:#061b2c55}
.touch-controls .crouch-key svg{width:20px;height:20px;stroke-width:1.7}
.touch-controls .crouch-key small{font-size:6px;letter-spacing:.6px;margin-top:3px}
@media(max-width:360px){
 .direction-pad{grid-template-columns:44px 44px 44px;padding:6px 4px}
 .direction-pad button{width:44px;height:48px}
 .direction-pad .crouch-key{height:44px}
 .touch-controls .shoot-key{width:44px;height:48px}
 .touch-controls .jump-key{width:66px;height:68px}
 .action-pad{gap:9px}
 .touch-controls .special-key{right:72px;bottom:68px}
}
@media(max-height:540px) and (orientation:landscape){.direction-pad{grid-template-columns:44px 44px 44px;padding:5px}.direction-pad button{width:44px;height:48px}}

/* The illustrated worlds and the UI share the references' illuminated arcade frames. */
.stage{border-color:#75dbed70;border-radius:9px;box-shadow:0 22px 70px #0007,0 0 0 4px #5ddbff05,inset 0 0 0 1px #b5faff12}
.corner{width:27px;height:27px;border-color:#b7f6ffcc;filter:drop-shadow(0 0 4px #6cecff55)}
.hero-heading h1{font-style:normal;font-weight:900;letter-spacing:4px;color:#dffaff;-webkit-text-stroke:1px #d9ffff;text-shadow:0 0 8px #57e5ffb0,0 0 30px #36c9ff66,2px 3px 0 #185070}
.hero-heading h1 span{color:#baf7ff}
.hero-heading p{color:#d2ebf6;text-shadow:0 2px 6px #041427}
.scene-shade{background:linear-gradient(180deg,#07102495,#0710240c 42%,#0710244d 64%,#071024ed)}
.play-button,.menu-tile,.modal-buttons button{border-radius:5px;border:1px solid #8de8f894;box-shadow:inset 0 0 0 3px #102b4555,0 0 16px #56dfff19}
.menu-tile{background:linear-gradient(145deg,#102c46ed,#0b1c33f7)}
.menu-tile.pink{border-color:#eeb0f077}
.home-foot{gap:14px;flex-wrap:wrap}
.home-foot .admont-entry{color:#ffe5a2;letter-spacing:1px;padding:7px 9px;border:1px solid #e5c87a66;border-radius:4px;background:#40372770;font:9px Consolas,monospace}
.world-card{border-radius:5px;border-color:color-mix(in srgb,var(--world-color),#172a40 60%);box-shadow:inset 0 0 0 3px #0a1629}
.world-card canvas{height:120px;image-rendering:pixelated;opacity:1}
.world-card::after{content:'';position:absolute;inset:4px;border:1px solid color-mix(in srgb,var(--world-color),transparent 77%);pointer-events:none}
.world-card.selected{border-color:var(--world-color);box-shadow:0 0 16px color-mix(in srgb,var(--world-color),transparent 80%)}
.world-card.locked{opacity:.7;filter:none}
.world-card.locked canvas{opacity:.68}
.world-card .world-details{position:relative;z-index:1;background:#0a1828ed;padding:13px 12px}
.world-card .world-number{font-size:26px;color:var(--world-color)}
.world-card strong{color:#f0faff;font-size:12px}
.world-card small{color:#c2d6e1}
.world-card.bonus-world{grid-column:1/-1;border-color:#dfc48a}
.world-card.bonus-world canvas{height:150px;object-fit:cover}
.world-card.bonus-world .world-details{background:linear-gradient(90deg,#29283df5,#463c2cf0)}
.level-grid{gap:8px;padding:4px}
.level-button{position:relative;min-height:44px;border-radius:4px;color:#adbacd;font-size:14px;border-color:#3e5571;background:linear-gradient(150deg,#21344c,#101c30)}
.level-button:disabled{color:#6e8199;background:#111c2c;border-color:#293b50;opacity:.8}
.level-button.completed{border-color:#68bbaa;color:#bcffe5;background:linear-gradient(145deg,#204d4c,#132c37)}
.level-button.current{border:2px solid #b5faff;background:linear-gradient(135deg,#8cf4ff,#4dbbdb);color:#08283a;font-weight:800;box-shadow:0 0 17px #63e7ff44,inset 0 0 0 3px #caffff33}
.mini-star,.mini-lock{position:absolute;right:5px;top:3px;font-size:9px}.mini-lock{color:#697e98}
.hud{top:15px;left:15px;right:15px;padding:12px 13px 10px;border:1px solid color-mix(in srgb,var(--world-accent,#78e8ff),transparent 65%);border-radius:5px;background:linear-gradient(140deg,#091a30ed,#0b1a2ce0);box-shadow:0 5px 20px #0003;backdrop-filter:blur(8px)}
.hud-location{min-width:0}.hud-location small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:min(44vw,330px);color:var(--world-accent,#a6d9ed)}
.hud-pause{border-radius:4px;border-color:#a3d7e65c;box-shadow:inset 0 0 0 3px #a1eaff08}
.hud-second{align-items:center;margin-top:9px;font-variant-numeric:tabular-nums}
.hud-hearts{letter-spacing:2px;font-size:18px}
.level-distance{margin-top:9px;height:3px}.level-distance i{background:var(--world-accent,#75f4ff)}
.tutorial{position:absolute;left:10px;right:10px;top:calc(100% + 10px);margin:0 auto;padding:8px 13px;width:fit-content;max-width:100%;border-radius:4px;background:#09182bd9;color:#e7fbff;border:1px solid #6bc8df40;font-size:11px}
.tutorial span{margin-top:3px;font-size:9px;color:#c5dae8}
.boss-meter{position:absolute;top:calc(100% + 12px);left:10%;width:80%;margin:0;padding:8px;background:#10182ce6;border:1px solid #cd72b257;border-radius:4px}
.run-combo{position:relative;color:#ffe4a3;font-size:9px;padding:2px 0 4px;letter-spacing:.7px}
.run-combo:after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:#eec47a;transform-origin:left;transform:scaleX(var(--combo-progress,1))}
.streak-result{color:#ffe4a3!important}

/* Distinct thumb surfaces. Nothing depends on hovering; multitouch stays independent. */
.touch-controls{padding:30px 18px max(22px,env(safe-area-inset-bottom));gap:12px;background:linear-gradient(0deg,#061122f5,#071526a6 65%,transparent)}
.direction-pad{grid-template-columns:54px 46px 54px;gap:5px;border:0;padding:0;background:none;box-shadow:none;backdrop-filter:none;border-radius:0}
.touch-controls button,.direction-pad button{width:54px;height:62px;border:1px solid #78cbe1a6;border-radius:10px;background:linear-gradient(155deg,#244a63f5,#10283fee);box-shadow:inset 0 2px 0 #d2f8ff22,inset 0 -4px 0 #061a2b99,0 4px 12px #0005;color:#d6faff}
.touch-controls button svg{width:28px;height:28px;stroke-width:2.3}
.direction-pad .crouch-key{width:46px;height:54px;border-radius:9px;border-color:#8da8c57a;background:linear-gradient(155deg,#294358f5,#14283dee);color:#d3e4ed}
.touch-controls .crouch-key svg{width:23px;height:23px;stroke-width:2}
.touch-controls .crouch-key small{font-size:7px;letter-spacing:.2px;margin-top:4px}
.control-caption{font-size:8px;color:#d0e3ee;letter-spacing:1.6px;top:-18px;text-shadow:0 1px 3px #000}
.action-pad{gap:10px}
.touch-controls .shoot-key{width:56px;height:58px;margin-bottom:1px;border-radius:12px;border-color:#eea9eac7;background:linear-gradient(145deg,#784576f5,#382445f5);box-shadow:inset 0 2px 0 #ffd7ff26,inset 0 -4px 0 #21162f9e,0 4px 12px #0005}
.touch-controls .shoot-key small{font-size:8px;letter-spacing:.4px}
.touch-controls .jump-key{width:76px;height:76px;border-radius:16px;border-color:#d9ffff;background:linear-gradient(145deg,#bbffff,#6edce9 60%,#3e9eb9);box-shadow:inset 0 2px 0 #efffff99,inset 0 -5px 0 #287c9f80,0 0 20px #6ce4ef33,0 5px 16px #0006}
.touch-controls .jump-key:before{inset:5px;border-radius:11px}
.touch-controls .jump-key small{font-size:9px;letter-spacing:.7px}
.touch-controls .special-key{width:42px;height:42px;border-radius:9px;right:86px;bottom:75px}
.touch-controls button.pressed{transform:translateY(3px);border-color:#efffff;background:linear-gradient(145deg,#477e98,#214b65);box-shadow:inset 0 2px 6px #05132980,0 0 0 3px #a7f1ff1f}
.touch-controls .jump-key.pressed{transform:translateY(3px);background:linear-gradient(145deg,#8ff7fc,#51b5ce);box-shadow:inset 0 3px 8px #2369815e,0 0 0 4px #a1f8ff26}
@media(max-width:650px){
 .world-card canvas{height:94px}.world-card .world-details{padding:10px 9px}.world-card .world-number{font-size:22px}.world-card strong{font-size:11px}.world-card small{font-size:8px}
 .hud{top:13px;left:13px;right:13px;padding:10px 11px 9px}.hud-location b{font-size:16px}.hud-location small{font-size:7px;letter-spacing:.8px}.hud-pause{width:33px;height:36px}.hud-hearts{font-size:16px}.hud-second{font-size:10px}
 .home-foot{justify-content:space-between;gap:8px}.home-foot .admont-entry{font-size:8px;padding:6px 7px}.home-foot #dailyButton{font-size:8px}
 .hero-heading .eyebrow{font-size:8px;letter-spacing:1.2px}.hero-heading p{font-size:10px;max-width:280px;margin-left:auto;margin-right:auto}
}
@media(max-width:360px){
 .touch-controls{padding:28px 10px max(18px,env(safe-area-inset-bottom));gap:8px}
 .direction-pad{grid-template-columns:46px 44px 46px;gap:4px;padding:0}.direction-pad button{width:46px;height:58px}.direction-pad .crouch-key{width:44px;height:50px}
 .touch-controls .shoot-key{width:48px;height:54px}.touch-controls .jump-key{width:66px;height:72px}.action-pad{gap:8px}
 .touch-controls .special-key{width:38px;height:38px;right:74px;bottom:70px}
 .hud{left:10px;right:10px;padding:9px}.hud-top{gap:9px}.hud-location b{font-size:15px}.hud-location small{max-width:140px;font-size:6px}.hud-hearts{font-size:15px;letter-spacing:0}.run-combo{font-size:8px}
 .world-card strong{font-size:10px}.world-card small{font-size:7px}
}
@media(max-height:540px) and (orientation:landscape){.touch-controls{padding:22px 20px 14px}.direction-pad button{height:50px}.touch-controls .jump-key{height:64px;width:66px}.touch-controls .special-key{right:76px;bottom:66px}.hud{right:auto;width:min(400px,60%)}.tutorial{display:none}}
.stage[data-view="game"]{border-color:var(--world-accent,#75f4ff)}
.stage[data-view="game"] .corner{border-color:var(--world-accent,#75f4ff)}
.home-foot button{min-height:40px}
.play-button #playLabel{white-space:nowrap}
.close-button{width:44px;height:44px}
.hud-pause{width:44px;height:44px;flex-shrink:0}
.language-button{min-height:44px}
.top-actions .icon-button{height:44px}
.page-footer>button{min-height:32px}
@media(max-width:650px){.play-button{gap:12px;padding:12px 16px}.play-button small{white-space:nowrap;letter-spacing:1px;font-size:7.5px}.home-foot .admont-entry{font-size:9px}.home-foot #dailyButton{font-size:9px}.hud-pause{width:44px;height:44px}.top-actions{gap:5px}.top-actions .icon-button{width:40px}.language-button{padding-left:6px;padding-right:6px}}
@media(max-width:360px){.play-button{font-size:17px}.brand{gap:8px;font-size:13px;letter-spacing:1.4px}.hud-top{gap:8px}.hud-location small{max-width:128px}.home-foot #dailyButton{font-size:8px}.home-foot .admont-entry{font-size:8px}}
.level-grid{grid-template-columns:repeat(auto-fit,minmax(46px,1fr))}
.level-button{width:100%;height:48px;min-height:48px;aspect-ratio:auto}

/* Equal header surfaces; a clear gap separates the two thumb actions. */
.topbar{border-bottom:1px solid #9bcde514}
.brand{min-height:44px}.brand-sprite{filter:drop-shadow(0 0 6px #63e6ff44)}
.top-actions{gap:8px;align-items:center}.top-divider{display:none}
.top-actions .wallet,.top-actions .language-button,.top-actions .icon-button{height:44px;min-height:44px;margin:0;border:1px solid #536c8a66;border-radius:8px;background:linear-gradient(150deg,#19293eee,#101b2dee);box-shadow:inset 0 1px 0 #c7eeff0a;display:flex;align-items:center;justify-content:center}
.top-actions .icon-button{width:44px}.top-actions .language-button{min-width:58px;padding:0 9px}.top-actions .wallet{padding:0 12px;gap:8px}.top-actions .wallet b{font-size:14px}.top-actions .icon-button.on{border-color:#70dfe68c;color:#a5f8ff}
.action-pad{gap:24px}.touch-controls{gap:8px}.touch-controls .shoot-key{margin-bottom:13px}
.skin-card{height:192px;display:grid;grid-template-rows:108px 32px 32px;align-content:start;justify-items:center;padding:10px 5px;gap:0}
.skin-card canvas{align-self:center}.skin-card strong{display:flex;align-items:center;justify-content:center;line-height:1.2;width:100%;margin:0;max-height:32px}.skin-card small{display:flex;align-items:center;justify-content:center;line-height:1.3;margin:0;max-height:32px}
@media(max-width:650px){.top-actions{gap:6px}.top-actions .wallet{padding:0 10px}.top-actions .language-button{min-width:54px}.skin-card{height:178px;grid-template-rows:94px 30px 32px;padding:10px 4px}.shop-grid .skin-card canvas{width:88px;height:88px}}
@media(max-width:400px){.touch-controls{padding-left:12px;padding-right:12px}.direction-pad{grid-template-columns:50px 44px 50px;gap:5px}.direction-pad button{width:50px}.direction-pad .crouch-key{width:44px}.touch-controls .shoot-key{width:52px}.touch-controls .jump-key{width:72px}.action-pad{gap:24px}}
@media(max-width:360px){.top-actions{gap:5px}.top-actions .wallet{padding:0 8px}.top-actions .language-button{min-width:50px;padding:0 6px}.top-actions .icon-button{width:40px}.touch-controls{padding-left:8px;padding-right:8px}.direction-pad{grid-template-columns:44px 44px 44px;gap:4px}.direction-pad button{width:44px}.touch-controls .shoot-key{width:48px}.touch-controls .jump-key{width:66px}.action-pad{gap:22px}.skin-card{height:172px;grid-template-rows:88px 30px 32px}.shop-grid .skin-card canvas{width:82px;height:82px}}
.outfit-panel{display:grid;grid-template-columns:200px minmax(0,1fr);gap:24px;margin:0 0 22px;padding:18px;border:1px solid #52758a88;border-radius:8px;background:linear-gradient(135deg,#173047e6,#111d34e6)}
.outfit-preview{text-align:center;min-width:0;background:radial-gradient(ellipse at 50% 60%,#467c8a33,transparent 65%);border-right:1px solid #92c8e01f;padding-right:18px}
.outfit-preview canvas{display:block;width:180px;max-width:100%;height:auto;margin:0 auto;image-rendering:pixelated}
.outfit-preview p{font:10px/1.5 Consolas,monospace;color:#d6f2ff;margin:4px 0 0}
.outfit-settings{min-width:0;align-self:center}.outfit-settings .upgrade-panel{margin:0 0 16px;padding:0 0 12px;border-top:0;border-bottom:1px solid #8cc1d528;gap:12px}
.outfit-settings .upgrade-panel h3{margin:5px 0;font-size:21px}.outfit-settings .upgrade-panel p{font-size:10px}
.outfit-settings .deco-label{display:flex;align-items:center;gap:14px;font-size:11px;margin:0}.outfit-settings select{height:44px;flex:1;min-width:0;border:1px solid #66899f;border-radius:5px;background:#101f35;color:#ecfaff;padding:0 10px}
.outfit-apply{min-height:44px;width:100%;margin-top:9px;border:1px solid #a6f5ff;border-radius:5px;color:#092b3e;background:#82e5ee;font-size:12px;font-weight:700}.outfit-apply:disabled{color:#9eb5c4;background:#23364b;border-color:#446077}
.outfit-hint{font-size:9px;line-height:1.5;color:#a6bdce;margin:8px 0 0}
@media(max-width:650px){.outfit-panel{grid-template-columns:100px minmax(0,1fr);padding:12px;gap:12px;margin-bottom:16px}.outfit-preview{padding-right:10px}.outfit-preview .eyebrow{font-size:7px;letter-spacing:.5px}.outfit-preview canvas{width:100px;margin:0 auto}.outfit-preview p{font-size:8px}.outfit-settings .upgrade-panel{display:block;margin-bottom:8px;padding-bottom:8px}.outfit-settings .upgrade-panel .eyebrow{font-size:6px;letter-spacing:.7px}.outfit-settings .upgrade-panel h3{font-size:16px}.outfit-settings .upgrade-panel p{font-size:8px;line-height:1.5}.outfit-settings .outline-button{min-height:34px;padding:6px 9px;font-size:9px}.outfit-settings .deco-label{display:block;font-size:9px}.outfit-settings select{display:block;width:100%;font-size:10px;margin-top:5px;padding:0 6px}.outfit-apply{font-size:10px;padding:5px}.outfit-hint{font-size:8px}}
@media(max-width:360px){.outfit-panel{grid-template-columns:82px minmax(0,1fr);padding:9px;gap:9px}.outfit-preview canvas{width:82px}.outfit-preview .eyebrow{font-size:6px}.outfit-settings .upgrade-panel h3{font-size:14px}}
@media(max-width:650px){.top-actions .fullscreen-button{display:none}}
@media(max-width:360px){.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.outfit-panel{grid-template-columns:100px minmax(0,1fr)}.outfit-preview canvas{width:100px}}
.hud-location{min-width:0}.hud-caption{display:block;font:9px/1.5 Consolas,monospace;letter-spacing:.4px;color:#a8d9e4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:260px}.hud-caption[hidden]{display:none}
.medal-dots{position:absolute;bottom:7px;left:50%;transform:translateX(-50%);display:flex;gap:3px}.medal-dots i{display:block;width:4px;height:4px;transform:rotate(45deg);background:#456174}.medal-dots i.won{background:#ffe0a0;box-shadow:0 0 5px #ffc95e55}
.result-stars{display:flex;justify-content:center;gap:13px;margin:0 0 16px;color:#3b526e;font-size:37px}.result-stars .won{color:#ffda83;text-shadow:0 0 20px #ffc56855}
.challenge-results{margin:20px 0 10px;text-align:left}.challenge-results>div{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 0;border-bottom:1px solid #38546c;color:#9cb1c6;font-size:11px}.challenge-results b{font-weight:500}.challenge-results span{font:11px Consolas,monospace;white-space:nowrap}.challenge-results .won{color:#ffdf9a}
.audio-settings{margin:22px 0 0;text-align:left;background:#08182b88;border:1px solid #35546b;border-radius:9px;padding:12px 14px}.audio-settings label{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:34px;font-size:12px;color:#d4e8f1}.audio-settings input{width:60%;accent-color:#84e9ef;min-height:28px;cursor:pointer}.audio-settings small{display:block;color:#9bb5c9;font-size:9px;line-height:1.5;margin-top:7px}.audio-settings input:focus-visible{outline:2px solid #a8faff;outline-offset:2px}
@media(max-width:650px){.hud-caption{font-size:8px;max-width:175px}.challenge-results>div{font-size:10px}.modal-card .result-stats{gap:22px}.tutorial{max-width:300px;margin-left:auto;margin-right:auto;line-height:1.6}}
@media(max-width:360px){.hud-caption{max-width:130px}.challenge-results>div{font-size:9px}.challenge-results span{font-size:10px}.result-stars{font-size:30px}.audio-settings{padding:10px}}

/* Quiet thumb controls: one movement rocker and two equal transparent actions. */
.hero-heading h1{font-size:clamp(40px,6.4vw,82px);letter-spacing:3px;white-space:nowrap}.hero-heading h1 span{color:#f2b3ee}.brand{white-space:nowrap}
@media(max-width:650px){.hero-heading h1{font-size:clamp(32px,9.2vw,52px);letter-spacing:2px}}
.shop-tabs{display:flex;gap:8px;margin:0 0 14px}.shop-tabs button{flex:1;min-height:42px;background:#10213899;border:1px solid #47607880;border-radius:7px;color:#b4cbd9;font-size:12px}.shop-tabs button.active{color:#d1fffa;background:#163d4888;border-color:#7ee9df}.weapon-intro,.weapon-note{font-size:12px;line-height:1.7;color:#aac2d2;margin:0 0 18px}.weapon-note{margin:18px 0 6px;font-size:10px}.weapon-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.weapon-card{--weapon-color:#8af6ef;display:flex;flex-direction:column;padding:20px;border:1px solid #5b799859;border-radius:10px;background:radial-gradient(at 10% 0%,#27465e88,#111b30 75%);min-width:0}.weapon-card.equipped{border-color:var(--weapon-color);box-shadow:inset 0 0 0 1px #8af6ef20}.weapon-card-top{display:flex;justify-content:space-between;align-items:center;gap:5px}.weapon-symbol{font:42px/1.2 Consolas,monospace;color:var(--weapon-color);text-shadow:0 0 16px #8af6ef44}.weapon-card-top small{font:8px Consolas,monospace;letter-spacing:.5px;color:var(--weapon-color)}.weapon-card h3{font-size:20px;margin:14px 0 7px}.weapon-card p{color:#b2c6d8;font-size:11px;line-height:1.6;min-height:38px;margin:0 0 14px}.weapon-stats{display:flex;justify-content:space-between;font-size:10px;color:#a7bdcd;margin-top:auto;gap:8px}.weapon-stats b{color:#e8f7ff}.weapon-levels{display:flex;gap:5px;margin:10px 0 16px}.weapon-levels i{height:3px;flex:1;background:#425369}.weapon-levels i.on{background:var(--weapon-color)}.weapon-card button{min-height:42px;border:1px solid #607e9880;border-radius:6px;font-size:11px;color:#d9eef5;background:#172d43}.weapon-card .weapon-equip{border-color:var(--weapon-color);color:var(--weapon-color)}.weapon-upgrade{margin-top:7px}.weapon-card button:disabled{opacity:.45}.weapon-card.equipped .weapon-equip{opacity:1;background:#1b3f4966}.hud-weapon{font:9px Consolas,monospace;color:#b4e3ec;opacity:.85;max-width:105px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.boss-meter[data-open="true"]{color:#c3ffdc}.boss-meter[data-open="true"] i{background:#a4ffcb}.backup-controls{margin-top:20px;padding-top:12px;border-top:1px solid #6589a34d}.backup-controls p{font-size:11px}.backup-controls button{min-height:42px;padding:8px 12px;margin:4px;border:1px solid #61849d80;border-radius:6px;background:#152c41;color:#c8e6ec;font-size:11px}.offline-status{font:8px Consolas,monospace;color:#a5d6bc}.page-footer .offline-status:not([hidden]){display:inline}
@media(max-width:440px){.weapon-card{padding:13px 10px}.weapon-grid{gap:9px}.weapon-card h3{font-size:17px}.weapon-card p{min-height:72px;font-size:10px}.weapon-symbol{font-size:34px}.weapon-card button{font-size:10px}.weapon-stats{font-size:8px}.shop-tabs{margin-bottom:10px}.shop-tabs button{min-height:40px}.weapon-intro{font-size:11px}}
.touch-controls{--action-size:68px;--action-gap:24px;--move-size:50px;--special-size:40px;inset:auto 0 0;padding:16px max(14px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom));gap:12px;background:none;align-items:flex-end;justify-content:space-between}
.touch-controls .direction-pad{display:grid;grid-template-columns:var(--move-size) 44px var(--move-size);gap:0;height:var(--action-size);padding:3px;border:1px solid #c3e7ef38;border-radius:99px;background:#0a2136a6;box-shadow:0 4px 18px #0003;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.touch-controls .direction-pad .control-caption{display:none}
.touch-controls button{padding:0;position:relative;border:1px solid #d4edf238;border-radius:50%;background:#0a2136a6;color:#d9f3f7;box-shadow:0 4px 18px #0003;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);filter:none;transform:none;transition:background .1s,border-color .1s,transform .1s}
.touch-controls .direction-pad button{width:var(--move-size);height:calc(var(--action-size) - 8px);border:0;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;border-radius:99px}
.touch-controls .direction-pad .crouch-key{width:44px;height:calc(var(--action-size) - 8px);margin:0;background:none;border:0;color:#b5d0db}
.touch-controls .direction-pad .crouch-key:before,.touch-controls .direction-pad .crouch-key:after{content:'';position:absolute;top:50%;height:22px;width:1px;background:#c3e7ef24;transform:translateY(-50%)}
.touch-controls .direction-pad .crouch-key:before{left:0}.touch-controls .direction-pad .crouch-key:after{right:0}
.touch-controls .action-pad{display:flex;align-items:center;flex-shrink:0;gap:var(--action-gap)}
.touch-controls .shoot-key,.touch-controls .jump-key{width:var(--action-size);height:var(--action-size);flex:0 0 var(--action-size);margin:0;border-radius:50%;background:#0a2136a6;box-shadow:0 4px 18px #0003}
.touch-controls .shoot-key{border-color:#efbde048;color:#efc0df}.touch-controls .jump-key{border-color:#baecf055;color:#c4f3f5}
.touch-controls .shoot-key:before,.touch-controls .jump-key:before{content:none;display:none}
.touch-controls button svg,.touch-controls .shoot-key svg,.touch-controls .jump-key svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.8;filter:none}
.touch-controls .crouch-key svg{width:23px;height:23px;stroke-width:1.7}
.touch-controls .shoot-key small,.touch-controls .jump-key small{font:8px/1 Consolas,monospace;letter-spacing:.6px;margin-top:5px;font-weight:400}
.touch-controls .crouch-key small{font:7px/1 Consolas,monospace;letter-spacing:.15px;margin-top:3px;font-weight:400}
.touch-controls .special-key{position:absolute;width:var(--special-size);height:var(--special-size);right:calc(var(--action-size) + var(--action-gap) + (var(--action-size) - var(--special-size))/2);bottom:calc(var(--action-size) + 12px);border-radius:50%;background:#152a35b8;color:#ffe5ac;border-color:#ebd49c55;box-shadow:0 3px 12px #0002}
.touch-controls .special-key svg{width:21px;height:21px}
.touch-controls button.pressed,.touch-controls .jump-key.pressed{transform:scale(.95);background:#5dcbdb4d;border-color:#c4f4f7aa;box-shadow:0 0 0 3px #b0ecf315;color:#f4ffff}
.touch-controls .shoot-key.pressed{transform:scale(.95);background:#c174b94d;border-color:#f5d5f0aa;box-shadow:0 0 0 3px #eab9e715;color:#fff3fd}
.touch-controls .direction-pad button.pressed{background:#b1e4f124;box-shadow:none}
.home-foot{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}.home-foot>span{display:none}.home-foot .admont-entry,.home-foot .christmas-entry,.home-foot #dailyButton{border:1px solid #abc8d32e;border-radius:6px;padding:6px;min-height:36px;text-align:center;font:9px/1.4 Consolas,monospace;letter-spacing:.1px;background:#14263b77}.home-foot .christmas-entry{color:#c8efd9;border-color:#b5d9c242}.home-foot #dailyButton b{margin-left:4px}
@media(max-width:440px){.touch-controls{--action-size:66px;--move-size:48px;padding-left:12px;padding-right:12px}}
@media(max-width:380px){.touch-controls{--action-size:clamp(56px,calc(20vw - 8px),64px);--action-gap:22px;--move-size:44px;--special-size:38px;padding-left:8px;padding-right:8px;gap:8px}.home-foot .admont-entry,.home-foot .christmas-entry,.home-foot #dailyButton{font-size:8px;padding:4px}}
/* Landscape uses the entire display during play, preserving the live level. */
@media(orientation:landscape) and (max-height:600px){
 body{overflow:hidden}.app{width:100%;max-width:none;padding:0 12px}.topbar{height:50px}.stage{min-height:0;max-height:none;height:calc(100dvh - 72px)}.page-footer{height:22px;min-height:22px}.page-footer>span{display:none}.page-footer>button{font-size:9px;min-height:20px}
 .app:has(.stage[data-view="game"]){padding:0}.app:has(.stage[data-view="game"]) .topbar,.app:has(.stage[data-view="game"]) .page-footer{display:none}.stage[data-view="game"]{height:100dvh;min-height:0;border:0;border-radius:0}.stage[data-view="game"] .corner{display:none}
 .touch-controls{display:flex;--action-size:58px;--move-size:46px;--special-size:36px;padding:12px max(20px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom))}
 .hud{top:8px;left:max(12px,env(safe-area-inset-left));right:auto;width:min(340px,48%);padding:7px 10px}.hud-top{gap:8px}.hud-pause{width:44px;height:44px}.hud-location b{font-size:13px;line-height:1.2}.hud-location small{font-size:6px;letter-spacing:.6px}.hud-caption{font-size:7px;max-width:180px}.hud-hearts{font-size:14px;letter-spacing:1px}.hud-second{font-size:9px;margin-top:4px}.level-distance{margin-top:5px}.tutorial{display:none}.boss-meter{position:fixed;top:6px;right:18px;max-width:240px;margin:0;font-size:8px}
 .home-heading{width:44%}.hero-heading{left:0;right:auto;width:48%;top:7%}.hero-heading h1{font-size:clamp(36px,6vw,60px)}.hero-heading p{font-size:9px;margin:6px auto;max-width:260px}.hero-heading .eyebrow{font-size:6px;letter-spacing:1px}.hero-character{left:24%;top:33%;transform:translateX(-50%) scale(.65);transform-origin:top center}.hero-world{left:20px;top:auto;bottom:14px;display:flex}.hero-world strong{font-size:12px}.hero-world small{font-size:6px}.hero-caption,.home-meta{display:none}.home-bottom{left:auto;right:20px;top:12px;bottom:12px;width:46%;display:flex;flex-direction:column;justify-content:center}.home-buttons{grid-template-columns:1fr 1fr;gap:8px}.home-buttons .play-button{grid-column:1/-1;min-height:50px;font-size:16px;padding:8px 13px}.home-buttons .menu-tile{min-height:45px;padding:8px 10px;font-size:10px}.home-buttons .menu-tile small{font-size:8px}.home-foot{display:grid;margin-top:9px;gap:5px}.home-foot .admont-entry,.home-foot .christmas-entry,.home-foot #dailyButton{font-size:7px;padding:3px;min-height:30px}.adventure-progress{margin-bottom:9px;font-size:7px}.library-screen{padding:12px 20px}.screen-heading{margin-bottom:10px}.screen-heading h2{font-size:24px}.world-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.world-card canvas{height:65px}.world-card .world-details{padding:7px}.world-card strong{font-size:9px}.world-card small{font-size:6px}.world-card .world-number{font-size:16px}.world-grid .world-card{min-width:0}.modal-layer{padding:12px}.modal-card{max-height:calc(100dvh - 24px);padding:18px 22px}.modal-card h2{font-size:27px}.modal-buttons{gap:6px;margin-top:15px}.modal-buttons button{padding:9px}.modal-symbol{font-size:24px;margin-bottom:8px}.audio-settings{margin-top:12px}.result-stars{font-size:28px;margin-bottom:8px}
}

.level-button{position:relative}.level-button.ascent-level:after{content:"↑";position:absolute;left:5px;top:3px;font:9px Consolas,monospace;color:currentColor;opacity:.8}
.pause-toggles{display:flex;gap:8px;margin-top:9px}.pause-toggles button{flex:1;min-height:32px;border:1px solid #62899f66;border-radius:5px;background:#18334a;color:#d1eff2;font-size:10px;padding:5px}
@media(orientation:landscape) and (max-height:600px){.modal-card:has(.audio-settings){width:min(680px,100%);display:grid;grid-template-columns:1fr 1fr;gap:0 24px;text-align:left}.modal-card:has(.audio-settings) .modal-symbol{display:none}.modal-card:has(.audio-settings)>.eyebrow{grid-column:1;grid-row:1}.modal-card:has(.audio-settings)>h2{grid-column:1;grid-row:2;margin-top:6px}.modal-card:has(.audio-settings) .audio-settings{grid-column:1;grid-row:3;margin:0}.modal-card:has(.audio-settings) .modal-buttons{grid-column:2;grid-row:1 / span 3;align-self:center;margin-top:0}.pause-toggles button{min-height:32px}}
.outfit-slots{display:flex;flex-wrap:wrap;gap:5px;margin-top:9px}.outfit-slots button{border:1px solid #759bab66;border-radius:5px;background:#192c43;color:#d0e8ed;font:10px/1.3 Consolas,monospace;min-height:30px;padding:4px 8px}.outfit-slots button span{color:#e8b0d8;font-size:13px;margin-left:5px}
.addon-gallery{margin:18px 0 24px;padding:18px 0 22px;border-top:1px solid #7ba8bc35;border-bottom:1px solid #7ba8bc35}.addon-gallery h3{font:11px Consolas,monospace;letter-spacing:1.5px;color:#b5edf2;margin:0 0 7px}.addon-gallery>p{font-size:10px;color:#a5bece;line-height:1.6;margin:0 0 14px}.addon-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.addon-card{--tier:#76eaf0;display:grid;grid-template-rows:20px 136px 22px 24px;align-items:center;justify-items:center;height:220px;overflow:hidden;position:relative;padding:8px 5px;border:1px solid var(--tier);border-radius:7px;background:radial-gradient(ellipse at 50% 45%,#32465b88,#101c31 75%);box-shadow:inset 0 0 0 3px #19334d66,0 0 10px #5dd7e00a}.addon-card.rare{--tier:#ad83df}.addon-card.epic{--tier:#d584d8}.addon-card.legendary{--tier:#e0a7d8}.addon-tier{padding:2px 13px;border:1px solid var(--tier);border-radius:4px;color:var(--tier);font:8px Consolas,monospace;letter-spacing:1.2px;background:#111a30}.addon-card canvas{display:block;width:136px;height:136px;max-width:100%;image-rendering:pixelated}.addon-card strong{font-size:12px;font-weight:600}.addon-card small{font:10px Consolas,monospace;color:var(--tier)}.addon-card.selected{box-shadow:inset 0 0 0 2px var(--tier),0 0 18px #b9dff91c}.addon-card:focus-visible{outline-offset:2px}
@media(max-width:650px){.addon-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.addon-card{height:204px;grid-template-rows:18px 124px 22px 24px}.addon-card canvas{width:124px;height:124px}.addon-card strong{font-size:11px}.addon-card small{font-size:9px}.addon-gallery{padding-top:15px;margin-top:14px}.outfit-slots button{font-size:8px;min-height:28px;padding:4px 6px}.outfit-preview p{overflow-wrap:anywhere}}
@media(orientation:landscape) and (max-height:600px){.addon-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* Give the character enough room to inspect a complete outfit on a phone. */
@media(max-width:650px) and (orientation:portrait){
 .outfit-panel{grid-template-columns:minmax(0,1fr);gap:14px}
 .outfit-preview{border-right:0;border-bottom:1px solid #92c8e02b;padding:0 0 12px}
 .outfit-preview canvas{width:200px;max-width:100%;margin:0 auto}
 .outfit-preview p{font-size:10px;line-height:1.5;max-width:260px;margin:0 auto}
 .outfit-settings .upgrade-panel{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:10px}
 .outfit-settings .upgrade-panel h3{font-size:19px}
 .outfit-settings .upgrade-panel .eyebrow{font-size:7px}
 .outfit-settings .upgrade-panel p{font-size:10px}
 .outfit-settings .outline-button{font-size:10px;min-height:40px;flex-shrink:0}
 .outfit-settings .deco-label{font-size:10px}
 .outfit-settings select{font-size:12px}
 .outfit-slots button{font-size:10px;min-height:32px}
 .outfit-apply{font-size:12px}
 .outfit-hint{font-size:9px}
}
@media(max-width:440px){
 .shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .shop-grid .skin-card{height:192px;grid-template-rows:108px 32px 32px;padding:10px 5px}
 .shop-grid .skin-card canvas{width:100px;height:100px}
 .shop-grid .skin-card strong{font-size:11px}
 .shop-grid .skin-card small{font-size:9px}
}

@media(orientation:landscape) and (max-height:600px){.boss-meter{position:absolute;top:0;left:calc(100% + 22px);right:auto;width:min(240px,38vw);max-width:none}}

@media(orientation:landscape) and (max-height:600px){.home-foot .test-landscape-entry{display:block;grid-column:1/-1;color:#99f4ed;font-size:9px;min-height:30px;border:1px solid #356471;border-radius:4px;background:#0d2a3a80}}

@media(orientation:landscape) and (max-height:600px){
 .playtest-screen>.scroll-area{display:grid;grid-template-columns:minmax(190px,.85fr) minmax(0,2fr);gap:0 18px;align-items:start}
 .test-setup,.test-route{min-width:0}.test-setup .test-intro{font-size:10px;line-height:1.7;margin-bottom:10px}.test-setup .test-loadout{padding:10px;margin-bottom:0}.test-setup .test-weapons{grid-template-columns:1fr 1fr;gap:6px}.test-setup .test-weapons button{min-height:40px;font-size:10px;gap:6px;padding:6px}.test-setup .test-weapons button span{font-size:20px}.test-setup .test-loadout>.eyebrow{font-size:7px;letter-spacing:.6px}.test-setup .test-loadout p{font-size:10px;line-height:1.7;min-height:34px}.test-route .test-levels{grid-template-columns:repeat(auto-fit,minmax(138px,1fr))}.test-route .test-progress{font-size:8px;flex-direction:column;gap:4px;margin-bottom:10px}.test-tools,.test-privacy{grid-column:1/-1}
}

/* Jumpin’ Jones: an arcade title scene and a rooftop route, not a control panel. */
.brand{font-size:15px;letter-spacing:1.2px}.brand>span{line-height:1.2}.brand small{letter-spacing:2px}
.home-meta,.hero-heading>.eyebrow,.hero-heading>p,.adventure-progress,.hero-caption{display:none}
.hero-heading{top:8%;padding:0 18px}.hero-heading h1{font-size:clamp(54px,6.5vw,88px);line-height:.88;letter-spacing:4px;margin:0;font-style:italic;white-space:normal;filter:drop-shadow(0 4px 0 #11162c)}
.hero-heading h1 .title-first,.hero-heading h1 .title-last{display:block}.hero-heading h1 .title-first{color:#b4faff;text-shadow:0 0 3px #e8ffff,0 0 22px #33ccee70,0 4px 0 #2c667e}.hero-heading h1 .title-last{color:#ffa7e9;text-shadow:0 0 3px #ffd8fa,0 0 24px #ed55c455,0 4px 0 #773b71;letter-spacing:9px;margin-top:8px}
.hero-character{top:39%}.home-bottom{bottom:27px}.home-buttons{display:flex;flex-direction:column;gap:8px;align-items:center}.home-buttons>.play-button{width:min(340px,100%);min-height:70px;justify-content:center;text-align:left;border-radius:2px;clip-path:polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px);font-size:21px;letter-spacing:2px;background:linear-gradient(120deg,#a6ffff,#4de3ed);box-shadow:inset 0 -5px 0 #168595}.button-arrow{display:none}
.arcade-links{display:flex;justify-content:center;align-items:center;gap:13px;flex-wrap:wrap}.arcade-links .menu-tile{padding:7px 5px;min-height:44px;border:0;border-radius:0;background:none;box-shadow:none;font:700 11px Consolas,monospace;letter-spacing:1px;color:#d6efff;gap:0;text-shadow:0 2px 4px #04091b}.arcade-links .menu-tile.pink{color:#ffb5e7}.arcade-links .menu-tile small,.arcade-links .tile-icon{display:none}.arcade-links .test-menu-entry{color:#93e9ec;font-size:9px;letter-spacing:.5px}
.home-foot{justify-content:center;gap:18px;margin-top:2px}.home-foot>span,.home-foot .test-landscape-entry{display:none!important}.home-foot button{font:9px Consolas,monospace;color:#a4c4d6;min-height:34px}.hero-world{top:54%;font-size:10px}.hero-world strong{font-size:15px}.hero-world small{font-size:7px}.world-marker{font-size:27px}.world-line{display:none}
.playtest-screen{background:linear-gradient(180deg,#040c20e8,#070f29b8 60%,#090f28c9)}.playtest-screen h2{font-size:38px;font-style:italic;letter-spacing:2px;font-weight:900;text-shadow:0 3px 0 #142b52}.playtest-screen h2 em{color:#ffa4df}.playtest-screen .screen-heading{margin-bottom:18px}.test-intro{font-size:11px;line-height:1.6;margin-bottom:12px;color:#bad6e4}
.test-loadout,.test-setup .test-loadout{padding:0 0 12px;margin-bottom:14px;border:0;border-radius:0;background:none}.test-loadout>.eyebrow{font-size:8px}.test-weapons{gap:5px;margin-top:5px}.test-weapons button,.test-setup .test-weapons button{background:none;border:0;border-bottom:2px solid transparent;border-radius:0;box-shadow:none;min-height:60px;padding:7px 3px;flex-direction:column;gap:4px;font-size:10px}.test-weapons button.selected{background:none;border-color:var(--weapon-color);box-shadow:none}.test-weapons button span{font-size:25px}.test-loadout p{font-size:10px;min-height:18px;margin-top:9px;color:#8cacc2}
.test-progress{font:9px Consolas,monospace;color:#94c5d8;margin-bottom:0}.test-progress b{letter-spacing:1px;font-weight:400}#testReportCount{font-size:8px;opacity:.65}.test-levels,.test-route .test-levels{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 16px;padding:20px 0}
.test-level,.test-level.completed,.test-level.boss-level{grid-column:var(--col-wide);grid-row:var(--row-wide);min-height:143px;height:143px;padding:2px 0 0;align-items:center;text-align:center;justify-content:flex-start;gap:7px;border:0;border-radius:0;background:none;box-shadow:none;position:relative;isolation:isolate}
.test-level-top{position:relative;display:flex;justify-content:center;width:100%;z-index:1}.test-level-top b{display:grid;place-items:center;width:64px;height:64px;border:2px solid #6cdee5;border-radius:50%;background:radial-gradient(circle at 40% 25%,#264368,#0b162d 80%);box-shadow:inset 0 -6px 0 #0b122b,0 4px 0 #030d25,0 0 17px #4adbeb18;font:25px Consolas,monospace;color:#b9fbff}.test-level-top>span{display:none}.test-level strong{position:relative;z-index:1;font-size:10px;line-height:1.5;min-height:30px;max-width:154px;font-weight:500;text-shadow:0 2px 4px #020719;margin-top:2px}.test-level small{display:none}.test-level-bottom{position:relative;z-index:1;justify-content:center;gap:8px;min-height:17px;margin:0;padding:0;border:0;font-size:8px}.test-stars{font-size:11px;color:#dfb574;letter-spacing:2px}.test-level.completed .test-level-top b{color:#d4ffe5;border-color:#9aefb7;background:radial-gradient(circle at 40% 25%,#27625b,#10253b 80%)}.test-level.boss-level .test-level-top b{border-color:#fb96d6;color:#ffd2f0;background:radial-gradient(circle at 40% 25%,#623d71,#251332 80%);box-shadow:inset 0 -6px 0 #25102b,0 4px 0 #100b24,0 0 22px #d961b52c}.test-level.boss-level .test-level-top>span{display:block;position:absolute;top:-14px;left:50%;transform:translateX(-50%);font-size:19px;color:#ffe0a1;text-shadow:0 2px 0 #271531}.test-level:hover:not(:disabled) .test-level-top b{box-shadow:inset 0 -6px 0 #0b122b,0 4px 0 #030d25,0 0 24px #66e9f655}
.test-level::after{content:'';position:absolute;top:32px;left:calc(50% + 32px);width:calc(100% - 48px);height:2px;background:repeating-linear-gradient(90deg,#75bec677 0 4px,transparent 4px 10px);z-index:0;pointer-events:none}.test-level:nth-child(8n+5)::after,.test-level:nth-child(8n+6)::after,.test-level:nth-child(8n+7)::after{left:auto;right:calc(50% + 32px)}.test-level:nth-child(4n)::after{display:none}
.test-tools{justify-content:center;gap:18px;margin-top:8px;border-top:1px solid #a4d3e322;padding-top:14px}.test-tools button{background:none;border:0;padding:7px 0;font:10px Consolas,monospace;color:#b4dce5}.test-privacy{font-size:9px;line-height:1.8;color:#91a9be}
@media(max-width:650px){.brand{font-size:12px;letter-spacing:.8px;gap:8px}.brand small{font-size:6px;letter-spacing:1.6px}.hero-heading{top:10%;padding:0 16px}.hero-heading h1{font-size:clamp(51px,14vw,68px);letter-spacing:2px;line-height:.9}.hero-heading h1 .title-last{letter-spacing:7px;margin-top:5px}.hero-character{top:33%}.hero-world{top:57%;left:22px}.home-bottom{left:20px;right:20px;bottom:21px}.home-buttons>.play-button{min-height:65px;font-size:20px}.arcade-links{gap:12px}.arcade-links .menu-tile{font-size:10px}.arcade-links .test-menu-entry{font-size:8px}.home-foot{gap:12px}.home-foot button{font-size:8px}.playtest-screen h2{font-size:31px}.playtest-screen .screen-heading .eyebrow{font-size:6px;letter-spacing:1px}.test-weapons{grid-template-columns:repeat(4,minmax(0,1fr))}.test-loadout p{min-height:32px}.test-levels,.test-route .test-levels{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.test-level{grid-column:var(--col-small);grid-row:var(--row-small)}.test-level::after{display:block;left:calc(50% + 32px);right:auto}.test-level:nth-child(4n+3)::after{left:auto;right:calc(50% + 32px)}.test-level:nth-child(4n+1)::after{left:calc(50% + 32px);right:auto}.test-level:nth-child(2n)::after{display:none}.test-progress{flex-direction:row}.test-tools{display:flex;flex-direction:column;gap:4px}.test-tools button{min-height:42px}}
@media(max-width:360px){.brand{font-size:10px;gap:6px;letter-spacing:.5px}.brand-sprite{width:27px;height:27px}.top-actions{gap:4px}.top-actions .wallet{padding:0 7px;gap:5px}.top-actions .wallet b{font-size:12px}.top-actions .language-button{min-width:45px}.top-actions .icon-button{width:36px}.hero-heading h1{font-size:49px}.arcade-links{gap:8px}.home-foot{gap:7px}}
@media(orientation:landscape) and (max-height:600px){.hero-heading{top:7%;left:0;width:48%;padding:0 12px}.hero-heading h1{font-size:clamp(36px,5.2vw,48px);line-height:.88;letter-spacing:2px}.hero-heading h1 .title-last{letter-spacing:6px;margin-top:4px}.hero-character{top:39%;left:24%;transform:translateX(-50%) scale(.61)}.hero-world{top:auto;bottom:12px}.home-bottom{top:18px;bottom:18px;right:22px;left:auto;width:44%;justify-content:center}.home-buttons>.play-button{min-height:61px;font-size:20px;width:100%}.home-foot{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:9px}.home-foot button{min-height:26px;font-size:8px}.arcade-links{gap:12px}.arcade-links .menu-tile{font-size:10px;min-height:36px}.arcade-links .test-menu-entry{font-size:8px}.playtest-screen h2{font-size:28px}.playtest-screen>.scroll-area{grid-template-columns:minmax(160px,.65fr) minmax(0,2fr);gap:0 20px}.test-setup .test-intro{font-size:10px}.test-setup .test-weapons{grid-template-columns:1fr 1fr}.test-setup .test-weapons button{min-height:55px;font-size:9px}.test-setup .test-loadout p{font-size:9px;line-height:1.6}.test-route .test-levels{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 12px}.test-level{grid-column:var(--col-wide);grid-row:var(--row-wide);min-height:135px;height:135px}.test-level-top b{width:56px;height:56px;font-size:23px}.test-level::after{display:block;top:28px;left:calc(50% + 28px);right:auto;width:calc(100% - 44px)}.test-level:nth-child(8n+5)::after,.test-level:nth-child(8n+6)::after,.test-level:nth-child(8n+7)::after{left:auto;right:calc(50% + 28px)}.test-level:nth-child(4n)::after{display:none}.test-level strong{font-size:9px}.test-route .test-progress{flex-direction:row;font-size:8px}}

.home-foot .admont-entry,.home-foot .christmas-entry,.home-foot #dailyButton{background:none;border:0;border-radius:0;box-shadow:none;padding:4px 2px}
@media(max-width:650px){.test-levels>.test-level{grid-column:var(--col-small);grid-row:var(--row-small)}}
@media(orientation:landscape) and (max-height:600px){.test-levels>.test-level{grid-column:var(--col-wide);grid-row:var(--row-wide)}}

/* The route bends around each row so the next rooftop is easy to follow. */
.test-level:nth-child(4n)::after{display:block;top:32px;left:calc(50% + 32px);right:auto;width:calc(50% - 24px);height:161px;background:none;border:2px dashed #75bec655;border-left:0;border-radius:0 28px 28px 0}
.test-level:nth-child(8n)::after{left:auto;right:calc(50% + 32px);border-left:2px dashed #75bec655;border-right:0;border-radius:28px 0 0 28px}
.test-level:last-child::after{display:none!important}
@media(max-width:650px) and (orientation:portrait){.test-level:nth-child(2n)::after{display:block;top:32px;left:calc(50% + 32px);right:auto;width:calc(50% - 24px);height:159px;background:none;border:2px dashed #75bec655;border-left:0;border-radius:0 28px 28px 0}.test-level:nth-child(4n)::after{left:auto;right:calc(50% + 32px);border-left:2px dashed #75bec655;border-right:0;border-radius:28px 0 0 28px}}
@media(orientation:landscape) and (max-height:600px){.test-level:nth-child(4n)::after{top:28px;left:calc(50% + 28px);right:auto;width:calc(50% - 22px);height:153px}.test-level:nth-child(8n)::after{left:auto;right:calc(50% + 28px)}}

.playtest-screen>.scroll-area{overflow-x:hidden}.test-levels,.test-route .test-levels{padding:20px 10px}

/* Both poses are visible before a shard purchase is confirmed. */
.skin-inspection-poses{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0 18px}
.skin-inspection-poses figure{margin:0;min-width:0}
.skin-inspection-poses canvas{display:block;width:100%;height:auto;image-rendering:pixelated}
.skin-inspection-poses figcaption{font:9px Consolas,monospace;letter-spacing:1px;color:#a6c9d7;text-align:center}
.modal-buttons button:disabled{opacity:.45;cursor:default}
@media(orientation:landscape) and (max-height:600px){.skin-inspection-poses{max-width:290px;margin:0 auto 10px}.skin-inspection-poses canvas{max-height:150px;object-fit:contain}}

/* Menus share the game's warm arcade palette and put the figures first. */
body:has(.stage:not([data-view="game"])){background:#101923}
.app:has(.stage:not([data-view="game"])) .topbar{border:0}
.app:has(.stage:not([data-view="game"])) .brand,.app:has(.stage:not([data-view="game"])) .brand-sprite{filter:none;text-shadow:none}
.app:has(.stage:not([data-view="game"])) .top-actions button{border:1px solid #3d4d59;border-radius:4px;background:#192936;box-shadow:none}
.app:has(.stage:not([data-view="game"])) .gem-icon{color:#ffd47b;text-shadow:none}
.stage:not([data-view="game"]){border:1px solid #43535f;border-radius:6px;box-shadow:0 6px 0 #080f16}
.stage:not([data-view="game"])>.corner{display:none}
.library-screen{padding:26px 30px;background:#111d29;color:#f5eddc}
.library-screen .screen-heading{margin:0 0 16px;align-items:center;gap:14px}
.library-screen .screen-heading .eyebrow{font:10px/1.5 Consolas,monospace;letter-spacing:1.3px;color:#a6b6be}
.library-screen .screen-heading h2{margin:4px 0 0;font:800 30px/1.15 "Segoe UI",sans-serif;letter-spacing:-.6px;color:#f5eddc;text-shadow:none}
.library-screen .screen-heading h2 em{color:#e9c77b}
.close-button{width:44px;height:44px;border:1px solid #4b5e6c;border-radius:4px;background:#1b2b38;color:#e5e2d7;box-shadow:none}
.library-screen .scroll-area{padding:0 4px 16px 0;scrollbar-color:#506371 #111d29}
.shop-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0 0 12px;border-bottom:1px solid #41515e}
.shop-tabs button{min-height:46px;padding:8px 6px;border:0;border-bottom:3px solid transparent;border-radius:0;background:none;font:650 13px/1.4 "Segoe UI",sans-serif;color:#aabac3;box-shadow:none}
.shop-tabs button.active{background:#1d2c37;border-color:#e9c77b;color:#fff0cb;box-shadow:none}
.shop-toolbar{min-height:38px;margin:0 0 12px;gap:8px;align-items:center}
.segmented{gap:6px}.segmented button{min-height:38px;padding:7px 12px;border:1px solid #394d5b;border-radius:4px;background:none;color:#b7c5cd;font-size:11px}
.segmented button.active{background:#d8c28d;border-color:#d8c28d;color:#17232c;box-shadow:none}
#ownedCount{font:11px Consolas,monospace;color:#b8c4c7;white-space:nowrap}
.shop-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.shop-grid .skin-card{height:174px;display:grid;grid-template-rows:114px 28px 18px;align-content:center;align-items:center;justify-items:center;padding:6px 5px;border:1px solid #354a58;border-radius:5px;background:#1a2b38;box-shadow:none;overflow:hidden}
.shop-grid .skin-card:hover{border-color:#9eaeae;background:#203441}
.shop-grid .skin-card.equipped{border-color:#e1c482;background:#26382f;box-shadow:inset 0 0 0 1px #e1c482}
.shop-grid .skin-card canvas{width:100px;height:114px;max-width:100%;object-fit:contain;margin:0;filter:none;image-rendering:pixelated}
.shop-grid .skin-card strong{width:100%;min-height:28px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;white-space:normal;font:650 12px/14px "Segoe UI",sans-serif;color:#f3ecdb;text-align:center}
.shop-grid .skin-card small{max-width:100%;margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font:9px/1.5 Consolas,monospace;color:#b5c4c9}
.shop-grid .skin-card.equipped small{color:#f0d99d}
.shop-grid .skin-card .skin-badge{display:none}
.outfit-panel{display:grid;grid-template-columns:180px minmax(0,1fr);gap:22px;margin:0 0 20px;padding:18px;border:1px solid #364c5a;border-radius:5px;background:#182a36;box-shadow:none}
.outfit-preview{border-right:1px solid #3c515e;padding:0 18px 0 0}.outfit-preview canvas{width:160px;height:175px;max-width:100%;object-fit:contain;filter:none}.outfit-preview .eyebrow{font-size:8px;letter-spacing:1px;color:#aabcc4}.outfit-preview p{font:11px/1.5 "Segoe UI",sans-serif;color:#e5dfce}
.outfit-settings .upgrade-panel{margin:0 0 12px;padding:0 0 12px;gap:10px;border-bottom:1px solid #3b515d}
.outfit-settings .upgrade-panel h3{font-size:21px;color:#f5eddc}.outfit-settings .upgrade-panel p{font-size:11px;color:#b6c4ca}
.outfit-settings .deco-label{display:grid;gap:7px;font-size:11px;color:#b9c8ce}
.outfit-settings select{height:44px;min-height:44px;width:100%;border:1px solid #526573;border-radius:4px;background:#10212f;color:#f3ebd8;font-size:12px}
.outline-button{min-height:44px;border:1px solid #6c7f88;border-radius:4px;background:#253c48;color:#f4e6c6;font-size:11px;padding:9px 12px;box-shadow:none}
.outfit-apply{border:1px solid #f6df9a;border-radius:4px;background:#eac779;color:#182630;box-shadow:0 3px 0 #876c3a}
.outfit-apply:disabled{border-color:#48606c;background:#263b47;color:#9db0ba;box-shadow:none}
.outfit-slots button{min-height:36px;border:1px solid #506371;border-radius:4px;background:#203746;font-size:10px;color:#e5dfce}
.outfit-hint{font-size:10px;color:#abbac2;line-height:1.6}
.addon-gallery{margin:16px 0 0;padding:16px 0 4px;border:0;border-top:1px solid #3d515e}
.addon-gallery h3{font:700 12px/1.5 "Segoe UI",sans-serif;letter-spacing:.5px;color:#f0d49b}.addon-gallery>p{font-size:11px;color:#b4c3ca}
.addon-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.addon-card{height:190px;grid-template-rows:138px 24px 18px;padding:5px;border:1px solid #415666;border-radius:5px;background:#1a2b38;box-shadow:none}
.addon-card .addon-tier{display:none}.addon-card canvas{width:132px;height:132px;max-width:100%;object-fit:contain}.addon-card strong{font-size:12px;color:#f4ecd9}.addon-card small{font:10px Consolas,monospace;color:#cdbb90}
.addon-card.selected{border-color:#e7c57b;background:#26382f;box-shadow:inset 0 0 0 1px #e7c57b}
.weapon-intro,.weapon-note{color:#b5c6ce;font-size:12px}.weapon-card{padding:18px;border:1px solid #415765;border-radius:5px;background:#1a2b38;box-shadow:none}.weapon-card.equipped{border-color:#dfc580;box-shadow:inset 0 0 0 1px #dfc580}.weapon-symbol{text-shadow:none}.weapon-card h3{color:#f5eddc}.weapon-card button{min-height:44px;border-radius:4px;background:#223b48;border-color:#5d7480;box-shadow:none}.weapon-card .weapon-equip{background:#d9c083;color:#192831;border-color:#d9c083}.weapon-card.equipped .weapon-equip{color:#f1ddb0;background:#2a433a}
.world-grid{gap:12px}.world-card{border:1px solid #405564;border-radius:5px;background:#1a2b38;box-shadow:none}.world-card.selected{border-color:#e4c581;box-shadow:inset 0 0 0 1px #e4c581}.world-card strong{font-size:13px;color:#f3ead5}.world-card small{font-size:9px;color:#b0c0c7}.world-card .world-number{color:#e6cb8b}.world-card .lock-tag{background:#14232c;color:#c4d0d4;border-radius:3px}
.level-grid{grid-template-columns:repeat(10,minmax(0,1fr));gap:7px}.level-button{min-height:44px;min-width:0;border:1px solid #405663;border-radius:4px;background:#1b2b38;font-size:12px;color:#96aab6}.level-button.completed{background:#263e37;border-color:#5a8875;color:#d6ebd6}.level-button.current{background:#dfc17e;border-color:#efdaa6;color:#14232c;box-shadow:none}.level-section{border-color:#3b515e}.helper{color:#aebfc8}
.playtest-screen{background:#111d29}.playtest-screen .screen-heading .eyebrow{font-size:9px;letter-spacing:1px}.playtest-screen h2{font-style:normal;text-shadow:none;font-weight:850;letter-spacing:-.5px}.playtest-screen h2 em{color:#e5c27b}.test-intro{color:#becbd0}.test-weapons button,.test-setup .test-weapons button{background:#1b2e3b;border:1px solid #3c5260;border-radius:4px;color:#dce3df;box-shadow:none}.test-weapons button.selected{border-color:#dfc17e;background:#263d38;box-shadow:inset 0 0 0 1px #dfc17e}.test-level-top b{border-radius:5px;border-color:#667f8c;background:#203645;color:#f0e3bf;box-shadow:0 3px 0 #09121b;font-weight:700}.test-level.completed .test-level-top b{background:#294c40;border-color:#82b99a;color:#e5f2d6}.test-level.boss-level .test-level-top b{background:#41383a;border-color:#d9b87b;color:#f3d59b;box-shadow:0 3px 0 #09121b}.test-level:hover:not(:disabled) .test-level-top b{box-shadow:0 3px 0 #09121b;border-color:#e6cd91}.test-level strong{text-shadow:none;font-size:11px;color:#e2ded2}.test-progress,.test-tools button{color:#c0c9c9}.test-tools{border-color:#3b515e}.test-privacy{color:#9eafb8}.test-level::after{opacity:.5}
.modal-layer{background:#070e19b8;backdrop-filter:none}
.modal-card{border:1px solid #566b77;border-radius:7px;background:#182936;box-shadow:0 8px 0 #070f18;padding:26px;color:#f3e9d3}
.modal-card h2{color:#f3e9d3;font-size:29px;font-style:normal;letter-spacing:-.5px;text-shadow:none}.modal-card .eyebrow{color:#c8ba97;letter-spacing:1px}.modal-card p{color:#bdcbd1;font-size:12px}.modal-card .modal-symbol{color:#e4c17b;text-shadow:none}.modal-buttons button{min-height:44px;border:1px solid #637985;border-radius:4px;background:#243c49;color:#e9e3d5;box-shadow:none}.modal-buttons .primary{border-color:#f0d797;background:#e1c17d;color:#162630}.modal-buttons .pink-button{border-color:#b6a58a;color:#e1cfaa}.modal-card:has(.skin-inspection-poses){width:min(520px,100%)}
.modal-layer .modal-card{max-height:100%}
.skin-inspection-poses{gap:12px;margin:14px 0;background:#10232f;border:1px solid #354d5a;border-radius:4px;padding:8px}.skin-inspection-poses canvas{max-height:210px;object-fit:contain}.skin-inspection-poses figcaption{color:#b7c6c9;font-size:9px;letter-spacing:.6px}.audio-settings{border-color:#415765;background:none}.backup-controls{border-color:#405563}
@media(max-width:1000px){.shop-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:650px){
 .library-screen{padding:18px 14px}.library-screen .screen-heading{margin-bottom:12px;gap:10px}.library-screen .screen-heading .eyebrow{font-size:8px;letter-spacing:1px}.library-screen .screen-heading h2{font-size:26px}.shop-tabs{margin-bottom:10px}.shop-tabs button{font-size:12px;min-height:44px}.shop-toolbar{margin-bottom:10px}.segmented{gap:4px}.segmented button{font-size:10px;padding:6px 10px}#ownedCount{font-size:10px}
 .shop-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.shop-grid .skin-card{height:170px;grid-template-rows:110px 28px 18px;padding:5px 3px}.shop-grid .skin-card canvas{width:96px;height:109px}.shop-grid .skin-card strong{font-size:11px}.shop-grid .skin-card small{font-size:8px}
 .outfit-panel{grid-template-columns:116px minmax(0,1fr);gap:13px;padding:13px}.outfit-preview{padding:0 10px 0 0;border-right:1px solid #3c515e;border-bottom:0}.outfit-preview canvas{width:106px;height:116px;margin:0 auto}.outfit-preview p{font-size:10px}.outfit-settings .upgrade-panel{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}.outfit-settings .upgrade-panel h3{font-size:18px}.outfit-settings .upgrade-panel p{font-size:10px}.outfit-settings .upgrade-panel .eyebrow{font-size:7px}.outfit-settings .outline-button{min-height:40px;padding:7px 9px;font-size:10px}.outfit-settings .deco-label{display:grid;font-size:10px}.outfit-settings select{font-size:11px}.outfit-slots button{font-size:9px;min-height:36px}.outfit-apply{font-size:12px}
 .addon-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.addon-card{height:180px;grid-template-rows:128px 24px 18px}.addon-card canvas{width:124px;height:124px}
 .world-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.world-card canvas{height:82px}.world-card .world-details{padding:10px 8px}.world-card strong{font-size:12px}.world-card small{font-size:8px}.level-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
 .modal-layer{padding:12px}.modal-card{padding:23px 18px;max-height:calc(100dvh - 24px)}.modal-card h2{font-size:27px}.skin-inspection-poses{padding:5px;gap:6px}.skin-inspection-poses canvas{max-height:190px}
}
@media(max-width:360px){.library-screen{padding:16px 11px}.shop-grid{gap:6px}.shop-grid .skin-card{height:164px;grid-template-rows:104px 28px 18px}.shop-grid .skin-card canvas{width:90px;height:102px}.shop-grid .skin-card strong{font-size:10px}.segmented button{padding:6px 8px}.outfit-panel{grid-template-columns:100px minmax(0,1fr);padding:10px;gap:10px}.outfit-preview canvas{width:90px;height:99px}}
@media(orientation:landscape) and (max-height:600px){
 .library-screen{padding:14px 20px}.library-screen .screen-heading{margin-bottom:10px}.library-screen .screen-heading h2{font-size:24px}.library-screen .screen-heading .eyebrow{font-size:7px}.shop-tabs{margin-bottom:8px}.shop-tabs button{min-height:40px}.shop-toolbar{min-height:34px;margin-bottom:8px}.segmented button{min-height:34px}.shop-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.shop-grid .skin-card{height:166px}.outfit-panel{grid-template-columns:160px minmax(0,1fr)}.outfit-preview canvas{width:140px;height:153px}.addon-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.world-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.world-card canvas{height:65px}.level-grid{grid-template-columns:repeat(10,minmax(0,1fr))}.modal-card{max-height:calc(100dvh - 24px);padding:18px 22px}.skin-inspection-poses{max-width:310px;margin:10px auto}.skin-inspection-poses canvas{max-height:130px}
}
@media(orientation:landscape) and (max-height:600px){
 .modal-card:has(.skin-inspection-poses){width:min(720px,100%);display:grid;grid-template-columns:250px minmax(0,1fr);gap:4px 22px;text-align:left}
 .modal-card:has(.skin-inspection-poses)>*{grid-column:2}.modal-card:has(.skin-inspection-poses) .skin-inspection-poses{grid-column:1;grid-row:1 / span 5;align-self:center;width:100%;margin:0}.modal-card:has(.skin-inspection-poses)>h2{margin:2px 0 4px;font-size:25px}.modal-card:has(.skin-inspection-poses)>p{margin:4px 0}.modal-card:has(.skin-inspection-poses) .modal-buttons{margin-top:8px}
}

/* Title scene: solid arcade lettering and the same character/platform art as play. */
/* Compact in-game status: a small readable strip rather than a framed panel. */
.stage[data-view="game"] .hud{top:10px;left:12px;right:12px;width:auto;padding:0;background:none;border:0;border-radius:0;box-shadow:none;backdrop-filter:none}
.stage[data-view="game"] .hud::before,.stage[data-view="game"] .hud::after{display:none}
.stage[data-view="game"] .hud-top{gap:8px;min-height:44px;padding:0 8px 0 0;border:0;border-radius:4px 4px 0 0;background:#091728c4;box-shadow:none}
.stage[data-view="game"] .hud-pause{width:44px;height:44px;min-width:44px;border:0;border-right:1px solid #49647866;border-radius:4px 0 0 0;background:#112b3ac9;box-shadow:none;font-size:20px}
.stage[data-view="game"] .hud-location small,.stage[data-view="game"] .hud-caption{display:none!important}
.stage[data-view="game"] .hud-location b{font-size:13px;letter-spacing:1px;line-height:1.2}
.stage[data-view="game"] .hud-hearts{font-size:14px;letter-spacing:2px;text-shadow:none;margin-left:auto}
.stage[data-view="game"] .hud-second{margin:0;padding:3px 8px;gap:8px;font-size:9px;line-height:12px;background:#091728a8;border-radius:0 0 3px 3px}
.stage[data-view="game"] .level-distance{margin:0;height:2px;box-shadow:none;background:#a7c9d222}
.stage[data-view="game"] .level-distance i{box-shadow:none}
.stage[data-view="game"] .tutorial{position:absolute;left:50%;top:72px;transform:translateX(-50%);width:max-content;max-width:min(280px,90vw);margin:0;padding:6px 9px;border:0;border-radius:3px;background:#091728b8;font-size:10px;line-height:1.5}
.stage[data-view="game"] .boss-meter{position:absolute;left:auto;right:0;top:74px;width:min(230px,70vw);margin:0;font-size:7px}
.stage[data-view="game"] .hud:has(#bossMeter:not([hidden])) .tutorial{display:none}
@media(orientation:landscape) and (max-height:600px){.stage[data-view="game"] .hud{top:8px;left:max(10px,env(safe-area-inset-left));right:auto;width:min(300px,42%)}.stage[data-view="game"] .tutorial{display:none}.stage[data-view="game"] .boss-meter{top:0;left:calc(100% + 16px);right:auto;width:min(240px,38vw)}}
body:has(.stage[data-view="home"]){background:#101923}
.app:has(.stage[data-view="home"]) .topbar{border-bottom:0}
.app:has(.stage[data-view="home"]) .brand-sprite{filter:none}
.app:has(.stage[data-view="home"]) .brand{text-shadow:none}
.app:has(.stage[data-view="home"]) .top-actions button{background:#172532;border-color:#354653;border-radius:3px;box-shadow:none}
.app:has(.stage[data-view="home"]) .gem-icon{color:#91d9e2;text-shadow:none}
.stage[data-view="home"]{border:2px solid #40505b;border-radius:4px;box-shadow:0 8px 0 #080f17}
.stage[data-view="home"]>.corner{display:none}
.stage[data-view="home"]>#game{opacity:.55;filter:saturate(.6)}
.stage[data-view="home"]>.scene-shade{background:linear-gradient(90deg,#101923ed 0%,#101923b0 40%,#10192320 100%)}
.home-screen{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto auto;gap:22px 32px;padding:40px 56px}
.home-screen .home-meta,.home-screen .hero-caption,.home-screen .adventure-progress{display:none}
.home-screen .hero-heading{grid-column:1;grid-row:1;position:static;align-self:center;width:auto;padding:0;text-align:left}
.home-screen .hero-heading>.eyebrow{display:block;color:#c3cbd0;font:700 11px/1.5 Consolas,monospace;letter-spacing:3px;margin-bottom:18px}
.home-screen .hero-heading h1{font-family:Impact,"Arial Black",sans-serif;font-weight:900;font-style:normal;font-size:clamp(64px,7.8vw,112px);line-height:.93;letter-spacing:1px;margin:0;filter:none;-webkit-text-stroke:0}
.home-screen .hero-heading h1 .title-first,.home-screen .hero-heading h1 .title-last{color:#edf6fa;text-shadow:4px 4px 0 #07121c;letter-spacing:1px;margin:0}
.home-screen .hero-heading h1 .title-last{color:#91d9e2;margin-top:4px}
.home-screen .hero-heading>p{display:block;color:#d5d8ce;font-size:16px;letter-spacing:0;margin:20px 0 0}
.home-screen .hero-character{grid-column:2;grid-row:1 / span 2;position:relative;align-self:center;justify-self:center;width:320px;max-width:100%;height:320px;left:auto;top:auto;transform:none}
.home-screen .hero-character canvas{position:static;width:100%;height:100%;object-fit:contain;animation:none;filter:none;transform:none}
.home-screen .hero-world{display:flex;grid-column:1;grid-row:2;position:static;gap:12px;align-items:center}
.home-screen .world-marker{display:grid;place-items:center;width:38px;height:38px;border:1px solid #627b85;color:#91d9e2;font:700 17px/1 Consolas,monospace;opacity:1}
.home-screen .hero-world small{font:9px/1.2 Consolas,monospace;letter-spacing:1px;margin:0 0 5px;color:#aab8bf}
.home-screen .hero-world strong{font-size:15px;font-weight:600;color:#f3eee1}
.home-screen .world-line{display:none}
.home-screen .home-bottom{grid-column:1/-1;grid-row:3;position:static;display:block;width:auto}
.home-screen .home-buttons{display:grid;grid-template-columns:minmax(230px,.9fr) minmax(0,1.5fr);gap:28px;align-items:center}
.home-screen .home-buttons>.play-button{width:100%;min-height:76px;padding:14px 22px;justify-content:flex-start;gap:18px;background:#91d9e2;color:#142331;border:2px solid #c0edf1;border-radius:2px;clip-path:none;box-shadow:0 5px 0 #355c6a;font:800 22px/1.2 "Segoe UI",sans-serif;letter-spacing:1px}
.home-screen .play-button small{color:#294c58;font:10px/1.2 Consolas,monospace;letter-spacing:1px;margin-top:7px}
.home-screen .play-triangle{font-size:20px}
.home-screen .arcade-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.home-screen .arcade-links .menu-tile{min-height:52px;padding:8px 4px;justify-content:center;background:none;border:0;border-bottom:2px solid #53656a;border-radius:0;color:#f4efdf;box-shadow:none;text-shadow:none;font:700 12px/1.5 "Segoe UI",sans-serif;letter-spacing:.5px;text-align:center}
.home-screen .arcade-links .test-menu-entry{font-size:10px;letter-spacing:0;color:#b8d1d4}
.home-screen .arcade-links .menu-tile:hover{border-color:#91d9e2;color:#b9edf1}
.home-screen .home-foot{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 20px;margin-top:20px}
.home-screen .home-foot .admont-entry,.home-screen .home-foot .christmas-entry,.home-screen .home-foot #dailyButton{display:block;min-height:44px;padding:7px 0;background:none;border:0;border-radius:0;font:10px/1.5 "Segoe UI",sans-serif;letter-spacing:0;color:#b9c8cc}
.home-screen .home-foot #dailyButton b{color:#91d9e2}
.home-screen .home-foot button:disabled{color:#98a49d}
@media(max-width:1000px) and (min-width:651px) and (min-height:601px){
 .home-screen{padding:30px 32px;gap:22px}.home-screen .hero-heading h1{font-size:clamp(64px,9vw,88px)}.home-screen .hero-character{width:280px;height:280px}.home-screen .home-buttons{gap:20px;grid-template-columns:minmax(220px,.9fr) minmax(0,1.3fr)}
}
@media(max-width:650px) and (orientation:portrait){
 .home-screen{padding:24px;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(100px,1fr) auto auto;gap:14px}
 .home-screen .hero-heading{grid-column:1;grid-row:1;text-align:center}
 .home-screen .hero-heading>.eyebrow{font-size:9px;letter-spacing:2px;margin-bottom:10px}
 .home-screen .hero-heading h1{font-size:clamp(50px,15vw,74px);line-height:.9;letter-spacing:1px}
 .home-screen .hero-heading>p{font-size:13px;margin-top:10px}
 .home-screen .hero-character{grid-column:1;grid-row:2;width:280px;height:100%;max-height:280px;min-height:0}
 .home-screen .hero-world{grid-column:1;grid-row:3;justify-self:center;gap:10px}
 .home-screen .world-marker{width:32px;height:32px;font-size:14px}
 .home-screen .hero-world small{font-size:7px;margin-bottom:3px}.home-screen .hero-world strong{font-size:13px}
 .home-screen .home-bottom{grid-column:1;grid-row:4}
 .home-screen .home-buttons{display:flex;flex-direction:column;gap:10px}
 .home-screen .home-buttons>.play-button{min-height:62px;justify-content:center;font-size:21px;padding:10px 16px}
 .home-screen .play-button small{font-size:9px;margin-top:5px}
 .home-screen .arcade-links{width:100%;gap:10px}
 .home-screen .arcade-links .menu-tile{min-height:44px;font-size:11px;padding:6px 2px}
 .home-screen .arcade-links .test-menu-entry{font-size:9px}
 .home-screen .home-foot{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:8px;text-align:center}
 .home-screen .home-foot .admont-entry,.home-screen .home-foot .christmas-entry,.home-screen .home-foot #dailyButton{font-size:8px;min-height:44px;padding:4px 0}
}
@media(max-width:650px) and (max-height:700px) and (orientation:portrait){
 .stage[data-view="home"]{min-height:420px}.home-screen{padding:16px 20px;gap:8px}.home-screen .hero-heading h1{font-size:48px}.home-screen .hero-heading>.eyebrow{margin-bottom:6px;font-size:8px}.home-screen .hero-heading>p{font-size:12px;margin-top:6px}.home-screen .home-buttons>.play-button{min-height:56px}.home-screen .home-foot{margin-top:2px}
}
@media(orientation:landscape) and (max-height:600px){
 .home-screen{padding:16px 24px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;gap:6px 32px}
 .home-screen .hero-heading{grid-column:1;grid-row:1;align-self:start;text-align:center}
 .home-screen .hero-heading>.eyebrow{font-size:7px;margin-bottom:6px;letter-spacing:2px}
 .home-screen .hero-heading h1{font-size:40px;line-height:.9}.home-screen .hero-heading>p{display:none}
 .home-screen .hero-character{grid-column:1;grid-row:2;min-height:0;width:180px;height:100%;max-height:150px}
 .home-screen .hero-world{grid-column:1;grid-row:3;justify-self:center;gap:8px}
 .home-screen .world-marker{width:26px;height:26px;font-size:12px}.home-screen .hero-world small{font-size:6px;margin-bottom:2px}.home-screen .hero-world strong{font-size:11px}
 .home-screen .home-bottom{grid-column:2;grid-row:1 / span 3;align-self:center}
 .home-screen .home-buttons{display:flex;flex-direction:column;gap:12px}
 .home-screen .home-buttons>.play-button{min-height:62px;justify-content:center;font-size:21px;padding:10px 12px}
 .home-screen .arcade-links{width:100%;gap:8px}.home-screen .arcade-links .menu-tile{min-height:44px;font-size:11px}.home-screen .arcade-links .test-menu-entry{font-size:9px}
 .home-screen .home-foot{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px}
 .home-screen .home-foot .admont-entry,.home-screen .home-foot .christmas-entry,.home-screen .home-foot #dailyButton{min-height:44px;font-size:8px;text-align:center}
}
.mission-objective{margin:18px 0;padding:13px 15px;border-left:3px solid #91d9e2;background:#102330;text-align:left}
.mission-objective small,.story-result small{display:block;color:#91d9e2;font:700 9px/1.4 Consolas,monospace;letter-spacing:1px;margin-bottom:7px}
.mission-objective strong{display:block;color:#f2eddf;font:600 14px/1.55 "Segoe UI",sans-serif}
.modal-card .mission-controls{font-size:11px;color:#a8bec7}
.story-result{margin:15px 0;padding:12px 15px;text-align:left;background:#102330;border-left:3px solid #91d9e2}
.story-result p{margin:0;font-size:12px;line-height:1.6}.story-result strong{display:block;color:#e8cc8c;margin-top:8px;font-size:13px}
.story-cores{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:18px 0}
.story-cores span{padding:9px 4px;border:1px solid #3e535e;border-radius:3px;color:#a0b1ba;font-size:9px;text-align:center}.story-cores b{display:block;font-size:20px;color:#70838f;margin-bottom:5px}.story-cores .recovered{border-color:#a7c9aa;color:#d5e9cf}.story-cores .recovered b{color:#a7e3c0}
.home-screen .home-foot .story-entry{display:block;min-height:44px;padding:7px 0;background:none;border:0;border-radius:0;font:10px/1.5 "Segoe UI",sans-serif;color:#c3e7e8}
@media(max-width:650px){.home-screen .home-foot{grid-template-columns:repeat(4,minmax(0,1fr))}.home-screen .home-foot .story-entry{font-size:8px;padding:4px 0}.story-cores{gap:5px}.story-cores span{font-size:8px}.mission-objective{margin:13px 0;padding:11px 12px}.mission-objective strong{font-size:13px}}
@media(orientation:landscape) and (max-height:600px){.home-screen .home-foot{grid-template-columns:repeat(2,minmax(0,1fr))}.home-screen .home-foot .story-entry{font-size:8px}.modal-card:has(.mission-objective){width:min(700px,100%)}.story-cores{grid-template-columns:repeat(8,minmax(0,1fr))}.mission-objective{margin:10px 0}}

/* Physical contacts drive the visual state; pressed controls never move away from a thumb. */
#touchControls,#touchControls .direction-pad,#touchControls .action-pad{touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;overscroll-behavior:contain}
#touchControls button{ -webkit-tap-highlight-color:transparent;transform:none }
#touchControls button.pressed{transform:none}
.stage[data-view="game"]{touch-action:none;overscroll-behavior:contain}
