/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.table{display:table}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.rounded{border-radius:.25rem}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}@font-face{font-family:FantasyPixel;src:url(/game/ui/fantasy-pixel.ttf)format("truetype");font-display:swap}:root{--ink:#080b12;--panel:#171923;--panel-2:#21212c;--bone:#e6dfc9;--muted:#9c9a93;--gold:#e0b65a;--gold-bright:#ffe59c;--cyan:#63dfdf;--violet:#aa63d4;--red:#d75b58;--border:#4c4234}*{box-sizing:border-box}html{background:var(--ink);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}body{background:var(--ink);min-width:320px;min-height:100dvh;color:var(--bone);margin:0;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,select{font:inherit}button{color:inherit}button:focus-visible{outline:2px solid var(--gold-bright);outline-offset:3px}img{image-rendering:pixelated}.eyebrow{color:var(--gold);letter-spacing:.16em;text-transform:uppercase;font-family:FantasyPixel,monospace;font-size:12px;line-height:1.5}kbd{color:#f4e9c7;text-align:center;background:#151620;border:1px solid #74654c;border-bottom-width:3px;border-radius:4px;min-width:25px;padding:4px 7px;font-family:FantasyPixel,monospace;font-size:10px}.menu-screen{min-height:100dvh;image-rendering:pixelated;background-color:#090b11;background-image:linear-gradient(#05070db3,#05070ddb),url(/game/world/floor-mix-01.png);background-size:auto,256px 256px;position:relative;overflow:hidden auto}.menu-screen:before{z-index:0;content:"";pointer-events:none;background-image:radial-gradient(circle at 70% 45%,#3a677d3d,#0000 31%),radial-gradient(circle at 20% 85%,#8946222b,#0000 34%),linear-gradient(90deg,#0000008f,#0000 20% 80%,#0000008f),url(/game/world/ambient-occlusion.png);background-position:50%;background-repeat:no-repeat;background-size:auto,auto,auto,cover;position:fixed;inset:0}.menu-screen:after{z-index:0;opacity:.18;content:"";pointer-events:none;background-image:linear-gradient(#0000 50%,#0003 50%);background-size:100% 4px;position:fixed;inset:0}.menu-atmosphere{z-index:0;pointer-events:none;position:fixed;inset:0;overflow:hidden}.torch-glow{filter:blur(4px);background:radial-gradient(circle,#d7763230,#d75a1e0d 42%,#0000 70%);border-radius:50%;width:420px;height:420px;animation:4s ease-in-out infinite alternate torch-pulse;position:absolute}.glow-one{top:-170px;left:12%}.glow-two{animation-delay:-2s;bottom:-210px;right:9%}.menu-enemy{z-index:-1;opacity:.085;filter:saturate(.7);width:110px;position:absolute}.enemy-one{bottom:8%;right:4%;transform:scaleX(-1)}.enemy-two{width:90px;top:26%;left:2%}@keyframes torch-pulse{to{opacity:.72;transform:scale(1.1)}}.menu-header{z-index:4;border-bottom:1px solid #af92593d;grid-template-columns:1fr auto 1fr;align-items:center;width:min(1420px,100% - 64px);height:78px;margin:0 auto;display:grid;position:relative}.brand{color:#f0e1bd;cursor:pointer;letter-spacing:.08em;background:0 0;border:0;justify-self:start;align-items:center;gap:11px;font-family:FantasyPixel,monospace;font-size:17px;display:flex}.brand-mark{width:32px;height:32px;color:var(--gold);background:#15151c;border:1px solid #745f38;place-items:center;display:grid;transform:rotate(45deg);box-shadow:0 0 20px #e0b65a29}.brand-mark:first-letter{transform:rotate(-45deg)}.menu-header nav{align-items:center;gap:8px;display:flex}.menu-header nav button{color:#98978f;cursor:pointer;letter-spacing:.08em;text-transform:uppercase;background:0 0;border:0;padding:12px 16px;font-family:FantasyPixel,monospace;font-size:11px;position:relative}.menu-header nav button:hover,.menu-header nav button.active{color:var(--gold-bright)}.menu-header nav button.active:after{background:var(--gold);height:2px;box-shadow:0 0 8px var(--gold);content:"";position:absolute;bottom:-17px;left:12px;right:12px}.currency-pill{background:#121219db;border:1px solid #463e31;border-radius:4px;justify-self:end;align-items:center;gap:7px;height:38px;padding:0 13px;font-family:FantasyPixel,monospace;font-size:13px;display:flex;box-shadow:inset 0 0 16px #0000005c}.currency-pill img{width:22px;height:22px}.menu-header>.icon-button{position:absolute;right:0}.menu-header>.currency-pill{margin-right:44px}.icon-button{color:#c4bea9;cursor:pointer;background:#15161e;border:1px solid #484134;border-radius:3px;place-items:center;width:35px;height:35px;font-family:FantasyPixel,monospace;display:grid}.home-layout{z-index:2;grid-template-columns:minmax(390px,1fr) minmax(300px,.8fr) minmax(275px,.64fr);align-items:center;gap:clamp(20px,3vw,60px);width:min(1400px,100% - 80px);min-height:calc(100dvh - 132px);margin:0 auto;padding:50px 0 80px;display:grid;position:relative}.hero-copy{max-width:590px}.hero-copy h1{color:#f3ead4;letter-spacing:-.08em;text-shadow:5px 7px #17131a,0 0 40px #e4c4751f;margin:20px 0 22px;font-family:FantasyPixel,monospace;font-size:clamp(66px,7vw,116px);font-weight:400;line-height:.79}.hero-copy h1 em{color:var(--gold);font-style:normal}.lede{color:#b8b4a8;max-width:570px;margin:0 0 24px;font-family:Georgia,serif;font-size:clamp(17px,1.5vw,21px);line-height:1.65}.run-features{color:#8f8c85;letter-spacing:.04em;text-transform:uppercase;flex-wrap:wrap;gap:10px 22px;margin:26px 0;font-size:12px;display:flex}.run-features b{color:#dfcfaa;margin-right:4px;font-family:FantasyPixel,monospace;font-size:12px}.control-line{color:#777871;flex-wrap:wrap;align-items:center;gap:6px;margin-top:16px;font-size:11px;display:flex}.pixel-button{color:#ddd5c0;cursor:pointer;letter-spacing:.04em;text-shadow:2px 2px #131016;text-transform:uppercase;background:0 0;border:13px solid #0000;border-width:13px 32px;border-image:url(/game/ui/button-silver-idle.png) 13 32 fill/13px 32px;min-height:50px;padding:0 14px;font-family:FantasyPixel,monospace;font-size:12px;line-height:1.25;transition:filter .12s,transform .12s;position:relative}.pixel-button:hover:not(:disabled){filter:brightness(1.08);border-image-source:url(/game/ui/button-silver-active.png);transform:translateY(-2px)}.pixel-button:active:not(:disabled){transform:translateY(1px)}.pixel-button:disabled{cursor:wait;filter:grayscale(.6)brightness(.7);opacity:.7}.pixel-button.primary{color:#fff2bb;border-image-source:url(/game/ui/button-gold-idle.png)}.pixel-button.primary:hover:not(:disabled){border-image-source:url(/game/ui/button-gold-active.png)}.descend-button{width:min(440px,100%);min-height:62px;font-size:13px}.hero-stage{isolation:isolate;place-items:center;height:min(620px,67dvh);min-height:430px;display:grid;position:relative}.sigil-ring{z-index:-1;aspect-ratio:1;border:1px solid #cfad5f40;border-radius:50%;width:clamp(260px,30vw,450px);position:absolute;box-shadow:inset 0 0 70px #2f556621,0 0 80px #1f3a451a}.sigil-ring:before,.sigil-ring:after{content:"";border:1px dashed #cfad5f2e;border-radius:50%;position:absolute}.sigil-ring:before{inset:12%}.sigil-ring:after{inset:28%}.ring-back{animation:36s linear infinite ring-spin}.ring-front{border-style:dashed;width:clamp(200px,22vw,330px);animation:28s linear infinite reverse ring-spin}@keyframes ring-spin{to{transform:rotate(360deg)}}.hero-shadow{filter:blur(4px);background:radial-gradient(#000000bf,#0000 70%);border-radius:50%;width:230px;height:48px;position:absolute;bottom:16%}.hero-sprite{object-fit:contain;filter:drop-shadow(10px 14px #00000052)drop-shadow(0 0 20px #5cb3cf1f);width:min(38vw,430px);max-height:74%;animation:2.4s steps(2,jump-none) infinite alternate hero-float}@keyframes hero-float{to{transform:translateY(-7px)}}.hero-nameplate{background:#0d0e14e0;border:1px solid #4d4435;flex-direction:column;align-items:center;gap:5px;min-width:190px;padding:12px 24px;display:flex;position:absolute;bottom:6%;box-shadow:0 10px 35px #00000080}.hero-nameplate span{color:#797a76;letter-spacing:.15em;font-family:FantasyPixel,monospace;font-size:9px}.hero-nameplate strong{color:var(--gold-bright);font-family:FantasyPixel,monospace;font-size:14px;font-weight:400}.descent-card{background:#101117eb;border:0;padding:34px;position:relative;box-shadow:0 22px 50px #00000061,inset 0 0 35px #00000059}.descent-card h2{color:#e8dfc8;min-height:48px;margin:20px 0 6px;font-family:FantasyPixel,monospace;font-size:15px;font-weight:400;line-height:1.45}.descent-card>p{color:#8e8d88;min-height:42px;margin:0 0 20px;font-size:13px;line-height:1.55}.torment-selector{grid-template-columns:repeat(5,1fr);gap:6px;margin-top:16px;display:grid}.torment-selector button{aspect-ratio:1;color:#676863;cursor:pointer;background:#111219;border:1px solid #3c3b39;font-family:FantasyPixel,monospace;font-size:12px}.torment-selector button:hover:not(:disabled),.torment-selector button.selected{color:var(--gold-bright);background:#332a20;border-color:#a37f43;box-shadow:inset 0 0 12px #dda44726}.torment-selector button:disabled{cursor:not-allowed;opacity:.28}.descent-card dl{border-top:1px solid #37342d;gap:10px;margin:0;padding-top:18px;display:grid}.descent-card dl div{color:#898984;justify-content:space-between;font-size:12px;display:flex}.descent-card dd{color:#d2cec2;margin:0;font-family:FantasyPixel,monospace;font-size:10px}.descent-card dd.gold{color:var(--gold)}.menu-footer{z-index:3;color:#575953;letter-spacing:.05em;pointer-events:none;text-transform:uppercase;justify-content:space-between;font-size:10px;display:flex;position:absolute;bottom:17px;left:32px;right:32px}.subscreen,.result-screen{z-index:2;width:min(1280px,100% - 64px);min-height:calc(100dvh - 130px);margin:0 auto;padding:58px 0 90px;position:relative}.section-heading{max-width:720px;margin-bottom:38px}.section-heading h1{color:#ede4ce;letter-spacing:-.04em;margin:10px 0;font-family:FantasyPixel,monospace;font-size:clamp(34px,4vw,58px);font-weight:400}.section-heading p{color:#9b9991;font-family:Georgia,serif;font-size:17px;line-height:1.6}.oath-grid{grid-template-columns:repeat(5,1fr);gap:15px;display:grid}.oath-card{text-align:center;background:#12131bf2;border:0;flex-direction:column;min-height:360px;padding:28px 24px 24px;display:flex;position:relative;box-shadow:0 18px 38px #0000004d}.oath-icon{background:#11131a;border:1px solid #5a4b35;place-items:center;width:72px;height:72px;margin:0 auto 16px;display:grid;transform:rotate(45deg);box-shadow:0 0 30px #c294461a}.oath-icon img{width:42px;transform:rotate(-45deg)}.oath-card>span{color:#766e5e;letter-spacing:.1em;font-family:FantasyPixel,monospace;font-size:9px}.oath-card h2{color:#e5d7b7;min-height:48px;margin:12px 0 5px;font-family:FantasyPixel,monospace;font-size:13px;font-weight:400;line-height:1.45}.oath-card p{color:#8e8d87;min-height:46px;margin:0;font-size:12px;line-height:1.5}.rank-pips{justify-content:center;gap:5px;margin:20px 0;display:flex}.rank-pips i{background:#171820;border:1px solid #4a4438;width:15px;height:5px}.rank-pips i.filled{background:var(--gold);border-color:#ad8747;box-shadow:0 0 6px #e0b65a80}.oath-card>button,.livery-card>button{color:#dac79f;cursor:pointer;text-transform:uppercase;background:0 0;border:10px solid #0000;border-width:10px 24px;border-image:url(/game/ui/button-silver-idle.png) 13 32 fill/10px 24px;justify-content:center;align-items:center;gap:6px;min-height:44px;margin-top:auto;padding:0 7px;font-family:FantasyPixel,monospace;font-size:9px;display:flex}.oath-card>button img{width:18px}.oath-card>button:disabled,.livery-card>button:disabled{cursor:not-allowed;filter:grayscale();opacity:.45}.oath-card>button:hover:not(:disabled),.livery-card>button:hover:not(:disabled){color:var(--gold-bright);border-image-source:url(/game/ui/button-silver-active.png)}.livery-grid{grid-template-columns:repeat(3,minmax(240px,1fr));gap:24px;display:grid}.livery-card{text-align:center;background:#111219f0;border:0;flex-direction:column;min-height:500px;padding:24px;transition:transform .18s,filter .18s;display:flex;position:relative}.livery-card.selected{transform:translateY(-6px);box-shadow:0 15px 45px #00000061,0 0 35px #e0b65a14}.livery-card.locked{filter:grayscale(.9)}.livery-stage{background:radial-gradient(circle, var(--livery-color), transparent 55%), linear-gradient(transparent, #0006), url(/game/world/floor-mix-02.png) center/192px;place-items:center;height:285px;margin-bottom:20px;display:grid}@supports (color:color-mix(in lab, red, red)){.livery-stage{background:radial-gradient(circle, color-mix(in srgb, var(--livery-color) 24%, transparent), transparent 55%), linear-gradient(transparent, #0006), url(/game/world/floor-mix-02.png) center/192px}}.livery-stage{box-shadow:inset 0 0 36px #00000094}.livery-stage img{object-fit:contain;filter:drop-shadow(9px 12px #0006);width:240px;max-height:260px}.livery-card>span{color:var(--gold);letter-spacing:.12em;font-family:FantasyPixel,monospace;font-size:9px}.livery-card h2{color:#e8dec5;margin:12px 0 4px;font-family:FantasyPixel,monospace;font-size:16px;font-weight:400}.livery-card p{color:#a09e96;margin:0 0 5px;font-family:Georgia,serif;font-size:15px}.livery-card small{color:#6f706c;margin-bottom:18px}.records-screen{max-width:960px}.record-grid{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.record-grid>div{background:#111219eb;border:0;flex-direction:column;gap:13px;min-height:130px;padding:28px;display:flex;position:relative}.record-grid span{color:#817f78;letter-spacing:.08em;text-transform:uppercase;font-size:11px}.record-grid strong{color:var(--gold-bright);font-family:FantasyPixel,monospace;font-size:24px;font-weight:400}.last-run{background:#191718f0;border:0;margin-top:18px;padding:30px;position:relative}.last-run>div{flex-wrap:wrap;gap:16px 36px;margin-top:15px;display:flex}.last-run b{color:#d5cbb3;text-transform:uppercase;font-family:FantasyPixel,monospace;font-size:10px;font-weight:400}.text-button{color:#aaa59a;cursor:pointer;text-underline-offset:4px;background:0 0;border:0;padding:9px;text-decoration:underline}.text-button.danger{color:#b36a69}.reset-button{margin-top:25px}.result-screen{text-align:center;flex-direction:column;justify-content:center;align-items:center;max-width:900px;min-height:calc(100dvh - 90px);display:flex}.result-emblem{color:#da7475;filter:drop-shadow(0 0 26px #b2434c3d);background:url(/game/ui/result-medallion.png) 50%/contain no-repeat;border:0;place-items:center;width:128px;height:128px;margin-bottom:24px;font-family:FantasyPixel,monospace;font-size:31px;display:grid}.result-emblem.victory{color:var(--gold-bright);filter:drop-shadow(0 0 30px #e0b65a4d)}.result-screen h1{color:#f0e6ce;margin:13px 0;font-family:FantasyPixel,monospace;font-size:clamp(40px,5vw,66px);font-weight:400}.result-screen>p{color:#99968e;max-width:650px;font-family:Georgia,serif;font-size:18px;line-height:1.6}.result-stats{background:#121218e6;border:0;grid-template-columns:repeat(4,1fr);width:min(760px,100%);margin:30px 0;padding:12px;display:grid;position:relative}.result-stats>div{border-right:1px solid #39362f;flex-direction:column;gap:10px;padding:19px 15px;display:flex}.result-stats>div:last-child{border-right:0}.result-stats span{color:#74746f;letter-spacing:.09em;text-transform:uppercase;font-size:10px}.result-stats strong{color:#ded3b8;font-family:FantasyPixel,monospace;font-size:14px;font-weight:400}.result-stats .reward strong{color:var(--gold-bright);justify-content:center;align-items:center;gap:7px;display:flex}.result-stats img{width:22px}.unlock-toast{flex-wrap:wrap;justify-content:center;gap:9px;margin-bottom:24px;display:flex}.unlock-toast span{color:var(--gold-bright);background:#2c2419;border:1px solid #695638;padding:9px 14px;font-family:FantasyPixel,monospace;font-size:9px}.result-actions{gap:12px;display:flex}.game-screen{touch-action:none;-webkit-user-select:none;user-select:none;background:#03050a;place-items:center;display:grid;position:fixed;inset:0;overflow:hidden}.game-canvas{object-fit:contain;width:100vw;height:100dvh;image-rendering:pixelated;outline:0}.game-hud{z-index:3;pointer-events:none;position:absolute;inset:0}.hud-top{top:max(18px, env(safe-area-inset-top));grid-template-columns:1fr auto 1fr;align-items:start;display:grid;position:absolute;left:24px;right:24px}.health-cluster{filter:drop-shadow(0 5px 8px #00000085);background:url(/game/ui/hud-bar.png) 50%/100% 100% no-repeat;align-items:center;width:min(350px,34vw);min-height:64px;padding:13px 22px 12px 72px;display:flex;position:relative}.portrait-frame{background:0 0;border:0;place-items:center;width:48px;height:48px;display:grid;position:absolute;top:8px;left:10px}.portrait-frame img{width:41px;height:41px}.health-cluster>div:last-child{flex:1;min-width:0}.hud-label{color:#d7ccb1;text-shadow:2px 2px #000;justify-content:space-between;margin-bottom:5px;font-family:FantasyPixel,monospace;font-size:9px;display:flex}.hud-label b{font-weight:400}.bar{background:#111118;border:1px solid #171119;height:9px;padding:1px;box-shadow:inset 0 0 3px #000}.bar i{height:100%;transition:width .16s;display:block}.bar.health i{background:linear-gradient(#e57168,#9c373b);box-shadow:inset 0 2px #ffffff2b}.phase-cluster{text-shadow:2px 2px #000;filter:drop-shadow(0 5px 8px #0000008c);background:url(/game/ui/title-gold.png) 50%/100% 100% no-repeat;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-width:250px;min-height:63px;padding:8px 36px 11px;display:flex}.phase-cluster span{color:#aaa18d;letter-spacing:.12em;font-family:FantasyPixel,monospace;font-size:9px}.phase-cluster strong{color:#f1e6ca;font-family:FantasyPixel,monospace;font-size:20px;font-weight:400}.phase-cluster b{color:var(--gold);font-family:FantasyPixel,monospace;font-size:9px;font-weight:400}.hud-actions{pointer-events:auto;justify-self:end;gap:6px;display:flex}.hud-actions button{color:#d7d0bf;cursor:pointer;background:#0f1016db;border:1px solid #5a5142;place-items:center;width:38px;height:38px;font-family:FantasyPixel,monospace;display:grid}.xp-bar{background:#000000bf;height:5px;position:absolute;top:0;left:0;right:0}.xp-bar i{background:linear-gradient(90deg,#338f93,#67e3d7);height:100%;transition:width .15s;display:block;box-shadow:0 0 10px #4bc1c2}.xp-bar span{color:#7bd9d2;text-shadow:1px 1px #000;font-family:FantasyPixel,monospace;font-size:8px;position:absolute;top:8px;left:50%;transform:translate(-50%)}.boss-bar{text-align:center;width:min(520px,65vw);position:absolute;top:88px;left:50%;transform:translate(-50%)}.boss-bar span{color:#dc9cf0;letter-spacing:.15em;text-shadow:2px 2px #000;margin-bottom:5px;font-family:FantasyPixel,monospace;font-size:10px;display:block}.boss-bar>div{background:#000000c7;border:1px solid #655069;height:10px;padding:2px}.boss-bar i{background:linear-gradient(90deg,#7c3594,#d06ee9);height:100%;display:block;box-shadow:0 0 12px #ac52cd}.hud-bottom{right:24px;bottom:max(20px, env(safe-area-inset-bottom));align-items:end;gap:12px;display:flex;position:absolute;left:24px}.hud-stat{text-shadow:2px 2px #000;background:#0c0d13cc;border:1px solid #4a453c;flex-direction:column;min-width:75px;padding:10px 13px;display:flex}.hud-stat span{color:#777872;font-family:FantasyPixel,monospace;font-size:8px}.hud-stat strong{color:#e4dcc6;margin-top:5px;font-family:FantasyPixel,monospace;font-size:15px;font-weight:400}.hud-stat.relic{padding-left:41px;position:relative}.hud-stat.relic img{width:22px;position:absolute;top:15px;left:12px}.hud-stat.relic strong{color:var(--gold-bright)}.ability-slots{gap:8px;margin-left:auto;display:flex}.ability-slots>div{background:#0c0d13db;border:1px solid #544b3b;grid-template-columns:auto 1fr;align-items:center;gap:5px 8px;min-width:118px;padding:9px 12px;display:grid;position:relative}.ability-slots kbd{background:url(/game/ui/ability-slot.png) 50%/100% 100% no-repeat;border:0;grid-row:span 2;place-items:center;width:37px;height:37px;padding:0;display:grid}.ability-slots span{color:#aaa38f;font-family:FantasyPixel,monospace;font-size:8px}.ability-slots b{color:#e3d5b3;font-family:FantasyPixel,monospace;font-size:10px;font-weight:400}.ability-slots .cooling:after{content:"";background:#06070b85;position:absolute;inset:0}.modal-scrim{z-index:10;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:radial-gradient(circle,#1716224d,#030408e0);place-items:center;padding:24px;display:grid;position:fixed;inset:0}.pixel-modal{text-align:center;background:#13131bfa;border:0;width:min(560px,100%);padding:48px;position:relative;box-shadow:0 30px 80px #000000a6,inset 0 0 50px #0000005c}.pixel-modal h2,.level-modal h2{color:#eee3c8;margin:12px 0;font-family:FantasyPixel,monospace;font-size:clamp(28px,5vw,44px);font-weight:400}.pixel-modal p{color:#aaa69b;font-family:Georgia,serif;font-size:17px;line-height:1.55}.pause-modal .pixel-button{width:250px;margin:17px auto 3px}.pause-modal .text-button{margin:7px auto 0;display:block}.seal-icon{width:72px;height:72px;color:var(--gold-bright);background:#2a2117;border:1px solid #9a7740;place-items:center;margin:0 auto 23px;font-family:FantasyPixel,monospace;font-size:27px;display:grid;transform:rotate(45deg);box-shadow:0 0 35px #e0b65a33}.extraction-value{background:#090a0f8c;border:1px solid #4b4235;flex-direction:column;gap:7px;margin:24px 0;padding:17px;display:flex}.extraction-value>span,.extraction-value small{color:#797870;font-family:FantasyPixel,monospace;font-size:9px}.extraction-value strong{color:var(--gold-bright);justify-content:center;align-items:center;gap:8px;font-family:FantasyPixel,monospace;font-size:24px;font-weight:400;display:flex}.extraction-value img{width:28px}.modal-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.pixel-button.risk b{color:#7ce9e0;margin-left:6px;font-weight:400}.level-scrim{overflow:auto}.level-modal{text-align:center;width:min(860px,100%);padding:30px 20px}.level-modal h2{filter:drop-shadow(0 7px 10px #00000080);background:url(/game/ui/title-gold.png) 50%/100% 100% no-repeat;justify-content:center;align-items:center;min-width:min(330px,90vw);min-height:72px;margin-bottom:24px;padding:12px 48px 17px;font-size:clamp(22px,4vw,31px);display:inline-flex}.upgrade-grid{grid-template-columns:repeat(3,190px);justify-content:center;gap:22px;display:grid}.upgrade-card{color:#efe7d1;cursor:pointer;background:0 0;border:0;width:190px;height:294px;padding:0;transition:transform .16s,filter .16s;position:relative}.upgrade-card:hover,.upgrade-card:focus-visible{filter:brightness(1.15);transform:translateY(-8px)scale(1.025)}.card-frame{z-index:0;width:190px;height:294px;position:absolute;inset:0}.upgrade-icon{z-index:1;filter:drop-shadow(3px 4px #17131b);width:62px;height:62px;position:absolute;top:65px;left:50%;transform:translate(-50%)}.upgrade-card .rarity{z-index:1;color:#a8a39a;letter-spacing:.13em;text-transform:uppercase;font-family:FantasyPixel,monospace;font-size:8px;position:absolute;top:137px;left:50%;transform:translate(-50%)}.upgrade-card strong{z-index:1;color:#f3e7c5;text-overflow:ellipsis;white-space:nowrap;font-family:FantasyPixel,monospace;font-size:11px;font-weight:400;line-height:1.2;position:absolute;top:53%;left:22px;right:22px;overflow:hidden}.upgrade-card p{z-index:1;color:#d3c9af;-webkit-line-clamp:3;-webkit-box-orient:vertical;max-height:13%;margin:0;font-size:9.5px;line-height:1.22;display:-webkit-box;position:absolute;top:74.3%;left:24px;right:24px;overflow:hidden}.key-hint{z-index:2;width:24px;height:24px;color:var(--gold-bright);background:#16151b;border:1px solid #8d7449;place-items:center;font-family:FantasyPixel,monospace;font-size:9px;display:grid;position:absolute;top:14px;right:13px}.descent-card:after,.pixel-modal:after,.livery-card.selected:after{z-index:3;content:"";pointer-events:none;border:32px solid #0000;border-image:url(/game/ui/panel-gold-frame.png) 32/27px;position:absolute;inset:0}.oath-card:after,.livery-card:after,.record-grid>div:after{z-index:3;content:"";pointer-events:none;border:32px solid #0000;border-image:url(/game/ui/panel-silver-frame.png) 32/24px;position:absolute;inset:0}.livery-card.selected:after{border-image-source:url(/game/ui/panel-gold-frame.png)}.last-run:after,.result-stats:after{z-index:3;content:"";pointer-events:none;border:32px solid #0000;border-image:url(/game/ui/panel-scroll.png) 32/25px;position:absolute;inset:0}.touch-controls{z-index:5;right:18px;bottom:max(18px, env(safe-area-inset-bottom));pointer-events:none;justify-content:space-between;align-items:end;display:none;position:absolute;left:18px}.touch-stick{pointer-events:auto;touch-action:none;background:#0a0b1054;border:2px solid #cabe9f47;border-radius:50%;width:130px;height:130px;position:relative;box-shadow:inset 0 0 28px #00000059}.touch-stick:before,.touch-stick:after{content:"";background:#d8cca821;position:absolute}.touch-stick:before{height:1px;top:50%;left:18px;right:18px}.touch-stick:after{width:1px;top:18px;bottom:18px;left:50%}.touch-stick i{z-index:1;background:#685b40b8;border:1px solid #e7d9b18c;border-radius:50%;width:42px;height:42px;position:absolute;top:43px;left:43px;box-shadow:0 4px 12px #00000080}.touch-actions{pointer-events:auto;align-items:end;gap:14px;display:flex}.touch-actions button{color:#ead69e;touch-action:manipulation;background:#211c18b8;border:2px solid #c6ae776e;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;gap:3px;width:74px;height:74px;font-family:FantasyPixel,monospace;font-size:21px;display:flex;box-shadow:0 5px 18px #0006}.touch-actions button.super{color:#85eef0;background:#142a30b3;border-color:#74d3dc80;width:88px;height:88px}.touch-actions small{font-size:7px}@media (width<=1100px){.home-layout{grid-template-columns:1.1fr .75fr}.descent-card{grid-column:1/-1;grid-template-columns:1fr 1fr;align-items:start;gap:8px 24px;display:grid}.descent-card .eyebrow,.descent-card .torment-selector{grid-column:1}.descent-card h2,.descent-card>p,.descent-card dl{grid-column:2}.descent-card h2{grid-row:1}.descent-card>p{grid-row:2/span 2}.descent-card dl{grid-row:4}.oath-grid{grid-template-columns:repeat(3,1fr)}}@media (width<=760px){.menu-screen{overflow-x:hidden}.menu-header{grid-template-columns:1fr auto;width:calc(100% - 28px);height:66px}.menu-header nav{z-index:8;background:#0a0b10f5;border-top:1px solid #36332c;justify-content:center;height:56px;position:fixed;bottom:0;left:0;right:0}.menu-header nav button.active:after{bottom:-6px}.brand{font-size:13px}.brand-mark{width:27px;height:27px}.currency-pill{height:34px}.menu-header>.icon-button{display:none}.home-layout{flex-direction:column;width:calc(100% - 32px);padding:44px 0 95px;display:flex}.hero-copy{text-align:center;order:1}.hero-copy h1{font-size:clamp(62px,22vw,92px)}.lede{font-size:17px}.run-features,.control-line{justify-content:center}.hero-stage{order:0;width:100%;height:36dvh;min-height:270px}.hero-sprite{width:270px;max-height:84%}.hero-shadow{bottom:9%}.hero-nameplate{bottom:0}.descent-card{text-align:left;order:2;width:100%;display:block}.descent-card h2,.descent-card>p{min-height:0}.menu-footer{display:none}.subscreen{width:calc(100% - 28px);padding:38px 0 90px}.section-heading{text-align:center}.oath-grid,.livery-grid{grid-template-columns:1fr}.oath-card{min-height:330px}.record-grid{grid-template-columns:repeat(2,1fr)}.result-screen{width:calc(100% - 28px);padding-bottom:80px}.result-stats{grid-template-columns:repeat(2,1fr)}.result-stats>div:nth-child(2){border-right:0}.result-stats>div:nth-child(-n+2){border-bottom:1px solid #39362f}.result-actions{flex-direction:column;width:100%}.hud-top{top:10px;left:10px;right:10px}.health-cluster{width:48vw;min-height:54px;padding:10px 14px 10px 54px}.portrait-frame{display:none}.phase-cluster{min-width:150px;min-height:54px;padding:5px 20px 9px}.phase-cluster span{font-size:7px}.phase-cluster strong{font-size:15px}.hud-actions button{width:32px;height:32px}.hud-bottom{bottom:8px;left:12px;right:12px}.ability-slots{display:none}.hud-stat{padding:7px 10px}.boss-bar{width:75vw;top:68px}.touch-controls{display:flex}.upgrade-grid{grid-template-columns:repeat(3,150px);gap:8px}.upgrade-card,.card-frame{width:150px;height:233px}.upgrade-icon{width:48px;height:48px;top:50px}.upgrade-card .rarity{top:107px}.upgrade-card strong{font-size:9px;top:52%;left:18px;right:18px}.upgrade-card p{max-height:13%;font-size:8px;inset:74.3% 20px auto}.modal-actions{grid-template-columns:1fr}}@media (width<=520px){.hud-top{grid-template-columns:minmax(0,35vw) 118px auto}.health-cluster{width:35vw;min-height:50px;padding:8px}.hud-label{gap:4px;font-size:7px}.phase-cluster{min-width:118px;min-height:50px;padding:5px 9px 8px}.phase-cluster strong{font-size:12px}.hud-actions{gap:3px}.hud-actions button{width:28px;height:28px}.upgrade-grid{grid-template-columns:1fr}.upgrade-card,.card-frame{width:176px;height:273px}.upgrade-icon{width:56px;height:56px;top:59px}.upgrade-card .rarity{top:126px}.upgrade-card strong{font-size:10px;top:50%}.upgrade-card p{max-height:13%;font-size:9px;top:74.3%;bottom:auto}.level-modal{padding-bottom:50px}.control-line{display:none}}@media (pointer:coarse){.touch-controls{display:flex}.ability-slots{display:none}}@media (orientation:landscape) and (pointer:coarse){.hud-bottom{bottom:12px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
