:root{font-family:'DM Sans',Arial,sans-serif;color:#e3dfd2;background:#07100f;font-synthesis:none;--ivory:#e5dfca;--gold:#b6a377;--gold-bright:#ddc795;--muted:#8d9990;--panel:#0c1715;--border:rgba(192,177,134,.22);color-scheme:dark}
*{box-sizing:border-box}html,body,#ui{width:100%;height:100%;margin:0}html{overflow:hidden}body{overflow:hidden;font-size:14px}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:default}button:focus-visible{outline:2px solid #f1d9a2;outline-offset:5px}button{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button svg{pointer-events:none}button:disabled:focus-visible{outline:0}[hidden]{display:none!important}h1,h2,h3,p{margin:0}button span{pointer-events:none}#game{display:block;width:100%;height:100%;position:fixed;inset:0;outline:none;touch-action:none}#ui{position:fixed;inset:0;pointer-events:none;overflow:hidden;user-select:none}#ui button,#ui .modal,#ui .title-screen{pointer-events:auto}.line-icon{width:20px;height:20px;flex:none;display:block}.eyebrow{font-size:14px;font-weight:600;letter-spacing:2.1px;color:var(--gold);line-height:1.5}.small-diamond{width:5px;height:5px;display:inline-block;transform:rotate(45deg);background:var(--gold);margin-right:10px}.vignette{position:absolute;inset:0;box-shadow:inset 0 0 160px 20px rgba(0,0,0,.32);pointer-events:none;z-index:1}.input-key{display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(207,202,172,.36);border-radius:3px;padding:2px 5px;min-width:20px;height:21px;font-family:inherit;font-size:14px;font-weight:600;letter-spacing:.2px;color:#dadacb;background:rgba(8,18,16,.45);line-height:1;white-space:nowrap;box-shadow:0 1px 0 rgba(0,0,0,.25)}#ui[data-input-mode=controller] .face-a{border-radius:50%;color:#b9d59c;border-color:#809768}#ui[data-input-mode=controller] .face-b{border-radius:50%;color:#e2958d;border-color:#a65c56}#ui[data-input-mode=controller] .face-x{border-radius:50%;color:#9cbde6;border-color:#5e84b1}#ui[data-input-mode=controller] .face-y{border-radius:50%;color:#e2ce94;border-color:#a5965e}.app-tools{position:absolute;top:26px;right:30px;display:flex;gap:8px;z-index:30}.icon-button{width:34px;height:34px;border:1px solid rgba(185,181,155,.2);background:rgba(12,22,20,.55);display:flex;align-items:center;justify-content:center;color:#acb2a3;transition:background .2s,color .2s,border-color .2s}.icon-button:hover{color:var(--ivory);border-color:var(--gold);background:#1c2820}.icon-button .line-icon{width:16px;height:16px}.icon-button.is-muted{opacity:.5}.controller-selected{outline:2px solid #e7cc94!important;outline-offset:5px!important;box-shadow:0 0 24px #d7be6325!important}.primary-button,.secondary-button,.upgrade-button{display:flex;align-items:center;justify-content:center;gap:13px;min-height:48px;padding:13px 22px;border:1px solid var(--gold);transition:background .2s,border-color .2s,transform .2s;letter-spacing:.2px}.primary-button{background:linear-gradient(115deg,#c4b082,#9f8c62);color:#171d17;font-size:14px;font-weight:650;box-shadow:inset 0 1px 0 #ead9aa66,0 7px 26px #0004}.primary-button:hover{background:linear-gradient(115deg,#e3cea0,#bba477);transform:translateY(-1px)}.primary-button .input-key{color:#203324!important;background:transparent;border-color:#47583a!important;box-shadow:none}.primary-button .line-icon{width:16px;height:16px;margin-left:auto}.secondary-button{background:rgba(153,155,112,.035);color:#c9c6b4;border-color:var(--border);font-size:14px;min-height:43px}.secondary-button:hover{border-color:var(--gold);background:#bbaa6a0c}.secondary-button .line-icon{width:17px;height:17px}.text-button{background:transparent;border:0;padding:8px 0;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:14px;letter-spacing:.2px;color:#9ca898;transition:color .2s}.text-button:hover{color:var(--gold-bright)}.text-button .line-icon{width:15px;height:15px}

.title-screen{position:absolute;inset:0;background:#08100e;overflow:hidden;z-index:10}.title-art{position:absolute;inset:0;background-image:url('./assets/title-background.jpg');background-position:69% center;background-size:cover;opacity:.89;animation:title-reveal 2s ease both}.title-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,12,10,.97),rgba(4,12,10,.9) 25%,rgba(4,12,10,.44) 52%,rgba(4,12,10,.03) 80%),linear-gradient(0deg,#08110ff5 0%,#08110fb0 13%,transparent 42%,rgba(4,10,9,.25) 100%)}.title-content{position:absolute;top:13%;left:7.2%;width:min(47%,650px);animation:content-reveal 1.2s ease both}.title-eyebrow{font-size:14px;letter-spacing:2.7px;margin-bottom:27px;color:#a6b4a0}.title-content h1{font-family:'Cormorant Garamond',Georgia,serif;font-weight:400;font-size:clamp(50px,6.15vw,98px);line-height:.86;letter-spacing:-2px;color:#e9e3d0;text-shadow:0 2px 30px #0005}.title-content h1 span{color:#c6b685}.title-subtitle{display:flex;align-items:center;gap:16px;max-width:365px;color:#a4946f;font-size:14px;letter-spacing:4px;margin-top:25px;white-space:nowrap}.title-subtitle i{height:1px;background:linear-gradient(90deg,transparent,#aa976a);width:35px}.title-subtitle i:last-child{background:linear-gradient(90deg,#aa976a,transparent)}.title-story{font-family:'Cormorant Garamond',Georgia,serif;font-size:19px;line-height:1.45;color:#aeb6a6;margin-top:27px}.title-actions{margin-top:29px;display:flex;flex-direction:column;align-items:flex-start;gap:10px}.title-start{min-width:287px;height:50px}.title-actions>.text-button{margin-left:4px}.title-controls{margin-top:30px}.title-controls>p:first-child{display:flex;flex-direction:column;gap:6px}.title-controls strong{font-size:14px;letter-spacing:.2px;color:#b4bdad;font-weight:500}.title-controls p span{font-size:14px;color:#768377}.control-pair{display:flex;gap:19px;margin-top:13px}.control-pair>span{display:flex;gap:7px;align-items:center;font-size:14px;color:#9aa592}.control-pair .input-key{font-size:14px;height:18px;min-width:18px}.keyboard-note{color:#637165;font-size:14px;margin-top:10px}.title-bottom{position:absolute;bottom:57px;left:7.2%;right:6%;display:flex;justify-content:space-between;align-items:center;gap:30px}.title-gems{display:flex;gap:34px}.title-gem{display:flex;align-items:center;gap:13px}.title-gem>.gem-art{width:34px;height:42px;filter:drop-shadow(0 0 12px color-mix(in srgb,var(--gem-color),transparent 68%));transition:transform .4s}.title-gem:hover>.gem-art{transform:translateY(-4px)}.title-gem span{font-family:'Cormorant Garamond',Georgia,serif;font-size:17px;color:#d1d3c2;letter-spacing:.3px}.title-gem p{font-size:14px;color:#798576;letter-spacing:.6px;margin-top:5px}.progress-promise{display:flex;gap:14px;align-items:center}.promise-mark{font-family:Georgia,serif;font-size:37px;font-weight:400;color:#8d9e82}.progress-promise p{display:flex;flex-direction:column;gap:7px}.progress-promise strong{font-size:14px;color:#b2bea8;font-weight:500}.progress-promise p>span{font-size:14px;color:#71816f}.title-edition{position:absolute;bottom:23px;left:7.2%;font-size:14px;letter-spacing:1.9px;color:#56664f}.title-edition span{margin:0 8px}

.game-hud{position:absolute;inset:0;z-index:5;transition:opacity .2s}#ui[data-mode=paused] .game-hud,#ui[data-mode=forge] .game-hud,#ui[data-mode=dead] .game-hud,#ui[data-mode=victory] .game-hud{opacity:.25}.chapter-panel{position:absolute;top:34px;left:36px;text-shadow:0 2px 12px #000}.chapter-panel h2{font-family:'Cormorant Garamond',Georgia,serif;font-size:29px;font-weight:500;color:#e0dbc6;line-height:1.1;margin-top:7px}.chapter-panel .eyebrow{font-size:14px;letter-spacing:2.4px}.chapter-meta{display:flex;align-items:center;gap:12px;margin-top:11px;color:#a5afa0;font-size:14px;letter-spacing:1.3px}.meta-divider{height:8px;width:1px;background:#979b744d}.navigation-panel{position:absolute;right:33px;top:85px;width:164px;display:flex;align-items:center;flex-direction:column}.map-frame{width:146px;height:146px;position:relative;background:radial-gradient(ellipse,#07100f80,transparent 70%)}.map-frame canvas{width:100%;height:100%;display:block}.map-north{position:absolute;top:0;left:50%;font-family:'Cormorant Garamond',Georgia,serif;font-size:14px;color:#9eaa91;transform:translateX(-50%)}.map-corner{position:absolute;width:12px;height:12px;opacity:.55}.corner-tl{top:14px;left:3px;border-top:1px solid #839171;border-left:1px solid #839171}.corner-br{right:3px;bottom:11px;border-bottom:1px solid #839171;border-right:1px solid #839171}.objective-block{width:100%;text-align:right;border-top:1px solid rgba(176,171,128,.17);padding-top:13px}.objective-block>.eyebrow{font-size:14px;letter-spacing:1.8px}.objective-block p{font-size:14px;color:#b3beac;line-height:1.6;margin-top:6px;text-shadow:0 1px 7px #000}.boss-panel{position:absolute;top:32px;left:50%;transform:translateX(-50%);width:min(34vw,430px);text-align:center;text-shadow:0 2px 9px #000}.boss-panel>.eyebrow{font-size:14px;color:#ba9977}.boss-panel h3{font-family:'Cormorant Garamond',Georgia,serif;font-size:22px;font-weight:500;margin:4px 0 9px;color:#e1c5ab}.boss-track{width:100%;height:6px;background:#160e0da3;border:1px solid #aa806744;padding:1px;transform:skewX(-12deg)}.boss-track>div{height:100%;width:100%;background:linear-gradient(90deg,#682522,#be5744);transition:width .15s}.room-announcement{position:absolute;left:50%;top:22%;transform:translateX(-50%);text-align:center;color:#bacaad;text-shadow:0 2px 15px #000}.room-announcement>.eyebrow{font-size:14px;color:#c5c097}.room-announcement p{font-family:'Cormorant Garamond',Georgia,serif;font-size:26px;margin:8px 0 12px}.room-announcement>.input-key{margin-right:6px}.room-announcement>span:last-child{font-size:14px}.hud-wallet{position:absolute;right:33px;bottom:86px;display:flex;flex-direction:column;align-items:flex-end;gap:13px}.soul-count{display:flex;gap:7px;align-items:center;color:#a8b797;font-size:14px}.soul-count .line-icon{width:15px;height:18px}.soul-count b{font-weight:500;color:#d7dbb9;font-size:15px}.soul-count>span{font-size:14px;color:#86977a}.forge-shortcut{display:flex;align-items:center;gap:8px;background:rgba(11,24,20,.7);border:1px solid rgba(160,168,126,.25);padding:7px 9px;color:#b8c3a6;font-size:14px}.forge-shortcut:hover{border-color:#bdba83;background:#162a22}.forge-shortcut>.line-icon{width:14px;height:14px}.forge-shortcut .input-key{height:17px;font-size:14px;padding:2px 4px;margin-left:4px}.combat-dock{position:absolute;bottom:32px;left:50%;transform:translateX(-50%);display:flex;gap:23px;align-items:flex-end}.health-frame{position:relative;width:104px;height:115px;flex:none}.health-orb{position:relative;width:96px;height:96px;border-radius:50%;border:4px solid #706a4e;outline:1px solid #b3a67555;outline-offset:3px;overflow:hidden;background:#140d0d;box-shadow:inset 0 0 13px 4px #000,0 3px 20px #0009}.health-orb:after{content:'';position:absolute;inset:0;box-shadow:inset 0 0 14px 5px #090905ae,inset 0 0 2px 1px #c4a37877;border-radius:50%}.health-liquid{position:absolute;bottom:0;width:100%;height:100%;background:radial-gradient(ellipse at 25% 15%,#d4503b55,transparent 45%),radial-gradient(ellipse at 65% 75%,#a52c24,#571415 60%,#260d13);transition:height .25s}.health-liquid:before{content:'';position:absolute;inset:-60%;background:radial-gradient(ellipse at 25% 70%,transparent 20%,#db684623 40%,transparent 58%);animation:orb-flow 9s linear infinite}.health-liquid:after{content:'';position:absolute;top:0;left:0;width:100%;height:2px;background:#e5674560;box-shadow:0 2px 10px #bd3c3477}.orb-reflection{position:absolute;inset:4px;border-radius:50%;background:linear-gradient(140deg,#ffffff19 3%,transparent 20%,transparent 65%,#ea875011 89%)}.health-numbers{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-shadow:0 1px 7px #000;z-index:2}.health-numbers strong{font-family:'Cormorant Garamond',Georgia,serif;font-size:28px;font-weight:500;color:#f0dbb7;line-height:1}.health-numbers small{font-size:14px;color:#cda48b;margin-top:4px}.health-label{position:absolute;bottom:1px;left:0;width:96px;text-align:center;font-size:14px;letter-spacing:2.3px;color:#afa788}.orb-decoration{position:absolute;top:-11px;left:42px;width:11px;height:11px;transform:rotate(45deg);background:#8b7d57;border:2px solid #292d20;z-index:2}.health-low .health-orb{animation:health-pulse 1.5s infinite}.skill-and-xp{min-width:474px;padding-bottom:6px}.skill-row{display:flex;align-items:center;gap:13px;height:101px}.spell-slot{position:relative;width:64px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:96px}.spell-stone{position:relative;display:flex;align-items:center;justify-content:center;width:48px;height:58px;margin-bottom:2px;filter:drop-shadow(0 0 10px color-mix(in srgb,var(--gem-color),transparent 70%))}.gem-art{display:block}.spell-stone .gem-art{width:38px;height:47px;transition:opacity .2s,filter .2s}.cooldown-cover{position:absolute;bottom:4px;left:3px;right:3px;background:#050c10b8;clip-path:polygon(50% 0,86% 20%,100% 60%,50% 100%,0 60%,14% 20%);height:0;transition:height .1s}.cooldown-number{position:absolute;left:0;right:0;top:22px;text-align:center;font-size:14px;color:#e2e2ce;text-shadow:0 1px 6px #000;font-weight:500}.spell-rank{position:absolute;top:0;right:5px;font-family:'Cormorant Garamond',Georgia,serif;font-size:14px;color:#b7b494}.spell-key{height:21px;display:flex;justify-content:center;z-index:1}.spell-key .input-key{height:19px;min-width:19px;font-size:14px}.spell-name{font-size:14px;color:#aab59f;white-space:nowrap;margin-top:6px;text-shadow:0 1px 4px #000}.on-cooldown .gem-art{filter:saturate(.45);opacity:.55}.weapon-slot{display:flex;flex-direction:column;align-items:center;gap:5px;width:34px;position:relative;align-self:flex-end;padding-bottom:5px}.weapon-sigil{font-family:Georgia,serif;display:block;font-size:43px;color:#b6b29b;line-height:37px;transform:rotate(25deg);text-shadow:0 0 12px #dfdf9636;margin-bottom:6px}.weapon-slot>.input-key{height:19px;min-width:22px;font-size:14px}.weapon-slot>span:last-child{font-size:14px;color:#96a28c;margin-top:1px}.dock-divider{width:1px;height:39px;background:linear-gradient(transparent,#88896c40,transparent);margin:0 1px}.utility-slot{position:relative;display:flex;align-items:center;flex-direction:column;gap:6px;width:37px;padding-top:26px}.utility-slot>.line-icon{width:24px;height:27px;color:#b8c0a2;margin-bottom:3px;filter:drop-shadow(0 0 5px #81977122)}.utility-slot .input-key{height:19px;font-size:14px;min-width:19px}.utility-slot>span:last-child{font-size:14px;color:#94a088}.utility-slot>strong{position:absolute;top:35px;left:0;right:0;text-align:center;font-size:14px;text-shadow:0 1px 4px #000}.utility-slot.on-cooldown>.line-icon{opacity:.35}.potion-count{position:absolute;top:25px;right:0;font-size:14px;color:#c6c1a0}.xp-row{display:flex;align-items:center;gap:10px;margin-top:9px}.level-label{font-size:14px;color:#909778;white-space:nowrap;letter-spacing:1px}.level-label b{font-weight:600;color:#d7cc9e;font-size:14px;margin-left:3px}.xp-track{height:3px;background:#151e1699;flex:1;box-shadow:0 0 0 1px #b3b58815}.xp-track>div{height:100%;width:0;background:linear-gradient(90deg,#716b3f,#c1b77d);transition:width .2s}.xp-row>span:last-child{font-size:14px;color:#919774;min-width:44px;text-align:right}.hud-help{position:absolute;bottom:22px;left:32px;display:flex;align-items:center;gap:6px;font-size:14px;color:#7d8b78}.hud-help .input-key{height:16px;font-size:14px;min-width:17px}.hud-help>span{margin:0 3px;color:#53644f}

.modal-backdrop{position:absolute;inset:0;z-index:20;background:rgba(3,10,9,.76);backdrop-filter:blur(9px);display:flex;align-items:center;justify-content:center;padding:40px 24px;overflow:auto;pointer-events:auto;animation:modal-reveal .2s ease}.modal{position:relative;background:radial-gradient(ellipse at 50% 0%,#1c2b22a3,transparent 75%),#0b1614;border:1px solid var(--border);box-shadow:0 22px 90px #0007,inset 0 0 80px #030a0855;padding:40px 42px;max-height:calc(100vh - 80px);overflow:auto}.modal:before,.modal:after{content:'';position:absolute;pointer-events:none;width:20px;height:20px;border-color:#b7a67488}.modal:before{left:-1px;top:-1px;border-top:1px solid;border-left:1px solid}.modal:after{right:-1px;bottom:-1px;border-right:1px solid;border-bottom:1px solid}.modal h2{font-family:'Cormorant Garamond',Georgia,serif;font-size:41px;font-weight:400;color:#e4dfc8;line-height:1.08;margin-top:10px;letter-spacing:-.5px}.modal-intro{color:#94a18f;font-size:14px;line-height:1.8;margin-top:15px}.pause-modal{width:440px}.pause-actions{display:flex;flex-direction:column;gap:12px;margin-top:28px}.pause-actions .primary-button{width:100%;font-size:14px}.controls-reference{margin-top:30px;padding-top:23px;border-top:1px solid var(--border)}.controls-reference>.eyebrow{font-size:14px}.controls-reference>div{display:grid;grid-template-columns:1fr 1fr;gap:13px 19px;margin-top:17px}.controls-reference p{display:flex;align-items:center;gap:8px;font-size:14px;color:#a2ad98}.controls-reference .input-key{height:19px;font-size:14px;min-width:22px}.save-actions{display:flex;align-items:center;justify-content:center;gap:11px;margin-top:22px}.save-actions>.text-button{font-size:14px;color:#77866f}.save-actions>span{color:#5e6a50}.forge-modal{width:850px;padding:33px 35px 25px}.forge-header{display:flex;align-items:center;justify-content:space-between}.forge-header .icon-button{align-self:flex-start}.forge-header h2{font-size:40px}.forge-header .eyebrow{font-size:14px}.forge-modal>.modal-intro{font-size:14px;line-height:1.75;margin-top:12px}.forge-wallet{position:absolute;right:37px;top:105px;display:flex;align-items:center;gap:8px}.forge-wallet .line-icon{width:20px;height:23px;color:#9aae8b}.forge-wallet strong{font-family:'Cormorant Garamond',Georgia,serif;font-size:32px;font-weight:500;color:#d6ddb4}.forge-wallet span{font-size:14px;color:#91a180}.forge-gems{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin-top:26px}.forge-card{padding:18px 18px 15px;border:1px solid rgba(160,168,135,.13);background:linear-gradient(0deg,#0a1211,#16201966);text-align:center;display:flex;flex-direction:column;align-items:center;position:relative}.forge-card:before{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 50% 17%,color-mix(in srgb,var(--gem-color),transparent 94%),transparent 70%)}.forge-gem-art{position:relative;width:80px;height:98px;margin:0 0 15px;display:flex;justify-content:center;align-items:center}.forge-gem-art>.gem-art{position:relative;width:62px;height:80px;z-index:1;filter:drop-shadow(0 0 12px color-mix(in srgb,var(--gem-color),transparent 68%));animation:gem-float 5s ease-in-out infinite}.forge-card:nth-child(2) .gem-art{animation-delay:-1.7s}.forge-card:nth-child(3) .gem-art{animation-delay:-3.3s}.gem-halo{position:absolute;inset:11px -2px 6px;border:1px solid color-mix(in srgb,var(--gem-color),transparent 84%);border-radius:50%;transform:rotateX(40deg) rotateZ(-30deg)}.gem-halo:after{content:'';position:absolute;inset:9px;border:1px solid color-mix(in srgb,var(--gem-color),transparent 89%);border-radius:50%}.gem-rank-label{font-size:14px;letter-spacing:2.2px;color:#b7b794}.forge-card h3{font-family:'Cormorant Garamond',Georgia,serif;font-size:27px;font-weight:500;color:#e1d6c3;margin:7px 0 3px}.forge-spell{font-size:14px;letter-spacing:.2px;color:color-mix(in srgb,var(--gem-color),#b7c0ae 62%)}.gem-description{font-size:14px;color:#8e9e8b;line-height:1.75;min-height:57px;margin-top:18px}.gem-upgrade-effect{border-top:1px solid #a7b19215;padding-top:13px;margin-top:14px;font-size:14px;color:#a4ad8d;width:100%}.upgrade-button{justify-content:space-between;width:100%;min-height:38px;padding:10px 10px;margin-top:17px;border-color:#a9b78755;background:#92a5700a;font-size:14px;color:#c5d1ac;gap:6px}.upgrade-button>span:last-child{display:flex;gap:5px;align-items:center;color:#d5d9b5}.upgrade-button .line-icon{width:11px;height:13px}.upgrade-button b{font-size:14px;font-weight:500}.upgrade-button:hover:enabled{background:#839b6722;border-color:#b9c78b}.upgrade-button:disabled{opacity:.4;background:#07100b;color:#929b84}.upgrade-note{font-size:14px;color:#74866a;line-height:1.5;min-height:21px;margin-top:9px}.forge-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--border);padding-top:18px;margin-top:22px}.forge-footer p{font-family:'Cormorant Garamond',Georgia,serif;font-size:16px;font-style:italic;color:#8fa17f}.forge-footer>.secondary-button{padding:8px 17px;min-height:35px;font-size:14px}.forge-footer .input-key{height:17px;font-size:14px;min-width:17px}.outcome-modal{width:530px;text-align:center;padding:35px 51px 39px}.outcome-modal h2{font-size:44px;line-height:1.1;margin-top:14px}.outcome-modal h2 em{font-style:normal;color:#a8b899;font-size:32px}.outcome-modal>.eyebrow{font-size:14px;letter-spacing:2.3px}.outcome-modal .modal-intro{font-size:14px;line-height:1.8}.outcome-sigil{display:flex;justify-content:center;margin-bottom:26px}.outcome-sigil .line-icon{width:33px;height:42px;color:#b18e6b;filter:drop-shadow(0 0 13px #b5522840)}.run-stats{display:flex;justify-content:center;gap:28px;border-top:1px solid var(--border);border-bottom:1px solid var(--border);margin-top:25px;padding:21px 0 19px}.run-stats>div{display:flex;flex-direction:column;gap:8px}.run-stats strong{font-family:'Cormorant Garamond',Georgia,serif;font-size:30px;color:#c9c8a6;font-weight:400;line-height:1}.run-stats span{font-size:14px;letter-spacing:1.2px;color:#778b6c}.outcome-modal .pause-actions{margin-top:24px}.victory-gems{display:flex;justify-content:center;align-items:center;gap:13px;height:82px;margin-bottom:18px}.victory-gems>.gem-art{width:33px;height:42px;filter:drop-shadow(0 0 11px #ab77402b);transform:rotate(-15deg)}.victory-gems>.gem-art:nth-child(2){width:44px;height:57px;transform:translateY(-8px)}.victory-gems>.gem-art:nth-child(3){transform:rotate(15deg)}.victory-modal h2{font-size:43px}

.save-status{position:absolute;bottom:22px;right:31px;z-index:31;display:flex;align-items:center;gap:7px;color:#66785e;font-size:14px;letter-spacing:.15px}.save-indicator{width:4px;height:4px;border-radius:50%;background:#778a5d;box-shadow:0 0 6px #96b27333}.save-warning{color:#a28d63}.save-warning>.save-indicator{background:#a28d63}.controller-nav{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);z-index:31;display:flex;align-items:center;gap:7px;font-size:14px;color:#86987a;white-space:nowrap}.controller-nav>span{margin:0 3px;color:#4f6346}.controller-nav .input-key{height:17px;font-size:14px;min-width:17px}.game-toast{position:absolute;top:110px;left:50%;transform:translate(-50%,-10px);opacity:0;transition:opacity .25s,transform .25s;z-index:40;background:#102018ed;border:1px solid #9caa7255;box-shadow:0 7px 28px #0005;padding:13px 25px;font-size:14px;color:#d6dbbe;max-width:80%;text-align:center;line-height:1.5;pointer-events:none}.game-toast.visible{opacity:1;transform:translate(-50%,0)}

@keyframes title-reveal{from{opacity:0;transform:scale(1.04)}to{opacity:.89;transform:scale(1)}}@keyframes content-reveal{from{opacity:0;transform:translateY(15px)}to{opacity:1;transform:translateY(0)}}@keyframes modal-reveal{from{opacity:0}to{opacity:1}}@keyframes orb-flow{to{transform:rotate(360deg)}}@keyframes gem-float{50%{transform:translateY(-5px)}}@keyframes health-pulse{50%{box-shadow:inset 0 0 13px 4px #000,0 0 30px #a8313155}}

@media(min-width:1600px){.title-content{top:16%}.title-story{font-size:22px}.title-actions{margin-top:36px}.title-controls{margin-top:37px}.title-bottom{bottom:75px}.title-gems{gap:50px}.title-gem>.gem-art{width:42px;height:52px}.title-gem span{font-size:20px}.title-gem p{font-size:14px}.progress-promise strong{font-size:14px}.progress-promise p>span{font-size:14px}.combat-dock{bottom:45px;transform:translateX(-50%) scale(1.12);transform-origin:bottom center}}
@media(max-width:1100px){.title-content{top:11%;left:6%}.title-content h1{font-size:70px}.title-eyebrow{font-size:14px;letter-spacing:1.7px;margin-bottom:23px}.title-subtitle{font-size:14px;letter-spacing:3px;gap:11px}.title-story{font-size:18px;margin-top:23px}.title-actions{margin-top:22px}.title-controls{margin-top:24px}.title-bottom{left:6%;right:5%;bottom:55px}.title-gems{gap:25px}.title-gem{gap:9px}.title-gem span{font-size:16px}.title-gem p{font-size:14px}.progress-promise{max-width:215px;gap:10px}.progress-promise p>span{font-size:14px;line-height:1.6}.combat-dock{gap:16px;transform:translateX(-50%) scale(.92);transform-origin:bottom center;bottom:35px}.hud-wallet{bottom:74px;right:24px}.hud-help{left:24px;font-size:14px}.hud-help>span,.hud-help .input-key:nth-of-type(n+2){display:none}.hud-help{max-width:65px;overflow:hidden;height:18px;white-space:nowrap}.chapter-panel{left:25px;top:27px}.chapter-panel h2{font-size:26px}.app-tools{top:22px;right:24px}.navigation-panel{right:23px;top:72px;width:142px}.map-frame{width:126px;height:126px}.objective-block p{font-size:14px}.boss-panel{top:27px;width:30vw}.boss-panel h3{font-size:20px}.save-status{right:24px}.controller-nav{font-size:14px}.forge-modal{width:790px}.forge-card{padding:16px 14px 13px}}
@media(max-height:760px){.title-content{top:10%}.title-content h1{font-size:clamp(54px,6.5vw,78px)}.title-eyebrow{margin-bottom:22px}.title-subtitle{margin-top:20px}.title-story{margin-top:20px;font-size:18px}.title-actions{margin-top:22px;gap:6px}.title-start{height:45px;min-height:45px}.title-controls{margin-top:20px}.title-controls>p:first-child{gap:5px}.control-pair{margin-top:10px}.title-bottom{bottom:50px}.title-gem>.gem-art{width:28px;height:35px}.title-gem span{font-size:15px}.title-gem p{margin-top:3px}.modal{max-height:calc(100vh - 65px)}.modal-backdrop{padding:28px 20px 37px}.pause-modal{padding:28px 34px}.modal h2{font-size:34px}.modal-intro{margin-top:12px}.pause-actions{margin-top:20px;gap:10px}.controls-reference{margin-top:21px;padding-top:17px}.controls-reference>div{gap:10px 16px;margin-top:13px}.save-actions{margin-top:17px}.forge-modal{padding-top:25px;padding-bottom:21px}.forge-wallet{top:85px}.forge-gems{margin-top:18px}.forge-gem-art{height:74px;margin-bottom:11px}.forge-gem-art>.gem-art{width:49px;height:65px}.forge-card h3{font-size:24px}.gem-description{margin-top:13px}.gem-upgrade-effect{margin-top:10px;padding-top:10px}.upgrade-button{margin-top:13px}.forge-footer{margin-top:16px;padding-top:15px}.outcome-modal{padding:24px 42px 28px}.outcome-sigil{margin-bottom:18px}.outcome-modal h2{font-size:38px}.outcome-modal h2 em{font-size:29px}.run-stats{margin-top:20px;padding:17px 0}.victory-gems{height:66px;margin-bottom:12px}.controller-nav{bottom:17px}}
@media(max-height:630px) and (min-width:761px){.title-content{top:9%}.title-content h1{font-size:58px}.title-eyebrow{margin-bottom:17px}.title-subtitle{margin-top:16px;font-size:14px}.title-story{font-size:16px;margin-top:17px}.title-actions{margin-top:18px}.title-start{height:41px;min-height:41px;font-size:14px}.title-controls{margin-top:15px}.title-controls>p:first-child span,.keyboard-note{display:none}.title-bottom{bottom:45px}.title-gems{gap:24px}.title-gem>.gem-art{width:24px;height:32px}.title-gem span{font-size:14px}.progress-promise .promise-mark{font-size:28px}.forge-modal{padding:20px 28px 15px}.forge-header h2{font-size:31px}.forge-modal>.modal-intro{font-size:14px}.forge-wallet{top:64px;right:29px}.forge-wallet strong{font-size:25px}.forge-gems{margin-top:15px;gap:13px}.forge-card{padding:13px 13px 10px}.forge-gem-art{height:51px;margin-bottom:10px}.forge-gem-art>.gem-art{width:36px;height:47px}.gem-description{font-size:14px;min-height:44px;margin-top:10px}.forge-card h3{font-size:22px}.gem-upgrade-effect{font-size:14px;padding-top:8px}.upgrade-button{margin-top:10px;min-height:32px;padding:8px}.upgrade-note{font-size:14px;min-height:17px;margin-top:7px}.forge-footer{margin-top:12px;padding-top:12px}.forge-footer p{font-size:14px}.combat-dock{transform:translateX(-50%) scale(.8);bottom:27px}.chapter-panel h2{font-size:22px}.navigation-panel{top:68px}.map-frame{width:110px;height:110px}.room-announcement p{font-size:22px}}
@media(max-width:760px){.app-tools{top:15px;right:16px;gap:6px}.icon-button{width:30px;height:30px}.title-content{top:12%;left:7%;width:86%}.title-content h1{font-size:clamp(52px,11vw,77px)}.title-art{background-position:64% center;opacity:.55}.title-shade{background:linear-gradient(90deg,#04100be8,#04100b91 60%,#04100b44),linear-gradient(0deg,#07110ff5,transparent 60%)}.title-eyebrow{font-size:14px;letter-spacing:1.5px;max-width:80%}.title-subtitle{max-width:290px;font-size:14px;letter-spacing:2.6px;gap:10px}.title-story{font-size:18px}.title-controls{margin-top:22px}.title-bottom{left:7%;right:7%;bottom:53px;flex-direction:column;align-items:flex-start;gap:22px}.title-gems{gap:28px}.title-gem{flex-direction:column;align-items:flex-start;gap:7px}.title-gem>.gem-art{width:27px;height:33px}.title-gem span{font-size:14px}.title-gem p{font-size:14px;margin-top:3px}.progress-promise{max-width:none;gap:11px}.progress-promise .promise-mark{font-size:28px}.progress-promise strong{font-size:14px}.progress-promise p>span{font-size:14px}.progress-promise p{gap:3px}.title-edition{left:7%;bottom:20px;font-size:14px}#ui[data-mode=title] .controller-nav{display:none}.save-status{bottom:20px;right:18px;font-size:14px}.chapter-panel{left:18px;top:23px}.chapter-panel>.eyebrow{font-size:14px;letter-spacing:1.7px}.chapter-panel h2{font-size:23px}.chapter-meta{font-size:14px;gap:8px;margin-top:8px}.navigation-panel{right:16px;top:64px;width:102px}.map-frame{width:94px;height:94px}.map-north{font-size:14px}.map-corner{width:8px;height:8px}.objective-block{padding-top:8px}.objective-block>.eyebrow{font-size:14px;letter-spacing:1.2px}.objective-block p{font-size:14px;line-height:1.5;margin-top:5px}.combat-dock{transform:translateX(-50%) scale(.7);bottom:29px;gap:14px}.hud-wallet{right:18px;bottom:133px;gap:8px}.soul-count b{font-size:14px}.soul-count>span{font-size:14px}.soul-count .line-icon{width:12px;height:15px}.forge-shortcut{padding:6px;font-size:14px;gap:5px}.forge-shortcut>.line-icon{width:12px;height:12px}.forge-shortcut .input-key{height:15px;font-size:14px}.hud-help{left:17px;bottom:20px;font-size:14px}.hud-help .input-key{font-size:14px;height:14px}.boss-panel{top:98px;left:18px;transform:none;width:calc(100% - 150px);max-width:280px;text-align:left}.boss-panel>.eyebrow{font-size:14px}.boss-panel h3{font-size:18px;margin:4px 0 7px}.room-announcement{top:31%;width:75%}.room-announcement p{font-size:22px}.modal-backdrop{padding:55px 18px}.modal{max-height:calc(100dvh - 110px)}.pause-modal{padding:26px;width:390px;max-width:100%}.modal h2{font-size:34px}.pause-actions .primary-button{font-size:14px}.controls-reference p{font-size:14px;gap:6px}.controls-reference .input-key{font-size:14px;min-width:19px}.forge-modal{padding:24px 22px;width:520px}.forge-header h2{font-size:33px}.forge-header .eyebrow{font-size:14px}.forge-modal>.modal-intro{font-size:14px;margin-top:10px}.forge-wallet{position:static;margin-top:13px;gap:7px}.forge-wallet strong{font-size:26px}.forge-wallet .line-icon{height:20px;width:17px}.forge-wallet span{font-size:14px}.forge-gems{grid-template-columns:1fr;gap:13px;margin-top:14px}.forge-card{display:grid;grid-template-columns:70px 1fr;column-gap:15px;padding:16px 18px;text-align:left;align-items:start}.forge-gem-art{grid-column:1;grid-row:1 / 6;align-self:center;width:65px;height:85px;margin:0}.forge-gem-art>.gem-art{width:49px;height:64px}.gem-rank-label{grid-column:2;font-size:14px}.forge-card h3{grid-column:2;font-size:24px;margin:3px 0}.forge-spell{grid-column:2;font-size:14px}.gem-description{grid-column:2;min-height:0;margin-top:9px;font-size:14px;line-height:1.6}.gem-upgrade-effect{grid-column:2;font-size:14px;margin-top:10px;padding-top:9px}.upgrade-button{grid-column:1 / 3;min-height:36px;margin-top:15px;font-size:14px}.upgrade-note{grid-column:1 / 3;text-align:center;min-height:0;font-size:14px;margin-top:7px}.forge-footer{margin-top:17px;padding-top:16px;gap:12px}.forge-footer p{font-size:14px;max-width:55%}.forge-footer>.secondary-button{padding:8px 13px;font-size:14px}.controller-nav{font-size:14px;bottom:20px}.controller-nav .input-key{font-size:14px}.outcome-modal{width:440px;padding:28px 26px;max-width:100%}.outcome-modal h2{font-size:37px}.outcome-modal h2 em{font-size:29px}.outcome-modal .modal-intro{font-size:14px}.outcome-modal>.eyebrow{font-size:14px}.run-stats{gap:21px;padding:19px 0}.run-stats strong{font-size:26px}.run-stats span{font-size:14px;letter-spacing:.9px}.game-toast{top:70px;font-size:14px;padding:10px 17px}.controller-nav+ .game-toast{max-width:85%}}
@media(max-width:760px) and (max-height:720px){.title-content{top:11%}.title-content h1{font-size:55px}.title-eyebrow{margin-bottom:17px}.title-subtitle{margin-top:17px}.title-story{font-size:16px;margin-top:18px}.title-actions{margin-top:18px;gap:7px}.title-start{height:42px;min-height:42px;min-width:270px;font-size:14px}.title-controls{margin-top:15px}.title-controls>p:first-child span,.keyboard-note{display:none}.title-bottom{gap:15px}.title-gem{flex-direction:row;align-items:center;gap:8px}.title-gems{gap:18px}.title-gem>.gem-art{width:22px;height:29px}.title-gem span{font-size:14px}.title-gem p{font-size:14px}.progress-promise{gap:9px}.progress-promise strong{font-size:14px}.progress-promise .promise-mark{font-size:23px}.progress-promise p>span{font-size:14px}.control-pair{margin-top:10px}.modal-backdrop{padding:49px 14px}.modal{max-height:calc(100dvh - 98px)}}
@media(max-width:520px){.combat-dock{transform:translateX(-50%) scale(.58);bottom:31px;gap:11px}.title-gems{gap:17px}.title-gem{gap:7px}.title-gem span{font-size:14px}.title-gem p{font-size:14px}.title-content h1{letter-spacing:-1px}.title-eyebrow{font-size:14px}.title-bottom{bottom:54px}.chapter-panel h2{font-size:21px}.chapter-panel{top:23px;left:17px;max-width:60%}.hud-wallet{bottom:119px}.controller-nav{bottom:21px;font-size:14px;gap:5px}.controller-nav>span{margin:0 1px}.save-status{font-size:14px;bottom:8px;right:12px}.title-edition{font-size:14px;bottom:19px}.controls-reference>div{gap:10px 13px}.pause-modal{padding:24px}.pause-modal .modal-intro{font-size:14px}.pause-modal h2{font-size:31px}.forge-modal{padding:22px 18px}.forge-header h2{font-size:31px}.forge-header .eyebrow{font-size:14px}.forge-card{padding:15px;column-gap:12px;grid-template-columns:56px 1fr}.forge-gem-art{width:53px}.forge-gem-art>.gem-art{width:44px;height:58px}.forge-card h3{font-size:23px}.forge-modal>.modal-intro{font-size:14px}.forge-footer p{font-size:14px}.outcome-modal h2{font-size:34px}.outcome-modal h2 em{font-size:26px}.run-stats{gap:15px}.run-stats span{font-size:14px;letter-spacing:.5px}.outcome-modal .primary-button{padding:12px 15px;font-size:14px}.outcome-modal .secondary-button{font-size:14px}}
@media(max-height:480px) and (orientation:landscape){.title-content{top:10%;left:6%;width:50%}.title-content h1{font-size:48px}.title-eyebrow{font-size:14px;margin-bottom:13px}.title-subtitle{font-size:14px;letter-spacing:2px;margin-top:13px;max-width:250px}.title-story{font-size:14px;margin-top:12px}.title-actions{margin-top:14px;gap:2px}.title-start{height:36px;min-height:36px;min-width:250px;font-size:14px;padding:8px 14px}.title-actions>.text-button{font-size:14px}.title-controls{position:fixed;left:65%;top:56%;width:30%;margin:0}.title-controls strong{font-size:14px}.control-pair{flex-direction:column;gap:7px}.title-bottom{left:6%;bottom:39px;right:5%;flex-direction:row;align-items:center}.title-gems{gap:20px}.title-gem{flex-direction:row;gap:8px}.title-gem>.gem-art{width:21px;height:27px}.title-gem span{font-size:14px}.title-gem p{font-size:14px}.progress-promise{max-width:180px}.progress-promise strong{font-size:14px}.progress-promise p>span{font-size:14px}.title-edition{bottom:16px}.modal-backdrop{padding:25px 50px 32px}.modal{max-height:calc(100dvh - 57px)}.pause-modal{width:580px;padding:23px 29px}.pause-modal>.eyebrow{font-size:14px}.pause-modal h2{font-size:29px}.pause-modal .modal-intro{font-size:14px}.pause-modal .pause-actions{margin-top:16px;flex-direction:row}.pause-modal .pause-actions>button{flex:1;min-height:39px;padding:9px 13px;font-size:14px}.pause-modal .pause-actions .input-key{font-size:14px;height:18px}.controls-reference{margin-top:17px;padding-top:13px}.controls-reference>div{grid-template-columns:repeat(4,1fr);gap:9px 12px;margin-top:10px}.controls-reference p{font-size:14px;gap:5px}.controls-reference .input-key{font-size:14px;height:16px}.save-actions{margin-top:8px}.forge-modal{width:740px;padding:20px 24px}.forge-modal>.modal-intro{font-size:14px;line-height:1.5}.forge-header h2{font-size:27px;margin-top:5px}.forge-header .eyebrow{font-size:14px}.forge-wallet{position:absolute;top:65px;right:25px;margin:0}.forge-wallet strong{font-size:23px}.forge-gems{grid-template-columns:repeat(3,1fr);gap:12px;margin-top:13px}.forge-card{display:flex;align-items:center;grid-template-columns:none;padding:10px 12px}.forge-gem-art{width:40px;height:45px;margin-bottom:7px}.forge-gem-art>.gem-art{width:31px;height:41px}.gem-rank-label{font-size:14px}.forge-card h3{font-size:19px;margin:3px 0}.forge-spell{font-size:14px}.gem-description{font-size:14px;line-height:1.5;min-height:31px;margin-top:7px;text-align:center}.gem-upgrade-effect{font-size:14px;margin-top:7px;padding-top:7px;text-align:center}.upgrade-button{min-height:27px;padding:6px;font-size:14px;margin-top:8px}.upgrade-note{font-size:14px;min-height:9px}.forge-footer{padding-top:9px;margin-top:10px}.forge-footer p{font-size:14px}.forge-footer .secondary-button{min-height:29px;padding:6px 11px;font-size:14px}.controller-nav{bottom:12px;font-size:14px}.controller-nav .input-key{height:14px}.save-status{bottom:12px;font-size:14px}.combat-dock{transform:translateX(-50%) scale(.58);bottom:23px}.chapter-panel h2{font-size:21px}.chapter-panel{top:17px;left:21px}.chapter-meta{font-size:14px;margin-top:6px}.navigation-panel{top:56px;width:105px;right:20px}.map-frame{width:83px;height:83px}.objective-block p{font-size:14px}.objective-block>.eyebrow{font-size:14px}.hud-wallet{bottom:54px;right:21px}.hud-help{bottom:13px}.outcome-modal{width:530px;padding:20px 32px}.outcome-sigil{display:none}.outcome-modal h2{font-size:31px}.outcome-modal h2 br{display:none}.outcome-modal h2 em{font-size:27px;margin-left:6px}.outcome-modal .modal-intro{font-size:14px;margin-top:10px}.run-stats{margin-top:15px;padding:13px 0;gap:35px}.run-stats strong{font-size:25px}.outcome-modal .pause-actions{flex-direction:row;margin-top:17px;gap:10px}.outcome-modal .pause-actions>button{flex:1;min-height:39px;font-size:14px;padding:9px 13px}.victory-gems{height:45px;margin-bottom:8px}.victory-gems>.gem-art{width:24px;height:31px}.victory-gems>.gem-art:nth-child(2){width:32px;height:41px;transform:translateY(-3px)}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

/* Each jewel preview is rendered from its original Blender model. */
.gem-art{display:block;flex:none;aspect-ratio:1;object-fit:contain;object-position:center;pointer-events:none}
.title-gem>.gem-art{width:43px;height:43px}.spell-stone .gem-art{width:50px;height:50px}.forge-gem-art{width:100%;height:152px;margin-bottom:15px}.forge-gem-art>.gem-art{width:146px;height:146px}.forge-gem-art>.gem-halo{display:none}.forge-card h3{font-size:25px}.forge-spell{font-size:14px}.gem-upgrade-effect{font-size:14px;line-height:1.65;min-height:42px}.gem-description{min-height:69px}.victory-gems>.gem-art{width:44px;height:44px}.victory-gems>.gem-art:nth-child(2){width:57px;height:57px}.title-gem span:not(.gem-art){font-size:16px}.title-gems{gap:26px}
.system-dialog{position:fixed;inset:0;z-index:90;display:flex;align-items:center;justify-content:center;background:#03100dd9;backdrop-filter:blur(12px);padding:25px}.system-dialog>section{width:470px;max-width:100%;background:radial-gradient(ellipse at top,#263527,#0b1915 80%);border:1px solid var(--border);padding:33px;box-shadow:0 20px 90px #0008}.system-dialog h2{font-family:'Cormorant Garamond',Georgia,serif;font-size:31px;color:var(--ivory);font-weight:400;line-height:1.15}.system-dialog p{font-size:14px;line-height:1.8;color:#a1b095;margin:18px 0 24px}.system-dialog button{display:block;width:100%;padding:13px 16px;min-height:43px;border:1px solid var(--border);background:#bbc38209;color:#cbd5b8;font-size:14px;margin-top:12px}.system-dialog button:first-of-type{background:linear-gradient(115deg,#c4b082,#9f8c62);border-color:#b6a377;color:#18241b}.system-dialog button:focus{outline:2px solid #e7cc94;outline-offset:5px}.system-dialog button:hover{filter:brightness(1.13)}
@media(max-height:760px){.forge-gem-art{height:118px}.forge-gem-art>.gem-art{width:115px;height:115px}.forge-card h3{font-size:23px}.gem-description{min-height:65px}.gem-upgrade-effect{font-size:14px;min-height:38px}.title-gem>.gem-art{width:36px;height:36px}}
@media(max-height:630px) and (min-width:761px){.forge-gem-art{height:82px}.forge-gem-art>.gem-art{width:81px;height:81px}.gem-description{min-height:54px}.gem-upgrade-effect{min-height:33px;font-size:14px}.forge-card h3{font-size:21px}}
@media(max-width:1100px){.title-gems{gap:20px}.title-gem span:not(.gem-art){font-size:14px}.progress-promise{max-width:185px}}
@media(max-width:760px){.title-gem>.gem-art{width:37px;height:37px}.title-gems{gap:21px}.title-gem span:not(.gem-art){font-size:14px}.forge-gem-art{width:75px;height:100px;margin:0;grid-row:1/6}.forge-gem-art>.gem-art{width:80px;height:80px}.forge-card{grid-template-columns:80px 1fr}.gem-description{min-height:0}.gem-upgrade-effect{min-height:0;font-size:14px}.forge-card h3{font-size:22px}.progress-promise{max-width:none}}
@media(max-width:520px){.title-gems{gap:13px}.title-gem{gap:6px}.title-gem span:not(.gem-art){font-size:14px}.title-gem>.gem-art{width:30px;height:30px}.forge-card{grid-template-columns:68px 1fr}.forge-gem-art{width:65px}.forge-gem-art>.gem-art{width:68px;height:68px}}
@media(max-height:480px) and (orientation:landscape){.forge-gem-art{width:100%;height:54px;margin-bottom:7px}.forge-gem-art>.gem-art{width:54px;height:54px}.forge-card{display:flex}.forge-card h3{font-size:18px}.gem-description{min-height:32px}.gem-upgrade-effect{min-height:27px;font-size:14px}.title-gem>.gem-art{width:29px;height:29px}.title-gem span:not(.gem-art){font-size:14px}.title-gems{gap:18px}}

/* Readable combat controls at the primary desktop play size. */
@media(min-width:1101px) and (min-height:600px){.spell-slot{width:80px}.spell-name{font-size:14px}.spell-key .input-key{font-size:14px;height:21px;min-width:21px}.weapon-slot>span:last-child,.utility-slot>span:last-child{font-size:14px}.utility-slot .input-key,.weapon-slot>.input-key{font-size:14px;height:21px;min-width:21px}.skill-and-xp{min-width:494px}.skill-row{gap:13px}.chapter-panel>.eyebrow{font-size:14px}.chapter-meta{font-size:14px}.objective-block>.eyebrow{font-size:14px}.objective-block p{font-size:14px}.forge-shortcut{font-size:14px}.forge-shortcut .input-key{font-size:14px;height:19px}.hud-help{font-size:14px}.hud-help .input-key{font-size:14px;height:19px}.title-controls strong{font-size:14px}.title-controls p span{font-size:14px}.control-pair>span{font-size:14px}.control-pair .input-key{font-size:14px;height:20px}.keyboard-note{font-size:14px}.title-gem p{font-size:14px}.progress-promise strong{font-size:14px}.progress-promise p>span{font-size:14px}.title-gem span:not(.gem-art){font-size:17px}.title-gems{gap:27px}.forge-modal>.modal-intro{font-size:14px}.gem-description{font-size:14px}.gem-upgrade-effect{font-size:14px}.upgrade-button{font-size:14px}.upgrade-note{font-size:14px}.forge-spell{font-size:14px}.forge-card h3{font-size:23px}.controls-reference p{font-size:14px}.controls-reference .input-key{font-size:14px}.save-actions>.text-button{font-size:14px}.controller-nav{font-size:14px}.controller-nav .input-key{font-size:14px;height:20px}}

.system-dialog p{white-space:pre-line}
@media(min-width:1101px) and (min-height:600px) and (max-height:760px){.forge-modal{padding-top:22px;padding-bottom:18px}.forge-gems{margin-top:18px}.forge-gem-art{height:103px}.forge-gem-art>.gem-art{width:103px;height:103px}.forge-card{padding-top:14px;padding-bottom:12px}.forge-footer{margin-top:14px;padding-top:12px}}

/* Give the modeled treasures room to show their metalwork and facets. */
@media(min-width:1101px) and (min-height:640px){
  .forge-modal{width:1000px;max-height:calc(100vh - 54px);padding:21px 25px 17px}
  .forge-header h2{font-size:36px;margin-top:7px}.forge-header>.icon-button{margin-top:3px}
  .forge-modal>.modal-intro{position:absolute;top:29px;left:300px;right:211px;margin:0;font-size:14px;line-height:1.8}
  .forge-wallet{top:33px;right:75px}.forge-wallet strong{font-size:30px}.forge-wallet span{width:47px;line-height:1.5}
  .forge-gems{margin-top:17px;gap:18px}.forge-card{padding:12px 18px 11px}
  .forge-gem-art{height:168px;margin-bottom:7px}.forge-gem-art>.gem-art{width:160px;height:160px;max-width:100%;filter:drop-shadow(0 0 10px color-mix(in srgb,var(--gem-color),transparent 78%))}
  .gem-rank-label{font-size:14px;line-height:1.4}.forge-card h3{font-size:25px;margin:5px 0 3px}.forge-spell{font-size:14px;line-height:1.4}
  .gem-description{font-size:14px;line-height:1.65;min-height:50px;margin-top:11px}.gem-upgrade-effect{font-size:14px;line-height:1.5;min-height:36px;margin-top:9px;padding-top:8px}
  .upgrade-button{min-height:36px;margin-top:11px;padding:9px 11px}.upgrade-note{font-size:14px;line-height:1.4;min-height:14px;margin-top:7px}
  .forge-footer{margin-top:14px;padding-top:12px}.forge-footer p{font-size:15px}.forge-footer>.secondary-button{min-height:34px}
  .spell-stone{width:60px;height:62px}.spell-stone>.gem-art{width:58px;height:58px}.spell-slot{height:103px;flex:none}.skill-row{height:108px}.spell-rank{top:-1px;right:6px}.cooldown-cover{left:3px;right:3px;bottom:3px}.cooldown-number{top:23px}
  .title-gem>.gem-art{width:43px;height:43px}
}
@media(min-width:1101px) and (min-height:800px){.forge-modal{padding:29px 31px 24px}.forge-modal>.modal-intro{top:36px;left:308px;right:220px}.forge-wallet{top:41px;right:84px}.forge-gems{margin-top:22px}.forge-card{padding:17px 21px 15px}.forge-gem-art{height:184px;margin-bottom:11px}.forge-gem-art>.gem-art{width:170px;height:170px}.gem-description{font-size:14px;line-height:1.7;min-height:57px}.gem-upgrade-effect{font-size:14px;min-height:40px}.forge-footer{margin-top:19px;padding-top:16px}}

/* The repeatable rift altar. Crests are bought with combat gold. */
button:disabled{opacity:.4;transform:none!important}.primary-button:disabled{filter:saturate(.4);box-shadow:none}.altar-screen .title-content{top:15%;width:48%}.altar-screen .title-content h1{font-size:clamp(54px,5.8vw,84px)}.altar-screen .title-eyebrow{font-size:14px;letter-spacing:2.1px;margin-bottom:24px}.altar-screen .title-story{font-size:23px;margin-top:27px;line-height:1.4}.altar-screen .title-subtitle{margin-top:25px}.altar-screen .title-shade{background:linear-gradient(90deg,#04100bee,#04100bb5 38%,#04100b33 67%,#04100b94),linear-gradient(0deg,#06100ff7,transparent 62%)}.rift-loop{display:flex;align-items:center;gap:13px;margin-top:28px}.rift-loop>span{display:flex;flex-direction:column;gap:8px;font-size:14px;color:#c4c6ae}.rift-loop b{font-family:'Cormorant Garamond',Georgia,serif;font-size:16px;font-weight:500;color:#8c9b76}.rift-loop>i{width:20px;height:1px;background:#86946b44;align-self:flex-end;margin-bottom:6px}.loop-upgrade-note{margin-top:15px;font-size:14px;line-height:1.7;color:#7e9176}.altar-screen .title-controls{margin-top:25px}.altar-screen .title-bottom{bottom:58px;align-items:center}.altar-screen .title-edition{font-size:14px}.altar-screen .progress-promise{max-width:310px}.altar-screen .progress-promise p>span{line-height:1.6}
.altar-panel{position:absolute;top:14%;right:7.2%;width:350px;padding:30px 25px 23px;border:1px solid #b7a17140;background:radial-gradient(ellipse at 50% 0,#3f402527,transparent 80%),linear-gradient(135deg,#15221ded,#081612f2);box-shadow:0 15px 70px #0006;backdrop-filter:blur(10px);text-align:center}.altar-panel:before,.altar-panel:after{content:'';position:absolute;pointer-events:none;width:18px;height:18px;border-color:#b7a674aa}.altar-panel:before{top:-1px;left:-1px;border-top:1px solid;border-left:1px solid}.altar-panel:after{bottom:-1px;right:-1px;border-right:1px solid;border-bottom:1px solid}.altar-panel>.eyebrow{font-size:14px;letter-spacing:2px}.altar-panel h2{font-family:'Cormorant Garamond',Georgia,serif;font-size:39px;font-weight:400;color:#e3dec4;margin:7px 0 0;line-height:1.1}.altar-crest{position:absolute;top:-36px;left:50%;transform:translateX(-50%);width:61px;height:61px;display:flex;align-items:center;justify-content:center;color:#cfba88;border:1px solid #b6a27180;border-radius:50%;background:radial-gradient(ellipse at 40% 30%,#595637,#141e14 75%);box-shadow:0 0 0 5px #17231a,0 0 0 6px #8e845842,0 2px 30px #000b}.altar-crest:after{content:'';position:absolute;inset:6px;border:1px solid #b9a97f42;border-radius:50%}.altar-crest>.line-icon{width:30px;height:35px;filter:drop-shadow(0 1px 3px #000)}.altar-panel>.eyebrow{display:block;margin-top:14px}.altar-balances{display:flex;justify-content:center;gap:0;margin:21px 0 19px}.altar-balances>span{display:flex;align-items:center;justify-content:center;gap:8px;width:50%}.altar-balances>span+span{border-left:1px solid #a6b08526}.altar-balances .line-icon{width:19px;height:22px;color:#ac9b68}.altar-balances strong{font-family:'Cormorant Garamond',Georgia,serif;font-size:30px;line-height:1;font-weight:500;color:#dfd4a7}.altar-balances small{font-size:14px;color:#899d7c;align-self:flex-end;margin-bottom:3px}.altar-enter{width:100%;font-size:14px;gap:10px;min-height:47px;padding:12px 14px}.altar-enter small{font-size:14px;color:#384531;margin-left:auto;font-weight:500;white-space:nowrap}.altar-enter>.line-icon{margin-left:0;width:13px}.crest-purchase{width:100%;margin-top:10px;justify-content:space-between;min-height:41px;padding:10px 13px;font-size:14px}.crest-purchase>span{display:flex;align-items:center;gap:7px}.crest-purchase .line-icon{width:15px;height:17px}.crest-purchase b{font-size:14px;font-weight:500;color:#c7cba8}.altar-side-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px;padding-top:16px;border-top:1px solid #a1ac8128}.altar-side-actions .text-button{align-items:flex-start;text-align:left;justify-content:flex-start;gap:7px;font-size:14px;color:#b9c7a6;padding:4px 0}.altar-side-actions .text-button>.line-icon{height:17px;width:15px}.altar-side-actions .text-button>span{display:flex;flex-direction:column;gap:7px;white-space:nowrap}.altar-side-actions small{font-size:14px;color:#71856a;font-weight:400}.rift-odds{border-top:1px solid #a1ac8120;margin-top:18px;padding-top:15px;display:flex;flex-direction:column;gap:7px}.rift-odds strong{font-size:14px;letter-spacing:1.3px;font-weight:500;color:#b2b695;text-transform:uppercase}.rift-odds>span{font-size:14px;color:#93a284}.rift-odds small{font-size:14px;color:#60765b;line-height:1.5}.pending-chest-note{padding:9px 11px;margin:-4px 0 12px;background:#a4964930;border:1px solid #b9b07b4a;font-size:14px;line-height:1.6;color:#d0ce9f}

/* Hunt progress, the guardian, and a physical chest to collect. */
.rift-status{position:absolute;left:50%;top:33px;transform:translateX(-50%);width:340px;text-shadow:0 1px 8px #000}.rift-progress-labels{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px}.rift-progress-labels>span{font-size:14px;letter-spacing:1.1px;color:#c1b1d0}.rift-progress-labels>strong{font-size:14px;font-weight:500;color:#d6c5e6}.rift-meter{height:7px;border:1px solid #c7a6dc38;background:#120f1b99;padding:1px;transform:skewX(-12deg)}.rift-meter>div{height:100%;background:linear-gradient(90deg,#623f82,#c4a0e3);width:0;transition:width .25s;box-shadow:0 0 10px #c8a7f025}.rift-modifier{display:flex;justify-content:center;align-items:center;gap:6px;font-size:14px;color:#bfb89b;margin-top:11px}.rift-modifier>.small-diamond{width:3px;height:3px;margin-right:0;opacity:.7}.modifier-detail{text-align:center;color:#8f9a82;font-size:14px;line-height:1.6;margin-top:5px}.boss-panel{top:126px;width:340px}.boss-panel h3{font-size:23px}.boss-panel>.eyebrow{font-size:14px}.chest-announcement{top:29%;width:350px}.chest-announcement>p{font-size:29px;margin-bottom:14px}.chest-interact{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:10px 15px;border:1px solid #cbb97c42;background:#142215b0;font-size:14px;color:#c9ceb0}.chest-interact>.line-icon{width:19px;height:20px;color:#d3bb80}.chest-interact .input-key{font-size:14px;height:20px}.gold-count{display:flex;gap:7px;align-items:center;color:#c2b283;font-size:14px}.gold-count .line-icon{width:16px;height:18px;color:#cbb677}.gold-count>b{font-size:16px;font-weight:500;color:#e1d5a4}.gold-count>span{font-size:14px;color:#8e9978}#ui[data-rift-stage=guardian] .rift-meter>div,#ui[data-rift-stage=chest] .rift-meter>div{background:linear-gradient(90deg,#92734a,#d8c28a)}#ui[data-rift-stage=chest] .rift-status{opacity:.75}.owned-copies{width:100%;display:flex;align-items:center;justify-content:space-between;margin-top:10px;color:#9ead8e;font-size:14px;line-height:1.3}.owned-copies>strong{font-size:14px;color:#d6d6b6;font-weight:500}.upgrade-button small{font-size:14px;color:#a6b293}.death-modal .pause-actions>.secondary-button{justify-content:flex-start}.death-modal .pause-actions>.secondary-button small{margin-left:auto;font-size:14px;color:#889777}

/* The reveal never promises a gem on a gold-only roll. */
.reward-modal{padding:30px 37px 29px;width:515px}.reward-modal>.eyebrow{font-size:14px;letter-spacing:2px}.reward-modal h2{font-size:37px;margin-top:7px}.reward-gold-art{display:flex;justify-content:center;align-items:center;height:95px;margin:15px 0 18px}.reward-gold-art>.line-icon{width:71px;height:64px;stroke-width:1;color:#c7ae74;filter:drop-shadow(0 0 18px #b0944236)}.reward-jewel{height:176px;display:flex;justify-content:center;align-items:center;margin-top:12px}.reward-jewel>div{height:170px;width:170px}.reward-jewel .gem-art{width:170px;height:170px;filter:drop-shadow(0 0 17px color-mix(in srgb,var(--gem-color),transparent 76%));animation:gem-float 5s ease-in-out infinite}.reward-modal.gem-found h2{font-size:23px;margin-top:10px;color:#92a285}.reward-gem-name{font-family:'Cormorant Garamond',Georgia,serif;font-size:33px;line-height:1.1;color:#e3d6c1;margin-top:8px}.reward-gem-name:empty{display:none}.reward-modal .modal-intro{font-size:14px;line-height:1.75;margin-top:13px}.reward-awards{display:flex;justify-content:center;align-items:center;gap:25px;border-top:1px solid var(--border);border-bottom:1px solid var(--border);margin-top:22px;padding:19px 0}.reward-gold{display:flex;align-items:center;gap:9px}.reward-gold>.line-icon{width:21px;height:21px;color:#c5af71}.reward-gold>strong{font-family:'Cormorant Garamond',Georgia,serif;font-size:30px;line-height:1;font-weight:500;color:#d9c99a}.reward-gold>span{font-size:14px;color:#929f7f}.reward-copy-count{display:flex;gap:7px;align-items:center;font-size:14px;color:#aaba98}.reward-copy-count>.line-icon{width:15px;height:17px}.reward-odds{font-size:14px;line-height:1.7;color:#708869;margin-top:14px}.reward-modal .pause-actions{margin-top:21px}.reward-modal.gem-found .reward-awards{margin-top:17px;padding:15px 0}.reward-modal.gem-found .pause-actions{margin-top:17px}.reward-modal.gem-found .pause-actions>.secondary-button{min-height:37px}.reward-modal.gem-found .pause-actions>.primary-button{min-height:43px}

@media(min-width:1101px) and (min-height:640px){.forge-modal{max-height:calc(100vh - 40px)}.forge-card>.gem-rank-label{position:absolute;top:16px;right:15px}.forge-gem-art{height:163px;margin-bottom:5px}.forge-card h3{margin-top:4px;margin-bottom:2px}.gem-description{margin-top:8px}.gem-upgrade-effect{margin-top:7px;padding-top:7px}.owned-copies{margin-top:8px}.upgrade-button{margin-top:8px;min-height:34px}.upgrade-note{margin-top:5px}.forge-modal>.modal-intro{right:207px}.forge-footer p{font-size:14px}.rift-progress-labels>span{font-size:14px}.rift-progress-labels>strong{font-size:14px}.modifier-detail{font-size:14px}.altar-screen .title-bottom .title-gem p{font-size:14px}}
@media(min-width:1500px){.altar-panel{width:395px;top:17%;padding:35px 30px 29px}.altar-panel h2{font-size:44px}.altar-panel>.eyebrow{font-size:14px}.altar-balances{margin-top:25px;margin-bottom:22px}.altar-balances strong{font-size:34px}.altar-enter{min-height:51px;font-size:14px}.crest-purchase{min-height:45px;font-size:14px}.altar-side-actions{margin-top:24px;padding-top:20px}.altar-side-actions .text-button{font-size:14px}.altar-side-actions small{font-size:14px}.rift-odds{margin-top:23px;padding-top:19px}.rift-odds>span{font-size:14px}.rift-odds small{font-size:14px}.altar-screen .title-content{top:20%}.altar-screen .title-content h1{font-size:88px}.rift-loop>span{font-size:14px}.rift-loop b{font-size:19px}.loop-upgrade-note{font-size:14px}.altar-screen .title-story{font-size:26px}.altar-screen .title-controls{margin-top:30px}}
@media(max-width:1100px) and (min-width:761px){.altar-panel{right:5%;width:325px;top:15%;padding:28px 21px 20px}.altar-screen .title-content{left:6%;top:16%;width:47%}.altar-screen .title-content h1{font-size:62px}.altar-screen .title-eyebrow{font-size:14px;letter-spacing:1.4px}.altar-screen .title-story{font-size:20px}.rift-loop{gap:10px}.rift-loop>span{font-size:14px}.rift-loop>i{width:13px}.loop-upgrade-note{font-size:14px}.altar-panel h2{font-size:35px}.altar-side-actions{gap:8px}.altar-side-actions small{font-size:14px}.rift-status{width:290px;top:28px}.rift-progress-labels>span{font-size:14px;letter-spacing:.7px}.modifier-detail{font-size:14px}.rift-modifier{font-size:14px}.boss-panel{top:112px;width:290px}.altar-screen .progress-promise{max-width:230px}.altar-screen .title-bottom{bottom:54px}.altar-screen .title-gem span:not(.gem-art){font-size:14px}.altar-screen .title-gems{gap:17px}.altar-screen .title-gem>.gem-art{width:34px;height:34px}}
@media(max-height:760px) and (min-width:1101px){.altar-screen .title-content{top:15%}.altar-screen .title-content h1{font-size:73px}.altar-screen .title-eyebrow{font-size:14px;margin-bottom:23px}.altar-screen .title-subtitle{margin-top:21px}.altar-screen .title-story{font-size:21px;margin-top:23px}.rift-loop{margin-top:24px}.loop-upgrade-note{margin-top:12px}.altar-screen .title-controls{margin-top:21px}.altar-panel{top:14%;padding-top:25px;padding-bottom:19px}.altar-panel>.eyebrow{margin-top:13px}.altar-panel h2{font-size:37px}.altar-balances{margin-top:18px;margin-bottom:17px}.altar-side-actions{margin-top:16px;padding-top:14px}.rift-odds{margin-top:15px;padding-top:13px}.altar-screen .title-bottom{bottom:57px}.reward-modal.gem-found{padding-top:22px;padding-bottom:23px}.reward-jewel{height:151px;margin-top:10px}.reward-jewel>div,.reward-jewel .gem-art{width:150px;height:150px}.reward-gem-name{font-size:29px}.reward-modal.gem-found h2{font-size:21px}.reward-modal.gem-found .modal-intro{font-size:14px;margin-top:10px}.reward-modal.gem-found .reward-awards{margin-top:15px;padding:13px 0}.reward-modal.gem-found .reward-odds{font-size:14px;margin-top:10px}}
@media(max-height:630px) and (min-width:761px){.altar-screen .title-content{top:15%;width:48%}.altar-screen .title-content h1{font-size:56px}.altar-screen .title-eyebrow{font-size:14px;margin-bottom:17px}.altar-screen .title-subtitle{margin-top:16px;font-size:14px}.altar-screen .title-story{font-size:17px;margin-top:17px}.rift-loop{margin-top:19px}.rift-loop>span{font-size:14px;gap:6px}.rift-loop b{font-size:14px}.loop-upgrade-note{font-size:14px;line-height:1.6;margin-top:10px}.altar-screen .title-controls{margin-top:18px}.altar-screen .title-controls strong{font-size:14px}.altar-screen .title-controls>p:first-child span,.altar-screen .keyboard-note{display:none}.altar-screen .control-pair>span{font-size:14px}.altar-panel{top:12%;width:320px;padding:22px 20px 15px}.altar-crest{width:49px;height:49px;top:-29px}.altar-crest>.line-icon{width:24px;height:29px}.altar-panel>.eyebrow{font-size:14px;margin-top:10px}.altar-panel h2{font-size:31px;margin-top:5px}.altar-balances{margin:15px 0}.altar-balances strong{font-size:26px}.altar-balances small{font-size:14px}.altar-balances .line-icon{width:16px;height:18px}.altar-enter{min-height:39px;padding:9px 12px;font-size:14px}.altar-enter>.input-key{font-size:14px;height:19px;min-width:19px}.altar-enter small{font-size:14px}.crest-purchase{min-height:35px;padding:8px 11px;font-size:14px;margin-top:9px}.altar-side-actions{margin-top:13px;padding-top:11px}.altar-side-actions .text-button{font-size:14px;gap:6px}.altar-side-actions small{font-size:14px}.rift-odds{margin-top:12px;padding-top:10px;gap:5px}.rift-odds strong{font-size:14px}.rift-odds>span{font-size:14px}.rift-odds small{font-size:14px}.altar-screen .title-bottom{bottom:45px}.altar-screen .title-gem span:not(.gem-art){font-size:14px}.altar-screen .title-gem>.gem-art{width:29px;height:29px}.altar-screen .progress-promise strong{font-size:14px}.altar-screen .progress-promise p>span{font-size:14px}.rift-status{top:24px;width:280px}.rift-progress-labels>span{font-size:14px}.rift-modifier{font-size:14px;margin-top:8px}.modifier-detail{font-size:14px}.boss-panel{top:104px;width:270px}.boss-panel h3{font-size:19px}.chest-announcement{top:32%;width:300px}.chest-announcement>p{font-size:23px}.reward-jewel{height:124px}.reward-jewel>div,.reward-jewel .gem-art{width:120px;height:120px}.reward-modal{padding:22px 31px}.reward-modal.gem-found h2{font-size:19px}.reward-gem-name{font-size:26px}.reward-modal .modal-intro{font-size:14px}.reward-awards{margin-top:15px;padding:14px 0}.reward-modal .pause-actions{margin-top:16px}.reward-modal.gem-found .pause-actions{flex-direction:row}.reward-modal.gem-found .pause-actions>button{flex:1;font-size:14px;padding:10px 12px}.reward-modal.gem-found .reward-odds{font-size:14px}.owned-copies{font-size:14px;margin-top:8px}}
@media(max-width:760px){.altar-screen{overflow:auto}.altar-screen .title-content{position:relative;top:auto;left:auto;width:auto;margin:73px 28px 0}.altar-screen .title-content h1{font-size:54px}.altar-screen .title-eyebrow{font-size:14px;margin-bottom:18px}.altar-screen .title-story{font-size:18px;margin-top:21px}.altar-screen .title-subtitle{margin-top:18px}.rift-loop{margin-top:23px;gap:12px}.rift-loop>span{font-size:14px}.rift-loop>i{width:13px}.loop-upgrade-note{font-size:14px}.altar-screen .title-controls{display:none}.altar-panel{position:relative;top:auto;right:auto;width:auto;max-width:380px;margin:63px 28px 0;padding:25px 22px 20px}.altar-panel>.eyebrow{font-size:14px}.altar-panel h2{font-size:34px}.altar-balances strong{font-size:29px}.altar-side-actions .text-button{font-size:14px}.altar-side-actions small{font-size:14px}.altar-screen .title-bottom{position:relative;left:auto;right:auto;bottom:auto;margin:31px 28px 60px;gap:23px}.altar-screen .title-edition{position:relative;left:auto;bottom:auto;margin:0 28px 55px;font-size:14px}.altar-screen .progress-promise{max-width:310px}.altar-screen .title-gems{flex-wrap:wrap;gap:13px}.altar-screen .title-gem span:not(.gem-art){font-size:14px}.altar-screen .title-gem>.gem-art{width:32px;height:32px}.altar-screen .title-art{position:fixed}.altar-screen .title-shade{position:fixed}.rift-status{top:105px;left:17px;transform:none;width:calc(100% - 151px);max-width:300px}.rift-progress-labels>span{font-size:14px;letter-spacing:.5px}.rift-progress-labels>strong{font-size:14px}.rift-meter{height:5px}.rift-modifier{justify-content:flex-start;font-size:14px;gap:5px;margin-top:8px}.modifier-detail{text-align:left;font-size:14px;line-height:1.4}.boss-panel{top:193px;width:calc(100% - 150px);max-width:290px}.boss-panel h3{font-size:18px}.chest-announcement{top:37%;width:280px}.chest-announcement>p{font-size:23px}.chest-interact{font-size:14px;padding:9px 12px}.gold-count>b{font-size:14px}.gold-count>span{font-size:14px}.reward-modal{padding:24px;width:440px}.reward-jewel{height:142px}.reward-jewel>div,.reward-jewel .gem-art{width:140px;height:140px}.reward-modal h2{font-size:32px}.reward-modal.gem-found h2{font-size:19px}.reward-gem-name{font-size:27px}.reward-modal .modal-intro{font-size:14px}.reward-awards{gap:15px;padding:15px 0;margin-top:18px}.reward-gold>strong{font-size:26px}.reward-gold>span,.reward-copy-count{font-size:14px}.reward-odds{font-size:14px}.reward-modal.gem-found .pause-actions>.primary-button{font-size:14px}.owned-copies{grid-column:2;font-size:14px;margin-top:9px}.owned-copies>strong{font-size:14px}.death-modal .pause-actions>.secondary-button{font-size:14px}}
/* Permanent character power */
.rating-badge{background:#12201ceb;border:1px solid #bca77d66;color:#ddd2af;display:flex;align-items:center;justify-content:center;gap:12px;padding:10px 13px}.rating-badge>span{font-size:14px;letter-spacing:1.2px}.rating-badge>strong{font:26px 'Cormorant Garamond',Georgia,serif;color:#f0d799;line-height:1}.rating-badge>small{font-size:14px;color:#a3b293}.rating-badge:hover{background:#283326;border-color:#d4bc7c}.altar-rating{width:100%;margin-top:17px}.hud-rating{gap:9px;margin-bottom:9px}.hud-rating>strong{font-size:24px}.hud-rating>small{display:none}.character-modal{width:850px;max-width:100%;padding:28px 32px}.character-rating{text-align:center;padding:19px 0 21px;border-bottom:1px solid var(--border)}.character-rating>span{display:block;font-size:14px;letter-spacing:2.5px;color:#b6a57c}.character-rating>strong{display:block;font:65px 'Cormorant Garamond',Georgia,serif;color:#edd4a0;line-height:1.1;margin:4px 0}.character-rating>p{font-size:14px;color:#a4b296}.character-basics{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;padding:21px 0}.character-basics>div{text-align:center}.character-basics span,.character-basics small{display:block;font-size:14px;color:#a4b295}.character-basics strong{display:block;font:29px 'Cormorant Garamond',Georgia,serif;color:#e0d6ba;margin:5px 0}.character-basics small{font-size:14px;color:#849777;line-height:1.5}.character-spells{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.character-spells article{border:1px solid var(--border);background:#13211b;padding:16px}.character-spells img{width:47px;height:56px;object-fit:contain;float:left;margin:0 11px 10px 0;filter:drop-shadow(0 0 9px color-mix(in srgb,var(--gem-color),transparent 75%))}.character-spells h3{font:22px 'Cormorant Garamond',Georgia,serif;color:#ded8bf;line-height:1.1;padding-top:4px}.character-spells article>div>span{display:block;font-size:14px;line-height:1.6;color:#95a387;margin-top:5px}.character-spells dl{clear:both;display:grid;grid-template-columns:1fr auto;gap:10px 5px;padding-top:10px;font-size:14px}.character-spells dt{color:#96a58a}.character-spells dd{margin:0;color:#e0d9bd;text-align:right}.character-spells article>p{font-size:14px;line-height:1.7;color:#96a58a;min-height:32px}.stat-contribution{display:block;font-size:14px;font-weight:500;color:#d9c28f;border-top:1px solid var(--border);margin-top:12px;padding-top:12px}.rating-explanation{font-size:14px;color:#899d80;line-height:1.7;margin-top:15px}.character-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid var(--border);padding-top:17px;margin-top:19px;font-size:14px;color:#a0af91}.upgrade-rating{font-size:14px;color:#c7df9c;margin:12px 0 7px;font-variant-numeric:tabular-nums}.upgrade-stats{font-size:14px;line-height:1.7;color:#a4b393;margin-bottom:10px}.forge-footer{flex-wrap:wrap;gap:18px}.forge-footer>.text-button{font-size:14px}.forge-footer>.text-button strong{color:#e8cc94}.forge-footer>p{flex:1}.character-modal .forge-header h2{font-size:38px}.character-modal .icon-button{flex:none}@media(max-width:760px){.character-modal{padding:23px}.character-spells{grid-template-columns:1fr}.character-spells article{display:grid;grid-template-columns:48px 1fr;gap:5px 14px}.character-spells img{margin:0;grid-row:1/4}.character-spells dl{grid-column:2;padding:3px 0;margin:5px 0}.character-spells article>p,.stat-contribution{grid-column:2;min-height:0}.character-basics{gap:8px}.character-basics span{font-size:14px}.character-basics small{font-size:14px}.character-footer>span{max-width:50%;line-height:1.6}.upgrade-rating,.upgrade-stats{grid-column:2}.hud-rating{padding:7px 9px;gap:7px}.hud-rating>span{font-size:14px;letter-spacing:.7px}.hud-rating>strong{font-size:20px}}
.starter-modal{width:1000px;max-width:100%;padding:30px;text-align:center}.starter-modal>h2{font-size:44px}.starter-gems{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:25px}.starter-gems article{padding:20px;background:#13231e;border:1px solid var(--border);display:flex;flex-direction:column;align-items:center}.starter-gems img{height:155px;width:155px;object-fit:contain;filter:drop-shadow(0 0 18px color-mix(in srgb,var(--gem-color),transparent 75%))}.starter-gems h3{font:28px 'Cormorant Garamond',Georgia,serif;margin:12px 0 6px;color:#e5d6bb}.starter-gems article>strong{font-size:14px;color:var(--gem-color);font-weight:400}.starter-gems article>p{font-size:14px;line-height:1.8;color:#a5b297;margin:17px 0 22px;flex:1}.starter-gems button{width:100%;padding:12px 8px;font-size:14px}.starter-note{font-size:14px;color:#9cac8d;line-height:1.7;margin-top:20px}.spell-locked .spell-stone{filter:grayscale(1);opacity:.24}.spell-locked .spell-key,.spell-locked .spell-name{opacity:.4}.spell-locked .spell-rank{color:#9b9f8d;font-size:14px}@media(max-width:760px){.starter-modal{padding:24px}.starter-modal>h2{font-size:34px}.starter-gems{grid-template-columns:1fr;gap:14px}.starter-gems article{display:grid;grid-template-columns:76px 1fr;text-align:left;column-gap:17px;padding:16px}.starter-gems img{width:76px;height:96px;grid-row:1/4}.starter-gems h3{font-size:26px;margin:0 0 5px}.starter-gems article>p{grid-column:2;font-size:14px;margin:9px 0}.starter-gems button{grid-column:1/3;margin-top:10px}.starter-gems article>strong{grid-column:2}}

/* Blood-red interface. Layouts reflow instead of shrinking the text. */
:root{--ivory:#f2e8e3;--gold:#de9196;--gold-bright:#ffc0c3;--muted:#bfb0b2;--panel:#181316;--border:#75434b66;background:#100c0f;color:#efe5e2}
body{font-size:16px}.eyebrow{letter-spacing:1.6px}.input-key{font-size:14px!important;min-width:26px;height:26px!important;background:#150f14}.icon-button{width:42px;height:42px;background:#191317d9;color:#e1cfd1;border-color:#74444e88}.icon-button:hover{background:#39202a}.icon-button .line-icon{width:20px;height:20px}
button:focus-visible{outline-color:#ff8e99}.controller-selected{outline:2px solid #ff8e99!important;outline-offset:4px!important;box-shadow:0 0 25px #b31e3930!important}
.primary-button,.pause-actions .primary-button,.starter-gems button{font-size:17px;min-height:54px;background:linear-gradient(110deg,#a21c30,#741224);color:#fff0ed;border-color:#cd4c5c;box-shadow:inset 0 1px 0 #ff97a330,0 7px 26px #0004}
.primary-button:hover{background:linear-gradient(110deg,#bf2940,#94182e)}.primary-button .input-key{color:#fff0ed!important;border-color:#f5b4ba!important}.secondary-button,.upgrade-button{font-size:16px;min-height:48px;background:#21191ee8;color:#eee0df;border-color:#79535c88}.secondary-button:hover,.upgrade-button:not(:disabled):hover{background:#39212a;border-color:#d16878}.text-button{font-size:15px;color:#d4bcc1}.text-button:hover{color:#fff0ed}.primary-button:disabled,.secondary-button:disabled{opacity:.45}
.launch-screen{overflow-y:auto;background:#110b0f}.launch-art,.launch-shade{position:fixed;inset:0;pointer-events:none}.launch-art{background:url('./assets/title-background.jpg') 70% center/cover;filter:saturate(.45) sepia(.2);opacity:.85}.launch-shade{background:linear-gradient(90deg,#100b10fa 0%,#100b10ec 29%,#170c1399 53%,#20091222 78%),linear-gradient(0deg,#110b10bb,transparent 60%),linear-gradient(110deg,#490b1822,#880e2422)}
.launch-menu{position:relative;width:min(480px,calc(100% - 56px));margin:clamp(88px,14vh,160px) 0 64px clamp(28px,7vw,130px)}.launch-heading{margin-bottom:34px}.launch-heading h1{font:500 clamp(58px,6.2vw,90px)/.9 'Cormorant Garamond',Georgia,serif;letter-spacing:-2px;color:#f5e9e3;text-shadow:0 3px 30px #0008}.launch-heading h1 span{color:#e27983}.launch-heading p{font-size:14px;letter-spacing:4px;color:#c3adb4;margin-top:22px}
.rating-badge{background:#1c141be8;color:#e0c9ce;border-color:#80505a88}.rating-badge:hover{background:#36212b;border-color:#cf6e7d}.rating-badge>strong{color:#fff0e9;font-size:32px}.rating-badge>span{font-size:14px;letter-spacing:.3px}.rating-badge>small{font-size:14px;color:#d6b9c0}.launch-rating{width:100%;justify-content:flex-start;padding:14px 0;background:transparent;border:0;border-bottom:1px solid var(--border);margin-bottom:24px;gap:16px}.launch-rating>small{margin-left:auto}.launch-enter{width:100%;justify-content:flex-start;padding:18px;gap:12px;min-height:64px}.launch-enter>small{font-size:14px;margin-left:auto;font-weight:400;white-space:nowrap}.launch-enter>.line-icon{margin-left:0}.launch-secondary{display:grid;grid-template-columns:1.2fr 1fr;gap:12px;margin-top:14px}.launch-secondary button{padding:15px 10px;gap:8px}.launch-secondary small{font-size:14px;color:#bea7ae}.launch-supplies{border-top:1px solid var(--border);margin-top:26px;padding-top:18px}.launch-supplies>div{display:flex;gap:26px;align-items:center}.launch-supplies>div>span{display:flex;gap:7px;align-items:center;font-size:15px;color:#cbb8c0}.launch-supplies strong{color:#f1e4e5;font-weight:500}.launch-supplies .line-icon{width:19px;height:19px;color:#d89aa3}.launch-supplies>.text-button{margin-top:9px}.pending-chest-note{font-size:15px;background:#54172566;border-color:#ba57665c;color:#f0d4d8}
#ui[data-mode=title] .controller-nav,#ui[data-mode=title] .save-status:not(.save-warning){display:none}
.modal-backdrop{background:#0c080ccc}.modal{background:radial-gradient(ellipse at 50% 0%,#43212d77,transparent 65%),#151115;color:#eee2e1;padding:30px;max-height:calc(100dvh - 100px)}.modal:before,.modal:after{border-color:#b95a6a}.modal-intro,.reward-modal .modal-intro,.starter-note,.rating-explanation{font-size:15px!important;color:#c1b0b6;line-height:1.65}.modal h2{color:#f2e5e1}.modal .eyebrow{font-size:14px}.forge-modal{width:1080px}.forge-wallet{position:static;justify-content:flex-end;margin-top:12px}.forge-modal>.modal-intro{position:static;max-width:none}.forge-card,.starter-gems article,.character-spells article{background:#20191f;border-color:#70414f66}.forge-card h3,.starter-gems h3,.character-spells h3{color:#f1dfdf}.gem-description,.gem-upgrade-effect,.upgrade-note,.upgrade-stats,.character-spells article>p,.character-spells dt,.character-basics span,.character-basics small,.character-rating>p,.character-footer,.forge-footer,.forge-wallet span,.owned-copies,.starter-gems article>p{color:#c5b2bc;font-size:14px;line-height:1.6}.starter-gems article>strong{font-size:16px}.starter-gems article>p{font-size:15px}.upgrade-rating,.stat-contribution{color:#f1b4bf;font-size:16px}.character-rating>span{color:#e59eaa}.character-rating>strong{color:#f3e3e5}.character-basics strong,.character-spells dd{color:#f2e5e6}.character-modal{width:1000px}.character-spells dl{font-size:15px}.character-spells article>div>span{color:#c0aeb7}.forge-footer>p{display:none}.forge-footer>.text-button strong{color:#f0c8d0}.forge-footer .secondary-button{margin-left:auto}.forge-card>.gem-rank-label{position:static}.forge-gem-art{height:140px}.controls-reference p{font-size:15px;color:#cdbbc2}.pause-modal{width:550px}.save-actions>.text-button{color:#c7adb8}.controller-nav{font-size:14px;color:#d4bfc6;background:#160f17e8;padding:7px 12px}.save-status{font-size:14px;color:#cdbbc1}.game-toast{font-size:16px;background:#251720ed;color:#f5dfe3;border-color:#a75769}
.combat-dock{transform:translateX(-50%)!important;gap:18px}.skill-and-xp{min-width:600px}.skill-row{gap:16px}.spell-slot{width:96px}.weapon-slot,.utility-slot{width:53px}.spell-name,.weapon-slot>span:last-child,.utility-slot>span:last-child{color:#e0d4d8;font-size:14px}.spell-rank{font-size:14px}.spell-locked .spell-rank{font-size:12px}.health-label{font-size:12px;letter-spacing:1px}.health-frame{height:128px}.health-orb{border-color:#79505a}.orb-decoration{background:#aa5667;border-color:#382029}.xp-track>div{background:linear-gradient(90deg,#8e243c,#df7e91)}.rift-status{width:370px}.rift-progress-labels>span{letter-spacing:0;font-size:14px}.rift-progress-labels>strong,.rift-modifier,.modifier-detail{font-size:14px}.chapter-panel .eyebrow,.chapter-meta{font-size:14px;letter-spacing:1px}.objective-block p{font-size:14px;color:#d7cbd0}.forge-shortcut{font-size:14px;color:#e9d7df;background:#21151de8;border-color:#97536588}.hud-wallet{bottom:176px}.hud-help{font-size:14px}.health-numbers small,.xp-row>span:last-child{color:#d4bdc7}.rating-badge.hud-rating>span{font-size:14px}.gold-count>span{font-size:14px}.game-hud{ text-shadow:0 2px 5px #000,0 0 12px #000 }
@media(max-width:1000px){.launch-menu{margin-top:100px}.launch-art{background-position:62% center}.launch-shade{background:linear-gradient(90deg,#100b10ed,#180c15b0 65%,#200e1655)}.combat-dock{width:calc(100% - 32px);gap:14px;bottom:42px}.skill-and-xp{min-width:0;flex:1}.skill-row{gap:8px;justify-content:space-between}.spell-slot{width:80px}.weapon-slot,.utility-slot{width:40px}.hud-help{display:none}.hud-wallet{bottom:202px}.rift-status{left:24px;top:120px;transform:none;width:340px}.boss-panel{top:225px}.chapter-panel{top:26px;left:24px}.navigation-panel{top:85px;right:22px}.character-basics{grid-template-columns:1fr;gap:15px}.character-basics>div{display:grid;grid-template-columns:1fr auto;text-align:left;align-items:center}.character-basics small{grid-column:1/3}.forge-gems{grid-template-columns:1fr}.forge-card{display:flex}.forge-gem-art{height:150px}.forge-card>*{grid-column:auto}.gem-description{min-height:0}.forge-header{gap:20px}}
@media(max-width:600px){.launch-menu{margin:88px 24px 40px;width:calc(100% - 48px)}.launch-heading h1{font-size:60px}.launch-heading{margin-bottom:20px}.launch-rating{margin-bottom:20px}.launch-secondary{grid-template-columns:1fr 1fr}.launch-secondary button{flex-wrap:wrap;font-size:16px}.launch-secondary small{display:none}.app-tools{top:18px;right:22px}.modal-backdrop{padding:72px 14px 48px}.modal{padding:24px 18px;width:100%;max-height:calc(100dvh - 120px)}.starter-gems article{grid-template-columns:76px 1fr}.starter-gems article>p{font-size:15px}.starter-gems button{font-size:16px}.character-footer>span{display:none}.character-footer{justify-content:flex-end}.controller-nav{font-size:14px;white-space:nowrap;bottom:4px}.controller-nav .input-key{font-size:12px!important}.save-status{display:none}.save-status.save-warning{display:flex}.health-frame{width:66px;height:97px}.health-orb{width:64px;height:64px}.health-label{width:64px}.orb-decoration{left:27px}.skill-row{display:grid;grid-template-columns:repeat(3,1fr);height:auto;gap:13px 8px}.dock-divider{display:none}.spell-slot{width:auto;height:100px}.weapon-slot,.utility-slot{width:auto;align-self:end;padding-top:0}.spell-name{white-space:normal;text-align:center;line-height:1.1}.combat-dock{align-items:flex-end;bottom:22px}.hud-wallet{bottom:264px;right:17px;gap:5px}.hud-rating>strong{font-size:26px}.hud-rating{flex-direction:column;gap:4px}.hud-rating>span{font-size:12px!important}.forge-shortcut{padding:6px}.rift-status{left:20px;top:112px;width:calc(100% - 158px)}.rift-progress-labels{align-items:flex-start}.rift-modifier{justify-content:flex-start}.modifier-detail{display:none}.navigation-panel{width:115px}.map-frame{width:100px;height:100px}.objective-block{display:none}.chapter-panel h2{font-size:27px}.chapter-meta{letter-spacing:0;font-size:12px}.boss-panel{top:218px}.hud-rating{margin-bottom:0}.spell-locked .spell-name{opacity:.7}}

/* Gem collection: inspect an item, then socket or empower it. */
.collection-modal{width:1180px;max-width:100%;padding:30px;max-height:calc(100dvh - 96px)}
.collection-header{display:flex;justify-content:space-between;align-items:flex-start;gap:24px}.collection-header h2{margin-top:5px}.collection-header .modal-intro{margin-top:10px}.collection-header>.secondary-button{flex:none}
.collection-tabs{display:flex;align-items:center;gap:24px;border-bottom:1px solid var(--border);margin:22px 0 0}.collection-tabs>.text-button{font-size:17px;padding:14px 3px;border-bottom:2px solid transparent}.collection-tabs>.text-button[aria-pressed=true]{border-color:#e26579;color:#fff0ed}.collection-tabs span{color:#b79ca8;font-size:14px}.collection-tabs .collection-rating{margin-left:auto;color:#e9beca}
.collection-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,1fr);gap:30px;margin-top:24px;align-items:start}.collection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:5px;max-height:560px;overflow-y:auto;scrollbar-color:#834253 #191218;scrollbar-width:thin}
.collection-tile{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;position:relative;min-width:0;padding:12px 9px;border:1px solid #6b435455;background:radial-gradient(ellipse at center,color-mix(in srgb,var(--gem-color),transparent 96%),transparent),#21181f;color:#f2e1e9;transition:background .15s,border-color .15s}.collection-tile:hover{background-color:#32212c}.collection-tile[aria-pressed=true]{border-color:#d7778d;background-color:#3b202c}.collection-tile>.gem-art{width:96px;height:96px;object-fit:contain;filter:drop-shadow(0 3px 15px #0005)}.collection-tile>span{font:500 20px/1.1 'Cormorant Garamond',Georgia,serif;text-align:center;margin-top:6px}.collection-tile>small{font-size:14px;line-height:1.3;color:#bea8b5;margin-top:7px;text-align:center}.collection-tile.gem-undiscovered>.gem-art{opacity:.6}.collection-tile.gem-undiscovered>small{color:#b49aa7}
.collection-detail{display:flex;flex-direction:column;align-items:center;text-align:center;border-left:1px solid var(--border);padding:0 0 12px 28px;min-width:0}.detail-art{width:210px;height:210px;max-width:100%;object-fit:contain;filter:drop-shadow(0 0 25px color-mix(in srgb,var(--gem-color),transparent 86%));margin:0 0 14px}.collection-detail h3{font:500 37px/1.05 'Cormorant Garamond',Georgia,serif;color:#f3e1e4;margin:9px 0}.detail-effect-name{font-size:16px;color:color-mix(in srgb,var(--gem-color),#fff 30%);font-weight:500;margin-bottom:16px}.detail-lore{font-size:15px;color:#c2abb6;line-height:1.65}.detail-power{font-size:16px;color:#f1dae3;line-height:1.6;margin-top:17px;padding-top:17px;border-top:1px solid var(--border);width:100%}.detail-progress{font-size:14px;color:#d6aebb;margin-top:15px}.collection-detail button{width:100%;margin-top:13px}.collection-detail .primary-button{margin-top:16px}.detail-upgrade{font-size:14px;line-height:1.7;color:#ba9fad;margin-top:15px}.collection-detail .primary-button:disabled{opacity:.65;background:#2b1c24;border-color:#694052;color:#c2a7b5}
.starter-collection .collection-layout{margin-top:27px}.starter-collection .collection-grid{max-height:540px}.starter-collection .collection-tile:first-child{scroll-margin-top:8px}.starter-collection .detail-art{width:240px;height:240px}
.loadout-summary{margin-top:22px;border-top:1px solid var(--border);padding-top:20px}.loadout-summary h3{font:28px 'Cormorant Garamond',Georgia,serif;margin-bottom:12px}.loadout-summary>div{display:flex;align-items:center;gap:13px;margin:13px 0;padding:12px;background:#211720;border:1px solid #72435644}.loadout-summary img{width:52px;height:52px;object-fit:contain}.loadout-summary p{font-size:15px;line-height:1.6;color:#c7b0bd}.loadout-summary strong,.loadout-summary span{display:block}.loadout-summary strong{color:#f3dce8;font-weight:500}.normal-reward{display:flex;align-items:center;justify-content:center;gap:15px;border:1px solid var(--border);margin-top:18px;padding:10px;font-size:15px;color:#e2c9d8}.normal-reward img{object-fit:contain}
@media(max-width:1000px){.collection-modal{padding:25px}.collection-layout{grid-template-columns:minmax(0,1fr) minmax(250px,1fr);gap:18px}.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.collection-detail{padding-left:18px}.collection-detail h3{font-size:32px}.detail-art{width:180px;height:180px}}
@media(max-width:600px){.collection-modal{padding:20px 16px}.collection-header{gap:12px}.collection-header h2{font-size:32px}.collection-header>.secondary-button{padding:9px;font-size:14px;gap:5px}.collection-layout{display:flex;flex-direction:column;gap:22px}.collection-grid{width:100%;grid-template-columns:repeat(3,minmax(0,1fr));max-height:275px}.starter-collection .collection-grid{max-height:270px}.collection-tile{padding:9px 5px}.collection-tile>.gem-art{width:70px;height:70px}.collection-tile>span{font-size:18px}.collection-tile>small{font-size:14px}.collection-detail{border-left:0;border-top:1px solid var(--border);padding:20px 0 0;width:100%}.detail-art,.starter-collection .detail-art{width:170px;height:170px}.collection-tabs{gap:15px}.collection-tabs>.text-button{font-size:16px}.collection-tabs .collection-rating{font-size:14px}.collection-detail h3{font-size:35px}}

.detail-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%;margin-top:14px}.detail-actions:has(button[hidden]){grid-template-columns:1fr}.collection-detail .detail-actions button{margin:0;padding:12px 8px;font-size:15px}.collection-modal:not(.starter-collection) .detail-art{width:160px;height:160px}
@media(min-width:601px){.collection-modal{overflow:hidden}.collection-layout{height:min(580px,calc(100dvh - 315px));min-height:180px}.collection-grid,.starter-collection .collection-grid{max-height:100%;height:100%}.collection-detail{max-height:100%;overflow-y:auto;scrollbar-color:#834253 #191218;scrollbar-width:thin;padding-right:6px}}

.passive-dock{position:absolute;bottom:185px;left:50%;transform:translateX(-50%);display:flex;justify-content:center;gap:13px}.passive-dock>div{display:flex;align-items:center;gap:7px;padding:5px 10px;background:#1a111acc;border:1px solid #95546844;max-width:185px}.passive-dock img{width:36px;height:42px;object-fit:contain}.passive-dock span{font-size:14px;color:#ebd5e0;line-height:1.2}.relic-triggered{animation:relic-trigger .7s ease-out}@keyframes relic-trigger{0%{box-shadow:0 0 25px var(--gem-color);border-color:var(--gem-color)}100%{box-shadow:none;border-color:#95546844}}@media(max-width:600px){.passive-dock{bottom:268px;left:18px;transform:none;flex-direction:column;gap:5px;max-width:185px}.passive-dock>div{padding:4px 7px}.passive-dock img{width:28px;height:32px}}
/* The exploring Rift needs a legible local map; it reveals the route as walked. */
#ui[data-dungeon=true] .navigation-panel{width:190px}
#ui[data-dungeon=true] .map-frame{width:190px;height:190px}
#ui[data-dungeon=true] .map-north{display:none}
#ui[data-dungeon=true] .objective-block{border-color:#c39a8d40}
#ui[data-dungeon=true] .map-corner{border-color:#c39a8d80}
@media(max-width:1000px){#ui[data-dungeon=true] .navigation-panel,#ui[data-dungeon=true] .map-frame{width:155px}#ui[data-dungeon=true] .map-frame{height:155px}}
@media(max-width:600px){#ui[data-dungeon=true] .navigation-panel,#ui[data-dungeon=true] .map-frame{width:125px}#ui[data-dungeon=true] .map-frame{height:125px}}
