/* Bounded game canvas: layout coordinates never depend on the monitor width. */
.ward-ux-page .rpg-floor-jump{display:block;font-size:12px;color:var(--u-muted);text-align:center}.ward-ux-page .rpg-floor-jump select{display:block;width:100%;margin-top:5px;padding:6px 2px;border:1px solid var(--u-line);border-radius:8px;background:#172432;color:var(--u-text);font:13px Montserrat,Arial,sans-serif}
.ward-ux-page .topbar::before{left:0;right:0}
.ward-ux-page{--u-text:#f0f3f7;--u-muted:#b2becb;--u-mint:#a0e7cc;--u-gold:#efd08b;--u-line:#acc6d538;--u-panel:#15202cf5}
.ward-ux-page .rpg-shell{width:min(100%,1120px)!important;max-width:1120px!important;margin:0 auto;padding:0;border:0;background:none;box-shadow:none;color:var(--u-text);font:14px/1.5 Montserrat,Arial,sans-serif}
.ward-ux-page .rpg-shell{margin-left:auto!important;margin-right:auto!important}
.ward-ux-page .rpg-shell *,.ward-ux-page .rpg-dialog *{box-sizing:border-box}.ward-ux-page .rpg-shell [hidden],.ward-ux-page .rpg-toast[hidden]{display:none!important}
.ward-ux-page .rpg-shell :is(button,input),.ward-ux-page .rpg-dialog button{font:inherit;color:inherit}.ward-ux-page .rpg-shell button,.ward-ux-page .rpg-dialog button{cursor:pointer;touch-action:manipulation}.ward-ux-page .rpg-shell button:disabled,.ward-ux-page .rpg-dialog button:disabled{opacity:.45;cursor:default;transform:none}
.ward-ux-page :is(.rpg-shell,.rpg-dialog) :is(button,[role=button]):focus-visible{outline:2px solid var(--u-mint);outline-offset:3px}.ward-ux-page .rpg-shell :is(h2,h3,h4,p){margin:0}.ward-ux-page .rpg-shell :is(h2,h3,h4){font-weight:800;color:var(--u-text);letter-spacing:-.4px}.ward-ux-page .rpg-shell p{line-height:1.6}.ward-ux-page .rpg-shell small{font-size:12px;line-height:1.4}
.ward-ux-page .rpg-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 14px}.ward-ux-page .rpg-heading h2{font-size:26px}.ward-ux-page .rpg-heading h2>span{color:var(--u-mint)}.ward-ux-page .rpg-eyebrow{display:block;font-size:12px;font-weight:750;color:var(--u-mint);letter-spacing:.7px}.ward-ux-page .rpg-heading-tools{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--u-muted)}.ward-ux-page .rpg-test-label{display:none}
.ward-ux-page .rpg-utility{display:grid;place-items:center;width:40px;height:40px;padding:9px;border:1px solid var(--u-line);border-radius:12px;background:#172331;color:var(--u-text);font-size:27px!important;flex-shrink:0}.ward-ux-page .rpg-utility svg,.ward-ux-page .rpg-map-lock svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}
.ward-ux-page .rpg-stage{position:relative;isolation:isolate;width:100%;height:680px;overflow:hidden;border:1px solid #acc6d54d;border-radius:24px;background:#101822;box-shadow:0 20px 65px #0005}
.ward-ux-page .rpg-backdrop,.ward-ux-page .rpg-vignette,.ward-ux-page .rpg-dust{position:absolute;inset:0;pointer-events:none}.ward-ux-page .rpg-backdrop{z-index:-3;background-repeat:no-repeat;background-size:cover;background-position:center}.ward-ux-page .rpg-vignette{z-index:-2;background:linear-gradient(0deg,#080e19f5,transparent 32%,#07101b75),radial-gradient(ellipse,transparent 25%,#06102055 65%,#060c18aa)}.ward-ux-page .rpg-dust{z-index:-1;background:radial-gradient(circle at 17% 12%,#ffe5ad 0 1px,transparent 2px);background-size:179px 241px;opacity:.15;animation:ux-dust 30s linear infinite}
.ward-ux-page .rpg-art{display:inline-block;flex:none;width:46px;height:46px;background-repeat:no-repeat;background-position:var(--ax,0%) var(--ay,0%);vertical-align:middle;pointer-events:none}.ward-ux-page .rpg-art--symbol{background-image:url('assets/ward-zero/symbols-atlas.png');background-size:400% 300%;clip-path:inset(1% 1% 3% 1%)}.ward-ux-page .rpg-art--item{background-image:url('assets/ward-zero/equipment-atlas-v2.png');background-size:300% 300%}
.ward-ux-page [data-item=flashlight]{--ax:0%;--ay:0%}.ward-ux-page [data-item=shirt]{--ax:50%;--ay:0%}.ward-ux-page [data-item=pipe]{--ax:100%;--ay:0%}.ward-ux-page [data-item=coat]{--ax:0%;--ay:50%}.ward-ux-page [data-item=gloves]{--ax:50%;--ay:50%}.ward-ux-page [data-item=baton]{--ax:100%;--ay:50%}.ward-ux-page [data-item=ward]{--ax:0%;--ay:100%}.ward-ux-page [data-item=key]{--ax:50%;--ay:100%}.ward-ux-page [data-item=medkit]{--ax:100%;--ay:100%}
.ward-ux-page .rpg-art--item:is([data-item=pants],[data-item=workpants],[data-item=slippers],[data-item=boots],[data-item=goggles],[data-item=safety],[data-item=clothgloves]){background-image:url('assets/ward-zero/clothing-items.png');background-size:400% 200%}.ward-ux-page [data-item=pants]{--ax:0%;--ay:0%}.ward-ux-page [data-item=workpants]{--ax:33.33333%;--ay:0%}.ward-ux-page [data-item=slippers]{--ax:66.66667%;--ay:0%}.ward-ux-page [data-item=boots]{--ax:100%;--ay:0%}.ward-ux-page [data-item=goggles]{--ax:0%;--ay:100%}.ward-ux-page [data-item=safety]{--ax:33.33333%;--ay:100%}.ward-ux-page [data-item=clothgloves]{--ax:66.66667%;--ay:100%}
.ward-ux-page [data-art=fist]{--ax:0%;--ay:0%}.ward-ux-page [data-art=heart]{--ax:33.33333%;--ay:0%}.ward-ux-page [data-art=eye]{--ax:66.66667%;--ay:0%}.ward-ux-page [data-art=shield]{--ax:100%;--ay:0%}.ward-ux-page [data-art=coin]{--ax:0%;--ay:50%}.ward-ux-page [data-art=brain]{--ax:33.33333%;--ay:50%}.ward-ux-page [data-art=bed]{--ax:66.66667%;--ay:50%}.ward-ux-page [data-art=map]{--ax:100%;--ay:50%}.ward-ux-page [data-art=bag]{--ax:0%;--ay:100%}.ward-ux-page [data-art=log]{--ax:33.33333%;--ay:100%}.ward-ux-page [data-art=blade]{--ax:66.66667%;--ay:100%}.ward-ux-page [data-art=lamp]{--ax:100%;--ay:100%}
.ward-ux-page .rpg-nav{position:absolute;z-index:25;top:12px;left:14px;right:14px;display:flex;align-items:center;justify-content:center;gap:7px;padding:5px 8px;border:1px solid var(--u-line);border-radius:16px;background:#121e2af0;backdrop-filter:blur(10px)}.ward-ux-page .rpg-nav-button{position:relative;display:flex;align-items:center;justify-content:center;gap:6px;flex:1;min-width:0;min-height:63px;padding:6px 8px;border:1px solid transparent;border-radius:11px;background:none;font-size:13px!important;font-weight:650}.ward-ux-page .rpg-nav-button .rpg-art{width:43px;height:43px}.ward-ux-page .rpg-nav-button.is-active,.ward-ux-page .rpg-nav-button:hover{background:#9de8ce17;border-color:#9de8ce55}.ward-ux-page .rpg-nav-dot{position:absolute;right:7px;top:7px;width:7px;height:7px;border-radius:50%;background:var(--u-mint)}.ward-ux-page .rpg-stage-fullscreen{display:none}
.ward-ux-page .rpg-hud{position:absolute;z-index:5;left:16px;top:104px;width:218px;padding:14px;border:1px solid var(--u-line);border-radius:18px;background:#14202ded;backdrop-filter:blur(10px)}.ward-ux-page .rpg-patient-head{display:flex;align-items:center;gap:9px;margin-bottom:10px}.ward-ux-page .rpg-patient-head>div{flex:1}.ward-ux-page .rpg-patient-head strong{font-size:15px;display:block}.ward-ux-page .rpg-patient-head small{font-size:12px;color:var(--u-muted)}.ward-ux-page .rpg-patient-avatar{width:40px;height:49px;flex:none;background:#27343c url('assets/ward-zero/patient-base.png') center 5%/290% auto no-repeat;border:1px solid #dac18966;border-radius:10px}.ward-ux-page .rpg-level{font-size:27px;font-weight:850;color:var(--u-gold);line-height:1;text-align:center}.ward-ux-page .rpg-level small{display:block;margin-top:5px;color:var(--u-gold)}
.ward-ux-page .rpg-resource{margin-top:9px}.ward-ux-page .rpg-resource>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:4px;font-size:12px}.ward-ux-page .rpg-resource>div>span{display:flex;align-items:center;gap:4px;color:#d2dce6}.ward-ux-page .rpg-resource .rpg-art{width:24px;height:24px}.ward-ux-page .rpg-resource strong{font-size:12px;white-space:nowrap}.ward-ux-page .rpg-meter{height:7px;border-radius:7px;overflow:hidden;background:#bdced51c;margin-top:4px}.ward-ux-page .rpg-meter i{display:block;height:100%;border-radius:7px;background:linear-gradient(90deg,#bf7389,#f5afbd);transition:width .2s}.ward-ux-page .rpg-resource--mp i{background:linear-gradient(90deg,#6e9bc6,#b2dbf3)}.ward-ux-page .rpg-resource--xp i,.ward-ux-page .rpg-next .rpg-meter i{background:linear-gradient(90deg,#5faf99,#a4eacc)}
.ward-ux-page .rpg-stat-row{display:flex;justify-content:space-around;gap:6px;padding-top:11px;margin-top:12px;border-top:1px solid var(--u-line)}.ward-ux-page .rpg-stat-row>span{display:flex;align-items:center;gap:2px}.ward-ux-page .rpg-stat-row .rpg-art{width:32px;height:32px}.ward-ux-page .rpg-stat-row strong{font-size:17px}.ward-ux-page .rpg-train-link{width:100%;display:flex;justify-content:space-between;align-items:center;gap:5px;padding:10px 0 0;margin-top:9px;border:0;border-top:1px solid var(--u-line);background:none;font-size:12px!important;font-weight:650;text-align:left}.ward-ux-page .rpg-train-link span{display:none}.ward-ux-page .rpg-train-link b{padding:3px 7px;border-radius:6px;color:var(--u-mint);background:#9de8ce21}
.ward-ux-page .rpg-location{position:absolute;z-index:3;top:104px;left:50%;transform:translateX(-50%);width:340px;text-align:center;pointer-events:none;text-shadow:0 2px 7px #000}.ward-ux-page .rpg-location strong{display:block;font-size:21px;margin-top:4px}.ward-ux-page .rpg-location .rpg-eyebrow{font-size:12px}.ward-ux-page .rpg-player{position:absolute;z-index:2;left:50%;bottom:128px;transform:translateX(-50%);height:400px;aspect-ratio:2/3;pointer-events:none;filter:drop-shadow(0 10px 9px #0009)}.ward-ux-page .rpg-doll{position:absolute;inset:0;isolation:isolate}.ward-ux-page :is(.rpg-body-base,.rpg-body-layer){position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.ward-ux-page .rpg-body-layer--shirt{clip-path:polygon(24% 16%,76% 16%,76% 48%,66% 48%,66% 46.5%,35% 46.5%,35% 48%,24% 48%)}.ward-ux-page .rpg-body-layer--pants{clip-path:inset(48% 31% 10% 31%);transform:translateY(-1.7%) scaleY(1.02);transform-origin:center bottom}.ward-ux-page .rpg-body-layer--boots{clip-path:inset(87% 26% 3% 27%)}.ward-ux-page .rpg-body-layer--gloves{clip-path:polygon(24% 46%,35% 46%,35% 58%,65% 58%,65% 46%,77% 46%,77% 58%,24% 58%)}.ward-ux-page .rpg-body-layer--glasses{clip-path:inset(8.2% 41% 85.3% 41%)}.ward-ux-page .rpg-hand-weapon{position:absolute;z-index:8;left:18%;top:51%;width:62px;height:62px;transform:rotate(-25deg);filter:drop-shadow(1px 4px 3px #0009)}.ward-ux-page .rpg-hand-weapon .rpg-art{width:100%;height:100%}.ward-ux-page .rpg-aura{position:absolute;z-index:-1;inset:12% 8% 0;border-radius:50%;background:radial-gradient(ellipse at 50% 78%,#f1ce7b70,transparent 65%)}
.ward-ux-page .rpg-next{position:absolute;top:163px;right:18px;z-index:4;width:216px;padding:19px;border:1px solid #dac0864d;border-radius:17px;background:#172330e8}.ward-ux-page .rpg-next>strong{display:block;font-size:19px;line-height:1.35;margin:6px 0 18px}.ward-ux-page .rpg-floor-progress{display:flex;justify-content:space-between;font-size:14px;margin-bottom:5px}.ward-ux-page .rpg-next>p{font-size:13px;color:var(--u-muted);margin-top:20px}.ward-ux-page .rpg-next>p b{font-size:16px;color:var(--u-gold);display:block;margin-top:4px}
.ward-ux-page .rpg-creature{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;filter:drop-shadow(0 7px 8px #0007)}.ward-ux-page .rpg-enemy{position:absolute;z-index:3;left:73%;bottom:152px;transform:translateX(-50%);height:315px;width:235px;pointer-events:none}.ward-ux-page .rpg-enemy-figure{position:absolute;inset:0}.ward-ux-page .rpg-enemy-hud{position:absolute;z-index:5;left:50%;bottom:calc(100% - 22px);transform:translateX(-50%);width:262px;padding:11px 14px;border:1px solid #df99a74a;border-radius:14px;background:#211c2af2;text-align:center;box-shadow:0 6px 20px #0005}.ward-ux-page .rpg-enemy-hud>div:first-child{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}.ward-ux-page .rpg-enemy-hud strong{font-size:17px}.ward-ux-page .rpg-enemy-hud>div>span{font-size:12px;color:var(--u-gold)}.ward-ux-page .rpg-enemy-hud p{font-size:12px;color:var(--u-muted);margin-top:5px}.ward-ux-page .rpg-enemy-hud p span{font-weight:750;color:#fff}.ward-ux-page .rpg-enemy-hud>small{display:block;color:#e6d7df;margin-top:5px;font-size:12px}.ward-ux-page .danger{color:#ffb1bb!important}
.ward-ux-page .rpg-stage:not([data-mode=home]) .rpg-player{left:38%;height:330px;bottom:151px}.ward-ux-page .rpg-stage:not([data-mode=home]) .rpg-location{left:265px;top:108px;transform:none;width:300px;text-align:left}
.ward-ux-page .rpg-pet{position:absolute;z-index:3;left:calc(50% - 205px);bottom:136px;width:90px;text-align:center;pointer-events:none}.ward-ux-page .rpg-pet-sprite{display:block;width:100%;aspect-ratio:1;background:url('assets/ward-zero/pets-atlas.png') var(--px,0%) center/300% 100% no-repeat;filter:drop-shadow(0 5px 5px #0008)}.ward-ux-page .rpg-pet>span:last-child{font-size:12px;text-shadow:0 1px 5px #000}.ward-ux-page .rpg-pet b{font-size:12px;color:var(--u-gold)}
.ward-ux-page .rpg-wallet{position:absolute;z-index:4;bottom:118px;left:18px;display:flex;gap:9px;padding:8px 10px;border:1px solid var(--u-line);border-radius:13px;background:#111e2beb}.ward-ux-page .rpg-wallet>span{display:grid;grid-template-columns:32px auto;column-gap:3px;align-items:center}.ward-ux-page .rpg-wallet .rpg-art{grid-row:1/3;width:32px;height:32px}.ward-ux-page .rpg-wallet strong{font-size:15px;color:var(--u-gold)}.ward-ux-page .rpg-wallet small{font-size:12px;color:var(--u-muted)}.ward-ux-page .rpg-stage[data-mode=battle] .rpg-wallet{display:none}
.ward-ux-page .rpg-commands{position:absolute;z-index:9;left:16px;right:16px;bottom:16px}.ward-ux-page .rpg-home-commands{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:10px}.ward-ux-page .rpg-battle-commands{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}.ward-ux-page .rpg-button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:11px 15px;border:1px solid #abc5d145;border-radius:12px;background:linear-gradient(145deg,#2c3c4b,#142232);color:var(--u-text);font-size:14px!important;font-weight:650;line-height:1.3;text-align:center;box-shadow:inset 0 1px #f6ffff0c,0 5px 12px #0002;transition:background .15s,transform .15s}.ward-ux-page .rpg-button small{display:block;color:var(--u-muted);font-size:12px;margin-top:5px;font-weight:500}.ward-ux-page .rpg-button:hover:not(:disabled){background:#304f48;transform:translateY(-1px)}.ward-ux-page .rpg-button--primary{background:linear-gradient(135deg,#b2efd8,#70c8ab);color:#112f2b!important;border-color:#c0f1dbbb}.ward-ux-page .rpg-button--primary:hover:not(:disabled){background:linear-gradient(135deg,#cbfce9,#8cdbbf)}.ward-ux-page .rpg-button--primary small{color:#285a4f}.ward-ux-page .rpg-button--danger{background:#643848;border-color:#c98398}.ward-ux-page .rpg-commands .rpg-button{min-height:84px;font-size:16px!important;padding:12px}.ward-ux-page .rpg-home-commands .rpg-art{width:52px;height:52px}.ward-ux-page .rpg-battle-commands .rpg-button{flex-direction:column;gap:3px;min-height:91px;padding:7px 5px;font-size:14px!important}.ward-ux-page .rpg-battle-commands .rpg-art{width:39px;height:39px}.ward-ux-page .rpg-battle-commands .rpg-button small{font-size:12px;margin-top:3px}.ward-ux-page .rpg-flee{background:#302534}
.ward-ux-page .rpg-narration{position:absolute;z-index:4;bottom:119px;left:280px;right:20px;max-width:680px;margin:auto;font-size:14px;line-height:1.5;color:#e1eaf2;text-align:center;text-shadow:0 1px 5px #000;pointer-events:none}.ward-ux-page .rpg-command-submenu{position:absolute;left:0;right:0;bottom:calc(100% + 9px);padding:15px;border:1px solid var(--u-line);border-radius:15px;background:#152231fa;box-shadow:0 0 40px #0008;display:flex;flex-wrap:wrap;gap:9px;max-height:270px;overflow:auto}.ward-ux-page .rpg-command-submenu .rpg-button{flex:1;min-width:190px;min-height:65px;flex-direction:row;font-size:14px!important}.ward-ux-page .rpg-command-submenu p{font-size:14px}.ward-ux-page .rpg-stage:has(.rpg-command-submenu) .rpg-narration{visibility:hidden}.ward-ux-page .rpg-round{position:absolute;z-index:11;bottom:120px;left:260px;right:18px;padding:10px 15px;border:1px solid var(--u-line);border-radius:12px;background:#172432fa;font-size:14px;text-align:center;pointer-events:none}
.ward-ux-page .rpg-overlay{position:absolute;z-index:20;inset:98px 10px 10px;display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--u-line);border-radius:17px;background:linear-gradient(140deg,#1c2b3afc,#0e1b29fc);box-shadow:0 12px 50px #0009;backdrop-filter:blur(16px)}.ward-ux-page .rpg-panel-head{display:flex;align-items:center;justify-content:space-between;padding:12px 18px;border-bottom:1px solid var(--u-line);flex:none}.ward-ux-page .rpg-panel-head .rpg-eyebrow{display:none}.ward-ux-page .rpg-panel-head h3{font-size:22px}.ward-ux-page .rpg-panel-content{padding:15px 18px;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#8ca7a280 transparent}.ward-ux-page .rpg-stage:not([data-view=home]) :is(.rpg-hud,.rpg-location,.rpg-next,.rpg-commands,.rpg-wallet,.rpg-narration,.rpg-enemy,.rpg-pet){visibility:hidden}
.ward-ux-page .rpg-map-layout{display:grid;grid-template-columns:78px minmax(0,1fr) 230px;gap:14px;align-items:start}
.ward-ux-page .rpg-floor-rail{display:flex;flex-direction:column;gap:8px;position:relative;z-index:5}.ward-ux-page .rpg-floor-item{position:relative}.ward-ux-page .rpg-floor-item>button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;width:100%;height:66px;padding:6px;border:1px solid var(--u-line);border-radius:11px;background:#111e2b;font-size:14px;font-weight:750}.ward-ux-page .rpg-floor-item>button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}.ward-ux-page .rpg-floor-item.is-selected>button{border-color:#a0e7ccaa;background:#9de8ce22;color:var(--u-mint)}.ward-ux-page .rpg-floor-item.is-locked>button{color:#aeb8c3;background:#121b25}
.ward-ux-page .rpg-floor-tooltip{display:none;position:absolute;z-index:10;left:calc(100% + 9px);top:0;width:225px;padding:12px 14px;border:1px solid #b3c6d262;border-radius:11px;background:#23374afc;box-shadow:0 8px 25px #0007;color:#fff;font-size:14px;font-weight:500;line-height:1.5;pointer-events:none}.ward-ux-page .rpg-floor-item:is(:hover,:focus-within) .rpg-floor-tooltip{display:block}
.ward-ux-page .rpg-map-center{min-width:0;text-align:center}.ward-ux-page .rpg-map-center h4{font-size:18px;margin:0 0 10px}.ward-ux-page .rpg-map-scroll{width:100%;max-width:500px;margin:auto;border:4px solid #81795a;border-radius:12px;background:#dcd3ad;overflow:hidden;box-shadow:0 6px 20px #0005}.ward-ux-page .rpg-hospital-map{display:block;width:100%;height:auto;max-height:420px;font-family:Montserrat,Arial,sans-serif}.ward-ux-page .rpg-hospital-map text{fill:#26392e;font-size:22px;font-weight:750;pointer-events:none}.ward-ux-page .rpg-map-corridor{fill:#c1b792;stroke:#716e55;stroke-width:3}.ward-ux-page .rpg-map-room{cursor:pointer}.ward-ux-page .rpg-map-room>.rpg-room-shape{fill:#f1e5be;stroke:#424c39;stroke-width:4}.ward-ux-page .rpg-map-room.is-locked>.rpg-room-shape{fill:#c4c1a4;stroke:#868972}.ward-ux-page .rpg-map-room.is-cleared>.rpg-room-shape{fill:#bdd2af;stroke:#567b57}.ward-ux-page .rpg-map-room.is-boss>.rpg-room-shape{fill:#e4bea3;stroke:#8c6348}.ward-ux-page .rpg-map-room.is-selected>.rpg-room-shape{fill:#ffedb2;stroke:#ae6737;stroke-width:6}.ward-ux-page .rpg-map-room:hover>.rpg-room-shape,.ward-ux-page .rpg-map-room:focus-visible>.rpg-room-shape{stroke:#c78038;stroke-width:6}
.ward-ux-page .rpg-map-number{font-size:19px!important}.ward-ux-page .rpg-map-level{font-size:18px!important}.ward-ux-page .rpg-map-kind{font-size:18px!important;font-weight:500!important}.ward-ux-page .rpg-map-wall{fill:none;stroke:#61684e;stroke-width:3}.ward-ux-page .rpg-map-bed{fill:none;stroke:#8d957b;stroke-width:3;opacity:.4}.ward-ux-page .rpg-map-door{fill:none;stroke:#7c8569;stroke-width:3}.ward-ux-page #rpg-map-steps{fill:#815232;opacity:.85}.ward-ux-page #rpg-map-patient circle{fill:#357d68;stroke:#fff4c9;stroke-width:4}.ward-ux-page #rpg-map-patient path{stroke:#fff4c9;stroke-width:3}
.ward-ux-page .rpg-map-preview{border:1px solid var(--u-line);border-radius:13px;padding:14px;background:#0b1622b3;text-align:center}.ward-ux-page .rpg-map-preview>.rpg-eyebrow{font-size:12px;color:var(--u-gold)}.ward-ux-page .rpg-preview-creature{height:155px;width:115px;margin:0 auto 6px}.ward-ux-page .rpg-map-preview h4{font-size:19px;line-height:1.3;margin:5px 0}.ward-ux-page .rpg-preview-stats{display:flex;justify-content:space-around;margin:13px 0;font-size:17px;font-weight:800}.ward-ux-page .rpg-preview-stats small{display:block;font-size:12px;color:var(--u-muted);font-weight:500}.ward-ux-page .rpg-map-reward{display:flex;justify-content:center;align-items:center;gap:4px;color:var(--u-gold);font-size:15px}.ward-ux-page .rpg-map-reward .rpg-art{width:32px;height:32px}.ward-ux-page .rpg-map-loot{display:flex;align-items:center;gap:7px;text-align:left;margin:10px 0;font-size:12px;color:var(--u-muted)}.ward-ux-page .rpg-map-loot .rpg-art{width:50px;height:50px}.ward-ux-page .rpg-map-loot small{display:block;margin-top:4px;color:var(--u-gold);font-size:14px}.ward-ux-page .rpg-map-preview .rpg-button{width:100%;margin-top:9px;padding:10px 7px}.ward-ux-page .rpg-map-lock{display:flex;align-items:center;justify-content:center;gap:7px;font-size:14px;line-height:1.4;color:#d4c7b6;padding:10px;border-radius:10px;background:#ffffff0a}.ward-ux-page .rpg-map-lock svg{width:20px;height:20px;flex:none}.ward-ux-page .rpg-map-details{text-align:left;margin-top:10px;color:var(--u-muted);font-size:13px}.ward-ux-page .rpg-map-details summary{cursor:pointer}.ward-ux-page .rpg-map-details p{font-size:14px;margin-top:7px}
.ward-ux-page .rpg-panel-note,.ward-ux-page .rpg-inventory-head>p{font-size:14px;color:var(--u-muted);margin-bottom:16px!important}.ward-ux-page .rpg-filter-list{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:17px}.ward-ux-page .rpg-filter-list button{padding:8px 13px;border:1px solid var(--u-line);border-radius:9px;background:#07101c66;font-size:13px}.ward-ux-page .rpg-filter-list .is-active{border-color:#a0e7cc88;background:#a0e7cc22;color:var(--u-mint)}.ward-ux-page .rpg-item-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.ward-ux-page .rpg-item-card{min-width:0;padding:16px;border:1px solid var(--u-line);border-radius:16px;background:radial-gradient(ellipse at 50% 30%,#67b79b18,transparent 70%),#101c2999}.ward-ux-page .rpg-item-card[data-quality="2"]{border-color:#bca2ed80}.ward-ux-page .rpg-item-card[data-quality="3"]{border-color:#eac87e80}.ward-ux-page .rpg-item-card>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:7px;color:var(--u-muted);font-size:12px}.ward-ux-page .rpg-item-card>div>b{font-size:12px;color:var(--u-gold)}.ward-ux-page .rpg-item-picture{height:134px;display:grid;place-items:center;margin:5px 0}.ward-ux-page .rpg-item-picture .rpg-art{width:135px;height:135px}.ward-ux-page .rpg-item-card h4{font-size:17px;min-height:46px;line-height:1.35}.ward-ux-page .rpg-item-card>p{font-size:14px;color:var(--u-muted);margin:8px 0 14px;min-height:44px}.ward-ux-page .rpg-item-buttons{display:grid;gap:7px}.ward-ux-page .rpg-item-buttons .rpg-button{font-size:14px!important;min-height:40px;padding:9px 6px}.ward-ux-page .rpg-supply-shop{display:flex;align-items:center;gap:9px;border-top:1px solid var(--u-line);margin-top:22px;padding-top:18px}.ward-ux-page .rpg-supply-shop>div{display:flex;align-items:center;gap:9px;flex:1;font-size:16px;font-weight:700}.ward-ux-page .rpg-supply-shop small{display:block;font-weight:500;color:var(--u-muted);margin-top:4px}.ward-ux-page .rpg-supply-shop .rpg-art{width:58px;height:58px}
.ward-ux-page .rpg-skill-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.ward-ux-page .rpg-skill-card{padding:17px;display:grid;grid-template-columns:55px 1fr auto;column-gap:10px;align-items:center;border:1px solid var(--u-line);border-radius:15px;background:#0b172555}.ward-ux-page .rpg-skill-card>.rpg-art{width:55px;height:55px;grid-row:1/3}.ward-ux-page .rpg-skill-card h4{font-size:17px}.ward-ux-page .rpg-skill-card>strong{grid-column:3;grid-row:1/3;font-size:28px;color:var(--u-gold)}.ward-ux-page .rpg-skill-card p{font-size:12px;color:var(--u-muted)}.ward-ux-page .rpg-skill-card .rpg-button{grid-column:1/-1;margin-top:15px}.ward-ux-page .rpg-subtitle{font-size:19px;margin:24px 0 13px!important}.ward-ux-page .rpg-ability-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ward-ux-page .rpg-ability-card{display:flex;gap:12px;padding:15px;border:1px solid #9de8ce40;border-radius:13px;background:#112c2a44}.ward-ux-page .rpg-ability-card>.rpg-art{width:52px;height:52px}.ward-ux-page .rpg-ability-card>div{flex:1}.ward-ux-page .rpg-ability-card h4{font-size:16px;display:flex;justify-content:space-between;gap:10px}.ward-ux-page .rpg-ability-card h4 span{font-size:12px;color:var(--u-gold);white-space:nowrap}.ward-ux-page .rpg-ability-card p{font-size:14px;color:var(--u-muted);margin:7px 0}.ward-ux-page .rpg-ability-card small{font-size:12px;color:var(--u-mint)}.ward-ux-page .rpg-ability-card.is-locked{background:#0c172655;border-color:var(--u-line);opacity:.75}.ward-ux-page .rpg-tension-help{padding:17px;margin-top:20px;border:1px solid #debe7759;border-radius:13px;background:#c5a45b0c}.ward-ux-page .rpg-tension-help strong{font-size:17px;color:var(--u-gold)}.ward-ux-page .rpg-tension-help p{font-size:14px;color:var(--u-muted);margin-top:8px}
.ward-ux-page .rpg-pet-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.ward-ux-page .rpg-pet-card{padding:18px;border:1px solid var(--u-line);border-radius:16px;background:#10212c88;text-align:center}.ward-ux-page .rpg-pet-picture{max-width:165px;margin:auto}.ward-ux-page .rpg-pet-card h4{font-size:21px;margin:8px 0}.ward-ux-page .rpg-pet-card p{font-size:14px;min-height:67px;color:var(--u-muted);margin:12px 0}.ward-ux-page .rpg-pet-card>small{display:block;min-height:35px;color:var(--u-gold);font-size:13px}.ward-ux-page .rpg-pet-card .rpg-button{width:100%;margin-top:9px}
.ward-ux-page .rpg-ward-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.ward-ux-page .rpg-ward-card{overflow:hidden;border:1px solid var(--u-line);border-radius:17px;background:#0c1825aa}.ward-ux-page .rpg-ward-picture{aspect-ratio:16/8;background-repeat:no-repeat;background-position:center;background-size:cover}.ward-ux-page .rpg-ward-card>div:last-child{padding:17px}.ward-ux-page .rpg-ward-card h4{font-size:21px;margin:6px 0}.ward-ux-page .rpg-ward-card p{font-size:14px;color:var(--u-muted);margin:8px 0 15px}.ward-ux-page .rpg-ward-card .rpg-button{width:100%}.ward-ux-page .rpg-records{display:flex;gap:34px;padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid var(--u-line)}.ward-ux-page .rpg-records span{font-size:14px;color:var(--u-muted)}.ward-ux-page .rpg-records strong{display:block;font-size:29px;color:var(--u-gold)}.ward-ux-page .rpg-log-entry{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #b2c9db1c;font-size:14px}.ward-ux-page .rpg-log-entry .rpg-art{width:37px;height:37px}.ward-ux-page .rpg-empty{padding:25px;text-align:center;color:var(--u-muted);font-size:16px}
.ward-ux-page .rpg-footer{display:flex;justify-content:space-between;gap:14px;margin-top:12px;font-size:12px;color:var(--u-muted)}.ward-ux-page .rpg-text-button{border:0;background:none;padding:0;text-decoration:underline;text-underline-offset:4px;font-size:12px!important;color:inherit}.ward-ux-page .rpg-toast{position:fixed;z-index:500;bottom:24px;left:50%;transform:translateX(-50%);max-width:min(90vw,560px);padding:14px 20px;border:1px solid #a1dfb984;border-radius:14px;background:#183b32f5;box-shadow:0 15px 40px #0008;font:14px/1.5 Montserrat,Arial,sans-serif;color:var(--u-text);pointer-events:none}.ward-ux-page .rpg-toast[data-error=true]{background:#422636f5;border-color:#d59aaf}
.ward-ux-page .rpg-dialog{width:min(92vw,500px);max-height:88dvh;overflow:auto;padding:28px;border:1px solid #bed3da55;border-radius:22px;background:radial-gradient(ellipse at top,#2f655344,transparent 75%),#142130;box-shadow:0 20px 80px #0009;color:var(--u-text);font:15px/1.6 Montserrat,Arial,sans-serif}.ward-ux-page .rpg-dialog::backdrop{background:#030812bd;backdrop-filter:blur(7px)}.ward-ux-page .rpg-dialog h2{font-size:26px;line-height:1.3;margin:8px 0 15px}.ward-ux-page .rpg-dialog p{font-size:15px;color:var(--u-muted)}.ward-ux-page .rpg-dialog .rpg-eyebrow{color:var(--u-mint);font-size:12px}.ward-ux-page .rpg-dialog form>.rpg-button{width:100%;margin-top:20px}.ward-ux-page .rpg-dialog-actions{display:flex;gap:10px;margin-top:23px}.ward-ux-page .rpg-dialog-actions .rpg-button{flex:1}.ward-ux-page .rpg-reward-loot{display:flex;justify-content:center;gap:15px;margin:17px 0}.ward-ux-page .rpg-reward-loot>div{text-align:center}.ward-ux-page .rpg-reward-loot .rpg-art{display:block;width:115px;height:115px;margin:auto}.ward-ux-page .rpg-reward-loot strong{display:block;font-size:17px}.ward-ux-page .rpg-reward-loot small{display:block;font-size:13px;color:var(--u-gold);margin-top:6px}
.ward-ux-page .rpg-float{position:absolute;inset:0;z-index:12;pointer-events:none}.ward-ux-page .rpg-damage{position:absolute;left:72%;top:44%;color:#ffe3b4;font-size:38px;font-weight:900;text-shadow:0 3px 8px #000;animation:ux-damage .85s ease-out forwards}.ward-ux-page .rpg-damage--hero{left:35%;color:#ffc1cc}.ward-ux-page .rpg-damage.is-heal{color:#b1ffdc}.ward-ux-page .rpg-player.is-acting .rpg-doll{animation:ux-hero .28s ease}.ward-ux-page .rpg-enemy.is-acting .rpg-enemy-figure{animation:ux-enemy .28s ease}.ward-ux-page .rpg-pet.is-acting{animation:ux-pet .3s ease}
.ward-ux-page .rpg-shell:fullscreen{width:100vw!important;max-width:none!important;height:100dvh;padding:18px;background:#080f19;display:flex;flex-direction:column;justify-content:center;align-items:center;overflow:auto}.ward-ux-page .rpg-shell:fullscreen .rpg-heading,.ward-ux-page .rpg-shell:fullscreen .rpg-footer{width:min(100%,1120px)}.ward-ux-page .rpg-shell:fullscreen .rpg-stage{width:min(100%,1120px);flex:none}.ward-ux-page .rpg-shell:fullscreen .rpg-heading .rpg-eyebrow{display:none}
@media(min-width:981px){body.ward-ux-page.site-shell-nav-enabled{--site-sidebar-width:64px;--site-shell-gap:16px;--site-shell-width:calc(100vw - 36px)}body.ward-ux-page.site-shell-nav-enabled .site-shell-sidebar{top:114px;left:18px;width:64px;max-height:calc(100dvh - 132px);z-index:90;transition:width .2s,filter .2s}body.ward-ux-page.site-shell-nav-enabled .site-shell-sidebar:is(:hover,:focus-within){width:250px;filter:drop-shadow(0 16px 40px #0008)}body.ward-ux-page .site-shell-sidebar__nav,body.ward-ux-page .site-shell-sidebar__more{padding:6px;gap:5px}body.ward-ux-page .site-shell-sidebar .site-shell-nav__item{grid-template-columns:28px minmax(0,1fr) auto;gap:8px;min-height:42px;padding:0 10px;overflow:hidden}body.ward-ux-page .site-shell-sidebar .site-shell-nav__item svg{width:21px;height:21px;justify-self:center;flex:none}body.ward-ux-page .site-shell-sidebar .site-shell-nav__item :is(span,b){opacity:0;pointer-events:none;white-space:nowrap}body.ward-ux-page .site-shell-sidebar:is(:hover,:focus-within) .site-shell-nav__item :is(span,b){opacity:1;pointer-events:auto}}
@media(max-width:1100px){.ward-ux-page .rpg-nav-button{flex-direction:column;gap:0;padding:2px;min-height:68px}.ward-ux-page .rpg-nav-button .rpg-art{width:40px;height:40px}.ward-ux-page .rpg-hud{width:200px;padding:12px}.ward-ux-page .rpg-resource>div:first-child,.ward-ux-page .rpg-resource strong{font-size:12px}.ward-ux-page .rpg-resource .rpg-art{width:22px;height:22px}.ward-ux-page .rpg-patient-head{gap:6px}.ward-ux-page .rpg-patient-head strong{font-size:14px}.ward-ux-page .rpg-patient-avatar{width:33px;height:42px}.ward-ux-page .rpg-next{width:190px;padding:15px}.ward-ux-page .rpg-next>strong{font-size:18px}.ward-ux-page .rpg-stage:not([data-mode=home]) .rpg-player{left:34%}.ward-ux-page .rpg-stage:not([data-mode=home]) .rpg-location{left:235px;width:270px}.ward-ux-page .rpg-map-layout{grid-template-columns:68px minmax(0,1fr) 210px;gap:10px}.ward-ux-page .rpg-map-preview{padding:11px}.ward-ux-page .rpg-map-preview h4{font-size:17px}.ward-ux-page .rpg-map-lock{font-size:13px}.ward-ux-page .rpg-skill-card{grid-template-columns:44px 1fr auto;padding:12px;gap:6px}.ward-ux-page .rpg-skill-card>.rpg-art{width:44px;height:44px}.ward-ux-page .rpg-skill-card h4{font-size:15px}}
@media(max-width:980px){.ward-ux-page .page-shell{padding-bottom:calc(120px + env(safe-area-inset-bottom))!important}.ward-ux-page .rpg-toast{bottom:calc(110px + env(safe-area-inset-bottom))}.ward-ux-page .rpg-item-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ward-ux-page .rpg-map-layout{grid-template-columns:64px minmax(0,1fr) 200px;gap:9px}.ward-ux-page .rpg-stage:not([data-mode=home]) .rpg-location{left:230px;width:240px}.ward-ux-page .rpg-stage:not([data-mode=home]) .rpg-location strong{font-size:18px}.ward-ux-page .rpg-enemy-hud{width:220px}.ward-ux-page .rpg-player{height:370px}.ward-ux-page .rpg-next{width:170px}.ward-ux-page .rpg-next>strong{font-size:17px}.ward-ux-page .rpg-home-commands .rpg-button{font-size:15px!important}.ward-ux-page .rpg-home-commands .rpg-art{width:43px;height:43px}}
@media(max-width:700px){
 .ward-ux-page .page-shell{padding-left:10px!important;padding-right:10px!important}.ward-ux-page .rpg-heading{margin:4px 0 12px;align-items:center}.ward-ux-page .rpg-heading .rpg-eyebrow{display:none}.ward-ux-page .rpg-heading h2{font-size:23px}.ward-ux-page .rpg-heading-tools{gap:5px}.ward-ux-page #rpg-save{display:none}.ward-ux-page .rpg-heading-tools .rpg-utility{width:34px;height:34px;padding:6px;border-radius:10px}.ward-ux-page .rpg-stage{height:810px;border-radius:19px}.ward-ux-page .rpg-nav{top:8px;left:7px;right:7px;gap:0;padding:3px;border-radius:12px;align-items:stretch}.ward-ux-page .rpg-nav-button{padding:2px 1px 4px;min-height:74px;border-radius:9px;font-size:12px!important;justify-content:flex-start;line-height:1.25}.ward-ux-page .rpg-nav-button>.rpg-art{width:35px;height:35px}.ward-ux-page .rpg-nav-button>span:last-of-type{overflow-wrap:anywhere;min-height:30px;display:flex;align-items:center;justify-content:center;font-size:12px}.ward-ux-page .rpg-nav-dot{right:3px;top:3px;width:6px;height:6px}
 .ward-ux-page .rpg-hud{top:103px;left:11px;width:calc(100% - 22px);padding:9px 10px;border-radius:13px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.ward-ux-page .rpg-patient-head{grid-column:1/-1;margin:0 0 2px}.ward-ux-page .rpg-patient-head strong{font-size:15px}.ward-ux-page .rpg-patient-head small{display:none}.ward-ux-page .rpg-patient-avatar{width:25px;height:30px;border-radius:7px}.ward-ux-page .rpg-level{display:flex;align-items:baseline;gap:4px;font-size:22px}.ward-ux-page .rpg-level small{display:inline;font-size:12px}.ward-ux-page .rpg-resource{margin:0;min-width:0}.ward-ux-page .rpg-resource>div:first-child{display:block}.ward-ux-page .rpg-resource>div>span{font-size:12px;line-height:1.4}.ward-ux-page .rpg-resource .rpg-art{display:none}.ward-ux-page .rpg-resource strong{display:block;font-size:13px}.ward-ux-page .rpg-resource .rpg-meter{height:5px;margin-top:4px}.ward-ux-page .rpg-stat-row,.ward-ux-page .rpg-train-link{display:none}
 .ward-ux-page .rpg-location{top:226px;width:90%;left:50%}.ward-ux-page .rpg-location .rpg-eyebrow{font-size:12px}.ward-ux-page .rpg-location strong{font-size:19px}.ward-ux-page .rpg-player{left:50%;height:330px;bottom:210px}.ward-ux-page .rpg-hand-weapon{width:52px;height:52px}.ward-ux-page .rpg-next{display:none}.ward-ux-page .rpg-pet{width:76px;left:20px;bottom:213px}.ward-ux-page .rpg-pet>span:last-child,.ward-ux-page .rpg-pet b{font-size:12px}.ward-ux-page .rpg-wallet{bottom:151px;left:50%;transform:translateX(-50%);padding:7px 9px;gap:8px}.ward-ux-page .rpg-wallet>span{grid-template-columns:27px auto;gap:2px}.ward-ux-page .rpg-wallet .rpg-art{width:27px;height:27px}.ward-ux-page .rpg-wallet strong{font-size:14px}.ward-ux-page .rpg-wallet small{font-size:12px}
 .ward-ux-page .rpg-stage:not([data-mode=home]) .rpg-player{left:26%;height:245px;bottom:226px}.ward-ux-page .rpg-stage:not([data-mode=home]) .rpg-location{left:11px;top:230px;width:140px;text-align:left}.ward-ux-page .rpg-stage:not([data-mode=home]) .rpg-location strong{font-size:16px}.ward-ux-page .rpg-stage:not([data-mode=home]) .rpg-location .rpg-eyebrow{font-size:12px}.ward-ux-page .rpg-enemy{left:74%;height:260px;width:176px;bottom:230px}.ward-ux-page .rpg-enemy-hud{width:170px;padding:9px 10px;bottom:calc(100% - 16px);border-radius:12px}.ward-ux-page .rpg-enemy-hud strong{font-size:15px}.ward-ux-page .rpg-enemy-hud>div:first-child{gap:3px}.ward-ux-page .rpg-enemy-hud>div>span{font-size:12px}.ward-ux-page .rpg-enemy-hud p{font-size:12px}.ward-ux-page .rpg-enemy-hud small{font-size:12px}.ward-ux-page .rpg-stage:not([data-mode=home]) .rpg-wallet{display:none}.ward-ux-page .rpg-stage:not([data-mode=home]) .rpg-pet{width:55px;left:8px;bottom:213px}.ward-ux-page .rpg-stage:not([data-mode=home]) .rpg-pet>span:last-child{display:none}
 .ward-ux-page .rpg-commands{left:9px;right:9px;bottom:11px}.ward-ux-page .rpg-home-commands{grid-template-columns:1.15fr 1fr 1fr;gap:6px}.ward-ux-page .rpg-home-commands .rpg-button{min-height:120px;padding:9px 5px;flex-direction:column;font-size:14px!important;gap:4px}.ward-ux-page .rpg-home-commands .rpg-art{width:40px;height:40px}.ward-ux-page .rpg-home-commands .rpg-button small{font-size:12px;margin-top:4px}.ward-ux-page .rpg-battle-commands{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.ward-ux-page .rpg-battle-commands .rpg-button{min-height:81px;font-size:13px!important;padding:5px 3px;gap:1px}.ward-ux-page .rpg-battle-commands .rpg-art{width:31px;height:31px}.ward-ux-page .rpg-battle-commands .rpg-button small{font-size:12px;margin-top:2px;line-height:1.2}.ward-ux-page .rpg-command-submenu{padding:10px;gap:7px;max-height:310px}.ward-ux-page .rpg-command-submenu .rpg-button{min-width:128px;font-size:14px!important;min-height:68px;flex-direction:row}.ward-ux-page .rpg-command-submenu p{font-size:14px}.ward-ux-page .rpg-narration{left:12px;right:12px;bottom:193px;font-size:13px;line-height:1.4}.ward-ux-page .rpg-round{left:10px;right:10px;bottom:190px;padding:9px 12px;font-size:13px}.ward-ux-page .rpg-damage{left:68%;top:47%;font-size:31px}.ward-ux-page .rpg-damage--hero{left:20%}
 .ward-ux-page .rpg-overlay{inset:98px 6px 6px;border-radius:13px}.ward-ux-page .rpg-panel-head{padding:11px 12px}.ward-ux-page .rpg-panel-head h3{font-size:19px}.ward-ux-page .rpg-panel-head .rpg-utility{width:34px;height:34px}.ward-ux-page .rpg-panel-content{padding:12px 10px}.ward-ux-page .rpg-map-layout{display:flex;flex-direction:column;gap:12px}.ward-ux-page .rpg-floor-rail{flex-direction:row;gap:6px;width:100%;padding-bottom:7px;flex-wrap:wrap}.ward-ux-page .rpg-floor-item{width:calc((100% - 30px)/6)}.ward-ux-page .rpg-floor-item>button{height:58px;padding:4px 1px;font-size:12px;gap:2px;border-radius:8px}.ward-ux-page .rpg-floor-item>button svg{width:17px;height:17px}.ward-ux-page .rpg-floor-tooltip{left:0;top:calc(100% + 7px);width:225px;font-size:13px}.ward-ux-page .rpg-floor-item:nth-child(n+4) .rpg-floor-tooltip{left:auto;right:0}.ward-ux-page .rpg-map-center{width:100%}.ward-ux-page .rpg-map-center h4{font-size:16px;margin-bottom:8px}.ward-ux-page .rpg-map-scroll{border-width:3px}.ward-ux-page .rpg-map-preview{width:100%;display:grid;grid-template-columns:100px minmax(0,1fr);gap:4px 10px;text-align:left;padding:13px}.ward-ux-page .rpg-map-preview>.rpg-eyebrow{grid-column:1/-1}.ward-ux-page .rpg-preview-creature{width:100px;height:150px;grid-row:2/6;grid-column:1;margin:0}.ward-ux-page .rpg-map-preview h4{font-size:19px;align-self:end}.ward-ux-page .rpg-preview-stats{margin:7px 0;font-size:17px}.ward-ux-page .rpg-preview-stats small{font-size:12px}.ward-ux-page .rpg-map-reward{font-size:15px;margin:0}.ward-ux-page .rpg-map-loot,.ward-ux-page .rpg-map-preview>.rpg-button,.ward-ux-page .rpg-map-lock,.ward-ux-page .rpg-map-details{grid-column:1/-1}.ward-ux-page .rpg-map-loot{justify-content:center;margin:5px 0}.ward-ux-page .rpg-map-preview .rpg-button{font-size:15px!important}
 .ward-ux-page .rpg-item-grid{grid-template-columns:1fr;gap:12px}.ward-ux-page .rpg-item-card{padding:15px;display:grid;grid-template-columns:95px 1fr;gap:4px 12px}.ward-ux-page .rpg-item-card>div:first-child{grid-column:1/-1;font-size:12px}.ward-ux-page .rpg-item-picture{grid-column:1;grid-row:2/4;height:100px;margin:0}.ward-ux-page .rpg-item-picture .rpg-art{width:100px;height:100px}.ward-ux-page .rpg-item-card h4{grid-column:2;align-self:end;font-size:17px;min-height:0}.ward-ux-page .rpg-item-card>p{grid-column:2;margin:4px 0 8px;font-size:14px;min-height:0}.ward-ux-page .rpg-item-buttons{grid-column:1/-1;grid-template-columns:1fr 1fr;gap:6px;margin-top:7px}.ward-ux-page .rpg-item-buttons .rpg-button{font-size:13px!important;min-height:42px}.ward-ux-page .rpg-filter-list{gap:5px}.ward-ux-page .rpg-filter-list button{padding:7px 10px;font-size:13px}.ward-ux-page .rpg-supply-shop{flex-wrap:wrap}.ward-ux-page .rpg-supply-shop>div{flex-basis:100%;font-size:16px}.ward-ux-page .rpg-supply-shop>.rpg-button{flex:1;font-size:14px!important}
 .ward-ux-page .rpg-skill-grid{grid-template-columns:1fr;gap:9px}.ward-ux-page .rpg-skill-card{grid-template-columns:48px 1fr auto;padding:14px;gap:5px 10px}.ward-ux-page .rpg-skill-card>.rpg-art{width:48px;height:48px}.ward-ux-page .rpg-skill-card h4{font-size:17px}.ward-ux-page .rpg-skill-card p{font-size:12px}.ward-ux-page .rpg-skill-card .rpg-button{grid-column:1/-1;margin-top:8px}.ward-ux-page .rpg-ability-grid{grid-template-columns:1fr}.ward-ux-page .rpg-ability-card{padding:13px;gap:8px}.ward-ux-page .rpg-ability-card>.rpg-art{width:42px;height:42px}.ward-ux-page .rpg-ability-card h4{font-size:16px;flex-wrap:wrap}.ward-ux-page .rpg-ability-card p{font-size:14px}.ward-ux-page .rpg-tension-help{padding:14px}.ward-ux-page .rpg-tension-help strong{font-size:16px}.ward-ux-page .rpg-pet-grid,.ward-ux-page .rpg-ward-grid{grid-template-columns:1fr;gap:13px}.ward-ux-page .rpg-pet-card p{min-height:0}.ward-ux-page .rpg-pet-card>small{min-height:24px}.ward-ux-page .rpg-pet-picture{max-width:140px}.ward-ux-page .rpg-ward-card h4{font-size:20px}.ward-ux-page .rpg-records{gap:18px}.ward-ux-page .rpg-records span{font-size:12px}.ward-ux-page .rpg-records strong{font-size:27px}.ward-ux-page .rpg-log-entry{font-size:14px}.ward-ux-page .rpg-footer{font-size:12px;gap:10px}.ward-ux-page .rpg-text-button{font-size:12px!important}.ward-ux-page .rpg-dialog{padding:23px}.ward-ux-page .rpg-dialog h2{font-size:24px}.ward-ux-page .rpg-dialog p{font-size:14px}.ward-ux-page .rpg-toast{font-size:14px;padding:12px 16px}.ward-ux-page .rpg-shell:fullscreen{padding:10px;justify-content:flex-start}
}
/* Isolated token remapping keeps the shared light header/account untouched. */
:root[data-theme=light] .ward-ux-page :is(.rpg-shell,.rpg-dialog,.rpg-toast){--light-ink:var(--u-text);--light-text:var(--u-text);--light-ink-soft:var(--u-muted);--light-muted:var(--u-muted);--light-muted-strong:var(--u-muted)}:root[data-theme=light] .ward-ux-page .rpg-heading{padding:12px 16px;border-radius:16px;background:#142131}:root[data-theme=light] .ward-ux-page :is(.rpg-eyebrow,.rpg-heading h2>span){color:var(--u-mint)!important}:root[data-theme=light] .ward-ux-page :is(.rpg-level,.rpg-level small,.rpg-wallet strong,.rpg-records strong,.rpg-skill-card>strong){color:var(--u-gold)!important}:root[data-theme=light] .ward-ux-page .rpg-button--primary,:root[data-theme=light] .ward-ux-page .rpg-button--primary>span{color:#112f2b!important}:root[data-theme=light] .ward-ux-page .rpg-footer,:root[data-theme=light] .ward-ux-page .rpg-footer>span,:root[data-theme=light] .ward-ux-page .rpg-text-button{color:#405574!important}
@media(max-width:700px){.ward-ux-page .rpg-nav{overflow-x:auto;justify-content:flex-start;gap:5px;scrollbar-width:thin;scrollbar-color:#98b8aa65 transparent}.ward-ux-page .rpg-nav-button{flex:0 0 77px;min-width:77px;min-height:74px}.ward-ux-page .rpg-nav-button>span:last-of-type{overflow-wrap:normal;white-space:nowrap;font-size:13px;min-height:25px}.ward-ux-page .rpg-nav-button>.rpg-art{width:40px;height:40px}.ward-ux-page .rpg-hospital-map text{font-size:26px}.ward-ux-page .rpg-map-number,.ward-ux-page .rpg-map-level,.ward-ux-page .rpg-map-kind{font-size:22px!important}.ward-ux-page .rpg-map-room image{display:none}}
@media(min-width:701px) and (max-width:980px){.ward-ux-page .rpg-stage:not([data-mode=home]) .rpg-location{width:160px;left:225px}}
@media(min-width:701px) and (max-width:900px){.ward-ux-page .rpg-map-layout{grid-template-columns:68px minmax(0,1fr)}.ward-ux-page .rpg-map-preview{grid-column:1/-1;display:grid;grid-template-columns:130px minmax(0,1fr);gap:7px 18px;text-align:left}.ward-ux-page .rpg-map-preview>.rpg-eyebrow{grid-column:1/-1}.ward-ux-page .rpg-preview-creature{grid-row:2/6;grid-column:1}.ward-ux-page .rpg-map-preview>.rpg-button,.ward-ux-page .rpg-map-lock,.ward-ux-page .rpg-map-details{grid-column:1/-1}}
@media(prefers-reduced-motion:reduce){.ward-ux-page .rpg-shell *,.ward-ux-page .rpg-shell *::before,.ward-ux-page .rpg-shell *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@keyframes ux-dust{to{background-position:30px 75px}}@keyframes ux-damage{to{transform:translateY(-65px);opacity:0}}@keyframes ux-hero{50%{transform:translateX(13px) rotate(1deg)}}@keyframes ux-enemy{50%{transform:translateX(-13px) rotate(-1deg)}}@keyframes ux-pet{50%{transform:translateY(-8px)}}
/* Resources replace the redundant floor summary at the right of the home scene. */
.ward-ux-page #rpg-wallet{position:absolute;left:auto;right:18px;top:163px;bottom:auto;width:216px;transform:none;display:block;padding:17px;border:1px solid #d6bc7461;border-radius:17px;background:#14202df0}.ward-ux-page #rpg-wallet>h3{font-size:18px;margin:0 0 10px;color:var(--u-text)}.ward-ux-page .rpg-resource-list{display:grid;gap:0}.ward-ux-page #rpg-wallet .rpg-wallet-cell{min-height:65px;border:0;border-bottom:1px solid #acc6d52b;border-radius:0;background:none;padding:7px 0;gap:12px;justify-content:flex-start}.ward-ux-page #rpg-wallet .rpg-wallet-cell:last-child{border:0}.ward-ux-page #rpg-wallet .rpg-wallet-cell>.rpg-art{width:38px;height:38px}.ward-ux-page #rpg-wallet .rpg-wallet-cell>div{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0}.ward-ux-page #rpg-wallet .rpg-wallet-cell>div>span{font-size:14px;color:var(--u-muted)}.ward-ux-page #rpg-wallet .rpg-wallet-cell strong{font-size:22px;line-height:1.25;color:var(--u-text)}.ward-ux-page #rpg-wallet .rpg-wallet-cell:first-child strong{color:var(--u-gold)}.ward-ux-page .rpg-stage:not([data-mode=home]) #rpg-wallet{display:none}.ward-ux-page .rpg-panel-balance{display:inline-flex;vertical-align:middle;margin-left:15px;padding:3px 9px;border:1px solid #d4ba713d;border-radius:8px;background:#d4ba7112;font-size:14px;font-weight:600}.ward-ux-page .rpg-panel-balance .rpg-price .rpg-art{width:23px!important;height:23px!important}
.ward-ux-page .rpg-utility.rpg-stage-fullscreen{display:none}
.ward-ux-page .rpg-wallet-cell{min-width:0;display:flex;align-items:center;justify-content:center;gap:12px;padding:8px 16px;border:1px solid var(--u-line);border-radius:13px;background:#142130}.ward-ux-page .rpg-wallet-cell:first-child{border-color:#dfbe6b77;background:linear-gradient(120deg,#483b23,#182331)}.ward-ux-page .rpg-wallet-cell>.rpg-art{width:43px;height:43px}.ward-ux-page .rpg-wallet-cell>div{display:flex;flex-direction:column;align-items:flex-start;min-width:0}.ward-ux-page .rpg-wallet-cell>div>span{font-size:13px;color:var(--u-muted);white-space:nowrap;line-height:1.3}.ward-ux-page .rpg-wallet-cell strong{font-size:21px;line-height:1.3;letter-spacing:.2px;color:#f4d990}.ward-ux-page .rpg-wallet-cell:not(:first-child) strong{color:var(--u-text)}
.ward-ux-page .rpg-price{display:inline-flex;align-items:center;justify-content:center;gap:4px;white-space:nowrap;color:var(--u-gold);font-weight:750}.ward-ux-page .rpg-price .rpg-art{width:24px!important;height:24px!important;flex-shrink:0}.ward-ux-page .rpg-price-unit{font-size:12px;font-weight:600}.ward-ux-page .rpg-button:has(.rpg-price){flex-wrap:wrap;gap:5px 8px}.ward-ux-page .rpg-parts-price{font-size:12px;color:var(--u-muted)}.ward-ux-page .rpg-item-buttons .rpg-button{min-height:46px}.ward-ux-page .rpg-sell-button{border-color:#dfbe6b66;background:#463b252f}.ward-ux-page .rpg-item-bonuses{display:flex;flex-wrap:wrap;gap:5px;margin:9px 0 12px;min-height:32px;font-size:14px;color:#d7e5ed}.ward-ux-page .rpg-item-bonuses>span{padding:3px 7px;background:#b9d5e615;border-radius:6px}.ward-ux-page .rpg-item-comparison{display:flex;flex-direction:column;gap:5px;padding:12px;margin:0 0 14px;min-height:83px;border:1px solid #b6d8c62e;border-radius:10px;background:#050d1855}.ward-ux-page .rpg-item-comparison>span{font-size:12px;color:var(--u-muted)}.ward-ux-page .rpg-item-comparison>strong{font-size:14px;font-weight:700}.ward-ux-page .rpg-item-comparison>strong small{font-weight:500;margin-left:5px;color:var(--u-muted)}.ward-ux-page .is-gain{color:#a4ebc4!important}.ward-ux-page .is-loss{color:#ffb7bf!important}
.ward-ux-page .rpg-utility{line-height:1!important;display:grid;place-items:center;padding:0;min-height:40px}.ward-ux-page .rpg-utility>svg{display:block;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.ward-ux-page .rpg-dialog-close{position:absolute;right:15px;top:15px;z-index:5;width:40px;height:40px}.ward-ux-page .rpg-dialog:has(.rpg-dialog-close){padding-top:55px}.ward-ux-page .rpg-sale-item{display:flex;align-items:center;gap:15px;padding:15px 0;margin:12px 0}.ward-ux-page .rpg-sale-item>.rpg-art{width:100px;height:100px}.ward-ux-page .rpg-sale-item strong{display:block;font-size:20px}.ward-ux-page .rpg-sale-item div>span{display:block;font-size:13px;color:var(--u-muted)}
.ward-ux-page .rpg-dossier-button{margin-top:12px;width:100%;border-color:#d9c08a77;background:linear-gradient(135deg,#7462404d,#142130)}.ward-ux-page .rpg-dossier-button>.rpg-art{width:32px;height:32px}.ward-ux-page .rpg-dossier-link{display:block;margin:6px auto 0;padding:6px 12px;border:1px solid #d9c08a77;border-radius:8px;background:#172432;color:var(--u-gold);font:13px Montserrat,Arial,sans-serif;pointer-events:auto;cursor:pointer}.ward-ux-page .rpg-stage[data-mode=battle] .rpg-narration{left:260px;right:18px;max-width:none;background:#102030eb;border:1px solid var(--u-line);border-radius:10px;padding:8px 12px;text-shadow:none;font-size:13px;bottom:122px}.ward-ux-page .rpg-ready-hit{display:block;color:var(--u-gold);font-size:13px}.ward-ux-page .rpg-effect-list{display:flex;gap:5px;flex-wrap:wrap;justify-content:center;margin-bottom:5px}.ward-ux-page .rpg-effect-list>span{padding:3px 6px;border-radius:5px;background:#aa47674d;color:#ffe2e5;font-size:12px}
.ward-ux-page .rpg-helper{position:absolute;right:-40px;bottom:-18px;width:108px;pointer-events:auto;text-align:center}.ward-ux-page .rpg-helper>img{height:130px;width:100%;object-fit:contain;filter:drop-shadow(0 4px 5px #000)}.ward-ux-page .rpg-helper>span{display:block;padding:5px;border-radius:8px;background:#1d2836eb;font-size:12px;line-height:1.3}.ward-ux-page .rpg-helper small{display:block;font-size:12px;color:var(--u-gold)}.ward-ux-page .rpg-helper>.rpg-button{width:100%;min-height:40px;padding:6px 3px;margin-top:4px;border-color:#c990a5;font-size:12px!important;background:#422d40}.ward-ux-page .rpg-damage--helper{left:81%;top:62%}
@media(max-width:700px){.ward-ux-page #rpg-wallet{left:10px;right:10px;top:214px;width:auto;padding:5px 7px;border-radius:12px}.ward-ux-page #rpg-wallet>h3{display:none}.ward-ux-page .rpg-resource-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.ward-ux-page #rpg-wallet .rpg-wallet-cell{min-height:40px;padding:1px 3px;border:0;border-right:1px solid #acc6d52e;gap:5px}.ward-ux-page #rpg-wallet .rpg-wallet-cell>div>span{font-size:12px}.ward-ux-page #rpg-wallet .rpg-wallet-cell strong{font-size:16px}.ward-ux-page #rpg-wallet .rpg-wallet-cell>.rpg-art{width:25px;height:25px}.ward-ux-page .rpg-location{top:280px}.ward-ux-page .rpg-player{height:310px;bottom:190px}.ward-ux-page .rpg-panel-balance{display:table;margin:7px 0 0;font-size:13px}}
/* Case files use the existing portraits and an aged paper surface, not stock art. */
.ward-ux-page .rpg-helper{bottom:65px}.ward-ux-page .rpg-helper>.rpg-button{flex-direction:column;gap:2px;line-height:1.25;padding:6px 4px;min-height:63px}.ward-ux-page .rpg-helper>.rpg-button strong{font-size:12px}.ward-ux-page .rpg-helper>.rpg-button small{margin:0;font-size:12px}.ward-ux-page .rpg-helper>.rpg-button>span{font-size:12px;color:#ffdee9}
.ward-ux-page .rpg-dossier .rpg-file-stamp{color:#963e33!important}
.ward-ux-page .rpg-dossier{width:min(94vw,850px);padding:28px!important;background:repeating-linear-gradient(0deg,#0000 0 28px,#6c624309 28px 29px),radial-gradient(ellipse at top,#f5eed8,#d4ccb1);border:1px solid #ecddae;border-radius:13px;--light-ink:#263833;--light-text:#263833;--light-muted:#4e5d52;--light-ink-soft:#405346;color:#263833}.ward-ux-page .rpg-dossier :is(h2,h3,p,span,strong,dt,dd){color:#263833!important}.ward-ux-page .rpg-dossier .rpg-dialog-close{color:#263833;background:#81765b1f;border-color:#74664d66}.ward-ux-page .rpg-file-header{position:relative;display:flex;justify-content:space-between;align-items:center;gap:18px;padding:12px 40px 20px 0;border-bottom:2px solid #81765b88}.ward-ux-page .rpg-file-header h2{font-size:28px;margin:7px 0}.ward-ux-page .rpg-file-header>div>span{font-size:11px;letter-spacing:1.5px;font-weight:700}.ward-ux-page .rpg-file-header p{font-size:14px;margin:0}.ward-ux-page .rpg-file-stamp{flex:none;max-width:165px;padding:7px 10px;border:2px solid #9d4839;font-size:12px;font-weight:800;letter-spacing:1.2px;transform:rotate(-6deg);text-align:center;color:#963e33!important}.ward-ux-page .rpg-file-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:28px;margin-top:22px}.ward-ux-page .rpg-file-photo{height:280px;background:radial-gradient(ellipse,#a39e8566,transparent 70%);border:1px solid #81765b66;border-radius:3px;padding:10px;transform:rotate(-1deg);box-shadow:3px 5px 0 #736e4d22}.ward-ux-page .rpg-file-photo .rpg-creature{height:100%;width:100%}.ward-ux-page .rpg-file-tag{display:block;text-align:center;padding:11px 0;font-size:13px;font-weight:700}.ward-ux-page .rpg-file-layout dl{padding:12px 0;border-top:1px solid #81765b77;margin:6px 0}.ward-ux-page .rpg-file-layout dl>div{display:flex;justify-content:space-between;font-size:14px}.ward-ux-page .rpg-file-layout dd{font-weight:800;margin:0}.ward-ux-page .rpg-file-text h3{font-size:17px;margin:0 0 12px}.ward-ux-page .rpg-file-text p{font-size:15px;line-height:1.75;margin:0 0 14px}.ward-ux-page .rpg-file-advice{margin:20px 0;padding:14px 16px;border-left:3px solid #866842;background:#a99e7133}.ward-ux-page .rpg-file-advice h3{margin-bottom:7px}.ward-ux-page .rpg-file-advice p{margin:0}.ward-ux-page .rpg-file-moves{display:grid;gap:9px}.ward-ux-page .rpg-file-moves article{padding:11px 13px;border:1px solid #7f73563d;border-radius:7px;background:#fffc}.ward-ux-page .rpg-file-moves strong{font-size:14px}.ward-ux-page .rpg-file-moves p{font-size:13px;line-height:1.6;margin:4px 0 0}
:root[data-theme=light] .ward-ux-page .rpg-wallet-cell>div>span{color:var(--u-muted)!important}:root[data-theme=light] .ward-ux-page .rpg-wallet-cell strong,:root[data-theme=light] .ward-ux-page .rpg-price>span{color:var(--u-gold)!important}:root[data-theme=light] .ward-ux-page .rpg-item-comparison>.is-gain{color:#a4ebc4!important}:root[data-theme=light] .ward-ux-page .rpg-item-comparison>.is-loss{color:#ffb7bf!important}
@media(max-width:700px){.ward-ux-page .rpg-shell>.rpg-wallet{gap:6px;margin-bottom:10px}.ward-ux-page .rpg-wallet-cell{padding:7px 6px;gap:5px;justify-content:flex-start;min-height:55px}.ward-ux-page .rpg-wallet-cell>.rpg-art{width:30px;height:30px}.ward-ux-page .rpg-wallet-cell>div>span{font-size:12px}.ward-ux-page .rpg-wallet-cell strong{font-size:18px}.ward-ux-page .rpg-item-bonuses{grid-column:2;align-self:start;margin:4px 0;min-height:0;font-size:13px}.ward-ux-page .rpg-item-comparison{grid-column:1/-1;min-height:70px;margin:8px 0 0}.ward-ux-page .rpg-item-buttons .rpg-button{min-height:48px}.ward-ux-page .rpg-item-buttons .rpg-price{gap:2px}.ward-ux-page .rpg-item-buttons .rpg-price .rpg-art{width:20px!important;height:20px!important}.ward-ux-page .rpg-dossier-button{grid-column:1/-1}.ward-ux-page .rpg-stage[data-mode=battle] .rpg-narration{left:10px;right:10px;bottom:193px;font-size:12px;padding:7px 8px}.ward-ux-page .rpg-helper{right:0;bottom:-29px;width:87px}.ward-ux-page .rpg-helper>img{height:95px}.ward-ux-page .rpg-helper>.rpg-button{font-size:12px!important;min-height:42px}.ward-ux-page .rpg-dossier{padding:19px!important;width:95vw;max-height:91dvh}.ward-ux-page .rpg-file-header{padding:33px 0 14px;display:block}.ward-ux-page .rpg-file-header h2{font-size:24px}.ward-ux-page .rpg-file-stamp{display:inline-block;margin-top:11px;font-size:10px}.ward-ux-page .rpg-file-layout{display:flex;flex-direction:column;gap:18px}.ward-ux-page .rpg-file-layout>aside{display:grid;grid-template-columns:110px 1fr;gap:7px 18px}.ward-ux-page .rpg-file-photo{grid-column:1;grid-row:1/3;height:165px}.ward-ux-page .rpg-file-tag{text-align:left;align-self:end}.ward-ux-page .rpg-file-layout dl{margin:0;min-width:0}.ward-ux-page .rpg-file-text p{font-size:14px}.ward-ux-page .rpg-file-text h3{font-size:17px}.ward-ux-page .rpg-file-header>div>span{font-size:10px;letter-spacing:.7px}.ward-ux-page .rpg-file-layout dl>div{font-size:13px}.ward-ux-page .rpg-dialog-close{width:40px;height:40px}}
.ward-ux-page .rpg-dossier{overflow:hidden}.ward-ux-page #rpg-dossier-content{max-height:calc(88dvh - 58px);overflow:auto;padding-right:4px;scrollbar-width:thin}@media(max-width:700px){.ward-ux-page .rpg-helper{bottom:65px}.ward-ux-page #rpg-dossier-content{max-height:calc(91dvh - 40px)}}
