@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500;1,600&family=Space+Grotesk:wght@400;500;600&display=swap');
:root{--bg:#100e12;--panel:#18151b;--ink:#e7dfce;--muted:#968d91;--line:#383039;--red:#cd4a40;--copper:#cf9c68;--green:#b0c8a2;color-scheme:dark;font-family:'Space Grotesk',Arial,sans-serif;font-size:14px;background:var(--bg);color:var(--ink)}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 50% 24%,#26192066,transparent 60%),var(--bg)}button,a,input{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.4}button:focus-visible,a:focus-visible,input:focus-visible,canvas:focus-visible{outline:2px solid var(--copper);outline-offset:5px}button:hover:not(:disabled){filter:brightness(1.15)}button{transition:background .18s,border-color .18s,filter .18s}button[hidden],[hidden]{display:none!important}.arcade{max-width:1240px;margin:auto;padding:0 42px 25px}.masthead{height:101px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:24px}.brand{display:flex;align-items:center;gap:16px;color:var(--ink);text-decoration:none}.brand img{object-fit:contain;filter:invert(90%) sepia(10%);width:65px;height:32px}.brand>span{font-size:13px;letter-spacing:.2em;font-weight:500}.brand small{display:block;color:var(--muted);font-size:8px;letter-spacing:.24em;margin-top:6px}.edition{display:flex;align-items:center;gap:8px;font:10px/1.5 ui-monospace,monospace;letter-spacing:.09em;color:var(--muted)}.edition-dot{height:4px;width:4px;background:var(--red);border-radius:50%}.top-actions{display:flex;align-items:center;gap:10px}.top-actions button{background:transparent;border:1px solid var(--line);height:34px;min-width:36px;padding:0 12px;font:9px ui-monospace,monospace;letter-spacing:.08em}.top-actions #sound span{margin-left:10px;color:var(--muted)}.top-actions #sound[aria-pressed=true] span{color:var(--green)}.top-actions #pause{font-size:17px}.title-row{display:flex;align-items:end;justify-content:space-between;gap:24px;padding:33px 0 26px}.eyebrow{font:9px/1.5 ui-monospace,monospace;letter-spacing:.2em;color:var(--copper);margin:0 0 6px}h1{font:500 clamp(42px,6.8vw,82px)/.95 'Cormorant Garamond',Georgia,serif;letter-spacing:-.045em;margin:0}h1 em{font-weight:500;color:var(--red);font-style:italic}.title-star{color:var(--copper);font-size:.58em;vertical-align:top;margin-left:22px}.tagline{font-size:12px;line-height:1.75;color:var(--muted);margin:0 0 2px;text-align:right}.game-shell{border:1px solid var(--line);background:var(--panel);box-shadow:0 18px 65px #0004}.hud{height:72px;padding:0 24px;display:flex;align-items:center;gap:32px}.hud-room{flex:1;min-width:0}.hud-label{display:block;font:8px/1.4 ui-monospace,monospace;letter-spacing:.15em;color:var(--muted);margin-bottom:6px}.hud strong{font:500 12px/1.3 'Space Grotesk',Arial,sans-serif;letter-spacing:.04em;white-space:nowrap}.hud-score strong,.best strong{font-variant-numeric:tabular-nums;font-family:ui-monospace,monospace}.hud-stat{text-align:right}.hud #health{color:var(--red);font-size:13px;letter-spacing:1px;white-space:nowrap}.viewport{position:relative;aspect-ratio:16/10;overflow:hidden;background:#16151a;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}#game{display:block;width:100%;height:100%;image-rendering:pixelated;touch-action:none;outline-offset:-3px}.scanlines{position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(transparent 0px,transparent 3px,#00000016 3px,#00000016 4px);opacity:.46}.corner-label{position:absolute;top:18px;left:20px;font:8px/1.7 ui-monospace,monospace;letter-spacing:.14em;color:#d7c6b083;pointer-events:none}.corner-label span{color:#bca58a65}.overlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:28px;background:linear-gradient(90deg,#0d0b11b8,#160e15b0,#0d0b11b8);backdrop-filter:blur(1px)}.overlay-seal{font:48px/1 Georgia,serif;color:var(--copper);margin-bottom:11px;text-shadow:0 0 30px #d69f5f55}.overlay .eyebrow{font-size:8px;color:#c49b79}.overlay h2{font:500 clamp(38px,6vw,70px)/.9 'Cormorant Garamond',Georgia,serif;letter-spacing:-.025em;margin:9px 0 18px}.overlay h2 em{font-weight:500;color:#e5a18b}.overlay>p:not(.eyebrow){max-width:365px;color:#b6a8a8;font-size:12px;line-height:1.7;margin:0 0 24px}.primary{border:1px solid #e8af7b6b;padding:15px 23px;background:#a04b35;color:#fbecda;font:500 10px/1.4 'Space Grotesk',sans-serif;letter-spacing:.1em;box-shadow:0 4px 22px #0007}.primary span{margin-left:22px}.overlay-note{font:8px/1.7 ui-monospace,monospace;letter-spacing:.1em;color:#96878c;margin-top:17px}.text-button{border:0;background:transparent;color:var(--muted);font-size:9px;letter-spacing:.1em;padding:12px}.objective{position:absolute;bottom:16px;left:20px;right:20px;display:flex;align-items:center;gap:8px;pointer-events:none;font:9px/1.5 ui-monospace,monospace;letter-spacing:.02em;text-shadow:0 1px 5px #000;color:#d6c0a5}.objective-diamond{font-size:8px;color:var(--copper)}#toast{position:absolute;top:22%;left:50%;transform:translateX(-50%);padding:10px 18px;background:#16101dec;color:#ead9b4;border-top:1px solid var(--copper);font-size:12px;text-align:center;max-width:90%;pointer-events:none;z-index:2}.game-bottom{display:flex;align-items:center;gap:20px;min-height:71px;padding:12px 24px}.spell-label{display:flex;align-items:center;gap:12px;font-size:10px;letter-spacing:.09em}.rune{display:grid;place-items:center;font:30px Georgia,serif;color:var(--copper);width:35px;height:35px;border:1px solid #b083554d;transform:rotate(8deg)}.spell-label small{display:block;font:8px ui-monospace,monospace;color:var(--muted);letter-spacing:.09em;margin-top:7px}.keyboard-hint{display:flex;align-items:center;gap:4px;margin:auto;font-size:9px;color:var(--muted)}kbd{border:1px solid var(--line);border-bottom-width:2px;min-width:19px;height:21px;display:inline-grid;place-items:center;border-radius:3px;font:9px ui-monospace,monospace;color:#baaeb8}.keyboard-hint span{margin-left:5px}.keyboard-hint i{width:12px}.best{font:8px ui-monospace,monospace;color:var(--muted);white-space:nowrap}.best strong{color:var(--ink);margin-left:8px;font-size:11px}.page-footer{display:flex;justify-content:space-between;gap:18px;align-items:center;padding-top:21px;color:#867984;font:8px/1.6 ui-monospace,monospace;letter-spacing:.07em}.page-footer>span i{font-style:normal;color:var(--copper);padding:0 10px}.music-tools{display:flex;align-items:center;gap:16px;min-width:0}.music-tools>span{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.music-tools button{font:8px/1.4 ui-monospace,monospace;color:var(--copper);background:none;border:none;padding:6px 0;white-space:nowrap}#custom-audio{display:none}.boss-bar{position:absolute;top:21px;left:27%;right:27%;pointer-events:none;text-align:center}.boss-bar>span{font:8px ui-monospace,monospace;letter-spacing:.15em;color:#dac3b0}.boss-bar>div{height:4px;background:#2d1d23;margin-top:8px}.boss-bar i{height:100%;width:100%;background:#be6049;display:block;transition:width .15s}.touch-controls{display:none;align-items:center;justify-content:space-between;padding:17px 0 0;gap:18px;touch-action:none}.dpad{display:grid;grid-template-columns:repeat(3,44px);grid-template-rows:repeat(2,44px);gap:4px}.dpad button{border:1px solid var(--line);background:#201a24;font-size:20px;touch-action:none;user-select:none}.dpad button:first-child{grid-column:2}.dpad button:nth-child(2){grid-column:1;grid-row:2}.dpad button:nth-child(3){grid-column:2;grid-row:2}.dpad button:nth-child(4){grid-column:3;grid-row:2}.dpad button:active{background:#51342e}.nova-touch{width:78px;height:78px;border-radius:50%;border:1px solid #b0835566;background:#42281e;font:27px Georgia,serif;touch-action:none}.nova-touch span{display:block;font:8px ui-monospace,monospace;letter-spacing:.1em;margin-top:3px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(pointer:coarse){.touch-controls{display:flex}.keyboard-hint{display:none}.top-actions button{height:42px}.music-tools button{min-height:44px}.game-bottom{justify-content:space-between}}
@media(max-width:800px){.arcade{padding:0 20px 20px}.masthead{height:83px}.edition{display:none}.title-row{padding:28px 0 22px}.tagline{font-size:10px}.hud{gap:22px;padding:0 17px;height:66px}.hud strong{font-size:10px}.hud-label{font-size:7px}.hud #health{font-size:11px}.game-bottom{padding:12px 17px}.keyboard-hint{display:none}.best{margin-left:auto}.page-footer{align-items:start}.page-footer>span{max-width:45%}.music-tools{flex-direction:column;align-items:end;gap:4px}.overlay h2{font-size:48px}.overlay-seal{font-size:36px}.overlay>p:not(.eyebrow){max-width:310px;font-size:11px;margin-bottom:18px}.overlay-note{font-size:7px;margin-top:12px}.corner-label{left:15px;top:13px}.objective{left:15px;bottom:11px;font-size:8px}.boss-bar{top:15px}}
@media(max-width:540px){.touch-controls{display:flex}.arcade{padding:0 12px 18px}.masthead{height:72px;gap:12px}.brand{gap:10px}.brand img{width:43px;height:23px}.brand>span{font-size:10px;letter-spacing:.12em}.brand small{font-size:6px;margin-top:4px}.top-actions{gap:7px}.top-actions button{padding:0 8px;font-size:8px}.top-actions #sound span{margin-left:5px}.top-actions #pause{padding:0 7px}.title-row{padding:24px 0 19px}.title-row h1{font-size:45px}.title-star{margin-left:12px}.eyebrow{font-size:7px}.tagline{display:none}.hud{height:77px;gap:11px;flex-wrap:wrap;padding:10px 12px}.hud-room{flex-basis:100%;display:flex;align-items:center;justify-content:space-between}.hud-room .hud-label{margin-bottom:0}.hud-room strong{font-size:9px}.hud-stat{text-align:left}.hud-stat .hud-label{display:inline-block;margin:0 7px 0 0;font-size:6px}.hud #health{font-size:10px}.hud-score{margin-left:auto}.hud-score .hud-label{display:none}.hud strong{font-size:10px}.viewport{aspect-ratio:4/5}.viewport #game{object-fit:cover}.corner-label{font-size:6px;top:11px;left:12px}.overlay{padding:22px 17px}.overlay .eyebrow{font-size:7px}.overlay h2{font-size:49px;margin:10px 0 17px}.overlay>p:not(.eyebrow){font-size:11px;line-height:1.8;max-width:270px;margin-bottom:23px}.overlay-note{font-size:6px}.primary{padding:14px 17px;font-size:9px}.objective{font-size:7px;left:12px;right:12px;bottom:12px}.game-bottom{min-height:65px;padding:10px 12px}.spell-label{font-size:9px;gap:9px}.rune{font-size:24px;width:29px;height:29px}.spell-label small{font-size:7px}.best{font-size:7px}.best strong{font-size:10px;margin-left:5px}.page-footer{padding-top:19px;font-size:7px;gap:14px}.page-footer>span{max-width:44%;line-height:1.9}.page-footer>span i{padding:0 4px}.music-tools>span{max-width:160px;font-size:6px}.music-tools button{font-size:7px}.boss-bar{left:21%;right:21%;top:13px}.boss-bar>span{font-size:6px}}
@media(max-width:350px){.title-row h1{font-size:39px}.hud{gap:8px}.hud-stat .hud-label{margin-right:3px}.hud #health{font-size:9px}.overlay h2{font-size:44px}.page-footer>span{display:none}.music-tools{align-items:start;max-width:100%}.music-tools>span{max-width:260px}.page-footer{justify-content:space-between}.best strong{margin-left:0;display:block;margin-top:5px}.hud #health{letter-spacing:0}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}.scanlines{opacity:.15}}
