/* Ashen Covenant: the game's own styles, from the original single-file build.
   Scoped to the game stage (#ashen-stage) so they never touch the shared Lab
   chrome. Integration edits: the canvas, overlay and loading screen are
   position:absolute inside the stage instead of fixed to the window, :root
   variables live on the stage, html/body rules moved to styles.css, vh sizes
   follow the stage height (cqh, after a vh fallback) and the one max-height
   media query is a container query on the stage. Everything else is as shipped. */
#ashen-stage{color-scheme:dark;--gold:#cfb57b;--gold-dim:#86734d;--paper:#ded7c5;--muted:#969b91;--ink:#111813;--panel:#151e18;--border:#a5946538;--green:#aeb99b;--red:#b66750;font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:1.5;color:var(--paper);background:#0d1512}
#ashen-stage *{box-sizing:border-box}
#ashen-stage button,#ashen-stage input,#ashen-stage select{font:inherit;color:inherit}
#ashen-stage button{cursor:pointer;touch-action:manipulation}
#ashen-stage button:disabled{opacity:.38;cursor:not-allowed}
#ashen-stage button:focus-visible,#ashen-stage input:focus-visible,#ashen-stage select:focus-visible,#ashen-stage svg [tabindex]:focus-visible{outline:2px solid #e1c18b;outline-offset:3px}
#ashen-stage button{background:none;border:none}
#ashen-stage a{color:var(--gold)}
#ashen-stage input,#ashen-stage select{background:#0a100cbf;border:1px solid var(--border);border-radius:1px;padding:11px 12px;outline:none}
#ashen-stage input:focus,#ashen-stage select:focus{border-color:var(--gold-dim)}
#ashen-stage input[type=checkbox]{width:18px;height:18px;accent-color:#b2ab75}
#ashen-stage input[type=range]{width:140px;padding:0;accent-color:#c1a46e}
#ashen-stage h1,#ashen-stage h2,#ashen-stage h3,#ashen-stage h4,#ashen-stage p{margin:0}
#ashen-stage h1,#ashen-stage h2,#ashen-stage h3,#ashen-stage h4{font-family:Georgia,'Times New Roman',serif;font-weight:400}
#ashen-stage h3{font-size:21px}
#ashen-stage h4{font-size:14px}
#ashen-stage p{line-height:1.7}
#ashen-stage small{font-size:11px}
#ashen-stage kbd{font:10px Arial,sans-serif;color:#c7bfa9;padding:2px 5px;border:1px solid #c6ba953d;background:#0e140db3;border-radius:2px;white-space:nowrap}
#ashen-stage .icon{width:24px;height:24px;flex-shrink:0;vertical-align:middle}
#ashen-stage .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#ashen-stage [hidden]{display:none!important}
#ashen-stage #game-canvas,#ashen-stage #world-labels{position:absolute;inset:0;display:block;width:100%;height:100%}
#ashen-stage #game-canvas{outline:none;touch-action:none}
#ashen-stage #game-shell{position:absolute;inset:0;pointer-events:none}
#ashen-stage #game-shell button,#ashen-stage #game-shell input,#ashen-stage #game-shell select,#ashen-stage #game-shell form{pointer-events:auto}
#ashen-stage #world-labels{pointer-events:none}
#ashen-stage #screen-vignette{position:absolute;inset:0;box-shadow:inset 0 0 150px 32px #04090870;background:linear-gradient(0deg,#050b08a1,transparent 28%,transparent 75%,#050b0870);pointer-events:none}
#ashen-stage #damage-flash{position:absolute;inset:0;opacity:0;box-shadow:inset 0 0 130px 20px #c93a1d;transition:opacity .1s;pointer-events:none}
#ashen-stage .btn{min-height:42px;padding:10px 20px;border:1px solid #94826065;color:#d7c9ac;background:#b6a67a0b;letter-spacing:.6px;font-size:12px;display:inline-flex;align-items:center;justify-content:center;gap:12px;transition:background .17s,border-color .17s}
#ashen-stage .btn:hover:not(:disabled){background:#bdab7730;border-color:#c7aa6c}
#ashen-stage .btn.primary{background:linear-gradient(100deg,#78603d,#a38b59);border-color:#c4aa73;color:#fff2d5;box-shadow:inset 0 0 0 3px #191f1425;text-shadow:0 1px 2px #40321b}
#ashen-stage .btn.primary:hover:not(:disabled){background:linear-gradient(100deg,#957d53,#b59a61)}
#ashen-stage .btn.subtle{border-color:transparent;background:none;color:#aba28c;min-height:35px}
#ashen-stage .btn.subtle:hover:not(:disabled){border-color:var(--border);background:#b6a67a0b}
#ashen-stage .btn.small{min-height:32px;font-size:11px;padding:6px 11px}
#ashen-stage .btn.danger{color:#cb9989;border-color:#a46d5355}
#ashen-stage .muted{font-size:12px;line-height:1.65;color:var(--muted)}
#ashen-stage .better{color:#b9d191!important}
#ashen-stage .worse{color:#d78e7b!important}
#ashen-stage .section-label{font:11px Arial,sans-serif;letter-spacing:1.9px;color:#b7aa8b;margin:0 0 16px}
#ashen-stage .scope-note{border-left:2px solid #a9956c;padding:12px 15px;background:#a9956c0b;font-size:12px}
#ashen-stage .scope-note strong{font-weight:400;color:#d9bb88}
#ashen-stage .scope-note p{margin-top:8px;color:#9ba393}
#ashen-stage code{font:11px monospace;color:#dbc69b;background:#070d0966;padding:2px 5px}
#ashen-stage blockquote{font:italic 13px/1.7 Georgia,serif;color:#a5aa99;margin:18px 0;border-left:1px solid #9d8d6655;padding-left:14px}
/* Opening screen: the real-time 3D sanctuary remains visible to the right. */
#ashen-stage #title-screen{position:absolute;inset:0;background:linear-gradient(90deg,#08110ff5 0%,#0a140fe8 29%,#0c160f91 48%,transparent 76%);pointer-events:none}
#ashen-stage .title-copy{position:absolute;left:7.5vw;top:50%;transform:translateY(-50%);width:390px;max-height:96vh;max-height:96cqh;overflow:auto;pointer-events:auto;padding:18px 10px 20px 0;scrollbar-width:thin;scrollbar-color:#615b42 transparent}
#ashen-stage .title-mark{color:#c7b17b;margin-bottom:13px}
#ashen-stage .title-mark .icon{width:52px;height:52px;stroke-width:1}
#ashen-stage h1{font-size:62px;line-height:.96;letter-spacing:13px;color:#eee1bf;text-shadow:0 3px 15px #04110a;white-space:nowrap}
#ashen-stage h1 span{display:block;font-size:30px;letter-spacing:9px;margin-top:13px}
#ashen-stage .title-line{font:italic 15px Georgia,serif;letter-spacing:.2px;color:#b9b89f;margin-top:22px}
#ashen-stage .title-rule{width:90px;height:1px;background:linear-gradient(90deg,#bcaa79,transparent);margin:25px 0}
#ashen-stage .title-copy h2{font-size:17px;color:#c3bea8;margin-bottom:14px}
#ashen-stage #class-picker{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}
#ashen-stage .class-pick{display:flex;flex-direction:column;align-items:center;gap:8px;padding:14px 3px 10px;border:1px solid #91937830;background:#0c150da8;color:#868d7d;transition:.2s}
#ashen-stage .class-pick .icon{width:30px;height:30px;stroke-width:1.5}
#ashen-stage .class-pick span{font-size:10px}
#ashen-stage .class-pick:hover,#ashen-stage .class-pick.selected{border-color:var(--class-color);color:var(--class-color);background:#a9b18812}
#ashen-stage .chosen-class{display:flex;align-items:center;gap:10px;margin-top:18px}
#ashen-stage .chosen-class h3{font-size:20px}
#ashen-stage .chosen-class span{font-size:10px;text-transform:uppercase;color:#9c9e8b;letter-spacing:1px}
#ashen-stage #class-details>p{margin-top:8px;color:#a3ab9b;font-size:12px;line-height:1.7;min-height:41px}
#ashen-stage .class-kit{display:flex;gap:15px;margin-top:11px;color:#b6b492}
#ashen-stage .class-kit .icon{width:21px;height:21px}
#ashen-stage .name-label{display:block;font-size:9px;letter-spacing:1.8px;color:#999e8c;margin-top:20px;margin-bottom:6px}
#ashen-stage #character-name{width:100%;height:38px;padding:8px 12px;font-size:13px}
#ashen-stage #begin-btn{margin-top:12px;width:100%;height:47px;letter-spacing:1.8px;justify-content:space-between}
#ashen-stage #continue-btn{width:100%;margin-top:4px}
#ashen-stage .title-foot{font-size:10px;color:#7c8b7d;line-height:1.7;margin-top:18px}
#ashen-stage .title-scene-caption{position:absolute;right:8%;bottom:14%;text-align:right}
#ashen-stage .title-scene-caption>span{font-size:11px;letter-spacing:5px;color:#dccea8}
#ashen-stage .title-scene-caption p{font:italic 19px/1.6 Georgia,serif;color:#d1ceba;margin-top:14px;text-shadow:0 2px 8px #06110a}
#ashen-stage .title-controls{position:absolute;left:7.5vw;bottom:23px;font-size:9px;letter-spacing:1px;color:#818f7d}
#ashen-stage .title-controls span{margin-left:18px;letter-spacing:0;color:#a8b09b}
#ashen-stage .build-label{position:absolute;right:30px;bottom:23px;font-size:9px;letter-spacing:1.5px;color:#9ba98e}
/* Heads-up display */
#ashen-stage #hud{position:absolute;inset:0}
#ashen-stage .character-plate{position:absolute;left:30px;top:27px;display:flex;align-items:center;gap:15px;text-shadow:0 2px 6px #000}
#ashen-stage .portrait{position:relative;display:grid;place-items:center;width:57px;height:65px;border:1px solid #aa9a6566;background:linear-gradient(145deg,#344035,#121e13);clip-path:polygon(10% 0,90% 0,100% 12%,100% 85%,50% 100%,0 85%,0 12%);color:#c7ba90}
#ashen-stage .portrait>.icon{width:35px;height:35px}
#ashen-stage .portrait>span{position:absolute;bottom:3px;font-size:10px;color:#e5d6aa;background:#151c12;padding:0 5px}
#ashen-stage #hero-name{font:18px Georgia,serif;letter-spacing:.3px}
#ashen-stage #hero-class{color:#b8ac8b;font-size:11px;margin-top:2px}
#ashen-stage .session-status{display:flex;align-items:center;gap:6px;margin-top:6px;font-size:8px;letter-spacing:.7px;color:#b2b3a0}
#ashen-stage .session-status i{display:block;width:4px;height:4px;border-radius:50%;background:#bdc29a;box-shadow:0 0 5px #bfc6a14d}
#ashen-stage #location-heading{position:absolute;top:30px;left:50%;transform:translateX(-50%);text-align:center;text-shadow:0 2px 8px #000;white-space:nowrap}
#ashen-stage #location-heading h2{font-size:20px;letter-spacing:4px;color:#e8ddbc}
#ashen-stage #location-subtitle{font-size:8px;letter-spacing:2px;color:#b3b39c;margin-top:8px}
#ashen-stage #quest-tracker{position:absolute;left:31px;top:135px;width:225px;text-shadow:0 1px 6px #050b04}
#ashen-stage .tracker-heading{display:flex;align-items:center;gap:8px;padding:0;color:#baab85;font-size:10px;letter-spacing:1.4px}
#ashen-stage .tracker-heading>.icon{width:16px;height:16px}
#ashen-stage .tracker-heading kbd{margin-left:10px;font-size:8px}
#ashen-stage #quest-name{font-size:16px;color:#dcd2b4;margin-top:12px}
#ashen-stage #quest-objective{font-size:11px;line-height:1.7;color:#b6bfad;margin-top:8px}
#ashen-stage #quest-distance{display:block;font-size:9px;color:#e1c896;margin-top:10px}
#ashen-stage #quest-progress{font-size:10px;color:#d9c190;margin-top:8px}
#ashen-stage .minimap-wrap{position:absolute;top:19px;right:26px;width:187px;text-align:center}
#ashen-stage #minimap{display:block;width:180px;height:180px;filter:drop-shadow(0 3px 9px #0009);margin:auto}
#ashen-stage .north{position:absolute;top:1px;left:89px;font-size:9px;color:#e8dbb4;z-index:1}
#ashen-stage .map-button{font-size:8px;letter-spacing:1.2px;color:#c1b48c;margin-top:5px}
#ashen-stage .map-button kbd{font-size:8px;margin-left:8px}
#ashen-stage #zone-level{margin-top:6px;font-size:8px;letter-spacing:1.2px;color:#adb396}
#ashen-stage #boss-bar{position:absolute;top:109px;left:50%;transform:translateX(-50%);width:420px;text-align:center}
#ashen-stage #boss-name{font:19px Georgia,serif;color:#e4c7a3;text-shadow:0 2px 5px #000;margin-bottom:9px}
#ashen-stage .boss-track{position:relative;width:100%;height:12px;border:1px solid #bb91586b;background:#171810;box-shadow:0 0 0 3px #131711cc}
#ashen-stage .boss-track i{display:block;height:100%;background:linear-gradient(90deg,#7b3831,#b07350);transition:width .15s}
#ashen-stage .boss-track span{position:absolute;inset:0;font-size:8px;line-height:10px;color:#eee0c0;text-shadow:0 1px 3px #000}
#ashen-stage #boss-phase{font-size:8px;letter-spacing:1.5px;color:#b6a389;margin-top:10px}
#ashen-stage #zone-announcement,#ashen-stage #large-announcement{position:absolute;top:29%;left:50%;transform:translate(-50%,-50%);text-align:center;color:#ead9aa;pointer-events:none;opacity:0;transition:opacity .4s;font:33px Georgia,serif;letter-spacing:3px;text-shadow:0 3px 15px #000}
#ashen-stage #zone-announcement small,#ashen-stage #large-announcement small{display:block;margin-top:9px;font:10px Arial,sans-serif;letter-spacing:2px;color:#d7c8a5}
#ashen-stage #large-announcement{top:39%;color:#ecd190;font-size:31px}
#ashen-stage #interact-prompt{position:absolute;left:50%;bottom:211px;transform:translateX(-50%)}
#ashen-stage #interact-prompt button{display:flex;align-items:center;gap:10px;padding:9px 18px;border:1px solid #bcad7f45;background:#0d170ee8;color:#e1cfa4;white-space:nowrap;font:13px Georgia,serif}
#ashen-stage #interact-prompt kbd{font-size:11px;border-color:#c3ad76;color:#eddda7;padding:2px 6px}
#ashen-stage #combo{position:absolute;right:32px;top:42%;font-size:10px;letter-spacing:2px;color:#ccbb8f;text-align:right}
#ashen-stage #combo strong{font:31px Georgia,serif;margin-right:7px;color:#e1c487}
#ashen-stage #combo span{display:block;color:#a2ad96;font:italic 12px Georgia,serif;margin-top:4px}
#ashen-stage #toasts{position:absolute;right:28px;top:260px;width:272px;display:flex;flex-direction:column;align-items:flex-end;gap:7px}
#ashen-stage .toast{background:#0c150edb;border-right:2px solid #b5a171;padding:9px 13px;max-width:100%;font-size:11px;color:#dcd1b3;animation:toast-in .22s ease-out;box-shadow:0 4px 14px #0003}
#ashen-stage .toast.warning{border-color:#c38160;color:#e6bca1}
#ashen-stage .toast.loot{border-color:#c5b576;color:#e0d5ab}
#ashen-stage .toast.level{border-color:#d7b065;color:#efda9b}
@keyframes toast-in{from{opacity:0;transform:translateX(14px)}to{opacity:1;transform:none}}
#ashen-stage #chat-box{position:absolute;left:28px;bottom:47px;width:280px;font-size:10px;color:#a6b79d;text-shadow:0 1px 4px #000}
#ashen-stage #chat-log{max-height:125px;overflow:hidden;line-height:1.7;mask-image:linear-gradient(0deg,#000 90%,transparent)}
#ashen-stage #chat-log b{font-weight:400;color:#d2bc89;margin-right:5px}
#ashen-stage #chat-log p{line-height:1.65;overflow-wrap:anywhere}
#ashen-stage #chat-form{margin-top:8px}
#ashen-stage #chat-input{width:100%;height:34px;font-size:11px;padding:6px 9px}
#ashen-stage .chat-hint{display:flex;align-items:center;gap:7px;margin-top:11px;padding:0;color:#9daa91;font-size:9px}
#ashen-stage .chat-hint .icon{width:15px;height:15px}
#ashen-stage .chat-hint kbd{font-size:8px;margin-left:5px}
#ashen-stage #action-bar{position:absolute;left:50%;bottom:39px;transform:translateX(-50%);display:flex;align-items:center;gap:15px}
#ashen-stage .vital-container{position:relative;width:112px;display:flex;flex-direction:column;align-items:center}
#ashen-stage .vital-orb{position:relative;width:99px;height:99px;border-radius:50%;overflow:hidden;box-shadow:0 0 0 3px #22291c,0 0 0 4px #a894615e,0 0 0 8px #111a10b3,0 8px 20px #0007,inset 0 0 20px 5px #000b;border:1px solid #d4bc784d;background:#131b14}
#ashen-stage .orb-liquid{position:absolute;inset:var(--fill,0%) 0 0 0;transition:top .18s;background:radial-gradient(ellipse at 50% 25%,#d06b53,#993b35 45%,#4e201f);box-shadow:0 -2px 12px #e875616b,inset 0 -10px 20px #0008}
#ashen-stage .essence .orb-liquid{background:radial-gradient(ellipse at 50% 25%,#79aaca,#42798d 45%,#173946);box-shadow:0 -2px 12px #86c9e567,inset 0 -10px 20px #0008}
#ashen-stage .orb-liquid:before{content:'';position:absolute;width:180%;height:55%;border-radius:45%;background:#efc9a611;top:0;left:-40%;transform:rotate(9deg)}
#ashen-stage .orb-shine{position:absolute;inset:0;background:radial-gradient(ellipse at 27% 20%,#fef0ca33,transparent 37%),radial-gradient(ellipse at 80% 80%,transparent 35%,#0006 100%);border-radius:50%;box-shadow:inset 0 0 14px 3px #060905ab}
#ashen-stage .vital-orb strong{position:absolute;left:0;right:0;bottom:31px;text-align:center;font:23px Georgia,serif;color:#f6e7c9;text-shadow:0 2px 4px #000}
#ashen-stage .vital-container>label{font-size:8px;color:#c6bfa8;letter-spacing:1px;margin-top:13px}
#ashen-stage .vital-container>label small{font-size:8px;color:#929980;letter-spacing:0}
#ashen-stage .flask-button{position:absolute;bottom:-17px;left:-16px;border:1px solid #b2a16a4a;background:#172014ed;width:40px;height:49px;color:#ca9580}
#ashen-stage .flask-button.mana{left:auto;right:-16px;color:#89b5c6}
#ashen-stage .flask-button>.icon{width:24px;height:24px;margin-top:-5px}
#ashen-stage .flask-button kbd{position:absolute;top:-8px;left:-7px;font-size:9px}
#ashen-stage .flask-button span{position:absolute;bottom:1px;left:0;right:0;text-align:center;font-size:8px;letter-spacing:1px}
#ashen-stage .ability-deck{position:relative;background:linear-gradient(0deg,#151d11ed,#151d11b3);padding:12px 11px 8px;border:1px solid #a18d573d;box-shadow:0 6px 20px #0003}
#ashen-stage .deck-ornament{position:absolute;left:0;right:0;top:-17px;display:flex;align-items:center;justify-content:center;gap:10px;color:#b9a46d}
#ashen-stage .deck-ornament .icon{width:19px;height:19px}
#ashen-stage .deck-ornament>span{height:1px;width:80px;background:linear-gradient(90deg,transparent,#ac98577a)}
#ashen-stage .deck-ornament>span:last-child{transform:rotate(180deg)}
#ashen-stage #skill-buttons{display:flex;gap:7px;align-items:center}
#ashen-stage .skill-slot,#ashen-stage .aux-skill{position:relative;width:58px;height:65px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:radial-gradient(ellipse at 50% 70%,#5663424d,#141d14);border:1px solid #9b98674d;color:#d7c58f;overflow:visible;isolation:isolate;transition:border-color .15s,transform .15s}
#ashen-stage .skill-slot:hover{border-color:#d2b780;transform:translateY(-2px)}
#ashen-stage .skill-slot>.icon{width:29px;height:29px;filter:drop-shadow(0 0 5px #d9c89622)}
#ashen-stage .skill-slot>kbd,#ashen-stage .aux-skill>kbd{position:absolute;top:-7px;left:3px;font-size:9px;z-index:3}
#ashen-stage .skill-name{font-size:7px;line-height:1;text-transform:uppercase;white-space:nowrap;color:#b8b395}
#ashen-stage .skill-cooldown{position:absolute;bottom:0;left:0;right:0;background:#020703ba;pointer-events:none;z-index:1;transition:height .05s}
#ashen-stage .cooldown-number{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font:18px Georgia,serif;color:#f1d8ad;z-index:2;text-shadow:0 1px 3px #000}
#ashen-stage .no-mana{color:#767d6b;border-color:#524f3b}
#ashen-stage .aux-skill{width:42px;height:50px;border-color:#9b98672b;background:#131b12aa;color:#a3a68c}
#ashen-stage .aux-skill>.icon{width:21px;height:21px}
#ashen-stage .aux-skill>span{font-size:6px;letter-spacing:.7px}
#ashen-stage .aux-skill>kbd{font-size:7px}
#ashen-stage .aux-skill>strong{position:absolute;top:16px;font-size:13px;color:#ecd3a8;text-shadow:0 1px 2px #000}
#ashen-stage .deck-caption{display:flex;justify-content:space-around;font-size:6px;color:#c0b08a;margin-top:9px}
#ashen-stage .deck-caption b{font-weight:400;margin-left:3px;color:#8e9b80}
#ashen-stage #system-nav{position:absolute;right:28px;bottom:47px;display:flex;gap:7px}
#ashen-stage #system-nav>button{position:relative;width:35px;height:37px;display:grid;place-items:center;color:#b6b090;background:#0b150cbf;border:1px solid #a18f5c3d}
#ashen-stage #system-nav>button:hover{color:#e1cd99;border-color:#c0ab745e}
#ashen-stage #system-nav>.icon{width:20px;height:20px}
#ashen-stage #system-nav kbd{position:absolute;right:-2px;bottom:-8px;font-size:7px;padding:1px 3px}
#ashen-stage #points-dot{position:absolute;top:-8px;right:-5px;background:#c4a168;color:#121a10;font-size:9px;min-width:15px;line-height:15px;border-radius:50%}
#ashen-stage #experience-track{position:absolute;bottom:0;left:0;right:0;height:4px;background:#0e150c}
#ashen-stage #experience-track>i{display:block;height:100%;background:linear-gradient(90deg,#7f9364,#c4bc7b);box-shadow:0 0 6px #afa85d55;transition:width .3s}
#ashen-stage #xp-caption{position:absolute;left:50%;transform:translateX(-50%);bottom:9px;font-size:8px;color:#a3ac90;letter-spacing:1px}
#ashen-stage #save-indicator{position:absolute;left:28px;bottom:12px;font-size:7px;letter-spacing:1px;color:#91a181}
#ashen-stage #help-shortcut{position:absolute;right:28px;bottom:12px;font-size:8px;color:#a6b492;padding:0}
#ashen-stage #help-shortcut kbd{font-size:7px}
/* Menus are real DOM interfaces over the paused solo simulation. */
#ashen-stage #panel-backdrop{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#050b07a3;backdrop-filter:blur(4px);pointer-events:auto;padding:32px;z-index:20}
#ashen-stage #panel{position:relative;width:min(1060px,95vw);max-height:calc(100vh - 64px);max-height:calc(100cqh - 64px);background:linear-gradient(115deg,#1b261eee,#111b16f5);border:1px solid #b09b674f;box-shadow:0 22px 90px #0009,0 0 0 5px #0d160c99;display:flex;flex-direction:column;overflow:hidden}
#ashen-stage .panel-header{position:relative;display:flex;justify-content:space-between;align-items:center;padding:24px 32px 21px;border-bottom:1px solid var(--border);background:linear-gradient(90deg,#b3a57507,transparent)}
#ashen-stage .panel-eyebrow{font-size:8px;letter-spacing:2px;color:#b0aa8b;margin-bottom:8px}
#ashen-stage #panel-title{font-size:28px;color:#e2d8bc}
#ashen-stage .panel-resources{display:flex;gap:20px;margin-right:42px;font-size:13px;color:#d8c28d}
#ashen-stage .panel-resources span{display:flex;align-items:center;gap:6px}
#ashen-stage .panel-resources .icon{width:17px;height:17px}
#ashen-stage .close-button{position:absolute;right:16px;top:18px;width:32px;height:32px;display:grid;place-items:center;border:1px solid #baa67a22;color:#aaa992}
#ashen-stage .close-button:hover{border-color:#bea67588;color:#eed7aa}
#ashen-stage .close-button>.icon{width:19px;height:19px}
#ashen-stage #panel-body{overflow:auto;padding:25px 32px 27px;scrollbar-width:thin;scrollbar-color:#746b4a #0a120a}
#ashen-stage .panel-footer{font-size:8px;color:#8d9a83;letter-spacing:.7px;border-top:1px solid #a6956630;padding:11px 32px;display:flex;align-items:center;justify-content:space-between;background:#0c160d55}
#ashen-stage .panel-footer kbd{font-size:7px}
#ashen-stage .inventory-layout{display:grid;grid-template-columns:220px 1fr 260px;gap:28px;min-height:390px}
#ashen-stage .sheet-emblem{display:grid;place-items:center;width:57px;height:57px;margin-bottom:8px;color:#c4b58e}
#ashen-stage .sheet-emblem .icon{width:44px;height:44px;stroke-width:1.3}
#ashen-stage .character-sheet>h3{font-size:21px}
#ashen-stage .character-sheet>p{font-size:11px;color:#aeb39e;margin:3px 0 13px}
#ashen-stage .character-stats{border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:10px 0;margin-bottom:17px}
#ashen-stage .character-stats>div{display:flex;justify-content:space-between;gap:10px;font-size:11px;line-height:1.9}
#ashen-stage .character-stats span{color:#acb19d}
#ashen-stage .character-stats b{font-weight:400;color:#e0d6b5}
#ashen-stage .equipped-list{display:grid;gap:7px}
#ashen-stage .equipped-row{display:flex;align-items:center;gap:10px}
#ashen-stage .equipped-row>.item-cell{width:39px;height:39px;flex:0 0 39px}
#ashen-stage .equipped-row>.item-cell>.icon{width:25px;height:25px}
#ashen-stage .equipped-row>span{font-size:8px;letter-spacing:1px;color:#a1a88f}
#ashen-stage .equipped-row small{display:block;font-size:10px;letter-spacing:0;color:#c5bea4;margin-top:2px;line-height:1.3}
#ashen-stage .equipped-row .socket-dots{bottom:-2px}
#ashen-stage .subheading{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}
#ashen-stage .subheading h3{font:10px Arial,sans-serif;letter-spacing:1.5px;color:#c1b795}
#ashen-stage .subheading span{font-size:10px;color:#919f85}
#ashen-stage .inventory-grid{display:grid;grid-template-columns:repeat(5,minmax(35px,1fr));gap:7px}
#ashen-stage .item-cell{position:relative;aspect-ratio:1/1;width:100%;border:1px solid color-mix(in srgb,var(--rarity,#696c50) 55%,transparent);background:radial-gradient(ellipse at 50% 110%,color-mix(in srgb,var(--rarity,#404936) 20%,transparent),#0b140dc7);display:grid;place-items:center;color:var(--rarity,#b4aa87);transition:.15s}
#ashen-stage .item-cell:hover,#ashen-stage .item-cell.active{background:color-mix(in srgb,var(--rarity) 15%,#121b12);border-color:var(--rarity);box-shadow:inset 0 0 10px #a9ab781c}
#ashen-stage .item-cell.empty{border-color:#a1986630;background:#0a150c59}
#ashen-stage .item-cell>.icon{width:35px;height:35px;stroke-width:1.3}
#ashen-stage .upgrade-mark{position:absolute;top:2px;right:4px;font-size:9px;font-weight:400}
#ashen-stage .socket-dots{position:absolute;bottom:2px;left:5px;font-size:14px;color:#d4b69a;line-height:1}
#ashen-stage .item-corner{position:absolute;bottom:0;right:0;width:4px;height:4px;background:var(--rarity);opacity:.5}
#ashen-stage .bag-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}
#ashen-stage .bag-hint{margin-top:15px;font-size:11px}
#ashen-stage .item-detail{border-left:1px solid var(--border);padding-left:26px}
#ashen-stage .empty-selection{height:100%;min-height:300px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}
#ashen-stage .empty-selection>.icon{width:48px;height:48px;color:#8f976d;opacity:.7;stroke-width:1.2;margin-bottom:17px}
#ashen-stage .empty-selection h3{font-size:21px;color:#beb99e;line-height:1.3}
#ashen-stage .empty-selection p{font-size:11px;line-height:1.8;color:#8d9e86;margin-top:12px}
#ashen-stage .detail-icon{margin:5px 0 12px}
#ashen-stage .detail-icon>.icon{width:52px;height:52px;stroke-width:1.2}
#ashen-stage .item-rarity{font-size:8px;letter-spacing:1.4px;margin-bottom:8px}
#ashen-stage .item-detail h3{font-size:24px;line-height:1.25}
#ashen-stage .item-level{font-size:8px;letter-spacing:1px;color:#9ba38c;margin-top:10px}
#ashen-stage .attribute-list{margin-top:19px;border-top:1px solid var(--border);padding-top:13px}
#ashen-stage .attribute-list>div{display:flex;justify-content:space-between;margin:5px 0;color:#c9c9aa;font-size:12px}
#ashen-stage .attribute-list small{font-size:10px}
#ashen-stage .socket-count{display:flex;gap:8px;align-items:center;color:#bca581;font-size:11px;margin:13px 0}
#ashen-stage .socket-count>.icon{width:14px;height:14px}
#ashen-stage .item-value{font-size:11px;color:#a79a70;display:flex;gap:7px;align-items:center;margin:20px 0 15px}
#ashen-stage .item-value>.icon{width:15px;height:15px}
#ashen-stage .item-actions{display:flex;flex-direction:column;gap:9px}
#ashen-stage .item-actions>small{color:#a7a88d;font-size:9px;line-height:1.6;margin-top:-5px;margin-bottom:6px}
#ashen-stage .item-actions>.muted{font-size:10px;margin-top:6px}
#ashen-stage .rune-intro{max-width:650px}
#ashen-stage .rune-intro h3{font-size:23px;margin-bottom:9px}
#ashen-stage .rune-intro>p{font-size:12px;color:#abb7a0}
#ashen-stage .rune-sockets{display:flex;align-items:center;justify-content:center;margin:30px 0 35px}
#ashen-stage .rune-sockets button{width:82px;height:82px;border:1px solid #baab7366;background:#0b130c;position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;color:#adab87}
#ashen-stage .rune-sockets button>.icon{width:33px;height:33px}
#ashen-stage .rune-sockets button small{font-size:8px;letter-spacing:1px}
#ashen-stage .rune-sockets button:hover{border-color:#dbc288}
#ashen-stage .socket-link{width:55px;height:2px;background:linear-gradient(90deg,#867147,#d5bc79,#867147);opacity:.5}
#ashen-stage .rune-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
#ashen-stage .rune-card{display:flex;align-items:flex-start;gap:13px;padding:17px;text-align:left;border:1px solid #ae9f652b;background:#0e160d66}
#ashen-stage .rune-card .icon{width:31px;height:31px;margin-top:4px}
#ashen-stage .rune-card h4{font-size:18px}
#ashen-stage .rune-card p{font-size:11px;color:#a9b29a;margin-top:7px}
#ashen-stage .rune-card small{font-size:9px;color:#b8a782;margin-top:8px;display:block}
#ashen-stage .rune-card.selected{border-color:#c6b1748f;background:#aba66d12}
#ashen-stage .rune-card.unowned{opacity:.45}
#ashen-stage .rune-grid+.btn{margin-top:20px}
#ashen-stage .tree-summary{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:9px}
#ashen-stage .tree-summary p{font-size:12px;color:#afb6a1}
#ashen-stage .tree-summary strong{color:#e5ce98;font-weight:400}
#ashen-stage .tree-summary>div{font:26px Georgia,serif;color:#e2c690}
#ashen-stage .tree-summary small{font:10px Arial,sans-serif;color:#aab399;display:block}
#ashen-stage .constellation{width:100%;height:auto;min-height:260px;max-height:58vh;max-height:58cqh;display:block;overflow:visible;user-select:none}
#ashen-stage .constellation .tree-node{cursor:pointer;pointer-events:auto}
#ashen-stage .constellation .tree-node:hover circle{stroke:#e9d39b;filter:drop-shadow(0 0 5px #bea777)}
#ashen-stage .tree-legend{display:flex;gap:24px;justify-content:center;font-size:10px;color:#a1aa92}
#ashen-stage .tree-legend i{display:inline-block;width:7px;height:7px;border:1px solid #b9a56c;margin-right:6px;border-radius:50%}
#ashen-stage .tree-legend .allocated i{background:#b9a56c}
#ashen-stage .map-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}
#ashen-stage .map-toolbar>div{display:flex;gap:7px}
#ashen-stage .map-toolbar p{font-size:10px;color:#a5b099}
#ashen-stage .map-toolbar .active{border-color:#c5ad72;color:#f0d6a0}
#ashen-stage #world-map{width:100%;height:auto;max-height:56vh;max-height:56cqh;display:block;border:1px solid #a1956633;background:#111a15;cursor:crosshair;pointer-events:auto}
#ashen-stage .map-help{display:flex;gap:20px;color:#afb49d;font-size:10px;margin-top:13px}
#ashen-stage .waystone-list{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}
#ashen-stage .waystone-list button{padding:8px 12px;display:flex;align-items:center;gap:7px;font-size:10px;border:1px solid #a99a6455;color:#ccc3a0;background:#0b140c88}
#ashen-stage .waystone-list button .icon{width:14px;height:14px}
#ashen-stage .waystone-list button:disabled{opacity:.35}
#ashen-stage .merchant-layout{display:grid;grid-template-columns:1fr 235px;gap:28px}
#ashen-stage .shop-gear{display:grid;gap:8px}
#ashen-stage .shop-item{display:flex;gap:13px;align-items:center;border:1px solid #a3976040;padding:11px;background:#0a140c55;text-align:left}
#ashen-stage .shop-item>.icon{width:36px;height:36px}
#ashen-stage .shop-item>span{flex:1}
#ashen-stage .shop-item strong{font:17px Georgia,serif;display:block}
#ashen-stage .shop-item small{display:block;color:#adb39b;font-size:10px;margin-top:4px}
#ashen-stage .shop-item>b{font-size:11px;font-weight:400;color:#d9c693}
#ashen-stage .shop-runes{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:15px 0}
#ashen-stage .shop-rune{border:1px solid #a3976040;padding:12px 9px;display:flex;gap:7px;align-items:center;text-align:left;font-size:11px}
#ashen-stage .shop-rune>.icon{width:22px;height:22px}
#ashen-stage .shop-rune small{display:block;color:#aea888;font-size:9px;margin-top:3px}
#ashen-stage .sell-pane{border-left:1px solid var(--border);padding-left:25px}
#ashen-stage .sell-pane h3{font-size:18px;margin-bottom:12px}
#ashen-stage .sell-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:15px}
#ashen-stage .sell-pane .item-detail{border:0;padding:20px 0 0}
#ashen-stage .journal-layout{display:grid;grid-template-columns:1fr 250px;gap:35px}
#ashen-stage .chapters{display:grid;gap:16px}
#ashen-stage .chapter{display:flex;align-items:flex-start;gap:18px;border-bottom:1px solid #a091622e;padding-bottom:16px}
#ashen-stage .chapter-number{font:28px Georgia,serif;color:#7c896c;min-width:35px}
#ashen-stage .chapter h3{font-size:19px;color:#c9c9ab}
#ashen-stage .chapter p{font-size:11px;color:#a5b39d;margin-top:5px}
#ashen-stage .chapter.current h3,#ashen-stage .chapter.current .chapter-number{color:#e4c591}
#ashen-stage .chapter.complete{opacity:.6}
#ashen-stage .chapter.locked{opacity:.4}
#ashen-stage .hunt-summary{border-left:1px solid var(--border);padding-left:25px}
#ashen-stage .hunt-count{font:47px Georgia,serif;color:#d5bf87}
#ashen-stage .hunt-summary>p{font-size:10px;letter-spacing:1px;color:#99a68a;margin:0 0 20px}
#ashen-stage .hunt-summary h4{font:9px Arial,sans-serif;letter-spacing:1.4px;color:#c4b892;margin:25px 0 16px}
#ashen-stage .boss-check{display:flex;align-items:center;gap:9px;margin:12px 0;font-size:11px;color:#a3b096}
#ashen-stage .boss-check .icon{width:22px;height:22px;color:#77896c}
#ashen-stage .boss-check small{display:block;font-size:9px;color:#7f947a;margin-top:2px}
#ashen-stage .boss-check.done{color:#d5c595}
#ashen-stage .boss-check.done .icon{color:#d5c595}
#ashen-stage .settings-layout{display:grid;grid-template-columns:1fr 1fr;gap:45px}
#ashen-stage .settings-layout h3:not(:first-child){margin-top:30px}
#ashen-stage .setting-row{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:13px 0;border-bottom:1px solid #9f916428;color:#c8cbb5;font-size:12px}
#ashen-stage .setting-row span{flex:1}
#ashen-stage .setting-row small{display:block;line-height:1.7;color:#8f9f84;font-size:10px;margin-top:5px}
#ashen-stage .setting-row select{font-size:11px;max-width:185px;padding:8px}
#ashen-stage .setting-row:last-of-type{margin-bottom:18px}
#ashen-stage .settings-layout p{font-size:12px;color:#aeb89f;line-height:1.8}
#ashen-stage .save-actions{display:flex;gap:9px;margin:18px 0}
#ashen-stage .settings-layout .btn.subtle{margin-top:20px}
#ashen-stage .controls-list{display:grid;grid-template-columns:1fr 1fr;gap:0 35px;margin-top:25px}
#ashen-stage .controls-list>div{padding:14px 0;border-bottom:1px solid #a091622a}
#ashen-stage .controls-list kbd{font-size:9px;padding:4px 6px}
#ashen-stage .controls-list p{font-size:11px;line-height:1.7;color:#a6b699;margin-top:9px}
#ashen-stage .help-intro>h3{font-size:26px;color:#d5c9a3}
#ashen-stage .help-intro p{font-size:12px;color:#aeb8a0;max-width:800px;margin-top:10px}
#ashen-stage .help-footer{margin-top:22px;font-size:11px;color:#c1bd9b}
#ashen-stage .party-layout{display:grid;grid-template-columns:1fr 1fr;gap:45px}
#ashen-stage .party-explainer>.icon{width:52px;height:52px;stroke-width:1.2;color:#b9bd92;margin-bottom:15px}
#ashen-stage .party-explainer h3{font-size:24px;margin-bottom:13px}
#ashen-stage .party-explainer p{font-size:12px;color:#abb89d}
#ashen-stage .party-explainer .scope-note{margin:20px 0}
#ashen-stage .connection-form{border-left:1px solid var(--border);padding-left:35px}
#ashen-stage .connection-form h3{font:11px Arial,sans-serif;letter-spacing:1.4px;margin:10px 0 24px;color:#b4b594}
#ashen-stage .connection-form label{display:block;font-size:8px;letter-spacing:1.6px;color:#b5af8c;margin:18px 0 7px}
#ashen-stage .connection-form input{width:100%;font-size:12px}
#ashen-stage .connection-form>.btn{width:100%;margin-top:22px}
#ashen-stage .connection-form>.muted{margin-top:16px;font-size:11px}
#ashen-stage .connected-status{font-size:11px;color:#bfd0a0;margin-bottom:17px}
#ashen-stage .party-member{display:flex;gap:13px;align-items:center;padding:12px 0;border-bottom:1px solid #a6956233}
#ashen-stage .party-member .icon{width:30px;height:30px;color:#9daa81}
#ashen-stage .party-member small{display:block;font-size:10px;color:#95a68a;margin-top:3px}
#ashen-stage .pause-content{text-align:center;max-width:315px;margin:20px auto 25px;display:flex;flex-direction:column;gap:10px}
#ashen-stage .pause-content>.sheet-emblem{margin:0 auto 15px}
#ashen-stage .pause-content h3{font-size:25px}
#ashen-stage .pause-content p{font-size:12px;color:#aab89b;margin:2px 0 20px}
#ashen-stage .panel-pause{max-width:600px}
#ashen-stage .dialogue-content{display:grid;grid-template-columns:170px 1fr;gap:35px;padding:25px 10px}
#ashen-stage .dialogue-portrait{height:215px;display:grid;place-items:center;border:1px solid #aca57144;background:radial-gradient(ellipse at 50% 80%,#8c9a6330,#142117);color:#c9c795}
#ashen-stage .dialogue-portrait>.icon{width:90px;height:90px;stroke-width:1}
#ashen-stage .npc-role{font-size:8px;letter-spacing:1.7px;color:#b0b18b;margin-bottom:17px}
#ashen-stage .dialogue-text{font:italic 20px/1.8 Georgia,serif;color:#d0d3b8}
#ashen-stage .dialogue-objective{display:flex;align-items:center;gap:11px;padding:17px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);margin:25px 0;color:#c3bc91;font-size:12px}
#ashen-stage .dialogue-objective>.icon{width:23px;height:23px}
#ashen-stage .reward-text{font-size:11px;color:#dcc086;margin-bottom:15px}
#ashen-stage .rift-content{text-align:center;padding:12px 0 15px;max-width:710px;margin:auto}
#ashen-stage .rift-symbol{display:flex;align-items:center;justify-content:center;margin:0 0 16px;color:#b2b8d3}
#ashen-stage .rift-symbol>.icon{width:64px;height:64px;stroke-width:1.1}
#ashen-stage .rift-content h3{font-size:29px;color:#d1cce0}
#ashen-stage .rift-content>p{font-size:12px;color:#b2b69f;line-height:1.9;margin-top:15px}
#ashen-stage .rift-content>label{display:block;font-size:9px;letter-spacing:2px;color:#aaaec0;margin-top:28px}
#ashen-stage .rift-content select{display:block;margin:10px auto 0;min-width:220px;text-align:center}
#ashen-stage .rift-rules{display:flex;justify-content:center;gap:25px;margin:25px 0;font-size:9px;color:#a6b399}
#ashen-stage .rift-content .btn{margin-bottom:8px}
#ashen-stage #death-screen{position:absolute;inset:0;z-index:30;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;background:radial-gradient(ellipse,#291b16c9,#070d0bf2);pointer-events:auto;backdrop-filter:blur(4px)}
#ashen-stage #death-screen>.icon{width:62px;height:62px;color:#b98968;margin-bottom:20px}
#ashen-stage #death-screen h2{font-size:42px;color:#dbbea0;letter-spacing:3px}
#ashen-stage #death-screen p{font-size:13px;color:#bfae94;max-width:410px;margin:20px 25px 25px}
#ashen-stage #death-screen small{font-size:10px;color:#a2937e;margin-top:18px}
#ashen-stage #loading-screen{position:absolute;inset:0;z-index:80;display:flex;align-items:center;justify-content:center;background:#0b1511;color:#e1d1ae;text-align:center;padding:35px}
#ashen-stage #loading-screen h1{font-size:40px;letter-spacing:7px}
#ashen-stage #loading-screen h1 span{font-size:21px;letter-spacing:5px}
#ashen-stage #loading-screen p{color:#9ba994;font-size:13px;max-width:510px;margin:22px auto;line-height:1.8}
#ashen-stage #loading-screen code{font-size:12px}
#ashen-stage #loading-progress{width:180px;height:2px;background:#ad996030;margin:32px auto}
#ashen-stage #loading-progress:after{content:'';display:block;width:50%;height:100%;background:#d5bc81;animation:load 1.6s ease-in-out infinite}
@keyframes load{0%,100%{transform:translateX(0)}50%{transform:translateX(100%)}}
#ashen-stage #loading-screen.error h2{font:25px Georgia,serif;margin:30px 0 10px;color:#dca58d}
#ashen-stage #loading-screen.error pre{max-width:650px;overflow:auto;white-space:pre-wrap;color:#bcae98;font-size:11px;text-align:left}
#ashen-stage #loading-screen.error button{margin:10px}
#ashen-stage #loading-screen.error #loading-progress{display:none}
@media(min-width:1600px){#ashen-stage .title-copy{width:425px}
#ashen-stage h1{font-size:72px}
#ashen-stage h1 span{font-size:35px}
#ashen-stage .title-copy h2{font-size:20px}
#ashen-stage .class-pick{padding-top:17px;padding-bottom:12px}
#ashen-stage .class-pick .icon{width:35px;height:35px}
#ashen-stage .class-pick span{font-size:11px}
#ashen-stage .title-line{font-size:17px}
#ashen-stage .title-rule{margin:30px 0}
#ashen-stage .title-foot{margin-top:22px}
#ashen-stage .title-copy{left:9vw}
#ashen-stage .title-controls{left:9vw}}
@media(max-width:1150px){#ashen-stage #chat-box{width:205px}
#ashen-stage #system-nav{gap:4px;right:18px}
#ashen-stage #system-nav>button{width:30px}
#ashen-stage #action-bar{gap:9px}
#ashen-stage .vital-container{width:88px}
#ashen-stage .vital-orb{width:80px;height:80px}
#ashen-stage .vital-orb strong{font-size:21px;bottom:23px}
#ashen-stage .skill-slot{width:51px;height:62px}
#ashen-stage .aux-skill{width:36px}
#ashen-stage .skill-name{font-size:6px}
#ashen-stage .deck-caption{font-size:5px}
#ashen-stage #quest-tracker{width:195px}
#ashen-stage .minimap-wrap{right:13px;width:158px}
#ashen-stage #minimap{width:155px;height:155px}
#ashen-stage .north{left:75px}
#ashen-stage #toasts{top:235px;width:230px}
#ashen-stage .inventory-layout{grid-template-columns:190px 1fr 230px;gap:21px}
#ashen-stage #panel-body{padding:22px}
#ashen-stage .panel-header{padding-left:24px}
#ashen-stage .item-detail{padding-left:20px}
#ashen-stage .dialogue-text{font-size:18px}
#ashen-stage .title-copy{left:6vw;width:365px}
#ashen-stage h1{font-size:58px}
#ashen-stage h1 span{font-size:28px;letter-spacing:8.5px}
#ashen-stage .title-controls{left:6vw}}
@container ashen (max-height:760px){#ashen-stage .title-mark{margin-bottom:10px}
#ashen-stage .title-mark .icon{width:35px;height:35px}
#ashen-stage .title-copy{padding-top:5px;padding-bottom:5px;max-height:90vh;max-height:90cqh}
#ashen-stage h1{font-size:51px}
#ashen-stage h1 span{font-size:25px;letter-spacing:8px;margin-top:9px}
#ashen-stage .title-line{margin-top:14px;font-size:14px}
#ashen-stage .title-rule{margin:18px 0}
#ashen-stage .class-pick{padding:10px 3px 8px}
#ashen-stage .class-pick .icon{width:25px;height:25px}
#ashen-stage .title-foot{font-size:9px;margin-top:9px}
#ashen-stage .name-label{margin-top:12px}
#ashen-stage #class-details>p{font-size:11px}
#ashen-stage .chosen-class{margin-top:13px}
#ashen-stage .title-copy h2{font-size:15px;margin-bottom:10px}
#ashen-stage .title-controls,#ashen-stage .build-label{bottom:14px}
#ashen-stage #quest-tracker{top:120px}
#ashen-stage .character-plate{top:21px}
#ashen-stage .minimap-wrap{top:12px}
#ashen-stage .minimap-wrap #minimap{width:145px;height:145px}
#ashen-stage .north{display:none}
#ashen-stage .map-button{margin-top:0}
#ashen-stage #panel-backdrop{padding:22px}
#ashen-stage #panel{max-height:calc(100vh - 44px);max-height:calc(100cqh - 44px)}
#ashen-stage .panel-header{padding-top:17px;padding-bottom:15px}
#ashen-stage #panel-title{font-size:25px}
#ashen-stage .inventory-layout{min-height:340px}
#ashen-stage .character-stats{padding:7px 0;margin-bottom:12px}
#ashen-stage .equipped-list{gap:4px}
#ashen-stage .equipped-row>.item-cell{width:32px;height:32px;flex-basis:32px}
#ashen-stage .equipped-row>.item-cell>.icon{width:21px;height:21px}
#ashen-stage .character-sheet>.sheet-emblem{height:38px}
#ashen-stage .sheet-emblem .icon{width:35px;height:35px}
#ashen-stage .constellation{max-height:55vh;max-height:55cqh}
#ashen-stage #action-bar{bottom:31px}
#ashen-stage .vital-orb{width:82px;height:82px}
#ashen-stage .vital-orb strong{bottom:22px}
#ashen-stage .skill-slot{height:57px}
#ashen-stage .deck-caption{margin-top:7px}
#ashen-stage .ability-deck{padding-top:10px}
#ashen-stage #interact-prompt{bottom:185px}
#ashen-stage .toast{font-size:10px}
#ashen-stage .title-scene-caption{bottom:13%}}
@media(max-width:900px){#ashen-stage #location-heading h2{font-size:15px;letter-spacing:2px}
#ashen-stage #location-subtitle{font-size:7px;letter-spacing:1px}
#ashen-stage .character-plate{left:18px;top:17px;gap:10px}
#ashen-stage .portrait{width:45px;height:52px}
#ashen-stage .portrait>.icon{width:28px;height:28px}
#ashen-stage #hero-name{font-size:15px}
#ashen-stage #hero-class{font-size:10px}
#ashen-stage .session-status{font-size:6px}
#ashen-stage #quest-tracker{left:18px;width:163px;top:112px}
#ashen-stage #quest-name{font-size:14px}
#ashen-stage #quest-objective{font-size:10px}
#ashen-stage .tracker-heading{font-size:8px}
#ashen-stage .tracker-heading kbd{margin-left:2px}
#ashen-stage #chat-box{left:17px;bottom:175px;width:200px;font-size:8px;max-height:95px}
#ashen-stage #chat-log{max-height:72px}
#ashen-stage #system-nav{bottom:155px;right:18px}
#ashen-stage #toasts{top:230px;width:190px;font-size:10px}
#ashen-stage #action-bar{bottom:35px}
#ashen-stage .inventory-layout{grid-template-columns:160px 1fr 210px;gap:17px}
#ashen-stage .item-detail{padding-left:17px}
#ashen-stage .item-detail h3{font-size:20px}
#ashen-stage .item-cell>.icon{width:28px;height:28px}
#ashen-stage .item-cell{min-width:0}
#ashen-stage .inventory-grid{gap:5px}
#ashen-stage .character-stats>div{font-size:10px}
#ashen-stage .equipped-row>span{font-size:7px}
#ashen-stage .equipped-row small{font-size:9px}
#ashen-stage #panel-body{padding:18px}
#ashen-stage #panel-title{font-size:24px}
#ashen-stage .panel-header{padding-left:19px}
#ashen-stage .settings-layout{gap:26px}
#ashen-stage .setting-row{gap:10px}
#ashen-stage .setting-row select{max-width:145px}
#ashen-stage .save-actions{flex-direction:column}
#ashen-stage .rune-grid{grid-template-columns:repeat(2,1fr)}
#ashen-stage .party-layout{gap:24px}
#ashen-stage .connection-form{padding-left:24px}
#ashen-stage .journal-layout{grid-template-columns:1fr 215px;gap:22px}
#ashen-stage .hunt-summary{padding-left:20px}
#ashen-stage .dialogue-content{grid-template-columns:125px 1fr;gap:25px;padding:12px 2px}
#ashen-stage .dialogue-portrait{height:175px}
#ashen-stage .dialogue-text{font-size:17px}
#ashen-stage .panel-footer{padding-left:20px;padding-right:20px}
#ashen-stage #boss-bar{width:320px;top:95px}
#ashen-stage .title-scene-caption{right:5%}
#ashen-stage .title-scene-caption p{font-size:16px}
#ashen-stage .title-copy{left:5vw;width:335px}
#ashen-stage .title-controls{left:5vw}
#ashen-stage .title-controls>span{margin-left:8px}
#ashen-stage .build-label{right:17px;font-size:7px}}
@media(max-width:700px){#ashen-stage #title-screen{background:linear-gradient(90deg,#09130eef,#09130eb0 70%,#09130e55)}
#ashen-stage .title-copy{width:330px;left:50%;transform:translate(-50%,-50%);padding-right:0}
#ashen-stage .title-scene-caption,#ashen-stage .title-controls{display:none}
#ashen-stage .build-label{left:0;right:0;text-align:center;bottom:12px}
#ashen-stage .title-mark{text-align:center}
#ashen-stage h1,#ashen-stage .title-line{text-align:center}
#ashen-stage h1{font-size:53px;letter-spacing:10px}
#ashen-stage h1 span{font-size:26px;letter-spacing:8px}
#ashen-stage .title-rule{margin-left:auto;margin-right:auto}
#ashen-stage #location-heading{top:19px}
#ashen-stage #location-heading h2{font-size:11px;letter-spacing:1.5px}
#ashen-stage #location-subtitle{font-size:6px;letter-spacing:0}
#ashen-stage .character-plate{left:12px}
#ashen-stage .character-plate>div{display:none}
#ashen-stage .minimap-wrap{width:104px;right:7px;top:7px}
#ashen-stage .minimap-wrap #minimap{width:104px;height:104px}
#ashen-stage .map-button{font-size:6px;letter-spacing:.5px}
#ashen-stage .map-button kbd{font-size:6px;margin-left:1px}
#ashen-stage #zone-level{font-size:6px;letter-spacing:.5px}
#ashen-stage #quest-tracker{top:83px;left:13px;width:145px}
#ashen-stage .tracker-heading{font-size:7px}
#ashen-stage #quest-name{font-size:12px;margin-top:7px}
#ashen-stage #quest-objective{font-size:9px;margin-top:5px}
#ashen-stage #quest-progress,#ashen-stage #quest-distance{font-size:8px}
#ashen-stage #action-bar{gap:7px;bottom:36px}
#ashen-stage .vital-container{width:56px}
#ashen-stage .vital-orb{width:49px;height:49px;box-shadow:0 0 0 2px #22291c,0 0 0 3px #a894615e,0 5px 12px #0007}
#ashen-stage .vital-orb strong{font-size:14px;bottom:13px}
#ashen-stage .vital-container>label{font-size:6px;letter-spacing:0;margin-top:8px}
#ashen-stage .vital-container>label small{font-size:6px}
#ashen-stage .flask-button{width:26px;height:33px;left:3px;bottom:-36px}
#ashen-stage .flask-button.mana{right:3px}
#ashen-stage .flask-button>.icon{width:17px;height:17px}
#ashen-stage .flask-button kbd{font-size:7px;top:0;left:-9px;padding:0 2px}
#ashen-stage .flask-button span{font-size:6px}
#ashen-stage .ability-deck{padding:8px 6px 5px}
#ashen-stage #skill-buttons{gap:4px}
#ashen-stage .skill-slot{width:38px;height:48px}
#ashen-stage .skill-slot>.icon{width:23px;height:23px}
#ashen-stage .skill-slot>kbd{font-size:7px;top:-8px;padding:1px 3px}
#ashen-stage .skill-name{font-size:5px}
#ashen-stage .aux-skill{width:27px;height:40px}
#ashen-stage .aux-skill>.icon{width:18px;height:18px}
#ashen-stage .aux-skill>span{font-size:5px}
#ashen-stage .aux-skill>kbd{font-size:5px;padding:1px 2px}
#ashen-stage .cooldown-number{font-size:15px}
#ashen-stage .deck-caption{display:none}
#ashen-stage .deck-ornament{top:-16px}
#ashen-stage .deck-ornament>span{width:45px}
#ashen-stage #system-nav{bottom:132px;right:12px;gap:4px}
#ashen-stage #system-nav>button{width:28px;height:31px}
#ashen-stage #system-nav .icon{width:17px;height:17px}
#ashen-stage #chat-box{left:12px;bottom:133px;width:165px;font-size:7px}
#ashen-stage #chat-log{max-height:52px}
#ashen-stage .chat-hint{font-size:7px;gap:4px;margin-top:6px}
#ashen-stage .chat-hint>.icon{width:11px;height:11px}
#ashen-stage .chat-hint kbd{font-size:6px}
#ashen-stage #save-indicator{font-size:6px;left:12px;bottom:8px}
#ashen-stage #help-shortcut{right:12px;bottom:8px;font-size:6px}
#ashen-stage #xp-caption{font-size:6px;bottom:8px}
#ashen-stage #interact-prompt{bottom:192px}
#ashen-stage #interact-prompt button{font-size:11px;padding:7px 11px}
#ashen-stage #toasts{top:230px;right:12px;width:180px}
#ashen-stage #combo{right:13px;top:42%;font-size:7px}
#ashen-stage #combo strong{font-size:24px}
#ashen-stage #combo span{font-size:9px}
#ashen-stage #boss-bar{top:72px;width:210px}
#ashen-stage #boss-name{font-size:14px}
#ashen-stage .boss-track{height:9px}
#ashen-stage .boss-track span{font-size:6px;line-height:7px}
#ashen-stage #boss-phase{font-size:6px;margin-top:7px}
#ashen-stage #zone-announcement,#ashen-stage #large-announcement{font-size:23px;letter-spacing:1px;width:95%}
#ashen-stage #panel-backdrop{padding:10px}
#ashen-stage #panel{max-height:calc(100vh - 20px);max-height:calc(100cqh - 20px);width:100%}
#ashen-stage .panel-header{padding:17px 15px 14px}
#ashen-stage .panel-eyebrow{font-size:7px;letter-spacing:1.4px;margin-bottom:7px}
#ashen-stage #panel-title{font-size:21px}
#ashen-stage .panel-resources{position:absolute;right:41px;top:15px;margin:0;gap:8px;font-size:9px}
#ashen-stage .panel-resources .icon{width:12px;height:12px}
#ashen-stage .close-button{right:7px;top:9px;width:27px;height:27px}
#ashen-stage .close-button>.icon{width:16px;height:16px}
#ashen-stage #panel-body{padding:16px}
#ashen-stage .inventory-layout{grid-template-columns:1fr 1fr;gap:19px}
#ashen-stage .character-sheet{grid-column:1;grid-row:1}
#ashen-stage .bag-section{grid-column:2;grid-row:1}
#ashen-stage .item-detail{grid-column:1/-1;border-left:0;border-top:1px solid var(--border);padding:20px 0 0;min-height:120px}
#ashen-stage .empty-selection{min-height:140px}
#ashen-stage .empty-selection>.icon{display:none}
#ashen-stage .detail-icon{float:right}
#ashen-stage .detail-icon>.icon{width:45px;height:45px}
#ashen-stage .inventory-grid{grid-template-columns:repeat(4,minmax(20px,1fr));gap:4px}
#ashen-stage .item-cell>.icon{width:24px;height:24px}
#ashen-stage .socket-dots{font-size:10px;left:3px;bottom:1px}
#ashen-stage .upgrade-mark{font-size:7px;right:3px}
#ashen-stage .item-actions{max-width:380px}
#ashen-stage .attribute-list{max-width:400px}
#ashen-stage .item-detail h3{font-size:23px}
#ashen-stage .character-sheet>h3{font-size:18px}
#ashen-stage .bag-actions .btn{font-size:9px;padding:6px 8px}
#ashen-stage .bag-hint{font-size:9px}
#ashen-stage .equipped-row{gap:6px}
#ashen-stage .equipped-row>span{font-size:6px}
#ashen-stage .equipped-row small{font-size:8px}
#ashen-stage .subheading h3{font-size:8px;letter-spacing:.8px}
#ashen-stage .subheading>span{font-size:8px}
#ashen-stage .settings-layout,#ashen-stage .party-layout,#ashen-stage .journal-layout,#ashen-stage .merchant-layout,#ashen-stage .controls-list{grid-template-columns:1fr;gap:25px}
#ashen-stage .setting-row{font-size:11px}
#ashen-stage .setting-row small{font-size:9px}
#ashen-stage .settings-layout>div+div{border-top:1px solid var(--border);padding-top:25px}
#ashen-stage .save-actions{flex-direction:row}
#ashen-stage .save-actions>.btn{font-size:9px;padding:9px 12px}
#ashen-stage .connection-form,#ashen-stage .hunt-summary,#ashen-stage .sell-pane{border-left:0;border-top:1px solid var(--border);padding:22px 0 0}
#ashen-stage .party-explainer h3{font-size:22px}
#ashen-stage .shop-runes{grid-template-columns:repeat(2,1fr)}
#ashen-stage .shop-item strong{font-size:15px}
#ashen-stage .shop-item b{font-size:10px}
#ashen-stage .sell-grid{grid-template-columns:repeat(6,1fr)}
#ashen-stage .chapter h3{font-size:17px}
#ashen-stage .chapter p{font-size:10px}
#ashen-stage .hunt-summary>.character-stats{max-width:400px}
#ashen-stage .rune-grid{grid-template-columns:1fr}
#ashen-stage .rune-card{padding:13px}
#ashen-stage .rune-card h4{font-size:17px}
#ashen-stage .rune-intro h3{font-size:21px}
#ashen-stage .rune-sockets{margin:25px 0}
#ashen-stage .rune-sockets button{width:67px;height:67px}
#ashen-stage .socket-link{width:32px}
#ashen-stage .constellation{min-width:580px;height:390px;max-height:none}
#ashen-stage .panel-tree #panel-body{overflow:auto}
#ashen-stage .tree-summary{min-width:0;align-items:flex-start}
#ashen-stage .tree-summary>div{font-size:21px}
#ashen-stage .tree-summary p{font-size:10px;max-width:190px}
#ashen-stage .tree-summary>.btn{font-size:9px;padding:7px 9px;min-width:91px}
#ashen-stage .tree-legend{font-size:8px;gap:12px;min-width:360px}
#ashen-stage .map-toolbar{align-items:flex-start;flex-direction:column}
#ashen-stage .map-toolbar p{font-size:9px}
#ashen-stage .map-help{gap:12px;flex-wrap:wrap;font-size:8px}
#ashen-stage #world-map{max-height:none;min-height:205px}
#ashen-stage .waystone-list{gap:6px}
#ashen-stage .waystone-list button{font-size:9px;padding:7px 9px}
#ashen-stage .dialogue-content{grid-template-columns:1fr;gap:16px;padding:5px 0}
#ashen-stage .dialogue-portrait{display:none}
#ashen-stage .dialogue-text{font-size:17px}
#ashen-stage .dialogue-objective{font-size:11px}
#ashen-stage .rift-content h3{font-size:24px}
#ashen-stage .rift-content p{font-size:11px}
#ashen-stage .rift-rules{gap:14px;font-size:8px}
#ashen-stage .panel-footer{font-size:7px;padding:9px 15px;gap:10px}
#ashen-stage .panel-footer span:last-child{font-size:6px}
#ashen-stage .controls-list{gap:0}
#ashen-stage .controls-list>div{padding:12px 0}
#ashen-stage .help-footer{font-size:10px}
#ashen-stage #death-screen h2{font-size:29px;letter-spacing:1px}
#ashen-stage #death-screen p{font-size:12px}
#ashen-stage #loading-screen h1{font-size:34px;letter-spacing:6px}
#ashen-stage #loading-screen h1 span{font-size:19px;letter-spacing:4px}}
@media(max-width:380px){#ashen-stage .title-copy{width:290px}
#ashen-stage h1{font-size:47px;letter-spacing:9px}
#ashen-stage h1 span{font-size:22px}
#ashen-stage .class-pick span{font-size:8px}
#ashen-stage .skill-slot{width:33px;height:44px}
#ashen-stage .aux-skill{width:24px}
#ashen-stage .skill-name{font-size:4.5px}
#ashen-stage .vital-container{width:47px}
#ashen-stage .vital-orb{width:43px;height:43px}
#ashen-stage .vital-orb strong{font-size:13px;bottom:11px}
#ashen-stage #action-bar{gap:4px}
#ashen-stage #system-nav>button{width:25px}
#ashen-stage #chat-box{width:140px}
#ashen-stage .title-copy h2{font-size:14px}}
@media(prefers-reduced-motion:reduce){#ashen-stage *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
#ashen-stage .constellation>svg{display:block;width:100%;height:100%;min-height:250px}
#ashen-stage .chapter>div>span{font-size:7px;letter-spacing:1.4px;color:#819573}
#ashen-stage .chapter.current>div>span{color:#d1b681}
#ashen-stage .chapter-number>.icon{width:22px;height:22px}
#ashen-stage .hunt-count>span{font:14px Arial,sans-serif;color:#9ba985;margin-left:7px}
#ashen-stage .waystone-list button small{display:block;font-size:7px;margin-top:2px;letter-spacing:.6px}
#ashen-stage .rune-sockets button{color:var(--rune-color)}
#ashen-stage .rune-sockets button>span{font-size:9px}
#ashen-stage .rune-grid{margin-top:23px}
#ashen-stage .rune-card>.icon,#ashen-stage .rune-card h4{color:var(--rune-color)}
#ashen-stage .small-progress{height:3px;background:#3e4939;margin-top:10px}
#ashen-stage .small-progress i{display:block;background:#b7a579;height:100%}
#ashen-stage #zone-announcement.show,#ashen-stage #large-announcement.show{opacity:1}
#ashen-stage #zone-announcement h2,#ashen-stage #large-announcement h2{font:31px Georgia,serif;letter-spacing:3px}
#ashen-stage #zone-announcement p,#ashen-stage #large-announcement p{font:10px/1.7 Arial,sans-serif;letter-spacing:1px;margin-top:12px;color:#c7c5a5}
#ashen-stage #large-announcement>.icon{width:30px;height:30px;margin-bottom:13px}
#ashen-stage #zone-announcement>div{width:90px;height:1px;background:linear-gradient(90deg,transparent,#d9bd76,transparent);margin:14px auto 0}
#ashen-stage .toast{transition:opacity .35s,transform .35s}
#ashen-stage .toast.leaving{opacity:0;transform:translateX(12px)}
#ashen-stage #damage-flash.flash{animation:damage-pulse .4s ease-out}
@keyframes damage-pulse{0%{opacity:0}18%{opacity:.42}100%{opacity:0}}
@media(max-width:700px){#ashen-stage #zone-announcement h2,#ashen-stage #large-announcement h2{font-size:22px;letter-spacing:1px}
#ashen-stage #zone-announcement p,#ashen-stage #large-announcement p{font-size:9px}}
#ashen-stage .constellation{height:min(54vh,540px);height:min(54cqh,540px);min-height:280px;max-height:none;overflow:hidden}
#ashen-stage .constellation>svg{width:100%;height:100%;min-height:0}
#ashen-stage .tree-legend{padding-top:8px}
@media(max-width:700px){#ashen-stage .constellation{height:390px;min-width:580px;max-height:none}}
