:root{font-family:Arial,sans-serif;color:#d8dfcf;background:#101715;font-synthesis:none;color-scheme:dark}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;background:#1c2822;border:1px solid #3b493c;border-radius:5px;min-height:44px;padding:10px 15px;transition:background .15s}button:hover{background:#344334}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #e8bd71;outline-offset:4px}header{height:100px;border-bottom:1px solid #2d382e;display:flex;align-items:center;justify-content:space-between;padding:0 5vw}.brand{display:flex;gap:14px;text-decoration:none;color:#e3dcc5;letter-spacing:2px;font:20px Georgia,serif}.brand b{color:#cba766;font-weight:400}.brand small{display:block;font:9px Arial,sans-serif;letter-spacing:2.6px;margin-top:8px;color:#8d9b89}.brand-mark{font-size:39px;color:#cba766}.header-right{display:flex;align-items:center;gap:25px}.edition,.eyebrow{font-size:10px;letter-spacing:2px;color:#a5b29b}.header-right button{background:transparent;font-size:12px;border:0}.header-right button span{margin-left:12px;border:1px solid #69735c;border-radius:50%;padding:2px 6px}.menu{max-width:1200px;margin:0 auto;min-height:calc(100vh - 165px);display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:90px;padding:65px 35px;background:radial-gradient(ellipse at 25% 45%,#26382a66,transparent 65%)}h1{font:64px/1.08 Georgia,serif;letter-spacing:-2px;margin:24px 0;color:#ebe5d3}h1 em{color:#d6b16d;font-weight:400}.intro>p{color:#9ba896;font-size:15px;line-height:1.9;max-width:380px}.rune{display:flex;align-items:center;gap:18px;color:#c4a66a;margin-top:45px}.rune span{font:italic 16px Georgia,serif;color:#a3ad94}.start-panel{background:#18221c;border:1px solid #3a4838;padding:30px;border-radius:8px;box-shadow:0 25px 80px #0003}.classes{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0 28px}.class-card{display:flex;flex-direction:column;text-align:left;padding:18px 14px;background:#162019;gap:10px}.class-card.chosen{border-color:#d5b16b;background:#3b3b252e;box-shadow:inset 0 0 0 1px #b5974930}.class-icon{font:32px Georgia;color:#d4b371}.class-card strong{font:23px Georgia}.class-card>span:not(.class-icon){font-size:11px;line-height:1.7;color:#a6b09b;min-height:38px}.class-card small{font-size:9px;letter-spacing:.5px;color:#aeb49c}.start-panel label{display:block;margin-bottom:13px}input{width:100%;border:1px solid #3c4a39;background:#111b15;color:#d9dfcd;border-radius:4px;padding:13px}.hint{font-size:11px;color:#98a68e;line-height:1.6}.primary{background:#d7b472;color:#1c241b;border:1px solid #d7b472;font-weight:700}.primary:hover{background:#edcb89}.embark{width:100%;display:flex;justify-content:space-between;margin-top:25px;padding:16px}.continue{width:100%;margin-top:10px}.slice-note{text-align:center;font-size:10px;letter-spacing:1px;color:#8d9a81;margin:18px 0 0}footer{display:flex;justify-content:space-between;border-top:1px solid #2d382e;padding:22px 5vw;color:#77866f;font-size:9px;letter-spacing:1.5px}footer b{color:#c3a366;margin:0 8px}footer a{color:#c3a366;text-decoration:none}footer a:hover,footer a:focus-visible{text-decoration:underline}.game-layout{max-width:1440px;margin:auto;padding:28px 4vw;display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:20px}.viewport{height:570px;display:flex;flex-direction:column;border:1px solid #3b493b;border-radius:7px;overflow:hidden;position:relative}.map-heading,.map-footer{background:#1a251e;display:flex;justify-content:space-between;padding:15px 18px;font-size:11px;letter-spacing:1px}.map-heading small{margin-left:18px;color:#8b9b83;font-size:9px}.map-heading i{display:inline-block;width:6px;height:6px;background:#c6a66a;border-radius:50%;margin-right:8px}.map{flex:1;min-height:0;overflow:hidden;touch-action:none}.map canvas{display:block}.map-footer{align-items:center;padding:5px 14px;font-size:9px;color:#9fac94}.map-footer button{font-size:11px;border:0;background:transparent}.map-key{position:absolute;bottom:63px;left:15px;display:flex;gap:13px;font-size:10px;color:#adba9e;background:#101715dc;padding:8px;border:1px solid #344231;border-radius:4px}aside{display:flex;flex-direction:column;gap:16px}.hero-panel,.actions,.journal{background:#19231c;border:1px solid #344332;border-radius:6px;padding:20px}h2{font:26px Georgia;margin:14px 0 20px}h2>span{float:right;font:10px Arial;color:#adba9d;margin-top:9px}.stat-line{display:flex;justify-content:space-between;font-size:11px}.stat-line b{font-weight:400;color:#bfcbb0}.bar{height:6px;background:#303c2e;border-radius:5px;margin:10px 0 16px;overflow:hidden}.bar i{display:block;height:100%;background:#a2bc84}.minor-stats{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1px;color:#8d9b83}.minor-stats b{color:#d8dfca;margin-left:8px}.objective{border-top:1px solid #344332;margin-top:20px;padding-top:20px}.objective h3{font:32px Georgia;color:#daba7b;margin:10px 0}.objective h3 small{font:12px Arial}.objective p{font-size:11px;color:#9ca98d}.pack-button{width:100%;margin-top:18px;font-size:12px;text-align:left}.pack-button span{float:right;color:#a0ad92}.action-row{display:flex;gap:8px;margin:15px 0}.action-row button{flex:1;font-size:12px}.action-row small{font-size:8px;color:#9aa78a;margin-left:5px}.dpad{display:grid;grid-template-columns:44px 44px 44px;grid-template-rows:44px 44px 44px;justify-content:center;gap:4px}.dpad button{font-size:20px;padding:0}.dpad button:first-child{grid-column:2}.dpad button:nth-child(2){grid-column:1;grid-row:2}.dpad span{grid-column:2;grid-row:2;display:grid;place-items:center;font-size:8px;color:#8e9e83}.dpad button:nth-child(4){grid-column:3;grid-row:2}.dpad button:last-child{grid-column:2;grid-row:3}.context{display:block;width:100%;margin-top:10px;font-size:11px;border-color:#7d7548}.nearby{font-size:11px;margin-top:12px;display:flex;align-items:center;justify-content:space-between;gap:8px}.nearby button{font-size:11px}.journal{grid-column:1/-1}.journal>div:first-child{display:flex;justify-content:space-between}.events p{margin:10px 0;font-size:12px;line-height:1.5;color:#929f87}.events p.latest{color:#d9dfc8}.events span{color:#c2a56a;margin-right:12px}.overlay{position:fixed;inset:0;background:#080e0bde;z-index:10;display:grid;place-items:center;padding:20px;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.dialog{background:#1a251d;border:1px solid #566045;border-radius:8px;padding:35px;max-width:590px;width:100%;max-height:90dvh;overflow:auto;position:relative;box-shadow:0 30px 80px #0008}.dialog p{font-size:14px;line-height:1.8;color:#b3bea5}.dialog h1{font-size:42px}.close{position:absolute;right:12px;top:12px;border:0;background:transparent;font-size:25px}.inventory-item{display:flex;align-items:center;gap:10px;border-top:1px solid #3b4935;padding:16px 0}.inventory-item>div{flex:1}.inventory-item strong{font-size:13px}.inventory-item small{display:block;color:#99a78b;font-size:11px;margin-top:8px}.inventory-item button{font-size:12px}.summary{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:25px 0;color:#c8bb93}.notice{position:fixed;bottom:25px;left:50%;transform:translate(-50%);background:#dfc38a;color:#232b1d;padding:14px 24px;border-radius:6px;z-index:20;max-width:90%;font-size:13px}@media(max-width:900px){.edition{display:none}.menu{gap:35px;padding:40px 25px}h1{font-size:50px}.game-layout{padding:18px;grid-template-columns:minmax(0,1fr) 250px;gap:12px}.hero-panel,.actions{padding:14px}.viewport{height:560px}.map-footer>span:nth-child(2){display:none}}@media(max-width:600px){header{height:78px;padding:0 18px}.brand{font-size:15px;gap:8px}.brand-mark{font-size:30px}.brand small{font-size:7px;letter-spacing:1.5px}.header-right button{font-size:11px;padding:8px}.header-right button span{display:none}.menu{display:block;padding:32px 20px}.intro h1{font-size:48px;margin:18px 0}.intro>p{font-size:13px}.rune{display:none}.start-panel{margin-top:30px;padding:20px}.game-layout{display:flex;flex-direction:column;padding:12px;gap:12px}.viewport{height:49dvh;min-height:300px}.map-heading{padding:12px;font-size:10px}.map-heading small{margin-left:10px}.map-key{font-size:9px;gap:10px;bottom:57px}.game-layout aside{display:contents}.hero-panel{order:-1}.hero-panel>.eyebrow,.minor-stats,.objective>.eyebrow,.objective p,.objective>.hint{display:none}.hero-panel{display:grid;grid-template-columns:1fr 1fr;gap:5px 14px;padding:12px}.hero-panel h2{margin:0;grid-row:1;font-size:20px}.hero-panel h2>span{margin-left:10px;float:none}.stat-line{grid-column:2;grid-row:1;align-self:center}.bar{grid-column:2;grid-row:2;margin:0}.objective{grid-column:1;grid-row:2/4;border:0;margin:0;padding:0}.objective h3{font-size:20px;margin:5px 0 0}.pack-button{grid-column:2;grid-row:3;margin:8px 0 0;min-height:44px}.actions{position:relative;min-height:198px;padding-right:165px}.actions .eyebrow{font-size:9px;letter-spacing:1px}.action-row{flex-direction:column}.dpad{position:absolute;right:18px;top:24px}.actions>.hint{margin-top:20px}.journal{padding:15px}.dialog{padding:28px 20px}.dialog h1{font-size:35px}footer{font-size:8px;padding:20px;gap:20px}footer>span:first-child{display:none}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}.goal-banner{grid-column:1/-1;border:1px solid #aa945e;background:#393723;color:#f4d995;padding:14px 18px;border-radius:5px;font-size:13px}@media(max-width:600px){.goal-banner{order:-1}}.encounter-strip{position:absolute;bottom:64px;left:15px;width:225px;max-width:calc(100% - 30px);padding:10px 12px;background:#101715ee;border:1px solid #344231;border-radius:5px;pointer-events:none;font-size:11px;color:#abb79e;box-shadow:0 3px 12px #0004}.encounter-strip.has-threat{border-color:#846153}.encounter-title{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:#f0ddc4}.encounter-title strong{font-weight:600}.encounter-title>span{font-size:11px;color:#e1b6a2;white-space:nowrap}.enemy-health{height:5px;background:#3b302e;border-radius:3px;overflow:hidden;margin:7px 0}.enemy-health>i{display:block;height:100%;background:#d87d68}.encounter-detail{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#b4ac9d;font-size:10px;line-height:1.5}.enemy-card{border:1px solid #705144;background:#241f1b;padding:10px;margin-top:12px;border-radius:5px}.enemy-card button{font-size:11px;padding:8px 12px}.enemy-card .encounter-detail{flex-wrap:wrap}@media(max-width:600px){.encounter-strip{bottom:59px;left:10px;width:205px;padding:8px 10px;font-size:10px}.enemy-card{margin-right:-145px}.enemy-card:first-of-type{margin-top:25px}}@media(max-width:600px){.dpad+.enemy-card{margin-top:32px}}kbd{font:10px Arial,sans-serif;border:1px solid #7a826a;border-radius:3px;padding:2px 4px;margin-left:4px;color:#d9c48d}.exploration-actions{margin-top:22px}.exploration-status{font-size:11px;line-height:1.6;color:#c8cfb7}.exploration-status small{display:block;color:#98a68e;font-size:10px;margin-top:4px}.exploration-buttons{display:flex;gap:8px;margin-top:10px}.exploration-buttons button{flex:1;font-size:11px;padding:8px}button:disabled{opacity:.5;cursor:default}.hazard-card{border:1px solid #99714c;border-radius:4px;padding:9px;margin-top:12px;font-size:11px;color:#edc78e}.hazard-card strong,.hazard-card small{display:block;line-height:1.5}.hazard-card button{width:100%;margin-top:8px;font-size:11px}.hazard-card small{color:#b0b49a}@media(max-width:600px){.exploration-actions{margin-right:-145px;padding-top:12px}}.appearance-picker{margin:0 0 24px}.appearance-picker>div{display:flex;gap:10px;margin-top:12px}.appearance-picker button{flex:1;font-size:12px}.appearance-picker button[aria-pressed=true]{border-color:#d7b472;color:#ebd196}.tactical-note{font-size:10px;color:#c6b489;line-height:1.6;display:block;margin-top:5px}.ecology-warning{border:1px solid #a96e4c;background:#382820;color:#f2c79c;font-size:11px;line-height:1.6;padding:9px;margin-top:10px;border-radius:4px}.champion-status{display:block;color:#d6bb7e;font-size:10px;line-height:1.6;margin-top:10px}.ecology-map-note{display:block;color:#e7b887;line-height:1.5;margin-top:5px}.mana-hud{font-size:11px;margin:12px 0}.mana-hud>span{display:flex;justify-content:space-between;color:#b8dae2}.mana-track{height:5px;background:#263d4b;margin-top:7px;border-radius:3px;overflow:hidden}.mana-track i{display:block;height:100%;background:#77bed4}@media(max-width:600px){.mana-hud{grid-column:1/-1;grid-row:4;margin:5px 0 0}}.save-dialog{max-width:620px}.save-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.save-actions button{flex:1 1 150px}.save-current{border-left:2px solid #a99158;padding-left:12px}.save-preview{border:1px solid #8a7954;background:#202b21;border-radius:5px;padding:18px;margin:20px 0}.save-preview h3{font:24px Georgia;margin:12px 0}.save-preview dl{display:grid;grid-template-columns:110px minmax(0,1fr);gap:9px;font-size:12px;line-height:1.6}.save-preview dt{color:#9daa91}.save-preview dd{margin:0;overflow-wrap:anywhere}.save-error{border:1px solid #b77c63;background:#422a25;color:#f1c2a8!important;border-radius:4px;padding:12px}.save-dialog .eyebrow{padding-right:20px;display:block}@media(max-width:600px){.header-right{gap:0}.header-right button{font-size:10px;padding:6px;min-width:44px}.save-preview{padding:12px}.save-preview dl{grid-template-columns:86px minmax(0,1fr)}.save-dialog .eyebrow{font-size:8px;letter-spacing:1px}}.pwa-panel{background:#152019;border-bottom:1px solid #344332;padding:0 max(5vw,env(safe-area-inset-left));color:#b4c2aa;font-size:12px}.pwa-strip{display:flex;align-items:center;justify-content:space-between;gap:14px;max-width:1300px;margin:auto}.pwa-strip p{margin:0;line-height:1.6}.pwa-dot{display:inline-block;width:6px;height:6px;margin-right:9px;background:#a68d64;border-radius:50%}.pwa-dot.ready{background:#a5c28e}.pwa-strip button{background:transparent;border:0;font-size:11px;padding:8px}.pwa-details,.pwa-update,.pwa-message{max-width:1300px;margin:0 auto;padding:12px 0 18px;line-height:1.8}.pwa-details{max-width:750px}.pwa-details h2{font-size:24px;margin:8px 0}.pwa-details p{margin:10px 0}.pwa-update{border-top:1px solid #635a3b;display:flex;align-items:center;justify-content:space-between;gap:16px}.pwa-update p{margin:0}.pwa-update>div{display:flex;gap:8px;flex-shrink:0}.pwa-update button{font-size:12px}.pwa-message{color:#e8c28b}header{padding-top:env(safe-area-inset-top);height:calc(100px + env(safe-area-inset-top))}footer{padding-bottom:max(22px,env(safe-area-inset-bottom))}@media(max-width:600px){header{height:calc(78px + env(safe-area-inset-top));padding-left:max(18px,env(safe-area-inset-left));padding-right:max(18px,env(safe-area-inset-right))}.game-layout{padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}.pwa-panel{padding-left:max(18px,env(safe-area-inset-left));padding-right:max(18px,env(safe-area-inset-right));font-size:11px}.pwa-update{flex-direction:column;align-items:stretch;gap:10px}.pwa-update>div{flex-wrap:wrap}.pwa-update button{flex:1}.pwa-details h2{font-size:22px}}.race-picker{border:0;padding:0;margin:0 0 24px;min-width:0}.race-picker>div{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.race-picker button{text-align:left;min-width:0;padding:12px}.race-picker button[aria-pressed=true]{border-color:#d7b472;background:#353824}.race-picker strong{font:17px Georgia;display:block}.race-picker span,.race-picker small{display:block;font-size:10px;line-height:1.6;margin-top:6px;color:#aeb9a1}.race-picker small{color:#d7c18c}.heritage-hud{font-size:10px;line-height:1.6;color:#c0bb95;margin:10px 0}.companion-card{border:1px solid #5b9683;background:#172a24;padding:12px;border-radius:5px;margin-top:16px}.companion-card .enemy-health>i{background:#81c6a6}.companion-card .encounter-title{flex-wrap:wrap}.companion-card .encounter-title strong{font-size:12px}.companion-orders{display:flex;gap:8px}.companion-orders button{flex:1;font-size:12px}.cargo-title{display:block;font-size:11px;line-height:1.6;margin:15px 0 8px;color:#b2d5bc}.companion-item{display:flex;flex-wrap:wrap;gap:6px;padding:10px 0;border-top:1px solid #395447;font-size:11px}.companion-item>span{flex:1 1 100%;overflow-wrap:anywhere}.companion-item small{display:block;color:#9bab95;margin:5px 0}.companion-item button{flex:1;font-size:11px;padding:8px}.class-card{min-width:0}@media(max-width:600px){.heritage-hud{grid-column:1/-1;grid-row:5;margin:3px 0 0}.race-picker>div{gap:8px}.race-picker button{padding:10px}.inventory-item{flex-wrap:wrap}.inventory-item>div{flex-basis:100%;min-width:0}.inventory-item button{flex:1}}@media(min-width:601px){.game-layout.has-companion{grid-template-rows:570px auto auto}.has-companion>aside{grid-column:2;grid-row:1 / span 2}.has-companion>.companion-card{grid-column:1;grid-row:2;margin-top:0;align-self:start}.has-companion>.journal{grid-row:3}.companion-item>span{flex:1 1 200px}.companion-item button{flex:0 1 auto}}@media(min-width:601px)and (max-width:900px){.game-layout.has-companion{grid-template-rows:560px auto auto}}.character-preview{position:sticky;top:12px;z-index:2;display:grid;grid-template-columns:clamp(96px,22vw,132px) minmax(0,1fr);gap:0 14px;margin:0 0 25px;padding:12px;border:1px solid #766744;border-radius:6px;background:#17231c;box-shadow:0 10px 24px #0005}.preview-portrait{align-self:center;aspect-ratio:1;border:1px solid #45513b;border-radius:50%;background:radial-gradient(ellipse,#7a74403d,transparent 70%),repeating-linear-gradient(0deg,transparent 0 23px,#75806a12 23px 24px),#111b16;box-shadow:inset 0 0 30px #0004}.preview-portrait canvas{display:block;width:100%;height:100%;image-rendering:pixelated}.preview-profile{align-self:center;min-width:0}.preview-profile .eyebrow{font-size:8px;letter-spacing:1.4px}.preview-profile h2{font-size:27px;margin:9px 0;color:#e9d4a1}.preview-profile p{font-size:12px;line-height:1.7;margin:0 0 6px;color:#d4deca}.preview-profile p span{display:inline-block}.preview-profile small{display:block;font-size:10px;line-height:1.6;color:#acbb9f}.preview-footer{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px;border-top:1px solid #344332;padding-top:8px}.preview-footer>span{font-size:9px;line-height:1.5;color:#98a68e}.preview-turn{display:flex;align-items:center;gap:4px}.preview-turn button{padding:0;min-width:44px;height:44px;font-size:21px;background:#1b2920}.preview-turn>span{font-size:9px;text-transform:capitalize;color:#b9c5ad;min-width:32px;text-align:center}.start-panel button,.start-panel input{scroll-margin-top:250px}@media(min-width:601px){.menu{align-items:start}.intro{position:sticky;top:36px}}@media(max-width:600px){.character-preview{top:8px;gap:0 10px;padding:10px}.preview-profile h2{font-size:23px}.preview-profile p{font-size:11px}.preview-profile .eyebrow{font-size:7px;letter-spacing:1px}.preview-profile small{font-size:9px}.preview-footer>span{max-width:75px}.start-panel button,.start-panel input{scroll-margin-top:230px}}.brand-mark{display:block;flex:0 0 auto;width:44px;height:44px;align-self:center}.intro{min-width:0}.intro-masthead{margin:24px 0}.intro-castle{display:block;width:128px;height:128px;margin-left:-14px;filter:drop-shadow(0 6px 20px #d7b47212)}.intro .intro-title{font:bold clamp(34px,5.6vw,72px)/.98 Georgia,serif;letter-spacing:-1.5px;margin:20px 0 0;color:#f0e7d1}.intro-title>span{display:block;color:#d7b472}.intro .intro-tagline{font:700 25px/1.4 Georgia,serif;color:#e6ddc7;margin:24px 0 18px}.intro-tagline strong{color:#d7b472}.intro .intro-copy{font-size:14px;line-height:1.8;margin:0;max-width:365px}.intro .rune{margin-top:28px;gap:14px}.intro .rune span{font-size:14px}@media(max-width:900px)and (min-width:601px){.intro-castle{width:96px;height:96px;margin-left:-10px}.intro .intro-tagline{font-size:22px}.intro .rune{gap:8px}.intro .rune span{font-size:12px}}@media(max-width:600px){.brand-mark{width:36px;height:36px}.intro>.eyebrow{font-size:8px;letter-spacing:1.5px}.intro-masthead{display:flex;align-items:center;gap:16px;margin:20px 0}.intro-castle{width:76px;height:76px;margin:0;flex:0 0 auto}.intro .intro-title{font-size:clamp(32px,9vw,46px);letter-spacing:-.7px;margin:0}.intro .intro-tagline{font-size:22px;margin:18px 0 12px}.intro .intro-copy{font-size:13px;line-height:1.7}.menu{padding-top:26px}}@media(min-width:601px)and (max-height:720px){.intro{position:static}}.difficulty-picker{border:1px solid #43513d;border-radius:5px;padding:14px;margin:0 0 24px;min-width:0}.difficulty-picker>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.difficulty-picker button{min-height:44px;padding:10px;font-size:12px}.difficulty-picker button[aria-pressed=true]{border-color:#d7b472;background:#354332;color:#f4dfad}.difficulty-picker small{display:block;color:#a9b69d;font-size:11px;line-height:1.6}.difficulty-picker legend{padding:0 6px}.run-options{border:1px solid #43513d;border-radius:5px;padding:14px;margin:0 0 24px;min-width:0}.run-options legend{font-size:9px;letter-spacing:1px;padding:0 6px}.start-panel .run-options label{display:flex;align-items:flex-start;gap:10px;margin:14px 0 0;cursor:pointer}.run-options input{width:18px;height:18px;flex:0 0 18px;margin:2px 0 0;padding:0;accent-color:#d7b472}.run-options strong{font-size:12px;font-weight:600}.run-options small{display:block;color:#a9b69d;font-size:10px;line-height:1.6;margin-top:5px}.run-assists{font-size:10px;line-height:1.6;color:#b8cda8;margin:10px 0}.rest-actions{border-top:1px solid #3b493c;margin-top:14px;padding-top:12px}.rest-actions>button{width:100%;font-size:12px}.drop-treasure{border-color:#a28b55;color:#e5cc98}.checkpoint-slots{margin:22px 0;border-top:1px solid #43513d;padding-top:15px}.checkpoint-slots h3{font:23px Georgia;margin:6px 0 12px}.checkpoint-slots h3 small{font:11px Arial;color:#9daa94;display:block;margin-top:6px}.checkpoint-slot{padding:14px;border:1px solid #43513d;border-radius:5px;margin-top:10px;background:#152019}.checkpoint-slot>strong{font-size:13px;color:#e0c88d}.checkpoint-slot p{font-size:12px;line-height:1.6;margin:8px 0;overflow-wrap:anywhere}.checkpoint-slot>small{display:block;color:#99a88e;font-size:10px;margin-bottom:8px}.checkpoint-slot>div{display:flex;flex-wrap:wrap;gap:8px}.checkpoint-slot button{font-size:12px;flex:1}.checkpoint-confirm{border-top:1px solid #776a45;padding-top:10px;margin-top:12px}.checkpoint-confirm p{flex-basis:100%;color:#e7ce94}.save-preview:focus{outline:2px solid #d7b472;outline-offset:3px}@media(max-width:600px){.run-assists{grid-column:1/-1;grid-row:6;margin:3px 0 0}.rest-actions{margin-right:-145px}.run-options{padding:12px}.run-options legend{font-size:8px}.checkpoint-slot{padding:10px}}.save-dialog-header{position:sticky;top:0;z-index:2;background:#1a251d;padding:0 44px 1px 0;margin-bottom:12px;box-shadow:0 -35px #1a251d}.save-dialog-header>.close{top:0;right:0;background:#1a251d}.save-dialog-header h2{margin-bottom:12px}.demo-entry{margin-top:24px;max-width:365px}.demo-entry>button{display:flex;align-items:center;justify-content:space-between;width:100%;border-color:#8c794a;color:#e9cf98;font-size:13px}.demo-entry>button span{font-size:21px}.demo-entry label{display:flex;align-items:center;gap:10px;min-height:44px;font-size:11px;color:#afbea2;cursor:pointer;margin-top:4px}.demo-entry input{width:17px;height:17px;flex:0 0 17px;padding:0;margin:0;accent-color:#d7b472}.demo-entry .hint{font-size:10px;line-height:1.6;margin:0}.attract-mode{max-width:1440px;margin:auto;padding:26px 4vw;display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:18px;outline:none}.demo-banner{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #44513c;padding-bottom:18px}.demo-banner h1{font:700 34px/1.1 Georgia;letter-spacing:-.5px;margin:10px 0;color:#ead7ac}.demo-banner p{font-size:12px;color:#aebba1;line-height:1.7;margin:0}.demo-banner button{flex:0 0 auto;border-color:#a28b55;color:#e3c98f}.demo-summary{background:#19231c;border:1px solid #44513c;border-radius:6px;padding:20px;align-self:start}.demo-summary h2{color:#edd6a4;margin:12px 0}.demo-summary p{font-size:12px;line-height:1.7;color:#b9c6ac;margin:8px 0 16px}.demo-summary .demo-haul{font:30px Georgia;color:#e2c17d;margin:20px 0}.demo-haul small{font:11px Arial;color:#aaba9d}.demo-summary .demo-caption{border-top:1px solid #46523c;padding-top:18px;color:#e7d4ae;font-size:13px}.demo-summary .demo-safe{font-size:10px;color:#9ec3aa;border-left:2px solid #60826b;padding-left:10px}.demo-journal{grid-column:1/-1}.demo-viewport .map-footer{min-height:40px}.attract-mode .viewport{height:570px}.demo-mana{color:#8ecfdb!important}@media(max-width:900px){.attract-mode{grid-template-columns:minmax(0,1fr) 230px;padding:20px;gap:12px}.demo-summary{padding:15px}.demo-banner h1{font-size:29px}}@media(max-width:600px){.demo-entry{margin-top:20px}.attract-mode{display:flex;flex-direction:column;padding:16px 12px;gap:12px}.demo-banner{align-items:flex-start;gap:10px;padding-bottom:12px}.demo-banner .eyebrow{font-size:8px;letter-spacing:1px}.demo-banner h1{font-size:26px}.demo-banner p{font-size:11px}.demo-banner button{font-size:11px;padding:8px 10px}.attract-mode .viewport{height:48dvh;min-height:300px}.demo-summary{display:block;align-self:stretch}.demo-summary h2{font-size:23px}.demo-summary .demo-haul{font-size:25px;margin:12px 0}.demo-summary .demo-caption{padding-top:12px}.demo-summary p{margin-bottom:12px}.demo-viewport .map-footer{font-size:8px}}@media(max-width:600px){.demo-banner{order:0}.demo-banner h1{font-size:22px;margin:6px 0}.demo-banner .eyebrow{font-size:7px;letter-spacing:.7px}.demo-summary{order:1;display:grid;grid-template-columns:1fr 1fr;gap:5px 12px;padding:12px}.demo-summary>.eyebrow,.demo-summary>.hint{display:none}.demo-summary h2{grid-column:1;grid-row:1;margin:0;font-size:20px}.demo-summary>p:first-of-type{grid-column:1;grid-row:2;margin:0;font-size:10px}.demo-summary .stat-line{grid-column:2;grid-row:1;align-self:center}.demo-summary .bar{grid-column:2;grid-row:2;margin:0}.demo-summary .demo-haul{grid-column:1;grid-row:3;font-size:20px;margin:0}.demo-summary .demo-mana{grid-column:2;grid-row:3;font-size:10px;margin:0;align-self:center}.demo-summary .demo-caption{grid-column:1/-1;margin:2px 0 0;padding-top:6px;font-size:11px}.demo-summary .demo-safe{grid-column:1/-1;margin:0;font-size:9px}.demo-companion{grid-column:1/-1}.attract-mode .demo-viewport{order:2;height:38dvh;min-height:240px}.demo-journal{order:3}}.chest-warning{padding:14px;border:1px solid #bb8660;background:#38271f;border-radius:5px;color:#f4d4ac!important}.chest-choices{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.chest-choices button{flex:1 1 180px;min-height:44px;font-size:12px}.chest-inspection>.eyebrow{padding-right:40px;display:block}.soul-status{border-left:2px solid #8ecdd3;padding:7px 10px;margin:10px 0;font-size:11px;color:#b9d6cf}.soul-status strong{font-weight:400;color:#e4ce97}.soul-status p{font-size:11px;line-height:1.6;margin:5px 0}.resurrection-choice{padding:12px;border:1px solid #9b8758;border-radius:5px;background:#21332a;margin:14px 0}.resurrection-choice p{font-size:12px;line-height:1.6;margin:0 0 10px}.resurrection-choice button{width:100%;font-size:13px}.sound-settings{max-width:480px}.sound-settings>label{display:flex;align-items:center;gap:12px;min-height:44px;font-size:13px;margin:10px 0}.sound-settings input[type=checkbox]{width:20px;height:20px;margin:0;padding:0;accent-color:#d7b472}.sound-settings .effects-volume{display:block;margin:20px 0}.effects-volume>span{display:flex;justify-content:space-between}.effects-volume input[type=range]{width:100%;padding:0;min-height:44px;accent-color:#d7b472}.sound-settings-actions{display:flex;flex-wrap:wrap;gap:10px}.sound-settings-actions button{flex:1}.demo-controls{display:flex;flex-direction:column;gap:6px;flex:0 0 auto}.demo-controls .attract-sound{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:8px}.attract-sound span{font-size:17px}.attract-sound small{font-size:10px}@media(max-width:600px){.sound-settings{padding:22px}.sound-settings h2{font-size:25px}.demo-controls{gap:4px}.demo-controls .attract-sound{padding:5px 8px}}.is-playing.is-compact{height:100dvh;display:flex;flex-direction:column;overflow:hidden;padding-bottom:env(safe-area-inset-bottom)}.is-playing.is-compact>header{height:calc(44px + env(safe-area-inset-top));flex-shrink:0;padding-left:max(8px,env(safe-area-inset-left));padding-right:max(8px,env(safe-area-inset-right));gap:8px}.is-playing.is-compact .brand{font-size:13px;letter-spacing:1px;gap:6px;align-items:center;min-width:0}.is-playing.is-compact .brand-mark{height:28px;width:28px}.is-playing.is-compact .brand small,.is-playing.is-compact .edition,.is-playing.is-compact>footer{display:none}.is-playing.is-compact .header-right{gap:0;flex-shrink:0}.is-playing.is-compact .header-right button{font-size:10px;padding:4px 8px;min-height:44px}.is-playing.is-compact .header-right button span{display:none}.is-playing.is-compact>.pwa-panel{flex-shrink:0;position:relative;z-index:3;padding:0 max(8px,env(safe-area-inset-left));font-size:10px}.is-playing.is-compact .pwa-strip{min-height:44px}.is-playing.is-compact .pwa-strip button{font-size:10px;min-height:44px}.is-playing.is-compact .pwa-expanded{position:absolute;top:100%;left:6px;right:6px;background:#1a251d;border:1px solid #64704f;border-radius:5px;padding:16px;max-height:calc(100dvh - 110px);overflow:auto;box-shadow:0 15px 30px #0009}.is-playing.is-compact .pwa-expanded>div,.is-playing.is-compact .pwa-message{padding:0 0 12px}.compact-play{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(100px,1fr) auto;gap:6px;padding:6px max(6px,env(safe-area-inset-right)) 6px max(6px,env(safe-area-inset-left));width:100%;overflow:hidden}.compact-play .compact-hero{display:grid;grid-template-columns:minmax(85px,1fr) minmax(80px,1fr) 58px 46px;gap:8px;align-items:center;padding:5px 8px;order:0;min-width:0}.compact-identity{min-width:0}.compact-hero h2{font:16px/1.1 Georgia;margin:0;grid-row:auto}.compact-hero h2>span{display:inline-block;white-space:nowrap;float:none;font:8px Arial;margin:0 0 0 5px}.compact-hero .objective{border:0;padding:0;margin:0;grid-column:auto;grid-row:auto}.compact-hero .objective h3{font:17px Georgia;margin:3px 0 0}.compact-hero .objective h3 small{font:9px Arial}.compact-hero .heritage-hud,.compact-hero .run-assists{display:none}.compact-resources .stat-line{font-size:10px;grid-column:auto;grid-row:auto}.compact-resources .bar{height:4px;margin:4px 0 0;grid-column:auto;grid-row:auto}.compact-resources .mana-hud{font-size:9px;margin:4px 0 0}.compact-resources .mana-track{height:3px;margin-top:2px}.compact-hero .pack-button,.compact-more{width:100%;margin:0;padding:4px;font-size:11px;min-height:44px;text-align:center;grid-column:auto;grid-row:auto}.compact-hero .pack-button small,.compact-more>span{display:block;font-size:10px;margin-top:3px;color:#b8c89e}.compact-play .compact-map{height:auto;min-height:0;grid-row:2}.compact-map .map-heading{flex-shrink:0;padding:7px 9px;font-size:9px;letter-spacing:.6px}.compact-map .map-heading small{font-size:8px;margin-left:7px}.compact-map .encounter-strip{bottom:8px;left:8px;width:205px;padding:7px 9px;font-size:10px}.compact-map .encounter-strip .encounter-title{font-size:11px}.compact-goal{position:absolute;top:32px;left:8px;right:8px;padding:8px;background:#393723ed;border:1px solid #aa945e;border-radius:4px;font-size:11px;color:#f4d995}.compact-conceal{position:absolute;bottom:8px;right:8px;background:#1a3026ed;border:1px solid #739e7a;border-radius:4px;padding:6px;font-size:10px;max-width:90px;line-height:1.4}.compact-dock{display:flex;flex-direction:column;gap:6px;min-width:0}.compact-feedback{margin:0 2px;min-height:14px;line-height:14px;font-size:10px;color:#c3cdb4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.compact-context{display:flex;gap:6px;align-items:stretch;min-height:44px}.compact-context>.context{flex:1;min-width:0;width:auto;margin:0;padding:6px 8px;font-size:11px;min-height:44px}.compact-prompt{font-size:10px;line-height:1.5;color:#9eaf95;align-self:center;margin:0 8px}.compact-drive{display:grid;grid-template-columns:136px minmax(0,1fr);gap:8px}.compact-play .dpad{position:static;display:grid;grid-template-columns:44px 44px 44px;grid-template-rows:44px 44px;gap:2px;justify-content:start}.compact-play .dpad button:nth-child(1){grid-column:2;grid-row:1}.compact-play .dpad button:nth-child(2){grid-column:1;grid-row:2}.compact-play .dpad button:nth-child(3){grid-column:2;grid-row:2}.compact-play .dpad button:nth-child(4){grid-column:3;grid-row:2}.compact-quick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:44px;gap:2px}.compact-quick>button,.compact-quick .rest-actions>button{font-size:11px;line-height:1.15;padding:3px;min-width:0;min-height:44px}.compact-quick>button>small{display:block;font-size:8px;margin-top:3px}.compact-dock kbd{display:none}.compact-rest{display:contents}.compact-rest>p{display:none}.compact-rest button small{display:block;font-size:9px;color:#d8c38b;margin-top:2px}.compact-context .enemy-card{flex:1;min-width:0;display:flex;flex-wrap:wrap;gap:3px 6px;padding:5px 7px;margin:0;background:#241f1b}.compact-context .enemy-card .encounter-title{flex-basis:100%;font-size:11px;line-height:1.2}.compact-context .enemy-card .encounter-title strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.compact-context:has(.enemy-card)>.context{flex:0 0 84px}.compact-context .enemy-card .enemy-health{flex-basis:100%;height:3px;margin:0}.compact-context .enemy-card .encounter-detail{display:contents}.compact-context .enemy-card .encounter-detail>span,.compact-context .enemy-card .tactical-note{display:none}.compact-context .enemy-card button{flex:1;min-width:44px;min-height:44px;font-size:11px;line-height:1.2;padding:4px}.compact-sheet[hidden],.compact-sheet [hidden]{display:none!important}.compact-sheet .dialog{max-width:620px;padding:20px;max-height:calc(100dvh - 24px - env(safe-area-inset-bottom));overscroll-behavior:contain}.compact-sheet h2{font-size:23px;margin:4px 44px 18px 0}.compact-sheet-header{position:sticky;top:-20px;margin:-20px -20px 16px;padding:20px 20px 12px;background:#1a251d;z-index:1;border-bottom:1px solid #43513d}.compact-sheet-header .close{right:8px;top:8px}.compact-sheet-header .compact-tabs{margin-bottom:0}.compact-tabs{display:flex;gap:6px;margin-bottom:16px}.compact-tabs button{flex:1;min-width:44px;font-size:12px;padding:7px}.compact-tabs [aria-selected=true]{border-color:#d7b472;color:#efd194}.compact-menu-actions{display:flex;gap:6px}.compact-menu-actions button{flex:1;font-size:12px}.compact-sheet h3{font:20px Georgia;color:#e1cf9f}.compact-sheet .exploration-actions{margin:15px 0 0;padding:0}.compact-sheet .enemy-card{margin:12px 0 0}.compact-sheet .journal{padding:0;border:0}.compact-sheet .journal>div:first-child{display:block}.compact-targets{display:flex;flex-wrap:wrap;gap:6px}.compact-targets button{font-size:12px;flex:1 1 160px}.compact-targets [aria-pressed=true]{border-color:#d7b472}.is-playing.is-compact .notice{bottom:calc(156px + env(safe-area-inset-bottom));padding:10px 14px;pointer-events:none}@media(max-width:360px){.is-playing.is-compact .brand{font-size:11px;letter-spacing:.5px}.is-playing.is-compact .brand-mark{width:24px;height:24px}.is-playing.is-compact .header-right button{padding:4px;font-size:9px}.compact-play .compact-hero{grid-template-columns:minmax(81px,1fr) minmax(64px,1fr) 48px 44px;gap:5px;padding:4px 6px}.compact-hero h2{font-size:14px}.compact-hero h2>span{font-size:7px;margin-left:3px}.compact-quick>button,.compact-quick .rest-actions>button{font-size:10px}}@media(min-width:540px)and (orientation:landscape){.compact-play{grid-template-columns:minmax(0,1fr) 300px;grid-template-rows:auto minmax(0,1fr)}.compact-hero{grid-column:1/-1}.compact-play .compact-map{grid-column:1;grid-row:2}.compact-dock{grid-column:2;grid-row:2;align-self:end}.compact-drive{gap:6px}.compact-map .encounter-strip{width:190px}.compact-hero .objective h3{font-size:16px}.compact-play .compact-hero{grid-template-columns:minmax(85px,1fr) minmax(100px,1fr) 70px 60px}.is-playing.is-compact .notice{left:20px;transform:none;max-width:calc(100% - 340px);bottom:20px}}@media(max-height:420px)and (orientation:landscape){.is-playing.is-compact>header{display:none}}.has-touch-controls>header{display:none!important}.touch-play{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;gap:5px;padding:5px max(5px,env(safe-area-inset-right)) 4px max(5px,env(safe-area-inset-left))}.touch-play .compact-hero{grid-column:1;grid-row:1;grid-template-columns:minmax(85px,1fr) minmax(65px,1fr) 48px 62px;gap:6px;padding:4px 6px}.touch-play .compact-map{grid-column:1;grid-row:2}.touch-play .map{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;touch-action:none}.touch-feedback{grid-column:1;grid-row:3;min-width:0;padding:0 4px;line-height:1.4}.touch-feedback p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;margin:0;color:#c5d0bb}.touch-feedback>span{display:block;font-size:9px;color:#9aaa93}.has-touch-controls .notice{bottom:42px!important;left:50%!important;transform:translate(-50%)!important;max-width:90%!important}.radial-shade{position:fixed;inset:0;z-index:15;background:#050c0870;touch-action:none;-webkit-touch-callout:none;user-select:none;-webkit-user-select:none}.radial-menu{position:absolute;filter:drop-shadow(0 12px 22px #000b);isolation:isolate}.radial-menu svg{display:block;width:100%;height:100%;overflow:visible}.radial-rim{fill:#0b1611;stroke:#b59e66;stroke-width:1}.radial-menu g[role=button]{cursor:pointer;outline:none}.radial-menu g>path{fill:#20352b;stroke:#829078;stroke-width:.8;transition:fill .12s}.radial-menu g:hover>path,.radial-menu g:focus>path{fill:#44533a;stroke:#f3d191;stroke-width:2}.radial-menu g[aria-disabled=true]>path{fill:#19231f}.radial-menu g[aria-disabled=true] text{fill:#899387}.radial-empty{fill:#14241c;stroke:#53634e;stroke-width:.5}.radial-menu text{text-anchor:middle;font:11px Arial;fill:#f0e9d6;pointer-events:none}.radial-menu text.radial-icon{font:20px Georgia;fill:#e4c17a}.radial-center{position:absolute;left:30%;top:30%;width:40%;height:40%;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:9px;background:#14251c;border-color:#b19b60;color:#e4d5b5;min-height:44px;overflow:hidden}.radial-center strong{font:14px/1.1 Georgia;max-width:100%;overflow-wrap:anywhere}.radial-center small{font-size:10px;line-height:1.2;max-height:54px;overflow:hidden;color:#bcc7b0}.radial-center>span{font-size:10px;color:#e0bd72}.radial-center>span.radial-notice{color:#f1c48e;font-size:10px;line-height:1.15}.radial-center:has(.radial-notice) strong{font-size:12px}.radial-close{position:absolute;right:0;top:0;width:44px;height:44px;padding:0;border-radius:50%;font-size:24px;background:#16251d;border-color:#a4915e;z-index:2}.radial-hint{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;pointer-events:none}@media(max-width:360px){.touch-play .compact-hero{grid-template-columns:minmax(80px,1fr) minmax(60px,1fr) 46px 58px;gap:4px}.touch-play .compact-hero h2{font-size:13px}}@media(min-width:600px){.touch-play .compact-hero{grid-template-columns:minmax(85px,1fr) minmax(100px,1fr) 70px 76px}.touch-play .compact-more,.touch-play .pack-button{font-size:12px}.touch-feedback>span{font-size:11px}}.demo-entry>.open-bestiary{margin-top:8px;border-color:#4f6652;color:#bfd0af}.guide-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-width:650px;margin:0 0 20px}.guide-tabs button{font-size:13px;border-bottom-width:3px}.guide-tabs button[aria-selected=true]{background:#354235;border-color:#b99a5d;color:#ffe1a1}.guide-looks{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 20px}.guide-looks>div{display:flex;flex-wrap:wrap;gap:6px}.guide-looks button{font-size:11px;padding:8px 12px}.guide-looks button[aria-pressed=true]{border-color:#c0a063;background:#344233;color:#ffe1a1}.object-guide-card .bestiary-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.object-guide-card .bestiary-stats dd{font-size:22px;overflow-wrap:anywhere}.guide-short-note{display:none}.demo-viewport .map-footer span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bestiary-library{max-width:1200px;margin:auto;padding:26px 4vw;outline:none}.bestiary-library .demo-banner{margin-bottom:20px}.bestiary-picker{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.bestiary-picker button{min-height:44px;padding:8px 16px;font-size:12px}.bestiary-picker button[aria-pressed=true]{border-color:#d1b16b;background:#354235;color:#ffe1a1}.bestiary-card{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;padding:28px;border:1px solid #48563e;border-radius:8px;background:linear-gradient(130deg,#1d2a20,#101c17);min-width:0}.bestiary-portrait{display:flex;flex-direction:column;justify-content:center;gap:16px;min-width:0}.creature-showcase{display:block;width:100%;height:auto;aspect-ratio:4/3;image-rendering:pixelated;border:1px solid #536043;border-radius:50% 50% 6px 6px;background:#080e0b}.bestiary-portrait>span{font-size:10px;letter-spacing:2px;color:#b8be99;text-align:center}.bestiary-profile{min-width:0;align-self:center}.bestiary-profile>.eyebrow{font-size:10px;letter-spacing:1.5px;color:#c4b17c}.bestiary-profile h2{font:54px/1.1 Georgia;margin:12px 0 14px;color:#f0ddad}.bestiary-lore{font:italic 17px/1.6 Georgia;color:#c5cbb4;margin:0 0 22px}.bestiary-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:0;padding:16px 0;border-block:1px solid #46543b}.bestiary-stats div{min-width:0}.bestiary-stats dt{font-size:10px;color:#a9b798}.bestiary-stats dd{margin:7px 0 0;color:#e4ca8c;font:24px Georgia}.bestiary-floors{font-size:10px;line-height:1.6;color:#aebd9f;margin:12px 0 20px}.bestiary-fieldnote h3{font:16px Georgia;color:#e3d2aa;margin:16px 0 6px}.bestiary-fieldnote p{font-size:13px;line-height:1.7;color:#bdc9b1;margin:0}.bestiary-champions{font-size:11px;line-height:1.7;color:#c1b583;border-top:1px solid #46543b;margin:18px 0 0;padding-top:12px}.bestiary-demo-footer{grid-column:1/-1;font-size:11px;line-height:1.7;color:#b4c3a9;margin:0}.bestiary-mode{grid-template-columns:minmax(0,1fr);max-width:1200px}@media(max-width:700px){.bestiary-library{padding:16px 12px}.bestiary-library .demo-banner{align-items:flex-start;gap:12px}.bestiary-library .demo-banner h1{font-size:27px}.bestiary-library .demo-banner button{padding:8px 12px;font-size:11px}.bestiary-picker{gap:6px;margin-bottom:12px}.bestiary-picker button{flex:1 0 21%;padding:8px 4px;font-size:11px}.bestiary-card{grid-template-columns:minmax(0,1fr);padding:18px;gap:22px}.bestiary-portrait{max-width:300px;width:100%;margin:auto;gap:10px}.bestiary-portrait>span{font-size:9px;letter-spacing:1px}.bestiary-profile h2{font-size:39px;margin:9px 0 12px}.bestiary-lore{font-size:16px;margin-bottom:16px}.bestiary-stats{gap:5px;padding:12px 0}.bestiary-stats dt{font-size:9px}.bestiary-stats dd{font-size:22px}.bestiary-profile>.eyebrow{font-size:9px}.bestiary-mode .bestiary-card{order:1}.bestiary-demo-footer{order:2}}@media(max-height:500px)and (min-width:500px){.bestiary-card{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:20px}.bestiary-portrait{position:sticky;top:10px;align-self:start}.bestiary-profile h2{font-size:32px}.bestiary-lore{font-size:14px}.bestiary-portrait>span{letter-spacing:.5px}}.bestiary-mode{position:fixed;inset:0;z-index:8;max-width:none;width:100%;height:100dvh;overflow:hidden;grid-template-rows:auto minmax(0,1fr) auto;background:#101715;padding:max(14px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left));gap:14px}.bestiary-mode .bestiary-card{width:100%;max-width:1100px;margin:auto;max-height:100%;overflow:auto}.bestiary-mode .demo-banner,.bestiary-mode .bestiary-demo-footer{width:100%;max-width:1100px;margin:auto}.bestiary-mode .demo-banner h1{font-size:30px;margin:8px 0}@media(max-width:700px){.bestiary-mode{display:grid;padding:12px;gap:10px}.bestiary-mode .demo-banner{order:0;align-items:flex-start;padding-bottom:8px}.bestiary-mode .demo-banner h1{font-size:23px;margin:5px 0}.bestiary-mode .bestiary-card{display:grid;grid-template-rows:minmax(100px,1fr) auto;gap:12px;padding:14px;overflow:hidden}.bestiary-mode .bestiary-portrait{max-width:240px;max-height:100%;gap:5px}.bestiary-mode .creature-showcase{max-height:100%;object-fit:contain;min-height:0}.bestiary-mode .bestiary-portrait>span{font-size:8px}.bestiary-mode .bestiary-lore,.bestiary-mode .bestiary-champions,.bestiary-mode .bestiary-fieldnote h3,.bestiary-mode .bestiary-fieldnote p:last-child{display:none}.bestiary-mode .bestiary-profile h2{font-size:30px;margin:6px 0 10px}.bestiary-mode .bestiary-stats{padding:10px 0}.bestiary-mode .bestiary-floors{font-size:9px;margin:8px 0}.bestiary-mode .bestiary-fieldnote p{font-size:12px;line-height:1.5}.bestiary-mode .bestiary-demo-footer{font-size:9px;line-height:1.5}.bestiary-mode .bestiary-portrait{position:static}}@media(max-height:500px)and (min-width:500px){.bestiary-mode{padding:8px 12px;gap:6px}.bestiary-mode .demo-banner{padding-bottom:6px}.bestiary-mode .demo-banner h1{font-size:21px;margin:4px 0}.bestiary-mode .bestiary-card{grid-template-rows:minmax(0,1fr);padding:12px;gap:14px}.bestiary-mode .bestiary-portrait{max-width:220px;min-height:0}.bestiary-mode .bestiary-profile h2{font-size:27px;margin:4px 0 8px}.bestiary-mode .bestiary-fieldnote,.bestiary-mode .bestiary-lore,.bestiary-mode .bestiary-champions{display:none}.bestiary-mode .bestiary-stats{padding:8px 0}.bestiary-mode .bestiary-floors{margin:6px 0 0}}@media(max-width:700px){.guide-tabs{gap:6px;margin-bottom:14px}.guide-tabs button{font-size:11px;padding:8px}.guide-looks{gap:10px;margin-bottom:14px}.guide-looks button{padding:8px 10px}.bestiary-mode .guide-full-note{display:none}.bestiary-mode .guide-short-note{display:inline}.bestiary-mode .object-guide-card .bestiary-profile h2{font-size:27px}.bestiary-mode .hero-guide-card .bestiary-floors{font-size:9px}}
