@import "https://fonts.googleapis.com/css2?family=Bree+Serif&family=Nunito+Sans:wght@400;600;700;800&display=swap";:root{color:var(--ink);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--ink:#f3edda;--leaf:#bdd39f;--gold:#dfc68c;--paper:#203026;--line:#526247;--muted:#b2bfa6;--surface-panel:linear-gradient(180deg,#2b3326fa,#18271ff7);--surface-inset:#16281e;--surface-raised:#293d2d;--surface-hover:#354a33;--surface-selected:#3b4d32;--surface-border:#8e784bc2;--accent-ink:#e4cc96;--accent-border:#ad965b;--success:#bed79b;--success-bg:#243b28;--danger:#efb09a;--danger-bg:#432d27;--warning:#ead299;--warning-bg:#3e3725;--info:#aed3db;--info-bg:#203c40;background:#102019;font-family:Nunito Sans,Trebuchet MS,sans-serif;font-weight:600}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer;color:var(--ink);background:#3d6748;border:1px solid #294d33;border-bottom:3px solid #203c29;border-radius:7px;padding:11px 17px;font-weight:800;transition:background .15s,transform .15s}button:hover:not(:disabled){background:#456e4d;transform:translateY(-1px)}button:disabled{cursor:not-allowed;opacity:.47}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--gold);outline-offset:3px}input,select{border:1px solid var(--surface-border);background:var(--surface-inset);width:100%;color:var(--ink);border-radius:6px;padding:11px 12px}label{text-transform:capitalize;margin-bottom:15px;font-size:.8rem;font-weight:800;display:block}label input,label select{margin-top:7px}h1,h2,h3{margin:0 0 12px;font-family:Bree Serif,Palatino Linotype,Georgia,serif;font-weight:400;line-height:1.16}h1{font-size:2rem}h2{font-size:1.5rem}h3{font-size:1.12rem}p{margin:0 0 14px;line-height:1.65}a{color:var(--leaf)}img{max-width:100%}form{margin-top:20px}.secondary{background:var(--surface-raised);color:var(--ink);border-color:var(--surface-border);border-bottom-color:var(--surface-border)}.secondary:hover:not(:disabled){background:var(--surface-hover)}.text-button{color:var(--muted);background:0 0;border:0;padding:8px 0;font-size:.8rem}.text-button:hover:not(:disabled){color:var(--accent-ink);background:0 0}.small-button{padding:8px 12px;font-size:.78rem}.wide{width:100%}.muted{color:var(--muted)}.small{font-size:.77rem}.eyebrow{text-transform:uppercase;letter-spacing:.13em;color:var(--muted);margin-bottom:9px;font-size:.65rem;font-weight:800;display:block}.button-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.danger-button{background:var(--danger-bg);border-color:var(--danger)}.danger-button:hover:not(:disabled){background:#614035}.notice{background:var(--warning-bg);color:var(--warning);border:1px solid var(--accent-border);border-radius:7px;padding:12px 15px;font-size:.85rem}.point-badge{color:var(--muted);background:var(--surface-raised);border:1px solid var(--surface-border);white-space:nowrap;border-radius:6px;padding:6px 10px;font-size:.72rem}.element{text-transform:capitalize;color:var(--muted);background:#24372a;border-radius:4px;padding:4px 7px;font-size:.67rem;font-weight:800;display:inline-block}.element.fire{color:#f3bb91;background:#432f24}.element.water{background:var(--info-bg);color:var(--info)}.element.earth{color:#d3dcaa;background:#303b23}.element.air{background:var(--info-bg);color:var(--info)}.element.neutral{color:var(--muted);background:#24372a}dialog{color:var(--ink)}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.stat-icon{width:var(--stat-icon-size,1.35em);height:var(--stat-icon-size,1.35em);vertical-align:middle;flex:none;display:inline-block;overflow:visible}.stat-label{min-width:0;font-style:normal;line-height:inherit;vertical-align:middle;align-items:center;gap:.35em;display:inline-flex}.stat-grid .stat-label{font-size:inherit;border:0;justify-content:flex-start;align-items:center;gap:.4em;padding:0;display:inline-flex}.stat-grid>span>b{flex:none;align-self:center;margin-left:auto}.attribute-row strong .stat-label{--stat-icon-size:28px;gap:8px}.resource>.resource-label{--stat-icon-size:12px;align-items:center;gap:3px;display:inline-flex}.resource.xp>.resource-label{--stat-icon-size:10px}.equipment-stats .stat-label,.selection-attributes .stat-label{--stat-icon-size:16px;justify-content:center;gap:3px}.item-stat-line>.stat-label,.item-stat-requirements>.stat-label{margin-right:2px}.battle-fighter-meta .stat-icon{--stat-icon-size:13px;margin-right:2px}@media (width<=420px){.equipment-stats .stat-label,.selection-attributes .stat-label{--stat-icon-size:13px;gap:2px}.stat-grid>span{gap:7px}}.skillbooks-panel{min-width:0}.skillbooks-panel .skillbooks-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.skillbooks-panel .skillbooks-heading h2{margin:0;font-size:1.4rem}.skillbooks-budget{color:var(--leaf);white-space:nowrap;align-items:center;gap:6px;font-size:.7rem;display:flex}.skillbooks-budget strong{font-variant-numeric:tabular-nums;color:var(--gold);font-size:1.4rem;line-height:1}.skillbooks-budget .stat-icon{width:24px;height:24px}.skillbooks-panel .book-tabs{grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:8px;margin:0;display:grid}.skillbooks-panel .book-tabs button{gap:3px;min-width:0;min-height:58px;padding:9px 12px}.skillbooks-panel .book-tab-name{font-size:1rem}.skillbooks-toolbar{justify-content:space-between;align-items:center;gap:12px;margin:12px 0;display:flex}.skillbooks-panel .skillbooks-hint{color:var(--muted);margin:0;font-size:.69rem;line-height:1.5}.skillbooks-step{flex-shrink:0;align-items:center;gap:5px;display:flex}.skillbooks-step>span{color:var(--muted);margin-right:5px;font-size:.65rem}.skillbooks-panel .skillbooks-step button{min-width:44px;min-height:44px;padding:7px;font-size:.78rem}.skillbooks-content{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:start;gap:16px;display:grid}.skillbooks-panel .skill-list{grid-template-columns:minmax(0,1fr);gap:8px;margin:0;display:grid}.skillbooks-panel .skill-card{border:1px solid var(--line);background:var(--surface-inset);opacity:1;border-radius:7px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px;min-width:0;margin:0;padding:4px;display:grid}.skillbooks-panel .skill-card.is-selected{border-color:var(--gold);background:var(--surface-selected)}.skillbooks-panel .skill-card.has-draft{box-shadow:inset 3px 0 var(--gold)}.skillbooks-panel .skill-card-select{width:100%;min-width:0;min-height:62px;box-shadow:none;text-align:left;color:var(--ink);background:0 0;border:0;border-radius:4px;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:9px;padding:6px;display:grid}.skillbooks-panel .skill-card-select:hover{background:var(--surface-raised)}.skillbooks-panel .skill-card .skill-icon{border-radius:6px;flex-basis:40px;width:40px;height:40px;padding:3px}.skillbooks-panel .skill-card-title{overflow-wrap:anywhere;min-width:0;font-family:Bree Serif,Georgia,serif;font-size:1rem;line-height:1.25}.skill-card-title>small{color:var(--muted);margin-top:4px;font-family:Nunito Sans,sans-serif;font-size:.61rem;font-weight:600;line-height:1.4;display:block}.skill-card-rank{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;min-width:45px}.skill-card-rank b{color:var(--ink);font-size:.78rem;display:block}.skill-card-rank small{color:var(--muted);margin-top:3px;font-size:.56rem;display:block}.has-draft .skill-card-rank small{color:var(--gold)}.skill-card-controls{align-items:center;gap:4px;display:flex}.skillbooks-panel .skill-card-controls button{white-space:nowrap;min-width:44px;min-height:44px;padding:7px;font-size:.78rem}.skillbooks-panel .skill-detail{scrollbar-gutter:stable;border:1px solid var(--line);border-left:3px solid var(--gold);background:var(--surface-inset);border-radius:7px;min-width:0;height:374px;padding:18px;overflow-y:auto}.skill-detail:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.skill-detail-heading>span{color:var(--muted);font-size:.65rem;font-weight:700}.skillbooks-panel .skill-detail-heading h3{margin:3px 0 10px;font-size:1.25rem;line-height:1.25}.skillbooks-panel .skill-detail-description{color:var(--ink);margin:0 0 14px;font-size:.77rem;line-height:1.6}.skill-rank-preview{border:1px solid var(--line);border-radius:6px;grid-template-columns:repeat(2,minmax(0,1fr));display:grid;overflow:hidden}.skill-rank-preview.is-maxed{grid-template-columns:minmax(0,1fr)}.skill-rank-preview>div{min-width:0;padding:9px 10px}.skill-rank-preview .skill-rank-next{border-left:1px solid var(--line);background:var(--surface-raised)}.skill-rank-preview>div>span{color:var(--muted);margin-bottom:5px;font-size:.6rem;font-weight:700;line-height:1.4;display:block}.skill-rank-preview p{min-height:2.2em;color:var(--ink);overflow-wrap:anywhere;margin:0;font-size:.72rem;font-weight:700;line-height:1.55}.skill-rank-next p{color:var(--leaf)}.skillbooks-panel .skill-detail-notice{color:var(--gold);overflow-wrap:anywhere;margin:10px 0 0;font-size:.67rem;line-height:1.5}.skill-detail-requirements{border-top:1px solid var(--line);margin-top:14px;padding-top:10px}.skillbooks-panel .skill-detail-requirements p{color:var(--muted);overflow-wrap:anywhere;margin:0 0 6px;font-size:.68rem;line-height:1.55}.skillbooks-panel .skillbooks-actions{z-index:2;border-top:1px solid var(--line);background:var(--paper);justify-content:space-between;align-items:center;gap:12px;margin-top:14px;padding:12px 0 2px;display:flex;position:sticky;bottom:0}.skillbooks-actions>p{min-width:0;color:var(--muted);margin:0;font-size:.68rem;line-height:1.5}.skillbooks-actions>div{flex-wrap:wrap;gap:8px;display:flex}.skillbooks-panel .skillbooks-actions button{min-height:44px;padding:9px 12px;font-size:.72rem}@media (width<=800px){.skillbooks-content{grid-template-columns:minmax(0,1fr)}.skillbooks-panel .skill-list{grid-template-columns:repeat(2,minmax(0,1fr))}.skillbooks-panel .skill-detail{height:300px}}@media (width<=520px){.skillbooks-panel .skillbooks-heading h2{font-size:1.2rem}.skillbooks-budget{gap:4px;font-size:.64rem}.skillbooks-budget strong{font-size:1.2rem}.skillbooks-panel .book-tabs{grid-template-columns:repeat(auto-fit,minmax(72px,1fr));gap:6px}.skillbooks-panel .book-tabs button{min-height:56px;padding:8px}.skillbooks-panel .book-tab-name{font-size:.92rem}.skillbooks-toolbar{flex-wrap:wrap;gap:6px}.skillbooks-panel .skill-list{grid-template-columns:minmax(0,1fr)}.skillbooks-panel .skill-card-select{grid-template-columns:36px minmax(0,1fr) auto;gap:6px;padding:4px}.skillbooks-panel .skill-card .skill-icon{flex-basis:36px;width:36px;height:36px}.skillbooks-panel .skill-card-title{font-size:.9rem}.skill-card-title>small{font-size:.57rem}.skill-card-rank{min-width:35px}.skill-card-rank b{font-size:.72rem}.skill-card-rank small{font-size:.53rem}.skillbooks-panel .skill-detail{padding:14px}.skill-rank-preview>div{padding:8px}.skillbooks-panel .skillbooks-actions{flex-direction:column;align-items:stretch;gap:7px}.skillbooks-actions>div{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.skillbooks-panel .skillbooks-actions button{padding:9px 7px;font-size:.67rem}}.battle-enemy-statuses{min-width:0;height:52px;min-height:52px;max-height:52px;margin:4px 0 0}.battle-enemy-effects{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#829164 #14261b;gap:4px;height:52px;min-height:52px;max-height:52px;display:flex;overflow:auto hidden}.battle-enemy-effects.is-empty{visibility:hidden;pointer-events:none}.battle-enemy-effect{flex:0 0 44px;width:44px;height:44px;display:block}.battle-enemy-effect-button{color:#e5edda;width:44px;min-width:44px;height:44px;min-height:44px;box-shadow:none;text-shadow:none;background:#162b20ed;border:1px solid #9eaf8977;border-bottom:2px solid #6b7856;border-radius:5px;justify-content:center;align-items:center;padding:5px;display:flex;position:relative;transform:none}.battle-enemy-effect-button.is-buff{color:#f4dfaa;background:#342f20ed;border-color:#bda76699}.battle-enemy-effect-button.is-debuff{color:#c1e0e6;background:#1b3037ed;border-color:#8cb7c199}.battle-enemy-effect-button.is-periodic{color:#f0c8a2;background:#392b23ed;border-color:#c4997699}.battle-enemy-effect-button:hover,.battle-enemy-effect-button[aria-expanded=true]{background:#4c482fed;border-color:#edcd87;transform:none;box-shadow:inset 0 0 0 1px #e1c58244}.battle-enemy-effect-button:focus-visible{outline-offset:-3px;outline:2px solid #f1d69b}.battle-enemy-effect-button :is(.skill-icon,.stat-icon,.element-icon){width:29px;height:29px;box-shadow:none;background:0 0;border:0;border-radius:0;flex:none;padding:0;display:block}.battle-enemy-effect-button .element-icon svg{width:100%;height:100%}.battle-enemy-effect-duration{color:#fff0c7;text-align:center;font-variant-numeric:tabular-nums;background:#102218;border:1px solid #a78f5999;border-radius:3px;min-width:15px;height:15px;padding:0 2px;font:900 10px/13px Nunito Sans,sans-serif;position:absolute;bottom:1px;right:1px}.battle-enemy-effect-detail{box-sizing:border-box;color:#f3edda;width:260px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);text-shadow:none;overflow-wrap:anywhere;background:#18291ffb;border:1px solid #b9a369;border-bottom:3px solid #645334;border-radius:6px;margin:0;padding:11px 13px;font:400 13px/1.4 Nunito Sans,sans-serif;position:fixed;inset:auto;overflow:auto;box-shadow:0 6px 20px #04150d88}.battle-enemy-effect-detail::backdrop{pointer-events:none;background:0 0}.battle-enemy-effect-detail>small{color:#bdcaaa;letter-spacing:.04em;text-transform:uppercase;font-size:10px;font-weight:800;display:block}.battle-enemy-effect-detail>strong{color:#f2d89f;margin:2px 0 5px;font:400 19px/1.2 Bree Serif,Georgia,serif;display:block}.battle-enemy-effect-detail>p{font:inherit;color:inherit;margin:0 0 8px}.battle-enemy-effect-detail>span{color:#c0d3b1;font-size:11px;font-weight:800;display:block}.ferry-scene{background:#168ab1;position:absolute;inset:0;overflow:hidden}.ferry-plane{position:absolute;container-type:inline-size}.ferry-plane>img{width:100%;height:100%;display:block}.ferry-player-anchor{aspect-ratio:1;pointer-events:none;position:absolute;transform:translate(-47.7778%,-88.8889%)}.ferry-player{width:100%;height:100%;display:block}.ferry-fare{flex-wrap:wrap;gap:12px 24px;margin:0 0 18px;display:flex}.ferry-fare dt{color:var(--muted);font-size:.72rem}.ferry-fare dd{margin:3px 0 0;font-weight:700}.ferry-clock{aspect-ratio:1;transform-origin:50%;color:#fff0b6;pointer-events:none;background:linear-gradient(145deg,#edcf7d 4%,#c6933d 44%,#95632c 82%,#c39a50);border:2px solid #49321e;border-radius:50%;width:5.8%;position:absolute;top:40.1%;left:28.9%;transform:translate(-50%,-50%)perspective(20cqw)rotateY(26deg)skewY(-7deg);box-shadow:inset 0 1px #ffe2a1,inset 0 -2px 1px #795028,2px 1px #97652d,3px 2px #503823,1px 3px 4px #3725148c;container-type:inline-size}.ferry-clock:after{content:"";background:linear-gradient(145deg,#ffedbd1a,#0000 48%,#08282d24);border-radius:50%;position:absolute;inset:9%}.ferry-clock-face{width:88%;height:88%;position:absolute;inset:6%}.ferry-clock-dial{fill:#163e43;stroke:#47341e;stroke-width:2px}.ferry-clock-face line{stroke:#f1d28c;stroke-width:1.7px;stroke-linecap:round}.ferry-clock-track{fill:none;stroke:#476360;stroke-width:4px}.ferry-clock-progress{fill:none;stroke:#f6ce66;stroke-width:4px;stroke-linecap:round}.ferry-clock-rivet{fill:#f5d77e;stroke:#5b3a18;stroke-width:1px}.ferry-clock>time{font-variant-numeric:tabular-nums;text-align:center;letter-spacing:-.035em;text-shadow:0 1px 1px #091e21;width:100%;font:20cqw/1 Bree Serif,Georgia,serif;position:absolute;top:50%;left:0;transform:translateY(-50%)}.ferry-clock[data-phase=paused] .ferry-clock-progress,.ferry-clock[data-phase=connection] .ferry-clock-progress{stroke:#ceab68}.ferry-voyage-note{left:50%;bottom:calc(var(--dock-height) + 12px);z-index:8;border:1px solid var(--surface-border);border-bottom:3px solid var(--accent-border);background:var(--surface-panel);width:max-content;max-width:calc(100% - 24px);color:var(--ink);text-align:center;border-radius:9px;align-items:center;gap:16px;padding:10px 18px;display:flex;position:absolute;transform:translate(-50%);box-shadow:0 3px 12px #172c2f40}.ferry-status-copy{min-width:0}.ferry-status-copy strong,.ferry-status-copy small{display:block}.ferry-status-copy strong{font-size:.86rem}.ferry-status-copy small{color:var(--muted);margin-top:3px;font-size:.7rem;line-height:1.3}.ferry-voyage-note>time{font-variant-numeric:tabular-nums;color:#f4d68a;flex:none;font:1.5rem Bree Serif,Georgia,serif;display:none}.ferry-voyage-note>button{flex:none;min-height:44px}.ferry-window-status{border:1px solid var(--accent-border);background:var(--surface-panel);max-width:250px;min-height:40px;color:var(--ink);text-align:left;border-radius:7px;flex:none;align-items:center;gap:9px;padding:4px 10px;display:flex}.ferry-window-status>time{font-variant-numeric:tabular-nums;color:#f4d68a;flex:none;order:-1;font:1.2rem Bree Serif,Georgia,serif}.ferry-window-status strong{text-overflow:ellipsis;white-space:nowrap;max-width:140px;font-size:.73rem;overflow:hidden}.ferry-window-status small{font-size:.61rem}.ferry-reconnect{cursor:pointer}.ferry-reconnect:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.ferry-arrival{z-index:90;background:var(--surface-panel);border:1px solid var(--surface-border);max-width:calc(100% - 32px);color:var(--ink);border-radius:8px;padding:12px 18px;position:absolute;top:14px;left:50%;transform:translate(-50%)}.ferry-readonly{color:var(--muted);font-size:.76rem}@media (width<=1200px),(height<=800px){.ferry-voyage-note>time{display:block}}@media (width<=760px){.ferry-voyage-note{gap:12px;padding:8px 12px}.ferry-voyage-note .ferry-status-copy strong{font-size:.76rem}.ferry-voyage-note .ferry-status-copy small{font-size:.64rem}.ferry-voyage-note>time{font-size:1.3rem}.on-ferry .workspace-heading{gap:6px}.on-ferry .workspace-heading h1{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ferry-window-status{gap:5px;max-width:145px;padding:3px 6px}.ferry-window-status>time{font-size:1rem}.ferry-window-status strong{max-width:80px;font-size:.65rem}.ferry-window-status small{font-size:.55rem}}.npc-spot.safe-place{left:var(--spot-x);top:var(--spot-y);--npc-size:clamp(100px, 8cqw, 260px);--npc-label-gap:6px;position:absolute}.npc-spot .safe-spot.safe-talk{white-space:nowrap;background:var(--surface-panel);width:auto;min-width:44px;max-width:none;min-height:44px;color:var(--ink);border:1px solid var(--surface-border);padding:8px 12px;font-size:.78rem;line-height:1.2;display:block;position:absolute;top:0;left:0;transform:translate(-50%,-50%);box-shadow:0 3px 5px #201c3e35}.npc-spot .safe-talk:hover:not(:disabled),.npc-spot .safe-talk:active,.npc-spot .safe-talk:focus-visible{transform:translate(-50%,-50%)}.npc-spot .safe-talk:hover:not(:disabled){background:var(--surface-hover);border-color:var(--accent-border)}.npc-spot .safe-talk:focus-visible{outline-offset:3px;outline:3px solid #b77c21}.npc-spot.safe-place .safe-person{left:50%;top:calc(var(--npc-size) * var(--npc-foot-gap,0) - var(--npc-label-gap));width:var(--npc-size);object-fit:contain;max-width:none;height:auto;margin:0;position:absolute;transform:translate(-50%,-100%)}.npc-spot .safe-talk>.npc-quest-marker{--quest-marker-size:34px;left:50%;top:calc(-4px - var(--npc-label-gap) - var(--npc-size) * var(--npc-visible-ratio,.8));position:absolute;transform:translate(-50%,-100%)}.npc-spot[data-anchor=feet] .safe-spot.safe-talk{top:var(--npc-label-gap);transform:translate(-50%)}.npc-spot[data-anchor=feet] .safe-talk:hover:not(:disabled),.npc-spot[data-anchor=feet] .safe-talk:active,.npc-spot[data-anchor=feet] .safe-talk:focus-visible{transform:translate(-50%)}.proving-grounds{background-color:#294939;background-position:50%;background-size:cover;position:absolute;inset:0}.proving-scroll{overscroll-behavior:contain;scrollbar-gutter:stable;padding:24px 24px calc(var(--dock-height,82px) + 28px);position:absolute;inset:0;overflow:hidden auto}.proving-layout{align-items:start;gap:20px;max-width:1520px;margin:auto;display:grid}.proving-layout.with-panels{grid-template-columns:minmax(0,1fr) 286px}.proving-main{grid-area:1/1;min-width:0}.proving-sidebar{grid-area:1/2;gap:14px;min-width:0;display:grid}.proving-sidebar .world-location,.proving-sidebar .quest-tracker{width:100%;min-width:0;max-width:none;max-height:none;position:static}.proving-sidebar .world-location{padding:14px;display:block}.proving-sidebar .world-location>div:first-child{display:none}.proving-sidebar .world-location-actions{margin:0}.proving-sidebar .world-location-actions button{flex:1}.proving-sidebar .quest-tracker-goals{max-height:360px}.proving-grounds .panel{min-width:0;margin:0}.proving-grounds .eyebrow{letter-spacing:.1em;margin:0;font-size:.62rem;line-height:1.4;display:block}.proving-intro{justify-content:space-between;align-items:center;gap:20px;padding:22px 26px;display:flex}.proving-intro-copy{min-width:0}.proving-grounds .proving-intro h2{margin:5px 0 7px;font-size:clamp(1.4rem,1.8vw,1.85rem);line-height:1.2}.proving-intro p{color:var(--muted);margin:0;font-size:.8rem;line-height:1.5}.proving-progress{color:var(--muted);flex:0 0 156px;font-size:.69rem}.proving-progress strong{color:var(--ink);font-family:Bree Serif,Georgia,serif;font-size:1.6rem;font-weight:400;display:block}.proving-progress progress{accent-color:#b8c681;width:100%;min-width:0;height:7px;margin-top:9px;display:block}.proving-selection{grid-template-columns:285px minmax(0,1fr);align-items:stretch;gap:16px;margin:18px 0;display:grid}.proving-roster{contain:size;overscroll-behavior-y:contain;scrollbar-gutter:stable;min-width:0;min-height:0;padding:6px;overflow:hidden auto}.proving-roster ol{gap:9px;margin:0;padding:0;list-style:none;display:grid}.proving-roster li{min-width:0}.proving-grounds .proving-champion{text-align:left;width:100%;min-height:92px;color:var(--ink);border:1px solid var(--surface-border);background:var(--surface-panel);border-radius:8px;align-items:center;gap:10px;padding:10px 12px;display:flex;box-shadow:0 2px 5px #10271d40}.proving-grounds .proving-champion:hover:not(:disabled){background:var(--surface-hover);transform:none}.proving-grounds .proving-champion[aria-pressed=true]{border-color:var(--accent-border);background:var(--surface-selected);box-shadow:inset 3px 0 var(--accent-border), 0 2px 5px #10271d40}.proving-order{color:var(--muted);flex:none;font-size:.66rem;font-weight:800}.proving-thumbnail{flex:0 0 44px;place-items:center;height:66px;display:grid}.proving-champion-art{object-fit:contain;width:100%;height:100%;display:block}.proving-champion-copy{flex:1;gap:7px;min-width:0;display:grid}.proving-champion-copy>strong{overflow-wrap:anywhere;font-family:Bree Serif,Georgia,serif;font-size:.94rem;font-weight:400;line-height:1.2}.proving-status{color:var(--muted);font-size:.64rem;line-height:1.3}.proving-status.ready{color:var(--gold)}.proving-status.cleared{color:var(--success)}.proving-selected-mark{color:var(--gold);flex:0 0 8px;font-size:1.4rem}.proving-grounds .proving-detail{border-color:var(--accent-border);padding:0;overflow:hidden}.proving-detail-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:start;gap:14px;padding:24px 26px 18px;display:flex}.proving-detail-heading>div{min-width:0}.proving-grounds .proving-detail-heading h2{overflow-wrap:anywhere;margin:7px 0 0;font-size:clamp(1.45rem,1.7vw,1.9rem);line-height:1.2}.proving-victories{color:var(--muted);border:1px solid var(--line);white-space:nowrap;border-radius:5px;flex:none;padding:6px 9px;font-size:.67rem}.proving-showcase{grid-template-columns:minmax(170px,1.1fr) minmax(175px,1fr);align-items:center;gap:20px;padding:24px 26px;display:grid}.proving-art-stage{background:radial-gradient(at 50% 70%,#a8b98524,#0000 68%);place-items:center;min-width:0;height:300px;display:grid;position:relative}.proving-art-stage>.proving-champion-art{filter:drop-shadow(0 7px 5px #07180f55);width:90%;max-width:240px;height:290px;position:relative}.proving-stage-ring{background:#12291c55;border:1px solid #d0bd7344;border-radius:50%;width:88%;height:22px;position:absolute;bottom:0;box-shadow:0 0 22px #142a1d80,inset 0 0 12px #becd8333}.proving-rewards{min-width:0}.proving-rewards>.eyebrow{color:var(--gold)}.proving-material{align-items:center;gap:10px;min-width:0;margin:18px 0;display:flex}.proving-material-art{border:1px solid var(--line);background:var(--surface-inset);border-radius:7px;flex:0 0 48px;place-items:center;width:48px;height:48px;padding:4px;display:grid}.proving-material-art .game-sprite{object-fit:contain;width:100%;min-width:0;max-width:100%;height:100%;max-height:100%}.proving-material>div{gap:5px;min-width:0;display:grid}.proving-material strong{overflow-wrap:anywhere;font-size:.87rem}.proving-material>div>span{color:var(--muted);font-size:.68rem}.proving-gold{border-block:1px solid var(--line);align-items:baseline;gap:8px;padding-block:12px;display:flex}.proving-gold strong{color:var(--gold);font-family:Bree Serif,Georgia,serif;font-size:1.75rem;font-weight:400}.proving-gold span{color:var(--muted);font-size:.72rem}.proving-recipe-state{color:var(--ink);margin:15px 0 7px;font-size:.77rem;line-height:1.5}.proving-rewards .small{margin:0;font-size:.69rem;line-height:1.5}.proving-challenge{background:var(--surface-inset);border-top:1px solid var(--line);text-align:left;justify-content:space-between;align-items:center;gap:18px;padding:19px 26px;display:flex}.proving-challenge>div{min-width:0}.proving-challenge strong{font-size:.85rem}.proving-challenge p{color:var(--muted);overflow-wrap:anywhere;margin:5px 0 0;font-size:.71rem;line-height:1.5}.proving-challenge button{flex:none;min-height:48px;padding:10px 25px}.proving-grounds .proving-preparation{justify-content:space-between;align-items:center;gap:24px;padding:19px 24px;display:flex}.proving-preparation h3{margin:0 0 6px;font-size:1.05rem}.proving-preparation p{margin:0 0 5px;font-size:.75rem;line-height:1.5}.proving-preparation details{color:var(--muted);margin-top:10px;font-size:.72rem}.proving-preparation summary{cursor:pointer;color:var(--ink)}.proving-preparation details p{margin-top:10px}.proving-preparation button{flex:none;gap:4px;min-height:54px;display:grid}.proving-preparation button strong{font-size:.8rem}.proving-preparation button span{color:var(--muted);font-size:.67rem}.proving-grounds button:focus-visible,.proving-grounds summary:focus-visible{outline:3px solid var(--gold);outline-offset:3px}@media (width<=1350px) and (width>=1101px){.proving-selection{grid-template-columns:240px minmax(0,1fr)}.proving-showcase{grid-template-columns:minmax(130px,1fr) minmax(150px,1fr);gap:12px;padding-inline:20px}}@media (height<=800px) and (width>=761px){.proving-scroll{padding-top:18px}.proving-intro{padding:16px 22px}.proving-grounds .proving-intro h2{font-size:1.4rem}.proving-detail-heading{padding:18px 22px}.proving-showcase{padding-block:14px}.proving-art-stage{height:230px}.proving-art-stage>.proving-champion-art{height:220px}.proving-grounds .proving-champion{min-height:78px;padding-block:7px}.proving-thumbnail{height:60px}}@media (width<=1100px){.proving-layout.with-panels{grid-template-columns:minmax(0,1fr)}.proving-main{grid-row:2}.proving-sidebar{grid-area:1/1;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}.proving-sidebar .quest-tracker-goals{max-height:180px}.proving-layout:not(.with-panels) .proving-main{grid-row:1}.proving-selection{grid-template-columns:240px minmax(0,1fr)}}@media (width<=760px){.proving-scroll{padding:14px 12px calc(var(--dock-height,124px) + 24px)}.proving-layout{gap:14px}.proving-grounds .proving-intro{flex-wrap:wrap;gap:14px;padding:18px}.proving-progress{flex:100%;align-items:center;gap:12px;display:flex}.proving-progress strong{margin-right:4px;font-size:1rem;display:inline}.proving-progress progress{flex:1;width:auto;margin:0}.proving-selection{grid-template-columns:minmax(0,1fr);gap:14px;margin:14px 0}.proving-roster{contain:none;max-height:min(360px,50dvh)}.proving-roster ol{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.proving-grounds .proving-champion{gap:7px;min-height:85px;padding:8px}.proving-thumbnail{flex-basis:34px;height:56px}.proving-order{font-size:.56rem}.proving-champion-copy>strong{font-size:.83rem}.proving-champion-copy{gap:5px}.proving-selected-mark{display:none}.proving-showcase{grid-template-columns:minmax(120px,1fr) minmax(140px,1fr);gap:12px;padding:20px 18px}.proving-art-stage{height:250px}.proving-art-stage>.proving-champion-art{height:240px}.proving-detail-heading{gap:10px;padding:18px}.proving-grounds .proving-detail-heading h2{font-size:1.5rem}.proving-challenge{padding:16px 18px}.proving-challenge button{padding-inline:17px}.proving-grounds .proving-preparation{flex-wrap:wrap;gap:15px;padding:18px}}@media (width<=480px){.proving-sidebar{grid-template-columns:minmax(0,1fr);gap:10px}.proving-sidebar .quest-tracker-goals{max-height:150px}.proving-roster ol{grid-template-columns:minmax(0,1fr)}.proving-grounds .proving-champion{gap:12px;min-height:68px;padding:7px 12px}.proving-thumbnail{height:48px}.proving-champion-copy>strong{font-size:.94rem}.proving-detail-heading{flex-wrap:wrap}.proving-showcase{grid-template-columns:minmax(0,1fr);padding-top:12px}.proving-art-stage{height:240px}.proving-art-stage>.proving-champion-art{height:230px}.proving-rewards{border-top:1px solid var(--line);padding-top:18px}.proving-material{margin-block:12px}.proving-challenge{flex-wrap:wrap;gap:12px}.proving-challenge button,.proving-preparation button{width:100%}}.champion-quest{border-block:1px solid #bca77366;margin-block:1.25rem;padding-block:1rem}.champion-quest h3{margin-block:.35rem .6rem}.champion-portal-button{text-align:left;align-items:center;gap:.8rem;max-width:100%;margin-block:.8rem;display:flex}.champion-portal-button>span:last-child{gap:.25rem;display:grid}.champion-portal-button small{font-weight:400}.champion-return-portal{width:100%;min-height:44px;box-shadow:none;background:0 0;border:0;justify-items:center;gap:.6rem;padding:0 0 .6rem;display:grid}.champion-return-portal:hover:not(:disabled){background:0 0;transform:none}.champion-return-portal .champion-portal-art{aspect-ratio:1;width:min(100%,260px);height:auto}.champion-return-portal .champion-portal-ring{width:70%;height:90%}.champion-return-copy{text-align:center;gap:.3rem;display:grid}.champion-return-copy strong{font-size:.85rem}.champion-return-copy small{overflow-wrap:anywhere;font-size:.72rem;font-weight:400;line-height:1.4}.champion-portal-art{flex:0 0 3.5rem;place-items:center;width:3.5rem;height:4.25rem;display:grid}.champion-portal-picture{width:100%;height:100%;display:block}.champion-portal-art .game-sprite{object-fit:contain;width:100%;height:100%}.champion-portal-ring{background:radial-gradient(#282f5155 22%,#7588b766 55%,#c2caddbb 72%,#5b668a 77%);border:3px solid #c3a76e;border-radius:50%;width:2.7rem;height:3.65rem;box-shadow:inset 0 0 .6rem #d2dcf4aa,0 0 .45rem #929fbd66}.town-room .town-portal{aspect-ratio:1;width:18%;min-width:44px;min-height:44px;box-shadow:none;background:0 0;border:0;border-radius:0;padding:0;display:block;position:absolute;transform:translate(-50%,-94.5313%)}.town-room .town-portal:hover:not(:disabled),.town-room .town-portal:active{background:0 0;transform:translate(-50%,-94.5313%)}.town-room .town-portal:focus-visible{outline:3px solid var(--accent-ink);outline-offset:4px}.town-portal .champion-portal-art{pointer-events:none;width:100%;height:100%;margin:0}.town-portal .champion-portal-ring{width:72%;height:90%}.town-room .town-portal .town-spot.town-portal-label{pointer-events:auto;width:max-content;max-width:none;margin-top:.15rem;top:100%;left:50%;transform:translate(-50%)}.city-transport>h2{margin:0 0 12px;font-size:1.5rem}.city-transport>p{font-size:.84rem;line-height:1.65}.city-transport-list{margin:20px 0 0;padding:0;list-style:none}.city-transport-list>li{border-top:1px solid var(--line);align-items:center;gap:14px;padding:16px 0;display:flex}.city-transport-list>li>div{flex:1;min-width:0}.city-transport-list h3{overflow-wrap:anywhere;margin:0 0 5px;font-size:1.1rem}.city-transport-list p{color:var(--muted);overflow-wrap:anywhere;margin:0;font-size:.74rem;line-height:1.5}.city-transport-list button{white-space:normal;max-width:45%;min-height:44px;font-size:.75rem}@media (width<=420px){.city-transport-list>li{gap:9px}.city-transport-list button{padding:8px}.city-transport-list h3{font-size:1rem}}.runeforge{--forge-metal:#9bb4b1;--forge-ember:#e4cc96}.runeforge-intro.panel{border-left:3px solid var(--forge-ember);margin-top:18px}.runeforge-intro p{margin-bottom:0}.runeforge-select{max-width:560px;margin:18px 0}.runeforge-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:16px;display:grid}.runeforge-layout .panel{margin:0;padding:18px}.runeforge-details{gap:16px;display:grid}.runeforge-weapon-heading{align-items:center;gap:16px;margin-bottom:18px;display:flex}.runeforge-weapon-heading>div{min-width:0}.runeforge-weapon-heading h3{font-size:1.35rem}.runeforge-art{background:var(--surface-inset);border:1px solid var(--surface-border);border-radius:9px;flex-shrink:0;place-items:center;width:110px;height:135px;display:grid}.runeforge-art .game-sprite{object-fit:contain;width:90%;height:90%}.runeforge-stat{color:var(--forge-ember);font-size:1.1rem;font-weight:800}.runeforge-stat small{color:var(--muted);margin-top:4px;font-size:.65rem;display:block}.runeforge-levels{border-top:1px solid var(--line);gap:6px;margin:18px 0;padding:12px 0 18px;list-style:none;display:flex;overflow-x:auto}.runeforge-levels li{text-align:center;min-width:47px;color:var(--muted);flex:1;position:relative}.runeforge-levels strong{border:1px solid var(--line);background:var(--surface-inset);border-radius:50%;place-items:center;width:31px;height:31px;margin:0 auto 6px;display:grid}.runeforge-levels li[data-reached=true] strong{border-color:var(--forge-ember);color:var(--forge-ember);background:var(--surface-selected)}.runeforge-levels li[aria-current=step] strong{outline:2px solid var(--forge-ember);outline-offset:3px}.runeforge-levels small{white-space:nowrap;font-size:.58rem}.runeforge-cost{border-block:1px solid var(--line);margin:12px 0 16px;padding:0;font-size:.7rem;list-style:none}.runeforge-cost li{align-items:baseline;gap:5px;padding:7px 0;display:flex}.runeforge-cost li+li{border-top:1px solid color-mix(in srgb,var(--line) 40%,transparent)}.runeforge-cost small{color:var(--muted);text-align:right;margin-left:auto;font-size:.6rem}.runeforge-cost [data-short=true]{color:var(--danger)}.runeforge-socket{border-top:1px solid var(--line);padding:13px 0}.runeforge-socket label{margin-bottom:8px;font-size:.72rem}.runeforge-socket p{margin:0}.runeforge button{min-height:44px;font-size:.75rem}.runeforge-library{margin-top:26px}.runeforge-library>.section-heading{flex-wrap:wrap;gap:12px}.runeforge-library .point-badge{white-space:normal}.runeforge-runes{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.runeforge-rune.panel{margin:0;padding:16px}.runeforge-rune-heading{align-items:center;gap:12px;display:flex}.runeforge-rune-heading .skill-icon{flex:0 0 42px;width:42px;height:42px}.runeforge-rune-heading h3{margin-bottom:5px}.runeforge-rune-heading p{margin:0}.runeforge-reroll.panel{border:2px solid var(--forge-ember)}.runeforge-roll-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:14px;display:grid}.runeforge-roll-choices>div{background:var(--surface-inset);border:1px solid var(--surface-border);border-radius:7px;flex-direction:column;gap:9px;padding:14px;display:flex}.runeforge-roll-choices strong{color:var(--forge-ember);font-size:1.4rem}.runeforge-roll-choices small{color:var(--muted);font-size:.65rem}.runeforge-roll-choices button{margin-top:auto}.workshop-mode-tabs{flex-wrap:wrap;gap:8px;margin:16px 0;display:flex}.workshop-mode-tabs button[aria-pressed=true]{border-color:var(--gold);background:var(--surface-selected)}@media (width<=760px){.runeforge-layout,.runeforge-runes{grid-template-columns:1fr}.runeforge-art{width:85px;height:110px}.runeforge-weapon-heading h3{font-size:1.2rem}.runeforge-library .point-badge{font-size:.65rem}.runeforge-roll-choices{gap:8px}.runeforge-roll-choices>div{padding:10px}.runeforge-roll-choices strong{font-size:1.15rem}}.skill-icon{--skill-color:#cda95b;background:var(--surface-raised);border:1px solid var(--surface-border);border-bottom:3px solid var(--accent-border);border-radius:8px;flex:0 0 48px;width:48px;height:48px;padding:3px;display:block;box-shadow:inset 0 1px #c6b47d22}.skill-icon svg{width:100%;height:100%;display:block;overflow:visible}.skill-icon[data-book=warrior],.skill-icon[data-book=berserker]{--skill-color:#b87351;background:#3b2c23}.skill-icon[data-book=weaponmaster]{--skill-color:#b18b49;background:#373323}.skill-icon[data-book=archer],.skill-icon[data-book=bowmaster]{--skill-color:#73975a;background:#2d3c26}.skill-icon[data-book=marksman]{--skill-color:#6c8894;background:#263941}.skill-icon[data-book=mage],.skill-icon[data-book=invoker]{--skill-color:#7998b1;background:var(--info-bg)}.skill-icon[data-book=hexweaver]{--skill-color:#937c9b;background:#352c3b}.skill-icon[data-book=rogue],.skill-icon[data-book=assassin]{--skill-color:#a595bc;background:#30293e}.skill-icon[data-book=bandit]{--skill-color:#b49b77;background:#352e29}.skill-icon[data-element=fire]{--skill-color:#ce7859;background:#3b2c23}.skill-icon[data-element=water]{--skill-color:#7ca9c1;background:var(--info-bg)}.skill-icon[data-element=earth]{--skill-color:#8da65b;background:#2d3c26}.skill-icon[data-element=air]{--skill-color:#79a5a2;background:#233b34}.skill-card .section-heading{align-items:flex-start}.skill-card h3{overflow-wrap:anywhere}.skill-card .skill-icon{border-radius:10px;flex-basis:72px;width:72px;height:72px;padding:5px}.book-tabs button{white-space:normal;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-width:104px;max-width:100%;min-height:64px;display:flex}.book-tab-name{overflow-wrap:anywhere;font:400 1.05rem/1.2 Bree Serif,Georgia,serif}.book-tab-job{font-size:.67rem;font-weight:600;line-height:1.3}@media (width<=760px){.skill-icon{border-radius:6px;flex-basis:36px;width:36px;height:36px;padding:2px}.skill-card .skill-icon{border-radius:8px;flex-basis:56px;width:56px;height:56px;padding:4px}}.world-page{min-width:0}.world-viewport{isolation:isolate;touch-action:pan-y pinch-zoom;width:100%;min-width:0;position:relative}.world-landscape{width:100%;max-width:max(280px,calc((100dvh - var(--hero-topbar-height,84px) - 100px)*1.5));aspect-ratio:3/2;margin-inline:auto;position:relative}.world-atlas,.world-routes{pointer-events:none;-webkit-user-select:none;user-select:none;width:100%;height:100%;display:block;position:absolute;inset:0}.world-atlas{object-fit:contain}.world-city-illustration{pointer-events:none;-webkit-user-select:none;user-select:none;height:auto;display:block;position:absolute;transform:translate(-50%,-85%)}.world-routes{overflow:visible}.world-route-edge,.world-route-path{fill:none;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}.world-route-edge{stroke:#725638;stroke-width:5px}.world-route-path{stroke:#f8e8be;stroke-width:3px}.world-route-path.trail{stroke-dasharray:7 6}.world-route-path.crossing{stroke-dasharray:4 5}.world-route-edge.closed{stroke:#827b64}.world-route-path.closed{stroke:#c9c6ad}.world-route-edge.planned{stroke:#a99d81}.world-route-path.planned{stroke:#ddd4b7}.world-bridge-deck{fill:#bcaa80;stroke:#867454;stroke-width:2px}.world-bridge-planks{fill:none;stroke:#8c7d5b;stroke-width:1.5px}.world-bridge-rails{fill:none;stroke:#806b4c;stroke-width:3px;stroke-linecap:round}.world-point{z-index:2;width:44px;height:44px;position:absolute;transform:translate(-50%,-50%)}.world-point.locked{opacity:1}.world-point.dungeon .world-pin{color:#513659;background:#f3dfb4;border-color:#684c76;border-radius:8px;width:32px;height:32px;font-size:1.5rem;box-shadow:0 0 0 2px #fff9e8,0 3px 5px #263b3080}.world-point.dungeon .world-node-name{border-color:var(--accent-border);max-width:145px;padding:4px 6px;font-size:.7rem;top:calc(100% + 2px);bottom:auto}.world-dungeon-lock{background:#fff7df;border:1px solid #787466;border-radius:4px;padding:2px;font-size:.7rem;line-height:1;position:absolute;top:-3px;right:-1px}.world-point.dungeon.locked .world-pin{color:#59515c;background:#dedbd7;border-color:#686367}.world-point.dungeon .world-marker:focus-visible .world-pin{outline-offset:3px;outline:3px solid #e8b956}.world-point:focus-within,.world-point:hover{z-index:4}.world-point:hover .world-node-name,.world-marker:focus-visible .world-node-name{visibility:visible}.world-point button{scroll-margin-top:calc(var(--hero-topbar-height,84px) + 16px)}.world-page .world-marker{color:#294d37;width:44px;min-width:44px;height:44px;min-height:44px;box-shadow:none;background:0 0;border:0;place-items:center;padding:0;display:grid;position:relative;overflow:visible}.world-page button:hover,.world-page button:active{transform:none}.world-page .world-marker:hover:not(:disabled){background:0 0}.world-pin{background:#fff6d6;border:3px solid #705530;border-radius:50%;place-items:center;width:18px;height:18px;font-size:.85rem;font-weight:900;line-height:1;display:grid;box-shadow:0 0 0 2px #fff5d6a6,0 2px 3px #273a2655}.area .world-pin{color:#294d37;background:#fff2bd;border-color:#443923;width:32px;height:32px;box-shadow:0 0 0 3px #fff9e8,0 3px 5px #263b3080}.world-pin-core{background:currentColor;border-radius:50%;width:8px;height:8px}.world-lock{width:17px;height:17px;display:block}.area .world-marker:hover:not(:disabled) .world-pin,.area .world-marker:focus-visible .world-pin{outline-offset:3px;outline:3px solid #e8b956}.world-point.city,.world-page .city .world-marker{width:52px;height:52px}.city .world-pin{background:#fff2bd;border-color:#715c32;border-radius:10px 10px 15px 15px;width:46px;height:46px;font-size:2rem;box-shadow:0 0 0 3px #fff2cdb0,0 3px #62492855}.world-node-name{border:1px solid var(--accent-border);background:var(--surface-panel);width:max-content;max-width:185px;color:var(--ink);visibility:hidden;pointer-events:none;text-align:center;border-radius:4px;padding:5px 9px;font-family:Bree Serif,Georgia,serif;font-size:.8rem;font-weight:400;line-height:1.15;position:absolute;bottom:calc(100% - 3px);left:50%;transform:translate(-50%);box-shadow:0 2px 5px #30412c30}.world-node-levels{white-space:nowrap;opacity:.85;margin-top:3px;font-size:.68rem;font-weight:400;line-height:1.25;display:block}.city .world-node-name{background:var(--surface-panel);border-color:var(--accent-border);letter-spacing:.02em;border-radius:2px;padding:6px 17px;font-size:1rem;top:calc(100% + 3px);bottom:auto;box-shadow:0 3px #6b503b50}.planned .world-pin{color:#675938;background:#eee4bd;border-style:dashed;width:32px;height:32px;font-size:1.4rem;box-shadow:0 1px 3px #453b2a50}.city.planned .world-node-name{background:var(--surface-raised);padding:5px 10px;font-size:.86rem;top:auto;bottom:calc(100% + 3px)}.city.planned.south .world-node-name{top:calc(100% + 3px);bottom:auto}.edge-top.area .world-node-name{top:calc(100% - 3px);bottom:auto}.edge-right .world-node-name{left:auto;right:0;transform:none}.world-point.current .world-pin{color:#fff7d8;background:#365f43;border-color:#e3bc59;box-shadow:0 0 0 3px #294c3b,0 0 0 5px #f5e4ad}.world-point.locked .world-pin{color:#454b42;background:#e2e0d4;border-style:solid;border-color:#595b51}.world-point.highlighted .world-pin{outline-offset:6px;outline:3px solid #edb83e}.world-current{color:#fff1b9;text-shadow:0 1px 2px #193b27,1px 0 #193b27,-1px 0 #193b27;pointer-events:none;font-size:1rem;position:absolute;top:-15px;left:50%;transform:translate(-50%)}.world-point.area.current:not(.edge-top) .world-node-name{bottom:calc(100% + 16px)}.world-quest{color:#6c4c16;pointer-events:none;background:#fff5d5;border:2px solid #5e451f;border-radius:50%;place-items:center;width:20px;height:20px;font-size:1rem;line-height:1;display:grid;position:absolute;top:-3px;right:-3px}.world-point.city.edge-top .world-node-name{top:auto;bottom:calc(100% + 3px)}.world-help{color:var(--muted);margin:12px 0}.world-region-picker{color:var(--muted)}.world-region-picker select{background:var(--surface-inset);border-color:var(--line);color:var(--ink)}.world-route-preview{border:1px solid var(--surface-border);border-bottom:3px solid var(--accent-border);background:var(--surface-panel);border-radius:10px;min-width:0;padding:12px 14px;box-shadow:0 3px 12px #172c2f40}.world-route-preview h2{overflow-wrap:anywhere;margin:4px 0 8px;font-size:1.15rem;line-height:1.25}.world-route-preview p{margin:8px 0}.world-route-preview ol{overscroll-behavior:contain;max-height:140px;margin:10px 0;padding-left:24px;font-size:.72rem;line-height:1.6;overflow-y:auto}.world-route-preview li{overflow-wrap:anywhere;padding-left:3px}.world-route-preview button{width:100%;min-height:44px}.world-map-controls>.world-route-preview{overscroll-behavior:contain;grid-column:1/-1;max-height:min(340px,45dvh);overflow-y:auto}@media (width>=1101px){.world-stage-root>.world-map-layout:has(.world-route-preview){grid-template-rows:minmax(0,3fr) minmax(0,2fr)}.world-map-layout:has(.world-route-preview)>.world-map-controls{overscroll-behavior:contain;min-height:0;overflow-y:auto}}.world-list>div{gap:0;display:grid}.world-list article{border-top:1px solid var(--line);align-items:center;gap:1rem;padding:1rem 0;display:flex}.world-list article>span{color:var(--accent-ink);font-size:1.7rem}.world-list article>div>small{color:var(--accent-ink)}.world-list h3,.world-list p{margin:0 0 .35rem}.world-list article>div:first-of-type{flex:1;min-width:0}.world-list-actions{gap:.4rem;display:flex}.planned-city-list>div{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.planned-city-list article{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding-top:12px;display:flex}.planned-city-list h3,.planned-city-list p{margin:0 0 5px}.world-page button:focus-visible,.safe-location button:focus-visible{outline-offset:3px;outline:3px solid #b77c21}.safe-actions{flex-wrap:wrap;gap:.6rem;margin-top:.8rem;display:flex}.safe-location .scene-panel{position:relative}.safe-location .safe-spots{position:absolute;inset:0}.safe-location .safe-spot{white-space:nowrap;background:var(--surface-panel);min-height:40px;color:var(--ink);border:1px solid var(--surface-border);font-size:.75rem;position:absolute;transform:translate(-50%,-50%);box-shadow:0 3px 5px #201c3e35}.safe-location .safe-spot:hover,.safe-location .safe-spot:active{transform:translate(-50%,-50%)}.safe-location .safe-spot:hover:not(:disabled){background:var(--surface-hover);border-color:var(--accent-border)}.safe-actions button{min-height:44px}.city-building-list{display:none}.regional-patrols .button-row button{align-items:center;gap:.6rem;display:flex}.regional-patrols img{object-fit:contain;width:55px;height:55px}@media (width<=650px){.city-building-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0;display:grid}.city-building-list button{min-height:44px;padding:9px;font-size:.75rem}.world-viewport{padding-block:38px}.area .world-pin{width:28px;height:28px}.world-pin-core{width:7px;height:7px}.world-lock{width:15px;height:15px}.world-node-name{max-width:145px;font-size:.69rem}.city .world-node-name{padding:5px 12px;font-size:.82rem}.city.planned .world-node-name{padding:5px 8px;font-size:.65rem}.planned-city-list>div{grid-template-columns:1fr}.world-list article{flex-wrap:wrap;gap:.6rem}.world-list-actions{justify-content:flex-end;width:100%}.safe-spots{display:none}.safe-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.safe-actions button{padding:.6rem;font-size:.8rem}}.safe-location .healing-well-hint,.places-list .healing-well-hint{color:var(--leaf);margin-top:3px;font-size:.65rem;line-height:1.3;display:block}@media (height<=500px) and (width>=651px){.world-viewport{padding-block:24px}.city.planned.south .world-node-name{top:auto;bottom:calc(100% + 3px)}}.world-destination-icon{flex:none;width:36px;height:36px;display:block;overflow:visible}.world-list .world-destination-icon{width:40px;height:40px}.planned .world-destination-icon{width:25px;height:25px}.world-point.locked .world-destination-icon{filter:saturate(.55)}.world-city-lock{pointer-events:none;color:#4d4d40;background:#fff3d6;border:1px solid #66614e;border-radius:4px;place-items:center;width:18px;height:18px;display:grid;position:absolute;bottom:-1px;left:-2px;box-shadow:0 1px 3px #263b3066}.world-city-lock .world-lock{width:12px;height:12px}.app-shell.has-hero{--hero-topbar-height:84px}.app-shell.has-hero .topbar{z-index:30;height:var(--hero-topbar-height);gap:20px;padding:6px max(20px,50vw - 740px);position:sticky;top:0;box-shadow:0 3px 14px #152c2540}.app-shell.has-hero .brand{flex:0 240px;min-width:0;height:62px}.app-shell.has-hero .brand img{width:240px;max-width:100%;height:70px}.app-shell.has-hero .topbar-actions{gap:20px;min-width:0;margin-left:auto}.app-shell.has-hero .sidebar{top:calc(var(--hero-topbar-height) + 18px)}.app-shell.has-hero .battle-screen{scroll-margin-top:calc(var(--hero-topbar-height) + 10px)}.hero-status{color:#fff8de;grid-template-columns:minmax(140px,.9fr) minmax(175px,1.1fr);align-items:center;gap:12px;width:415px;min-width:0;max-width:100%;display:grid;position:relative}.hero-menu{min-width:0}.hero-menu>summary{cursor:pointer;background:var(--surface-panel);-webkit-user-select:none;user-select:none;border:1px solid #7c906c;border-radius:8px;align-items:center;gap:9px;min-height:54px;padding:5px 7px;list-style:none;display:flex}.hero-menu>summary::-webkit-details-marker{display:none}.hero-menu>summary::marker{content:""}.hero-menu>summary:hover,.hero-menu[open]>summary{background:var(--surface-hover);border-color:var(--accent-border)}.hero-menu>summary:focus-visible{outline:3px solid var(--gold);outline-offset:3px}.hero-status-avatar{background:#bdc79433;border-radius:6px;flex:0 0 38px;width:38px;height:42px;display:block;position:relative;overflow:hidden}.hero-status-avatar :is(img,.equipped-avatar){object-fit:contain;width:75px;max-width:none;height:90px;position:absolute;top:0;left:50%;transform:translate(-50%,-23px)}.hero-status-name{flex:1;gap:2px;min-width:0;display:grid}.hero-status-name strong{text-overflow:ellipsis;white-space:nowrap;font-family:Bree Serif,Georgia,serif;font-size:1rem;font-weight:400;line-height:1.2;overflow:hidden}.hero-status-name small{color:#d1ddba;font-size:.62rem}.hero-status-chevron{color:#e8c577;font-size:1rem}.hero-status-resources{gap:4px;min-width:0;display:grid}.hero-status .resource{font-variant-numeric:tabular-nums;background:#102b23;border-color:#718263;min-width:0;height:18px;margin:0;font-size:.6rem;line-height:1}.hero-status .resource>span,.hero-status .resource>strong{padding:0 6px}.hero-status .resource.xp{color:#fffbd9;height:15px;font-size:.55rem}.hero-status .resource.xp .resource-fill{background:#596d32}.hero-menu-panel{width:350px;max-width:calc(100vw - 24px);max-height:calc(100dvh - var(--hero-topbar-height) - 24px);overscroll-behavior:contain;background:var(--surface-panel);color:var(--ink);border:1px solid var(--surface-border);border-top:4px solid var(--accent-border);border-radius:8px;padding:20px;font-size:.8rem;position:absolute;top:calc(100% + 13px);right:0;overflow-y:auto;box-shadow:0 14px 36px #0f281f50}.hero-menu-panel>header{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.hero-menu-panel h2{overflow-wrap:anywhere;margin:2px 0 6px;font-size:1.5rem}.hero-menu-panel .eyebrow{margin-bottom:6px;font-size:.58rem}.hero-menu-panel .specialization-badge{font-size:.7rem}.hero-menu-panel .guild-hero-title{margin:4px 0}.hero-menu-panel .hero-menu-close{color:var(--muted);background:0 0;border:0;flex-shrink:0;min-width:36px;min-height:36px;padding:2px;font-size:1.4rem}.hero-menu-wallet{border-block:1px solid var(--line);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 10px;padding:13px 0;display:grid}.hero-menu-wallet dt{color:var(--muted);font-size:.59rem}.hero-menu-wallet dd{font-variant-numeric:tabular-nums;margin:5px 0 0;font-size:.95rem;font-weight:800}.hero-menu-wallet>div:first-child dd{color:var(--gold)}.hero-menu-books{gap:5px;margin:0 0 14px;display:grid}.hero-menu-books>div{color:var(--muted);justify-content:space-between;gap:12px;font-size:.7rem;display:flex}.hero-menu-books dd{margin:0;font-weight:800}.hero-menu-links{gap:7px;display:grid}.app-shell .hero-menu-panel .secondary{background:var(--surface-raised);min-height:40px;color:var(--ink);border-color:var(--surface-border);border-bottom-color:var(--surface-border);font-size:.76rem;transform:none}.app-shell .hero-menu-panel .secondary:hover:not(:disabled){background:var(--surface-hover)}.hero-menu-panel>footer{border-top:1px solid var(--line);color:var(--muted);text-align:left;justify-content:space-between;align-items:center;gap:10px;margin:15px 0 0;padding:12px 0 0;font-size:.64rem;display:flex}.hero-menu-panel>footer .text-button{color:var(--muted);min-height:36px;padding:6px 0;font-size:.7rem}.hero-menu-panel .hero-menu-version{color:var(--muted);text-align:center;font-variant-numeric:tabular-nums;margin:8px 0 0;font-size:.64rem}@media (width<=850px){.app-shell.has-hero .brand{flex-basis:190px}.app-shell.has-hero .brand img{width:190px}.hero-status{width:375px}}@media (width<=650px){.app-shell.has-hero,.app-shell.has-hero.battle-mode{--hero-topbar-height:72px}.app-shell.has-hero .topbar{gap:10px;padding:5px 10px}.app-shell.has-hero .brand{flex:0 0 92px;height:48px}.app-shell.has-hero .brand img{width:92px;height:48px}.app-shell.has-hero .topbar-actions{flex:1;max-width:290px}.hero-status{grid-template-columns:45px minmax(0,1fr);gap:7px;width:100%}.hero-menu>summary{border-radius:6px;justify-content:center;gap:0;min-height:48px;padding:2px;position:relative}.hero-status-avatar{flex-basis:35px;width:35px;height:42px}.hero-status-name{display:none}.hero-status-chevron{font-size:.8rem;line-height:1;position:absolute;bottom:-1px;right:1px}.hero-status .resource{height:18px;font-size:.55rem}.hero-status .resource.xp{height:14px;font-size:.51rem}.hero-status .resource>span,.hero-status .resource>strong{padding:0 4px}.hero-status-resources{gap:3px}.hero-menu-panel{width:330px;padding:16px;top:calc(100% + 12px)}}@media (prefers-reduced-motion:reduce){.hero-status .resource-fill{transition:none}}.town-interior{border:1px solid var(--line,#526247);background:var(--paper,#203026);border-radius:12px;overflow:hidden}.town-heading{justify-content:space-between;align-items:center;gap:16px;padding:18px 22px;display:flex}.town-heading h1{margin:2px 0 5px;font-size:1.5rem}.town-heading p{color:var(--muted);margin:0;font-size:.8rem}.town-heading button{flex-shrink:0}.town-room{aspect-ratio:1672/941;background:var(--surface-inset);position:relative;overflow:hidden}.town-background{object-fit:contain;width:100%;height:100%;display:block}.town-person{pointer-events:none;width:16%;height:32%;position:absolute;bottom:32%;transform:translate(-50%)}.town-person .game-sprite{width:100%;height:100%}.town-person img{object-fit:contain;width:100%;height:100%}.town-player{object-fit:contain;pointer-events:none;width:22%;height:50%;position:absolute;bottom:-5%;left:39%}.town-spot{min-height:44px;color:var(--ink);border:1px solid var(--surface-border);white-space:nowrap;background:#203026ed;flex-direction:column;align-items:center;gap:2px;padding:9px 12px;font-size:.68rem;display:flex;position:absolute;transform:translate(-50%,-50%);box-shadow:0 3px 12px #06170e66}.town-spot small{font-size:.56rem;font-weight:400}.town-spot b{color:var(--success)}.town-spot:hover{background:var(--surface-hover)}.town-exit{padding:8px;font-size:.6rem}.town-room .town-spot:focus-visible{outline:3px solid var(--accent-ink);outline-offset:4px}.town-service .panel{box-shadow:none}.town-service h2{font-size:1.3rem}.town-service .guild-page{max-width:100%}.town-service .guild-tabs{flex-wrap:wrap}.town-service .guild-guide-grid{grid-template-columns:repeat(auto-fit,minmax(135px,1fr))}.town-service .guild-contracts{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}.town-trade-filters{flex-wrap:wrap;gap:12px;margin:14px 0;display:flex}.town-trade-filters label{flex:1;min-width:120px}.town-trade-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px;display:grid}.town-trade-item{background:var(--surface-panel);text-align:center;color:var(--ink);border:1px solid #526247;border-radius:9px;min-width:0;padding:10px}.town-trade-art{background:var(--surface-inset);border-radius:7px;height:110px;margin:6px 0;display:block}.town-trade-art[data-element=fire]{background:#3b2c23}.town-trade-art[data-element=water]{background:var(--info-bg)}.town-trade-art[data-element=earth]{background:#2d3c26}.town-trade-art[data-element=air]{background:#233b34}.town-trade-art .game-sprite{width:100%;height:100%}.town-trade-item strong,.town-trade-item small{display:block}.town-trade-item strong{font-family:Bree Serif,serif}.town-trade-item small{margin:3px 0;font-size:.65rem;font-weight:400}.town-service .shopkeeper-introduction .game-sprite{max-width:120px;height:130px}.town-mentor-choices{flex-wrap:wrap;gap:8px;margin:12px 0;display:flex}.town-mentor-choices button{flex:1;min-width:110px}.town-reset-preview ul{padding-left:20px}.town-inline-dialog{padding-top:8px}.town-inline-dialog .text-button{margin-bottom:10px}@media (width<=760px){.town-heading{flex-direction:column;align-items:flex-start;gap:9px;padding:13px}.town-heading h1{font-size:1.4rem}.town-heading button{align-self:flex-end}.town-heading p{font-size:.74rem}.town-room .town-spot{white-space:normal;width:18%;min-width:44px;max-width:92px;min-height:44px;padding:4px;font-size:.6rem;line-height:1.15}.town-room .town-spot small,.town-room .town-exit{display:none}.town-trade-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.town-service .class-grid{grid-template-columns:1fr}.town-service .guild-title-panel{display:block}}@media (prefers-reduced-motion:reduce){.town-person,.town-player{animation:none}}.guild-page [hidden]{display:none!important}.town-service button:hover{transform:none}.town-service button{transition:background-color .15s,border-color .15s}.town-room .town-spot:hover,.town-room .town-spot:active{transform:translate(-50%,-50%)}.town-heading button:hover{transform:none}.town-trade-item{overflow-wrap:anywhere;flex-direction:column;align-items:stretch;gap:3px;display:flex}.town-trade-item .town-trade-art{flex:none}.town-trade-item>strong{font-size:1rem;line-height:1.3}.town-trade-item .trade-stock{color:var(--muted)}.trade-item-details{text-align:left;margin-top:auto;font-size:.72rem}.trade-item-details summary{cursor:pointer;min-height:44px;color:var(--accent-ink);justify-content:center;align-items:center;gap:6px;display:flex}.trade-item-details summary:after{content:"+";font-size:1rem}.trade-item-details[open] summary:after{content:"−"}.trade-item-details p{line-height:1.45}.trade-item-action{width:100%;min-height:44px;padding:8px 5px;font-size:.7rem}.trade-item-reason{min-height:1.3em;color:var(--muted);line-height:1.3}.trade-feedback{min-height:1.5em;color:var(--success);font-size:.8rem}.trade-highlighted{outline:2px solid var(--accent-border);outline-offset:2px}.trade-item-details summary:focus-visible,.trade-highlighted:focus-visible{outline:3px solid var(--accent-ink);outline-offset:3px}.guild-page{gap:20px;display:grid}.guild-page .panel{margin-bottom:0}.guild-welcome{background:var(--surface-panel);border-top:5px solid var(--leaf);grid-template-columns:116px minmax(0,1fr);align-items:center;gap:22px;display:grid}.guild-welcome>.game-sprite{width:116px;height:160px}.guild-welcome h2{max-width:540px;font-size:1.9rem}.guild-welcome p{max-width:640px}.guild-membership{background:var(--surface-selected);color:var(--ink);border-bottom:4px solid var(--surface-inset);border-radius:9px;align-items:center;gap:22px;padding:19px 24px;display:flex}.guild-rank-stamp{align-items:center;gap:12px;min-width:155px;display:flex}.guild-rank-stamp>span{color:var(--gold);font-size:2rem}.guild-rank-stamp small,.guild-rank-stamp strong{display:block}.guild-rank-stamp small{letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-size:.65rem}.guild-rank-stamp strong{font-family:Bree Serif,Georgia,serif;font-size:1.2rem;font-weight:400}.guild-renown{flex:1;min-width:0;font-size:.72rem}.guild-membership .guild-progress{background:var(--surface-inset);border-color:var(--line);margin:6px 0 0}.guild-membership .guild-progress>span{background:var(--gold)}.guild-seals{text-align:center;min-width:60px;display:grid}.guild-seals>b{color:var(--gold);font-family:Bree Serif,Georgia,serif;font-size:1.7rem}.guild-seals>span{font-size:.65rem}.guild-tabs{border-bottom:2px solid var(--line);gap:5px;display:flex;overflow-x:auto}.guild-tabs>button{background:var(--surface-inset);color:var(--muted);white-space:nowrap;border-color:#0000 #0000 currentColor;border-bottom-style:none;border-bottom-width:0;border-radius:7px 7px 0 0;font-size:.83rem;position:relative}.guild-tabs>button[aria-selected=true]{background:var(--surface-selected);color:var(--ink)}.guild-tabs>button:hover{transform:none}.guild-tabs .notification-dot{margin-left:6px;display:inline-block;position:static}.guild-page [role=tabpanel]{gap:20px;display:grid}.guild-pinned{background:var(--surface-panel);border:5px solid var(--surface-border);border-radius:8px;padding:23px;box-shadow:inset 0 0 0 1px #ad965b44}.guild-pinned>.section-heading h2{margin-bottom:6px}.guild-pinned>.section-heading .eyebrow{color:var(--accent-ink)}.guild-pinned>.muted{color:var(--muted)}.guild-contract-grid{grid-template-columns:repeat(auto-fill,minmax(min(220px,100%),1fr));gap:16px;display:grid}.guild-contract{border:1px solid var(--surface-border);border-bottom:4px solid var(--accent-border);background:var(--surface-raised);border-radius:4px;flex-direction:column;align-items:flex-start;min-width:0;padding:22px 17px 17px;display:flex;position:relative}.guild-contract.pinned{box-shadow:1px 3px 4px #06170e66}.guild-contract .eyebrow{margin-bottom:12px;font-size:.58rem}.guild-contract h3{max-width:240px;font-size:1.3rem}.guild-contract>p{margin-bottom:10px}.guild-contract>button{margin-top:auto}.guild-contract .guild-progress{align-self:stretch}.guild-contract .guild-reward{color:var(--leaf);font-size:.72rem;font-weight:800}.guild-contract.locked{background:var(--surface-inset);border-color:var(--line)}.guild-contract.locked .guild-pin{background:var(--muted)}.guild-contract.ready{border-color:var(--accent-border);background:var(--success-bg)}.guild-pin{background:#a9513e;border:1px solid #803c30;border-radius:50%;width:8px;height:8px;position:absolute;top:8px;left:calc(50% - 4px);box-shadow:1px 2px 1px #0002}.guild-empty-slot{text-align:center;border:2px dashed var(--line);min-height:190px;color:var(--muted);border-radius:5px;flex-direction:column;justify-content:center;align-items:center;gap:5px;padding:20px;display:flex}.guild-empty-slot>span{font-size:2rem}.guild-empty-slot>p{max-width:210px;margin:0}.guild-progress{background:var(--surface-inset);border:1px solid var(--line);border-radius:8px;height:8px;margin:0 0 7px;overflow:hidden}.guild-progress>span{background:var(--leaf);border-radius:6px;height:100%;display:block}.guild-region{min-width:185px;max-width:245px;margin:0}.guild-region select{font-size:.75rem}.guild-feedback{border:1px solid var(--line);background:var(--success-bg);border-radius:6px;margin:0;padding:12px 16px;font-size:.85rem}.guild-guide-filters{grid-template-columns:2fr 1fr 1fr;gap:12px;display:grid}.guild-guide-filters label{min-width:0;font-size:.7rem}.guild-guide-grid{grid-template-columns:repeat(auto-fill,minmax(min(145px,100%),1fr));gap:12px;display:grid}.guild-guide-card{background:var(--surface-raised);border:1px solid var(--surface-border);border-bottom:3px solid var(--accent-border);color:var(--ink);text-align:center;border-radius:5px;flex-direction:column;align-items:center;min-width:0;padding:12px 10px;display:flex}.guild-guide-card:hover:not(:disabled){background:var(--surface-hover)}.guild-guide-card:disabled{opacity:1;cursor:default;background:var(--surface-inset);color:var(--muted);border-color:var(--line)}.guild-guide-card .eyebrow{margin:9px 0 5px;font-size:.5rem;line-height:1.5}.guild-guide-card strong{font-family:Bree Serif,Georgia,serif;font-size:.9rem;font-weight:400;line-height:1.2}.guild-guide-card small{color:var(--muted);margin-top:8px;font-size:.6rem}.guild-guide-art{flex:0 0 100px;place-items:center;width:100%;min-height:100px;display:grid;position:relative;overflow:hidden}.guild-guide-art img{object-fit:contain;width:100%;height:100%;display:block;position:absolute;inset:0}.guild-guide-art>span{color:var(--muted);font-family:Bree Serif,Georgia,serif;font-size:3rem}.guild-title-panel{grid-template-columns:1fr minmax(150px,240px);align-items:center;gap:25px;display:grid}.guild-title-panel label{font-size:.75rem}.guild-title-panel h2{color:var(--leaf)}.guild-rank-list{gap:10px;margin:0;padding:0;list-style:none;display:flex}.guild-rank-list li{text-align:center;border:1px solid var(--line);background:var(--surface-inset);border-radius:6px;flex:1;align-content:start;gap:6px;min-width:0;padding:12px 5px;display:grid}.guild-rank-list .earned{background:var(--success-bg);border-color:var(--accent-border)}.guild-rank-list li>span{color:var(--success);font-size:1.2rem}.guild-rank-list strong{overflow-wrap:anywhere;font-size:.72rem}.guild-rank-list small{color:var(--muted);font-size:.6rem}.guild-achievements{grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr));gap:14px;display:grid}.guild-achievement{border:1px solid var(--surface-border);background:var(--surface-raised);border-radius:6px;grid-template-columns:30px minmax(0,1fr);gap:10px;padding:16px;display:grid}.guild-achievement h3{font-size:1.1rem}.guild-achievement p{margin-bottom:8px}.guild-achievement-mark{color:var(--accent-ink);font-size:1.5rem}.guild-achievement.ready{border-color:var(--accent-border);background:var(--success-bg)}.guild-achievement.claimed{background:var(--surface-inset)}.guild-achievement.claimed .guild-achievement-mark{color:var(--success)}.guild-supplies{grid-template-columns:repeat(auto-fit,minmax(min(190px,100%),1fr));gap:16px;display:grid}.guild-supply{border:1px solid var(--surface-border);background:var(--surface-raised);text-align:center;border-radius:7px;flex-direction:column;align-items:center;padding:20px 16px;display:flex}.guild-supply>.game-sprite{object-fit:contain;flex-shrink:0;width:100px;height:100px;margin-bottom:12px;display:block}.guild-supply button{margin-top:auto;font-size:.75rem}.guild-observed-art{background:var(--surface-inset);border:1px solid var(--line);border-radius:7px;place-items:center;height:170px;margin-bottom:18px;display:grid}.guild-observed-art img{object-fit:contain;width:90%;height:155px}.guild-element-table{flex-wrap:wrap;gap:8px;margin-bottom:15px;display:flex}.guild-element-table>div{text-align:center;flex:1;gap:5px;min-width:65px;display:grid}.guild-element-table b{font-size:.85rem}.guild-tracker{border-top:3px solid var(--accent-border)}.guild-tracker h3{font-size:1.2rem}.guild-tracker p{border-bottom:1px solid var(--line);padding-bottom:9px}.guild-ready-label{color:var(--success);margin-top:4px;display:block}.guild-hero-title{color:var(--accent-ink);margin:4px 0 8px;font-family:Bree Serif,Georgia,serif;font-size:.85rem;display:block}.selection-name .guild-hero-title{font-size:.8rem;line-height:1.3}.guild-targets{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;margin:12px 0;display:grid}.guild-targets>button{text-align:left;align-items:center;gap:9px;min-width:0;padding:10px;font-size:.78rem;display:flex}.guild-targets img{object-fit:contain;flex-shrink:0;width:52px;height:66px}.guild-targets span{min-width:0}.guild-targets small{text-transform:capitalize;margin-top:5px;font-size:.68rem;display:block}.guild-page [data-contract] .eyebrow{line-height:1.5}@media (width<=420px){.guild-targets{grid-template-columns:1fr}}@media (width>=1200px){.guild-page .guild-contract-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.guild-pinned .guild-contract-grid{grid-template-columns:repeat(auto-fit,minmax(185px,1fr))}}@media (width<=680px){.guild-welcome{grid-template-columns:74px minmax(0,1fr);gap:12px;padding:18px}.guild-welcome>.game-sprite{width:74px;height:120px}.guild-welcome h2{font-size:1.45rem}.guild-welcome p{font-size:.8rem}.guild-membership{flex-wrap:wrap;gap:12px;padding:15px}.guild-rank-stamp{flex:1}.guild-renown{flex-basis:100%;order:3}.guild-tabs{gap:2px}.guild-tabs>button{flex:1;padding:11px 10px;font-size:.72rem}.guild-pinned{border-width:4px;padding:15px}.guild-pinned .section-heading{align-items:flex-start}.guild-pinned h2{font-size:1.4rem}.guild-contract-grid{grid-template-columns:repeat(auto-fill,minmax(min(200px,100%),1fr))}.guild-page .section-heading{flex-wrap:wrap;gap:10px}.guild-region{width:100%;max-width:none}.guild-guide-filters{grid-template-columns:1fr 1fr}.guild-guide-filters>label:first-child{grid-column:1/-1}.guild-guide-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.guild-guide-card .eyebrow{font-size:.48rem}.guild-title-panel{grid-template-columns:1fr;gap:10px}.guild-rank-list{flex-wrap:wrap}.guild-rank-list li{flex-basis:29%}.guild-achievements{grid-template-columns:1fr}}@media (width<=360px){.guild-welcome{grid-template-columns:1fr}.guild-welcome>.game-sprite{display:none}.guild-tabs>button{padding:12px 6px;font-size:.65rem}.guild-guide-card{padding:10px 6px}.guild-rank-stamp{min-width:145px}.guild-pinned .point-badge{padding:5px;font-size:.65rem}}.modal.guild-service-modal{max-width:1040px;max-height:calc(100dvh - 32px);overflow-y:auto}.guild-service-modal p{max-width:75ch}.expedition-heading{border-top:4px solid var(--accent-border);grid-template-columns:minmax(0,1fr) 88px;align-items:center;gap:16px;display:grid}.expedition-heading h2{font-size:1.65rem}.expedition-heading>img{object-fit:contain;width:88px;height:88px}.expedition-heading p{margin:0}.expedition-tabs{border-top:1px solid var(--line);grid-column:1/-1;gap:8px;padding-top:15px;display:flex}.expedition-tabs button{min-height:44px;font-size:.76rem}.expedition-materials{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:20px;display:grid}.expedition-materials>div{border:1px solid var(--line);background:var(--surface-inset);border-radius:7px;align-items:center;gap:7px;min-width:0;padding:8px;display:flex}.expedition-materials img{object-fit:contain;flex-shrink:0;width:30px;height:35px}.expedition-materials span{overflow-wrap:anywhere;flex:1;min-width:0;font-size:.6rem;line-height:1.4}.expedition-materials strong{color:var(--leaf);font-variant-numeric:tabular-nums;font-size:.95rem;display:block}.expedition-cards{flex-direction:column;gap:18px;display:flex}.expedition-card.panel{grid-template-columns:160px minmax(0,1fr);margin:0;padding:0;display:grid;overflow:hidden}.expedition-card-art{isolation:isolate;background-position:50%;background-size:cover;justify-content:center;align-items:flex-end;min-height:260px;display:flex;position:relative}.expedition-card-art:before{content:"";z-index:-1;background:linear-gradient(#243c2220,#162b23d9);position:absolute;inset:0}.expedition-card-art>img{object-fit:contain;width:160px;height:200px;position:absolute;top:15px}.expedition-card-art>span{color:#fff0c9;z-index:1;padding:15px 10px;font-size:.63rem;line-height:1.5}.expedition-card-copy{min-width:0;padding:20px}.expedition-card-copy h3{font-size:1.5rem}.expedition-card-copy>.eyebrow{font-size:.55rem}.expedition-card-copy>label{margin:14px 0 10px;font-size:.66rem}.expedition-card-copy select{padding:8px;font-size:.76rem}.expedition-card-copy>button{min-height:44px;font-size:.74rem}.expedition-card-copy>.small:last-child{margin:10px 0 0;font-size:.67rem}.expedition-clears{color:var(--muted);border-top:1px solid var(--line);padding-top:8px;font-size:.64rem}.locked-expedition .expedition-card-art{filter:saturate(.45)}.expedition-rewards{border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:var(--accent-ink);margin:12px 0;padding:11px 0;font-size:.71rem;line-height:1.65}.expedition-rewards>span{color:var(--muted);font-size:.61rem}.expedition-run{border:2px solid var(--accent-border)}.expedition-run .section-heading{flex-wrap:wrap;align-items:flex-start}.expedition-run h2{font-size:1.4rem}.expedition-recovery{border:1px solid var(--line);background:var(--surface-inset);border-radius:7px;margin-bottom:18px;padding:14px}.expedition-recovery h3{margin:0 0 6px;font-size:1.1rem}.expedition-recovery>p{margin:0 0 10px}.expedition-resources{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:8px;display:grid}.expedition-recovery .dock-potions{order:0;flex:initial;border:0;gap:8px;padding:0}.expedition-recovery .dock-potions .dock-potion{min-height:48px;font-size:.75rem}.expedition-recovery .dock-potion-feedback{width:auto;max-width:100%;box-shadow:none;background:0 0;border:0;grid-column:1/-1;padding:0;position:static}.expedition-seal{background:var(--surface-selected);color:var(--leaf);border-radius:5px;padding:6px 8px;font-size:.62rem}.expedition-path{grid-template-columns:repeat(5,minmax(0,1fr));gap:0;margin:24px 0;padding:0;list-style:none;display:grid}.expedition-path li{text-align:center;min-width:0;color:var(--muted);flex-direction:column;align-items:center;gap:6px;font-size:.6rem;display:flex;position:relative}.expedition-path li:before{content:"";background:var(--line);height:3px;position:absolute;top:17px;left:-50%;right:50%}.expedition-path li:first-child:before{display:none}.expedition-path li>span{background:var(--surface-raised);border:2px solid var(--line);z-index:1;border-radius:50%;place-items:center;width:36px;height:36px;font-weight:800;display:grid}.expedition-path li strong{overflow-wrap:anywhere;padding:0 3px;font-size:.65rem;line-height:1.3}.expedition-path small{text-transform:capitalize;font-size:.54rem}.expedition-path .done>span,.expedition-path .done:before{background:var(--success-bg);color:var(--success);border-color:var(--success-bg)}.expedition-path .current{color:var(--accent-ink)}.expedition-path .current>span{background:var(--surface-selected);border-color:var(--accent-border);box-shadow:0 0 0 4px #dfc68c22}.expedition-chamber{border:1px solid var(--surface-border);background:var(--surface-inset);border-radius:7px;align-items:center;gap:15px;padding:16px;display:flex}.expedition-chamber>img{object-fit:contain;flex-shrink:0;width:80px;height:100px}.expedition-chamber>div{min-width:0}.expedition-chamber h3{font-size:1.2rem}.expedition-chamber p{font-size:.75rem}.expedition-chamber button{min-height:44px;font-size:.7rem}.expedition-run>.small{font-size:.67rem}.expedition-run>.text-button{min-height:44px;font-size:.68rem}.expedition-notice{background:var(--success-bg);border:1px solid var(--line);border-left:4px solid var(--accent-border);border-radius:7px;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px;padding:16px;display:flex}.expedition-notice h2{margin-bottom:8px;font-size:1.2rem}.expedition-notice .eyebrow{font-size:.55rem}.expedition-notice p{margin:0;font-size:.7rem}.expedition-notice button{flex-shrink:0;min-height:44px;font-size:.7rem}.workshop-intro{align-items:center;gap:16px;display:flex}.workshop-intro>img{object-fit:contain;width:95px;height:115px}.workshop-intro h2{font-size:1.5rem}.workshop-intro strong{color:var(--accent-ink);font-size:.75rem}.workshop-filters{grid-template-columns:1.5fr 1fr;gap:12px;margin:20px 0;display:grid}.workshop-filters label{font-size:.72rem}.workshop-filters select{font-size:.75rem}.workshop-recipes{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.workshop-recipe.panel{border-top:3px solid #7b96ae;min-width:0;margin:0;padding:16px}.workshop-recipe[data-rarity=epic]{border-top-color:#9476a7}.workshop-recipe-heading{align-items:center;gap:10px;margin-bottom:14px;display:flex}.workshop-recipe-heading>div{min-width:0}.workshop-recipe-heading h3{margin:5px 0;font-size:1rem;line-height:1.25}.workshop-recipe-heading .small{font-size:.61rem}.workshop-item-art{background:var(--surface-raised);border:1px solid var(--surface-border);border-radius:6px;flex:0 0 66px;place-items:center;width:66px;height:74px;display:grid}.workshop-item-art[data-element=fire]{background:#3b2c23}.workshop-item-art[data-element=water]{background:var(--info-bg)}.workshop-item-art[data-element=earth]{background:#2d3c26}.workshop-item-art[data-element=air]{background:#233b34}.workshop-item-art img,.workshop-item-art .game-sprite{object-fit:contain;width:100%;height:100%}.dungeon-rarity{text-transform:uppercase;letter-spacing:.08em;color:var(--info);font-size:.55rem;font-weight:800}.dungeon-rarity.epic{color:#ceb0df}.workshop-recipe>.small{font-size:.67rem}.workshop-recipe button{min-height:44px;font-size:.7rem}.workshop-recipe>p:last-child{margin:9px 0 0;font-size:.65rem}.workshop-cost{color:var(--accent-ink);border-top:1px solid var(--line);padding-top:10px;font-size:.65rem;line-height:1.6}.recipe-ready,.set-active{color:var(--success);font-weight:800}.set-inactive{color:var(--muted)}.bram-service-choices{grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:12px;margin-top:18px;display:grid}.bram-service-choices button{text-align:left;white-space:normal;min-height:82px}.bram-service-choices button strong,.bram-service-choices button small{display:block}.bram-service-choices button small{margin-top:6px;font-size:.76rem;font-weight:400;line-height:1.4}.dungeon-quest p{overflow-wrap:anywhere}.workshop-confirm,.expedition-conversation{max-height:67dvh;padding:2px 4px;overflow:auto}.workshop-confirm ul,.item-set-details ul,.equipped-sets ul{padding-left:18px;font-size:.72rem;line-height:1.8}.workshop-confirm>p,.expedition-conversation>p{font-size:.78rem}.workshop-confirm h3{margin-top:18px;font-size:1.1rem}.workshop-confirm button,.expedition-conversation button{min-height:44px;margin-bottom:8px;font-size:.76rem}.item-set-details,.equipped-sets{border:1px solid var(--surface-border);background:var(--surface-inset);border-radius:7px;margin:15px 0;padding:13px}.item-set-details h3,.equipped-sets h3{margin:8px 0;font-size:1.05rem}.item-set-details p{font-size:.64rem!important}.equipped-sets strong{font-size:.75rem}.equipped-sets ul{margin:6px 0 0}.battle-phase-label{margin-right:7px;font-weight:800}.battle-phase-label:after{content:" ·";color:var(--accent-ink);margin-left:6px}.pack-tile[data-rarity=rare]{border-top-color:#7b96ae}.pack-tile[data-rarity=epic]{border-top-color:#9476a7}@media (width<=760px){.expedition-heading{grid-template-columns:minmax(0,1fr) 64px;gap:9px}.expedition-heading>img{width:64px;height:64px}.expedition-heading h2{font-size:1.4rem}.expedition-tabs{gap:6px}.expedition-tabs button{padding:8px 10px;font-size:.68rem}.expedition-materials{gap:5px}.expedition-materials>div{gap:3px;padding:6px}.expedition-materials img{width:22px;height:28px}.expedition-materials span{font-size:.51rem}.expedition-materials strong{font-size:.8rem}.expedition-card.panel{grid-template-columns:94px minmax(0,1fr)}.expedition-card-art>img{width:105px;height:150px;top:20px}.expedition-card-art>span{padding:10px 7px;font-size:.52rem}.expedition-card-copy{padding:13px}.expedition-card-copy h3{font-size:1.2rem}.expedition-card-copy .small{font-size:.68rem}.expedition-path li strong{font-size:.55rem}.expedition-path small{font-size:.47rem}.expedition-path li>span{width:30px;height:30px}.expedition-path li:before{top:14px}.expedition-chamber{align-items:flex-start;gap:9px;padding:12px}.expedition-chamber>img{width:48px;height:70px}.expedition-chamber button{padding:8px 9px;font-size:.65rem}.expedition-notice{flex-direction:column;align-items:flex-start;padding:13px}.workshop-intro{gap:10px}.workshop-intro>img{width:58px;height:86px}.workshop-intro h2{font-size:1.25rem}.workshop-filters{grid-template-columns:1fr 1fr;gap:8px}.workshop-filters label{font-size:.65rem}.workshop-filters select{padding:8px 5px;font-size:.66rem}.workshop-recipes{grid-template-columns:1fr}.battle-phase-label{font-size:.52rem}}.topbar{background:var(--surface-inset);border-bottom:4px solid var(--accent-border);justify-content:space-between;align-items:center;height:93px;padding:8px max(24px,50vw - 740px);display:flex;box-shadow:0 2px 12px #243d2820}.brand{align-items:center;height:77px;display:flex}.brand img{object-fit:contain;width:280px;height:87px}.topbar-actions{color:#e9e9d1;align-items:center;gap:18px;font-size:.8rem;display:flex}.topbar .secondary{background:var(--surface-raised);color:var(--ink);border-color:#617059}.entry{max-width:1400px;margin:38px auto;padding:0 28px}.welcome{background:var(--surface-panel);border:1px solid var(--surface-border);border-radius:12px;grid-template-columns:1.5fr 1fr;min-height:580px;display:grid;overflow:hidden;box-shadow:0 12px 35px #2d48231c}.welcome-art{isolation:isolate;min-height:580px;position:relative}.welcome-art>img{object-fit:cover;z-index:-2;width:100%;height:100%;position:absolute}.welcome-art:after{content:"";z-index:-1;background:linear-gradient(#0000,#142e23e8);position:absolute;inset:35% 0 0}.welcome-caption{color:#fff5d5;position:absolute;bottom:40px;left:35px;right:25px}.welcome-caption .eyebrow{color:#e4cd83}.welcome-caption h1{text-shadow:0 3px 6px #20362b;font-size:2.8rem}.welcome-caption p{color:#e1e9d3;font-size:.95rem}.welcome-form{align-self:center;padding:50px 42px}.welcome-form h2{font-size:2rem}.welcome-form form{margin-bottom:15px}.game-layout{grid-template-columns:220px minmax(0,1fr) 265px;align-items:start;gap:24px;max-width:1480px;margin:0 auto;padding:30px 24px 45px;display:grid}.sidebar{background:var(--surface-panel);border:1px solid var(--line);border-radius:10px;position:sticky;top:18px;overflow:hidden}.hero-sheet{background:var(--surface-inset);border-bottom:1px solid var(--line);padding:18px 16px 13px}.hero-portrait{background:radial-gradient(at 50% 65%,#314b36,#0000 65%);height:132px;margin:-12px 0 0;overflow:hidden}.hero-portrait img{object-fit:contain;width:100%;height:200px;transform:translateY(-19px)}.hero-heading h2{margin-bottom:14px;font-size:1.45rem}.hero-heading .eyebrow{font-size:.58rem}.resource{color:#fffef2;text-shadow:0 1px 2px #0006;background:#102019;border:1px solid #00000016;border-radius:4px;justify-content:space-between;align-items:center;height:23px;margin-bottom:7px;font-size:.63rem;font-weight:800;display:flex;position:relative;overflow:hidden}.resource-fill{background:#bf6552;transition:width .35s;position:absolute;inset:0 auto 0 0}.resource>span,.resource>strong{z-index:1;padding:0 7px;position:relative}.resource.mp .resource-fill{background:#508eae}.resource.xp{color:#f3edda;height:17px;text-shadow:none;font-size:.55rem}.resource.xp .resource-fill{background:#596d32}.hero-currency{color:var(--muted);justify-content:space-between;margin-top:12px;font-size:.66rem;display:flex}.hero-currency b{color:var(--gold)}.sidebar nav{padding:9px}.nav-button{color:var(--muted);text-align:left;background:0 0;border:0;border-radius:5px;align-items:center;gap:12px;width:100%;margin-bottom:3px;padding:12px;font-size:.8rem;font-weight:700;display:flex}.nav-button>span{text-align:center;width:20px;font-size:1.1rem}.nav-button:hover:not(:disabled){background:var(--surface-hover);transform:none}.nav-button.selected{background:var(--surface-selected);color:var(--ink);box-shadow:inset 3px 0 var(--accent-border)}.notification-dot{background:#c59b3b;border-radius:50%;width:6px;height:6px;margin-left:auto}.sidebar>.text-button{margin:3px auto 15px;display:block}.page-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:19px;display:flex}.page-heading h1{margin:0;font-size:1.8rem}.page-heading .eyebrow{margin-bottom:7px}.location-badge{border:1px solid var(--surface-border);color:var(--muted);text-transform:capitalize;border-radius:5px;padding:7px 10px;font-size:.65rem}.game-main{min-width:0}.panel{background:var(--surface-panel);border:1px solid var(--surface-border);border-radius:9px;margin-bottom:20px;padding:23px;box-shadow:0 3px #b2bba51c}.section-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px;display:flex}.section-heading h2,.section-heading h3{margin:0}.scene-panel{background:#294b35;border:5px solid #6d573b;border-radius:10px;outline:1px solid #3e3828;margin-bottom:18px;position:relative;overflow:hidden;box-shadow:0 4px #08160e66}.scene-panel.danger{border-color:#a0563e}.scene-canvas{aspect-ratio:16/9;width:100%;display:block}.scene-label{color:#fff2cd;pointer-events:none;background:linear-gradient(#0000,#142820d9);padding:32px 16px 12px;font-size:.73rem;position:absolute;bottom:0;left:0;right:0}.town-hotspots{position:absolute;inset:0}.town-pin{background:var(--surface-panel);color:var(--ink);border:1px solid var(--accent-border);border-bottom:3px solid var(--accent-border);white-space:nowrap;padding:7px 9px;font-size:clamp(.55rem,.8vw,.7rem);position:absolute;transform:translate(-50%,-50%);box-shadow:0 2px 8px #253b3040}.town-pin:hover:not(:disabled){background:var(--surface-hover);transform:translate(-50%,-55%)}.town-pin.inn{top:47%;left:17%}.town-pin.guild{top:42%;left:49%}.town-pin.merchant{top:78%;left:63%}.town-pin.mentor{top:75%;left:88%}.enemy-hud{z-index:2;background:var(--surface-panel);border:1px solid #54472a;border-radius:7px;width:43%;padding:12px;position:absolute;top:14px;right:14px;box-shadow:0 3px #0002}.enemy-hud h2{margin-bottom:8px;font-size:1.05rem}.enemy-hud .eyebrow{font-size:.5rem}.enemy-hud .resource{margin:0}.enemy-intent{background:var(--surface-inset);border:1px solid var(--accent-border);color:var(--warning);border-radius:6px;align-items:center;gap:10px;margin-bottom:12px;padding:12px;font-size:.82rem;display:flex}.enemy-intent.warning{background:var(--warning-bg);color:var(--danger);border-color:#dba76c;font-weight:800}.resistances{flex-wrap:wrap;align-items:center;gap:5px;margin-bottom:18px;display:flex}.resistances>.muted{margin-right:4px}.action-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;display:grid}.action-grid button{min-height:66px;padding:12px 6px;font-size:.78rem}.action-grid button>span{margin-right:7px}.action-grid small{opacity:.8;margin-top:5px;font-size:.6rem;font-weight:600;display:block}.skill-action{background:#6a7550;border-color:#505a3a}.buffs{text-transform:capitalize;flex-wrap:wrap;gap:8px;margin-top:15px;font-size:.65rem;display:flex}.buffs>span{background:var(--success-bg);border:1px solid var(--line);border-radius:5px;padding:5px 8px}.gear-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.gear-grid select{padding:9px 5px;font-size:.72rem}.gear-grid label{font-size:.65rem}.panel>.small:last-child{margin-top:14px;margin-bottom:0}.area-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0;display:grid}.area-card{background:var(--surface-inset);border:1px solid var(--line);border-radius:8px;overflow:hidden}.area-card>img{object-fit:cover;width:100%;height:90px;display:block}.area-card>div{padding:13px}.area-card h3{min-height:36px;font-size:1rem}.area-card .eyebrow{font-size:.5rem}.area-card button{width:100%;padding:7px;font-size:.57rem}.locked{opacity:.67}.quest-sidebar{padding-top:71px}.quest-panel{padding:22px}.quest-panel h2{font-size:1.6rem}.quest-panel>p{font-size:.81rem}.quest-progress{background:var(--surface-inset);border-radius:6px;height:6px;margin:18px 0 8px;overflow:hidden}.quest-progress span{background:#95ac65;height:100%;display:block}.quest-npc{border-top:1px solid var(--line);align-items:center;gap:5px;margin-top:18px;margin-bottom:12px;padding-top:15px;font-size:.73rem;display:flex}.quest-npc img{object-fit:cover;width:65px;height:65px;transform:scale(1.15)}.quest-panel .next-step{color:var(--muted);border-top:1px solid var(--line);margin:15px 0 0;padding-top:13px;font-size:.7rem}.tip-panel{color:var(--muted);padding:3px 13px}.tip-panel h3{color:var(--muted);font-size:1rem}.tip-panel p{font-size:.74rem}.complete-badge{color:var(--success);font-size:.8rem;font-weight:800}.result-banner{background:var(--warning-bg);border:1px solid var(--accent-border);border-radius:8px;margin-bottom:18px;padding:18px 22px}.result-banner h2{font-size:1.3rem}.result-banner p{margin:0;font-size:.85rem}.result-banner.victory{background:var(--success-bg);border-color:#b8cc93}.battle-log h2{font-size:1rem}.battle-log ol{color:var(--muted);margin:0;padding-left:17px;font-size:.73rem;line-height:1.9}.battle-log li:last-child{color:var(--ink);font-weight:800}.attribute-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:15px;padding:14px 0;display:flex}.attribute-row p{margin:3px 0 0}.attribute-row+.button-row{margin-top:20px}.stepper{align-items:center;gap:12px;display:flex}.stepper button{padding:6px 11px}.stepper b{text-align:center;white-space:nowrap;min-width:38px}.stepper em{color:var(--success);font-style:normal}.stat-grid{grid-template-columns:repeat(2,1fr);gap:14px;margin:20px 0;display:grid}.stat-grid span{border-bottom:1px solid var(--line);justify-content:space-between;gap:15px;padding-bottom:9px;font-size:.8rem;display:flex}.book-tabs{gap:8px;margin-bottom:15px;display:flex}.skill-list{margin:20px 0}.skill-card{border:1px solid var(--surface-border);background:var(--surface-inset);border-radius:7px;gap:16px;margin-bottom:12px;padding:18px;display:flex}.skill-symbol{background:var(--surface-raised);border:1px solid var(--line);width:42px;height:42px;color:var(--muted);border-radius:7px;flex-shrink:0;place-items:center;font-size:1.4rem;display:grid}.skill-copy{flex:1;min-width:0}.skill-copy p{font-size:.77rem}.skill-copy .section-heading{margin-bottom:9px}.skill-copy .section-heading>b{white-space:nowrap;font-size:.75rem}.item-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px;display:grid}.item-card{background:var(--surface-inset);border:1px solid var(--surface-border);border-radius:7px;padding:16px}.item-card h3{font-size:1rem}.item-card p{margin-top:8px;margin-bottom:8px}.item-card .section-heading{font-size:.7rem}.class-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0;display:grid}.class-card{border:1px solid var(--surface-border);background:var(--surface-inset);text-align:center;border-radius:8px;padding:13px}.class-card>img{object-fit:cover;width:100%;height:150px}.class-card p{font-size:.73rem}.class-card button{width:100%;padding:9px 7px;font-size:.65rem}.character-picker{max-width:1150px;margin:50px auto;padding:0 24px}.character-picker .page-heading{display:block}.character-slots{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:30px;display:grid}.character-slot{text-align:center;flex-direction:column;align-items:center;min-height:360px;display:flex}.character-slot>img{object-fit:contain;width:180px;height:180px}.character-slot>button{margin-top:auto}.character-slot>p{font-size:.8rem}.new-slot{border:2px dashed var(--surface-border);background:var(--surface-inset)}.new-character-symbol{color:#a2b38d;margin:20px;font:3rem Georgia}.new-slot form{text-align:left;width:100%;margin-top:auto}.new-slot form button{width:100%}.error-banner{color:var(--danger);background:var(--danger-bg);border-bottom:1px solid var(--line);justify-content:center;align-items:center;gap:18px;padding:14px 24px;font-size:.85rem;display:flex}.preview-banner{background:var(--warning-bg);color:var(--warning);text-align:center;padding:8px 20px;font-size:.72rem}.modal{border:2px solid var(--surface-border);background:var(--surface-panel);border-radius:10px;width:calc(100% - 32px);max-width:500px;padding:28px;box-shadow:0 20px 80px #172c2f66}.modal::backdrop{background:#172e26aa}.modal-heading{justify-content:space-between;align-items:center;gap:15px;display:flex}.modal-heading h2{margin:0}.modal p{margin-top:20px;font-size:.9rem}.modal .icon-button{color:var(--ink);background:0 0;border:0;padding:3px 8px;font-size:1.6rem}.modal>button{margin-top:10px}footer{text-align:center;border-top:1px solid var(--line);color:var(--muted);padding:24px;font-size:.7rem}footer span{margin:0 12px}.errand-panel h3{margin:14px 0 9px;font-size:.95rem;line-height:1.4}.errand-panel h2 span{color:var(--gold)}.errand-objectives{margin:12px 0;padding:0;font-size:.78rem;list-style:none}.errand-objectives li{border-bottom:1px solid var(--line);justify-content:space-between;align-items:baseline;gap:12px;padding:7px 0;display:flex}.errand-objectives strong{white-space:nowrap}.errand-objectives .done{color:var(--success)}.errand-location{margin:9px 0 0}.errand-interactions{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:12px 0;padding:15px 0}.errand-interactions .eyebrow{margin-bottom:9px;display:block}.errand-interactions button{white-space:normal;max-width:100%}.innkeeper-conversation{max-height:calc(100dvh - 150px);padding:0 3px 4px;overflow-y:auto}.npc-dialogue{border-left:3px solid var(--accent-border);background:var(--surface-inset);padding:14px;line-height:1.65}.errand-offer{border-top:1px solid var(--line);margin-top:15px;padding-top:18px}.errand-offer h3{font-size:1.15rem}.modal .errand-rewards{color:var(--muted);font-size:.8rem;line-height:1.8}.errand-error{color:var(--danger)}.errand-panel{min-width:0}.errand-panel button{white-space:normal}@media (width>=1500px){.game-layout{grid-template-columns:230px minmax(0,1fr) 280px}}@media (width>=761px) and (width<=1150px){.quest-sidebar .errand-panel{grid-area:2/1}.quest-sidebar .tip-panel{grid-area:1/2/3}}@media (width<=1150px){.game-layout{grid-template-columns:190px minmax(0,1fr);gap:20px}.quest-sidebar{grid-column:2;grid-template-columns:2fr 1fr;gap:20px;padding:0;display:grid}.quest-panel{margin:0}.tip-panel{align-self:center}.hero-sheet{padding:15px 12px}.topbar{padding:8px 24px}}@media (width<=760px){.topbar{height:77px;padding:7px 15px}.brand{height:63px}.brand img{width:210px;height:70px}.topbar-actions{gap:8px}.username{display:none}.topbar-actions button{padding:6px;font-size:.6rem}.game-layout{flex-direction:column;gap:18px;padding:15px 12px;display:flex}.sidebar{border-radius:8px;width:100%;position:static}.hero-sheet{grid-template-columns:62px 1fr 1fr;align-items:center;gap:5px 10px;padding:12px;display:grid}.hero-portrait{grid-row:1/4;height:80px;margin:0}.hero-portrait img{height:115px;transform:translateY(-12px)}.hero-heading{grid-column:2/4;justify-content:space-between;align-items:center;gap:8px;display:flex}.hero-heading h2{margin:0;font-size:1.1rem}.hero-heading .eyebrow{margin:0;font-size:.5rem}.hero-sheet .resource{height:20px;margin:0;font-size:.55rem}.hero-sheet .resource.xp{grid-column:2/4;height:14px}.hero-currency{grid-column:1/4;margin-top:5px;font-size:.63rem}.sidebar nav{gap:4px;padding:7px;display:flex;overflow-x:auto}.nav-button{flex-shrink:0;gap:5px;width:auto;margin:0;padding:8px;font-size:.64rem}.nav-button>span{width:14px;font-size:.85rem}.nav-button.selected{box-shadow:inset 0 -2px var(--accent-border)}.sidebar>.text-button{margin:0 auto 6px;padding:2px;font-size:.6rem}.game-main{width:100%}.page-heading{margin-bottom:13px}.page-heading h1{font-size:1.5rem}.page-heading .eyebrow{font-size:.55rem}.location-badge{padding:5px;font-size:.5rem}.panel{margin-bottom:15px;padding:17px}.panel h2{font-size:1.3rem}.scene-panel{border-width:3px;margin-bottom:15px}.scene-label{padding:24px 8px 6px;font-size:.57rem}.town-pin{padding:5px;font-size:.5rem}.enemy-hud{width:48%;padding:7px;top:7px;right:7px}.enemy-hud h2{margin-bottom:6px;font-size:.77rem}.enemy-hud .eyebrow{margin-bottom:4px;font-size:.4rem}.enemy-hud .resource{height:15px;font-size:.45rem}.enemy-intent{padding:9px;font-size:.72rem}.resistances{gap:3px}.resistances .element{padding:4px;font-size:.55rem}.action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.action-grid button{font-size:.75rem}.gear-grid{grid-template-columns:1fr;gap:0}.gear-grid label{align-items:center;gap:10px;display:flex}.gear-grid select{width:75%;margin:0 0 0 auto}.area-grid{gap:7px}.area-card>img{height:66px}.area-card>div{padding:9px}.area-card h3{min-height:32px;font-size:.8rem}.area-card .eyebrow{font-size:.4rem}.area-card button{min-height:39px;font-size:.5rem}.quest-sidebar{width:100%;padding:0;display:block}.quest-panel{margin-bottom:18px}.quest-npc img{width:54px;height:54px}.quest-npc{margin-top:12px;padding-top:10px}.tip-panel{padding:4px 10px}.item-grid,.class-grid{grid-template-columns:1fr}.class-card{text-align:left;grid-template-columns:90px 1fr;gap:5px 13px;display:grid}.class-card img{object-fit:cover;grid-row:1/4;width:90px;height:130px}.class-card h3{margin:5px 0}.class-card p{margin:0}.class-card button{justify-self:start;width:auto;padding:9px 15px;font-size:.73rem}.skill-card{gap:10px;padding:13px}.skill-symbol{width:30px;height:32px;font-size:1rem}.attribute-row>div:first-child p{max-width:170px;font-size:.65rem}.stepper{gap:5px}.stepper button{padding:5px 9px}.stepper b{min-width:25px;font-size:.8rem}.welcome{flex-direction:column;min-height:0;display:flex}.entry{margin:18px auto;padding:0 12px}.welcome-art{min-height:330px}.welcome-caption{bottom:20px;left:20px}.welcome-caption h1{font-size:2rem}.welcome-caption .eyebrow{font-size:.5rem}.welcome-caption p{font-size:.75rem}.welcome-form{width:100%;padding:27px 22px}.welcome-form h2{font-size:1.65rem}.character-picker{margin:26px auto;padding:0 12px}.character-slots{grid-template-columns:1fr}.character-slot{min-height:300px}.error-banner{flex-wrap:wrap;gap:8px;padding:12px;font-size:.75rem}.error-banner button{font-size:.65rem}.point-badge{padding:5px;font-size:.58rem}.book-tabs button,.stat-grid{font-size:.75rem}footer{font-size:.58rem}}.combat-speed{color:var(--muted);white-space:nowrap;align-items:center;gap:8px;margin:0 0 0 auto;font-size:.65rem;display:flex}.combat-speed select{width:auto;margin:0;padding:6px 9px;font-size:.7rem}.combat-playing .resource-fill{transition:width .16s linear}.combat-playing.speed-fast .resource-fill{transition-duration:80ms}.combat-playing .scene-panel{box-shadow:0 4px #08160e66,0 0 0 2px #c4a96655}.combat-playing .section-heading h2{color:var(--muted)}@media (width<=760px){.combat-speed{gap:4px;font-size:.55rem}.combat-speed select{padding:5px;font-size:.6rem}.combat-playing .section-heading h2{font-size:1.05rem}.combat-speed+.text-button{font-size:.65rem}}@media (prefers-reduced-motion:reduce){.combat-playing .resource-fill{transition:none}}.game-sprite{object-fit:contain;object-position:center bottom;height:auto;display:block}.villager-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.villager-card{border:1px solid var(--line);background:var(--surface-inset);text-align:center;border-radius:10px;min-width:0;padding:12px}.villager-card .game-sprite{width:100%;height:138px;margin:0 auto 12px}.villager-card .eyebrow{letter-spacing:.07em;min-height:24px}.villager-card h3{margin-bottom:8px;font-size:1.35rem}.villager-card p{min-height:38px;line-height:1.4}.villager-card button{width:100%}.hunt-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.hunt-card{border:1px solid var(--line);background:var(--surface-inset);border-radius:10px;min-width:0;padding:14px}.hunt-card .game-sprite{width:100%;height:175px;margin-bottom:12px}.hunt-card h3{font-size:1.3rem}.hunt-card p{margin-top:10px;line-height:1.5}.hunt-card button{width:100%}.npc-introduction,.shopkeeper-introduction{align-items:center;gap:18px;margin-bottom:14px;display:flex}.npc-introduction .game-sprite{flex:0 0 105px;width:105px;height:135px}.npc-introduction p,.shopkeeper-introduction p{margin-bottom:0}.shopkeeper-introduction .game-sprite{flex:0 0 90px;width:90px;height:105px}.quest-npc .game-sprite{object-fit:contain;transform:none}.item-card .item-sprite{float:right;width:76px;height:76px;margin:0 0 10px 12px}.item-card .button-row{clear:both}.village-favour+.village-favour{border-top:1px solid var(--line);margin-top:14px;padding-top:16px}.village-favour h3{font-size:1rem}.village-favour .text-button{text-align:left}.village-favour .errand-objectives{font-size:.72rem}@media (width<=650px){.villager-grid{grid-template-columns:1fr}.villager-card{text-align:left;grid-template-columns:90px minmax(0,1fr);align-items:center;gap:14px;display:grid}.villager-card .game-sprite{height:115px;margin:0}.villager-card .eyebrow,.villager-card p{min-height:0}.villager-card button{width:auto}.hunt-grid{grid-template-columns:1fr}.hunt-card{grid-template-columns:100px minmax(0,1fr);align-items:center;gap:14px;display:grid}.hunt-card .game-sprite{height:140px;margin:0}.npc-introduction{gap:12px}.npc-introduction .game-sprite{flex-basis:82px;width:82px;height:110px}}.specialization-badge{color:var(--accent-ink);margin-top:.25rem;font-size:.78rem;font-weight:800;display:inline-block}.specialization-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-block:1rem;display:grid}.specialization-grid .game-sprite{object-fit:contain;width:100px;height:100px}.specialization-skills{padding-left:1.2rem;font-size:.85rem;line-height:1.7}.advancement-panel{border-top:1px solid var(--line);margin-top:1.5rem;padding-top:1.5rem}.enemy-effects{flex-wrap:wrap;gap:.5rem;margin:.75rem 0;display:flex}.condition-chip{background:var(--warning-bg);border:1px solid var(--accent-border);color:var(--warning);border-radius:1rem;padding:.35rem .7rem;font-size:.85rem}.shop-filters{flex-wrap:wrap;align-items:center;gap:1rem;margin:1rem 0;display:flex}.checkbox-label{align-items:center;gap:.5rem;display:flex}.checkbox-label input{width:auto}.book-tabs{flex-wrap:wrap}.chapter-quest .wide{margin-top:.5rem}.npc-dialogue .game-sprite{object-fit:contain;width:110px;height:130px}@media (width<=600px){.specialization-grid{grid-template-columns:1fr}.specialization-grid .class-card{min-width:0}.shop-filters{align-items:stretch}.enemy-effects{gap:.3rem}.condition-chip{font-size:.76rem}}.npc-dialogue{align-items:center;gap:1rem;display:flex}.npc-dialogue .game-sprite{flex:0 0 90px;width:90px;height:120px}.npc-dialogue p{min-width:0}.welcome-form .welcome-invitation{border:1px solid var(--accent-border);background:var(--warning-bg);width:100%;min-height:72px;color:var(--gold);text-align:center;border-bottom-width:3px;flex-direction:column;align-items:center;gap:3px;margin:3px 0 16px;padding:12px 16px;font-size:.85rem;line-height:1.4;display:flex}.welcome-form .welcome-invitation strong{color:var(--ink);font-size:1rem}.welcome-form .welcome-invitation:hover:not(:disabled){background:var(--surface-hover)}.app-shell .game-layout:not(.battle-layout){grid-template-columns:minmax(0,1fr) 265px}.app-shell .game-layout:not(.battle-layout)>.quest-sidebar{grid-area:auto/2;padding:0;display:block}.app-shell .game-layout.world-layout{grid-template-columns:minmax(0,1fr)}.app-shell .battle-layout>.game-main{grid-area:1/1}.app-shell .battle-layout>.quest-sidebar{grid-area:1/2}.hero-menu-links{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell .hero-menu-links .secondary{white-space:normal;padding:8px 7px}.visually-hidden{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.world-region-picker{max-width:260px;margin-bottom:12px}.page-heading-tools{align-items:center;gap:10px;min-width:0;display:flex}.page-heading-return{flex-wrap:wrap}.location-return{white-space:normal;min-height:40px;padding:8px 12px;font-size:.74rem}.safe-place{left:var(--spot-x);top:var(--spot-y);position:absolute}.safe-place:focus-within,.safe-place:hover{z-index:2}.safe-place .safe-spot{top:0;left:0}.safe-place .safe-person{object-fit:contain;width:clamp(40px,6vw,76px);max-width:none;height:clamp(56px,8vw,108px);margin:0;position:absolute;top:0;left:50%;transform:translate(-50%,-100%)}@media (width<=1100px){.app-shell .battle-layout>.quest-sidebar{grid-area:2/1}}@media (width<=1000px){.app-shell .game-layout:not(.battle-layout){grid-template-columns:minmax(0,1fr);display:grid}.app-shell .game-layout:not(.battle-layout)>.quest-sidebar{grid-column:1;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}}@media (width<=650px){.page-heading-return .page-heading-tools{justify-content:space-between;width:100%}.app-shell .game-layout:not(.battle-layout)>.quest-sidebar,.safe-location .safe-spots{display:block}.safe-place{left:var(--mobile-x);top:var(--mobile-y)}.safe-location .safe-spot{white-space:normal;width:52px;max-width:52px;min-height:44px;padding:4px;font-size:.6rem;line-height:1.2}.safe-location .safe-talk{flex-direction:column;justify-content:center;align-items:center;padding:2px;display:flex}.safe-place .safe-person{flex-shrink:0;width:26px;height:26px;position:static;transform:none}.safe-location .safe-place-map{display:none}}.app-shell .game-layout.world-layout>.quest-sidebar{display:none}.inventory-view{min-width:0}.inventory-potions{padding:8px 12px}.inventory-potions>summary{cursor:pointer;align-items:center;gap:12px;min-height:44px;list-style:none;display:flex}.inventory-potions>summary::-webkit-details-marker{display:none}.inventory-potions>summary:after{content:"";border-right:2px solid var(--leaf);border-bottom:2px solid var(--leaf);flex:none;width:7px;height:7px;margin:0 3px 4px;transform:rotate(45deg)}.inventory-potions[open]>summary:after{margin-bottom:-4px;transform:rotate(225deg)}.inventory-potions>summary:focus-visible{outline:2px solid var(--leaf);outline-offset:3px;border-radius:4px}.inventory-potions-title{color:var(--ink);font:400 1rem Bree Serif,Georgia,serif}.inventory-potions-stock{color:var(--muted);flex-wrap:wrap;gap:6px 14px;margin-left:auto;font-size:.72rem;display:flex}.inventory-potions-stock b{color:var(--leaf);white-space:nowrap}.inventory-potion-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:8px;display:grid}.inventory-potion{border:1px solid var(--surface-border);background:var(--surface-inset);border-radius:6px;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px;display:grid}.inventory-potion[data-resource=mp]{background:var(--info-bg);border-color:var(--line)}.inventory-potion-icon .pack-item-art{width:36px;height:42px;margin:0;padding:3px}.inventory-potion-copy{min-width:0}.inventory-potion-copy h3{justify-content:space-between;gap:8px;margin:0 0 4px;font-size:.8rem;display:flex}.inventory-potion-copy h3>span{color:var(--muted);white-space:nowrap;font:800 .68rem Nunito Sans,sans-serif}.inventory-potion-copy .resource{height:16px;margin-bottom:4px;font-size:.6rem}.inventory-potion-copy p{margin:0;font-size:.65rem;line-height:1.4}.inventory-potion>button{min-width:44px;min-height:44px;padding:8px 12px;font-size:.72rem}@media (width<=650px){.inventory-potion-grid{grid-template-columns:1fr}.inventory-potion{gap:8px}.inventory-potions-stock{gap:6px 10px;font-size:.68rem}}.inventory-tabs{border-bottom:1px solid var(--line);align-items:stretch;gap:4px;min-width:0;margin:0 0 20px;display:flex}.inventory-tabs button{min-width:0;min-height:46px;color:var(--muted);box-shadow:none;white-space:nowrap;background:0 0;border:0;border-bottom:3px solid #0000;border-radius:6px 6px 0 0;justify-content:center;align-items:center;gap:9px;padding:11px 20px;font-size:.85rem;display:inline-flex;transform:none}.inventory-tabs button:hover:not(:disabled){background:var(--surface-raised);color:var(--leaf);transform:none}.inventory-tabs button[aria-selected=true]{background:var(--surface-raised);color:var(--leaf);border-bottom-color:var(--accent-border)}.inventory-tabs button:focus-visible{outline:2px solid var(--leaf);outline-offset:3px}.equipment-panel .section-heading{flex-wrap:wrap;align-items:flex-start;gap:9px}.equipment-panel h2{margin:0}.equipment-setup{border:1px solid var(--line);background:var(--surface-raised);color:var(--leaf);border-radius:5px;padding:6px 9px;font-size:.68rem;display:inline-block}.equipment-stage{border:1px solid var(--surface-border);background:radial-gradient(ellipse at 50% 46%,#77905b22,transparent 66%),var(--surface-inset);border-radius:8px;grid-template-rows:1fr 1fr;grid-template-columns:minmax(90px,1fr) minmax(115px,1.65fr) minmax(90px,1fr);gap:14px;max-width:620px;min-height:330px;margin:18px auto 22px;padding:17px 10px;display:grid;position:relative}.equipment-figure{text-align:center;flex-direction:column;grid-area:1/2/3;align-self:center;align-items:center;min-width:0;display:flex;position:relative}.equipment-figure>img,.equipment-figure>.equipped-avatar{object-fit:contain;z-index:1;filter:drop-shadow(0 6px 4px #06170e66);width:100%;height:220px;position:relative}.equipment-halo{border:1px solid #ad965b66;border-radius:50%;position:absolute;inset:15px -10px 62px;box-shadow:0 0 0 9px #ad965b18}.equipment-plinth{background:#06170e88;border-radius:50%;width:100%;height:13px;margin:-10px 0 15px;display:block;position:relative}.equipment-figure>strong{overflow-wrap:anywhere;z-index:1;font-family:Bree Serif,Georgia,serif;font-size:1.17rem;font-weight:400}.equipment-figure>.small{margin-top:5px;font-size:.64rem;line-height:1.5}.equipment-slot{text-align:center;background:var(--surface-raised);min-width:0;color:var(--ink);border:1px solid var(--surface-border);border-bottom:3px solid var(--accent-border);flex-direction:column;align-items:center;gap:5px;padding:9px 7px;display:flex;position:relative;box-shadow:0 3px 9px #06170e44}.equipment-slot:hover:not(:disabled){background:var(--surface-hover);border-color:var(--accent-border)}.equipment-slot-level{color:var(--muted);font-size:.65rem;line-height:1.35}.equipment-slot-weapon{grid-area:1/1}.equipment-slot-armor{grid-area:2/1}.equipment-slot-helmet{grid-area:1/3}.equipment-slot-offhand{grid-area:2/3}.equipment-slot.is-staged{border-color:var(--accent-border);box-shadow:0 0 0 2px #dfc68c66}.equipment-slot:disabled{opacity:.67}.equipment-slot-label{letter-spacing:.09em;text-transform:uppercase;color:var(--muted);font-size:.57rem}.equipment-slot .pack-item-art{background:0 0;border:0;width:70px;height:65px;padding:0}.equipment-slot-name{overflow-wrap:anywhere;min-height:1.4em;font-size:.7rem;line-height:1.35}.equipment-slot-hint{color:var(--muted);font-size:.55rem;font-weight:600}.equipment-slot .pack-item-type{margin:0;font-size:.61rem;font-weight:600;line-height:1.4}.equipment-slot .pack-item-bonuses{margin:0;font-size:.62rem;font-weight:700;line-height:1.5}.equipment-empty{width:70px;height:65px;color:var(--accent-ink);place-items:center;font-size:2.2rem;display:grid}.equipment-stats{border:1px solid var(--line);background:var(--surface-inset);border-radius:6px;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:12px;display:grid;overflow:hidden}.equipment-stats>span{text-align:center;color:var(--muted);border-right:1px solid var(--line);padding:9px 4px;font-size:.65rem}.equipment-stats>span:last-child{border-right:0}.equipment-stats b{color:var(--leaf);margin-top:3px;font-size:1.03rem;display:block}.equipment-specialization{background:var(--warning-bg);border-left:3px solid var(--accent-border);padding:10px 12px;font-size:.72rem;line-height:1.65}.equipment-specialization.active{background:var(--success-bg);border-color:var(--line)}.equipment-save-row{flex-wrap:wrap;align-items:center;gap:9px;margin-top:15px;display:flex}.equipment-save-row>p{flex-basis:100%;margin:0;font-size:.69rem}.equipment-save-row>.notice{margin-bottom:3px;font-size:.77rem}.equipment-save-row>button{min-height:44px;font-size:.78rem}.equipment-pack-link{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:17px;padding-top:13px;display:flex}.equipment-pack-link .small,.equipment-pack-link button{font-size:.7rem}.inventory-warning{border:1px solid var(--accent-border);background:var(--warning-bg);border-radius:6px;padding:11px 13px}.inventory-warning p{margin:0 0 5px;font-size:.73rem}.inventory-warning p:last-child{margin:0}.inventory-success{color:var(--success);background:var(--success-bg);border-radius:5px;margin:13px 0 0;padding:10px 12px;font-size:.77rem}.pack-toolbar{grid-template-columns:minmax(0,1fr) 150px;gap:12px;display:grid}.pack-toolbar label{text-transform:none;margin-bottom:12px;font-size:.7rem}.pack-toolbar input,.pack-toolbar select{min-height:42px;padding:9px 10px;font-size:.76rem}.pack-filters{flex-wrap:wrap;gap:6px;display:flex}.pack-filters button{border-bottom-width:2px;align-items:center;gap:7px;min-height:36px;padding:7px 9px;font-size:.67rem;display:flex}.pack-filters button>span{opacity:.8;min-width:14px;font-size:.6rem}.pack-results{margin:13px 0 16px;font-size:.68rem}.pack-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.pack-tile{background:var(--surface-inset);min-width:0;min-height:192px;color:var(--ink);border:1px solid var(--surface-border);border-bottom:3px solid var(--accent-border);border-radius:7px;flex-direction:column;align-items:stretch;padding:8px;font-weight:600;display:flex;box-shadow:0 2px 5px #06170e33}.pack-tile:hover:not(:disabled){background:var(--surface-hover);border-color:var(--accent-border);box-shadow:0 3px 10px #06170e66}.pack-tile.is-equipped{border-color:var(--accent-border);border-bottom-color:var(--accent-border)}.pack-tile-top{color:var(--muted);text-align:left;justify-content:space-between;align-items:flex-start;gap:5px;font-size:.55rem;display:flex}.pack-tile-top>span{overflow-wrap:anywhere;min-width:0;line-height:1.6}.pack-tile-top b{color:var(--leaf);background:var(--surface-selected);font-variant-numeric:tabular-nums;border-radius:4px;padding:2px 5px;font-size:.72rem}.pack-item-art{background:var(--surface-inset);border-radius:6px;flex-shrink:0;place-items:center;min-width:0;height:93px;margin:5px 0 8px;padding:5px;display:grid;position:relative}:is(.pack-tile,.equipment-slot,.equipment-choice) .pack-item-art[data-element=neutral]{background:var(--surface-raised)}:is(.pack-tile,.equipment-slot,.equipment-choice) .pack-item-art[data-element=water]{background:var(--info-bg)}:is(.pack-tile,.equipment-slot,.equipment-choice) .pack-item-art[data-element=fire]{background:#3b2c23}:is(.pack-tile,.equipment-slot,.equipment-choice) .pack-item-art[data-element=earth]{background:#2d3c26}:is(.pack-tile,.equipment-slot,.equipment-choice) .pack-item-art[data-element=air]{background:#233b34}.pack-item-art>.game-sprite{object-fit:contain;width:100%;height:100%;padding:5px;display:block;position:absolute;inset:0}.pack-art-fallback{color:var(--accent-ink);font-size:2rem}.pack-item-art:has(.game-sprite) .pack-art-fallback{display:none}.pack-item-name{overflow-wrap:anywhere;flex:1;justify-content:center;align-items:center;margin:0 0 7px;font-family:Bree Serif,Georgia,serif;font-size:.83rem;font-weight:400;line-height:1.25;display:flex}.pack-item-type{color:var(--muted);margin-bottom:4px;font-size:.62rem;line-height:1.5}.pack-item-bonuses{color:var(--leaf);overflow-wrap:anywhere;margin-bottom:5px;font-size:.62rem;line-height:1.6}.pack-item-status{color:var(--muted);min-height:1.5em;font-size:.54rem;line-height:1.45}.pack-tile.is-equipped .pack-item-status{color:var(--success);font-weight:800}.pack-empty{text-align:center;border:1px dashed var(--line);background:var(--surface-inset);border-radius:7px;padding:27px 14px;line-height:1.6}.pack-empty>span{color:var(--accent-ink);margin-bottom:8px;font-size:1.8rem;display:block}.pack-empty h3{font-size:1.1rem}.pack-empty p{margin-bottom:14px}.equipment-picker{max-height:65dvh;margin-top:13px;padding:2px 4px 4px;overflow-y:auto}.equipment-picker>p{margin:0 0 13px;font-size:.78rem}.equipment-picker label{text-transform:none;font-size:.74rem}.equipment-picker input{font-size:.8rem}.equipment-picker-empty{text-align:left;width:100%;min-height:44px;margin-bottom:10px;font-size:.78rem}.equipment-picker-list{flex-direction:column;gap:8px;display:flex}.equipment-choice{background:var(--surface-inset);width:100%;color:var(--ink);border:1px solid var(--line);border-bottom:2px solid var(--accent-border);text-align:left;align-items:center;gap:11px;padding:9px;display:flex}.equipment-choice:hover:not(:disabled){background:var(--surface-hover)}.equipment-choice.selected{background:var(--surface-selected);border-color:var(--accent-border)}.equipment-choice:disabled{opacity:.65}.equipment-choice>.pack-item-art{width:60px;height:60px;margin:0;padding:0}.equipment-choice>span:last-child{flex:1;min-width:0}.equipment-choice strong{font-size:.85rem;display:block}.equipment-choice small{color:var(--muted);margin-top:3px;font-size:.64rem;line-height:1.6;display:block}.equipment-choice .equipment-choice-issue{color:var(--danger)}.pack-detail{max-height:68dvh;margin-top:15px;padding:0 4px 2px;overflow-y:auto}.pack-detail>.pack-item-art{background:var(--surface-inset);width:150px;height:150px;margin:0 auto 14px}.pack-detail-meta{text-align:center;margin-bottom:19px}.modal .pack-detail-meta p{margin:8px 0 0;font-size:.76rem}.modal .pack-detail>p{margin:12px 0;font-size:.78rem}.pack-detail-actions{border-top:1px solid var(--line);flex-direction:column;align-items:stretch;gap:15px;margin-top:18px;padding-top:16px;display:flex}.pack-detail-actions button{width:100%;min-height:44px;font-size:.8rem}.modal .pack-detail-actions p{margin:6px 0 0;font-size:.7rem;line-height:1.6}@media (width>=1550px){.pack-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}@media (width<=1100px) and (width>=761px){.pack-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=480px){.inventory-tabs{gap:2px;margin-bottom:16px}.inventory-tabs button{flex:1;justify-content:center;padding:9px 10px;font-size:.75rem}.equipment-stage{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) minmax(0,1fr);gap:8px;min-height:285px;margin-top:14px;padding:12px 7px}.equipment-figure>img,.equipment-figure>.equipped-avatar{height:177px}.equipment-figure>strong{font-size:.95rem}.equipment-figure>.small{font-size:.55rem}.equipment-slot{gap:4px;padding:8px 4px}.equipment-slot .pack-item-art,.equipment-empty{width:53px;height:53px}.equipment-slot-label{letter-spacing:.06em;font-size:.48rem}.equipment-slot-name{font-size:.58rem}.equipment-slot-hint{font-size:.47rem}.equipment-setup{padding:5px 7px;font-size:.6rem}.equipment-stats>span{font-size:.59rem}.equipment-stats b{font-size:.94rem}.pack-toolbar{grid-template-columns:minmax(0,1fr) 120px;gap:9px}.pack-toolbar input,.pack-toolbar select{padding:9px 7px;font-size:.7rem}.pack-filters{gap:5px}.pack-filters button{min-height:38px;padding:7px 8px;font-size:.61rem}.pack-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.pack-tile{min-height:199px;padding:9px}.pack-item-art{height:98px}.pack-item-name{font-size:.88rem}.pack-item-status{font-size:.58rem}.pack-tile-top{font-size:.6rem}.equipment-pack-link{gap:0}.equipment-choice>.pack-item-art{width:49px;height:49px}.equipment-choice strong{font-size:.78rem}}.element-icon{vertical-align:middle;flex:0 0 20px;justify-content:center;align-items:center;width:20px;height:20px;line-height:0;display:inline-flex}.element-icon svg{width:100%;height:100%;display:block}.element-matchup .element-icon{flex-basis:28px;width:28px;height:28px}.battle-skill-elements{vertical-align:middle;align-items:center;gap:3px;display:inline-flex}.battle-skill-elements .element-icon{flex-basis:16px;width:16px;height:16px}.battle-enemy-identity{align-items:center;gap:6px;min-width:0;display:flex}.battle-enemy-element{flex:none;width:18px;height:18px;display:flex}.battle-enemy-element .element-icon{flex-basis:100%;width:100%;height:100%}.battle-skill-art{flex:none;display:block;position:relative}.battle-quick-cost{display:none}.battle-cooldown{color:var(--ink);text-shadow:0 1px #06170e;place-items:center;font-size:1.4rem;font-weight:900;display:grid;position:absolute;inset:0}.on-cooldown .battle-skill-art .skill-icon{opacity:.3;filter:grayscale()}.battle-fighter-meta{white-space:nowrap;text-overflow:ellipsis;margin:0 0 6px;font-size:.7rem;overflow:hidden}.battle-settings-dialog{padding:4px 2px}.battle-settings-dialog .combat-speed{justify-content:space-between;gap:16px;margin:18px 0;font-size:.85rem;display:flex}.battle-settings-dialog select{width:auto;min-height:44px;font-size:.8rem}.battle-mode .topbar{border-bottom-width:2px;height:56px;padding:3px max(16px,50vw - 800px)}.battle-mode .preview-banner{padding:4px 12px;font-size:.62rem;line-height:1.5}.game-layout.battle-layout{grid-template-columns:minmax(0,1fr) 205px;gap:18px;max-width:1600px;padding:12px 16px 30px}.battle-layout>.game-main{grid-area:1/1/3}.battle-layout>.sidebar{grid-area:1/2;position:static}.battle-layout>.quest-sidebar{grid-area:2/2;padding:0;display:block}.battle-layout .hero-portrait{height:85px}.battle-layout .hero-portrait img{height:140px}.battle-layout>.sidebar .hero-sheet{display:none}.battle-layout .hero-sheet{padding:12px}.battle-layout .hero-heading h2{margin-bottom:9px;font-size:1.25rem}.battle-layout .nav-button{padding:9px;font-size:.73rem}.back-to-battle{background:var(--surface-raised);text-align:center;padding:12px;font-size:.75rem;font-weight:800;display:block}.battle-layout .page-heading[hidden]{display:none}.battle-screen{border:4px solid var(--surface-border);background:var(--surface-inset);border-radius:10px;grid-template-rows:auto auto auto minmax(0,1fr) auto;height:min(900px,100svh - 104px);margin-bottom:18px;scroll-margin-top:10px;display:grid;overflow:hidden;box-shadow:0 4px #07170e66}.battle-screen.danger{border-color:var(--danger)}.battle-screen-heading{background:var(--surface-inset);color:var(--ink);border-bottom:1px solid var(--accent-border);justify-content:space-between;align-items:center;gap:10px;padding:5px 11px;display:flex}.battle-screen-heading h1{margin:0;font-size:1.1rem;line-height:1.2}.battle-screen-heading h1>span{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;margin-bottom:2px;font:800 .56rem Nunito Sans,sans-serif;display:block}.battle-tools{align-items:center;gap:6px;display:flex}.battle-tools button{background:var(--surface-raised);border-color:var(--line);min-height:36px;color:var(--ink);padding:6px 9px;font-size:.66rem}.battle-tools a{color:var(--leaf);padding:9px 5px;font-size:.62rem;font-weight:800}.battle-hud{background:var(--surface-panel);grid-template-columns:1fr 1fr;gap:clamp(20px,5vw,90px);padding:10px 13px 8px;display:grid}.battle-hud section{min-width:0}.battle-fighter-name{justify-content:space-between;align-items:baseline;gap:7px;margin-bottom:5px;display:flex}.battle-fighter-name h2{overflow-wrap:anywhere;min-width:0;margin:0;font-size:1.1rem}.battle-fighter-name>span{color:var(--muted);white-space:nowrap;font-size:.6rem}.battle-hud .resource{height:21px;margin-bottom:5px;font-size:.64rem}.battle-player-hud .resource:last-child{margin:0}.battle-element-summary{justify-content:space-between;align-items:center;gap:6px;min-height:22px;margin-top:1px;display:flex}.battle-element-summary .text-button{text-align:left;min-height:22px;padding:2px 0;font-size:.6rem}.battle-element-summary>span{color:var(--muted);text-align:right;font-size:.56rem}.battle-element-help,.element-short{display:none}.element-matchups{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;display:grid}.element-matchup{--element-bg:var(--surface-inset);--element-line:var(--line);background:var(--element-bg);border:1px solid var(--element-line);color:var(--ink);border-radius:5px;flex-direction:column;align-items:center;gap:2px;min-width:0;padding:6px 2px;display:flex}.element-matchup[data-element=fire]{--element-bg:var(--danger-bg);--element-line:#976b50}.element-matchup[data-element=water]{--element-bg:var(--info-bg);--element-line:#56848c}.element-matchup[data-element=earth]{--element-bg:var(--success-bg);--element-line:#78915f}.element-matchup[data-element=air]{--element-bg:#233d35;--element-line:#6e9b84}.element-matchup.is-relevant{outline:2px solid var(--accent-border);outline-offset:-2px}.element-matchup>span{font-size:.6rem;font-weight:800}.element-matchup strong{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:.87rem}.element-matchup i{font-size:.7rem;font-style:normal}.element-matchup small{font-size:.57rem}.element-matchup.weak small,.element-matchup.resists small{font-weight:800}.battle-hud .element-matchup{flex-flow:wrap;justify-content:center;gap:2px 4px;padding:3px 2px}.battle-hud .element-matchup>span{font-size:.53rem}.battle-hud .element-matchup strong{font-size:.61rem}.battle-hud .element-matchup i{font-size:.53rem}.battle-hud .element-matchup small{display:none}.battle-intent{background:var(--surface-raised);color:var(--muted);border-top:1px solid var(--line);padding:5px 12px;font-size:.67rem;line-height:1.4}.battle-intent.warning{background:var(--warning-bg);color:var(--warning);border-color:var(--accent-border);font-weight:800}.battle-stage{background:#294939;min-width:0;min-height:0;position:relative;overflow:hidden}.battle-stage .scene-canvas{aspect-ratio:auto;width:100%;height:100%}.battle-conditions{border-top:1px solid var(--line);min-width:0;margin-top:8px;padding-top:6px;position:static}.battle-conditions.is-empty{visibility:hidden;pointer-events:none}.battle-conditions h3{letter-spacing:.04em;color:var(--muted);margin:0 0 5px;font:800 .62rem Nunito Sans,sans-serif}.battle-conditions .buffs,.battle-conditions .enemy-effects{overscroll-behavior:contain;scrollbar-gutter:stable;flex-wrap:wrap;place-content:flex-start;gap:4px;max-width:100%;height:52px;max-height:52px;margin:0;padding:2px;display:flex;overflow:auto}.battle-conditions .buffs>span,.battle-conditions .condition-chip{white-space:normal;overflow-wrap:anywhere;min-width:0;max-width:100%;padding:4px 6px;font-size:.7rem;line-height:1.35;box-shadow:0 1px 3px #06170e66}.battle-conditions :is(.buffs,.enemy-effects):focus-visible{outline:2px solid var(--accent-border);outline-offset:2px}.battle-controls{border-top:2px solid var(--surface-border);background:var(--surface-panel);min-width:0;padding:4px 10px 10px}.battle-controls-heading{align-items:center;gap:12px;min-height:38px;margin-bottom:4px;display:flex}.battle-controls-heading h2{min-width:0;margin:0;font-size:1.17rem}.battle-skill-tools{align-items:center;gap:12px;margin-left:auto;display:flex}.battle-controls-heading .text-button{white-space:nowrap;min-height:36px;padding:5px 0;font-size:.67rem}.battle-controls .combat-speed{gap:5px;margin:0;font-size:.6rem}.battle-controls .combat-speed select{min-height:32px;padding:4px 6px;font-size:.66rem}.battle-retreat{color:var(--warning)}.battle-action-dock{grid-template-columns:125px minmax(0,1fr) 132px;gap:9px;display:grid}.battle-basic-actions,.battle-potion-grid{grid-template-rows:1fr 1fr;grid-template-columns:1fr;gap:6px;height:100%;display:grid}.battle-basic-actions button{justify-content:center;align-items:center;gap:7px;min-width:0;min-height:52px;padding:6px;font-size:.77rem;display:flex}.battle-basic-actions button>span:first-child{font-size:1.2rem}.battle-basic-actions small{margin-top:3px;font-size:.52rem;font-weight:600;display:block}.battle-quick-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.battle-skill{background:var(--surface-inset);width:100%;min-width:0;min-height:72px;color:var(--ink);border-color:var(--line);border-bottom-color:var(--line);text-align:left;align-items:center;gap:8px;padding:9px 8px;display:flex;position:relative}.battle-skill:hover:not(:disabled){background:var(--surface-hover);border-color:var(--accent-border);transform:none}.battle-skill:disabled{opacity:.67}.battle-skill .skill-icon{border-radius:6px;flex-basis:38px;width:38px;height:38px;padding:2px}.quick-skill-number{color:var(--muted);font-size:.5rem;line-height:1;position:absolute;top:3px;right:5px}.battle-skill-copy{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.battle-skill-copy strong{overflow-wrap:anywhere;font-size:.74rem;font-weight:800;line-height:1.25}.battle-skill-copy small{color:var(--muted);overflow-wrap:anywhere;font-size:.59rem;font-weight:600;line-height:1.35}.battle-skill-copy .battle-skill-reason{color:var(--warning);font-weight:800}.battle-quick-grid .battle-skill-copy .battle-skill-reason{white-space:nowrap;text-overflow:ellipsis;flex-shrink:0;height:1.35em;min-height:1.35em;line-height:1.35;overflow:hidden}.battle-skill-reason.is-empty{visibility:hidden}.battle-quick-grid .battle-skill{gap:6px;min-height:58px;padding:5px 6px}.battle-quick-grid .battle-skill .skill-icon{flex-basis:32px;width:32px;height:32px}.battle-quick-grid .battle-skill-copy strong{font-size:.66rem}.battle-quick-grid .battle-skill-copy small{font-size:.53rem}.battle-skill-copy .battle-skill-effect{color:var(--ink);font-weight:700}.quick-skill-empty{background:var(--surface-inset);color:var(--muted);border:1px dashed var(--line);justify-content:center;align-items:center;gap:4px;min-width:0;min-height:58px;padding:7px;font-size:.6rem;display:flex}.quick-skill-empty>span:first-child{font-size:1.2rem;font-weight:400}.quick-skill-empty:hover:not(:disabled){background:var(--surface-hover);transform:none}.battle-potion{text-align:left;background:var(--surface-inset);min-width:0;color:var(--ink);border-color:var(--line);border-bottom-color:var(--accent-border);align-items:center;gap:6px;padding:5px;display:flex}.battle-potion.mp{background:var(--surface-inset);border-color:var(--line);border-bottom-color:var(--info)}.battle-potion:hover:not(:disabled){background:var(--surface-hover);transform:none}.battle-potion.mp:hover:not(:disabled){background:var(--surface-hover)}.battle-potion:disabled{opacity:.65}.battle-potion-art{background:var(--surface-inset);border-radius:5px;flex:0 0 28px;place-items:center;width:28px;height:35px;display:grid;position:relative}.battle-potion.mp .battle-potion-art{background:var(--surface-inset)}.battle-potion-art img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}.potion-fallback{color:var(--accent-ink);font-size:1.2rem}.battle-potion-art:has(img) .potion-fallback{display:none}.battle-potion>span:last-child{min-width:0}.battle-potion strong{overflow-wrap:anywhere;font-size:.64rem;line-height:1.3;display:block}.battle-potion small{color:var(--muted);margin-top:3px;font-size:.54rem;font-weight:600;line-height:1.35;display:block}.potion-short-name{display:none}.battle-gear-dialog{max-height:65dvh;padding:2px 3px;overflow:auto}.battle-gear-dialog>.panel{box-shadow:none;border:0;padding:0}.battle-gear-dialog .section-heading{display:none}@media (width<=1100px){.game-layout.battle-layout{grid-template-columns:minmax(0,1fr);gap:16px}.battle-layout>.game-main{grid-area:1/1}.battle-layout>.sidebar{grid-area:2/1;position:static}.battle-layout>.quest-sidebar{grid-area:3/1;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.battle-layout>.sidebar .hero-sheet{display:none}.battle-layout>.sidebar nav{flex-wrap:wrap;gap:4px;padding:8px;display:flex}.battle-layout>.sidebar .nav-button{width:auto}}@media (width<=760px){.battle-mode .topbar{height:44px;padding:2px 10px}.battle-mode .brand{height:38px}.battle-mode .brand img{width:152px;height:43px}.battle-mode .topbar-actions button{min-height:32px}.battle-mode .preview-banner{padding:3px 8px;font-size:.55rem;line-height:1.35}.game-layout.battle-layout{gap:14px;padding:6px 6px 20px;display:flex}.battle-layout>.game-main{order:0}.battle-layout>.sidebar{order:1}.battle-layout>.quest-sidebar{order:2;display:block}.battle-screen{border-width:3px;grid-template-rows:auto auto auto minmax(0,1fr) auto;height:calc(100svh - 86px);margin-bottom:14px}.battle-screen-heading{gap:5px;min-height:40px;padding:3px 6px}.battle-screen-heading h1{white-space:nowrap;font-size:.91rem}.battle-screen-heading h1>span{white-space:normal;letter-spacing:.02em;max-width:125px;font-size:.43rem}.battle-tools{gap:4px}.battle-tools button{min-height:36px;padding:5px 6px;font-size:.56rem}.battle-tools a{display:none}.battle-hud{gap:12px;padding:7px 6px 5px}.battle-fighter-name{min-height:30px;margin-bottom:4px;display:block}.battle-fighter-name h2{font-size:.86rem;line-height:1.1}.battle-fighter-name>span{white-space:normal;margin-top:3px;font-size:.5rem;display:block}.battle-hud .resource{height:18px;margin-bottom:4px;font-size:.53rem}.battle-hud .resource>span,.battle-hud .resource>strong{padding:0 4px}.battle-element-summary{min-height:24px;margin-top:0}.battle-element-summary .text-button{min-height:24px;font-size:.51rem}.battle-element-summary{display:none}.battle-enemy-hud .battle-fighter-name{padding-right:21px;position:relative}.battle-element-help{width:24px;height:24px;min-height:24px;padding:2px;font-size:.85rem;display:block;position:absolute;top:-4px;right:-3px}.battle-hud .element-long{display:none}.battle-hud .element-short{display:inline}.battle-hud .element-matchups{gap:2px}.battle-hud .element-matchup{flex-flow:column;gap:2px;padding:3px 1px}.battle-hud .element-matchup>span{font-size:.43rem;line-height:1.1}.battle-hud .element-matchup strong{font-size:.52rem;line-height:1.15}.battle-hud .element-matchup i{display:none}.battle-intent{padding:4px 6px;font-size:.55rem}.battle-controls{padding:2px 5px 6px}.battle-controls-heading{flex-wrap:wrap;gap:8px;min-height:36px;margin-bottom:3px}.battle-controls-heading h2{flex:0 0 76px;max-width:76px;font-size:.95rem}.battle-controls-heading .text-button{min-height:32px;font-size:.56rem}.battle-skill-tools{gap:10px;margin-left:0}.battle-controls .combat-speed{gap:3px}.battle-controls .combat-speed>span{display:none}.battle-controls .combat-speed select{min-height:32px;padding:4px;font-size:.56rem}.battle-controls-heading .battle-retreat{display:block}.battle-action-dock{grid-template-columns:1fr 1fr;gap:5px}.battle-basic-actions{grid-area:1/1;grid-template-rows:1fr;grid-template-columns:1fr 1fr;gap:4px}.battle-potions{grid-area:1/2}.battle-potion-grid{grid-template-rows:1fr;grid-template-columns:1fr 1fr;gap:4px}.battle-basic-actions button{gap:3px;min-height:44px;padding:4px;font-size:.61rem}.battle-basic-actions button>span:first-child{font-size:.95rem}.battle-basic-actions small{display:none}.battle-quick-grid{grid-area:2/1/auto/-1;gap:5px}.battle-quick-grid .battle-skill{align-items:center;gap:4px;min-height:56px;padding:5px 4px}.battle-quick-grid .battle-skill .skill-icon{flex-basis:25px;width:25px;height:25px}.battle-quick-grid .battle-skill-copy{gap:2px}.battle-quick-grid .battle-skill-copy strong{font-size:.59rem;line-height:1.15}.battle-quick-grid .battle-skill-copy small{font-size:.49rem;line-height:1.15}.battle-quick-grid .battle-skill-copy .battle-skill-reason{font-size:.48rem}.battle-quick-grid .quick-skill-number{font-size:.43rem;top:2px;right:3px}.quick-skill-empty{min-height:56px;font-size:.53rem}.battle-potion{justify-content:center;gap:3px;min-height:44px;padding:3px}.battle-potion-art{flex-basis:21px;width:21px;height:28px}.potion-full-name{display:none}.potion-short-name{display:inline}.battle-potion strong{white-space:nowrap;font-size:.56rem}.battle-potion small{margin-top:2px;font-size:.46rem;line-height:1.15}.battle-conditions .buffs,.battle-conditions .enemy-effects{height:48px;max-height:48px}.battle-conditions .buffs>span,.battle-conditions .condition-chip{padding:3px 5px;font-size:.65rem}.battle-skill-dialog .battle-skill .skill-icon{flex-basis:32px;width:32px;height:32px}}@media (width>=600px) and (height<=540px){.battle-mode .topbar{height:44px;padding-top:2px;padding-bottom:2px}.battle-mode .brand{height:38px}.battle-mode .brand img{width:152px;height:43px}.game-layout.battle-layout{flex-direction:column;padding:5px 8px;display:flex}.battle-layout>.game-main{order:0}.battle-layout>.sidebar{order:1}.battle-layout>.quest-sidebar{order:2}.battle-layout>.game-main{width:100%}.battle-screen{grid-template-rows:auto auto auto minmax(0,1fr);grid-template-columns:minmax(0,1fr) 330px;height:calc(100svh - 80px)}.battle-screen-heading{grid-column:1/-1}.battle-hud{grid-area:2/1;gap:10px;padding:5px 7px}.battle-fighter-name{min-height:0;display:block}.battle-fighter-name h2{font-size:.84rem}.battle-fighter-name>span{display:none}.battle-hud .resource{height:17px;margin-bottom:3px;font-size:.5rem}.battle-element-summary{display:none}.battle-hud .element-matchup{flex-direction:column}.battle-hud .element-matchup>span{font-size:.46rem}.battle-hud .element-matchup strong{font-size:.54rem}.battle-enemy-hud .battle-fighter-name{padding-right:21px;position:relative}.battle-element-help{width:24px;height:24px;padding:2px;font-size:.85rem;display:block;position:absolute;top:-4px;right:-3px}.battle-intent{grid-area:3/1;padding:4px 6px;font-size:.52rem}.battle-stage{grid-area:4/1}.battle-controls{border-top:0;border-left:2px solid var(--surface-border);grid-area:2/2/5;padding:4px 6px}.battle-controls-heading{flex-wrap:wrap;gap:5px;min-height:56px}.battle-controls-heading h2{flex:1;font-size:1rem}.battle-skill-tools{gap:10px;margin-left:auto}.battle-controls-heading .text-button{font-size:.57rem}.battle-controls .combat-speed{margin:0}.battle-controls .combat-speed>span{display:none}.battle-controls .battle-retreat{margin-left:auto;display:block}.battle-action-dock{grid-template-columns:1fr 1fr;gap:5px}.battle-basic-actions{grid-area:1/1;grid-template-rows:1fr;grid-template-columns:1fr 1fr;gap:4px}.battle-potions{grid-area:1/2}.battle-potion-grid{grid-template-rows:1fr;grid-template-columns:1fr 1fr;gap:4px}.battle-basic-actions button{gap:3px;min-height:44px;padding:4px;font-size:.59rem}.battle-basic-actions small{display:none}.battle-potion{gap:3px;min-height:44px;padding:3px}.battle-potion-art{flex-basis:20px;width:20px;height:26px}.potion-full-name{display:none}.potion-short-name{display:inline}.battle-potion strong{font-size:.54rem}.battle-potion small{font-size:.46rem}.battle-quick-grid{grid-area:2/1/auto/-1;gap:4px}.battle-quick-grid .battle-skill{gap:3px;min-height:54px;padding:5px 4px}.battle-quick-grid .battle-skill .skill-icon{flex-basis:26px;width:26px;height:26px}.battle-quick-grid .battle-skill-copy strong{font-size:.58rem}.battle-quick-grid .battle-skill-copy small{font-size:.48rem}}.battle-skill-dialog{max-height:68dvh;margin-top:15px;padding:2px 4px 4px;overflow-y:auto}.modal .battle-skill-dialog>p{font-size:.75rem;line-height:1.6}.battle-skill-dialog label{text-transform:none;font-size:.75rem}.battle-skill-dialog input{font-size:.8rem}.battle-skill-filters{flex-wrap:wrap;gap:6px;margin-bottom:15px;display:flex}.battle-skill-filters button{min-height:36px;padding:8px 10px;font-size:.68rem}.battle-skill-filters button[aria-pressed=true]{background:var(--surface-selected);border-color:var(--accent-border)}.battle-all-skills{flex-direction:column;gap:11px;margin-bottom:16px;display:flex}.battle-all-skills .battle-skill{min-height:72px}.modal .battle-all-skills p{margin:5px 4px 0;font-size:.67rem;line-height:1.5}.quick-manager-heading{justify-content:space-between;align-items:center;gap:10px;margin:17px 0 10px;display:flex}.quick-manager-heading h3{margin:0;font-family:inherit;font-size:.8rem;font-weight:800}.quick-manager-heading>span{color:var(--muted);white-space:nowrap;font-size:.65rem}.quick-manager-heading .text-button{font-size:.65rem}.quick-manager-list{flex-direction:column;gap:7px;margin:0 0 17px;padding:0;list-style:none;display:flex}.quick-manager-list>li{border:1px solid var(--line);background:var(--surface-inset);cursor:grab;border-radius:6px;grid-template-columns:16px 36px minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px;display:grid}.quick-manager-list>li.is-dragging{opacity:.6;border-color:var(--accent-border)}.quick-manager-list strong{overflow-wrap:anywhere;font-size:.74rem;line-height:1.4}.quick-manager-number{color:var(--muted);font-variant-numeric:tabular-nums;font-size:.63rem}.quick-manager-list .skill-icon,.quick-manager-available .skill-icon{border-radius:6px;flex-basis:34px;width:34px;height:34px;padding:2px}.quick-manager-buttons{gap:5px;display:flex}.quick-manager-buttons button{width:36px;min-width:36px;height:40px;padding:4px;font-size:1rem}.quick-manager-available{flex-direction:column;gap:7px;display:flex}.quick-manager-available button{text-align:left;align-items:center;gap:10px;min-height:55px;padding:9px;font-size:.76rem;display:flex}.quick-manager-available button>span:nth-child(2){overflow-wrap:anywhere;flex:1;min-width:0}.quick-manager-available small{color:var(--muted);margin-top:4px;font-size:.61rem;font-weight:600;display:block}.quick-manager-footer{background:var(--paper);border-top:1px solid var(--line);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin-top:18px;padding:12px 0 3px;display:flex;position:sticky;bottom:-4px}.quick-manager-footer>.small{width:100%;font-size:.64rem}.quick-manager-footer button{min-height:44px;padding:9px 12px;font-size:.74rem}.modal .quick-manager-error{color:var(--danger);background:var(--danger-bg);margin:12px 0;padding:10px;font-size:.74rem}@media (width<=480px){.quick-manager-list>li{grid-template-columns:16px 32px minmax(0,1fr);gap:7px}.quick-manager-buttons{grid-column:2/-1;justify-content:flex-end}.quick-manager-buttons button{width:44px;height:44px}}.character-picker .character-slots>.panel{margin-bottom:0}.character-picker .character-selection-version{color:var(--muted);text-align:center;font-variant-numeric:tabular-nums;margin:24px 0 0;font-size:.7rem}.character-picker .selection-card{text-align:left;align-items:stretch;gap:0;min-height:0;padding:20px;box-shadow:0 3px #06170e66}.selection-identity{align-items:center;gap:13px;min-height:116px;margin-bottom:16px;display:flex}.selection-portrait{background:radial-gradient(at 50% 65%,#42604455,#0000 72%);flex:0 0 90px;width:90px;height:112px;overflow:hidden}.selection-portrait :is(img,.equipped-avatar){object-fit:contain;width:100%;height:100%;display:block}.selection-name{flex:1;min-width:0}.selection-name h2{overflow-wrap:anywhere;margin:7px 0 8px;font-size:1.4rem;line-height:1.2}.selection-level{letter-spacing:.04em;color:var(--accent-ink);background:var(--surface-selected);border:1px solid var(--accent-border);border-radius:4px;padding:3px 6px;font-size:.61rem;font-weight:800;display:inline-block}.selection-class{color:var(--leaf);overflow-wrap:anywhere;font-size:.73rem;font-weight:800;display:block}.selection-name small{color:var(--muted);margin-top:3px;font-size:.6rem;line-height:1.5;display:block}.selection-card .selection-location{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:9px;margin:0 0 16px;padding-bottom:12px;font-size:.67rem;line-height:1.5;display:flex}.selection-location>span{color:var(--muted);font-size:.62rem}.selection-location strong{font-weight:700}.selection-label{color:var(--muted);margin-bottom:7px;font-size:.6rem;display:block}.selection-attributes dl{border:1px solid var(--line);background:var(--surface-inset);border-radius:6px;grid-template-columns:repeat(4,minmax(0,1fr));margin:0;display:grid;overflow:hidden}.selection-attributes dl>div{text-align:center;border-right:1px solid var(--line);padding:8px 3px}.selection-attributes dl>div:last-child{border:0}.selection-attributes dt{color:var(--muted);font-size:.57rem}.selection-attributes dd{color:var(--leaf);font-variant-numeric:tabular-nums;margin:4px 0 0;font-size:.92rem;font-weight:800}.selection-combat{flex-wrap:wrap;justify-content:space-between;gap:8px;margin:13px 0 18px;display:flex}.selection-combat>div{align-items:baseline;gap:8px;font-size:.67rem;display:flex}.selection-combat dt{color:var(--muted)}.selection-combat dd{color:var(--leaf);font-variant-numeric:tabular-nums;margin:0;font-weight:800}.character-last-played{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:5px 9px;margin-top:auto;padding:12px 0 14px;font-size:.65rem;display:flex}.character-last-played>span:first-child{color:var(--muted)}.character-last-played time{color:var(--leaf);font-weight:800}.character-last-played>span:last-child{color:var(--muted)}.selection-card>button{width:100%;min-height:44px;margin-top:0;font-size:.78rem}.character-picker .selection-new{justify-content:center;min-height:0;padding:23px}.selection-new h2{font-size:1.35rem}.selection-new form{padding-top:20px}.selection-new label{font-size:.72rem}.selection-new input,.selection-new button{font-size:.8rem}@media (width>=761px) and (width<=980px){.character-picker .character-slots{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=760px){.character-picker .character-slots{gap:14px;margin-top:22px}.character-picker .selection-card{padding:17px}.selection-identity{min-height:96px;margin-bottom:12px}.selection-portrait{flex-basis:78px;width:78px;height:96px}.selection-name h2{font-size:1.4rem}.selection-card .selection-location{margin-bottom:13px}.character-picker .selection-new{min-height:300px}}.attribute-description span{line-height:1.5;display:block}.attribute-row>div:first-child{min-width:0}.attribute-row .stepper{flex:none;align-self:center}.npc-quest-marker{box-sizing:border-box;width:var(--quest-marker-size,30px);height:var(--quest-marker-size,30px);color:#493017;z-index:3;pointer-events:none;background:#f1c75b;border:2px solid #644420;border-radius:50%;flex:none;place-items:center;padding:2px;line-height:0;display:inline-grid;box-shadow:inset 0 1px #fff1c8,0 2px 3px #223b3266}.npc-quest-marker>.quest-marker-symbol{width:100%;height:100%;display:block}.npc-quest-marker.ready{color:#244938;background:#b9d776;border-color:#31533a}.npc-quest-marker.available.overleveled{color:#424b44;background:#d6d7d3;border-color:#676e65;box-shadow:inset 0 1px #f6f7f3,0 2px 3px #223b3266}.quest-level-advice{line-height:1.5}.quest-level-advice.overleveled{color:var(--muted)}.quest-levels{flex-wrap:wrap;gap:8px;margin:12px 0;display:flex}.quest-levels>div{border:1px solid var(--line);background:var(--surface-inset);border-radius:6px;flex:100px;min-width:0;padding:9px 12px}.quest-levels>div+div{background:var(--warning-bg);border-color:var(--accent-border)}.quest-levels dt{color:var(--muted);font-size:.65rem;font-weight:800;line-height:1.4}.quest-levels dd{color:var(--ink);overflow-wrap:anywhere;margin:4px 0 0;font-size:.88rem;font-weight:800;line-height:1.35}.quest-level-advice>p{margin:8px 0 12px}.safe-talk>.npc-quest-marker{left:50%;top:calc(clamp(40px,6vw,76px) * var(--npc-head-shift,-.87) - 4px);position:absolute;transform:translate(-50%,-100%)}.town-person>.npc-quest-marker{position:absolute;top:4%;left:50%;transform:translate(-50%,-100%)}.villager-portrait{min-width:0;display:block;position:relative}.villager-portrait>.npc-quest-marker{position:absolute;top:14px;left:50%;transform:translate(-50%,-100%)}.quest-npc-portrait{flex-shrink:0;display:inline-flex;position:relative}.quest-npc-portrait.has-quest{padding-top:25px}.quest-npc-portrait>.npc-quest-marker{--quest-marker-size:24px;position:absolute;top:0;left:50%;transform:translate(-50%)}@media (width<=760px){.town-person>.npc-quest-marker{--quest-marker-size:23px}}@media (width<=650px){.safe-talk>.npc-quest-marker{--quest-marker-size:23px;top:calc(26px * var(--npc-head-ratio,.13) - 1px)}.villager-portrait>.npc-quest-marker{--quest-marker-size:23px}}.app-shell.has-hero,.app-shell.has-hero.battle-mode{--hero-topbar-height:84px;flex-direction:column;height:100dvh;min-height:0;display:flex;overflow:hidden}.app-shell.has-hero>.topbar{flex:0 0 var(--hero-topbar-height);z-index:60;position:relative}.app-shell.has-hero>.error-banner,.app-shell.has-hero>.preview-banner{flex:none;max-height:22dvh;margin:0;overflow:auto}.app-shell.has-hero>footer{display:none}.world-shell{--dock-height:calc(82px + env(safe-area-inset-bottom,0px));isolation:isolate;min-width:0;min-height:0;color:var(--ink);background:#294c3b;flex:1;position:relative;overflow:hidden}.world-stage-root{min-width:0;min-height:0;position:absolute;inset:0;overflow:hidden}.adventure-landscape,.adventure-landscape>.scene-canvas{aspect-ratio:auto;width:100%;height:100%;display:block;position:relative}.scene-camera{touch-action:pinch-zoom;-webkit-user-select:none;user-select:none;outline-offset:-4px;width:100%;height:100%;position:relative;overflow:hidden}.scene-camera.fitted{touch-action:auto}.scene-camera-plane{will-change:transform;position:absolute;inset:0 auto auto 0;container-type:inline-size}.scene-camera-plane>.safe-location,.scene-camera-plane .scene-panel,.scene-camera-plane>.town-interior,.scene-camera-plane .town-room{aspect-ratio:auto;width:100%;height:100%;box-shadow:none;background:0 0;border:0;border-radius:0;margin:0;overflow:visible}.scene-camera-plane .scene-canvas,.scene-camera-plane .town-background{aspect-ratio:auto;object-fit:contain;pointer-events:none;width:100%;height:100%;display:block}.scene-camera-plane .town-heading,.scene-camera-plane .scene-label,.scene-camera-plane .safe-actions,.scene-camera-plane .city-building-list{display:none}.scene-camera-plane .safe-spots{display:block!important}.scene-camera-plane .safe-place{--npc-size:clamp(100px, 8cqw, 260px);--npc-label-gap:6px;left:var(--spot-x);top:var(--spot-y)}.scene-camera-plane .safe-location .safe-spot{white-space:nowrap;width:auto;min-width:44px;max-width:none;min-height:44px;padding:8px 12px;font-size:.78rem;line-height:1.2}.scene-camera-plane .safe-place .safe-person{left:50%;top:calc(var(--npc-size) * var(--npc-foot-gap,0) - var(--npc-label-gap));width:var(--npc-size);max-width:none;height:auto;position:absolute;transform:translate(-50%,-100%)}.scene-camera-plane .safe-location .safe-talk{display:block}.scene-camera-plane .safe-talk>.npc-quest-marker{--quest-marker-size:34px;top:calc(-4px - var(--npc-label-gap) - var(--npc-size) * var(--npc-visible-ratio,.8))}.scene-camera-plane .town-room .town-spot{white-space:nowrap;width:auto;min-width:44px;max-width:none;min-height:44px;padding:8px 12px;font-size:.76rem;display:flex}.scene-camera-plane .town-room .town-spot small{font-size:.65rem;display:block}.scene-camera-tools{left:16px;bottom:calc(var(--dock-height) + 62px);z-index:3;position:absolute}.scene-camera-tools button{min-height:44px;box-shadow:0 2px 7px #172c2f44}.world-location,.quest-tracker{z-index:5;background:var(--surface-panel);border:1px solid var(--surface-border);border-bottom:3px solid var(--accent-border);border-radius:10px;position:absolute;box-shadow:0 3px 12px #172c2f40}.world-location{max-width:min(430px,100% - 340px);padding:12px 16px;top:14px;left:16px}.world-location h1{margin:0 0 4px;font-size:1.45rem}.world-location p{color:var(--muted);margin:0;font-size:.74rem;line-height:1.35}.world-location-actions{flex-wrap:wrap;gap:6px;margin-top:9px;display:flex}.world-location-actions button{min-height:44px;padding:7px 10px;font-size:.68rem}.quest-tracker{width:286px;max-height:calc(100% - var(--dock-height) - 30px);flex-direction:column;padding:10px 14px;display:flex;top:14px;right:16px;overflow:hidden}.quest-tracker.collapsed{width:auto;min-width:100px;padding:0 8px}.quest-tracker-heading{flex:none;justify-content:space-between;align-items:center;gap:6px;display:flex}.quest-tracker-heading button{color:var(--ink);min-height:44px;box-shadow:none;background:0 0;border:0;padding:7px 0;font-size:.79rem}.quest-tracker-heading button:hover:not(:disabled){color:var(--ink);background:0 0;transform:none}.quest-tracker-heading .text-button{min-width:44px;font-size:1.15rem}.quest-tracker-count{color:var(--muted);margin-left:4px;font-size:.7rem}.quest-tracker-goals{overscroll-behavior:contain;scrollbar-gutter:stable;min-height:0;overflow-y:auto}.quest-tracker-goal{overflow-wrap:anywhere;padding:8px 0}.quest-tracker-goal+.quest-tracker-goal{border-top:1px solid var(--line)}.quest-tracker-goal h2{margin:3px 0 6px;font-size:1rem}.quest-tracker-goal p{margin:0 0 7px;font-size:.76rem;line-height:1.45}.quest-tracker-goal small{color:var(--muted);font-size:.67rem}.quest-tracker-goal progress{accent-color:#77974e;border-radius:5px;width:100%;height:10px;margin:10px 0 4px;display:block;overflow:hidden}.world-dock{z-index:40;left:50%;bottom:max(8px, env(safe-area-inset-bottom));border:2px solid var(--surface-border);background:var(--surface-panel);border-radius:10px;gap:5px;width:550px;max-width:calc(100% - 24px);padding:5px;display:flex;position:absolute;transform:translate(-50%);box-shadow:0 3px 16px #172c2f66}.world-dock-links{flex:1;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;min-width:0;display:grid}.world-dock-links button{flex-direction:column;justify-content:center;align-items:center;gap:2px;min-height:58px;padding:5px 8px;font-size:.8rem;line-height:1.2;display:flex}.world-dock-links button>span{font-family:Georgia,serif;font-size:1.7rem;line-height:1}.world-dock-links button[aria-pressed=true]{background:var(--surface-selected);border-color:var(--success)}.has-dock-potions .world-dock{width:720px}.dock-potions{border-left:1px solid var(--line);flex:0 0 166px;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding-left:5px;display:grid;position:relative}.dock-potions .dock-potion{min-width:0;min-height:58px;color:var(--danger);background:var(--danger-bg);border-color:var(--danger);justify-content:center;align-items:center;gap:4px;padding:4px;display:flex}.dock-potions .dock-potion[data-resource=mp]{color:var(--info);background:var(--info-bg);border-color:var(--info)}.dock-potion-art{flex:none;place-items:center;width:25px;height:38px;display:grid;position:relative}.dock-potion-art .game-sprite{z-index:1;object-fit:contain;width:100%;height:100%;position:relative}.dock-potion-fallback{font-size:.65rem;font-weight:800}.dock-potion-art:has(img) .dock-potion-fallback{display:none}.dock-potion-copy{flex-direction:column;align-items:center;gap:3px;font-size:.6rem;line-height:1.2;display:flex}.dock-potion-copy b{font-size:.74rem}.dock-potion-feedback{border:1px solid var(--surface-border);background:var(--surface-panel);width:max-content;max-width:calc(100vw - 32px);color:var(--ink);pointer-events:none;border-radius:7px;padding:9px 14px;font-size:.78rem;position:absolute;bottom:calc(100% + 14px);right:0;box-shadow:0 3px 12px #172c2f40}.world-primary-action{left:50%;bottom:calc(var(--dock-height) + 12px);z-index:5;gap:8px;display:flex;position:absolute;transform:translate(-50%)}.world-primary-action button{border-color:var(--accent-border);min-width:180px;min-height:48px;box-shadow:0 3px 12px #172c2f55}.world-result{z-index:6;bottom:calc(var(--dock-height) + 76px);background:var(--surface-panel);border:1px solid var(--surface-border);border-left:5px solid #78974d;border-radius:7px;align-items:flex-start;gap:12px;width:max-content;max-width:min(480px,100% - 24px);padding:12px 14px;display:flex;position:absolute;left:50%;transform:translate(-50%);box-shadow:0 4px 14px #172c2f55}.world-result.defeat{border-left-color:#b7684d}.world-result p{margin:5px 0 0;font-size:.76rem;line-height:1.5}.world-result small{font-size:.7rem}.world-result button{min-width:44px;min-height:44px;color:var(--ink);background:0 0;border:0;padding:0;font-size:1.5rem}.workspace-curtain{z-index:10;touch-action:none;background:#142e263b;position:absolute;inset:0}.world-workspace{z-index:20;inset:18px max(28px, calc((100% - 1120px) / 2)) calc(var(--dock-height) + 14px);border:2px solid var(--surface-border);background:var(--surface-panel);border-radius:12px;flex-direction:column;min-width:0;min-height:0;display:flex;position:absolute;overflow:hidden;box-shadow:0 16px 50px #12281f66}.world-workspace[hidden]{display:none}.workspace-heading{border-bottom:1px solid var(--line);background:var(--surface-inset);flex:none;align-items:center;gap:12px;min-height:64px;padding:8px 20px;display:flex}.workspace-heading h1{overflow-wrap:anywhere;outline:none;flex:1;min-width:0;margin:0;font-size:1.5rem}.workspace-heading>button{flex:none;min-width:44px;min-height:44px;padding:5px 8px}.workspace-heading .workspace-close{color:var(--ink);background:0 0;border:0;font-size:1.8rem}.workspace-content{flex:1;min-height:0;position:relative;overflow:hidden}.workspace-base,.window-detail{overscroll-behavior:contain;scrollbar-gutter:stable;min-width:0;height:100%;padding:22px;overflow:auto}.window-detail{background:var(--paper);position:absolute;inset:0}.window-detail[inert]{visibility:hidden}.world-workspace .panel{max-width:100%;margin:0 0 16px}.world-workspace .quest-sidebar{width:100%;padding:0;display:block}.world-workspace .quest-sidebar .panel{margin-bottom:16px}.places-list{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;display:grid}.places-list button{text-align:left;white-space:normal;min-height:56px}.places-list strong,.places-list small{display:block}.places-list small{margin-top:6px;font-size:.75rem;font-weight:600}.quest-goals{gap:12px;margin:18px 0;display:grid}.quest-goals article{border:1px solid var(--line);background:var(--surface-inset);border-radius:7px;padding:14px}.quest-goals h3{margin:5px 0}.quest-goals p{margin:6px 0;font-size:.8rem}.quest-goals small{text-transform:capitalize;color:var(--muted)}.quest-goals button{min-height:44px}.quest-goals button[aria-pressed=true]{background:var(--surface-selected);border-color:var(--success)}.quest-follow-count{color:var(--ink);font-size:.82rem}.world-stage-root>.world-page{min-height:0;position:absolute;inset:0}.world-stage-root .world-viewport{place-items:center;height:100%;padding:0;display:grid;container-type:size}.world-stage-root .world-landscape{aspect-ratio:3/2;width:min(100cqw,150cqh);max-width:none;margin:0}.world-stage-root .world-help,.world-stage-root .world-list,.world-stage-root .planned-city-list{display:none}.world-stage-root .world-region-picker{z-index:8;background:var(--paper);width:160px;max-width:calc(100% - 16px);color:var(--ink);border:1px solid var(--line);border-radius:6px;margin:0;padding:5px 8px;font-size:.7rem;position:absolute;top:8px;left:25%}.world-stage-root .world-region-picker select{width:100%;min-height:44px}@media (width<=760px){.world-stage-root .world-region-picker{width:140px;top:78px;left:8px;transform:none}}@media (width<=360px){.world-stage-root .world-region-picker{width:120px}}.world-stage-root .city.edge-top .world-node-name{top:calc(100% + 3px);bottom:auto}.world-stage-root .city.edge-bottom .world-node-name{top:auto;bottom:calc(100% + 3px)}@media (width<=760px){.app-shell.has-hero,.app-shell.has-hero.battle-mode{--hero-topbar-height:64px}.world-shell{--dock-height:calc(72px + env(safe-area-inset-bottom,0px))}.world-location{max-width:calc(100% - 110px);padding:8px 10px;top:8px;left:8px}.world-location h1{font-size:1.08rem}.world-location p{font-size:.62rem}.world-location-actions{gap:4px;margin-top:5px}.world-location-actions button{padding:5px 7px;font-size:.6rem}.quest-tracker{width:210px;max-height:calc(100% - var(--dock-height) - 146px);padding:6px 10px;top:130px;right:8px}.quest-tracker.collapsed{min-width:86px;top:8px}.quest-tracker-goal p{font-size:.7rem}.quest-tracker-goal h2{font-size:.9rem}.quest-tracker-heading button{font-size:.72rem}.world-dock{bottom:max(5px, env(safe-area-inset-bottom));gap:3px;max-width:calc(100% - 12px);padding:3px}.world-dock-links{gap:3px}.world-dock-links button{min-height:52px;padding:4px;font-size:.65rem}.world-dock-links button>span{font-size:1.4rem}.world-shell.has-dock-potions{--dock-height:calc(124px + env(safe-area-inset-bottom,0px))}.has-dock-potions .world-dock{flex-wrap:wrap}.dock-potions{border-left:0;border-bottom:1px solid var(--line);flex:0 0 100%;order:-1;padding:0 0 4px}.dock-potions .dock-potion{gap:8px;min-height:44px}.dock-potion-art{width:24px;height:30px}.dock-potion-copy{flex-direction:row;gap:7px;font-size:.7rem}.world-primary-action{left:8px;right:8px;transform:none}.world-primary-action button{width:100%;min-width:0}.scene-camera-tools{left:8px}.world-workspace{inset:8px 6px calc(var(--dock-height) + 8px);border-radius:9px}.workspace-heading{gap:6px;min-height:56px;padding:6px 12px}.workspace-heading h1{font-size:1.25rem}.workspace-base,.window-detail{padding:14px 10px}.places-list{grid-template-columns:1fr}}@media (height<=540px){.app-shell.has-hero,.app-shell.has-hero.battle-mode{--hero-topbar-height:56px}.world-shell{--dock-height:calc(60px + env(safe-area-inset-bottom,0px))}.world-location{align-items:center;gap:12px;max-width:calc(100% - 108px);padding:5px 10px;display:flex;top:5px;left:8px}.world-location h1{font-size:1rem}.world-location p{font-size:.58rem}.world-location-actions{flex-wrap:nowrap;margin:0}.world-location-actions button{padding:4px 7px;font-size:.56rem}.quest-tracker{max-height:calc(100% - var(--dock-height) - 76px);top:60px;right:8px}.quest-tracker.collapsed{top:5px;right:8px}.world-dock{bottom:max(3px, env(safe-area-inset-bottom));width:430px;padding:2px}.world-dock-links button{flex-direction:row;gap:6px;min-height:44px;font-size:.65rem}.world-dock-links button>span{font-size:1.2rem}.world-workspace{inset:6px 8px calc(var(--dock-height) + 6px);max-width:none}.workspace-heading{min-height:48px;padding:2px 10px}.workspace-heading h1{font-size:1.15rem}}@media (height<=540px) and (width>=600px){.world-shell.has-dock-potions{--dock-height:calc(60px + env(safe-area-inset-bottom,0px))}.has-dock-potions .world-dock{flex-wrap:nowrap;width:620px}.dock-potions{border-bottom:0;border-left:1px solid var(--line);flex:0 0 166px;order:0;padding:0 0 0 5px}.dock-potion-art{height:30px}.dock-potion-copy{flex-direction:column;gap:2px;font-size:.6rem}.dock-potions .dock-potion{gap:4px;min-height:44px}}@media (prefers-reduced-motion:reduce){.scene-camera-plane{will-change:auto}.world-shell *{scroll-behavior:auto}}.world-stage-root>.world-map-layout{grid-template:"map controls""map quests"minmax(0,1fr)/minmax(0,1fr) 312px;gap:16px;min-width:0;min-height:0;padding:16px;display:grid}.world-map-layout>.world-map-controls{flex-direction:column;grid-area:controls;gap:12px;min-width:0;display:flex}.world-map-layout>.world-map-display{grid-area:map;grid-template-rows:minmax(0,1fr);min-width:0;min-height:0;display:grid;position:relative}.world-map-layout .world-location{width:100%;max-width:none;padding:12px 14px;display:block;position:static;inset:auto;transform:none}.world-map-layout .world-location h1{margin:0;font-size:1.2rem}.world-map-layout .world-location p{display:none}.world-map-layout .world-location-actions{flex-wrap:wrap;gap:6px;margin-top:8px}.world-map-layout .world-location-actions button{min-height:44px;padding:7px 10px;font-size:.75rem}.world-map-layout .world-region-picker{border:1px solid var(--surface-border);border-bottom:3px solid var(--accent-border);background:var(--surface-panel);border-radius:10px;gap:7px;width:100%;max-width:none;margin:0;padding:12px 14px;font-size:.78rem;font-weight:800;display:grid;position:static;inset:auto;transform:none;box-shadow:0 3px 12px #172c2f40}.world-map-layout .world-region-picker select{width:100%;min-width:0;min-height:44px;margin:0}.world-map-layout>.quest-tracker{grid-area:quests;align-self:start;width:100%;min-width:0;max-width:none;max-height:100%;margin:0;position:static;inset:auto;transform:none}@media (width<=1100px){.on-map .world-stage-root{overscroll-behavior:contain;overflow:hidden auto}.world-stage-root>.world-map-layout{grid-template:"controls""map""quests"/minmax(0,1fr);align-content:start;gap:12px;height:auto;min-height:100%;padding:12px;position:relative;inset:auto}.world-map-layout>.world-map-controls{grid-template-columns:minmax(0,1fr) minmax(160px,240px);align-items:stretch;display:grid}.world-map-layout .world-location:only-child{grid-column:1/-1}.world-map-layout .world-viewport{aspect-ratio:3/2;height:auto;min-height:0}.world-map-layout .world-landscape{aspect-ratio:3/2;width:100%;max-width:none;margin:0}.world-map-layout>.quest-tracker{max-height:min(260px,40dvh)}}@media (width<=520px){.world-stage-root>.world-map-layout{gap:10px;padding:8px}.world-map-layout>.world-map-controls{grid-template-columns:minmax(0,1fr);gap:8px}.world-map-layout .world-location{justify-content:space-between;align-items:center;gap:10px;padding:8px 10px;display:flex}.world-map-layout .world-location h1{font-size:1.05rem}.world-map-layout .world-location-actions{flex-wrap:nowrap;gap:4px;margin:0}.world-map-layout .world-location-actions button{padding:6px 8px;font-size:.7rem}.world-map-layout .world-region-picker{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;padding:8px 10px}}.workspace-base:has(>.quest-journal){scrollbar-gutter:auto;padding:0;overflow:hidden}.quest-journal{background:var(--paper);grid-template-columns:minmax(210px,28%) minmax(0,1fr);height:100%;min-height:0;display:grid}.quest-journal-sidebar{background:var(--surface-inset);border-right:1px solid var(--line);flex-direction:column;min-width:0;min-height:0;display:flex}.quest-journal-sidebar>header{border-bottom:1px solid var(--line);flex:none;padding:22px 16px 14px}.quest-journal-sidebar .eyebrow{margin-bottom:6px;font-size:.6rem}.quest-journal-sidebar h2{justify-content:space-between;align-items:center;gap:8px;margin:0;font-size:1.25rem;display:flex}.quest-journal-sidebar h2>span{background:var(--surface-raised);border-radius:4px;padding:4px 8px;font:800 .72rem Nunito Sans,sans-serif}.quest-journal-sidebar .quest-follow-count{margin:9px 0 0;font-size:.7rem;line-height:1.5}.quest-journal-sidebar nav{overscroll-behavior:contain;scrollbar-gutter:stable;flex:1;min-height:0;padding:8px 0;overflow:auto}.quest-journal-sidebar ul{margin:0;padding:0;list-style:none}.quest-journal-row{border-left:4px solid #0000;border-bottom:1px solid var(--line);align-items:center;gap:2px;min-width:0;padding:2px 6px 2px 0;display:flex}.quest-journal-row.is-selected{background:var(--surface-selected);border-left-color:var(--accent-border)}.quest-journal-select{text-align:left;min-width:0;color:var(--ink);box-shadow:none;white-space:normal;overflow-wrap:anywhere;background:0 0;border:0;border-radius:0;flex:1;min-height:66px;padding:12px;font-weight:600}.quest-journal-select:hover:not(:disabled){background:var(--surface-hover);transform:none}.quest-journal-select strong{font:400 1rem/1.3 Bree Serif,Georgia,serif;display:block}.quest-journal-select small,.quest-journal-select>span{color:var(--muted);font-size:.61rem;line-height:1.5;display:block}.quest-journal-select small{margin-bottom:4px}.quest-journal-select>span{margin-top:4px}.quest-follow-button{width:44px;min-height:44px;color:var(--muted);box-shadow:none;background:0 0;border:1px solid #0000;border-radius:6px;flex:0 0 44px;place-items:center;padding:8px;display:grid}.quest-follow-button[aria-pressed=true]{color:var(--accent-ink);background:var(--surface-selected);border-color:var(--accent-border)}.quest-follow-button:hover:not(:disabled){background:var(--surface-hover);color:var(--accent-ink);transform:none}.quest-follow-button:disabled{opacity:.4}.quest-journal-sidebar>footer{border-top:1px solid var(--line);text-align:left;color:var(--muted);flex:none;padding:12px 16px;font-size:.65rem;line-height:1.5;display:block}.quest-journal-sidebar>footer p{margin:0}.quest-journal-empty-list{color:var(--muted);padding:12px 16px;font-size:.8rem}.quest-journal-details{overscroll-behavior:contain;scrollbar-gutter:stable;min-width:0;min-height:0;padding:26px clamp(18px,3vw,38px) 30px;overflow:auto}.quest-journal-details:focus-visible{outline:3px solid var(--gold);outline-offset:-4px}.quest-journal-detail-heading{border-bottom:1px solid var(--line);margin-bottom:18px;padding-bottom:18px}.quest-journal-detail-heading .eyebrow{margin:0 10px 12px 0;display:inline-block}.quest-journal-status{color:var(--muted);background:var(--surface-raised);border:1px solid var(--line);border-radius:5px;margin-bottom:12px;padding:4px 7px;font-size:.65rem;font-weight:800;display:inline-block}.quest-journal-status.ready{background:var(--success-bg);border-color:var(--success);color:var(--success)}.quest-journal-detail-heading h2{overflow-wrap:anywhere;margin:0 0 12px;font-size:clamp(1.5rem,2.3vw,2rem)}.quest-journal-detail-heading p{max-width:65ch;margin:0;font-size:.9rem;line-height:1.7}.quest-journal-giver{align-items:center;gap:12px;margin-bottom:18px;display:flex}.quest-journal-giver .game-sprite{flex:none;width:58px;height:72px}.quest-journal-giver>div{min-width:0}.quest-journal-giver small,.quest-journal-giver strong,.quest-journal-giver span{display:block}.quest-journal-giver small{color:var(--muted);font-size:.62rem}.quest-journal-giver strong{margin:3px 0;font-size:.85rem}.quest-journal-giver span{color:var(--muted);overflow-wrap:anywhere;font-size:.7rem}.quest-journal-details .quest-level-advice{margin-bottom:20px}.quest-journal-section{margin:22px 0}.quest-journal-section h3{margin-bottom:10px;font-size:1.12rem}.quest-journal-objectives{margin:0 0 14px;padding:0;list-style:none}.quest-journal-objectives li{border-bottom:1px solid var(--line);align-items:baseline;gap:9px;padding:10px 0;font-size:.82rem;display:flex}.quest-journal-objectives li>span:nth-child(2){overflow-wrap:anywhere;flex:1;min-width:0}.quest-journal-objectives strong{font-variant-numeric:tabular-nums;flex:none;font-size:.75rem}.quest-objective-mark{color:var(--muted);flex:none}.quest-journal-objectives .is-complete,.quest-journal-objectives .is-complete .quest-objective-mark{color:var(--success)}.quest-journal-section progress{accent-color:#77974e;width:100%;height:10px;display:block}.quest-journal-next{color:var(--muted);margin:12px 0 0;font-size:.8rem;line-height:1.6}.quest-journal-rewards{background:var(--warning-bg);border-left:3px solid var(--accent-border);border-radius:3px;flex-wrap:wrap;gap:7px 18px;margin:0;padding:12px 16px;font-size:.8rem;line-height:1.65;list-style:none;display:flex}.quest-journal-actions{margin:24px 0 12px}.quest-journal-actions button{white-space:normal;min-height:44px;font-size:.76rem}.quest-journal-empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:100%;padding:24px 10px;display:flex}.quest-journal-empty>span{color:var(--accent-ink);margin-bottom:18px;font-size:2.6rem}.quest-journal-empty h2{font-size:1.7rem}.quest-journal-empty p{max-width:42ch;color:var(--muted);font-size:.9rem}@media (width<=640px){.quest-journal{grid-template-rows:minmax(120px,36%) minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.quest-journal-sidebar{border-right:0;border-bottom:1px solid var(--line)}.quest-journal-sidebar>header{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 10px;padding:12px 14px 9px;display:grid}.quest-journal-sidebar .eyebrow{display:none}.quest-journal-sidebar h2{font-size:1.1rem}.quest-journal-sidebar .quest-follow-count{text-align:right;max-width:140px;margin:0;font-size:.63rem}.quest-journal-sidebar>footer{display:none}.quest-journal-sidebar nav{padding:3px 0}.quest-journal-select{min-height:58px;padding:9px 10px}.quest-journal-select strong{font-size:.95rem}.quest-journal-select>span{display:none}.quest-journal-details{padding:18px 14px 24px}.quest-journal-detail-heading h2{font-size:1.5rem}.quest-journal-detail-heading p{font-size:.82rem}.quest-journal-actions{grid-template-columns:minmax(0,1fr);display:grid}}@media (width>=480px) and (height<=540px){.quest-journal{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(170px,32%) minmax(0,1fr)}.quest-journal-sidebar>header{padding:10px 12px;display:block}.quest-journal-sidebar .quest-follow-count{text-align:left;max-width:none;margin-top:6px}.quest-journal-sidebar>footer{display:none}.quest-journal-details{padding:14px}.quest-journal-detail-heading h2{font-size:1.3rem}}.workspace-base:has(>.wiki){scrollbar-gutter:auto;padding:0;overflow:hidden}.wiki{background:var(--paper);grid-template-columns:minmax(230px,29%) minmax(0,1fr);height:100%;min-height:0;display:grid}.wiki-sidebar{background:var(--surface-inset);border-right:1px solid var(--line);flex-direction:column;min-width:0;min-height:0;display:flex}.wiki-sidebar>header{border-bottom:1px solid var(--line);flex:none;padding:20px 16px 12px}.wiki-sidebar .eyebrow{margin-bottom:6px;font-size:.6rem}.wiki-sidebar h2{margin:0 0 14px;font-size:1.25rem}.wiki-sidebar label{margin-bottom:6px;font-size:.67rem;font-weight:800;display:block}.wiki-search{position:relative}.wiki-search input{width:100%;min-width:0;min-height:42px;margin:0;padding:10px 34px 10px 10px;font-size:.75rem}.wiki-search>button{width:34px;min-height:40px;box-shadow:none;padding:0;font-size:1.2rem;position:absolute;top:1px;right:1px}.wiki-search input::-webkit-search-cancel-button{display:none}.wiki-count{color:var(--muted);margin:9px 0 0;font-size:.64rem;line-height:1.5}.wiki-sidebar nav{overscroll-behavior:contain;scrollbar-gutter:stable;flex:1;min-height:0;padding:8px 0;overflow:auto}.wiki-sidebar ul{margin:0;padding:0;list-style:none}.wiki-sidebar li>div>ul{border-left:1px solid var(--line);margin-left:13px}.wiki-sidebar :is(.wiki-category,.wiki-article-link){width:100%;min-height:44px;color:var(--ink);box-shadow:none;text-align:left;white-space:normal;overflow-wrap:anywhere;background:0 0;border:0;border-radius:0;align-items:center;gap:7px;margin:0;padding:10px 12px;line-height:1.5;display:flex}.wiki-sidebar :is(.wiki-category,.wiki-article-link):hover{background:var(--surface-hover);transform:none}.wiki-sidebar :is(.wiki-category,.wiki-article-link):focus-visible{outline:2px solid var(--gold);outline-offset:-3px}.wiki-category{font-size:.74rem;font-weight:800}.wiki-category>span:nth-child(2){flex:1;min-width:0}.wiki-category>small{font-variant-numeric:tabular-nums;color:var(--muted);font-size:.59rem;font-weight:600}.wiki-chevron{width:10px;color:var(--accent-ink);flex:none}.wiki-sidebar .wiki-article-link{border-left:3px solid #0000;padding-left:16px;font-size:.72rem;font-weight:600}.wiki-sidebar .wiki-article-link[aria-current=page]{background:var(--surface-selected);border-left-color:var(--accent-border);color:var(--accent-ink)}.wiki-class-label{flex-direction:column;gap:3px;min-width:0;display:flex}.wiki-class-label>span{font:400 .95rem/1.25 Bree Serif,Georgia,serif}.wiki-class-label>small{font-size:.62rem;font-weight:600;line-height:1.3}.wiki-no-results{color:var(--muted);padding:12px 16px;font-size:.78rem;line-height:1.65}.wiki-details{overscroll-behavior:contain;scrollbar-gutter:stable;min-width:0;min-height:0;padding:26px clamp(18px,3vw,38px) 30px;overflow:auto}.wiki-details:focus-visible{outline:3px solid var(--gold);outline-offset:-4px}.wiki-details>article{max-width:72ch}.wiki-article-heading{border-bottom:1px solid var(--line);margin-bottom:22px;padding-bottom:20px}.wiki-article-heading .wiki-breadcrumb{color:var(--muted);margin:0 0 10px;font-size:.65rem;line-height:1.6}.wiki-article-heading h2{overflow-wrap:anywhere;margin:0 0 12px;font-size:clamp(1.5rem,2.3vw,2rem)}.wiki-article-heading .wiki-job-label{color:var(--accent-ink);margin:-5px 0 12px;font-size:.72rem;font-weight:700;line-height:1.4}.wiki-article-heading>p:last-child{color:var(--muted);margin:0;font-size:.9rem;line-height:1.7}.wiki-section{margin:22px 0}.wiki-section h3,.wiki-related h3{margin:0 0 10px;font-size:1.13rem}.wiki-section p,.wiki-section li{overflow-wrap:anywhere;font-size:.84rem;line-height:1.75}.wiki-section p{margin:0 0 12px}.wiki-section ul{margin:12px 0;padding-left:20px}.wiki-section li{margin-bottom:8px;padding-left:3px}.wiki-skillbook{margin-top:18px}.wiki-skillbook .wiki-skill-hint{text-align:center;color:var(--muted);margin-bottom:14px;font-size:.68rem}.wiki-skill-icons{gap:14px;margin:0 0 18px;padding:4px;display:flex;overflow-x:auto}.wiki-skill-icons .wiki-skill-button{background:var(--surface-inset);width:76px;height:76px;min-height:44px;box-shadow:none;border:2px solid #0000;border-radius:12px;flex:0 0 76px;place-items:center;padding:4px;display:grid}.wiki-skill-icons .wiki-skill-button:first-child{margin-left:auto}.wiki-skill-icons .wiki-skill-button:last-child{margin-right:auto}.wiki-skill-icons .wiki-skill-button:focus-visible{outline:2px solid var(--gold);outline-offset:1px}.wiki-skill-icons .wiki-skill-button:hover{background:var(--surface-hover);transform:none}.wiki-skill-icons .wiki-skill-button[aria-pressed=true]{border-color:var(--gold);background:var(--surface-selected);box-shadow:0 0 0 3px var(--surface-inset)}.wiki-skill-icons .skill-icon{border-radius:8px;flex-basis:64px;width:64px;height:64px;padding:5px}.wiki-skill-detail{overscroll-behavior:contain;scrollbar-gutter:stable;border:1px solid var(--accent-border);background:var(--surface-inset);border-radius:10px;height:290px;padding:20px;overflow-y:auto}.wiki-skill-detail:focus-visible{outline:2px solid var(--gold);outline-offset:3px}.wiki-skill-detail>header{flex-direction:column;align-items:center;gap:6px;margin-bottom:12px;display:flex}.wiki-skill-kind{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-size:.6rem;font-weight:800}.wiki-skill-detail h4{color:var(--accent-ink);margin:0;font:400 1.4rem/1.2 Bree Serif,Georgia,serif}.wiki-skill-detail>p{text-align:center;margin:0 0 14px}.wiki-skill-effects{border-top:1px solid var(--line);border-bottom:1px solid var(--line);text-align:center;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0;padding:12px 0;display:grid}.wiki-skill-effects dt{color:var(--muted);margin-bottom:5px;font-size:.61rem}.wiki-skill-effects dd{color:var(--leaf);margin:0;font-size:.85rem;font-weight:800;line-height:1.5}.wiki-skill-effects dd>span{color:var(--muted);margin-top:4px;font-size:.68rem;font-weight:600;display:block}.wiki-skill-detail .wiki-skill-requirements{color:var(--muted);margin:6px 0 0;font-size:.66rem;line-height:1.6}.wiki-attributes .wiki-skill-button{gap:2px}.wiki-attribute-icon{--stat-icon-size:48px;width:48px;height:48px;color:var(--accent-ink);place-items:center;display:grid}.wiki-attribute-label{color:var(--ink);font-size:.6rem;font-weight:800;line-height:1}.wiki-attribute-detail ul{margin:16px 0 0}.wiki-lesson-chain{list-style:none}.wiki-lesson-chain>.wiki-lesson-step{flex:none;align-items:center;gap:12px;margin:0;padding:0;display:flex}.wiki-lesson-chain>.wiki-lesson-step:first-child{margin-left:auto}.wiki-lesson-chain>.wiki-lesson-step:last-child{margin-right:auto}.wiki-lesson-arrow{text-align:center;color:var(--accent-ink);flex:0 0 20px;font-size:1.5rem;line-height:1}.wiki-lesson-facts{border-top:1px solid var(--line);gap:8px;margin:16px 0;padding-top:12px;display:grid}.wiki-lesson-facts>div{justify-content:space-between;align-items:baseline;gap:12px;font-size:.7rem;line-height:1.5;display:flex}.wiki-lesson-facts dt{color:var(--muted)}.wiki-lesson-facts dd{text-align:right;overflow-wrap:anywhere;min-width:0;margin:0}.wiki-related{border-top:1px solid var(--line);margin-top:28px;padding-top:20px}.wiki-related>div{flex-wrap:wrap;gap:8px;display:flex}.wiki-related .secondary{white-space:normal;text-align:left;min-height:44px;font-size:.71rem}.wiki-empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:100%;padding:20px 8px;display:flex}.wiki-empty h2{font-size:1.6rem}.wiki-empty p{color:var(--muted);max-width:40ch;font-size:.86rem}@media (width<=640px){.wiki{grid-template-rows:minmax(132px,38%) minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.wiki-sidebar{border-right:0;border-bottom:1px solid var(--line)}.wiki-sidebar>header{padding:8px 14px 6px}.wiki-sidebar .eyebrow,.wiki-sidebar h2{display:none}.wiki-sidebar label{margin-bottom:4px;font-size:.64rem}.wiki-search input{min-height:40px;font-size:.73rem}.wiki-count{margin-top:5px;font-size:.6rem}.wiki-sidebar nav{padding:3px 0}.wiki-details{padding:18px 14px 24px}.wiki-article-heading h2{font-size:1.5rem}.wiki-section p,.wiki-section li{font-size:.8rem}.wiki-skill-icons{gap:10px;margin-bottom:14px}.wiki-skill-icons .wiki-skill-button{border-radius:10px;flex-basis:64px;width:64px;height:64px;padding:3px}.wiki-skill-icons .skill-icon{flex-basis:54px;width:54px;height:54px;padding:4px}.wiki-skill-detail{padding:16px 12px}.wiki-attributes .wiki-skill-icons{gap:6px}.wiki-attributes .wiki-skill-button{flex-basis:56px;width:56px;height:64px}.wiki-attribute-icon{--stat-icon-size:36px;width:36px;height:36px}}@media (width>=480px) and (height<=540px){.wiki{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(180px,34%) minmax(0,1fr)}.wiki-sidebar>header{padding:9px 10px 7px}.wiki-sidebar .eyebrow,.wiki-sidebar h2{display:none}.wiki-details{padding:14px}.wiki-article-heading h2{font-size:1.3rem}}.npc-conversation{border:1px solid var(--surface-border);background:var(--surface-panel);min-width:0;color:var(--ink);border-radius:12px;grid-template-columns:clamp(170px,25%,245px) minmax(0,1fr);align-items:start;gap:clamp(20px,3vw,36px);margin:0 0 20px;padding:clamp(18px,3vw,30px);display:grid}.npc-conversation.without-portrait{grid-template-columns:minmax(0,1fr)}.npc-conversation-portrait{border:1px solid var(--surface-border);isolation:isolate;background:radial-gradient(at 50% 38%,#354b31 0%,#293d2d 58%,#172a20 100%);border-radius:90px 90px 12px 12px;justify-content:center;align-items:flex-end;min-width:0;height:310px;margin:0;padding:16px 10px 22px;display:flex;position:relative}.npc-conversation-portrait:after{content:"";z-index:-1;background:#63734624;border-radius:50%;height:13px;position:absolute;bottom:14px;left:15%;right:15%}.npc-conversation-sprite{filter:drop-shadow(0 5px 2px #38452a24);width:100%;height:100%;display:block}.npc-conversation-main{min-width:0}.npc-conversation-heading .eyebrow{color:var(--muted);margin-bottom:5px;line-height:1.6;display:block}.npc-conversation-heading h2{margin:0;font-size:clamp(1.8rem,3vw,2.4rem);line-height:1.2}.npc-conversation-heading>p{color:var(--muted);margin:5px 0 20px;font-size:.88rem}.npc-conversation-speech{border:1px solid var(--surface-border);background:var(--surface-inset);overflow-wrap:anywhere;border-radius:3px 16px 16px;min-width:0;padding:18px 22px;font-size:1.06rem;line-height:1.8;position:relative;box-shadow:0 3px #a7955c12}.npc-conversation-speech:before{content:"";border-left:1px solid var(--surface-border);border-bottom:1px solid var(--surface-border);background:var(--surface-inset);width:14px;height:14px;position:absolute;top:23px;left:-8px;transform:rotate(45deg)}.npc-conversation-speech p{font-size:inherit;line-height:inherit;margin:0 0 .8em}.npc-conversation-speech p:last-child{margin-bottom:0}.npc-conversation-details{overflow-wrap:anywhere;min-width:0;padding-top:18px}.npc-conversation-details h3{margin:0 0 10px;font-size:1.2rem}.npc-conversation-details>p{line-height:1.65}.npc-conversation-details .errand-offer{margin-top:16px}.npc-conversation-details button{white-space:normal;max-width:100%;min-height:44px}.npc-conversation-details .button-row{flex-wrap:wrap}.npc-conversation-details progress{accent-color:#557340;width:100%;margin:14px 0 8px;display:block}.npc-conversation-details .errand-rewards{color:var(--accent-ink);font-size:.84rem;line-height:1.7}.npc-conversation-help{border-top:1px solid var(--line);color:var(--muted);margin-top:22px;padding-top:15px;font-size:.82rem;line-height:1.75}.npc-conversation-help summary{cursor:pointer;align-content:center;min-height:44px;font-weight:700;display:list-item}.npc-conversation-help summary:focus-visible{outline:3px solid var(--gold);outline-offset:4px;border-radius:3px}.npc-conversation-help p{font-size:inherit;margin:4px 0 0}.world-workspace.conversation-workspace{max-height:calc(100% - var(--dock-height) - 48px);inset:24px max(18px,50% - 520px) auto}.conversation-workspace .workspace-content{overscroll-behavior:contain;scrollbar-gutter:stable;flex:0 auto;overflow:auto}.conversation-workspace .workspace-base{scrollbar-gutter:auto;height:auto;padding:18px;overflow:visible}.conversation-workspace .npc-conversation:last-child{margin-bottom:0}@media (width<=560px){.npc-conversation{grid-template-columns:100px minmax(0,1fr);gap:16px;padding:16px}.npc-conversation-main{display:contents}.npc-conversation-portrait{border-radius:50px 50px 8px 8px;height:150px;padding:7px 5px 14px}.npc-conversation-portrait:after{height:8px;bottom:8px}.npc-conversation-heading{grid-column:2;align-self:center}.npc-conversation-heading h2{overflow-wrap:anywhere;font-size:1.65rem}.npc-conversation-heading>p{margin:7px 0 0;font-size:.82rem}.npc-conversation-heading .eyebrow{font-size:.56rem}.npc-conversation-speech,.npc-conversation-details{grid-column:1/-1}.npc-conversation-speech{padding:15px 17px;font-size:.98rem;line-height:1.75}.npc-conversation-speech:before{top:-8px;left:30px;transform:rotate(135deg)}.npc-conversation-details{padding-top:0}.npc-conversation.without-portrait .npc-conversation-heading{grid-column:1}.world-workspace.conversation-workspace{max-height:calc(100% - var(--dock-height) - 16px);inset:8px 6px auto}.conversation-workspace .workspace-base{padding:10px}}@media (height<=540px) and (width>=561px){.npc-conversation{grid-template-columns:140px minmax(0,1fr);gap:22px;padding:16px}.npc-conversation-portrait{height:200px}.npc-conversation-heading h2{font-size:1.8rem}.npc-conversation-heading>p{margin-bottom:12px}.world-workspace.conversation-workspace{max-height:calc(100% - var(--dock-height) - 12px);inset:6px 8px auto}}.app-shell.has-hero.battle-mode>.topbar{color:#e8edd8;background:#17291f;border-bottom:1px solid #8f7e4c}.battle-mode .brand{height:52px}.battle-mode .brand img{width:170px;height:54px}.world-shell.in-combat{--dock-height:env(safe-area-inset-bottom,0px)}.world-shell .battle-screen{--battle-controls-placement:bottom;--battle-hud-width:min(300px,calc((100% - var(--battle-scene-right,0px) - 28px)/2));--ink:#f3edda;--muted:#a4b29a;height:100%;min-height:0;box-shadow:none;isolation:isolate;color:var(--ink);background:#173b2a;border:0;border-radius:0;margin:0;display:block;position:relative}.world-shell .battle-stage{z-index:0;min-width:0;min-height:0;position:absolute;inset:0}.world-shell .battle-stage>.scene-canvas{aspect-ratio:auto;width:100%;height:100%;display:block}.world-shell .battle-screen>.battle-feedback-canvas{z-index:4;pointer-events:none;width:100%;height:100%;display:block;position:absolute;inset:0}.world-shell .battle-stage:after,.world-shell .adventure-landscape:after{content:"";pointer-events:none;background:linear-gradient(#081b1280,#0000 30% 65%,#091b13b8);position:absolute;inset:0;box-shadow:inset 0 0 100px #08160e33}.world-shell .battle-status{z-index:3;pointer-events:none;max-height:none;display:block;position:absolute;inset:0;overflow:visible}.world-shell .battle-screen-heading{color:#eee8d4;pointer-events:none;background:0 0;border:0;grid-template-columns:1fr auto 1fr;align-items:start;gap:12px;min-height:76px;padding:10px 16px;display:grid;position:absolute;inset:0 0 auto}.world-shell .battle-context{text-align:center;text-shadow:0 2px 5px #07140c;grid-column:2;min-width:0;max-width:330px}.world-shell .battle-screen-heading h1{color:#d4be8e;margin:0;font-size:.88rem;line-height:1.4}.world-shell .battle-screen-heading h1>span{letter-spacing:0;text-transform:none;color:#eee8d4;overflow-wrap:anywhere;max-width:none;margin:0 0 4px;font:400 1.35rem/1.2 Bree Serif,Georgia,serif;display:block}.world-shell .battle-turn{letter-spacing:.08em;text-transform:uppercase;color:#c9d8ab;margin:3px 0 0;font-size:.65rem;font-weight:900;line-height:1.3}.world-shell .battle-tools{pointer-events:auto;grid-column:3;justify-content:flex-end;gap:8px;margin:0;display:flex}.world-shell .battle-tools button{color:#d5dec3;background:#17281ce8;border:1px solid #a38e555e;border-bottom:2px solid #655638;border-radius:5px;min-height:44px;padding:7px 11px;font-size:.72rem}.world-shell .battle-tools button:hover:not(:disabled){color:#fff0cb;background:#30422d;border-color:#b6a06a;transform:none}.world-shell .battle-hud{pointer-events:none;background:0 0;gap:0;padding:0;display:block;position:absolute;inset:0}.world-shell .battle-hud>section{left:clamp(calc(var(--battle-hud-width)/2 + 8px),var(--battle-hud-x,25%),calc(100% - var(--battle-scene-right,0px) - var(--battle-hud-width)/2 - 8px));top:var(--battle-hud-y,260px);width:var(--battle-hud-width);min-width:0;max-height:var(--battle-hud-max-height,250px);overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#829164 #14261b;box-shadow:none;color:#f3edda;text-shadow:0 2px 3px #08150c;pointer-events:auto;background:0 0;border:0;border-radius:0;padding:0;position:absolute;overflow:auto;transform:translate(-50%,-100%)}.world-shell .battle-enemy-hud{--battle-hud-x:75%;--battle-enemy-meta-space:23px}.world-shell .battle-fighter-name{justify-content:space-between;align-items:center;gap:8px;height:29px;min-height:0;margin:0 0 3px;display:flex}.world-shell .battle-fighter-name h2{text-overflow:ellipsis;white-space:nowrap;color:#fff4d6;min-width:0;margin:0;font:400 1.4rem/1.2 Bree Serif,Georgia,serif;overflow:hidden}.world-shell .battle-fighter-name>span{white-space:nowrap;color:#dbc997;text-align:center;background:#13271de8;border:1px solid #b8a46b7a;border-radius:4px;flex:none;padding:3px 5px;font-size:.65rem;font-weight:900;line-height:1.25;display:block}.world-shell .battle-fighter-meta{text-overflow:ellipsis;white-space:nowrap;color:#c4d1b7;height:16px;margin:0 0 7px;font-size:.7rem;font-weight:800;line-height:16px;overflow:hidden}.world-shell .battle-fighter-meta[data-element=fire]{color:#efbe8a}.world-shell .battle-fighter-meta[data-element=water]{color:#a4d6e3}.world-shell .battle-fighter-meta[data-element=earth]{color:#c4d397}.world-shell .battle-fighter-meta[data-element=air]{color:#b3d8cb}.world-shell .battle-hud .resource{color:#fff9e9;text-shadow:0 1px 2px #220f0a;background:#0b1a13e8;border:1px solid #b8aa7c9c;border-radius:3px;height:23px;margin:0 0 5px;font-size:.75rem;box-shadow:0 2px 5px #06170e66,inset 0 1px 4px #030d08}.world-shell .battle-hud .resource-fill{background:linear-gradient(#cc765f,#a45040);border-top:1px solid #edb19b80}.world-shell .battle-hud .resource.mp{border-color:#84a5a07a;height:18px;font-size:.66rem}.world-shell .battle-hud .resource.mp .resource-fill{background:linear-gradient(#63a4b6,#3b788d);border-top-color:#add6d980}.world-shell .battle-conditions{border:0;min-width:0;margin:7px 0 0;padding:0;position:static}.world-shell .battle-conditions h3,.world-shell .battle-controls-heading h2{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:0;padding:0;position:absolute;overflow:hidden}.world-shell .battle-conditions.is-empty{visibility:hidden;pointer-events:none}.world-shell .battle-conditions .buffs,.world-shell .battle-conditions .enemy-effects{scrollbar-gutter:auto;scrollbar-width:thin;overscroll-behavior:contain;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:32px;align-content:start;align-items:stretch;gap:4px;max-width:100%;height:36px;max-height:36px;margin:0;padding:2px 1px;display:grid;overflow:hidden auto}.world-shell .battle-conditions .buffs>span,.world-shell .battle-conditions .condition-chip{white-space:nowrap;text-transform:none;width:100%;min-width:0;max-width:100%;height:32px;min-height:32px;text-shadow:none;color:#dce5cb;box-shadow:none;overflow-wrap:normal;background:#162b20ed;border:1px solid #84976688;border-radius:4px;align-items:center;gap:5px;padding:1px 5px;font-size:.7rem;font-weight:800;line-height:1.3;display:flex;overflow:hidden}.world-shell .battle-conditions :is(.buffs,.enemy-effects)>span:only-child{grid-column:1/-1}.world-shell .battle-conditions .battle-status-copy{flex:1;min-width:0;display:block;overflow:hidden}.world-shell .battle-conditions .battle-status-name{text-overflow:ellipsis;white-space:nowrap;font:inherit;line-height:14px;display:block;overflow:hidden}.world-shell .battle-conditions .battle-status-copy small{text-overflow:ellipsis;white-space:nowrap;color:#bbcab0;font-size:.6rem;font-weight:700;line-height:12px;display:block;overflow:hidden}.world-shell .battle-conditions .skill-icon{width:23px;height:23px;box-shadow:none;background:0 0;border:0;border-radius:0;flex:0 0 23px;padding:0;display:block}.world-shell .battle-conditions .condition-chip.fire{color:#f3c99e;background:#3d2c1eed;border-color:#b27c4788}.world-shell .battle-conditions .condition-chip.earth{color:#d2e0ad;background:#2b3520ed;border-color:#8d9d5e88}.world-shell .battle-element-summary{justify-content:space-between;align-items:center;gap:7px;height:32px;min-height:32px;margin:3px 0 0;display:flex}.world-shell .battle-relevant-elements{scrollbar-width:thin;white-space:nowrap;color:#c1c9ad;align-items:center;gap:5px;min-width:0;height:28px;font-size:12px;font-weight:800;display:flex;overflow:auto}.world-shell .battle-relevant-elements .element-badge{color:#c9d5bc;font-variant-numeric:tabular-nums;background:#14281dde;border:1px solid #83916a66;border-radius:4px;flex:none;align-items:center;gap:4px;height:25px;padding:3px 6px;line-height:17px;display:inline-flex}.world-shell .battle-relevant-elements .element-badge.weak{color:#f1c193;background:#3d3022ed;border-color:#b18a4d99}.world-shell .battle-relevant-elements .element-badge.resists{color:#aed3db;background:#20383bed;border-color:#5a879099}.world-shell .battle-relevant-elements .element-badge.is-normal{color:#9dac94;background:0 0;border-color:#0000;font-weight:700}.world-shell .battle-relevant-elements .element-badge.is-relevant{box-shadow:inset 0 -2px #d2b576}.world-shell .battle-relevant-elements .element-badge i{font:inherit}.world-shell .battle-element-summary .text-button{color:#cad5bb;text-underline-offset:3px;flex:none;min-height:30px;padding:2px 0;font-size:12px;-webkit-text-decoration:underline #acba9d66;text-decoration:underline #acba9d66}.world-shell .battle-intent-rail{height:44px;max-height:44px;margin:0 0 8px;overflow:hidden}.world-shell .battle-intent{overscroll-behavior:contain;max-width:100%;height:auto;max-height:100%;color:inherit;text-shadow:none;box-shadow:none;background:0 0;border:1px solid #0000;border-radius:5px;margin:0;padding:5px 7px;font-size:.7rem;font-weight:700;line-height:1.3;display:inline-block;position:static;overflow:auto}.world-shell .battle-enemy-meta{align-items:center;gap:6px;min-width:0;height:16px;min-height:16px;margin:0 0 7px;display:flex}.world-shell .battle-enemy-meta:empty{height:0;min-height:0;margin:0}.world-shell .battle-enemy-hud:has(>.battle-enemy-meta:empty){padding-bottom:min(var(--battle-enemy-meta-space),var(--battle-hud-max-height,250px))}.world-shell .battle-relevant-elements .element-icon{flex-basis:16px;width:16px;height:16px}.world-shell .battle-phase-label{color:#e4cc96;min-width:0;height:100%;text-shadow:none;background:#3e3725;border:1px solid #ad965b88;border-radius:3px;align-items:center;gap:4px;padding:0 4px;font-size:.6rem;font-weight:800;line-height:1;display:inline-flex}.world-shell .battle-phase-label>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.world-shell .battle-phase-label>strong{font:inherit;font-variant-numeric:tabular-nums;flex:none}.world-shell .battle-intent.warning{color:#f3c88f;background:#392c1bed;border-color:#d4a96888}.world-shell .battle-controls{z-index:3;bottom:calc(14px + env(safe-area-inset-bottom,0px));overscroll-behavior:contain;scrollbar-width:thin;color:#f3edda;background:linear-gradient(#2b3326fa,#18271ff7);border:1px solid #8e784bc2;border-bottom:3px solid #5c4930;border-radius:8px;width:min(1320px,100% - 40px);min-width:0;max-height:48%;padding:10px 15px 0;position:absolute;left:50%;overflow:auto;transform:translate(-50%);box-shadow:0 8px 35px #04150d99,inset 0 1px #d7b47e22}.world-shell .battle-action-preview{white-space:nowrap;scrollbar-width:thin;color:#c0cdb5;justify-content:center;align-items:center;gap:12px;height:30px;min-height:30px;max-height:30px;margin:0 0 9px;font-size:12px;display:flex;overflow:auto}.world-shell .battle-action-preview>*{flex:none}.world-shell .battle-action-preview strong{color:#e3cc96;font:400 16px Bree Serif,serif}.world-shell .battle-action-preview small{color:#9bc5d2;font-size:12px;font-weight:900}.world-shell .battle-action-dock{grid-template-columns:166px minmax(0,1fr) 146px;gap:14px;display:grid}.world-shell .battle-basic-actions,.world-shell .battle-potion-grid{grid-template-rows:1fr;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;height:100%;display:grid}.world-shell .battle-basic-actions{border-right:1px solid #b3a06a33;padding-right:12px}.world-shell .battle-potions{border-left:1px solid #b3a06a33;padding-left:12px}.world-shell .battle-basic-actions button{color:#e0e7cf;text-align:center;background:#17291ee8;border:1px solid #7f8d6977;border-bottom:2px solid #536342;border-radius:5px;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-width:0;height:128px;min-height:128px;max-height:128px;padding:7px 3px;font-size:13px;display:flex;overflow:hidden;transform:none}.world-shell .battle-basic-actions button:first-child{background:linear-gradient(160deg,#40513799,#253b29);border-color:#9faf6c99}.world-shell .battle-basic-actions button:hover:not(:disabled){background:#34432e;border-color:#ceaf6f;transform:none}.world-shell .battle-basic-icon{color:#d8d7ae;filter:drop-shadow(0 2px 1px #07160e88);flex:0 0 44px;width:44px;height:44px;display:block}.world-shell .battle-basic-icon .game-sprite{object-fit:contain;width:100%;height:100%;display:block}.world-shell .battle-basic-actions button>span:first-child{line-height:1.2}.world-shell .battle-basic-actions small{white-space:normal;color:#afbea0;font-size:11px;line-height:14px;display:block}.world-shell .battle-quick-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;display:grid}.world-shell .battle-quick-grid .battle-skill,.world-shell .quick-skill-empty{color:#e3e7d2;text-align:center;background:#12261cbd;border:1px solid #7c876277;border-bottom:2px solid #45563c;border-radius:5px;flex-direction:column;justify-content:center;align-items:center;gap:6px;min-width:0;height:128px;min-height:128px;max-height:128px;padding:14px 3px 6px;display:flex;position:relative;overflow:hidden;transform:none}.world-shell .battle-quick-grid .battle-skill:hover:not(:disabled),.world-shell .battle-quick-grid .battle-skill:focus-visible,.world-shell .quick-skill-empty:hover:not(:disabled),.world-shell .quick-skill-empty:focus-visible{background:#514a2d80;border-color:#ceaf6f;transform:none;box-shadow:inset 0 -2px #c5a66a}.world-shell .battle-quick-grid .battle-skill-art{flex:0 0 46px;width:46px;height:46px}.world-shell .battle-quick-grid .battle-skill .skill-icon{width:46px;height:46px;box-shadow:none;filter:drop-shadow(0 2px 1px #08130b88);background:0 0;border:0;border-radius:0;flex-basis:46px;padding:0}.world-shell .battle-quick-grid .battle-skill-copy{flex:none;width:100%;height:51px;min-height:51px;max-height:51px;display:block;overflow:hidden}.world-shell .battle-quick-grid .battle-skill-copy strong{text-overflow:ellipsis;white-space:nowrap;height:16px;min-height:16px;max-height:16px;font-size:14px;font-weight:800;line-height:16px;display:block;overflow:hidden}.world-shell .battle-quick-grid .battle-skill-copy .battle-skill-mana{display:none}.world-shell .battle-quick-grid .battle-skill-copy .battle-skill-effect{-webkit-line-clamp:2;color:#c4d1b7;overflow-wrap:anywhere;-webkit-box-orient:vertical;height:32px;min-height:32px;max-height:32px;margin-top:3px;font-size:11px;font-weight:600;line-height:16px;display:-webkit-box;overflow:hidden}.world-shell .battle-quick-grid .battle-skill-copy .battle-skill-reason{z-index:1;color:#e4c596;background:#18281ff2;border:1px solid #8d785b88;border-radius:3px;height:16px;min-height:16px;max-height:16px;margin:0;padding:0 2px;font-size:10px;line-height:14px;position:absolute;top:50px;left:4px;right:4px}.world-shell .battle-quick-grid .battle-cooldown{align-items:start;font-size:20px;line-height:1}.world-shell .battle-quick-cost{white-space:nowrap;font-variant-numeric:tabular-nums;color:#a5ccd4;align-items:baseline;gap:2px;max-width:calc(100% - 10px);font-size:12px;font-weight:900;line-height:14px;display:flex;position:absolute;top:4px;right:5px;overflow:hidden}.world-shell .battle-quick-cost small{font-size:9px}.world-shell .battle-cooldown{color:#d2ddc2;text-shadow:0 2px 3px #07160e;font-size:1.8rem}.world-shell .battle-quick-grid .battle-skill:disabled{opacity:.72}.world-shell .battle-quick-grid .on-cooldown .skill-icon{opacity:.3;filter:grayscale()}.world-shell .quick-skill-empty{color:#a6b597;border-style:dashed;font-size:13px}.world-shell .quick-skill-empty>span:first-child{flex:0 0 46px;place-items:center;width:46px;height:46px;font-size:36px;display:grid}.world-shell .quick-skill-empty>span:last-child{width:100%;height:51px;min-height:51px;line-height:16px;overflow:hidden}.world-shell .battle-potion{text-align:center;color:#d9dfc6;background:#18281dbd;border:1px solid #7e826277;border-bottom:2px solid #a66c4c;border-radius:5px;flex-direction:column;justify-content:center;align-items:center;gap:6px;min-width:0;height:128px;min-height:128px;max-height:128px;padding:7px 3px;display:flex;position:relative;overflow:hidden;transform:none}.world-shell .battle-potion.mp{color:#d9dfc6;background:#18281dbd;border-color:#7e826277 #7e826277 #5f9298}.world-shell .battle-potion-art{background:0 0;border:0;flex:0 0 44px;width:34px;height:44px}.world-shell .battle-potion.mp .battle-potion-art{background:0 0}.world-shell .battle-potion-count{text-overflow:ellipsis;white-space:nowrap;color:#e4d7a8;font-variant-numeric:tabular-nums;background:#333b2a;border:1px solid #8e845766;border-radius:3px;max-width:calc(100% - 10px);height:18px;padding:1px 4px;font-size:11px;font-weight:900;line-height:14px;position:absolute;top:5px;right:5px;overflow:hidden}.world-shell .battle-potion-copy{flex-direction:column;flex:none;justify-content:center;align-items:center;width:100%;height:34px;min-height:34px;display:flex;overflow:hidden}.world-shell .battle-potion strong{white-space:nowrap;text-overflow:ellipsis;max-width:100%;height:16px;font-size:13px;line-height:16px;display:block;overflow:hidden}.world-shell .potion-full-name{display:none}.world-shell .potion-short-name{display:inline}.world-shell .battle-potion small{color:#b2bda0;white-space:nowrap;text-overflow:ellipsis;max-width:100%;height:14px;margin-top:3px;font-size:11px;line-height:14px;display:block;overflow:hidden}.world-shell .battle-potion:hover:not(:disabled),.world-shell .battle-potion.mp:hover:not(:disabled){background:#34402c;transform:none}.world-shell .battle-controls-heading{border-top:1px solid #a3946633;flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:16px;height:44px;min-height:44px;max-height:44px;margin:10px 0 0;padding:0;display:flex;overflow:hidden}.world-shell .battle-skill-tools{scrollbar-width:thin;flex-wrap:nowrap;flex:1;align-items:center;gap:17px;min-width:0;height:40px;margin:0;display:flex;overflow:auto hidden}.world-shell .battle-controls-heading .text-button{white-space:nowrap;color:#bfccb0;flex:none;min-height:36px;padding:5px 0;font-size:12px}.world-shell .battle-skill-tools .text-button>span{font-variant-numeric:tabular-nums;min-width:5ch;display:inline-block}.world-shell .battle-controls-heading .text-button:first-child{color:#e0c690}.world-shell .battle-controls-heading>.battle-retreat{color:#d2ad87;display:block}.world-shell .battle-screen button:focus-visible,.world-shell .battle-hud :is(section,[tabindex]):focus-visible{outline-offset:2px;outline:2px solid #efd18a}.world-shell.in-combat .world-location{display:none}.world-shell.in-combat .quest-tracker{z-index:5;width:auto;min-width:0;box-shadow:none;background:#17281ced;border:1px solid #a38e5566;border-bottom:2px solid #655638;border-radius:5px;padding:0 7px;inset:10px auto auto 12px}.world-shell.in-combat .quest-tracker-heading button{color:#d5dec3;min-height:44px;font-size:.7rem}.world-shell.in-combat .quest-tracker-heading .text-button{display:none}.world-shell.in-combat .quest-tracker-count{color:#c2c9a8}@media (width<=1100px){.world-shell .battle-controls{width:calc(100% - 20px);padding:8px 10px 0}.world-shell .battle-action-dock{grid-template-columns:132px minmax(0,1fr) 120px;gap:9px}.world-shell .battle-basic-actions{padding-right:7px}.world-shell .battle-potions{padding-left:7px}.world-shell .battle-quick-grid .battle-skill-copy strong{font-size:13px}.world-shell .battle-quick-grid .battle-skill-art,.world-shell .battle-quick-grid .battle-skill .skill-icon{flex-basis:44px;width:44px;height:44px}.world-shell .battle-quick-cost{font-size:11px}.world-shell .battle-tools{gap:5px}.world-shell .battle-tools button{padding:6px 8px;font-size:.67rem}}@media (width<=760px){.world-shell .battle-enemy-hud{--battle-enemy-meta-space:19px}.world-shell .battle-screen{--battle-hud-width:calc((100% - 28px)/2)}.world-shell .battle-screen-heading{grid-template-columns:95px minmax(0,1fr) 104px;gap:4px;min-height:78px;padding:7px 8px}.world-shell .battle-context{max-width:none}.world-shell .battle-screen-heading h1{font-size:.72rem}.world-shell .battle-screen-heading h1>span{margin-bottom:4px;font-size:.92rem;line-height:1.1}.world-shell .battle-turn{letter-spacing:0;font-size:.56rem}.world-shell .battle-tools{align-items:start;gap:4px}.world-shell .battle-tools button{min-height:44px;padding:4px;font-size:.6rem}.world-shell .battle-fighter-name{gap:3px;height:24px}.world-shell .battle-fighter-name h2{font-size:.96rem}.world-shell .battle-fighter-name>span{padding:2px 3px;font-size:.56rem}.world-shell .battle-fighter-meta{height:15px;margin-bottom:4px;font-size:.61rem;line-height:15px}.world-shell .battle-hud .resource{height:21px;font-size:.62rem}.world-shell .battle-hud .resource.mp{height:17px;font-size:.58rem}.world-shell .battle-conditions{margin-top:4px}.world-shell .battle-conditions .buffs>span,.world-shell .battle-conditions .condition-chip{padding:1px 4px;font-size:.65rem}.world-shell .battle-conditions .buffs small{font-size:.57rem}.world-shell .battle-intent-rail{height:42px;max-height:42px;margin-bottom:5px}.world-shell .battle-intent{padding:4px;font-size:.62rem}.world-shell .battle-enemy-meta{height:15px;min-height:15px;margin-bottom:4px}.world-shell .battle-phase-label{font-size:.58rem}.world-shell .battle-element-summary{height:42px;min-height:42px;margin-top:2px;display:block}.world-shell .battle-relevant-elements{height:20px;font-size:11px;line-height:16px}.world-shell .battle-relevant-elements .element-badge{height:20px;padding:1px 5px;line-height:16px}.world-shell .battle-element-summary .text-button{min-height:22px;padding:1px 0;font-size:11px;line-height:20px}.world-shell .battle-controls{width:calc(100% - 14px);bottom:calc(7px + env(safe-area-inset-bottom,0px));max-height:48%;padding:5px 6px 0}.world-shell .battle-action-preview{justify-content:flex-start;gap:8px;margin-bottom:5px;font-size:11px}.world-shell .battle-action-preview strong{font-size:14px}.world-shell .battle-action-dock{grid-template-columns:1fr 1fr;gap:6px}.world-shell .battle-basic-actions{border:0;grid-area:1/1;padding:0}.world-shell .battle-potions{border:0;grid-area:1/2;padding:0}.world-shell .battle-basic-actions button,.world-shell .battle-potion{flex-direction:row;gap:4px;height:52px;min-height:52px;max-height:52px;padding:3px;font-size:12px}.world-shell .battle-basic-icon{flex-basis:24px;width:24px;height:24px}.world-shell .battle-basic-actions small{display:none}.world-shell .battle-potion{padding:14px 3px 3px}.world-shell .battle-potion-art{flex:0 0 22px;width:22px;height:30px}.world-shell .battle-potion-count{height:14px;padding:0 3px;font-size:9px;line-height:12px;top:2px;right:3px}.world-shell .battle-potion-copy{flex:1;width:auto;min-width:0;height:28px;min-height:28px}.world-shell .battle-potion strong{height:14px;font-size:12px;line-height:14px}.world-shell .battle-potion small{height:12px;margin-top:2px;font-size:10px;line-height:12px}.world-shell .battle-quick-grid{grid-area:2/1/auto/-1;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.world-shell .battle-quick-grid .battle-skill,.world-shell .quick-skill-empty{gap:3px;height:100px;min-height:100px;max-height:100px;padding:15px 3px 3px}.world-shell .battle-quick-grid .battle-skill-art,.world-shell .battle-quick-grid .battle-skill .skill-icon{flex-basis:34px;width:34px;height:34px}.world-shell .battle-quick-grid .battle-skill-copy{height:42px;min-height:42px;max-height:42px}.world-shell .battle-quick-grid .battle-skill-copy strong{height:14px;min-height:14px;max-height:14px;font-size:12px;line-height:14px}.world-shell .battle-quick-grid .battle-skill-copy .battle-skill-effect{height:28px;min-height:28px;max-height:28px;margin-top:0;font-size:10px;line-height:14px}.world-shell .battle-quick-grid .battle-skill-copy .battle-skill-reason{height:14px;min-height:14px;max-height:14px;font-size:9px;line-height:12px;top:38px}.world-shell .quick-skill-empty>span:first-child{flex-basis:34px;width:34px;height:34px;font-size:29px}.world-shell .quick-skill-empty>span:last-child{height:42px;min-height:42px;font-size:12px;line-height:14px}.world-shell .battle-quick-cost{font-size:11px}.world-shell .battle-quick-cost small{font-size:8px}.world-shell .battle-controls-heading{gap:8px;height:48px;min-height:48px;max-height:48px;margin-top:6px}.world-shell .battle-skill-tools{gap:14px;height:44px}.world-shell .battle-controls-heading .text-button{min-height:44px;font-size:12px}.world-shell.in-combat .quest-tracker{padding:0 5px;top:7px;left:8px}.world-shell.in-combat .quest-tracker-heading button{font-size:.6rem}.world-shell.in-combat .quest-tracker-count{margin-left:3px;font-size:.6rem}}@media (width>=600px) and (height<=540px){.world-shell .battle-enemy-hud{--battle-enemy-meta-space:19px}.world-shell .battle-screen{--battle-controls-placement:right;--battle-hud-width:min(240px,calc((100% - var(--battle-scene-right,0px) - 24px)/2))}.world-shell .battle-screen-heading{grid-template-columns:85px minmax(0,1fr) 90px;gap:3px;min-height:68px;padding:5px 7px;right:318px}.world-shell .battle-screen-heading h1{font-size:.66rem}.world-shell .battle-screen-heading h1>span{font-size:.86rem}.world-shell .battle-turn{font-size:.55rem}.world-shell .battle-tools{gap:3px}.world-shell .battle-tools button{min-height:40px;padding:3px;font-size:.55rem}.world-shell .battle-hud>section{max-height:var(--battle-hud-max-height,250px)}.world-shell .battle-fighter-name{gap:3px;height:24px}.world-shell .battle-fighter-name h2{font-size:.95rem}.world-shell .battle-fighter-name>span{padding:2px 3px;font-size:.56rem}.world-shell .battle-fighter-meta{height:15px;margin-bottom:4px;font-size:.62rem;line-height:15px}.world-shell .battle-intent-rail{height:35px;max-height:35px;margin-bottom:4px}.world-shell .battle-intent{padding:3px;font-size:.6rem}.world-shell .battle-enemy-meta{height:15px;min-height:15px;margin-bottom:4px}.world-shell .battle-conditions{margin-top:3px}.world-shell .battle-element-summary{height:31px;min-height:31px;display:flex}.world-shell .battle-relevant-elements{height:25px;font-size:11px}.world-shell .battle-relevant-elements .element-badge{height:23px;padding:2px 5px;line-height:17px}.world-shell .battle-element-summary .text-button{min-height:30px;padding:2px 0;font-size:11px}.world-shell .battle-controls{top:6px;right:7px;bottom:calc(6px + env(safe-area-inset-bottom,0px));width:304px;max-height:none;padding:5px 6px 0;left:auto;transform:none}.world-shell .battle-action-preview{justify-content:flex-start;gap:7px;font-size:11px}.world-shell .battle-action-preview strong{font-size:14px}.world-shell .battle-action-dock{grid-template-columns:1fr 1fr;gap:5px}.world-shell .battle-basic-actions{border:0;grid-area:1/1;padding:0}.world-shell .battle-potions{border:0;grid-area:1/2;padding:0}.world-shell .battle-basic-actions button,.world-shell .battle-potion{flex-direction:row;gap:3px;height:52px;min-height:52px;max-height:52px;padding:3px;font-size:12px}.world-shell .battle-basic-icon{flex-basis:24px;width:24px;height:24px}.world-shell .battle-basic-actions small{display:none}.world-shell .battle-potion{padding:14px 3px 3px}.world-shell .battle-potion-art{flex:0 0 22px;width:22px;height:30px}.world-shell .battle-potion-count{height:14px;padding:0 3px;font-size:9px;line-height:12px;top:2px;right:3px}.world-shell .battle-potion-copy{flex:1;width:auto;min-width:0;height:28px;min-height:28px}.world-shell .battle-potion strong{height:14px;font-size:12px;line-height:14px}.world-shell .battle-potion small{height:12px;margin-top:2px;font-size:10px;line-height:12px}.world-shell .battle-quick-grid{grid-area:2/1/auto/-1;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.world-shell .battle-quick-grid .battle-skill,.world-shell .quick-skill-empty{gap:3px;height:96px;min-height:96px;max-height:96px;padding:14px 3px 2px}.world-shell .battle-quick-grid .battle-skill-art,.world-shell .battle-quick-grid .battle-skill .skill-icon{flex-basis:32px;width:32px;height:32px}.world-shell .battle-quick-grid .battle-skill-copy{height:42px;min-height:42px;max-height:42px}.world-shell .battle-quick-grid .battle-skill-copy strong{height:14px;min-height:14px;max-height:14px;font-size:12px;line-height:14px}.world-shell .battle-quick-grid .battle-skill-copy .battle-skill-effect{height:28px;min-height:28px;max-height:28px;margin-top:0;font-size:10px;line-height:14px}.world-shell .battle-quick-grid .battle-skill-copy .battle-skill-reason{height:14px;min-height:14px;max-height:14px;font-size:9px;line-height:12px;top:35px}.world-shell .quick-skill-empty>span:first-child{flex-basis:32px;width:32px;height:32px;font-size:27px}.world-shell .quick-skill-empty>span:last-child{height:42px;min-height:42px;font-size:12px;line-height:14px}.world-shell .battle-quick-cost{font-size:11px}.world-shell .battle-quick-cost small{font-size:8px}.world-shell .battle-controls-heading{gap:8px;height:48px;min-height:48px;max-height:48px;margin-top:5px}.world-shell .battle-skill-tools{gap:14px;height:44px}.world-shell .battle-controls-heading .text-button{min-height:44px;font-size:12px}.world-shell.in-combat .quest-tracker{padding:0 4px;top:5px;left:7px}.world-shell.in-combat .quest-tracker-heading button{min-height:40px;font-size:.56rem}.world-shell.in-combat .quest-tracker-count{font-size:.56rem}}@media (width<=420px){.world-shell .battle-conditions .buffs,.world-shell .battle-conditions .enemy-effects{grid-template-columns:minmax(0,1fr)}}@media (prefers-reduced-motion:reduce){.world-shell .battle-screen button{transition:none}}.rogue-meter{white-space:nowrap;color:#d8c3ee;align-items:center;gap:8px;height:24px;min-height:24px;max-height:24px;font-size:.65rem;display:flex;overflow:hidden}.rogue-meter strong{color:#f3e0ff;font-variant-numeric:tabular-nums}.app-shell.has-hero>.topbar{grid-template-columns:minmax(0,1fr) minmax(0,360px) minmax(0,1fr);display:grid}.app-shell.has-hero>.topbar>.brand{grid-area:1/1;justify-self:start}.app-shell.has-hero>.topbar>.topbar-actions{grid-area:1/3;justify-content:flex-end;justify-self:end;width:100%;max-width:415px;margin-left:0}.topbar-location{text-align:center;width:100%;min-width:0;color:var(--ink);grid-area:1/2;justify-self:center;gap:3px;display:grid}.topbar-location strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font:400 1.35rem/1.2 Bree Serif,Georgia,serif;display:block;overflow:hidden}.topbar-location small{color:var(--accent-ink);font-size:.65rem;font-weight:800;line-height:1.3}@media (width<=1100px),(height<=540px){.app-shell.has-hero>.topbar{grid-template-columns:minmax(0,1fr) minmax(0,min(30vw,280px)) minmax(0,1fr);gap:16px}.app-shell.has-hero>.topbar>.brand{max-width:190px;height:48px}.app-shell.has-hero>.topbar>.brand img{width:190px;height:52px}.app-shell.has-hero>.topbar>.topbar-actions{max-width:216px}.topbar-location strong{font-size:1.1rem}.topbar-location small{font-size:.6rem}.app-shell.has-hero .hero-status{grid-template-columns:45px minmax(0,1fr);gap:7px;width:216px}.app-shell.has-hero .hero-menu>summary{justify-content:center;gap:0;min-height:48px;padding:2px;position:relative}.app-shell.has-hero .hero-status-avatar{flex-basis:35px;width:35px;height:42px}.app-shell.has-hero .hero-status-name{display:none}.app-shell.has-hero .hero-status-chevron{font-size:.8rem;line-height:1;position:absolute;bottom:-1px;right:1px}.app-shell.has-hero .hero-status-resources{gap:3px}.app-shell.has-hero .hero-status .resource{height:15px;font-size:.55rem}.app-shell.has-hero .hero-status .resource.xp{height:12px;font-size:.5rem}}@media (height<=540px){.app-shell.has-hero,.app-shell.has-hero.battle-mode{--hero-topbar-height:60px}.app-shell.has-hero>.topbar{padding-top:4px;padding-bottom:4px}}@media (width<=650px){.app-shell.has-hero,.app-shell.has-hero.battle-mode{--hero-topbar-height:96px}.app-shell.has-hero>.topbar{grid-template-rows:minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr) minmax(0,200px);gap:2px 12px;padding:4px 10px}.app-shell.has-hero>.topbar>.brand{max-width:92px}.app-shell.has-hero>.topbar>.brand img{width:92px;height:48px}.app-shell.has-hero>.topbar>.topbar-actions{grid-column:2;max-width:200px}.topbar-location{grid-area:2/1/auto/-1;gap:1px;padding-bottom:2px}.topbar-location strong{font-size:1rem}.topbar-location small{font-size:.56rem}.app-shell.has-hero .hero-menu-panel{top:var(--hero-topbar-height)}}
