@font-face{font-family:Keeper;src:local("Georgia");font-display:swap}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#14343c;color:#f5e7c4;font-family:Arial,Helvetica,sans-serif;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer;border:0;-webkit-appearance:none;appearance:none;touch-action:manipulation}button:disabled{cursor:default;opacity:.35}button:focus-visible{outline:2px solid #fce5a4;outline-offset:5px}button:active:not(:disabled){transform:scale(.96)}button{transition:transform .16s,background .18s,border-color .18s,box-shadow .2s}#game,#ui{position:fixed;inset:0}#game canvas{display:block}#ui{pointer-events:none}.icon{display:inline-block;width:24px;height:24px;flex-shrink:0;vertical-align:middle}button,.overlay,.opening{pointer-events:auto}.edge-shade{position:absolute;inset:0;background:linear-gradient(#0b252bd9 0,transparent 20%,transparent 74%,#0a232bdd 100%);pointer-events:none}.hud{position:absolute;top:max(24px,env(safe-area-inset-top));left:max(32px,env(safe-area-inset-left));right:max(32px,env(safe-area-inset-right));display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.brand{display:flex;align-items:center;gap:10px;color:#e8c88c;font-family:Georgia,serif;font-size:21px;letter-spacing:4px;line-height:1.08;min-width:210px}.brand>.icon{width:38px;height:48px;stroke-width:1.3}.brand span{display:block;font-size:14px;letter-spacing:5.8px;margin-top:4px}.watch{text-align:center;position:absolute;left:50%;transform:translate(-50%);min-width:270px}.eyebrow{font-size:10px;font-weight:600;letter-spacing:2.8px;color:#c8bf9d;line-height:1.6;margin:0 0 8px}.watch .eyebrow{font-size:9px;letter-spacing:2px}.watch-time{display:flex;align-items:center;justify-content:center;gap:10px}.watch-time>.icon{width:20px;color:#e2c38b}.watch-time b{font-size:29px;font-family:Georgia,serif;font-weight:400;letter-spacing:2px;font-variant-numeric:tabular-nums}.time-end{font-size:11px;color:#afbaa8;letter-spacing:1px}.hud-right{display:flex;align-items:center;gap:9px}.kill-count{display:flex;align-items:center;gap:7px;margin-right:18px;font-size:16px;color:#e9dcba}.kill-count .icon{width:18px;color:#aebead}.kill-count b{font-weight:400;min-width:20px}.icon-button{background:#16333aaa;border:1px solid #91a18a40;width:40px;height:40px;display:grid;place-items:center;border-radius:9px;color:#e0d8b9}.icon-button .icon{width:20px}.icon-button:hover{background:#35514b;border-color:#eac48380}.vitals{position:absolute;top:102px;left:max(34px,env(safe-area-inset-left));width:180px}.health-caption{display:flex;gap:8px;align-items:center;margin-bottom:6px;font-size:11px;color:#d7d6bd;font-variant-numeric:tabular-nums;letter-spacing:1px}.health-caption .icon{width:14px;height:14px;color:#e2a984}.health-bar{height:5px;border-radius:3px;background:#0a252cbb;overflow:hidden}.health-bar i{height:100%;display:block;border-radius:3px;background:linear-gradient(90deg,#b08264,#ebbf83);transition:width .18s}.health-bar i.low{background:#e58e77}.boss-hud{position:absolute;top:107px;width:300px;left:50%;transform:translate(-50%);text-align:center}.boss-hud>span{font-size:9px;letter-spacing:3px;color:#e2b5d0}.boss-hud>div{height:5px;background:#0c252dd9;margin-top:9px;border-radius:4px;overflow:hidden}.boss-hud i{display:block;height:100%;background:linear-gradient(90deg,#a57cad,#edb4c9);transition:width .2s}.hidden{display:none!important}.run-hud{position:absolute;bottom:max(30px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%);width:min(680px,calc(100% - 68px))}.build-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.weapon-slots{display:flex;align-items:center;gap:7px}.weapon-slot{width:42px;height:45px;display:flex;align-items:center;justify-content:center;background:#112e34c9;border:1px solid #bfc7a537;border-radius:8px;position:relative;color:var(--accent,#ebce8d)}.weapon-slot .icon{width:25px;height:25px;stroke-width:1.4}.weapon-slot>span{position:absolute;right:3px;bottom:2px;font-size:8px;background:#0c2931;padding:0 2px}.weapon-slot.evolved{border-color:#f2c780;box-shadow:0 0 14px #ebbd6630}.weapon-slot.empty{border-style:dashed;opacity:.4;font-size:25px;line-height:1}.totem-count{display:flex;align-items:center;gap:8px;color:#e5cb97}.totem-count>.icon{width:25px;height:35px}.totem-count b{font-size:20px;font-family:Georgia,serif;font-weight:400}.totem-count b span{font-size:13px;color:#b5baa1;margin-left:5px}.totem-note{font-size:8px;letter-spacing:1.8px;max-width:45px;line-height:1.5;margin-left:5px;color:#afbda5}.xp-row{display:flex;align-items:center;gap:12px}.level-badge{font-size:9px;letter-spacing:2px;white-space:nowrap;color:#c5c2a0}.level-badge b{font-size:15px;color:#f2d494;font-weight:400}.xp-track{height:4px;background:#09252c;border-radius:4px;flex:1;overflow:hidden;border-top:1px solid #a5b29e17}.xp-track i{height:100%;display:block;background:linear-gradient(90deg,#8ca98d,#f9d28e);border-radius:4px;box-shadow:0 0 9px #ffd68d70;transition:width .2s}.xp-label{font-size:9px;color:#c2c5ab;font-variant-numeric:tabular-nums;min-width:45px;letter-spacing:1px}.version{position:absolute;bottom:12px;right:20px;font-size:7px;letter-spacing:1.8px;color:#9cbaa05c}.context-hint{position:absolute;left:50%;transform:translate(-50%);bottom:155px;display:flex;gap:9px;align-items:center;opacity:0;transition:opacity .4s;text-align:center;color:#e6dcb7;font-size:10px;letter-spacing:2px;line-height:1.7;white-space:nowrap;text-shadow:0 2px 4px #0b262c}.context-hint.visible{opacity:.85}.context-hint>.icon{width:22px;height:30px}.context-hint em{font-style:normal;display:block;font-size:10px;letter-spacing:.4px;color:#bfc6ab}.gesture{display:flex;align-items:center;gap:10px}.gesture .icon{animation:gesture 1.7s ease-in-out infinite}.gesture em{display:inline;margin:0 8px}.announcement{position:absolute;top:22%;left:50%;transform:translate(-50%,-8px);opacity:0;transition:opacity .45s,transform .6s;text-align:center;max-width:85%;width:700px;pointer-events:none;text-shadow:0 2px 12px #0c242c}.announcement.show{opacity:1;transform:translate(-50%)}.announcement>span{font-family:Georgia,serif;color:#f0d89f;font-size:23px;letter-spacing:5px}.announcement small{display:block;color:#d4d4b8;font-size:11px;letter-spacing:.9px;margin-top:10px}.opening{position:absolute;bottom:20%;left:50%;transform:translate(-50%);text-align:center;padding:22px 38px 18px;background:linear-gradient(100deg,#102d34e8,#17383ef2,#102d34e8);border:1px solid #bdad7960;border-radius:12px;box-shadow:0 20px 90px #051e2680;width:450px;max-width:calc(100% - 35px);animation:appear .6s ease both}.opening-mark{display:none}.opening h1{font-size:31px;font-weight:400;font-family:Georgia,serif;margin:4px 0 10px;color:#f9e9bf}.opening>p:not(.eyebrow){font-size:12px;color:#c5cfbd;line-height:1.7;margin:0 0 20px}.primary{display:flex;align-items:center;justify-content:center;gap:25px;padding:16px 23px;border-radius:6px;background:linear-gradient(120deg,#efcd89,#ddb26e);border:1px solid #f6e1ae;color:#2a382f;min-height:50px;box-shadow:inset 0 1px #fff0bb60,0 5px 20px #0a22284d;font-size:13px;font-weight:600;letter-spacing:.3px}.primary .icon{width:19px;height:19px}.primary:hover{background:linear-gradient(120deg,#ffe5aa,#f1cc85);box-shadow:0 0 30px #e8be7540}.opening .primary{width:100%}.control-line{display:block;font-size:8px;letter-spacing:1.3px;color:#b1c1ad;margin-top:19px;line-height:1.5}.control-line i{font-style:normal;color:#e5c787;margin:0 7px}.overlay{position:absolute;inset:0;background:#071d26b8;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);display:flex;align-items:center;justify-content:center;padding:max(18px,env(safe-area-inset-top)) max(22px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(22px,env(safe-area-inset-left));animation:fade .2s ease both;overflow:auto}.upgrade-dialog{width:min(960px,100%);text-align:center;padding:20px 0}.dialog-crest{width:45px;height:45px;color:#f1ca85;margin:0 auto 14px}.dialog-crest>.icon{width:100%;height:100%;stroke-width:1.2}.upgrade-dialog h1,.menu-dialog h1,.result-dialog h1{font-family:Georgia,serif;font-size:38px;font-weight:400;line-height:1.15;color:#f9e8c0;margin:7px 0 12px;letter-spacing:-.5px}.dialog-subtitle{font-size:12px;color:#afc4b4;letter-spacing:.4px;margin:0 0 30px}.upgrade-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.upgrade-card{background:linear-gradient(155deg,#27484a,#15353e);border:1px solid #b3b38966;box-shadow:0 15px 35px #041c2633;border-radius:9px;text-align:left;padding:21px 22px 0;min-height:326px;display:flex;align-items:stretch;flex-direction:column;position:relative;overflow:hidden;animation:card-in .45s ease both}.upgrade-card:nth-child(2){animation-delay:.07s}.upgrade-card:nth-child(3){animation-delay:.14s}.upgrade-card:hover{border-color:var(--accent);transform:translateY(-6px);background:linear-gradient(155deg,#315757,#193c44);box-shadow:0 0 35px #ddbb7420}.card-type{font-size:8px;letter-spacing:1.5px;color:var(--accent);display:flex;justify-content:space-between}.card-type>span{color:#abc0ac60}.card-icon{height:88px;display:grid;place-items:center;margin:5px auto;color:var(--accent);background:radial-gradient(ellipse,#f5d59214,transparent 70%);width:130px}.card-icon>.icon{width:54px;height:54px;stroke-width:1.15;filter:drop-shadow(0 0 13px #f1ca7630)}.upgrade-card h2{font-family:Georgia,serif;font-weight:400;font-size:24px;color:#f3e4be;margin:0 0 10px}.rank-dots{display:flex;gap:4px;align-items:center}.rank-dots i{width:7px;height:3px;border-radius:2px;background:#8da58e33}.rank-dots i.lit{background:var(--accent,#e7c98c)}.rank-dots>span{font-size:7px;letter-spacing:1.2px;color:#a2b7a8;margin-left:6px}.upgrade-card>p{font-size:12px;line-height:1.8;color:#bdcebc;flex:1;margin:14px 0 12px;min-height:43px}.card-synergy{font-size:9px;display:flex;align-items:center;gap:5px;color:#c5be9c;min-height:27px}.card-synergy>.icon{width:15px;height:15px;color:#b1c5a1}.choose-label{font-size:9px;letter-spacing:2px;border-top:1px solid #a4b28b30;margin:14px -22px 0;padding:14px 22px;display:flex;justify-content:space-between;align-items:center;color:#e6cea0;background:#11313a50}.choose-label>.icon{width:17px;height:17px;color:#e7ca8d}.evolution{border-color:#e6bc6b;box-shadow:0 0 30px #e5b75722;background:linear-gradient(155deg,#55523a,#173b40)}.text-button{background:none;color:#cfcea9;font-size:11px;letter-spacing:.3px;padding:9px}.text-button:hover{color:#ffe6a8}.text-button span{font-size:9px;color:#a6bba7;margin-left:8px}.reroll{margin-top:20px}.menu-dialog{width:min(770px,100%);background:linear-gradient(135deg,#234348f8,#15343bf8);border:1px solid #b7be9460;border-radius:12px;box-shadow:0 30px 100px #03192380;padding:32px;max-height:calc(100dvh - 36px);display:flex;flex-direction:column;animation:appear .3s ease}.menu-top{display:flex;justify-content:space-between;align-items:center;gap:15px}.menu-top h1{font-size:32px;margin:4px 0 20px}.menu-top .eyebrow{font-size:9px}.bank{display:flex;align-items:center;gap:7px;background:#102d33bb;border:1px solid #a9b48a30;border-radius:7px;padding:11px 13px;margin-top:-14px}.bank>.icon{color:#f5c579;width:20px}.bank b{font-family:Georgia,serif;color:#f6daa2;font-size:22px;font-weight:400}.bank>span{font-size:7px;color:#a8b89d;letter-spacing:1.4px}.menu-tabs{display:flex;border-bottom:1px solid #8da08740;gap:20px}.menu-tabs button{background:none;padding:11px 0;font-size:11px;color:#97b0a2;border-bottom:2px solid transparent;margin-bottom:-1px;letter-spacing:.3px}.menu-tabs button.active{color:#e9d19b;border-color:#e8c68b}.menu-content{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#6e8e78 transparent;min-height:180px}.pause-status{display:flex;gap:25px;padding:28px 8px 18px;align-items:center}.pause-status>.icon{width:55px;height:70px;color:#c8c398;stroke-width:1}.pause-status h2{font-family:Georgia,serif;font-size:29px;font-weight:400;margin:3px 0 12px;color:#f6e6bd}.pause-status h2>small{font-family:Arial,sans-serif;font-size:11px;color:#a6bfa9}.pause-status p{font-size:12px;line-height:1.9;color:#bed0bb;margin:0}.controls-note{display:flex;gap:20px;justify-content:space-between;padding:16px;background:#0c2a3266;border-radius:6px;margin-bottom:20px}.controls-note>span{font-size:8px;letter-spacing:1px;color:#94ae9d}.controls-note b{display:block;color:#dcdbb9;font-size:9px;font-weight:400;margin-top:8px;letter-spacing:.6px}.watch-modes{display:flex;gap:12px}.watch-modes>button{display:flex;align-items:center;gap:10px;border:1px solid #9caf8c40;background:#25474a80;text-align:left;padding:14px;border-radius:6px;flex:1}.watch-modes>button>.icon:first-child{color:#d6c38e}.watch-modes span{flex:1}.watch-modes b{font-family:Georgia,serif;font-size:18px;font-weight:400;color:#ebdbb2}.watch-modes small{display:block;font-size:9px;color:#9eb6a2;margin-top:5px}.watch-modes>button>.icon:last-child{width:16px;color:#c6c69a}.small-note{font-size:9px;line-height:1.7;color:#91ac9b;margin:13px 0 0}.menu-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:24px;padding-top:21px;border-top:1px solid #829b7d30}.menu-bottom .primary{min-height:43px;padding:13px 18px;font-size:11px;gap:20px}.menu-bottom>.text-button{font-size:10px}.shrine-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:22px 0 15px}.shrine-heading>p{font-family:Georgia,serif;color:#e2d7ae;font-size:15px;margin:0}.shrine-heading>span{font-size:8px;color:#9ab39e;white-space:nowrap}.shrine-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.shrine-item{display:flex;align-items:center;gap:10px;padding:14px 10px;background:#0c293150;border:1px solid #92a48130;border-radius:7px}.shrine-symbol{color:#dcc18b}.shrine-symbol>.icon{width:24px;height:30px;stroke-width:1.5}.shrine-item h3{font-family:Georgia,serif;font-size:14px;font-weight:400;color:#f0dfb2;margin:0 0 6px}.shrine-item p{font-size:8px;line-height:1.6;color:#9fb7a4;margin:0 0 10px}.shrine-item>div:nth-child(2){flex:1}.cost-button{border-radius:5px;background:#e1be7b;color:#263c35;font-size:11px;min-width:51px;height:30px;display:flex;align-items:center;justify-content:center;gap:3px}.cost-button>.icon{width:13px}.keeper-row{display:flex;gap:10px;margin-top:16px;margin-bottom:2px}.keeper-card{display:flex;align-items:center;text-align:left;flex:1;gap:10px;background:#17363b;border:1px solid #9aad8640;border-radius:7px;padding:14px 11px}.keeper-card.selected{border-color:#d7bd7c90;background:#42514466}.keeper-symbol{color:#f4bc67}.keeper-symbol .icon{width:30px;height:39px}.keeper-symbol.moss{color:#abd3a8}.keeper-card>span{flex:1}.keeper-card b{display:block;font-family:Georgia,serif;font-size:15px;font-weight:400;color:#ecd9aa;margin-bottom:6px}.keeper-card small{display:block;font-size:8px;line-height:1.5;color:#a8bca3}.keeper-card em{font-size:7px;color:#e4c98d;letter-spacing:.7px;font-style:normal}.keeper-card em>.icon{width:12px;height:15px}.journal-summary{display:flex;gap:12px;margin:22px 0 24px;justify-content:space-around}.journal-summary>span{font-size:18px;font-family:Georgia,serif;min-width:110px;text-align:center;color:#ddcd9e}.journal-summary .icon{width:19px;margin-right:5px}.journal-summary small{display:block;font-family:Arial,sans-serif;font-size:7px;letter-spacing:1.5px;color:#96b19d;margin-top:8px}.section-label{font-size:9px;letter-spacing:1.7px;color:#d0c99c;font-weight:400;margin:24px 0 13px;display:flex;align-items:center;justify-content:space-between}.section-label>span{font-size:8px;color:#99ad94;letter-spacing:.5px}.bestiary-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.bestiary-entry{border:1px solid #9bb18b30;display:flex;align-items:center;gap:10px;background:#112e3566;padding:12px;border-radius:5px}.bestiary-entry>.icon{width:30px;color:#a5d8c5;stroke-width:1.2}.bestiary-entry b{font-family:Georgia,serif;font-size:14px;font-weight:400;color:#e0d1a8}.bestiary-entry p{font-size:8px;line-height:1.7;color:#a0b7a1;margin:6px 0 0}.bestiary-entry.undiscovered{opacity:.4}.achievement-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.achievement{display:flex;align-items:center;gap:10px;padding:10px;background:#112d3450;border-radius:5px;opacity:.5}.achievement.complete{opacity:1}.achievement>.icon{width:19px;color:#ccca98}.achievement b{font-size:10px;font-weight:400;color:#dcd2aa}.achievement small{display:block;color:#9eb8a1;font-size:8px;margin-top:5px;line-height:1.5}.evolution-note{display:flex;gap:12px;align-items:center;font-size:9px;color:#a8bca3;padding:20px 3px 0;line-height:1.8}.evolution-note>.icon{width:29px;color:#d1ca9a}.evolution-note b{font-weight:400;color:#ddd2a9}.result-dialog{max-width:620px;width:100%;text-align:center;background:radial-gradient(ellipse at top,#3a5146aa,transparent 65%);padding:18px 10px}.result-crest{border:1px solid #d1b47f50;border-radius:50%;width:83px;height:83px;display:grid;place-items:center;background:radial-gradient(ellipse,#edc07515,transparent 70%);margin:0 auto 24px;box-shadow:0 0 65px #ebbe7310;color:#e9be7d}.result-crest>.icon{width:42px;height:46px;stroke-width:1.3}.result-crest.win{box-shadow:0 0 65px #ebbe7340}.result-dialog h1{font-size:37px}.result-dialog .dialog-subtitle{margin-bottom:33px}.result-stats{display:flex;gap:15px;justify-content:space-around;padding:19px 0;border-top:1px solid #93a38440;border-bottom:1px solid #93a38440}.result-stats>div{flex:1}.result-stats b{font-family:Georgia,serif;font-weight:400;font-size:31px;color:#eadcb4;display:block}.result-stats span{font-size:8px;letter-spacing:1.2px;color:#8fae9b;display:block;margin-top:9px;line-height:1.5}.earned{display:flex;align-items:center;justify-content:center;gap:10px;padding:23px 0 10px;color:#f0c97f}.earned>.icon{height:32px;width:23px}.earned b{font-family:Georgia,serif;font-weight:400;font-size:34px}.earned>span{font-size:8px;letter-spacing:1.4px;color:#c2c59c}.unlocked{display:flex;align-items:center;gap:12px;text-align:left;justify-content:center;margin:10px auto;background:#d5bf7e0a;border:1px solid #a6b08930;padding:10px 14px;border-radius:5px;font-size:9px;color:#b2c29e;max-width:430px}.unlocked>.icon{width:20px;color:#d5c28a}.unlocked b,.unlocked small{display:block;font-weight:400;margin-top:5px}.unlocked b{font-family:Georgia,serif;font-size:14px;color:#e5cf9c}.unlocked small{font-size:8px;color:#97b19c}.result-build{display:flex;align-items:center;justify-content:center;gap:13px;padding:12px;margin-bottom:13px}.result-weapon{display:flex;align-items:center;gap:3px}.result-weapon>.icon{width:23px}.result-weapon>b{font-size:8px;font-weight:400;color:#c9c89d}.result-dialog>.primary{width:330px;max-width:100%;margin:auto}.result-secondary{display:flex;justify-content:center;gap:22px;margin-top:13px}.result-secondary .icon{width:13px;height:16px;margin-left:5px}.result-secondary .text-button{font-size:10px}.result-secondary span{font-size:8px;display:block;margin-top:5px;margin-left:0}.saved-note{display:flex;align-items:center;justify-content:center;gap:5px;font-size:8px;color:#8dad96;margin-top:22px;letter-spacing:.4px}.saved-note>.icon{width:12px;height:12px}.toast{position:absolute;bottom:165px;left:50%;transform:translate(-50%,10px);background:#102b33f2;border:1px solid #c4b98650;border-radius:6px;padding:13px 20px;color:#e0d2a8;font-size:11px;letter-spacing:.1px;opacity:0;transition:opacity .25s,transform .3s;width:max-content;max-width:calc(100% - 32px);text-align:center;line-height:1.6;box-shadow:0 10px 30px #0a202b66}.toast.show{opacity:1;transform:translate(-50%)}body[data-mode=ready] .run-hud{opacity:.45}body[data-mode=upgrade] .announcement,body[data-mode=result] .announcement{opacity:0}body[data-mode=paused] .toast{z-index:10;bottom:30px}@keyframes fade{0%{opacity:0}to{opacity:1}}@keyframes appear{0%{opacity:0;translate:0 10px}to{opacity:1;translate:0 0}}@keyframes card-in{0%{opacity:0;translate:0 15px}to{opacity:1;translate:0 0}}@keyframes gesture{0%,to{translate:-5px 0;opacity:.4}50%{translate:6px 0;opacity:1}}@media(min-width:1600px){.hud{left:50px;right:50px;top:35px}.vitals{left:52px;top:120px}.run-hud{bottom:40px}.context-hint{bottom:170px}}@media(max-width:700px){.hud{top:max(18px,env(safe-area-inset-top));left:max(18px,env(safe-area-inset-left));right:max(18px,env(safe-area-inset-right));gap:8px}.brand{min-width:90px;font-size:14px;letter-spacing:2px;gap:5px}.brand>.icon{width:25px;height:35px}.brand span{font-size:9px;letter-spacing:3.3px;margin-top:3px}.watch{min-width:170px;top:47px}.watch .eyebrow{font-size:7px;letter-spacing:1.7px;max-width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0 0 3px}.watch-time b{font-size:26px}.watch-time>.icon{width:15px}.watch-time{gap:6px}.time-end{font-size:9px}.hud-right{gap:7px}.kill-count{margin-right:3px;font-size:13px;gap:4px}.kill-count>.icon{width:15px}.icon-button{width:34px;height:34px;border-radius:7px}.icon-button .icon{width:17px}.vitals{top:110px;left:20px;width:100px}.health-caption{font-size:9px;gap:5px}.health-caption>.icon{width:11px;height:11px}.health-bar{height:4px}.boss-hud{width:170px;top:131px;left:auto;right:20px;transform:none}.boss-hud>span{font-size:7px;letter-spacing:1px}.run-hud{width:calc(100% - 38px);bottom:max(25px,env(safe-area-inset-bottom))}.weapon-slot{width:32px;height:36px;border-radius:6px}.weapon-slots{gap:5px;max-width:calc(100% - 58px);flex-wrap:wrap;row-gap:4px}.weapon-slot>.icon{width:21px;height:21px}.weapon-slot>span{font-size:6px}.weapon-slot.empty{font-size:18px}.build-row{margin-bottom:13px;gap:7px}.totem-note{display:none}.totem-count{gap:3px}.totem-count>.icon{width:21px;height:28px}.totem-count b{font-size:17px}.totem-count b span{font-size:10px;margin-left:3px}.xp-row{gap:9px}.xp-label{font-size:8px;min-width:38px}.xp-track{height:4px}.level-badge{font-size:8px}.level-badge b{font-size:13px}.version{right:12px;bottom:8px;font-size:6px}.context-hint{bottom:136px;font-size:8px;letter-spacing:1.6px}.context-hint em{font-size:9px}.gesture{display:block}.gesture>.icon{width:23px;margin:0 auto 5px;display:block}.gesture span{display:block;white-space:normal;max-width:230px;line-height:1.8}.gesture em{margin:0 4px}.announcement{top:24%;width:calc(100% - 40px)}.announcement>span{font-size:19px;letter-spacing:3px}.announcement small{font-size:10px;line-height:1.8;letter-spacing:.3px;max-width:270px;margin:8px auto 0}.opening{bottom:20%;padding:22px 22px 18px}.opening h1{font-size:29px}.opening>.eyebrow{font-size:8px;letter-spacing:2.3px}.opening>p:not(.eyebrow){font-size:11px}.opening .primary{font-size:12px;min-height:48px;padding:13px}.control-line{font-size:7px;letter-spacing:.8px;margin-top:16px}.control-line i{margin:0 3px}.overlay{padding:18px 16px}.upgrade-dialog{padding:10px 0;max-width:420px}.dialog-crest{height:28px;width:28px;margin-bottom:8px}.upgrade-dialog h1{font-size:28px;margin:6px 0 8px}.upgrade-dialog .eyebrow{font-size:8px;letter-spacing:2px}.dialog-subtitle{font-size:10px;margin-bottom:20px}.upgrade-cards{grid-template-columns:1fr;gap:9px}.upgrade-card{padding:14px 15px 14px 78px;min-height:134px;display:block;position:relative;border-radius:7px}.card-type{font-size:7px;letter-spacing:1.2px;margin:0 0 9px}.card-type>span{display:none}.card-icon{position:absolute;left:3px;top:24px;width:72px;height:78px;margin:0}.card-icon>.icon{width:40px;height:40px}.upgrade-card h2{font-size:21px;margin:0 0 7px}.rank-dots{gap:4px}.rank-dots i{width:6px}.rank-dots>span{font-size:6px}.upgrade-card>p{font-size:10px;line-height:1.6;margin:9px 0 3px;min-height:0}.card-synergy{font-size:7px;min-height:18px;gap:3px}.card-synergy>.icon{width:12px;height:12px}.choose-label{display:none}.reroll{margin-top:12px;font-size:10px}.reroll span{font-size:8px}.menu-dialog{padding:20px 17px;max-height:calc(100dvh - 36px);border-radius:9px}.menu-top{gap:8px}.menu-top h1{font-size:27px;margin:3px 0 16px}.menu-top .eyebrow{font-size:7px;letter-spacing:1.6px}.bank{padding:8px;margin-top:-10px;gap:3px}.bank>span{display:none}.bank>.icon{width:15px}.bank b{font-size:20px}.menu-tabs{gap:22px}.menu-tabs button{font-size:10px;padding:10px 0}.menu-content{min-height:180px}.pause-status{padding:22px 0 15px;gap:12px}.pause-status>.icon{width:32px;height:52px}.pause-status .eyebrow{font-size:7px;letter-spacing:1.7px}.pause-status h2{font-size:25px;margin-bottom:10px}.pause-status h2>small{font-size:9px}.pause-status p{font-size:10px;line-height:1.9}.controls-note{padding:12px 10px;gap:10px;flex-wrap:wrap;margin-bottom:15px}.controls-note>span{font-size:6px;letter-spacing:.6px}.controls-note b{font-size:7px;letter-spacing:0;margin-top:6px}.watch-modes{display:block}.watch-modes>button{width:100%;padding:12px;margin-top:10px}.watch-modes b{font-size:17px}.watch-modes small,.small-note{font-size:8px}.menu-bottom{margin-top:18px;padding-top:15px;gap:4px}.menu-bottom .primary{font-size:9px;padding:11px 12px;gap:10px;min-height:40px}.menu-bottom .primary>.icon{width:15px}.menu-bottom>.text-button{font-size:8px;padding:5px}.shrine-heading{margin:18px 0 13px;display:block}.shrine-heading>p{font-size:15px;line-height:1.5}.shrine-heading>span{font-size:8px;display:block;margin-top:6px}.shrine-grid{grid-template-columns:1fr;gap:8px}.shrine-item{padding:12px;gap:12px}.shrine-symbol>.icon{width:25px}.shrine-item h3{font-size:15px}.shrine-item p{font-size:8px;margin-bottom:8px}.keeper-row{display:block;margin-top:14px}.keeper-card{width:100%;padding:12px;margin-top:8px}.keeper-card b{font-size:16px}.keeper-card small{font-size:8px}.keeper-card em{font-size:7px}.keeper-symbol>.icon{width:29px;height:35px}.journal-summary{gap:4px;margin:20px 0}.journal-summary>span{min-width:80px;font-size:20px}.journal-summary>.icon{width:16px}.journal-summary small{font-size:6px;letter-spacing:.9px;line-height:1.5}.section-label{font-size:7px;letter-spacing:1px}.section-label>span{font-size:6px}.bestiary-grid{grid-template-columns:1fr;gap:7px}.bestiary-entry{padding:10px}.bestiary-entry b{font-size:14px}.bestiary-entry p{font-size:8px}.bestiary-entry>.icon{width:28px}.achievement-grid{grid-template-columns:1fr;gap:5px}.result-dialog{padding:10px 0}.result-crest{height:68px;width:68px;margin-bottom:20px}.result-crest>.icon{width:33px;height:40px}.result-dialog h1{font-size:30px;max-width:300px;margin:8px auto 12px}.result-dialog .eyebrow{font-size:8px;letter-spacing:2px}.result-dialog .dialog-subtitle{font-size:10px;margin-bottom:24px}.result-stats{gap:6px;padding:17px 0}.result-stats b{font-size:27px}.result-stats span{font-size:6px;letter-spacing:1px;max-width:90px;margin:9px auto 0;line-height:1.7}.earned{gap:7px;padding:20px 0 8px}.earned b{font-size:31px}.earned>span{font-size:7px;letter-spacing:1.1px;max-width:100px;line-height:1.6}.unlocked{font-size:8px;padding:10px;gap:10px}.unlocked b{font-size:12px;line-height:1.7}.result-build{padding:9px}.result-dialog>.primary{width:100%;font-size:12px}.result-secondary{gap:12px;margin-top:12px}.result-secondary>.text-button{font-size:9px}.saved-note{font-size:7px;line-height:1.7;max-width:270px;margin:18px auto 0}.toast{font-size:10px;bottom:140px;padding:10px 14px}body[data-mode=paused] .toast{bottom:20px}}@media(max-height:530px)and (min-width:601px){.hud{top:14px;left:22px;right:22px}.brand{font-size:16px;min-width:145px;gap:7px}.brand span{font-size:10px;letter-spacing:4.5px}.brand>.icon{width:28px;height:35px}.watch .eyebrow{font-size:7px;margin-bottom:3px}.watch-time b{font-size:25px}.icon-button{width:33px;height:33px}.icon-button>.icon{width:17px}.vitals{top:72px;left:25px;width:135px}.health-caption{font-size:8px;margin-bottom:5px}.health-caption>.icon{width:11px;height:11px}.health-bar{height:4px}.run-hud{bottom:18px;width:min(580px,calc(100% - 48px))}.build-row{margin-bottom:10px}.weapon-slot{width:31px;height:32px;border-radius:5px}.weapon-slot>.icon{width:20px;height:20px}.weapon-slot>span{font-size:6px}.totem-count>.icon{width:20px;height:27px}.totem-count b{font-size:17px}.totem-note{font-size:6px}.level-badge{font-size:7px}.level-badge b{font-size:12px}.xp-label{font-size:7px}.context-hint{bottom:103px;font-size:8px}.context-hint em{font-size:8px;display:inline;margin-left:8px}.context-hint>.icon{width:18px;height:22px}.gesture .icon{width:18px}.announcement{top:25%}.announcement>span{font-size:16px;letter-spacing:3px}.announcement small{font-size:9px;margin-top:7px}.opening{bottom:26%;width:390px;padding:17px 24px 14px}.opening h1{font-size:25px;margin:4px 0 8px}.opening .eyebrow{font-size:7px;letter-spacing:2px;margin-bottom:5px}.opening>p:not(.eyebrow){font-size:10px;margin-bottom:12px}.opening .primary{min-height:38px;padding:10px;font-size:11px}.control-line{font-size:6px;margin-top:11px}.overlay{padding:12px 20px}.upgrade-dialog{padding:0;width:min(840px,100%)}.dialog-crest{display:none}.upgrade-dialog .eyebrow{font-size:7px;margin-bottom:3px}.upgrade-dialog h1{font-size:26px;margin:2px 0 5px}.dialog-subtitle{font-size:9px;margin-bottom:13px}.upgrade-cards{gap:12px}.upgrade-card{min-height:225px;padding:13px 16px 0}.card-type{font-size:7px;letter-spacing:1px}.card-icon{height:53px;width:90px;margin:4px auto}.card-icon>.icon{height:38px;width:38px}.upgrade-card h2{font-size:21px;margin-bottom:7px}.rank-dots>span{font-size:6px}.upgrade-card>p{font-size:10px;line-height:1.6;margin:9px 0 7px;min-height:33px}.card-synergy{font-size:7px;min-height:21px}.card-synergy>.icon{width:12px;height:12px}.choose-label{margin:8px -16px 0;padding:9px 16px;font-size:7px}.choose-label>.icon{width:14px;height:14px}.reroll{margin-top:9px;font-size:9px;padding:6px}.reroll span{font-size:8px}.menu-dialog{max-height:calc(100dvh - 24px);padding:19px 25px;width:min(740px,100%)}.menu-top h1{font-size:26px;margin-bottom:13px}.menu-top .eyebrow{font-size:7px;margin:0}.bank{padding:7px 10px;margin-top:-8px}.bank b{font-size:19px}.menu-tabs button{padding:8px 0;font-size:10px}.menu-tabs{gap:25px}.menu-content{min-height:100px;max-height:250px}.pause-status{padding:15px 5px;gap:18px}.pause-status>.icon{width:40px;height:40px}.pause-status .eyebrow{font-size:7px;margin-bottom:4px}.pause-status h2{font-size:24px;margin-bottom:7px}.pause-status p{font-size:10px;line-height:1.7}.controls-note{padding:10px 12px;margin-bottom:12px}.controls-note>span{font-size:6px}.controls-note b{font-size:8px;margin-top:5px}.watch-modes>button{padding:10px}.watch-modes b{font-size:16px}.watch-modes small,.small-note{font-size:8px}.menu-bottom{margin-top:12px;padding-top:12px}.menu-bottom .primary{font-size:10px;min-height:35px;padding:9px 15px}.menu-bottom>.text-button{font-size:9px}.shrine-heading{margin:15px 0 12px}.shrine-heading>p{font-size:14px}.shrine-item{padding:12px}.result-dialog{max-width:760px;padding:0;display:grid;grid-template-columns:1fr 1fr;column-gap:38px;align-items:center}.result-crest{display:none}.result-dialog>.eyebrow,.result-dialog>h1,.result-dialog>.dialog-subtitle,.result-stats,.result-build{grid-column:1}.result-dialog>.eyebrow{grid-row:1;font-size:8px;align-self:end;margin-bottom:0}.result-dialog h1{grid-row:2;font-size:29px;margin:10px 0}.result-dialog>.dialog-subtitle{grid-row:3;font-size:10px;margin-bottom:20px}.result-stats{grid-row:4;padding:15px 0}.result-stats b{font-size:25px}.result-stats span{font-size:6px;letter-spacing:.8px}.earned{grid-column:2;grid-row:1/3;padding:15px 0}.earned b{font-size:32px}.earned>span{font-size:7px;max-width:100px;line-height:1.6}.unlocked{grid-column:2;grid-row:3/5;margin:0 0 17px;padding:9px 12px;font-size:8px}.unlocked b{font-size:12px}.unlocked small{font-size:7px}.result-dialog>.primary{grid-column:2;grid-row:5;width:100%;font-size:11px;min-height:42px;padding:12px 17px}.result-build{grid-row:5;margin:8px 0;padding:10px}.result-secondary{grid-column:2;grid-row:6;gap:13px;margin-top:8px}.result-secondary .text-button{font-size:9px}.saved-note{grid-column:1/3;grid-row:7;font-size:7px;margin:10px 0 0}.boss-hud{top:72px;width:230px}.boss-hud>span{font-size:7px}.toast{bottom:105px;font-size:9px;padding:9px 15px}.version{bottom:7px;font-size:6px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}[data-accent=flame]{--accent:#f6b45b}[data-accent=orbit]{--accent:#ffce75}[data-accent=chain]{--accent:#a5ebe1}[data-accent=meteor]{--accent:#ff947b}[data-accent=moth]{--accent:#a8dce9}[data-accent=nova]{--accent:#f9df96}[data-accent=mine]{--accent:#dfb6f1}[data-accent=lance]{--accent:#b9e2be}[data-accent=vigor]{--accent:#f9a993}[data-accent=haste]{--accent:#f6ce84}[data-accent=reach]{--accent:#a4ddcc}[data-accent=luck]{--accent:#d7c2ed}.result-weapon{color:var(--accent)}.toast{bottom:205px}.context-hint{bottom:145px}@media(max-width:700px){.toast{bottom:195px}.context-hint{bottom:128px}}@media(max-height:530px)and (min-width:601px){.toast{bottom:145px}.context-hint{bottom:98px}}body[data-mode=upgrade] .toast,body[data-mode=result] .toast,body[data-mode=ready] .toast{opacity:0;visibility:hidden}.menu-mute{margin-top:-14px;flex-shrink:0}.menu-top>div:first-child{flex:1}@media(max-width:700px){.menu-mute{width:30px;height:31px;margin-top:-10px}.menu-top{gap:7px}.menu-top h1{font-size:25px}.menu-mute .icon{width:16px}}.overlay,.menu-content{touch-action:pan-y}.loading-light{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:22px;background:radial-gradient(ellipse at center,#284342,#102b32);color:#e9c37c}.loading-light>.icon{width:42px;height:58px;stroke-width:1.1;animation:fade .8s alternate infinite}.loading-light>span{font-family:Georgia,serif;font-size:16px;letter-spacing:1px;color:#d0c69f}
