:root{font-family:Arial,Helvetica,sans-serif;color:#c6bca9;background:#101217;font-synthesis:none;--gold: #b9a17a;--muted: #7c7d80;--line: #5b514344}*{box-sizing:border-box}body{margin:0;min-height:100vh;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at 65% 30%,#25242a 0,#111318 55%,#0b0e13)}button,input{font:inherit}button{cursor:pointer}#shell{width:min(1440px,96vw);padding:0 24px}#shell:fullscreen{width:100vw;height:100vh;background:#101217;display:flex;flex-direction:column;justify-content:center}.shell-header,footer{display:flex;align-items:center;justify-content:space-between;font-size:10px;letter-spacing:1.8px;height:66px;color:#71737b}.shell-header .brand-mark{font-family:Georgia,serif;color:#c0aa83;font-size:15px;letter-spacing:3px}.shell-header i,footer i{display:inline-block;width:3px;height:3px;background:#987e58;margin:0 10px;vertical-align:middle}.edition{font-size:9px;color:#575c66}footer{height:60px;font-size:9px;letter-spacing:1.25px}footer b{font-weight:400;color:#9b9488;margin-right:12px}#stage{position:relative;aspect-ratio:16/9;width:100%;border:1px solid #62574966;box-shadow:0 30px 100px #0009;overflow:hidden;background:#141b24;container-type:inline-size}#game{position:absolute;inset:0}#game canvas{display:block;width:100%!important;height:100%!important;image-rendering:pixelated}#interface{position:absolute;inset:0;pointer-events:none}#storage-warning{position:absolute;bottom:8%;left:20%;right:20%;color:#edbd8d;font-size:12px;text-align:center;pointer-events:none;background:#161922bb}.screen{position:absolute;inset:0;pointer-events:auto}.title-screen{background:linear-gradient(90deg,#10151bf5,#10151bed 28%,#10151b91,#10151b00 78%),linear-gradient(0deg,#0c111ccc,transparent 24%)}.title-copy{position:absolute;left:8%;top:9%;width:51%}.eyebrow{font-size:clamp(8px,.82cqw,13px);letter-spacing:.24em;color:var(--gold);display:flex;align-items:center;gap:12px}.eyebrow>span{display:block;width:30px;height:1px;background:var(--gold)}.crest{font-size:3cqw;color:var(--gold);margin-top:1.1cqw;margin-left:15cqw;line-height:1}h1{font-family:Georgia,Times New Roman,serif;font-size:5.5cqw;letter-spacing:.09em;color:#d3bf99;font-weight:400;margin:.1cqw 0 .8cqw;text-shadow:0 2px 0 #3d3024,0 6px 24px #0008;line-height:1.2}.tagline{font-family:Georgia,serif;font-size:1.14cqw;line-height:1.7;color:#a4a1a0;margin:0 0 2.4cqw;letter-spacing:.06em}.menu-list{width:25cqw;display:flex;flex-direction:column;gap:.15cqw}button{border:none;background:none;color:#c1b8a5;text-align:left;padding:1.1cqw 1.3cqw;letter-spacing:.14em;font-size:.88cqw;min-height:32px;display:flex;justify-content:space-between;align-items:center;border:1px solid transparent;transition:background .15s,border-color .15s,color .15s}button:hover:not(:disabled),button:focus-visible{background:linear-gradient(90deg,#a388542b,#a3885408);border-color:#a38d5859;color:#ead4a7;outline:none}.menu-list button:first-child{background:linear-gradient(90deg,#a388542b,#a3885408);border-color:#a38d5859;color:#dfc797}.button-arrow{color:#a88f66;font-size:1.2em}button:disabled{color:#62636c;cursor:default}button:disabled .button-arrow{visibility:hidden}.chapter-note{font-size:.65cqw;letter-spacing:.17em;color:#c0a57a;margin-top:2.5cqw}.chapter-note span{display:block;margin-top:.6cqw;margin-left:1cqw;color:#6d727a;font-size:.56cqw}.scene-caption{position:absolute;right:6%;bottom:7%;text-align:right}.scene-caption>span{font-size:.65cqw;letter-spacing:.2em;color:#a9906c}.scene-caption p{font-size:1cqw;font-style:italic;font-family:Georgia,serif;color:#a8a6a2}.corner{position:absolute;width:24px;height:24px;border-color:#a58c5866;border-style:solid;pointer-events:none}.top-left{left:2%;top:3%;border-width:1px 0 0 1px}.bottom-right{right:2%;bottom:3%;border-width:0 1px 1px 0}.modal-screen{background:#0d121ce8;display:flex;align-items:center;justify-content:center;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal{width:35cqw;max-height:94%;overflow:auto;text-align:center;padding:2.5cqw;border:1px solid #87714a66;background:linear-gradient(155deg,#25262caa,#121821cc);box-shadow:0 20px 100px #0008}.modal .eyebrow{justify-content:center;font-size:.65cqw}.modal h2,.collection-screen h2{font-family:Georgia,serif;font-size:3cqw;color:#cfbc99;font-weight:400;line-height:1.15;margin:1.2cqw 0 2cqw}.modal p{font-size:.95cqw;line-height:1.7;color:#92949a}.modal button{width:100%;margin-top:.35cqw;border-bottom:1px solid #b79e6a22}.wide{width:48cqw}.muted{color:#8b8c92;font-size:.88cqw;line-height:1.6}.control-grid{display:grid;grid-template-columns:1fr 1fr;text-align:left;gap:1.3cqw 2cqw;margin-bottom:2cqw}.control-grid>div{display:flex;align-items:center;gap:.8cqw;font-size:.87cqw}kbd{display:inline-block;background:#171e29;border:1px solid #74684b88;color:#c3ad85;box-shadow:0 2px #070b12;border-radius:2px;padding:.35cqw .5cqw;font-family:monospace;font-size:.8cqw;white-space:nowrap}.control-grid kbd{min-width:5.7cqw;text-align:center}.slider-label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:1cqw;margin:2cqw 0}input[type=range]{accent-color:#a78b5d;width:13cqw}.collection-screen{background:#111723f2;padding:3cqw 7cqw}.collection-screen h2{margin:1cqw 0 .8cqw}.level-grid{display:grid;grid-template-columns:1fr 1fr;gap:.7cqw 1.4cqw;margin-top:1.8cqw}.level-card{border:1px solid #81735444;padding:1cqw;gap:1cqw;justify-content:flex-start}.level-card .roman{font-family:Georgia,serif;font-size:1.6cqw;color:#9c8158}.level-card strong{font-family:Georgia,serif;font-size:1.1cqw;letter-spacing:.02em;font-weight:400;display:block}.level-card small{display:block;font-size:.54cqw;margin-top:.4cqw;letter-spacing:.13em;color:#777a83}.level-card>span:last-child{margin-left:auto}.level-card:disabled{opacity:.65}.back-row{margin-top:1.4cqw;width:19cqw}.hud{position:absolute;inset:0;background:linear-gradient(180deg,#0c111b88,transparent 22%,transparent 83%,#0c111b77);font-family:Arial,sans-serif}.vitals{position:absolute;left:3%;top:5%;display:flex;gap:1cqw;align-items:center}.sigil{display:flex;align-items:center;justify-content:center;font-family:Georgia,serif;font-size:2cqw;width:3.5cqw;height:4.3cqw;border:1px solid #a68d5c;background:#202630bb;color:#b8a17d;clip-path:polygon(0 0,100% 0,100% 80%,50% 100%,0 80%)}.meters{width:17cqw}.health-label{display:flex;justify-content:space-between;font-size:.62cqw;letter-spacing:.13em;margin-bottom:.4cqw;color:#bcad93}.meter{background:#10141de6;border:1px solid #84765866;height:.8cqw;padding:1px}.meter>div{height:100%;width:100%;transition:width .12s}.health>div{background:linear-gradient(90deg,#6b2934,#b24c4d)}.secondary{display:flex;gap:.4cqw;align-items:center;font-size:.45cqw;color:#8c8c98;margin-top:.3cqw}.secondary>span:first-child{width:2.1cqw}.secondary .meter{height:.4cqw;flex:1;border:0;padding:0}.mana>div{background:#47687f}.guard>div{background:#a59169}.location{position:absolute;right:3%;top:5%;text-align:right;letter-spacing:.13em;font-size:.77cqw;color:#c5b392}.location small{display:block;font-size:.52cqw;color:#939396;letter-spacing:.16em;margin-top:.6cqw}.location button{margin-left:auto;pointer-events:auto;font-size:.65cqw;padding:.4cqw .6cqw;min-height:0;margin-top:.6cqw;color:#7d818a}.bottom-hud{position:absolute;bottom:3%;left:3%;right:3%;display:flex;gap:2cqw;align-items:center}.bottom-hud>div{display:grid;grid-template-columns:auto auto;column-gap:.65cqw;row-gap:.2cqw;font-size:1.1cqw;align-items:center}.bottom-hud kbd{grid-row:span 2}.bottom-hud small{font-size:.5cqw;letter-spacing:.1em;color:#928d83}.bottom-hud .direction-hint{margin-left:auto;font-size:.55cqw;letter-spacing:.2em;color:#a9967c}.dash-slot{opacity:.45}.dash-slot.unlocked{opacity:1;color:#baa9dd}.notification{position:absolute;top:24%;left:15%;right:15%;text-align:center;opacity:0;transition:opacity .3s;text-shadow:0 2px 8px #000,0 0 10px #000;background:linear-gradient(90deg,transparent,#10131d9c,transparent);padding:1.2cqw}.notification.visible{opacity:1}.notification strong{display:block;font-family:Georgia,serif;font-size:1.7cqw;letter-spacing:.15em;color:#d6bc91;font-weight:400}.notification small{display:block;font-size:.78cqw;margin-top:.7cqw;color:#bdc0c5}.interact-hint{position:absolute;bottom:20%;left:15%;right:15%;text-align:center;color:#e1c99e;font-size:.9cqw;letter-spacing:.08em;text-shadow:0 2px 3px #000}.boss-hud{display:none;position:absolute;bottom:13%;left:24%;right:24%}.boss-hud>div:first-child{display:flex;justify-content:space-between;font-family:Georgia,serif;font-size:.8cqw;color:#d3b391;margin-bottom:.5cqw;letter-spacing:.1em}.boss{height:.7cqw}.boss>div{background:linear-gradient(90deg,#622f38,#b0574b)}.death h2{color:#a24a49;font-size:4.3cqw;letter-spacing:.12em}.reward-sigil{font-size:4cqw;color:#b9a0de;margin:.8cqw}.modal .reward{color:#b9a0de;letter-spacing:.2em}.next-chapter{font-size:.9cqw;letter-spacing:.15em;color:#b8a27f;margin:2cqw 0}.next-chapter small{display:block;color:#7f828b;font-size:.7cqw;letter-spacing:.06em;margin:.7cqw}@media(max-width:800px){#shell{width:100vw;padding:0 8px}.shell-header{height:40px}.shell-header>span:nth-child(2),.edition,footer>span:last-child{display:none}footer{height:40px}button{min-height:20px}.title-copy{top:7%}.chapter-note{margin-top:1cqw}.modal{width:52cqw}.wide{width:65cqw}}.meters{width:20cqw}.health-label{font-size:.8cqw}.secondary{font-size:.7cqw}.secondary>span:first-child{width:3.2cqw}.location{font-size:.95cqw}.location small{font-size:.75cqw}.location button{font-size:.8cqw}.bottom-hud small,.bottom-hud .direction-hint{font-size:.75cqw}.boss-hud>div:first-child{font-size:1cqw}.notification small{font-size:.95cqw}.meter.guard.broken>div{background:#be6b64}.meter.guard.broken{outline:1px solid #ae625866}.health-label{font-size:.9cqw}.secondary{font-size:.8cqw}.location small,.bottom-hud small{font-size:.85cqw}.notification small{font-size:1cqw}.interact-hint{background:linear-gradient(90deg,transparent,#111a23c4,transparent);padding:.5cqw}.interact-hint:empty{display:none}.bottom-hud{gap:1.1cqw}.bottom-hud .magic-slot{opacity:.4;border-bottom:2px solid transparent;padding-bottom:3px}.bottom-hud .magic-slot.unlocked{opacity:.85}.bottom-hud .magic-slot.selected{opacity:1;border-color:#d5b987}.bottom-hud .direction-hint{font-size:.75cqw}.status-effects{position:absolute;right:3cqw;bottom:11cqw;font:.85cqw monospace;color:#b9c9db;letter-spacing:.08em;pointer-events:none}.bottom-hud{bottom:1%;left:2%;right:2%;display:grid;grid-template-columns:.8fr repeat(9,1fr);gap:.45cqw}.bottom-hud>div{min-width:0;font-size:.82cqw;column-gap:.25cqw;row-gap:.1cqw}.bottom-hud .magic-slot{position:relative;border:1px solid #6c6c7044;padding:.3cqw;grid-template-columns:auto 1fr;opacity:.45}.bottom-hud .magic-slot.selected{border-color:#e2c38e;box-shadow:0 0 0 1px #d7b78566;background:#b4934c18}.bottom-hud .magic-slot:after{content:"";position:absolute;bottom:0;left:0;width:var(--cooldown,0%);height:2px;background:#c5a876}.bottom-hud .magic-slot small{font-size:.58cqw;white-space:nowrap;grid-column:span 2;letter-spacing:0}.bottom-hud .spell-icon{font-size:1.35cqw;text-align:center;line-height:1}.bottom-hud kbd{grid-row:auto;padding:.2cqw;min-width:0;font-size:.8cqw}.bottom-hud .direction-hint{grid-column:1/-1;display:block;text-align:right;font-size:.65cqw;margin:0;letter-spacing:.04em}.selected-magic{position:absolute;bottom:8%;left:2%;font:.9cqw monospace;color:#e2c38e;letter-spacing:.04em;pointer-events:none}.selected-magic{bottom:12%;font-size:1.05cqw}.bottom-hud>div:not(.direction-hint){grid-template-columns:1.5cqw 1fr}.bottom-hud>div>small{grid-column:1/-1;font-size:.65cqw;letter-spacing:0}.bottom-hud kbd{justify-self:start}.bottom-hud .magic-slot small{font-size:.7cqw}.cinematic{position:absolute;left:8%;right:8%;bottom:15%;padding:18px 24px;background:#121015f0;border:1px solid #b79a61;color:#e4d6bc;pointer-events:auto;text-align:center;z-index:30;box-shadow:0 10px 40px #0008}.cinematic strong{color:#d6b77f;letter-spacing:.15em}.cinematic p{font-size:16px;line-height:1.6}.cinematic>div{display:flex;justify-content:center;gap:18px}.cinematic button{font-size:10px;padding:8px 16px}.final-victory{background:linear-gradient(180deg,#121015dd,#302b3bdd 55%,#927b5533)}.final-victory h2{color:#e7ce91;letter-spacing:.12em}.completion-counts{display:grid;grid-template-columns:1fr 1fr;gap:8px;font-size:10px;letter-spacing:.06em;margin:18px 0;color:#c8b99c}.final-victory .reward-sigil{font-size:32px;margin:5px}.final-victory .modal{padding-top:15px;padding-bottom:15px}.cinematic{top:18%;bottom:auto;padding:12px 20px}.cinema-mode .notification,.cinema-mode .bottom-hud,.cinema-mode .selected-magic,.cinema-mode .location button{visibility:hidden}:root{--gold:#c2a36a;--line:#b49a6144;--muted:#a39c97}#stage{border-color:#9b805a88;box-shadow:0 0 0 4px #101116,0 0 0 5px #68543c55,0 25px 90px #0009}.title-screen{background:linear-gradient(90deg,#100f17c9,#100f1766 35%,transparent 67%)}.title-copy{left:6%;top:6%;width:51%}.title-copy h1{font-weight:700;font-size:5.7cqw;letter-spacing:.035em;color:#dec38b;text-shadow:0 2px #59432b,0 4px 15px #000}.crest{margin-top:.6cqw;font-size:2.2cqw}.tagline{color:#d0c3b2;font-size:1.1cqw;margin-bottom:1.5cqw}.menu-list{width:31cqw;gap:0}.menu-list button{font-family:Georgia,serif;font-size:1.28cqw;letter-spacing:.09em;padding:.75cqw 1.2cqw;min-height:0;border-bottom:1px solid #b49a611c}.menu-list button:hover,.menu-list button:focus-visible{background:linear-gradient(90deg,#b49a6138,transparent);border-color:#b49a6188}.chapter-note{margin-top:1.5cqw}.modal{border:1px solid #a88a58;outline:1px solid #b49a6133;outline-offset:-6px;background:linear-gradient(135deg,#2c2731f5,#14151df5)}.modal h2{color:#e0c48e}.modal-screen{background:#111018d9}.collection-screen{background:linear-gradient(110deg,#15151cf7,#211923ec)}.level-card{position:relative;background:linear-gradient(115deg,#1a1d27,#2b2530);border-left:3px solid var(--realm);padding:1.1cqw}.level-card:before{content:"";position:absolute;right:4cqw;width:3cqw;height:3.3cqw;border:2px solid var(--realm);border-radius:50% 50% 0 0;opacity:.15;box-shadow:-1.5cqw .6cqw 0 -.3cqw #a6a0a422}.level-card .roman{color:var(--realm)}.level-card small{color:#b7aa96}.vitals{left:2%;top:3%;padding:.6cqw 1cqw .7cqw .6cqw;background:linear-gradient(100deg,#17161fe8,#17161f88);border-left:2px solid #ac8b55}.sigil{width:3.6cqw;height:4.3cqw;clip-path:polygon(0 8%,15% 0,85% 0,100% 8%,100% 80%,50% 100%,0 80%);background:#282c39}.sigil svg{width:95%;height:95%}.meters{width:19cqw}.meter{border-color:#b39360aa;box-shadow:inset 0 0 3px #000}.health{height:1.1cqw}.health>div{background:linear-gradient(#b4525e,#792736 45%,#a84552);box-shadow:inset 0 1px #e2848b55}.secondary .meter{height:.55cqw;border:1px solid #a98c5644}.mana>div{background:linear-gradient(#7199b6,#385e80)}.guard>div{background:linear-gradient(#c1aa76,#80673d)}.location{top:3%;text-shadow:0 2px 4px #000}.boss-hud{bottom:15%;left:30%;right:22%}.boss{height:.9cqw;border-color:#b3945e}.boss>div{background:linear-gradient(#b75b63,#732735)}.boss-hud:before,.boss-hud:after{content:"✦";position:absolute;color:#c4a36d;bottom:-.3cqw;font-size:1.7cqw}.boss-hud:before{left:-1.1cqw}.boss-hud:after{right:-1.1cqw}.bottom-hud{bottom:1%;left:2%;right:2%;gap:.6cqw;grid-template-columns:1fr repeat(9,1fr)}.bottom-hud>div:not(.direction-hint){background:linear-gradient(135deg,#1c1c28e8,#0f141ce8);border:1px solid #a0875966;padding:.3cqw .4cqw;grid-template-columns:1.2cqw 1fr}.bottom-hud .magic-slot.selected{border-color:#edc484;box-shadow:0 0 7px #b9893b55,inset 0 0 10px #b9893b22}.bottom-hud .spell-icon{height:2.1cqw;display:block;filter:drop-shadow(0 0 3px #b488de44)}.spell-icon svg{width:100%;height:100%}.bottom-hud small{color:#c0b5a3}.bottom-hud .magic-slot small{font-size:.66cqw}.bottom-hud #dash-status{grid-column:1/-1;font-size:.65cqw;text-align:center}.bottom-hud #dash-slot small{font-size:.6cqw}.selected-magic{left:2%;bottom:14%;font:1.05cqw Georgia,serif;padding:.5cqw .7cqw;border-left:2px solid #ba9c68;background:linear-gradient(90deg,#17151dea,#17151d66);max-width:27%}.notification strong{color:#ebcc92;font-family:Georgia,serif;text-shadow:0 2px 5px #000}.cinematic{border-color:#b49561;outline:1px solid #b49a6133;outline-offset:-5px;background:linear-gradient(100deg,#18151ef2,#2e222cf2,#18151ef2)}.cinematic strong{font-family:Georgia,serif;font-size:1.4cqw}.cinematic p{font-family:Georgia,serif;color:#e6d7c0;font-size:1.5cqw}.final-victory{background:linear-gradient(#17121bc9,#4b333aaa 65%,#b89a6b33)}.final-victory .modal{background:linear-gradient(#28212ee8,#24202be0);border-color:#d1ae71}@media(prefers-reduced-motion:reduce){*{transition:none!important}}[hidden]{display:none!important}body{min-height:100dvh}#shell{width:min(1440px,96vw,calc((100dvh - 140px)*16/9 + 48px))}.shell-header{height:42px}.play-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:38px;font-size:12px}.play-toolbar a{color:#d4be94;text-decoration:none}.play-toolbar button,#reload-game{padding:7px 12px;color:#e6d8bd;background:#25232b;border:1px solid #897349;letter-spacing:.1em}.play-toolbar span{color:#a6a0a0}#stage:focus-visible{outline:2px solid #b49a61;outline-offset:3px}footer{height:36px}#fullscreen-status{font-size:13px;margin:0;color:#e6d8bd}#fullscreen-status:empty{display:none}.device-notice{font-size:14px;line-height:1.5;background:#25232b;padding:8px;margin:8px 0}#boot-screen{position:absolute;inset:0;z-index:100;background:#111015;display:grid;place-items:center;text-align:center;color:#e6d8bd}#boot-screen h1{font:clamp(24px,5vw,64px) Georgia,serif;letter-spacing:.08em;color:#b49a61}#boot-screen small{letter-spacing:.3em}#boot-message{font-size:clamp(12px,2vw,16px);max-width:32em;padding:0 16px}.loading-track{width:min(270px,45vw);height:3px;background:#302b25;margin:30px auto;overflow:hidden}.loading-track:after{content:"";display:block;width:35%;height:100%;background:#b49a61;animation:loading 1.1s ease-in-out infinite alternate}.failed .loading-track{display:none}@keyframes loading{to{transform:translate(190%)}}#shell:fullscreen{width:100%;padding:8px 16px;align-items:center}#shell:fullscreen #stage{flex:none;width:min(100%,calc((100dvh - 140px)*16/9))}#shell:fullscreen .shell-header,#shell:fullscreen .play-toolbar,#shell:fullscreen footer{width:min(100%,calc((100dvh - 140px)*16/9))}#shell:fullscreen .device-notice{display:none}@media(max-width:700px){#shell{width:100vw;padding:8px}.shell-header>span:nth-child(2),footer>span:last-child,.play-toolbar>span{display:none}.shell-header .brand-mark{font-size:13px}.play-toolbar{font-size:11px}footer{font-size:9px;letter-spacing:0}body{align-items:flex-start}#shell:fullscreen{justify-content:center}}@media(prefers-reduced-motion:reduce){.loading-track:after{animation:none;width:100%}}
