:root{--bg:#19141c;--panel:#251c29;--line:#4b394b;--cream:#f8ead8;--muted:#b39cae;--gold:#edbc7a;--pink:#e887a7;--green:#b4c99d;--serif:Georgia,'Times New Roman',serif;--sans:Arial,Helvetica,sans-serif}*{box-sizing:border-box}html{color-scheme:dark}body{margin:0;background:radial-gradient(ellipse at 50% 0,#352235 0,#1b151f 60%);color:var(--cream);font-family:var(--sans);font-size:14px;min-height:100dvh}button,a{-webkit-tap-highlight-color:transparent}button{font-family:inherit;cursor:pointer;color:inherit}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:2px solid var(--gold);outline-offset:4px}button:disabled{opacity:.4;cursor:default}a{color:inherit;text-decoration:none}.app{max-width:1500px;margin:auto;padding:0 40px}.masthead{height:88px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;gap:13px;align-items:center;font-size:16px;font-weight:800;letter-spacing:1.8px}.brand-mark{display:grid;place-items:center;width:44px;height:45px;background:var(--gold);color:#332135;font:italic bold 28px var(--serif);border-radius:3px;letter-spacing:-4px;padding-right:4px;transform:rotate(-4deg)}.brand small{display:block;font-size:8px;letter-spacing:1.7px;font-weight:400;color:var(--muted);margin-top:7px}.toolbar{display:flex;gap:9px;align-items:center}.edition{font-size:9px;letter-spacing:1.7px;color:var(--muted);margin-right:16px;display:flex;align-items:center;gap:11px}.edition i{width:5px;height:5px;background:var(--pink);border-radius:50%}.icon-btn{width:34px;height:34px;border:1px solid var(--line);background:transparent;border-radius:5px;font-size:20px;color:#dcc5d4;display:grid;place-items:center}.icon-btn:hover{border-color:var(--gold);color:var(--gold)}main{max-width:1280px;margin:0 auto}.game-shell{border:1px solid #705268;border-radius:9px;overflow:hidden;box-shadow:0 20px 90px #07040b70;max-width:calc((100dvh - 320px)*16/9);min-width:min(100%,720px);margin:auto;background:#241b29}.hud{height:70px;background:linear-gradient(90deg,#302332,#251d29);display:flex;align-items:center;padding:0 25px;gap:30px;border-bottom:1px solid #715068}.hud-label{font-size:9px;letter-spacing:1.6px;color:#c1a9b9}.patience-block{width:31%;max-width:320px}.patience-block .hud-label{display:flex;justify-content:space-between}.patience-block b{color:#f0d6b7;font-size:10px;letter-spacing:.5px}.meter{height:7px;background:#100e15;margin-top:10px;border-radius:2px;overflow:hidden}.meter>div{height:100%;width:100%;background:linear-gradient(90deg,#b97890,#edb4b1);transition:width .16s;border-radius:2px}.wave-block{margin-left:auto;text-align:center}.wave-block b{display:block;font-family:var(--serif);font-size:21px;font-weight:400;margin-top:5px}.wave-block .hud-label{font-size:8px}.score-block{margin-left:auto;text-align:right}.score-block>b{display:block;font-size:23px;letter-spacing:1px;color:var(--gold);margin-top:3px}.coin{font-size:18px}.pause-btn{border:1px solid #685064;background:#392b3b;width:32px;height:34px;border-radius:4px;font-size:16px}.stage{position:relative;aspect-ratio:16/9;background:#2e2231;overflow:hidden}canvas{width:100%;height:100%;display:block;touch-action:none;outline:none}.vignette{position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 90px #140c2240}.stage-corner{position:absolute;top:11px;width:15px;height:15px;pointer-events:none;border-top:1px solid #d6b89270}.top-left{left:11px;border-left:1px solid #d6b89270}.top-right{right:11px;border-right:1px solid #d6b89270}.screen{position:absolute;inset:0;display:flex;z-index:5}.hidden{display:none!important}.menu-screen{background:linear-gradient(90deg,rgba(36,22,38,.97),rgba(40,24,42,.88) 38%,rgba(40,25,43,.25) 80%);align-items:center}.menu-copy{position:relative;width:53%;padding:0 0 12px 6%;z-index:2}.eyebrow{font-size:9px;font-weight:700;letter-spacing:2px;color:var(--gold);display:flex;align-items:center;gap:9px}.eyebrow>span{display:block;width:19px;height:1px;background:var(--gold)}h1{font:normal clamp(48px,6.2vw,91px)/.9 var(--serif);letter-spacing:-4px;margin:24px 0 23px;position:relative}h1 em{color:var(--pink);font-weight:400}h1 .title-spark{font:normal 44px/1 var(--serif);color:var(--gold);position:absolute;left:228px;bottom:4px;transform:rotate(12deg)}.menu-copy>p{color:#d1bccc;font:normal 17px/1.55 var(--serif);margin:0 0 27px}.primary-btn{display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:47px;border:0;background:var(--gold);color:#342134;padding:15px 21px;border-radius:4px;letter-spacing:1.1px;font-weight:800;font-size:11px;box-shadow:0 4px 0 #a5794e40;transition:background .15s,transform .15s}.primary-btn:hover{background:#ffcf91;transform:translateY(-1px)}.primary-btn span{font-size:21px;line-height:.7}.menu-copy>.primary-btn{width:min(320px,94%)}.menu-hint{margin-top:18px;color:#bc9eb1;font-size:9px;display:flex;align-items:center;gap:5px;white-space:nowrap}.menu-hint>span{margin:0 3px}kbd{font:9px var(--sans);display:inline-flex;align-items:center;justify-content:center;border:1px solid #70566a;box-shadow:0 2px 0 #100f17;background:#3e2e41;color:#e5cfdd;border-radius:3px;padding:4px 5px;min-width:20px}.best-label{color:#9f8299;letter-spacing:1.3px;font-size:8px;margin-top:29px}.best-label strong{color:#d7becd;margin-left:12px;font-size:12px}.hero-presentation{position:absolute;inset:0 0 0 49%;pointer-events:none}.hero-halo{position:absolute;width:80%;height:90%;right:0;top:5%;background:radial-gradient(ellipse,#c99d5b37,transparent 68%)}.hero-presentation>img{height:94%;width:88%;object-fit:contain;position:absolute;bottom:-2%;right:2%;filter:drop-shadow(0 14px 14px #120b18b0)}.hero-speech{position:absolute;right:6%;top:10%;transform:rotate(4deg);z-index:2;background:#eee0c9;color:#412e38;padding:11px 18px;font:italic 15px/1.3 var(--serif);border-radius:9px;box-shadow:4px 4px 0 #29172f70}.hero-speech:after{content:'';position:absolute;bottom:-9px;left:20px;border-width:10px 10px 0 0;border-style:solid;border-color:#eee0c9 transparent transparent transparent}.hero-caption{position:absolute;bottom:7%;right:7%;padding:11px 17px;background:#281c2de3;border-left:2px solid var(--gold);z-index:2;box-shadow:0 6px 20px #0c071535;transform:rotate(-3deg)}.hero-caption>span,.hero-caption small{display:block;font-size:7px;letter-spacing:1.4px;color:#c5a8bd}.hero-caption b{display:block;font:italic 26px var(--serif);margin:5px 0}.hero-caption small{letter-spacing:0;font-size:9px}.menu-bottom{position:absolute;bottom:18px;left:6%;font-size:7px;color:#937c91;letter-spacing:1px}.tiny-star{color:var(--gold);font-size:13px;margin-right:5px}.loadout{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:13px 24px;background:#2b202e;min-height:70px;border-top:1px solid #705268}.weapon-current{display:flex;align-items:center;gap:12px;min-width:37%}.weapon-symbol{font-size:32px;line-height:1;color:var(--gold);width:29px;text-align:center}.weapon-current small,.requests-status small{display:block;font-size:8px;color:#ad94a7;letter-spacing:1.5px;margin-bottom:6px}.weapon-current b{font-size:12px;font-weight:500}.level-badge{font-size:9px;color:#b99bac;border:1px solid #65465c;border-radius:3px;padding:5px;margin-left:7px;white-space:nowrap}.special-status{display:flex;gap:10px;align-items:center}.special-status>kbd{width:31px;height:31px;font-size:12px}.special-status b{display:block;font-size:10px;font-weight:400}.special-status small{display:block;color:#b8ca9f;font-size:8px;margin-top:6px}.special-status>span{color:var(--green);font-size:8px;margin-left:8px}.requests-status{text-align:right}.requests-status>b{font:20px var(--serif);color:var(--gold)}.footer{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:17px auto 0;max-width:calc((100dvh - 320px)*16/9);min-width:min(100%,720px);font-size:9px;color:#a68b9f}.controls-legend{display:flex;gap:17px;align-items:center}.controls-legend>span{display:flex;gap:4px;align-items:center;white-space:nowrap}.controls-legend kbd{font-size:8px;min-width:16px;padding:3px}.footer a{color:#ccb2c3;white-space:nowrap}.footer a:hover{color:var(--gold)}.footnote{font-size:8px;letter-spacing:1.1px;color:#785f76;text-align:center;margin:24px 0 19px}.dim-screen{background:#160e20bd;backdrop-filter:blur(5px);align-items:center;justify-content:center;padding:18px}.modal-card{width:min(100%,600px);background:linear-gradient(150deg,#3a293e,#251b2a);border:1px solid #886278;box-shadow:0 22px 100px #0a0516a0;padding:32px 37px;border-radius:8px}.modal-card .eyebrow{font-size:8px}h2{font:normal 38px/1.1 var(--serif);letter-spacing:-1px;margin:14px 0}.modal-card p{color:#c9b1c2;font-size:12px;line-height:1.6;margin:12px 0 22px}.modal-card .primary-btn{width:100%;margin-top:21px}.compact{max-width:420px}.text-btn{background:none;border:0;color:#c5a6bd;font-size:10px;text-decoration:underline;text-underline-offset:4px;display:block;margin:19px auto 0;padding:3px}.weapon-ladder{display:grid;grid-template-columns:repeat(6,1fr);gap:7px;margin:20px 0}.weapon-item{padding:10px 2px;text-align:center;border:1px solid #5b4058;border-radius:4px;color:#725b71;background:#211927}.weapon-item .glyph{display:block;font-size:26px;height:31px;line-height:31px}.weapon-item small{font-size:8px;display:block;margin-top:6px}.weapon-item.owned{color:#d4b798;border-color:#98774f;background:#6b4c3030}.weapon-item.current{color:#f6c281;border-color:#e5b574;background:#87623438;box-shadow:0 0 15px #e0a44513}.upgrade-offer{border-top:1px solid #76546c;border-bottom:1px solid #76546c;padding:17px 0;display:flex;justify-content:space-between;align-items:center;gap:12px}.upgrade-offer small{display:block;font-size:8px;letter-spacing:1.2px;color:#b195a7}.upgrade-offer b{display:block;font:24px var(--serif);margin-top:6px}.upgrade-offer span{display:block;font-size:10px;color:#bca2b5;margin-top:7px}.buy-btn{background:#50344a;border:1px solid #ae728d;border-radius:4px;padding:12px 17px;font-size:9px;letter-spacing:1px;white-space:nowrap}.buy-btn strong{display:block;font-size:17px;color:var(--gold);margin-top:7px}.buy-btn:hover:not(:disabled){background:#6a415a}.end-stats{display:flex;gap:14px;justify-content:space-between;border-top:1px solid #785369;border-bottom:1px solid #785369;padding:18px 0}.end-stats small{display:block;font-size:8px;color:#b99cad;letter-spacing:1px}.end-stats b{display:block;font:29px var(--serif);color:var(--gold);margin-top:5px}.toast{position:absolute;bottom:24px;left:50%;transform:translateX(-50%);background:#f0ddc7;color:#332136;border:1px solid #ba8c67;padding:12px 20px;border-radius:4px;font-size:12px;font-weight:bold;box-shadow:0 8px 30px #180e2390;z-index:20;text-align:center;max-width:85%;width:max-content;pointer-events:none}.wave-banner{position:absolute;top:29%;left:0;right:0;pointer-events:none;background:linear-gradient(90deg,transparent,#291b34f0 20%,#291b34f0 80%,transparent);border-top:1px solid #c19a5b90;border-bottom:1px solid #c19a5b90;text-align:center;padding:21px;z-index:3}.wave-banner small{display:block;font-size:9px;letter-spacing:3px;color:var(--gold)}.wave-banner strong{display:block;font:38px var(--serif);margin-top:8px}dialog{color:var(--cream);background:#2d2032;border:1px solid #886278;border-radius:9px;max-width:580px;width:calc(100% - 32px);padding:0;box-shadow:0 20px 100px #0009}dialog::backdrop{background:#100b18b8;backdrop-filter:blur(5px)}.help-body{padding:36px;position:relative}.dialog-close{position:absolute;right:14px;top:14px}.help-body h2{font-size:33px;margin-top:22px}.help-body p{font-size:12px;color:#cdb5c6;line-height:1.7}.help-controls{display:grid;grid-template-columns:1fr 1.2fr;gap:12px;align-items:center;border-top:1px solid #64445f;border-bottom:1px solid #64445f;padding:19px 0;margin:20px 0}.help-controls b{font-size:11px;font-weight:400}.help-note{font-size:10px!important;color:#b093aa!important}.help-body .primary-btn{width:100%;margin-top:20px}.mobile-controls{position:absolute;inset:auto 14px 13px;display:flex;justify-content:space-between;z-index:4;pointer-events:none;user-select:none}.mobile-controls>div{display:flex;gap:9px}.mobile-controls button{pointer-events:auto;touch-action:none;width:45px;height:45px;border:1px solid #d9b89a85;background:#37283ac9;border-radius:9px;font-size:20px;backdrop-filter:blur(4px)}.mobile-controls .hit-touch{font-size:10px;width:60px;background:#805a3ed9}.game-shell:fullscreen{max-width:none;min-width:0;width:100%;height:100%;display:flex;flex-direction:column;background:#171019;border:0;border-radius:0}.game-shell:fullscreen .stage{flex:1;aspect-ratio:auto;min-height:0}.game-shell:fullscreen canvas{object-fit:contain}.game-shell:fullscreen .hud,.game-shell:fullscreen .loadout{flex-shrink:0}.game-shell:fullscreen .menu-copy{padding-left:10%}.game-shell:fullscreen .hero-presentation>img{right:14%;width:70%}.game-shell:fullscreen h1{font-size:110px}
@media(min-width:1500px){h1{font-size:91px}}@media(max-height:850px) and (min-width:901px){.masthead{height:68px}.app{padding:0 25px}.game-shell,.footer{max-width:calc((100dvh - 270px)*16/9)}.hud{height:59px}.loadout{min-height:60px;padding:10px 21px}.menu-copy{padding-top:0}.eyebrow{font-size:8px}h1{font-size:68px;margin:18px 0}h1 .title-spark{font-size:32px;left:180px}.menu-copy>p{font-size:15px;margin-bottom:20px}.menu-copy .primary-btn{min-height:42px;font-size:9px;padding:12px 17px;width:280px}.best-label{margin-top:20px}.menu-hint{font-size:8px;margin-top:14px}.menu-bottom{bottom:13px;font-size:6px}.hero-speech{font-size:13px}.footer{margin-top:13px}.footnote{margin:16px 0;font-size:7px}.modal-card{padding:23px 29px;width:min(560px,90%)}.modal-card h2{font-size:32px;margin:11px 0}.modal-card p{margin:9px 0 14px}.weapon-ladder{margin:14px 0}.weapon-item{padding:6px 2px}.upgrade-offer{padding:12px 0}.upgrade-offer b{font-size:21px}.modal-card .primary-btn{margin-top:15px;min-height:41px;padding:12px 18px}}
@media(max-width:900px){.app{padding:0 16px}.masthead{height:75px}.edition{display:none}.brand{font-size:13px;letter-spacing:1px}.brand small{font-size:6px;letter-spacing:1px}.brand-mark{width:37px;height:39px;font-size:25px}.game-shell,.footer{max-width:100%;min-width:0}.hud{height:64px;padding:0 15px;gap:14px}.stage{aspect-ratio:16/10}.menu-copy{width:58%}h1{font-size:clamp(47px,9vw,76px);margin:18px 0}h1 .title-spark{left:64%;font-size:31px}.menu-copy>p{font-size:15px;margin-bottom:19px}.menu-copy .primary-btn{font-size:9px;min-height:41px;padding:12px 15px}.menu-hint{font-size:7px;gap:3px}.menu-hint kbd{font-size:7px;padding:3px}.best-label{margin-top:18px}.hero-presentation{left:49%}.hero-speech{font-size:12px;right:3%;padding:9px 12px}.menu-bottom{font-size:6px;bottom:12px}.hero-caption{right:5%;bottom:7%;padding:10px}.loadout{padding:12px 15px;gap:10px}.weapon-current{min-width:33%;gap:7px}.level-badge{font-size:8px;padding:4px;margin-left:0}.weapon-current b{font-size:11px}.weapon-current small,.requests-status small{font-size:6px;letter-spacing:1px}.special-status{gap:8px}.special-status b{font-size:9px}.special-status small{font-size:7px}.special-status>kbd{width:26px;height:27px}.footer{gap:8px}.controls-legend{gap:9px}.controls-legend span{font-size:8px}.footer a{font-size:8px}.footnote{font-size:7px;margin-top:21px}.modal-card{padding:22px 26px;max-width:520px}.modal-card h2{font-size:30px;margin:10px 0}.modal-card p{font-size:11px;margin:8px 0 14px}.weapon-ladder{margin:12px 0}.weapon-item{padding:6px 2px}.weapon-item .glyph{height:24px;font-size:22px;line-height:24px}.upgrade-offer{padding:12px 0}.upgrade-offer b{font-size:20px}.modal-card .primary-btn{margin-top:15px;min-height:39px;padding:11px 17px;font-size:10px}.buy-btn{padding:9px 14px}.hero-caption small{font-size:7px}}
@media(max-width:580px){.app{padding:0 8px}.masthead{height:65px;padding:0 5px}.brand small{display:none}.brand{font-size:11px;gap:9px}.brand-mark{height:34px;width:32px;font-size:23px}.toolbar{gap:6px}.icon-btn{width:29px;height:30px;font-size:18px}.hud{padding:0 11px;gap:10px;height:60px}.hud-label{font-size:7px;letter-spacing:.8px}.patience-block{width:33%}.wave-block b{font-size:16px}.wave-block .hud-label{font-size:6px}.score-block>b{font-size:20px}.pause-btn{width:27px;height:29px}.stage{aspect-ratio:4/4.1}.stage canvas{object-fit:cover;width:100%;height:100%}.menu-copy{width:75%;align-self:flex-start;padding:26px 0 0 7%}.menu-screen{background:linear-gradient(90deg,#28192bea,#28192b9f)}.eyebrow{font-size:7px;letter-spacing:1px}h1{font-size:65px;line-height:.87;margin:22px 0 17px;letter-spacing:-3px}h1 .title-spark{left:186px;font-size:29px;bottom:1px}.menu-copy>p{font-size:14px;margin-bottom:20px}.menu-copy .primary-btn{width:235px;font-size:8px;padding:12px}.menu-hint{display:none}.best-label{font-size:7px;margin-top:16px}.hero-presentation{left:40%;opacity:.65;z-index:0}.hero-presentation>img{height:68%;width:115%;right:-25%;bottom:0}.hero-halo{width:130%;height:70%;top:35%}.hero-speech{display:none}.hero-caption{display:none}.menu-bottom{font-size:5px;bottom:13px;left:7%;max-width:90%}.loadout{padding:11px 10px;flex-wrap:wrap;min-height:70px;gap:9px}.weapon-current{min-width:47%;gap:7px}.weapon-symbol{font-size:25px;width:20px}.weapon-current small{font-size:6px}.weapon-current b{font-size:10px}.level-badge{font-size:7px;padding:4px}.requests-status{display:none}.special-status{margin-left:auto}.special-status b{font-size:7px;max-width:130px}.special-status small{font-size:7px}.special-status>kbd{width:22px;height:24px;font-size:10px}.special-status>span{display:none}.footer{margin:14px 6px 0;justify-content:center}.controls-legend{display:none}.footer a{font-size:10px}.footnote{font-size:6px;letter-spacing:.4px;margin:19px 0}.modal-card{padding:20px;width:100%}.modal-card h2{font-size:30px}.modal-card p{font-size:10px;line-height:1.5}.modal-card .eyebrow{font-size:6px}.weapon-ladder{gap:4px;margin:12px 0}.weapon-item{padding:6px 0}.weapon-item small{font-size:6px}.weapon-item .glyph{font-size:19px}.upgrade-offer{padding:11px 0}.upgrade-offer small{font-size:6px}.upgrade-offer b{font-size:18px}.upgrade-offer span{font-size:8px;max-width:150px}.buy-btn{font-size:7px;padding:9px 10px}.buy-btn strong{font-size:14px}.text-btn{font-size:9px;line-height:1.5;margin-top:14px}.end-stats{gap:8px;padding:14px 0}.end-stats small{font-size:6px}.end-stats b{font-size:24px}.wave-banner strong{font-size:28px}.wave-banner small{font-size:7px;letter-spacing:1.5px}.toast{font-size:10px;padding:10px 13px;bottom:75px}.help-body{padding:26px 22px}.help-body h2{font-size:29px}.help-body p{font-size:11px}.help-controls{gap:11px}.help-controls b{font-size:10px}.help-controls kbd{font-size:8px}.game-shell:fullscreen .menu-copy{padding-left:7%}.game-shell:fullscreen h1{font-size:65px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}

.hud-portrait{height:42px;width:42px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 20%,#a77658,#4c3048);border:1px solid #ad7d74;border-radius:6px;flex-shrink:0;margin-right:-17px}.hud-portrait img{position:absolute;height:181px;width:auto;max-width:none;top:-1px;left:-39px;filter:drop-shadow(0 0 3px #251329)}@media(max-width:900px){.hud-portrait{height:37px;width:37px;margin-right:-5px}.hud-portrait img{height:160px;left:-34px}}@media(max-width:580px){.hud-portrait{display:none}}

.weapon-ladder{grid-template-columns:repeat(9,minmax(0,1fr))}.new-chapters{display:block;font:700 8px/1.5 var(--sans);letter-spacing:1px;color:var(--gold);margin-top:10px}.shop-card{max-height:100%;overflow-y:auto}@media(max-width:580px){.weapon-ladder{grid-template-columns:repeat(5,minmax(0,1fr))}.new-chapters{font-size:6px;max-width:210px}.upgrade-offer b{font-size:16px}}

.weapon-symbol img,.weapon-item .glyph img{width:100%;height:100%;object-fit:contain;display:block}.weapon-symbol{width:44px;height:28px}.weapon-item .glyph{height:clamp(24px,3.3vw,38px)}

#chanceScreen [hidden]{display:none!important}#riddleForm input{width:100%;box-sizing:border-box;background:#241c2b;color:#fff;border:1px solid #b88c78;border-radius:5px;padding:10px;font-size:16px}#riddleForm label{display:block;font-size:12px;margin-bottom:5px}#riddleForm h3{color:var(--gold)}#riddleForm #answerError{color:#ffd2b3;margin:4px 0}.weapon-ladder{grid-template-columns:repeat(10,minmax(0,1fr))}@media(max-width:700px){.weapon-ladder{grid-template-columns:repeat(5,minmax(0,1fr))}}
