:root{--text:#6b6375;--text-h:#08060d;--bg:#fff;--border:#e5e4e7;--code-bg:#f4f3ec;--accent:#aa3bff;--accent-bg:#aa3bff1a;--accent-border:#aa3bff80;--social-bg:#f4f3ec80;--shadow:#0000001a 0 10px 15px -3px, #0000000d 0 4px 6px -2px;--sans:system-ui, "Segoe UI", Roboto, sans-serif;--heading:system-ui, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;font:18px/145% var(--sans);letter-spacing:.18px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}@media (max-width:1024px){:root{font-size:16px}}@media (prefers-color-scheme:dark){:root{--text:#9ca3af;--text-h:#f3f4f6;--bg:#16171d;--border:#2e303a;--code-bg:#1f2028;--accent:#c084fc;--accent-bg:#c084fc26;--accent-border:#c084fc80;--social-bg:#2f303a80;--shadow:#0006 0 10px 15px -3px, #00000040 0 4px 6px -2px}#social .button-icon{filter:invert()brightness(2)}}body{margin:0}#root{text-align:center;border-inline:1px solid var(--border);box-sizing:border-box;flex-direction:column;width:1126px;max-width:100%;min-height:100svh;margin:0 auto;display:flex}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:500}h1{letter-spacing:-1.68px;margin:32px 0;font-size:56px}@media (max-width:1024px){h1{margin:20px 0;font-size:36px}}h2{letter-spacing:-.24px;margin:0 0 8px;font-size:24px;line-height:118%}@media (max-width:1024px){h2{font-size:20px}}p{margin:0}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:135%}html,body{touch-action:pan-x pan-y;-webkit-text-size-adjust:100%}html{-webkit-tap-highlight-color:transparent}.maintenance-screen{z-index:100000;background:#0d0b0a;justify-content:center;align-items:center;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.maintenance-screen img{object-fit:cover;object-position:center top;width:100%;height:100%}@media (min-aspect-ratio:3/4){.maintenance-screen img{object-fit:contain}}.maintenance-note{left:16px;right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));color:#f3e2c0;text-align:center;background:#0e0b09e6;border:1px solid #d6aa6473;border-radius:10px;flex-direction:column;gap:6px;max-width:520px;margin:0 auto;padding:12px 16px;font-family:Georgia,Times New Roman,serif;line-height:1.4;display:flex;position:absolute}.maintenance-note b{color:#ffd98f;font-size:16px}.maintenance-note span{font-size:14px}.reference-sheet .ref-guide .ref-about{color:#ddd2bf;font-size:13.5px;line-height:1.45}.reference-sheet .ref-guide .ref-title strong{font-size:15px}#root{min-height:100vh}.game{color:#f0dfc0;box-sizing:border-box;background:#17191d;width:100%;max-width:480px;min-height:100vh;margin:0 auto;padding:24px 16px 100px}.game header{text-align:center;margin-bottom:28px}.game h1{color:#d6ad64;letter-spacing:3px;margin:0;font-size:26px}.game header p{color:#a9a5a0;font-size:13px}.game section{background:#24262c;border:1px solid #685536;border-radius:12px;padding:20px}.game h2{margin:0 0 8px;font-size:22px}.game h3{color:#d6ad64;margin-top:28px}.game progress{accent-color:#b9524d;width:100%;height:12px}.game .stat{background:#303139;border-radius:8px;justify-content:space-between;margin:8px 0;padding:12px;display:flex}.game .inventory{grid-template-columns:repeat(2,1fr);gap:12px;display:grid}.game .item{text-align:center;background:#303139;border:1px solid #685536;border-radius:10px;flex-direction:column;align-items:center;gap:10px;padding:20px 8px;display:flex}.game nav{box-sizing:border-box;z-index:30;background:#24262c;border-top:1px solid #685536;width:100%;max-width:480px;min-height:72px;padding:12px;display:flex;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.game nav button{color:#d6ad64;cursor:pointer;background:0 0;border:none;flex:1;justify-content:center;align-items:center;gap:8px;padding:12px 4px;display:flex}.game nav button.active{color:#e2b76d}.inventory-grid{grid-template-columns:repeat(4,1fr);gap:10px;margin-top:20px;display:grid}.inventory-slot{aspect-ratio:1;color:#e2b76d;cursor:pointer;background:#303137;border:1px solid #514c45;border-radius:8px;justify-content:center;align-items:center;display:flex;position:relative}.inventory-slot:hover:not(:disabled){border-color:#e2b76d}.inventory-slot.selected{background:#514331;border:2px solid #e2b76d}.inventory-slot:disabled{opacity:.45;cursor:default}.item-count{color:#fff;font-size:12px;position:absolute;bottom:4px;right:6px}.item-details{background:#292a30;border:1px solid #725a36;border-radius:10px;flex-direction:column;gap:10px;margin-top:20px;padding:16px;display:flex}.item-details h3,.item-details p{margin:0}.item-details strong{color:#a9d5a1}.item-details button{color:#f2e5d1;cursor:pointer;background:#514331;border:1px solid #725a36;border-radius:6px;margin-top:8px;padding:10px}.equipment-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0 24px;display:grid}.equipment-slot{color:#aeb2bb;cursor:pointer;background:#242936;border:1px solid #55515a;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-height:95px;padding:8px 4px;display:flex}.equipment-slot.equipped{color:#e6c384;border-color:#d5a653}.equipment-slot span{font-size:12px}.equipment-slot small{text-align:center;color:#e6e0d5;font-size:10px}.game .item-details{box-sizing:border-box;z-index:20;background:#292a30;border:1px solid #d6ad64;border-radius:10px 10px 0 0;flex-direction:column;gap:10px;width:calc(100% - 32px);max-width:448px;max-height:45dvh;margin:0;padding:16px;display:flex;position:fixed;bottom:72px;left:50%;overflow-y:auto;transform:translate(-50%);box-shadow:0 -8px 24px #00000059}.game .item-details h3{color:#d6ad64;margin:0;padding-right:30px}.game .item-details p{margin:0}.game .item-details strong{color:#a9d5a1}.game .item-details .item-details-close{color:#d6ad64;cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;width:30px;height:30px;margin:0;padding:0;display:flex;position:absolute;top:10px;right:10px}.game:has(.item-details){padding-bottom:300px}.equipment-slot.selected{background:#514331;border:2px solid #e2b76d}.equipment-item-image{object-fit:contain;width:52px;height:52px}.inventory-item-image{object-fit:contain;width:70%;height:70%}.item-details-image{object-fit:contain;flex-shrink:0;align-self:center;width:100px;height:100px;display:block}.character-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.character-heading h2{margin:0}.character-level{color:#d6ad64;background:#34302a;border:1px solid #685536;border-radius:20px;padding:6px 10px;font-size:13px}.character-sheet h3{margin:24px 0 12px;font-size:17px}.class-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.class-card{color:#aaa8a4;background:#303139;border:1px solid #4e4b47;border-radius:9px;flex-direction:column;align-items:center;gap:6px;padding:12px 5px;display:flex}.class-card strong{color:#f0dfc0;font-size:22px}.class-card.class-active{color:#f0dfc0;background:#393327;border-color:#d6ad64}.character-experience{color:#bdb5a8;justify-content:space-between;margin-top:14px;font-size:14px;display:flex}.character-experience strong{color:#f0dfc0}.combat-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.combat-stat{background:#303139;border:1px solid #685536;border-radius:10px;flex-direction:column;align-items:center;gap:6px;padding:14px 8px;display:flex}.combat-stat span{color:#c6bba8;font-size:13px}.combat-stat strong{color:#e2b76d;font-size:30px}.health-heading{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.health-heading strong{color:#e8c3b8;font-size:14px}.ability-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;display:grid}.ability-card{background:#303139;border:1px solid #514c45;border-radius:10px;flex-direction:column;align-items:center;gap:5px;padding:12px 4px;display:flex}.ability-card span{color:#c5bdaf;font-size:12px}.ability-card strong{font-size:25px}.ability-card b{color:#d6ad64;font-size:14px}@media (max-width:360px){.game .item-details{width:calc(100% - 16px);padding:12px}.equipment-slot{min-height:82px}.equipment-slot span,.ability-card span{font-size:11px}}.skills-panel{text-align:left}.skill-group+.skill-group{margin-top:22px}.skill-group h4{color:#c6bba8;margin:0 0 10px;font-size:13px;font-weight:600}.skills-columns,.skill-row{grid-template-columns:minmax(0,1fr) 48px 42px;align-items:center;gap:8px;display:grid}.skills-columns{color:#aaa59c;padding:0 10px 7px;font-size:10px}.skills-columns span:not(:first-child){text-align:right}.skills-list{background:#2b2d33;border:1px solid #45433f;border-radius:9px;margin:0;padding:0;list-style:none;overflow:hidden}.skill-row{min-height:36px;padding:10px}.skill-row+.skill-row{border-top:1px solid #3c3d42}.skill-info{flex-direction:column;gap:3px;min-width:0;display:flex}.skill-name{color:#e2d6c2;font-size:13px;font-weight:500;line-height:1.35}.skill-detail{color:#aaa59c;font-size:11px;line-height:1.3}.skill-level,.skill-bonus{text-align:right;font-variant-numeric:tabular-nums;font-size:14px;font-weight:500}.skill-level small{color:#aaa59c;margin-left:2px;font-size:10px;font-weight:400}.skill-bonus{color:#d6ad64}.game nav button{color:#a9a5a0}.game nav button.active{color:#e2b76d;background:#34302a;border-radius:8px}.game.game-chat{flex-direction:column;height:100svh;min-height:0;padding-bottom:88px;display:flex}.game.game-chat>header{margin-bottom:14px}.game.game-chat>main{flex:1;min-height:0;display:flex}.game .adventure-panel{text-align:left;flex-direction:column;flex:1;gap:10px;min-height:0;padding:12px;display:flex}.chat-panel{flex-direction:column;flex:1;gap:10px;min-height:0;display:flex}.chat-panel[hidden]{display:none}.mode-switch{background:#1d1f24;border:1px solid #514c45;border-radius:9px;gap:4px;padding:3px;display:flex}.mode-switch button{color:#a9a5a0;cursor:pointer;background:0 0;border:none;border-radius:7px;flex:1;padding:7px;font-size:13px}.mode-switch button[aria-selected=true]{color:#e2b76d;background:#34302a}.mode-switch button:focus-visible{outline-offset:-2px;outline:2px solid #d6ad64}.chat-log{overscroll-behavior:contain;flex-direction:column;flex:1;gap:10px;min-height:0;padding-right:4px;display:flex;overflow-y:auto}.chat-message{border-radius:10px;max-width:85%;padding:9px 12px;font-size:14px;line-height:1.5}.chat-message p{white-space:pre-wrap;overflow-wrap:anywhere}.chat-author{align-items:center;gap:5px;margin-bottom:3px;font-size:11px;font-weight:600;display:flex}.chat-time{color:#8f8a82;margin-left:auto;padding-left:10px;font-weight:400}.chat-master{color:#eadcc3;background:#2f2a22;border:1px solid #685536;align-self:stretch;max-width:none}.chat-master p{font-style:italic}.chat-master .chat-author{color:#d6ad64}.chat-npc{color:#e2d6c2;background:#2b2d33;border:1px solid #45433f;align-self:flex-start}.chat-npc .chat-author{color:#9fc3d6}.chat-player{color:#f0dfc0;background:#3a3327;border:1px solid #514c45;align-self:flex-end}.chat-player .chat-author{color:#c5bdaf}.chat-older{color:#d6ad64;cursor:pointer;background:0 0;border:1px solid #514c45;border-radius:999px;align-self:center;padding:6px 12px;font-size:12px}.chat-older:disabled{opacity:.6;cursor:default}.chat-status{color:#aaa59c;text-align:center;font-size:12px}.chat-error{color:#f0aaa3;font-size:13px}.chat-input{align-items:flex-end;gap:8px;display:flex}.chat-input textarea{resize:none;box-sizing:border-box;color:#f0dfc0;min-height:44px;max-height:120px;font:inherit;background:#1d1f24;border:1px solid #514c45;border-radius:8px;flex:1;padding:10px 12px;font-size:16px;line-height:1.4}.chat-input textarea::placeholder{color:#8f8a82}.chat-input textarea:focus{outline-offset:-1px;outline:2px solid #d6ad64}.chat-input button{color:#f2e5d1;cursor:pointer;background:#514331;border:1px solid #725a36;border-radius:8px;flex-shrink:0;place-items:center;width:44px;height:44px;display:grid}.chat-input button:disabled{opacity:.5;cursor:default}.scene-image{background:#1d1f24;border:1px solid #514c45;border-radius:9px;flex-shrink:0;height:150px;margin:0;overflow:hidden}.scene-image img{object-fit:cover;width:100%;height:100%;display:block}.scene-image-empty{color:#8f8a82;text-align:center;box-sizing:border-box;border:1px dashed #514c45;border-radius:9px;flex-direction:column;justify-content:center;align-items:center;gap:8px;height:100%;padding:0 20px;font-size:12px;display:flex}@media (max-height:700px){.scene-image{height:100px}}.chat-input .chat-mic{color:#d6ad64;background:#2b2d33;border-color:#514c45}.chat-input .chat-mic.listening{color:#ffd9d4;background:#5a2f2c;border-color:#b9524d;animation:1s ease-in-out infinite alternate mic-pulse}@keyframes mic-pulse{to{box-shadow:0 0 0 4px #b9524d59}}.combat-view{flex-direction:column;flex:1;gap:8px;min-height:0;display:flex}.combat-card{background:#2b2d33;border:1px solid #45433f;border-radius:9px;flex-shrink:0;padding:8px 10px}.combat-card-title{color:#d6ad64;align-items:center;gap:4px;margin-bottom:5px;font-size:12px;font-weight:600;display:flex}.combatant{align-items:center;gap:10px;display:flex}.combatant-portrait{color:#6f6a62;background:#1d1f24;border:1px dashed #514c45;border-radius:8px;flex-shrink:0;place-items:center;width:56px;height:56px;display:grid;overflow:hidden}.combatant-portrait img{object-fit:cover;width:100%;height:100%}.combatant-info{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.combatant-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.combatant-head .combat-card-title{min-width:0;margin:0}.combatant-stats{color:#aaa59c;font-size:11px}.combatant-stats b{color:#e2d6c2;font-weight:600}.combatant .hero-health{height:20px}.status-chips{flex-wrap:wrap;justify-content:flex-end;gap:4px;display:flex}.status-chip{color:#e2b76d;background:#34302a;border:1px solid #685536;border-radius:999px;padding:2px 7px;font-size:10px}.status-chip.enemy-chip{color:#f0c9b8;background:#3a2320;border-color:#8f2a1c}.chat-thinking{font-style:italic;animation:1.6s ease-in-out infinite thinking}@keyframes thinking{50%{opacity:.45}}@media (prefers-reduced-motion:reduce){.chat-thinking{animation:none}}.spells-known{color:#b9aee0;font-size:11px}.combat-enemy.defeated .combatant-portrait,.combat-enemy.defeated .combatant-info .hero-health{opacity:.45}.start-fight{color:#ffe1dc;cursor:pointer;background:#5a2f2c;border:1px solid #b9524d;border-radius:8px;flex-shrink:0;padding:7px 10px;font-size:12px}.start-fight:hover:not(:disabled){background:#6e3833}.start-fight:disabled{opacity:.5;cursor:default}.combat-muted{color:#aaa59c;font-size:13px}.flee-button{color:#c5bdaf;cursor:pointer;background:0 0;border:1px solid #514c45;border-radius:7px;align-items:center;gap:4px;padding:5px 9px;font-size:11px;display:flex}.flee-button:hover:not(:disabled){color:#f0aaa3;border-color:#b9524d}.flee-confirm{color:#f0aaa3;align-items:center;gap:4px;font-size:11px;display:flex}.flee-confirm button{color:#f0dfc0;cursor:pointer;background:#393327;border:1px solid #685536;border-radius:6px;padding:4px 8px;font-size:11px}.flee-button:disabled,.flee-confirm button:disabled{opacity:.5;cursor:default}.chat-compact .chat-message{padding:7px 10px;font-size:13px}.chat-compact .chat-log{min-height:80px}.combat-controls{flex-direction:column;flex-shrink:0;gap:8px;display:flex}.combat-grid{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:end;gap:10px;display:grid}.action-column{flex-direction:column;gap:6px;min-width:0;display:flex}.column-title{color:#8f8a82;letter-spacing:.08em;text-align:center;text-transform:uppercase;font-size:10px}.action-column>button,.potion-menu>button{color:#f0dfc0;cursor:pointer;background:#393327;border:1px solid #685536;border-radius:9px;justify-content:center;align-items:center;gap:6px;width:100%;height:40px;padding:0 6px;font-size:13px;display:flex}.action-column.bonus>button,.potion-menu>button{background:#2b3230;border-color:#4f6b5c}.combat-btn.power-attack{flex-direction:column;gap:1px;height:auto;min-height:40px;padding:4px 6px}.combat-btn-main{align-items:center;gap:6px;display:flex}.combat-btn.power-attack small{color:#c0b8a8;font-size:10px}.action-column>button:hover:not(:disabled),.potion-menu>button:hover:not(:disabled){border-color:#d6ad64}.action-column>button:disabled,.potion-menu>button:disabled{opacity:.45;cursor:default}.orb-column{flex-direction:column;align-items:center;gap:6px;display:flex}.hint-fan{justify-content:center;display:flex;position:relative}.hint-fan-toggle{color:#d9cffb;cursor:pointer;background:#2c2940;border:1px solid #5b4f8f;border-radius:50%;place-items:center;width:32px;height:32px;display:grid}.hint-fan-toggle[aria-expanded=true]{background:#3d3760;box-shadow:0 0 10px #9b87f573}.hint-fan-toggle:disabled{opacity:.5;cursor:default}.hint-fan-list{z-index:10;flex-direction:column;align-items:center;gap:6px;width:max-content;max-width:min(260px,80vw);display:flex;position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%)}.hint-item{transform:rotate(var(--tilt));animation:.22s ease-out backwards fan-in;animation-delay:var(--delay);background:#2c2940;border:1px solid #5b4f8f;border-radius:999px;display:flex;overflow:hidden;box-shadow:0 4px 12px #00000073}.hint-item button{color:#e8e1ff;cursor:pointer;background:0 0;border:none;padding:8px 12px;font-size:12px}.hint-item .hint-send{color:#b9aee0;border-left:1px solid #5b4f8f;padding:8px 10px}.hint-item button:hover{background:#3d3760}.hint-fan-note{color:#aaa59c;text-align:center;background:#1d1f24;border-radius:6px;padding:3px 8px;font-size:10px}@keyframes fan-in{0%{opacity:0;transform:translateY(18px)scale(.7)}}.potion-menu{position:relative}.potion-count{background:#1d1f24;border-radius:8px;min-width:16px;padding:0 4px;font-size:11px}.potion-list{z-index:10;background:#24262c;border:1px solid #685536;border-radius:9px;min-width:240px;max-height:320px;margin:0;padding:4px;list-style:none;position:absolute;bottom:calc(100% + 6px);right:0;overflow-y:auto;box-shadow:0 6px 16px #00000080}.potion-list button{color:#f0dfc0;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:6px;flex-direction:row;align-items:center;gap:8px;width:100%;padding:6px 8px;font-size:13px;display:flex}.potion-list button:disabled{opacity:.45;cursor:default}.potion-thumb{object-fit:contain;flex-shrink:0;width:32px;height:32px}.potion-text{flex-direction:column;gap:2px;min-width:0;display:flex}.potion-list button:hover{background:#34302a}.potion-list small{color:#a9d5a1;font-size:11px}.turn-status{box-sizing:border-box;background:#1d1f24;border:1px solid #514c45;border-radius:8px;flex-shrink:0;justify-content:space-between;align-items:center;gap:8px;min-height:36px;padding:4px 6px 4px 10px;font-size:12px;display:flex}.turn-status-text{color:#aaa59c}.turn-status-text strong{color:#e2b76d;font-weight:600}.turn-bar{justify-content:flex-end;align-items:center;gap:10px;display:flex}.end-turn{color:#f0dfc0;cursor:pointer;background:#393327;border:1px solid #685536;border-radius:8px;align-items:center;gap:5px;margin-left:auto;padding:6px 10px;font-size:12px;display:flex}.end-turn:disabled{opacity:.5;cursor:default}.dice-area{flex-direction:column;align-items:center;gap:4px;display:flex}.dice-orb{width:96px;height:96px;font:inherit;color:inherit;cursor:pointer;filter:drop-shadow(0 0 8px #d6ad6459);background:0 0;border:none;padding:0;display:block;position:relative}.dice-orb:disabled{cursor:default}.dice-orb:focus-visible{outline-offset:3px;border-radius:8px;outline:2px solid #f6e7c8}.die-shape,.die-shutters{width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;right:0;overflow:visible}.die-edge{stroke:#d6ad64;stroke-width:1.2px;stroke-linecap:round;opacity:.85}.die-face{stroke:#d6ad64;stroke-width:1.3px;stroke-linejoin:round}.die-outline{fill:none;stroke:#d6ad64;stroke-width:2.4px;stroke-linejoin:round}.die-number{pointer-events:none;filter:drop-shadow(0 2px 2px #000c);width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;right:0;overflow:visible}.die-number text{fill:#fff1d6;stroke:#1b140b;stroke-width:3px;stroke-linejoin:round;paint-order:stroke fill;font-variant-numeric:tabular-nums;transform-box:fill-box;transform-origin:50%;font-family:inherit;font-weight:800}.dice-orb.spinning{animation:.3s ease-in-out infinite alternate orb-pulse}.dice-orb.spinning .die-shape{animation:.6s ease-in-out infinite die-wobble}.dice-orb.spinning .die-number text{opacity:.8}.dice-orb:not(.spinning) .die-number text{animation:.35s ease-out value-pop}@keyframes value-pop{0%{transform:scale(1.35)}}.dice-type{z-index:2;color:#e2b76d;background:radial-gradient(circle at 35% 30%,#4b4f5a,#1d1f24 70%);border:2px solid #d6ad64;border-radius:50%;place-items:center;width:32px;height:32px;font-size:10px;font-weight:700;display:grid;position:absolute;bottom:-2px;right:-8px}.dice-orb.crit-success{filter:drop-shadow(0 0 14px #ffd36bcc)}.dice-orb.crit-success .die-outline,.dice-orb.crit-success .die-edge,.dice-orb.crit-success .die-face{stroke:#ffd36b}.dice-orb.crit-success .die-number text{fill:#ffe29a}.dice-orb.crit-fail{filter:drop-shadow(0 0 12px #b9524dcc)}.dice-orb.crit-fail .die-outline,.dice-orb.crit-fail .die-edge,.dice-orb.crit-fail .die-face{stroke:#b9524d}.dice-orb.crit-fail .die-number text{fill:#f0aaa3}.die-shutters{pointer-events:none}.shutter{transition:transform .45s cubic-bezier(.5,0,.3,1.2)}.shutter-a{transform:translate(-110px,-110px)}.shutter-b{transform:translate(110px,110px)}.shutter-seam{stroke:#111214;stroke-width:2.4px;opacity:0;transition:opacity .2s .3s}.shutter-rim{fill:none;stroke:#9aa0aa;stroke-width:3px;stroke-linejoin:round;opacity:0;transition:opacity .2s .25s}.dice-orb.closed .shutter{transform:translate(0)}.dice-orb.closed .shutter-seam,.dice-orb.closed .shutter-rim{opacity:1}.dice-orb.closed{filter:drop-shadow(0 3px 6px #0009)}.dice-orb.closed .dice-type{opacity:.5}.dice-reason{white-space:nowrap;text-overflow:ellipsis;color:#aaa59c;text-align:center;max-width:120px;font-size:11px;overflow:hidden}@keyframes die-wobble{0%,to{transform:rotate(0)}25%{transform:rotate(-8deg)}75%{transform:rotate(8deg)}}@keyframes orb-pulse{to{filter:drop-shadow(0 0 16px #d6ad64b3)}}@media (prefers-reduced-motion:reduce){.dice-orb.spinning,.dice-orb.spinning .die-shape,.dice-orb:not(.spinning) .die-number text,.chat-input .chat-mic.listening,.hint-item{animation:none}.shutter,.shutter-seam,.shutter-rim{transition:none}}@media (max-width:380px){.action-column>button,.potion-menu>button{gap:4px;font-size:12px}}.reference-button{color:#e2b76d;text-align:left;cursor:pointer;background:#2b2d33;border:1px solid #685536;border-radius:10px;align-items:center;gap:14px;width:100%;margin-bottom:18px;padding:10px 14px;display:flex}.reference-button:hover{background:#33302a;border-color:#d6ad64}.reference-button:focus-visible{outline-offset:2px;outline:2px solid #d6ad64}.book-icon{flex-shrink:0;display:block}.reference-button-text{flex-direction:column;gap:2px;display:flex}.reference-button-text strong{font-size:16px;font-weight:600}.reference-button-text small{color:#aaa59c;font-size:12px}.reference-sheet{text-align:center;flex-direction:column;align-items:center;gap:12px;display:flex}.reference-sheet p{color:#c5bdaf;font-size:14px;line-height:1.5}.reference-back{color:#f2e5d1;cursor:pointer;background:#514331;border:1px solid #725a36;border-radius:8px;margin-top:6px;padding:9px 16px}.reference-sheet.reference-open{text-align:left;align-items:stretch;gap:10px}.ref-head{align-items:center;gap:12px;display:flex}.ref-head h2{flex:1;margin:0}.ref-head .reference-back{margin-top:0}.ref-tabs{border:1px solid #514c45;border-radius:8px;display:flex;overflow:hidden}.ref-tabs button{color:#c5bdaf;cursor:pointer;background:#33353b;border:0;flex:1;padding:8px;font-size:14px}.ref-tabs button.active{color:#ffd36b;background:#514331}.ref-sections{gap:6px;display:flex}.ref-sections button{color:#c5bdaf;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;padding:6px 14px;font-size:13px}.ref-sections button.active{color:#ffd36b;border-bottom-color:#d6ad64}.ref-thumb-round{border:1px solid #d6ad64;border-radius:50%}.ref-chips{flex-wrap:wrap;gap:6px;display:flex}.ref-chips button{color:#e9dcc4;cursor:pointer;background:#3a3530;border:1px solid #514c45;border-radius:7px;padding:5px 10px;font-size:12px}.ref-chips button.active{color:#ffd36b;background:#514331;border-color:#d6ad64}.reference-sheet .ref-group-title{color:#e2b76d;margin:4px 0 0;font-size:16px}.reference-sheet .ref-group-about{color:#a99f8f;margin:0;font-size:13px}.ref-list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.ref-card{background:#2b2d33;border:1px solid #45423d;border-radius:8px;grid-template-columns:52px minmax(0,1fr);align-items:start;gap:10px;padding:8px 10px;display:grid}.ref-thumb{object-fit:contain;width:52px;height:52px}.ref-beast .ref-thumb{object-fit:cover;border-radius:6px}.ref-thumb-empty{background:#3f3b35;border-radius:6px;display:block}.ref-body{flex-direction:column;gap:3px;min-width:0;display:flex}.ref-title{align-items:baseline;gap:8px;display:flex}.ref-title strong{color:#f2e5d1;font-size:14px}.ref-tier{color:#ffd36b;border:1px solid #725a36;border-radius:5px;padding:0 6px;font-size:11px}.ref-stats{color:#d8cbb2;flex-wrap:wrap;gap:4px 10px;font-size:12px;display:flex}.ref-need{color:#e2b76d}.reference-sheet .ref-about{color:#a99f8f;margin:0;font-size:12px;line-height:1.35}.reference-sheet .ref-where{color:#9fb79a;margin:0;font-size:12px;line-height:1.35}.reference-sheet .ref-note{color:#8f877a;margin:4px 0 0;font-size:12px}.map-sheet{text-align:left}.map-heading{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.map-heading>span{color:#d6ad64;font-size:13px}.world-map{aspect-ratio:1;background:#dcc596;border:1px solid #6b5536;border-radius:12px;width:min(100%,max(260px,40vh));margin:6px auto 10px;display:block;overflow:hidden}.map-road path{fill:none;stroke-linecap:round}.map-trail-edge{stroke:#6b4a24;stroke-width:3.4px;opacity:.6}.map-trail-bed{stroke:#ead8ad;stroke-width:2.2px;opacity:.95}.map-decor{fill:none;stroke:#5c3f1e;stroke-width:.35px;stroke-linejoin:round;opacity:.55}.map-decor-fill{fill:#5c3f1e;fill-opacity:.35}.map-decor text{fill:#5c3f1e;stroke:none;font-size:2.8px;font-weight:700}.map-road.active .map-trail-edge{stroke:#4a2f14;opacity:.85}.map-road.walked .map-trail-edge{stroke:#4a2f14;opacity:.75}.map-road.walked .map-trail-bed{stroke:#cdb07a}.footprint{fill:#3a2610;transform-box:fill-box;transform-origin:50%;transition:opacity .6s ease-out;animation:.35s ease-out step-in}@keyframes step-in{0%{opacity:0;transform:scale(1.5)}}@media (prefers-reduced-motion:reduce){.footprint{animation:none}}.map-clock.ticking{color:#ffd36b;font-variant-numeric:tabular-nums}.world-map.traveling .map-node{cursor:default}.map-node{cursor:pointer;outline:none}.map-node-ring{fill:none;stroke:#0000;stroke-width:1px}.map-node-body{fill:#efe0b8;stroke:#6b4a24;stroke-width:1px}.map-node-icon{color:#4a3218}.map-node-label{fill:#3a2610;paint-order:stroke fill;stroke:#e8d5a8;stroke-width:1.2px;font-size:4px;font-weight:700}.map-node.reachable .map-node-body{stroke:#3a2610;stroke-width:1.2px}.map-node.unvisited .map-node-icon{opacity:.45}.map-node.unvisited .map-node-body{fill:#e3d2a8}.map-node.here .map-node-body{fill:#f7e8bd;stroke:#8f2a1c;stroke-width:1.4px}.map-node.here .map-node-icon{color:#8f2a1c}.map-node.here .map-node-label{fill:#8f2a1c}.map-node.selected .map-node-ring{stroke:#3a2610;stroke-dasharray:2 1.5}.map-node:focus-visible .map-node-ring{stroke:#8f2a1c}.map-node.here .map-node-ring{stroke:#8f2a1c;animation:1.6s ease-in-out infinite map-pulse}@keyframes map-pulse{50%{stroke-opacity:.25}}@media (prefers-reduced-motion:reduce){.map-node.here .map-node-ring{animation:none}}.map-place{background:#2b2d33;border:1px solid #45433f;border-radius:10px;padding:10px}.map-place-head{text-shadow:0 1px 2px #000;background:linear-gradient(#0000,#12110fe0 60%);flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 8px;padding:22px 10px 7px;display:flex;position:absolute;bottom:0;left:0;right:0}.map-place-image{aspect-ratio:2;background:#1d1f24;border:1px solid #685536;border-radius:8px;position:relative;overflow:hidden}.map-place-image img{object-fit:cover;width:100%;height:100%;animation:.45s ease-out story-in;display:block}.map-place-image.fog{border-color:#45433f}.map-here{color:#ffd36b;font-size:12px}.map-distance{color:#e2d8c6;font-size:12px}.map-place p{color:#c5bdaf;margin-top:6px;font-size:14px;line-height:1.5}.map-go{color:#f2e5d1;cursor:pointer;background:#514331;border:1px solid #725a36;border-radius:8px;justify-content:center;align-items:center;gap:6px;width:100%;margin-top:8px;padding:10px;font-size:14px;display:flex}.map-go:hover:not(:disabled){border-color:#d6ad64}.map-go:disabled{opacity:.6;cursor:default}.game .map-blocked{color:#f0c9b8;background:#3a2320;border:1px solid #8f2a1c;border-radius:8px;justify-content:center;align-items:center;gap:6px;margin:8px 0 0;padding:10px;font-size:14px;display:flex}.master-story{background:#2f2a22;border:1px solid #685536;border-radius:10px;margin-top:12px;padding:10px 12px}.master-story-title{color:#d6ad64;align-items:center;gap:6px;margin-bottom:6px;font-size:12px;font-weight:600;display:flex}.master-story-text{color:#f0e2c6;font-size:14px;font-style:italic;line-height:1.55;animation:.45s ease-out story-in}@keyframes story-in{0%{opacity:0;filter:blur(2px);transform:translateY(4px)}}@media (prefers-reduced-motion:reduce){.master-story-text{animation:none}}.game nav button{gap:5px;font-size:12px}.game nav button svg{flex-shrink:0;width:19px;height:19px}@media (max-width:440px){.game nav{padding:8px}.game nav button{flex-direction:column;gap:3px;padding:6px 2px;font-size:11px}}.hero-summary{text-align:left;align-items:center;gap:14px;display:flex}.portrait-placeholder{color:#c4a267;background:#303139;border:1px solid #685536;border-radius:12px;flex-shrink:0;place-items:center;width:76px;height:94px;display:grid}.hero-summary-info{flex:1;min-width:0}.game .hero-summary h2{overflow-wrap:anywhere;margin:0 0 10px;font-size:19px;line-height:1.3}.health-caption{color:#b9ae9d;margin-bottom:5px;font-size:11px;display:block}.hero-health{background:#191b20;border:1px solid #55504a;border-radius:7px;height:28px;position:relative;overflow:hidden}.hero-health-fill{background:#46634c;transition:width .2s;position:absolute;top:0;bottom:0;left:0;right:auto}.hero-health>span{color:#fff4e4;justify-content:center;align-items:center;gap:5px;height:100%;font-size:12px;font-weight:600;display:flex;position:relative}.ability-progress{accent-color:#d6ad64;width:calc(100% - 12px);height:9px}.ability-progress-label{color:#b9ae9d;font-variant-numeric:tabular-nums;font-size:10px}.ability-help{color:#b9ae9d;width:100%;font-size:10px}.ability-help summary{cursor:pointer;text-align:center;text-underline-offset:3px;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;list-style:none}.ability-help p{text-align:left;padding:0 4px;line-height:1.5}.bag-heading{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr) minmax(0,1fr);align-items:center;gap:8px;margin-top:18px;display:grid}.equipment-summary{color:#d6ad64;background:#2b2d33;border:1px solid #514c45;border-radius:9px;flex-direction:column;align-items:center;gap:4px;padding:10px 3px;display:flex}.equipment-summary span{color:#c5bdaf;font-size:10px}.equipment-summary strong{font-size:20px;line-height:1.2}.game .bag-title h3{margin:0 0 5px;font-size:17px}.bag-title{text-align:center}.bag-title p{color:#b9ae9d;margin:0;font-size:11px}@media (max-width:360px){.portrait-placeholder{width:58px;height:82px}.hero-summary{gap:10px}.game .hero-summary h2{font-size:16px}}.skill-progress{accent-color:#d6ad64;width:100%;height:9px}.game .item-details .item-details-close{touch-action:manipulation;border-radius:8px;width:48px;height:48px;top:6px;right:6px}.game .item-details .item-details-close:hover{outline-offset:-2px;background:#443b2f;outline:2px solid #d6ad64}.game .item-details .item-details-close:focus-visible{outline-offset:-2px;background:#443b2f;outline:2px solid #d6ad64}.game .item-details h3{text-align:center;padding:0 44px}.game .item-details .item-meta{justify-content:center}.item-meta{color:#c5bdaf;flex-wrap:wrap;gap:6px;font-size:11px;display:flex}.item-meta span{background:#343238;border:1px solid #514c45;border-radius:6px;padding:4px 7px}.item-effects{text-align:left;background:#303139;border:1px solid #514c45;border-radius:8px;padding:8px 10px}.item-effects ul{color:#a9d5a1;margin:0;padding-left:18px;font-size:12px;line-height:1.45}.item-flavor-effects ul{color:#c5bdaf;font-style:italic}.status-line{background:#1d1f24;border:1px solid #514c45;border-radius:9px;flex-shrink:0;align-items:center;gap:8px;padding:7px 10px;display:flex}.status-stack{color:#e2b76d;flex:1;min-width:0;font-size:13px;font-weight:600;display:grid;overflow:hidden}.status-text{white-space:nowrap;text-overflow:ellipsis;grid-area:1/1;animation:.45s ease-out status-in;overflow:hidden}.status-text.leaving{animation:.45s ease-in forwards status-out}@keyframes status-in{0%{opacity:0;transform:translateY(9px)}}@keyframes status-out{to{opacity:0;transform:translateY(-9px)}}.test-fight{color:#f0c9b8;cursor:pointer;background:#3a2320;border:1px solid #8f2a1c;border-radius:7px;flex-shrink:0;align-items:center;gap:5px;padding:4px 9px;font-size:11px;display:flex}.test-fight:hover:not(:disabled){border-color:#d6ad64}.test-fight:disabled{opacity:.5;cursor:default}.road-go{color:#f2e5d1;cursor:pointer;background:#514331;border:1px solid #d6ad64;border-radius:7px;flex-shrink:0;align-items:center;gap:5px;padding:4px 9px;font-size:11px;display:flex}.road-go:disabled{opacity:.5;cursor:default}.dungeon-dark{color:#b9c3e0;background:#1d2130;border:1px solid #4a5370;border-radius:7px;flex-shrink:0;align-items:center;gap:4px;padding:3px 8px;font-size:11px;display:flex}.map-blocked-go{color:#f2e5d1;cursor:pointer;background:#514331;border:1px solid #d6ad64;border-radius:6px;margin-left:8px;padding:3px 9px;font-size:12px}@media (prefers-reduced-motion:reduce){.status-text,.status-text.leaving{animation:none}.status-text.leaving{display:none}}.game .adventure-panel{position:relative;overflow:hidden}.iron-shutters{z-index:20;border-radius:inherit;display:flex;position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.iron-shutters.closed{animation:.28s ease-out shutters-slam}@keyframes shutters-slam{0%{transform:translate(0)}25%{transform:translate(-3px,2px)}50%{transform:translate(2px,-1px)}75%{transform:translate(-1px,1px)}to{transform:translate(0)}}.shutter{background-color:#3b2715;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='1600'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.45 0.011' numOctaves='3' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 0.12 0 0 0 0 0.07 0 0 0 0 0.03 0 0 0 -1.2 0.8'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"),repeating-linear-gradient(90deg,#000000a6 0 2px,#ffdcaa0f 2px 4px,#0000 4px 52px),linear-gradient(#52361e,#3c2816 45%,#2a1b0e);flex:0 0 50%;height:100%;position:relative;box-shadow:inset 0 0 50px #000000bf}.shutter.left{transform:translate(-100%)}.shutter.right{z-index:1;transform:translate(100%)}.closing .shutter.left{animation:.65s cubic-bezier(.55,.05,.75,.25) forwards shutter-close-left}.closing .shutter.right{animation:.65s cubic-bezier(.55,.05,.75,.25) forwards shutter-close-right}.closed .shutter{transform:none}.opening .shutter.left{animation:.65s cubic-bezier(.3,.55,.4,1) forwards shutter-open-left}.opening .shutter.right{animation:.65s cubic-bezier(.3,.55,.4,1) forwards shutter-open-right}@keyframes shutter-close-left{0%{transform:translate(-100%)}to{transform:translate(0)}}@keyframes shutter-close-right{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes shutter-open-left{0%{transform:translate(0)}to{transform:translate(-100%)}}@keyframes shutter-open-right{0%{transform:translate(0)}to{transform:translate(100%)}}.shutter-band{background:radial-gradient(circle,#c9c3b8 0 1.4px,#6d6a63 2.2px,#2a2825 3.2px,#0000008c 4px,#0000 4.6px) 26px/52px 100% repeat-x,linear-gradient(#77726a 0,#4b4842 16%,#2f2d2a 58%,#1a1917 100%);height:30px;position:absolute;left:0;right:0;box-shadow:0 4px 7px #000000a6,inset 0 1px #fff3}.shutter-band.top{top:13%}.shutter-band.middle{height:22px;top:calc(50% - 11px)}.shutter-band.bottom{bottom:13%}.shutter-edge{background:radial-gradient(circle,#c9c3b8 0 1.4px,#6d6a63 2.2px,#2a2825 3.2px,#0000 4px) 50% 20px/100% 64px repeat-y,linear-gradient(90deg,#1b1a18,#57534c 45%,#2a2825);width:16px;position:absolute;top:0;bottom:0;box-shadow:0 0 10px #000c}.shutter.left .shutter-edge{right:0}.shutter.right .shutter-edge{left:0}.shutter-lock{z-index:2;background:radial-gradient(4px 7px at 50% 38%,#0b0a09 0 3px,#0000 4px),radial-gradient(circle at 50% 30%,#0b0a09 0 5px,#0000 6px),radial-gradient(circle,#c9c3b8 0 1.4px,#2a2825 3px,#0000 3.6px) 8px 8px/40px 54px,linear-gradient(160deg,#7b766d,#45423c 45%,#26241f);border:2px solid #151412;border-radius:7px;width:56px;height:70px;position:absolute;top:50%;left:-28px;transform:translateY(-50%);box-shadow:0 5px 12px #000000bf,inset 0 1px #ffffff38}.shutter-ring{box-sizing:border-box;border:4px solid #6f6a61;border-radius:50%;width:24px;height:24px;position:absolute;bottom:-14px;left:50%;transform:translate(-50%);box-shadow:0 3px 5px #000000b3,inset 0 1px #ffffff40}.scene-image{position:relative}.scene-portrait{aspect-ratio:1;background:#1d1f24;border:2px solid #d6ad64;border-radius:8px;animation:.5s ease-out portrait-in;position:absolute;top:8px;bottom:8px;left:8px;overflow:hidden;box-shadow:0 4px 14px #000c}.scene-image .scene-portrait img{object-fit:cover;object-position:center 30%;border-radius:0;width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;right:0}.scene-portrait span{color:#e2b76d;text-align:center;white-space:nowrap;text-overflow:ellipsis;background:linear-gradient(#0000,#12110fe6 55%);padding:12px 4px 3px;font-size:10px;position:absolute;bottom:0;left:0;right:0;overflow:hidden}@keyframes portrait-in{0%{opacity:0;transform:translateY(8px)scale(.92)}}.status-avatar{object-fit:cover;border:1px solid #d6ad64;border-radius:50%;flex-shrink:0;width:26px;height:26px;animation:.45s ease-out portrait-in}@media (prefers-reduced-motion:reduce){.scene-portrait,.status-avatar{animation:none}}.chat-system{border-radius:999px;align-self:center;align-items:center;gap:6px;margin:0;padding:4px 11px;font-size:12px;display:flex}.chat-check{color:#ffd36b;font-variant-numeric:tabular-nums;background:#2f2a22;border:1px solid #d6ad64}.chat-trade{color:#bfe0c6;background:#23302a;border:1px solid #5f8a6a}.check-backdrop{z-index:15;background:#0c0c0eb8;justify-content:center;align-items:center;padding:16px;animation:.25s ease-out check-in;display:flex;position:absolute;top:0;bottom:0;left:0;right:0}.check-dialog{text-align:center;background:#2b2d33;border:1px solid #d6ad64;border-radius:12px;flex-direction:column;align-items:center;gap:8px;width:min(100%,320px);padding:16px;display:flex;box-shadow:0 10px 30px #000000b3}.check-dialog h3{color:#e2b76d;align-items:center;gap:6px;margin:0;font-size:16px;display:flex}.check-why{color:#f0e2c6;margin:0;font-size:14px;font-style:italic}.check-text{color:#c5bdaf;overflow-wrap:anywhere;margin:0;font-size:13px}.check-numbers{color:#c5bdaf;margin:0;font-size:13px}.check-numbers strong{color:#ffd36b}.check-retry{color:#f0a08f;margin:0;font-size:12px}.check-result{margin:0;font-size:14px;font-weight:600;animation:.3s ease-out check-in}.check-result.success{color:#9fdc9a}.check-result.failure{color:#f0a08f}.check-actions{gap:8px;width:100%;display:flex}.check-actions button{cursor:pointer;border-radius:8px;flex:1;justify-content:center;align-items:center;gap:6px;padding:9px;font-size:14px;display:flex}.check-roll{color:#f2e5d1;background:#514331;border:1px solid #d6ad64}.check-cancel{color:#c5bdaf;background:0 0;border:1px solid #514c45}.check-actions button:disabled{opacity:.55;cursor:default}@keyframes check-in{0%{opacity:0;transform:scale(.96)}}@media (prefers-reduced-motion:reduce){.check-backdrop,.check-result{animation:none}}.hero-buffs ul{flex-direction:column;gap:6px;margin:0 0 8px;padding:0;list-style:none;display:flex}.hero-buffs li{color:#f0e2c6;text-align:left;background:#2b2d33;border:1px solid #725a36;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;font-size:13px;display:flex}.hero-buffs small{color:#d6ad64;flex-shrink:0;font-size:12px}.eat-note{color:#c5bdaf;text-align:center;font-size:13px}.offer-actions{flex-direction:column;gap:8px;width:100%;display:flex}.offer-actions button{flex-direction:column;align-items:center;gap:2px;display:flex}.offer-actions small{color:#c5bdaf;font-size:11px;font-weight:400}.enemy-trait{color:#c5bdaf;border:1px solid #514c45;border-radius:8px;margin-left:6px;padding:1px 6px;font-size:10px;font-weight:400}.burden{background:#1d1f24;border:1px solid #514c45;border-radius:9px;margin:0 0 10px;padding:8px 10px}.burden-head{color:#c5bdaf;align-items:baseline;gap:8px;font-size:12px;display:flex}.burden-head strong{color:#f2e5d1;font-size:13px}.burden-head em{color:#a9d5a1;margin-left:auto;font-style:normal;font-weight:600}.burden-heavy .burden-head em{color:#e2b76d}.burden-overloaded .burden-head em,.burden-stuck .burden-head em{color:#e0785f}.burden-bar{background:#303139;border:1px solid #514c45;border-radius:4px;height:7px;margin-top:6px;position:relative;overflow:hidden}.burden-fill{background:linear-gradient(90deg,#8a6a33,#d6ad64);height:100%;transition:width .3s}.burden-heavy .burden-fill{background:linear-gradient(90deg,#a8742c,#e2b76d)}.burden-overloaded .burden-fill,.burden-stuck .burden-fill{background:linear-gradient(90deg,#8f2a1c,#e0785f)}.burden-bar i{background:#0e0f12;width:1px;position:absolute;top:0;bottom:0}.burden-notes{color:#e0a58f;margin:6px 0 0;padding-left:18px;font-size:11px;line-height:1.4}.item-requirement{color:#a9d5a1;margin:0;font-size:12px}.item-requirement.unmet{color:#d8b9a0}.item-requirement .need-unmet{color:#e0785f;font-weight:600}.drop-buttons{gap:6px;display:flex}.drop-buttons .drop-button{color:#f0c9b8;background:#3a2320;border-color:#8f2a1c;flex:1}.armor-set{color:#c5bdaf;background:#1d1f24;border:1px solid #514c45;border-radius:9px;flex-wrap:wrap;align-items:baseline;gap:4px 8px;margin:8px 0 10px;padding:7px 10px;font-size:12px;display:flex}.armor-set strong{color:#f2e5d1}.armor-set small{color:#8f887c;flex-basis:100%;font-size:11px}.armor-set.active{border-color:#d6ad64}.armor-set.active span,.armor-set.active strong{color:#e2b76d}.armor-set.active small{color:#a9d5a1}.map-tabs{gap:6px;margin:6px 0 8px;display:flex}.map-tabs button{color:#c5bdaf;cursor:pointer;background:#2b2d33;border:1px solid #45433f;border-radius:8px;flex:1;justify-content:center;align-items:center;gap:6px;padding:6px 10px;font-size:13px;display:flex}.map-tabs button.active{color:#e2b76d;background:#3a3324;border-color:#d6ad64}.map-tabs button:disabled{opacity:.6;cursor:default}.atlas{width:min(100%,66vh);margin:0 auto 10px;position:relative}.atlas-map{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;background:#6f8fbd;border:1px solid #6b5536;border-radius:12px;width:100%;display:block}.atlas-map:active{cursor:grabbing}.atlas-road{fill:none;stroke:#7a4a1f;stroke-linecap:round;stroke-linejoin:round;opacity:.55}.atlas-road.active{stroke:#b8741f;opacity:.9}.atlas-road.walked{stroke:#e2b76d;opacity:1}.atlas-town{cursor:pointer}.atlas-town-hit{fill:#0000}.atlas-town-dot{fill:#efe4cc;stroke:#5c3f1e}.atlas-town.city .atlas-town-dot{fill:#e9d3a0;stroke:#3a240e;stroke-linejoin:round;filter:drop-shadow(0 1px 1.5px #1e12068c)}.atlas-town.capital .atlas-town-dot{fill:#e2b76d}.atlas-flag{fill:#8f2a1c;stroke:#3a240e;stroke-linejoin:round}.atlas-label.city{letter-spacing:.02em;fill:#24170a;font-weight:700}.atlas-road.main{stroke:#6a3a14;opacity:.75}.atlas-town.village.visited .atlas-town-dot{fill:#e2b76d}.atlas-town.reachable .atlas-town-dot{stroke:#b8741f}.atlas-town:focus{outline:none}.atlas-pick-glow{fill:#e2b76d52}.atlas-pick-ring{fill:none;stroke:#e2b76d;filter:drop-shadow(0 0 1px #2a1d0ccc)}.atlas-town:focus-visible .atlas-town-dot{stroke:#e2b76d}.atlas-town.here .atlas-town-dot{fill:#d6ad64;stroke:#2a1d0c}.atlas-label{fill:#2a1d0c;paint-order:stroke;stroke:#f6ecd6d9;stroke-width:.25em;stroke-linejoin:round;pointer-events:none;font-family:Georgia,Times New Roman,serif;font-weight:600}.atlas-town.here .atlas-label{fill:#5a3410}.atlas-town.selected .atlas-label{fill:#3a2208;font-weight:700}.atlas-hero{pointer-events:none}.atlas-hero-halo{fill:#d6ad6447;stroke:#d6ad64;stroke-width:.3px;animation:1.8s ease-in-out infinite atlas-pulse}.atlas-hero-dot{fill:#8f2a1c;stroke:#f2e5d1;stroke-width:.4px}@keyframes atlas-pulse{50%{opacity:.45}}.atlas-tools{flex-direction:column;gap:4px;display:flex;position:absolute;top:8px;right:8px}.atlas-tools button{color:#e2b76d;cursor:pointer;background:#1d1f24d9;border:1px solid #6b5536;border-radius:7px;place-items:center;width:30px;height:30px;padding:0;display:grid}.atlas-tools button:hover{border-color:#d6ad64}@media (prefers-reduced-motion:reduce){.atlas-hero-halo{animation:none}}.world-map.drawn{background:#1e1710;border-color:#8a6a3a;width:min(100%,66vh)}.world-map.drawn.bronze .map-node-body{fill:#2a2015;stroke:#d6ac60}.world-map.drawn.bronze .map-node-icon{color:#e2b76d}.world-map.drawn.bronze .map-node.unvisited .map-node-body{fill:#231a11}.world-map.drawn.bronze .map-node.reachable .map-node-body{stroke:#f0c870}.world-map.drawn.bronze .map-node.here .map-node-body{fill:#3a2a16;stroke:#ffd36b}.world-map.drawn.bronze .map-node.here .map-node-icon,.world-map.drawn.bronze .map-node.here .map-node-label{color:#ffd36b;fill:#ffd36b}.world-map.drawn.bronze .map-node.here .map-node-ring{stroke:#ffd36b}.world-map.drawn.bronze .map-node:focus-visible .map-node-ring{stroke:#ffd36b}.world-map.drawn.bronze .map-node.selected .map-node-ring{stroke:#e2b76d}.world-map.drawn.bronze .map-node-label{fill:#f0dcaa;paint-order:stroke;stroke:#120c06eb;stroke-width:1.6px;stroke-linejoin:round}.world-map.drawn.bronze .map-trail-edge{stroke:#d6ac60}.world-map.drawn.bronze .map-trail-bed{stroke:#4a3820}.world-map.drawn.bronze .map-road.active .map-trail-edge,.world-map.drawn.bronze .map-road.walked .map-trail-edge{stroke:#f0c870}.world-map.drawn.bronze .map-road.walked .map-trail-bed{stroke:#6a5030}.world-map.drawn.bronze .footprint{fill:#ffd36b}.world-map.drawn.parchment .map-node-body{fill:#f6e9c6;stroke:#d9b56e;stroke-width:.5px;filter:drop-shadow(0 .4px .6px #2818088c)}.world-map.drawn.parchment .map-node-icon{color:#6b4a24}.world-map.drawn.parchment .map-node-ring{stroke-width:.5px}.world-map.drawn.parchment .map-node.reachable .map-node-body{stroke:#e8c47c}.world-map.drawn.parchment .map-node.unvisited .map-node-body{fill:#ecdcb4}.world-map.drawn.parchment .map-node.selected .map-node-ring{stroke:#f6e9c6;stroke-dasharray:1 .8}.world-map.drawn.parchment .map-node.here .map-node-body{fill:#b8321f;stroke:#f3d9a0}.world-map.drawn.parchment .map-node.here .map-node-icon{color:#fff0c4}.world-map.drawn.parchment .map-node.here .map-node-ring{stroke:#e0563c}.world-map.drawn.parchment .footprint{fill:#5a1c10}.trade-dialog{background:#2b2d33;border:1px solid #d6ad64;border-radius:12px;flex-direction:column;gap:8px;width:min(100%,760px);max-height:calc(100% - 8px);padding:14px;display:flex;overflow:hidden;box-shadow:0 10px 30px #000000b3}.trade-head{align-items:center;gap:10px;display:flex}.trade-head h3{color:#e2b76d;align-items:center;gap:6px;margin:0;font-size:16px;display:flex}.trade-coins{color:#c5bdaf;white-space:nowrap;margin-left:auto;font-size:13px}.trade-coins strong{color:#ffd36b}.trade-close{color:#c5bdaf;cursor:pointer;background:0 0;border:1px solid #514c45;border-radius:7px;padding:4px;display:flex}.trade-tabs{flex-wrap:wrap;gap:6px;display:flex}.trade-tabs button{color:#e9dcc4;cursor:pointer;background:#3a3530;border:1px solid #514c45;border-radius:7px;padding:5px 10px;font-size:12px}.trade-tabs button.active{color:#ffd36b;background:#514331;border-color:#d6ad64}.trade-shop{align-items:center;gap:10px;display:flex}.trade-shop div{flex-direction:column;gap:1px;min-width:0;display:flex}.trade-shop strong{color:#f2e5d1;font-size:14px}.trade-shop span{color:#a99f8f;font-size:12px}.trade-portrait{object-fit:cover;border:1px solid #d6ad64;border-radius:50%;flex-shrink:0;width:44px;height:44px}.trade-columns{flex:1;min-height:0;padding-right:4px;overflow-y:auto}.trade-dialog>:not(.trade-columns){flex-shrink:0}.trade-switch{border:1px solid #514c45;border-radius:8px;flex-shrink:0;gap:0;min-height:32px;display:flex;overflow:hidden}.trade-switch button{white-space:nowrap;color:#c5bdaf;cursor:pointer;background:#33353b;border:0;flex:1;padding:7px 6px;font-size:13px;line-height:1.2}.trade-switch button.active{color:#ffd36b;background:#514331}.trade-columns section{background:0 0;border:0;border-radius:0;flex-direction:column;min-width:0;padding:0;display:flex}.trade-columns h4{color:#e2b76d;margin:0 0 6px;font-size:13px}.trade-list{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.trade-list li{background:#33353b;border:1px solid #45423d;border-radius:8px;grid-template-columns:34px minmax(0,1fr) auto auto auto;align-items:center;gap:6px;padding:5px 6px;display:grid}.trade-thumb{object-fit:contain;width:34px;height:34px}.trade-thumb-empty{background:#3f3b35;border-radius:6px;display:inline-block}.trade-name{color:#f0e2c6;word-break:normal;overflow-wrap:break-word;flex-direction:column;gap:1px;min-width:0;font-size:13px;line-height:1.25;display:flex}.trade-name small{color:#a99f8f;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:11px;line-height:1.3;display:-webkit-box;overflow:hidden}.trade-price{text-align:right;color:#ffd36b;font-variant-numeric:tabular-nums;white-space:nowrap;min-width:26px;font-size:13px;font-weight:600}.trade-list button{color:#f2e5d1;cursor:pointer;white-space:nowrap;background:#514331;border:1px solid #d6ad64;border-radius:6px;padding:4px 7px;font-size:11px}.trade-list button:disabled{opacity:.45;cursor:default}.trade-note{color:#a99f8f;margin:0;font-size:12px}.trade-columns h4.trade-subhead{margin:10px 0 6px}.trade-list button.trade-spacer{visibility:hidden}.trade-price.up{color:#ff9a6b}.trade-price.down{color:#9fd38a}.trade-stock{color:#c5bdaf}.trade-stock.low{color:#ff9a6b}.trade-news{flex-direction:column;gap:4px;max-height:96px;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.trade-news li{background:#3a3127;border:1px solid #6b5536;border-radius:8px;flex-direction:column;gap:1px;padding:5px 8px;font-size:12px;line-height:1.3;display:flex}.trade-news strong{color:#ffd36b}.trade-news span{color:#d8cbb3}.trade-columns h4.trade-subhead.first{margin-top:0}.trade-rarity{white-space:nowrap;border:1px solid;border-radius:6px;margin-left:4px;padding:0 5px;font-size:10px;font-style:normal}.trade-rarity.common{color:#c5bdaf}.trade-rarity.uncommon{color:#8fd17f}.trade-rarity.rare{color:#7fb4ff}.trade-rarity.very_rare{color:#d39bff}.trade-service{color:#e6dccb;background:#23252a;border:1px solid #4a4436;border-radius:8px;flex-wrap:wrap;align-items:center;gap:8px;padding:7px 9px;font-size:12px;display:flex}.trade-service span{flex:220px}.trade-service small{color:#a99f8f}.trade-service button{color:#f2e5d1;cursor:pointer;white-space:nowrap;background:#514331;border:1px solid #d6ad64;border-radius:6px;padding:4px 9px;font-size:11px}.trade-service button:disabled{opacity:.45;cursor:default}.combat-duo{flex-shrink:0;grid-template-columns:1fr 1fr;gap:6px;display:grid}.combat-duo .combat-card{min-width:0;padding:5px 7px}.combat-duo .combatant{align-items:flex-start;gap:7px}.combat-duo .combatant-info{gap:3px}.combat-duo .combatant-head{flex-wrap:wrap;gap:3px 6px}.combat-duo .combat-card-title{text-overflow:ellipsis;white-space:nowrap;font-size:11.5px;overflow:hidden}.combat-duo .combatant-stats{margin:0;font-size:10.5px}.combat-duo .status-chips{flex-wrap:wrap}.combat-duo .spells-known{margin:0;font-size:10px}@media (max-width:380px){.combat-duo{grid-template-columns:1fr}}.hero-effects{margin:4px 0 14px}.hero-effects ul{flex-direction:column;gap:5px;margin:6px 0 0;padding:0;list-style:none;display:flex}.hero-effects li{color:#e2d6c2;background:#2b2d33;border:1px solid #45433f;border-left:3px solid #7fae6a;border-radius:7px;justify-content:space-between;align-items:baseline;gap:10px;padding:6px 10px;font-size:12px;display:flex}.hero-effects li b{font-weight:600}.hero-effects li small{color:#a99f8f;flex-shrink:0;font-size:11px}.hero-effects li.effect-buff b{color:#9fd08a}.hero-effects li.effect-set{border-left-color:#d6ad64}.hero-effects li.effect-set b{color:#d6ad64}.hero-effects li.effect-debuff{border-left-color:#c0574b}.hero-effects li.effect-debuff b{color:#e07b6e}.iron-shutters{background:0 0}.shutter{box-shadow:none;background-color:#0000;background-image:none;background-repeat:no-repeat;background-size:auto 100%}.shutter.left{filter:drop-shadow(6px 0 10px #000000b3);background-image:url(/assets/ui/shutter-left.webp);background-position:100%}.shutter.right{filter:drop-shadow(-6px 0 10px #000000b3);background-image:url(/assets/ui/shutter-right.webp);background-position:0}.iron-shutters.closing,.iron-shutters.closed,.iron-shutters.opening{background:#0a0a0c8c}.healing-overlay{z-index:60;background:#08090bb8;place-items:center;display:grid;position:fixed;top:0;bottom:0;left:0;right:0}.healing-box{color:#e6dccb;text-align:center;flex-direction:column;align-items:center;gap:10px;padding:18px 22px;display:flex;position:relative}.healing-box p{color:#cfc4b2;max-width:240px;margin:0;font-size:13px}.healing-ring{width:120px;height:120px;transform:rotate(-90deg)}.healing-track{fill:none;stroke:#2e3036;stroke-width:7px}.healing-fill{fill:none;stroke:#7fae6a;stroke-width:7px;stroke-linecap:round;filter:drop-shadow(0 0 6px #7fae6a8c);transition:stroke-dashoffset .2s linear}.healing-time{color:#f2e5d1;place-items:center;width:120px;height:120px;font-size:20px;font-weight:600;display:grid;position:absolute;top:18px}.main-menu{z-index:100;color:#f2e5d1;background:#0d0b09 50%/cover no-repeat;justify-content:center;display:flex;position:fixed;top:0;bottom:0;left:0;right:0;overflow-y:auto}.main-menu-shade{pointer-events:none;background:linear-gradient(#08060440,#0806048c 55%,#080604d9);position:fixed;top:0;bottom:0;left:0;right:0}.main-menu-body{box-sizing:border-box;flex-direction:column;justify-content:flex-end;align-items:center;gap:14px;width:min(100%,460px);min-height:100%;padding:28px 16px 48px;display:flex;position:relative}.main-menu-title{letter-spacing:4px;color:#e8c27a;text-shadow:0 2px 8px #000000e6,0 0 18px #e8a05059;margin:0 0 auto;padding-top:6vh;font-size:30px}.main-menu-error{background:#781e14bf;border-radius:8px;margin:0;padding:6px 10px;font-size:13px}.main-menu-planks{flex-direction:column;align-items:center;gap:6px;width:100%;display:flex}.menu-plank{cursor:pointer;filter:drop-shadow(0 6px 10px #000000b3);background:0 0;border:0;width:100%;max-width:380px;padding:0;transition:transform .12s,filter .12s}.menu-plank img{width:100%;height:auto;display:block}.menu-plank:hover{filter:drop-shadow(0 6px 14px #e8a05059);transform:translateY(-1px)scale(1.015)}.menu-plank:active{transform:translateY(1px)scale(.99)}.main-menu-hint{color:#d9cbb4;text-align:center;text-shadow:0 1px 4px #000;margin:4px 0 0;font-size:12px}.main-menu-link{color:#e8c27a;cursor:pointer;text-shadow:0 1px 4px #000;background:0 0;border:0;padding:6px 12px;font-size:13px;text-decoration:underline}.main-menu-panel{box-sizing:border-box;background:#1c1610e6;border:1px solid #8a6a3c;border-radius:12px;flex-direction:column;gap:12px;width:100%;padding:16px;display:flex;box-shadow:0 10px 30px #000000b3}.main-menu-panel h2{color:#e8c27a;text-align:center;margin:0;font-size:18px}.main-menu-heroes{flex-direction:column;gap:6px;max-height:50vh;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.main-menu-heroes button{text-align:left;color:#f2e5d1;cursor:pointer;background:#2b241b;border:1px solid #5d4a30;border-radius:9px;align-items:center;gap:10px;width:100%;padding:9px 11px;display:flex}.main-menu-heroes button.current{border-color:#d6ad64}.main-menu-heroes button span{flex-direction:column;gap:2px;min-width:0;display:flex}.main-menu-heroes small{color:#b9ab94;font-size:11.5px}.main-menu-field{color:#d9cbb4;flex-direction:column;gap:6px;font-size:13px;display:flex}.main-menu-field input{color:#f2e5d1;background:#1d1813;border:1px solid #6d5636;border-radius:8px;padding:9px 11px;font-size:15px}.main-menu-switch{gap:6px;display:flex}.main-menu-switch button{color:#d9cbb4;cursor:pointer;background:#2b241b;border:1px solid #5d4a30;border-radius:8px;flex:1;padding:8px}.main-menu-switch button.active{color:#ffe2a6;background:#5a4126;border-color:#d6ad64}.main-menu-actions{justify-content:space-between;align-items:center;gap:10px;display:flex}.main-menu-go{color:#ffe9c2;cursor:pointer;background:linear-gradient(#7a5631,#4e361d);border:1px solid #d6ad64;border-radius:9px;padding:9px 18px;font-size:14px;font-weight:600}.main-menu-go:disabled{opacity:.45;cursor:default}.main-menu-points{text-align:center;color:#d9cbb4;margin:0;font-size:13px}.main-menu-points b{color:#ffe2a6;font-size:16px}.main-menu-stats{flex-direction:column;gap:5px;margin:0;padding:0;list-style:none;display:flex}.main-menu-stats li{background:#241e17;border:1px solid #4a3c28;border-radius:8px;padding:6px 8px}.main-menu-stat{justify-content:space-between;align-items:center;gap:8px;display:flex}.main-menu-info{color:#f2e5d1;cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;padding:2px 0;font-size:14px;display:flex}.main-menu-info svg{color:#c9a868;transition:transform .15s}.main-menu-info svg.open{transform:rotate(180deg)}.main-menu-counter{align-items:center;gap:6px;display:flex}.main-menu-counter b{text-align:center;color:#ffe2a6;width:22px;font-size:16px}.main-menu-counter small{color:#b9ab94;width:22px;font-size:12px}.main-menu-counter button{color:#f2e5d1;cursor:pointer;background:#3a2e20;border:1px solid #6d5636;border-radius:7px;place-items:center;width:28px;height:28px;padding:0;display:grid}.main-menu-counter button:disabled{opacity:.35;cursor:default}.main-menu-stat-info{color:#cdbfa8;margin:6px 0 2px;font-size:12px;line-height:1.4}.game nav button.nav-menu{background:0 0;flex:none;padding:0 4px}.nav-menu img{object-fit:contain;filter:drop-shadow(0 2px 4px #0009);width:46px;height:46px;transition:transform .12s;display:block}.nav-menu:hover img{transform:scale(1.06)}.main-menu-hero{align-items:stretch;gap:6px;display:flex}.main-menu-hero>button:first-child{flex:1;min-width:0}.main-menu-delete{color:#c98a7a;cursor:pointer;background:#2b241b;border:1px solid #5d4a30;border-radius:9px;flex-shrink:0;place-items:center;min-width:40px;padding:0 10px;font-size:12px;display:grid}.main-menu-delete.confirm{color:#ffe2d6;background:#6a2419;border-color:#c0574b}.main-menu-back{background:linear-gradient(#4a3a28,#2e2318)}.main-menu-title{text-align:center;letter-spacing:3px;font-size:32px;line-height:1.15}.game>header h1{letter-spacing:1px;white-space:nowrap;font-size:max(18px,min(6vw,26px))}.main-menu{background:#0b0907}.main-menu-frame{background-position:top;background-repeat:no-repeat;background-size:cover;width:min(100%,480px);min-height:100%;position:relative}.main-menu-frame .main-menu-shade{position:absolute}.main-menu-body{width:100%;margin:0 auto}.game nav{background:#2a1a0e url(/assets/ui/nav-plank.webp) 50%/100% 100% no-repeat;border-top:0;box-shadow:0 -4px 12px #0000008c}.game nav button{color:#f3dfbd;text-shadow:0 1px 3px #000000f2}.game nav button.active{color:#ffd890;background:#00000059}.game nav button.nav-menu,.game nav button.nav-menu.active{background:0 0}.game{background:linear-gradient(#0c090673,#0c090673),#1a120b url(/assets/ui/chat-bg.webp) top/100% repeat-y}.status-line{flex-wrap:wrap;row-gap:6px}.status-line .status-stack{flex:55%}.ref-beast .ref-thumb{object-position:50% 18%}.ref-thumb-round{object-fit:cover;object-position:50% 12%}.game nav .nav-icon{object-fit:contain;filter:drop-shadow(0 1px 2px #000c);flex-shrink:0;width:30px;height:30px}.game nav button.active .nav-icon{filter:drop-shadow(0 0 5px #ffc86e8c);transform:scale(1.08)}.game nav{background-image:linear-gradient(#0a060359,#0a060359),url(/assets/ui/nav-plank.webp)}.game nav .nav-icon{box-sizing:border-box;filter:drop-shadow(0 0 1px #000000e6);background:radial-gradient(circle at 50% 40%,#2c2016 0%,#120c07 75%);border-radius:50%;width:34px;height:34px;padding:4px;box-shadow:0 0 0 1.5px #8a6a3c,0 2px 5px #000c,inset 0 1px 3px #000000e6}.game nav button.active .nav-icon{transform:none;box-shadow:0 0 0 2px #e2b76d,0 0 8px #ffc86e99,inset 0 1px 3px #000000e6}.game nav .nav-icon{width:38px;height:38px;box-shadow:none;filter:drop-shadow(0 2px 3px #000000d9);background:0 0;border-radius:0;padding:0}.game nav button.active .nav-icon{box-shadow:none;filter:drop-shadow(0 0 6px #ffcd78bf);transform:scale(1.1)}.main-menu-title{width:100%;margin:-28px 0 auto;padding-top:0;font-size:0;line-height:0}.main-menu-sign{filter:drop-shadow(0 6px 14px #000000bf);pointer-events:none;-webkit-user-select:none;user-select:none;width:100%;max-width:440px;height:auto;margin:0 auto;display:block}.world-map,.world-map *,.atlas-map,.atlas-map *{-webkit-tap-highlight-color:transparent}.map-node,.map-node:focus,.atlas-town,.atlas-town:focus,.atlas-map:focus,.world-map:focus{outline:none}.map-node:focus-visible{outline:none}.atlas-town:focus-visible{outline:none}.main-menu-heroes .main-menu-delete{flex:none;gap:0;width:auto}.main-menu-hero>button:first-child span{flex:1;overflow:hidden}.main-menu-hero>button:first-child b,.main-menu-hero>button:first-child small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.main-menu-hero>button:first-child svg{flex-shrink:0}.main-menu-sign{width:auto;max-width:100%;max-height:32vh}.combat-duo{grid-template-columns:1fr;gap:4px}.combat-duo .combat-card{padding:4px 8px 4px 4px}.combat-duo .combatant{align-items:center;gap:8px;display:flex}.combat-duo .combatant-portrait{border-radius:6px;width:34px;height:34px}.combat-duo .combatant-info{flex:1;gap:1px;min-width:0}.combat-duo .combat-card-title{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:12px;display:block;overflow:hidden}.combat-duo .combat-card-title svg{vertical-align:-2px;margin-left:3px}.combat-duo .combatant-stats{white-space:nowrap;margin:0;font-size:10.5px}.combat-duo .status-chips{flex-wrap:wrap;gap:3px;display:flex}.combat-duo .combatant-side{flex-direction:column;flex:0 0 108px;gap:2px;display:flex}.combat-duo .combatant .hero-health{height:20px}.combat-duo .spells-known{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:9.5px;overflow:hidden}.combat-duo .enemy-trait{margin-left:4px}@media (max-width:380px){.combat-duo{grid-template-columns:1fr}.combat-duo .combatant-side{flex-basis:92px}}.turn-bar{justify-content:space-between;gap:8px}.turn-bar .turn-status-text{text-align:center;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:12px;overflow:hidden}.turn-bar .end-turn{margin-left:0}.turn-bar .flee-button{border-radius:8px;padding:6px 10px;font-size:12px}.chat-journal{color:#e1d3f5;text-align:center;background:#2a2433;border:1px solid #9c7fc4;border-radius:12px}.quest-log h3{align-items:center;gap:6px;display:flex}.quest-empty{color:#aaa59c;margin:0;font-size:13px}.quest-log ul{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.quest-item>button{text-align:left;color:#f0e2c6;cursor:pointer;background:#2b2d33;border:1px solid #45433f;border-radius:9px;align-items:center;gap:8px;width:100%;padding:8px 10px;font-size:14px;display:flex}.quest-item>button span{flex:1;min-width:0}.quest-item>button small{color:#c9a868;font-size:11px}.quest-item.done>button{opacity:.7}.quest-item.done>button small{color:#8aa58f}.quest-item.legend>button{border-color:#8a6a3a}.quest-item>button svg{color:#c9a868;transition:transform .15s}.quest-item>button svg.open{transform:rotate(180deg)}.quest-body{color:#d6cbb8;padding:8px 10px 4px;font-size:13px}.quest-body p{margin:0 0 6px}.quest-entries{gap:4px!important;margin-bottom:6px!important}.quest-entries li{color:#cdbfa8;padding-left:14px;font-size:12.5px;position:relative}.quest-entries li:before{content:"•";color:#c9a868;position:absolute;left:2px}.quest-outcome{color:#bfe0c6;font-style:italic}.ref-tabs{background:#514c45;flex-wrap:wrap;gap:1px}.ref-tabs button{flex:auto;min-width:max-content;padding:8px 10px}.ref-card.ref-beast{grid-template-columns:58px minmax(0,1fr)}.ref-beast .ref-thumb{object-fit:cover;object-position:50% 4%;border-radius:6px;width:58px;height:70px}.ref-beast .ref-thumb.ref-thumb-round{object-position:50% 12%;border-radius:50%;width:58px;height:58px}.game{padding-top:max(8px, env(safe-area-inset-top))}.explore-overlay{z-index:60;background:#080705bd;place-items:center;animation:.35s ease-out explore-in;display:grid;position:fixed;top:0;bottom:0;left:0;right:0}@keyframes explore-in{0%{opacity:0}}.explore-box{color:#e6dccb;text-align:center;flex-direction:column;align-items:center;gap:8px;padding:16px;animation:.5s cubic-bezier(.2,.9,.3,1.2) explore-rise;display:flex}@keyframes explore-rise{0%{opacity:0;transform:translateY(40px)scale(.7)}}.explore-radar{aspect-ratio:1262/1230;filter:drop-shadow(0 10px 24px #000c);width:min(72vw,300px);position:relative}.explore-radar img{width:100%;height:100%;display:block}.explore-sweep{pointer-events:none;mix-blend-mode:screen;background:conic-gradient(#ffc4469e 0deg,#ffaa2847 22deg,#ffa01e14 55deg,#0000 80deg 360deg);border-radius:50%;width:62.12%;height:63.74%;animation:3.2s linear infinite explore-sweep;position:absolute;top:17.15%;left:18.94%}@keyframes explore-sweep{0%{transform:rotate(0)}to{transform:rotate(-360deg)}}.explore-title{letter-spacing:3px;text-transform:uppercase;color:#ffd36b;text-shadow:0 2px 8px #000;font-size:20px;animation:1.6s ease-in-out infinite explore-pulse}@keyframes explore-pulse{50%{opacity:.55}}.explore-bar{background:#2e2a24;border:1px solid #6b5536;border-radius:4px;width:min(60vw,240px);height:6px;overflow:hidden}.explore-bar span{background:linear-gradient(90deg,#a5782f,#ffd36b);height:100%;transition:width .25s linear;display:block}.explore-box small{color:#cfc4b2;font-size:12px}.explore-cancel{color:#f0dfc0;cursor:pointer;background:#393327;border:1px solid #685536;border-radius:8px;margin-top:4px;padding:6px 14px;font-size:12px}@media (prefers-reduced-motion:reduce){.explore-sweep,.explore-title,.explore-box,.explore-overlay{animation:none}}.plank-row{flex-shrink:0;justify-content:center;align-items:center;gap:4px;margin:2px 0 6px;display:flex}.plank-button{cursor:pointer;filter:drop-shadow(0 3px 5px #000000a6);background:0 0;border:0;flex:0 auto;min-width:0;padding:0;transition:transform .12s,filter .2s}.plank-button img{object-fit:contain;width:auto;max-width:100%;height:38px;display:block}.plank-row .plank-button:only-child img{height:46px}.plank-button:hover:not(:disabled){filter:drop-shadow(0 3px 8px #e8a05066);transform:translateY(-1px)}.plank-button:active:not(:disabled){transform:translateY(1px)scale(.98)}.plank-button:disabled{cursor:default}.plank-button.dim{filter:brightness(.35)grayscale(.6)drop-shadow(0 3px 5px #000000a6)}@media (max-width:400px){.plank-button img{height:32px}}.chat-log{padding-bottom:12px;scroll-padding-bottom:12px}.book-buttons{flex-direction:column;gap:8px;margin-bottom:14px;display:flex}.book-buttons .reference-button{margin-bottom:0}.book-button-icon{object-fit:contain;filter:drop-shadow(0 3px 5px #0009);flex-shrink:0;width:56px;height:56px}.quests-screen{flex-direction:column;gap:10px;display:flex}.quests-head{align-items:center;gap:10px;display:flex}.quests-head h2{color:#e2b76d;flex:1;margin:0}.quests-back{color:#f0dfc0;cursor:pointer;background:#393327;border:1px solid #685536;border-radius:8px;padding:7px 14px}.quests-screen .quest-log h3{display:none}.status-line .plank-button img,.plank-inline img{height:30px}.chat-log .chat-status{color:#4a3220;text-shadow:none}.status-line{background:linear-gradient(#0a060359,#0a060359),#2a1a0e url(/assets/ui/nav-plank.webp) 50%/100% 100% no-repeat;border:0;border-radius:6px;box-shadow:0 3px 10px #0000008c}.status-line .status-text{color:#f6e3bf;text-shadow:0 1px 3px #000000e6;font-weight:600}.game .adventure-panel{background:#d9b98c url(/assets/ui/panel-bark.webp) 50%/100% 100% no-repeat;border-color:#8a6a3a}.chat-log{background:0 0;border-radius:0;padding:2px 2px 14px}.adventure-panel .chat-status,.chat-log .chat-status{color:#3e2a18;text-shadow:none;font-weight:600}.chat-log{scrollbar-width:none;-ms-overflow-style:none}.chat-log::-webkit-scrollbar{width:0;height:0;display:none}.chat-input{align-items:center}.chat-input textarea{height:46px;min-height:46px;max-height:46px;padding:11px 12px;line-height:1.4;overflow-y:auto}.chat-input button.chat-mic,.chat-input button.chat-send{filter:drop-shadow(0 2px 4px #0009);background:0 0;border:0;border-radius:8px;width:46px;height:46px;padding:0;transition:transform .12s,filter .2s}.chat-input button img{object-fit:contain;width:100%;height:100%;display:block}.chat-input button.chat-mic:active,.chat-input button.chat-send:active:not(:disabled){transform:scale(.94)}.chat-input button.chat-send:disabled{opacity:.55}.chat-input .chat-mic.listening{background:0 0;animation:1s ease-in-out infinite alternate mic-glow}@keyframes mic-glow{0%{filter:drop-shadow(0 0 2px #ff5a3c99)}to{filter:drop-shadow(0 0 10px #ff5a3cf2)}}.scene-image{background:0 0;border:0;border-radius:0;overflow:visible}.scene-image>img,.scene-image-empty{border-radius:4px;width:calc(100% - 10px);height:calc(100% - 10px);position:absolute;top:5px;bottom:5px;left:5px;right:5px}.scene-image:after{content:"";pointer-events:none;z-index:2;border-style:solid;border-width:18px 17px 19px 18px;border-image:url(/assets/ui/scene-frame.webp) 72 70 77 74/18px 17px 19px 18px;position:absolute;top:0;bottom:0;left:0;right:0}.scene-portrait{z-index:1;top:16px;bottom:17px;left:16px}@media (max-height:700px){.scene-image:after{border-width:13px;border-image-width:13px 12px 14px 13px}.scene-portrait{top:12px;bottom:12px;left:12px}}.keyboard-open .scene-image{display:none}.sign-button{cursor:pointer;filter:drop-shadow(0 4px 6px #000000a6);background:0 0;border:0;flex:none;width:150px;padding:0;transition:transform .12s,opacity .2s}.sign-button img{width:100%;height:auto;display:block}.sign-button:active:not(:disabled){transform:scale(.95)}.sign-button:disabled{opacity:.45;cursor:default}.quests-back.sign-button,.reference-back.sign-button{background:0 0;border:0;width:112px;margin:0;padding:0}.main-menu-actions:has(>.sign-button:only-child){justify-content:flex-start}.main-menu-panel{background:#d9b98c url(/assets/ui/panel-bark.webp) 50%/100% 100% no-repeat;border-color:#8a6a3a}.main-menu-panel h2{color:#4a2f17;text-shadow:none}.main-menu-panel .main-menu-points,.main-menu-panel .main-menu-hint{color:#3e2a18;text-shadow:none}.main-menu-panel .main-menu-points b{color:#7a2e12}.main-menu-sign{margin:0;line-height:0}.main-menu-sign img{filter:drop-shadow(0 4px 8px #0000008c);width:min(100%,340px);height:auto;margin:0 auto;display:block}.main-menu-signs{gap:10px}.main-menu-signs button,.main-menu-signs button.active{filter:grayscale(.6)brightness(.7)drop-shadow(0 3px 5px #00000080);background:0 0;border:0;border-radius:0;padding:0;transition:filter .2s,transform .12s}.main-menu-signs button.active{filter:drop-shadow(0 0 8px #ffc86ee6)drop-shadow(0 3px 5px #00000080);transform:scale(1.03)}.main-menu-signs img{width:100%;height:auto;display:block}.fill-icon{aspect-ratio:1;width:180px;position:relative}.fill-icon img{filter:drop-shadow(0 6px 12px #000000b3);width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;right:0}.fill-disk{background:radial-gradient(circle at 50% 40%,#241a14,#120d0a);border-radius:50%;width:70%;height:70%;position:absolute;top:15%;left:15%;overflow:hidden}.fill-level{height:0;transition:height .25s linear;position:absolute;bottom:0;left:0;right:0;box-shadow:inset 0 8px 10px -8px #fff0dc59}.fill-level.animated{animation:2.6s ease-in-out forwards fill-rise}@keyframes fill-rise{0%{height:0}to{height:100%}}.fill-heal .fill-level{background:linear-gradient(#8e3a31,#5e1f1a)}.fill-sleep .fill-level{background:linear-gradient(#4d6c86,#263a4d)}.fill-night .fill-level{background:linear-gradient(#93606f,#5a3443)}@media (prefers-reduced-motion:reduce){.fill-level.animated{animation-duration:10ms}}.rest-overlay{z-index:60;cursor:pointer;background:#08090bb8;place-items:center;animation:.3s ease-out rest-in;display:grid;position:fixed;top:0;bottom:0;left:0;right:0}@keyframes rest-in{0%{opacity:0}to{opacity:1}}.rest-box{color:#e6dccb;text-align:center;flex-direction:column;align-items:center;gap:10px;display:flex}.rest-box p{color:#cfc4b2;margin:0;font-size:14px}.rest-healed{color:#e8c27a;font-size:18px;animation:.4s ease-out 2.4s both rest-in}.healing-box .fill-icon{width:150px}.healing-box .healing-time{width:auto;height:auto;position:static}.world-map .map-road.faint .map-trail-edge{stroke-width:1.6px;opacity:.55}.world-map .map-road.faint .map-trail-bed{stroke-width:.8px;opacity:.7;stroke-dasharray:1.6 1.4}.game.game-chat{height:var(--app-height,100svh)}.keyboard-open .game nav{display:none}.keyboard-open .game.game-chat{padding-bottom:6px}.trade-card-row{cursor:pointer}.trade-card-row:hover{background:#e8c27a0f}.trade-card-overlay{z-index:70;background:#08090bb3;place-items:center;padding:16px;display:grid;position:fixed;top:0;bottom:0;left:0;right:0}.trade-card{box-sizing:border-box;text-align:center;color:#3e2a18;background:#d9b98c url(/assets/ui/panel-bark.webp) 50%/100% 100% no-repeat;border:1px solid #8a6a3a;border-radius:12px;flex-direction:column;align-items:center;gap:8px;width:min(100%,340px);max-height:85vh;padding:18px 16px 16px;display:flex;position:relative;overflow-y:auto;box-shadow:0 12px 30px #000000b3}.trade-card .trade-close{color:#3e2a18;position:absolute;top:8px;right:8px}.trade-card-image{object-fit:contain;filter:drop-shadow(0 4px 8px #00000073);width:140px;height:140px}.trade-card h3{color:#4a2f17;margin:0;font-size:18px}.trade-card-about{margin:0;font-size:13.5px;font-style:italic;line-height:1.45}.trade-card-effects{flex-direction:column;gap:3px;margin:0;padding:0;font-size:13px;font-weight:600;list-style:none;display:flex}.trade-card-effect{margin:0;font-size:13px;font-weight:600}.trade-card-meta{color:#5a4128;margin:2px 0 0;font-size:12.5px}.quest-goals{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.quest-goals .road-go{font-size:12.5px}.howto-overlay{z-index:120;background:#080604c7;place-items:center;padding:16px;display:grid;position:fixed;top:0;bottom:0;left:0;right:0}.howto-card{box-sizing:border-box;text-align:center;color:#3e2a18;background:#d9b98c url(/assets/ui/panel-bark.webp) 50%/100% 100% no-repeat;border:1px solid #8a6a3a;border-radius:12px;flex-direction:column;align-items:center;gap:10px;width:min(100%,380px);padding:34px 20px 18px;animation:.25s ease-out rest-in;display:flex;position:relative;box-shadow:0 14px 34px #000000bf}.howto-card h2{color:#4a2f17;margin:0;font-size:20px}.howto-card p{min-height:110px;margin:0;font-size:14.5px;line-height:1.5}.howto-icon{color:#6b3f1c}.howto-skip{color:#5a3a1c;cursor:pointer;background:0 0;border:0;padding:4px 8px;font-size:13px;text-decoration:underline;position:absolute;top:8px;right:10px}.howto-dots{gap:6px;display:flex}.howto-dots span{background:#4a2f174d;border-radius:50%;width:8px;height:8px}.howto-actions{justify-content:space-between;align-items:center;gap:10px;width:100%;display:flex}.howto-start{color:#ffe9c2;cursor:pointer;background:linear-gradient(#7a5631,#4e361d);border:1px solid #6b4a24;border-radius:9px;padding:10px 22px;font-size:15px;font-weight:700}.hint-toast{z-index:125;box-sizing:border-box;color:#3e2a18;background:#e2c79c url(/assets/ui/panel-bark.webp) 50%/100% 100% no-repeat;border:1px solid #8a6a3a;border-radius:10px;grid-template-columns:auto 1fr;gap:6px 10px;width:min(100% - 24px,440px);padding:12px 14px;animation:.3s ease-out rest-in;display:grid;position:fixed;bottom:96px;left:50%;transform:translate(-50%);box-shadow:0 8px 22px #000000a6}.hint-toast p{margin:0;font-size:13.5px;line-height:1.45}.hint-icon{color:#8a5a1c;margin-top:2px}.hint-actions{grid-column:1/-1;justify-content:space-between;align-items:center;gap:8px;display:flex}.hint-actions button{color:#ffe9c2;cursor:pointer;background:#6b4a2a;border:1px solid #6b4a24;border-radius:8px;padding:6px 14px;font-size:13px}.hint-actions .hint-off{color:#5a3a1c;background:0 0;border:0;padding:4px 0;font-size:12px;text-decoration:underline}.keyboard-open .hint-toast{display:none}.howto-image{object-fit:contain;filter:drop-shadow(0 5px 8px #00000080);width:128px;height:128px}.howto-card,.hint-toast{box-shadow:none;filter:drop-shadow(0 12px 22px #000000bf);color:#23150a;background:url(/assets/ui/chat-bark.webp) 50%/100% 100% no-repeat;border:0;border-radius:0}.howto-card{gap:8px;padding:30px 30px 26px}.howto-card h2{color:#3a2210;font-size:22px;font-weight:800}.howto-card p{color:#23150a;font-size:15.5px;font-weight:600;line-height:1.5}.howto-dots span{background:#3a221059}.howto-dots span.active{background:#3a2210}.howto-skip.sign-button{align-self:flex-end;width:120px;margin:-8px -6px 0 0;padding:0;text-decoration:none;position:static}.hint-toast{padding:18px 22px 16px}.hint-toast p{color:#23150a;font-size:14.5px;font-weight:600;line-height:1.45}.hint-icon{color:#5a3310}.hint-actions{flex-wrap:wrap;justify-content:center}.hint-actions .sign-button{background:0 0;border:0;padding:0}.hint-actions .hint-ok{width:130px}.bark-plate{box-sizing:border-box;color:#eadcc3;background:#272119ed;border:1px solid #685536;border-radius:10px;width:100%;padding:10px 13px;box-shadow:0 3px 10px #00000059}.howto-card .bark-plate{flex-direction:column;gap:8px;display:flex}.howto-card .bark-plate h2,.trade-card .bark-plate h3{color:#e8c27a}.howto-card .bark-plate p,.hint-toast p.bark-plate,.trade-card .bark-plate p,.trade-card .bark-plate li{color:#eadcc3;font-weight:500}.howto-card .bark-plate p{min-height:0}.trade-card .bark-plate{flex-direction:column;gap:6px;display:flex}.trade-card-meta{color:#c9b89a}.trade-card .trade-close{color:#3e2a18}.hint-toast p.bark-plate{margin:0}.menu-plank.menu-plank-small{max-width:190px}.status-actions{flex-wrap:wrap;flex:1 0 100%;align-items:center;gap:8px;display:flex}.status-actions:empty{display:none}.loot-sheet{box-sizing:border-box;filter:drop-shadow(0 12px 22px #000000bf);background:url(/assets/ui/chat-bark.webp) 50%/100% 100% no-repeat;flex-direction:column;gap:8px;width:min(100%,400px);max-height:88vh;padding:26px 22px 20px;display:flex;position:relative;overflow-y:auto}.loot-sheet .trade-close{color:#3e2a18;position:absolute;top:8px;right:10px}.loot-head h3{color:#e8c27a;margin:0 0 4px;font-size:17px}.loot-head p{margin:0;font-size:13px;line-height:1.45}.loot-error{color:#ffb4a0}.loot-list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.loot-item{cursor:pointer;grid-template-columns:40px 1fr auto auto;align-items:center;gap:10px;padding:6px 10px;display:grid}.loot-item img,.loot-empty{object-fit:contain;width:40px;height:40px}.loot-item.on{border-color:#e8c27a;box-shadow:inset 0 0 0 1px #e8c27a}.loot-item.locked{opacity:.55;cursor:default}.loot-name{flex-direction:column;font-size:14px;display:flex}.loot-name small{color:#c9b89a;font-size:11.5px}.loot-chance{color:#e8c27a;font-size:14px}.loot-actions{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.main-menu-title{margin-bottom:0}.main-menu-version{letter-spacing:2px;color:#e8c27a;text-shadow:0 1px 4px #000,0 0 8px #000000e6;opacity:.9;align-self:center;margin:6px 0 auto;font-size:12px;font-weight:700}.calm-sign-overlay{z-index:200;cursor:pointer;background:#080604d1;place-items:center;padding:16px;display:grid;position:fixed;top:0;bottom:0;left:0;right:0}.calm-sign-overlay img{filter:drop-shadow(0 12px 24px #000000b3);width:min(100%,560px);height:auto;animation:.7s cubic-bezier(.2,1.4,.4,1) both calm-sign-drop}@keyframes calm-sign-drop{0%{transform:translateY(-60vh)rotate(-8deg)}70%{transform:rotate(3deg)}to{transform:none}}.sign-button.loot-sign{width:104px}.sign-button.loot-steal{width:150px}.loot-total{color:#e8c27a;padding:4px 10px;font-size:13px}.loot-actions{align-items:center}.crafts-tabs .road-go.active{background:#7a5a2e;border-color:#f0c77a}.crafts-row{flex-direction:column;align-items:flex-start;gap:3px;display:flex}.crafts-row b{color:#e8c27a;font-size:14px}.crafts-row p{color:#eadcc3;margin:0;font-size:12.5px;line-height:1.4}.crafts-row .road-go{align-self:flex-end;margin-top:4px;font-size:12.5px}.crafts-why{font-style:italic;color:#d9a48a!important}.crafts-fame{color:#e8c27a;margin-top:4px!important}.board-section h4{color:#e8c27a;margin:0 0 4px;font-size:14.5px}.board-section ul,.board-section ol{color:#eadcc3;margin:0;padding-left:18px;font-size:13px;line-height:1.45}.board-section p{color:#eadcc3;margin:0;font-size:13px}.board-section b{color:#f0d9a8}.board-input{box-sizing:border-box;resize:vertical;color:#f2e5d1;width:100%;font:inherit;background:#140e0899;border:1px solid #8a6a3a;border-radius:7px;margin:6px 0;padding:6px 8px;font-size:13px}.board-section .road-go{margin-left:auto}.main-menu-avatars{grid-template-columns:repeat(5,1fr);gap:6px;width:100%;display:grid}.main-menu-avatars button{cursor:pointer;opacity:.78;background:0 0;border:2px solid #0000;border-radius:6px;padding:0;transition:transform .12s,opacity .12s,border-color .12s}.main-menu-avatars button img{border-radius:4px;width:100%;height:auto;display:block}.main-menu-avatars button.active{opacity:1;border-color:#f0c77a;transform:scale(1.05);box-shadow:0 0 12px #f0c77a8c}.main-menu-hero-avatar{object-fit:cover;border-radius:4px;flex-shrink:0;width:34px;height:40px}.hero-avatar{object-fit:cover;border-radius:6px;flex-shrink:0;width:76px;height:94px;box-shadow:0 4px 10px #00000080}@media (max-width:360px){.hero-avatar{width:58px;height:82px}}.combatant-portrait img.combat-avatar{object-position:center 35%}.sign-button.crafts-sign{width:104px}.fill-work .fill-disk,.fill-study .fill-disk,.fill-craft .fill-disk{z-index:1;mix-blend-mode:hard-light;opacity:.45;pointer-events:none;background:0 0}.fill-work .fill-level{background:linear-gradient(#d9a845,#a87425)}.fill-study .fill-level{background:linear-gradient(#5fa86a,#2f6e3c)}.fill-craft .fill-level{background:linear-gradient(#d9683a,#9a3d1a)}.rest-result{flex-wrap:wrap;justify-content:center;gap:6px;max-width:300px;margin:0;padding:0;list-style:none;animation:.4s ease-out both rest-in;display:flex}.rest-result li{color:#e8c27a;background:#e8c27a24;border:1px solid #e8c27a73;border-radius:999px;padding:3px 10px;font-size:14px;font-weight:600}.sign-btn.sign-btn.sign-btn{all:unset;box-sizing:border-box;cursor:pointer;-webkit-tap-highlight-color:transparent;flex:none;width:150px;line-height:0;transition:transform 80ms,filter .12s;display:inline-block;position:relative}.sign-btn.sign-btn.sign-btn img{pointer-events:none;filter:drop-shadow(0 3px 5px #0000008c);width:100%;height:auto;display:block}.sign-btn.sign-btn.sign-btn:hover:not(:disabled){filter:brightness(1.12)}.sign-btn.sign-btn.sign-btn:active:not(:disabled){transform:scale(.96)}.sign-btn.sign-btn.sign-btn:focus-visible{outline-offset:2px;border-radius:6px;outline:2px solid #f0c77a}.sign-btn.sign-btn.sign-btn:disabled{cursor:default;opacity:.5;filter:grayscale(.6)}.sign-extra{color:#f0d9a8;white-space:nowrap;pointer-events:none;background:#2a1d12;border:1px solid #c9a15c;border-radius:999px;padding:0 6px;font-family:inherit;font-size:10px;font-weight:600;line-height:1.45;position:absolute;bottom:-7px;right:1%;box-shadow:0 2px 4px #00000080}.combat-sign .sign-extra,.map-go-sign .sign-extra,.item-sign .sign-extra,.dialog-sign .sign-extra{width:max-content;max-width:100%;box-shadow:none;color:#cdbb98;white-space:normal;text-align:center;background:0 0;border:0;margin:3px auto 0;font-size:11px;font-weight:500;display:block;position:static}.sign-btn.sign-btn.combat-sign{width:100%;margin-bottom:6px}.sign-btn.sign-btn.turn-sign{width:132px}.sign-btn.sign-btn.yesno-sign{width:62px}.check-actions .sign-btn.sign-btn.dialog-sign{flex:1 1 0;width:auto;max-width:220px}.offer-actions .sign-btn.sign-btn.dialog-sign{width:100%;margin-bottom:4px}.sign-btn.sign-btn.map-go-sign{width:100%;max-width:360px;margin:10px auto 6px;display:block}.sign-btn.sign-btn.map-sign{vertical-align:middle;width:118px;margin-left:6px}.sign-btn.sign-btn.trade-sign{width:118px}.sign-btn.sign-btn.trade-tab-sign{opacity:.6;width:140px}.sign-btn.sign-btn.trade-tab-sign.active{opacity:1;filter:brightness(1.1)drop-shadow(0 0 6px #f0c77a80)}.sign-btn.sign-btn.row-sign{width:130px}.sign-btn.sign-btn.board-pin{margin-left:auto;display:block}.sign-btn.sign-btn.item-sign{width:100%;max-width:260px;margin:6px auto;display:block}.sign-btn.sign-btn.main-menu-start{width:170px}.sign-btn.sign-btn.start-fight-sign{width:130px}.drop-buttons{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.drop-buttons .sign-btn.sign-btn.drop-sign{width:46%;max-width:200px;margin:6px 0}.flee-confirm{gap:6px}.status-actions{justify-content:center;gap:10px 14px}.status-actions .sign-btn.sign-btn.sign-btn{width:168px}.status-actions.big{justify-content:space-evenly;gap:8px}.status-actions.big .sign-button{flex:1 1 0;width:auto;min-width:0;max-width:150px}.status-actions.big .sign-button img{width:100%;height:auto}.loot-actions .sign-btn.sign-btn.row-sign{flex:1 1 0;width:auto;max-width:200px}.crafts-row .sign-btn.sign-btn.row-sign{align-self:center;width:62%;max-width:220px}.close-icon{filter:drop-shadow(0 2px 3px #0009);width:30px;height:30px;display:block}.trade-close:has(.close-icon){background:0 0;border:0;padding:0}.item-details-close:has(.close-icon){background:0 0;border:0;padding:0}.trade-close:has(.close-icon):hover .close-icon{filter:brightness(1.15)drop-shadow(0 2px 3px #0009)}.item-details-close:has(.close-icon):hover .close-icon{filter:brightness(1.15)drop-shadow(0 2px 3px #0009)}.trade-close:has(.close-icon):active .close-icon{transform:scale(.92)}.item-details-close:has(.close-icon):active .close-icon{transform:scale(.92)}.item-details-close .close-icon{width:36px;height:36px}.crafts-tabs{justify-content:space-evenly;gap:6px;display:flex}.crafts-tabs .sign-button.crafts-tab{opacity:.5;filter:grayscale(.4);flex:1 1 0;width:auto;min-width:0;max-width:130px;transition:opacity .15s,filter .15s,transform .1s}.crafts-tabs .sign-button.crafts-tab img{width:100%;height:auto}.crafts-tabs .sign-button.crafts-tab.active{opacity:1;filter:drop-shadow(0 0 6px #f0c77a8c)}.sign-btn.sign-btn.sign-btn.board-pin{width:min(230px,75%);margin:10px auto 2px;display:block}.game .map-blocked:has(.map-sign){text-align:center;flex-direction:column}.sign-btn.sign-btn.sign-btn.map-sign{width:min(220px,80%);margin:4px auto 0}.sign-btn.sign-btn.sign-btn.start-fight-sign{width:170px}.sign-btn.sign-btn.sign-btn.main-menu-start{width:190px}.game .character-sheet{background:#d9b98c url(/assets/ui/panel-bark.webp) 50%/100% 100% no-repeat;border:1px solid #8a6a3a;border-radius:10px;padding:14px 12px 20px;box-shadow:0 4px 14px #00000080}.character-sheet>h3,.character-sheet .hero-effects h3{color:#3a2210;text-shadow:0 1px #fff0d259}.character-sheet .skill-group h4{color:#3a2210;font-weight:700}.character-sheet .skills-columns{color:#4a3220;font-weight:600}.hero-name-scroll{aspect-ratio:1068/160;filter:drop-shadow(0 3px 5px #00000073);background:url(/assets/ui/scroll-name.webp) 50%/100% 100% no-repeat;place-items:center;width:100%;max-width:420px;margin:0 auto 6px;display:grid}.game .hero-name-scroll h2{color:#2a170a;text-align:center;overflow-wrap:anywhere;text-shadow:0 1px #fff0d266;margin:0;padding:0 16%;font-size:19px;font-weight:800;line-height:1.1}.game .hero-summary{box-sizing:border-box;filter:drop-shadow(0 4px 8px #0000008c);border-style:solid;border-width:28px 24px;border-image:url(/assets/ui/profile-back.webp) 75 68 fill/28px 24px;align-items:center;gap:12px;min-height:128px;padding:0}.game .hero-summary .hero-avatar{width:84px;height:98px;margin:-10px 0}.hero-summary-top{align-items:center;gap:8px;margin-bottom:6px;display:flex}.hero-level{color:#f0d9a8;background:radial-gradient(circle at 50% 40%,#3a3631,#15130f 70%);border:3px solid #a5743a;border-radius:50%;flex-shrink:0;place-items:center;width:40px;height:40px;font-size:19px;font-weight:800;display:grid;box-shadow:0 0 0 2px #3b2412,inset 0 2px 4px #000000b3,0 3px 6px #0009}.character-sheet .health-caption{color:#2a170a;background:linear-gradient(#e7cfa0,#c9a66f);border:1px solid #6b4a24;border-radius:3px;padding:2px 12px;font-size:13px;font-weight:800;display:inline-block;box-shadow:0 2px 4px #00000080}.hero-health{--hp-h:30px;height:var(--hp-h);background:0 0;border:0;border-radius:0;overflow:visible}.hero-health:after{content:"";pointer-events:none;z-index:2;border-style:solid;border-width:0 calc(var(--hp-h) * .69);border-image:url(/assets/ui/frame-hp.webp) 0 112 0 112 fill / 0 calc(var(--hp-h) * .69) stretch;position:absolute;top:0;bottom:0;left:0;right:0}.hero-health-track{z-index:1;top:21%;bottom:21%;left:calc(var(--hp-h) * .5);right:calc(var(--hp-h) * .5);background:#1a1410;border-radius:2px;position:absolute;overflow:hidden}.hero-health .hero-health-fill{background:linear-gradient(#5c7d4a,#3f5c36);top:0;bottom:0;left:0;right:auto}.health-low .hero-health-fill{background:linear-gradient(#a07a35,#6e5220)}.health-critical .hero-health-fill{background:linear-gradient(#a14a43,#6e2a26)}.hero-health>span{z-index:3;text-shadow:0 1px 2px #000000e6;position:relative}.character-sheet .hero-health{--hp-h:34px}.character-sheet .hero-health>span{font-size:13.5px}.combatant .hero-health{--hp-h:22px;height:var(--hp-h)}.combat-duo .combatant .hero-health{--hp-h:20px;height:var(--hp-h)}.combat-duo .combatant .hero-health span{font-size:10.5px}.character-sheet .hero-effects li{color:#2a170a;filter:drop-shadow(0 2px 3px #0006);background:url(/assets/ui/scroll-effect.webp) 50%/100% 100% no-repeat;border:0;border-radius:0;align-items:center;min-height:40px;padding:6px 16px 6px 13%;font-size:12.5px}.character-sheet .hero-effects li b,.character-sheet .hero-effects li.effect-buff b{color:#2f4a1f;font-weight:800}.character-sheet .hero-effects li.effect-set b{color:#6b4210}.character-sheet .hero-effects li.effect-debuff b{color:#7a2016}.character-sheet .hero-effects li small{color:#4a3220;font-weight:600}.game.game-chat>main>.character-sheet{overscroll-behavior:contain;scrollbar-width:none;background-size:100% 100%;background-attachment:scroll;flex:1;min-height:0;overflow-y:auto}.game.game-chat>main>.character-sheet::-webkit-scrollbar{display:none}.character-sheet .sheet-head{text-align:center;margin:18px 0 10px;line-height:0}.character-sheet .sheet-head img{filter:drop-shadow(0 3px 5px #00000080);width:min(240px,66%);height:auto}.character-sheet .sheet-subhead{text-align:center;margin:0 0 8px;line-height:0}.character-sheet .sheet-subhead img{filter:drop-shadow(0 3px 5px #00000073);width:min(280px,78%);height:auto}.game .hero-summary{border-width:30px 26px;border-image:url(/assets/ui/profile-back.webp) 75 68 fill/30px 26px;gap:12px;min-height:0;padding:6px 8px}.game .hero-summary .hero-avatar{flex-shrink:0;width:78px;height:92px;margin:0}.hero-summary .hero-name-scroll{width:100%;max-width:none;margin:0 0 8px}.game .hero-summary .hero-name-scroll h2{padding:0 18%;font-size:17px}.character-sheet .hero-effects li{padding-right:15%}.game .hero-summary .hero-name-scroll h2{white-space:nowrap;text-overflow:ellipsis;box-sizing:border-box;max-width:100%;padding:0 17%;font-size:15px;overflow:hidden}.character-sheet .sheet-head img{width:min(210px,58%)}.character-sheet .sheet-subhead{text-align:left;margin:0 0 6px 2px}.character-sheet .sheet-subhead img{width:min(180px,50%)}.character-sheet .skills-columns{z-index:1;grid-template-columns:minmax(0,1fr) 58px 60px;gap:0;margin-bottom:-1px;padding:0;position:relative}.character-sheet .skills-columns span{color:#c9bfae;background:#2b2d33;border:1px solid #45433f;border-bottom:0;padding:5px 10px 4px;font-size:10.5px;font-weight:600}.character-sheet .skills-columns span:first-child{border-radius:8px 8px 0 0;justify-self:start}.character-sheet .skills-columns span:nth-child(2){border-right:0;border-radius:8px 0 0;padding-right:2px}.character-sheet .skills-columns span:nth-child(3){border-left:0;border-radius:0 8px 0 0;padding-right:10px}.character-sheet .skills-list{border-top-left-radius:0;border-top-right-radius:0}.character-sheet .hero-effects li{color:#1e1006;padding-top:11px;padding-bottom:5px;font-weight:700}.character-sheet .hero-effects li span{font-weight:700}.character-sheet .hero-effects li small{color:#2a170a;font-size:12px;font-weight:800}.game .character-sheet{background:linear-gradient(#3a220e38,#3a220e38),#c9a878 url(/assets/ui/panel-bark.webp) 50%/100% 100% no-repeat}.character-sheet .skills-list{border-top-color:#2b2d33}.character-sheet .skill-sheet,.character-sheet .ability-card{filter:drop-shadow(0 3px 5px #00000059);background:0 0;border:9px solid #0000;border-image:url(/assets/ui/paper-sheet.webp) 36 fill/9px;border-radius:0}.character-sheet .skill-sheet{padding:8px 6px 4px}.character-sheet .skills-columns{border-bottom:1px solid #4a2a1059;grid-template-columns:minmax(0,1fr) 48px 42px;gap:8px;margin:0;padding:0 10px 6px}.character-sheet .skills-columns span{color:#4a2c12;background:0 0;border:0;border-radius:0;padding:0;font-size:10.5px;font-weight:700}.character-sheet .skills-list{background:0 0;border:0;border-radius:0}.character-sheet .skill-row+.skill-row{border-top:1px solid #4a2a1040}.character-sheet .skill-name{color:#2a170a;font-weight:700}.character-sheet .skill-detail,.character-sheet .skill-level small{color:#5a3d22;font-weight:600}.character-sheet .skill-level{color:#2a170a;font-weight:700}.character-sheet .skill-bonus{color:#7a4a10;font-weight:800}.character-sheet .ability-card{padding:8px 2px}.character-sheet .ability-card span{color:#4a2c12;font-weight:700}.character-sheet .ability-card strong{color:#2a170a}.character-sheet .ability-card b{color:#7a4a10;font-weight:800}.character-sheet .ability-progress-label{color:#5a3d22;font-weight:600}.character-sheet .ability-help summary{color:#5a3d22}.character-sheet .ability-help p{color:#2a170a}.game.game-chat>main>.character-sheet,.game.game-chat>main>.inventory-sheet{overscroll-behavior:contain;scrollbar-width:none;background:#4a2e18 url(/assets/ui/panel-wood.webp) top/100% repeat-y local;border:1px solid #2a170a;border-radius:10px;flex:1;min-height:0;padding:14px 12px 20px;overflow-y:auto;box-shadow:0 4px 14px #00000080}.game.game-chat>main>.inventory-sheet::-webkit-scrollbar{display:none}.character-sheet>h3,.character-sheet .hero-effects h3,.inventory-sheet h3{color:#f0d9a8;text-shadow:0 2px 4px #000c}.inventory-sheet .reference-button,.inventory-sheet .equipment-slot,.inventory-sheet .inventory-slot,.inventory-sheet .equipment-summary,.inventory-sheet .burden,.inventory-sheet .armor-set{filter:drop-shadow(0 3px 4px #0006);color:#2a170a;background:0 0;border:7px solid #0000;border-image:url(/assets/ui/paper-sheet.webp) 36 fill/7px;border-radius:0}.inventory-sheet .reference-button{border-width:9px;border-image-width:9px}.inventory-sheet .reference-button strong{color:#3a2210}.inventory-sheet .reference-button small{color:#5a3d22;font-weight:600}.inventory-sheet .equipment-slot span{color:#4a2c12;font-weight:700}.inventory-sheet .equipment-slot small{color:#2a170a;font-weight:700}.inventory-sheet .equipment-slot.selected,.inventory-sheet .inventory-slot.selected{filter:drop-shadow(0 0 3px #f0c060)drop-shadow(0 0 6px #f0c060cc)}.inventory-sheet .inventory-slot:disabled{opacity:.55}.inventory-sheet .item-count{color:#2a170a;font-weight:800;bottom:1px;right:3px}.inventory-sheet .equipment-summary{color:#6b3a08}.inventory-sheet .equipment-summary span{color:#4a2c12;font-weight:700}.inventory-sheet .bag-title p{color:#e8d2a6;text-shadow:0 1px 3px #000c}.inventory-sheet .burden-head{color:#4a2c12;font-weight:600}.inventory-sheet .burden-head strong{color:#2a170a}.inventory-sheet .burden-head em{color:#2f5a1f}.inventory-sheet .burden-heavy .burden-head em{color:#8a5208}.inventory-sheet .burden-overloaded .burden-head em,.inventory-sheet .burden-stuck .burden-head em{color:#8f2a1c}.inventory-sheet .burden-bar{background:#4a2a1033;border-color:#4a2a1080}.inventory-sheet .burden-notes{color:#8f2a1c}.inventory-sheet .armor-set{color:#4a2c12}.inventory-sheet .armor-set strong{color:#2a170a}.inventory-sheet .armor-set small{color:#5a3d22}.inventory-sheet .armor-set.active span,.inventory-sheet .armor-set.active strong{color:#6b3a08}.inventory-sheet .armor-set.active small{color:#2f5a1f}.inventory-sheet .reference-button strong{color:#1e1006;font-size:16px;font-weight:800}.inventory-sheet .reference-button small{color:#3a2210;font-size:12px;font-weight:700}.inventory-sheet .equipment-slot{color:#3a2210}.inventory-sheet .equipment-slot.equipped{color:#5a2c04}.inventory-sheet .equipment-slot span{color:#1e1006;font-size:12.5px;font-weight:800}.inventory-sheet .equipment-slot small{color:#5a2c04;font-size:10.5px;font-weight:800}.inventory-sheet .equipment-summary strong{color:#1e1006;font-weight:800}.inventory-sheet .equipment-summary span{color:#2a170a;font-size:10.5px;font-weight:800}.inventory-sheet .bag-title p{color:#f0d9a8;text-shadow:0 1px 3px #000,0 0 6px #000c;font-size:12px;font-weight:700}.inventory-sheet .inventory-slot{color:#4a2004}.inventory-sheet .item-count{color:#1e1006;text-shadow:0 0 3px #fff0d2e6;font-size:13px}.inventory-sheet .burden-head{color:#2a170a;font-size:12.5px;font-weight:800}.inventory-sheet .burden-head strong{color:#1e1006;font-weight:800}.inventory-sheet .burden-head em{color:#1f4a12;font-weight:800}.inventory-sheet .burden-notes{color:#7a1c10;font-weight:700}.inventory-sheet .armor-set,.inventory-sheet .armor-set strong{color:#1e1006;font-weight:800}.inventory-sheet .armor-set small{color:#3a2210;font-weight:700}.game .item-details{box-shadow:none;filter:drop-shadow(0 -6px 16px #0009);color:#1e1006;scrollbar-width:none;background:0 0;border:14px solid #0000;border-image:url(/assets/ui/paper-sheet.webp) 36 fill/14px;border-radius:0;padding:12px 14px 14px}.game .item-details::-webkit-scrollbar{display:none}.game .item-details h3{color:#3a1c06;font-weight:800}.game .item-details p{color:#1e1006;font-weight:600}.game .item-details strong{color:#1f4a12;font-weight:800}.game .item-details .item-meta span{color:#2a170a;background:#4a2a101f;border-color:#4a2a1073;font-weight:700}.game .item-details .item-effects{background:#4a2a101a;border-color:#4a2a1066}.game .item-details .item-effects ul{color:#1f4a12;font-weight:700}.game .item-details .item-flavor-effects ul{color:#3a2210;font-weight:600}.game .item-details .item-requirement{color:#1f4a12;font-weight:700}.game .item-details .item-requirement.unmet{color:#5a3d22}.game .item-details .item-requirement .need-unmet{color:#8f1c10;font-weight:800}.game .item-details .equipped-label,.game .item-details .eat-note{color:#2a170a;font-weight:700}.game .item-details .item-sign .sign-extra{color:#2a170a;font-size:11.5px;font-weight:800}.main-menu-panel.main-menu-create{background:#4a2e18 url(/assets/ui/panel-wood.webp) top/100% repeat-y;border-color:#2a170a}.main-menu-panel.main-menu-create h2{color:#f0d9a8;text-shadow:0 2px 4px #000000d9;font-weight:800}.main-menu-panel.main-menu-create .main-menu-points,.main-menu-panel.main-menu-create .main-menu-hint{color:#f0d9a8;text-shadow:0 1px 3px #000,0 0 6px #000c;font-size:13px;font-weight:700}.main-menu-panel.main-menu-create .main-menu-points b{color:#ffcf7a;font-size:16px}.main-menu-panel.main-menu-create .main-menu-left{color:#ffcf7a}.main-menu-create .main-menu-stats{gap:7px}.main-menu-create .main-menu-stats li{filter:drop-shadow(0 3px 4px #00000073);background:0 0;border:7px solid #0000;border-image:url(/assets/ui/paper-sheet.webp) 36 fill/7px;border-radius:0;padding:3px 6px}.main-menu-create .main-menu-info{color:#1e1006;font-size:14.5px;font-weight:800}.main-menu-create .main-menu-info svg{color:#6b3a08}.main-menu-create .main-menu-counter b{color:#1e1006;font-size:17px;font-weight:800}.main-menu-create .main-menu-counter small{color:#3a2210;font-weight:800}.main-menu-create .main-menu-counter button{color:#f6e3bf;background:#4a2e18;border-color:#2a170a}.main-menu-create .main-menu-stat-info{color:#2a170a;font-size:12.5px;font-weight:600}.main-menu-panel h2,.trade-card h3,.howto-card h2{color:#2a1406;font-weight:800}.main-menu-panel .main-menu-points,.main-menu-panel .main-menu-hint{color:#1e1006;font-weight:700}.trade-card,.howto-card,.hint-toast{color:#1e1006}.trade-card-about,.howto-card p,.hint-toast p{font-weight:600}.trade-card-meta{color:#3a2210;font-weight:700}.howto-skip,.hint-actions .hint-off{color:#3a1c06;font-weight:700}.adventure-panel .chat-status,.chat-log .chat-status{color:#1e1006;font-weight:700}.main-menu-panel.main-menu-create{box-shadow:none;filter:drop-shadow(0 10px 22px #000000b3);background-origin:padding-box;background-clip:padding-box;border:20px solid #0000;border-width:20px 17px;border-image:url(/assets/ui/frame-create.webp) 88 62 fill/30px 21px;border-radius:0;padding:6px 8px 10px;position:relative}.main-menu-panel.main-menu-create:before,.main-menu-panel.main-menu-create:after{content:"";pointer-events:none;background:50%/100% 100% no-repeat;width:24px;height:48px;position:absolute;top:calc(50% - 24px)}.main-menu-panel.main-menu-create:before{background-image:url(/assets/ui/frame-side-l.webp);left:-17px}.main-menu-panel.main-menu-create:after{background-image:url(/assets/ui/frame-side-r.webp);right:-17px}.main-menu-create .main-menu-head img{width:min(230px,64%)}.game .adventure-panel,.main-menu-panel:not(.main-menu-create),.trade-card{background-image:url(/assets/ui/panel-bark-dark.webp)}.howto-card,.hint-toast,.loot-sheet{background-image:url(/assets/ui/chat-bark-dark.webp)}.loot-sheet{scrollbar-width:none}.loot-sheet::-webkit-scrollbar{display:none}.chat-message.chat-master,.chat-message.chat-npc,.chat-message.chat-player{filter:drop-shadow(0 3px 4px #0006);color:#1e1006;background:0 0;border:8px solid #0000;border-image:url(/assets/ui/paper-sheet.webp) 36 fill/8px;border-radius:0;padding:5px 9px}.chat-message.chat-master p,.chat-message.chat-npc p,.chat-message.chat-player p{margin:0;font-weight:600}.chat-master .chat-author{color:#6b3a08;font-weight:800}.chat-npc .chat-author{color:#1f3f5a;font-weight:800}.chat-player .chat-author{color:#4a2c12;font-weight:800}.chat-master .chat-time,.chat-npc .chat-time,.chat-player .chat-time{color:#5a3d22;font-weight:600}.bark-plate.bark-plate{filter:drop-shadow(0 3px 5px #00000073);color:#1e1006;background:0 0;border:9px solid #0000;border-image:url(/assets/ui/paper-sheet.webp) 36 fill/9px;border-radius:0;padding:6px 10px}.bark-plate.bark-plate h2,.bark-plate.bark-plate h3,.bark-plate.bark-plate h4{color:#3a1c06;font-weight:800}.bark-plate.bark-plate p,.bark-plate.bark-plate li,.bark-plate.bark-plate ul,.bark-plate.bark-plate ol{color:#1e1006;font-weight:600}.bark-plate.bark-plate b{color:#5a2c04;font-weight:800}.hint-toast p.bark-plate.bark-plate{color:#1e1006;font-weight:600}.bark-plate.loot-error{font-weight:800;color:#8f1c10!important}.loot-name small{color:#4a2c12;font-weight:600}.loot-chance,.loot-total{color:#6b3a08;font-weight:800}.loot-item.on{filter:drop-shadow(0 0 3px #f0c060)drop-shadow(0 0 6px #f0c060cc);box-shadow:none}.crafts-row b{color:#3a1c06}.crafts-row p{color:#1e1006}.crafts-why{color:#8f1c10!important}.crafts-fame{color:#6b3a08;font-weight:800}.board-input{color:#1e1006;background:#fff5e18c;border:1px solid #4a2a1080;font-weight:600}.board-input::placeholder{color:#6a4a2a}.main-menu-load .main-menu-heroes{scrollbar-width:none;gap:7px}.main-menu-load .main-menu-heroes::-webkit-scrollbar{display:none}.main-menu-load .main-menu-hero>button:first-child{color:#1e1006;filter:drop-shadow(0 3px 4px #00000073);background:0 0;border:7px solid #0000;border-image:url(/assets/ui/paper-sheet.webp) 36 fill/7px;border-radius:0;padding:4px 8px}.main-menu-load .main-menu-hero>button.current:first-child{filter:drop-shadow(0 0 3px #f0c060)drop-shadow(0 0 6px #f0c060cc)}.main-menu-load .main-menu-hero b{color:#1e1006;font-weight:800}.main-menu-load .main-menu-heroes small{color:#3a2210;font-weight:700}.main-menu-load .main-menu-hero svg{color:#4a2c12}.main-menu-load .main-menu-delete{color:#f6c9b8;background:#4a2e18;border-color:#2a170a}.main-menu-load .main-menu-delete.confirm{color:#ffe2d6;background:#6a2419;border-color:#c0574b}.main-menu-create .main-menu-field input{box-sizing:border-box;aspect-ratio:1068/160;color:#2a170a;text-align:center;filter:drop-shadow(0 3px 5px #00000073);background:url(/assets/ui/scroll-name.webp) 50%/100% 100% no-repeat;border:0;border-radius:0;outline:none;width:100%;height:auto;padding:0 17%;font-size:19px;font-weight:800}.main-menu-create .main-menu-field input::placeholder{color:#6a4a2a;font-weight:700}.main-menu-create .main-menu-field input:focus{filter:drop-shadow(0 0 6px #f0c060b3)drop-shadow(0 3px 5px #00000073)}.main-menu-load .main-menu-delete:not(.confirm){filter:drop-shadow(0 3px 4px #00000080);background:0 0;border:0;width:52px;min-width:0;padding:0}.main-menu-trash{width:48px;height:48px;display:block}.main-menu-load .main-menu-delete:not(.confirm):hover .main-menu-trash{filter:brightness(1.15)}.dice-reason,.turn-bar .turn-status-text{color:#1e1006;text-shadow:0 0 4px #fff0d2b3;font-weight:700}.turn-bar .turn-status-text strong{color:#6b3a08;font-weight:800}.combat-grid .column-title{color:#2a170a;text-shadow:0 0 4px #fff0d2b3;font-weight:800}.flee-confirm{color:#7a1c10;font-weight:800}.combat-card.combatant,.combat-duo .combat-card.combatant{filter:drop-shadow(0 3px 6px #0000008c);background:0 0;border:14px solid #0000;border-width:14px 13px;border-image:url(/assets/ui/profile-back.webp) 75 68 fill/14px 13px;border-radius:0;padding:0 2px}.combatant .combat-card-title,.combat-duo .combatant .combat-card-title{color:#2a170a;text-align:center;text-shadow:0 1px #fff0d266;background:url(/assets/ui/scroll-name.webp) 50%/100% 100% no-repeat;margin:0 0 2px;padding:2px 15% 1px;font-weight:800;display:block}.combatant .combatant-stats{color:#e8d2a6;font-weight:600}.combatant .combatant-stats b{color:#fff0d0;font-weight:800}.combatant .combatant-portrait{background:#1a1008;border:2px solid #a5743a;border-radius:4px;box-shadow:0 0 0 1px #3b2412,0 2px 4px #0009}.combatant .enemy-trait{color:#e8d2a6;border-color:#e8d2a673}.gamble-purses{justify-content:space-between;gap:10px;display:flex;margin:6px 0 0!important}.gamble-purses b{color:#6b3a08;font-size:15px}.gamble-games{grid-template-columns:1fr 1fr;gap:6px 10px;display:grid}.gamble-games .sign-button.gamble-game{opacity:.6;filter:grayscale(.35)drop-shadow(0 3px 4px #00000080);width:100%}.gamble-games .sign-button.gamble-game img{width:100%;height:auto;display:block}.gamble-games .sign-button.gamble-game.active{opacity:1;filter:drop-shadow(0 0 6px #f0c77abf)drop-shadow(0 3px 4px #00000080)}.gamble-table{flex-direction:column;gap:8px;display:flex}.gamble-how{margin:0;font-size:13px;line-height:1.4}.gamble-bet{align-items:center;gap:6px;font-weight:700;display:flex}.gamble-bet>span{margin-right:auto}.gamble-bet b{text-align:center;color:#1e1006;min-width:34px;font-size:18px}.gamble-step{cursor:pointer;filter:drop-shadow(0 2px 3px #00000080);background:0 0;border:0;padding:0;line-height:0}.gamble-step img{width:38px;height:auto}.gamble-step.gamble-all img{width:48px}.gamble-step:disabled{opacity:.45;cursor:default;filter:grayscale(.5)}.gamble-step:active:not(:disabled){transform:scale(.94)}.sign-button.gamble-throw{width:min(240px,80%)}.sign-button.gamble-throw img{width:100%;height:auto;display:block}.sign-button.gamble-throw:disabled{opacity:.5;filter:grayscale(.5)}.gamble-cheat{color:#3a2210;align-items:flex-start;gap:8px;font-size:12px;font-weight:600;display:flex}.gamble-cheat input{accent-color:#7a4a10;margin-top:2px}.gamble-actions{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.gamble-actions .road-go{flex:1 1 0;justify-content:center;max-width:160px;padding:9px 8px;font-size:14px;font-weight:700}.gamble-result p{margin:0;font-size:13px;font-weight:700;line-height:1.4}.gamble-result.gamble-win{box-shadow:inset 0 0 0 2px #2f5a1f8c}.gamble-result.gamble-lose,.gamble-result.gamble-caught{box-shadow:inset 0 0 0 2px #8f1c1073}.trade-close,.item-details-close,.loot-sheet .trade-close{z-index:30}.loot-sheet .trade-close{position:absolute}.gamble-roll{flex-direction:column;align-items:center;gap:6px;display:flex}.gamble-pair{justify-content:space-around;gap:10px;width:100%;display:flex}.gamble-roll .dice-orb{width:80px;height:80px}.combat-grid .combat-sign .sign-extra{color:#1e1006;text-shadow:0 0 4px #fff0d2bf;font-size:11px;font-weight:800}.combatant .combat-card-title .enemy-trait{color:#3a1c06;text-shadow:none;background:#fff0d259;border-color:#3a1c068c;font-weight:800}.combat-duo .combatant .combatant-info{gap:3px}.combat-duo .combatant .hero-health{--hp-h:28px;height:var(--hp-h);width:100%}.combat-duo .combatant .hero-health span,.combatant .hero-health>span{font-size:12.5px;font-weight:700}.combat-duo .combatant-side.combatant-numbers{flex-direction:column;flex:none;justify-content:center;gap:4px;min-width:52px;padding-left:4px;display:flex}.combatant-numbers .combatant-stats{white-space:nowrap;justify-content:space-between;gap:6px;margin:0;font-size:11px;display:flex}.combatant-numbers .combatant-stats b{font-size:13px}.combat-party{color:#e8d2a6;margin:0;font-size:11px;font-weight:700}.combat-grid{align-items:stretch}.combat-grid .action-column{justify-content:flex-start}.combat-grid .orb-column{align-self:center}.sign-btn.sign-btn.potion-sign{width:100%}.potion-badge{box-sizing:border-box;color:#f0d9a8;pointer-events:none;background:#2a1d12;border:1px solid #c9a15c;border-radius:999px;place-items:center;min-width:20px;height:20px;padding:0 5px;font-size:11px;font-weight:800;line-height:1;display:grid;position:absolute;top:-6px;right:-4px;box-shadow:0 2px 4px #00000080}.check-dialog{width:min(100%,340px);box-shadow:none;filter:drop-shadow(0 10px 24px #000000bf);color:#1e1006;background:0 0;border:14px solid #0000;border-image:url(/assets/ui/paper-sheet.webp) 36 fill/14px;border-radius:0;padding:10px 14px 12px}.check-dialog h3{color:#3a1c06;font-weight:800}.check-dialog .check-text{color:#4a2c12;font-weight:600}.check-dialog .check-why{color:#1e1006;font-weight:700}.check-dialog .check-numbers{color:#3a2210;font-weight:700}.check-dialog .check-numbers strong{color:#7a3a08;font-weight:800}.check-dialog .check-retry{color:#8f1c10;font-weight:700}.check-dialog .check-result.success{color:#1f5a12;font-weight:800}.check-dialog .check-result.failure{color:#8f1c10;font-weight:800}.check-dialog .dice-reason{color:#4a2c12;font-weight:700}.check-dialog .chat-error{color:#8f1c10;font-weight:700}.loot-item.locked{opacity:1}.loot-item.locked img{filter:grayscale(.85);opacity:.75}.loot-item.locked .loot-name{color:#3a2210}.loot-item.locked .loot-name small{color:#6b2a10;font-weight:700}.loot-item.locked .loot-chance{color:#5a3d22}.loot-item.locked input{visibility:hidden}.bark-plate.loot-nothing{color:#2a170a;text-align:center;margin:0;font-size:13.5px;font-weight:700;line-height:1.45}.sign-btn.sign-btn.sign-btn.yesno-sign{width:120px}.flee-confirm .sign-btn.sign-btn.sign-btn.yesno-sign{width:104px}.sign-btn.sign-btn.sign-btn.turn-sign{width:180px}.howto-actions .sign-button,.howto-skip.sign-button,.hint-actions .hint-ok{width:160px}.hint-actions .hint-off{width:260px}.quests-back.sign-button,.reference-back.sign-button,.sign-button.loot-sign,.sign-button.crafts-sign,.sign-btn.sign-btn.sign-btn.trade-sign{width:150px}.sign-btn.sign-btn.sign-btn.row-sign{width:160px}.crafts-tabs .sign-button.crafts-tab{max-width:160px}.main-menu-signs{justify-content:center}.main-menu-signs button,.main-menu-signs button.active{flex:none;width:72px}.game>main>.map-sheet{background:#4a2e18 url(/assets/ui/panel-wood.webp) top/100% repeat-y;border:1px solid #2a170a;border-radius:10px;padding:12px 12px 18px;box-shadow:0 4px 14px #00000080}.map-sheet>h2{color:#f0d9a8;text-shadow:0 2px 4px #000c}.map-sheet>.combat-muted{color:#f0d9a8;text-shadow:0 1px 3px #000c}.map-sheet .map-heading{box-sizing:border-box;filter:drop-shadow(0 2px 3px #00000073);background:url(/assets/ui/scroll-effect.webp) 50%/100% 100% no-repeat;align-items:center;max-width:420px;min-height:46px;margin:0 auto 4px;padding:6px 22px 6px 15%}.map-sheet .map-heading h2{color:#2a170a;text-shadow:none;margin:0;font-size:20px}.map-sheet .map-heading>span,.map-sheet .map-clock.ticking{color:#4a2a10;font-variant-numeric:tabular-nums;text-shadow:none;font-size:14px;font-weight:700}.map-sheet .map-clock.ticking{color:#7a2016}.map-sheet .map-tabs{flex-wrap:nowrap;justify-content:center;gap:4px;margin:6px 0 10px}.map-sheet .map-tabs button.map-tab-plank{filter:brightness(.72)saturate(.85)drop-shadow(0 2px 3px #00000080);background:0 0;border:0;border-radius:0;flex:1 1 0;min-width:0;max-width:220px;padding:0;transition:filter .15s,transform .15s}.map-sheet .map-tabs button.map-tab-plank img{pointer-events:none;width:100%;height:auto;display:block}.map-sheet .map-tabs button.map-tab-plank:hover:not(:disabled){filter:brightness(.9)drop-shadow(0 2px 3px #00000080)}.map-sheet .map-tabs button.map-tab-plank.active{filter:brightness(1.08)drop-shadow(0 0 6px #ffd36bbf);transform:translateY(-1px)}.map-sheet .map-tabs button.map-tab-plank:disabled{opacity:.55;cursor:default}.map-sheet .map-tabs button:not(.map-tab-plank){aspect-ratio:4;color:#f0d9a8;background:#3a2414;border:2px solid #1e1108;border-radius:6px;flex:1 1 0;min-width:0;max-width:220px;padding:0 6px;font-weight:700;box-shadow:0 2px 3px #00000080}.map-sheet .map-tabs button:not(.map-tab-plank).active{color:#ffd36b;border-color:#d6ad64}.map-sheet .world-map,.map-sheet .atlas-map{border-color:#2a170a;box-shadow:0 3px 8px #00000080}.map-sheet .map-place,.map-sheet .master-story{filter:drop-shadow(0 3px 4px #0006);color:#2a170a;background:0 0;border:9px solid #0000;border-image:url(/assets/ui/paper-sheet.webp) 36 fill/9px;border-radius:0}.map-sheet .map-place p{color:#2a170a}.map-sheet .map-place .chat-error{color:#8f2a1c;font-weight:600}.map-sheet .master-story-title{color:#6b4210;font-weight:800}.map-sheet .master-story-text{color:#2a170a}.combat-grid .sign-btn.sign-btn.sign-btn.combat-sign img{aspect-ratio:600/148;object-fit:fill;height:auto}.combat-grid .action-column>.column-title{margin-bottom:20px}.scene-image .scene-clock{z-index:3;color:#2a170a;font-variant-numeric:tabular-nums;white-space:nowrap;pointer-events:none;filter:drop-shadow(0 2px 3px #0000008c);background:url(/assets/ui/scroll-effect.webp) 50%/100% 100% no-repeat;padding:3px 12px 3px 14px;font-size:12px;font-weight:800;position:absolute;top:16px;right:16px}.turn-bar .turn-status-text{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;flex:none;width:1px;height:1px;position:absolute;overflow:hidden}.character-sheet .hero-effects li{flex-direction:column;justify-content:center;align-items:flex-start;gap:1px;min-height:48px;padding:10px 8% 11px 14%;line-height:1.25}.character-sheet .hero-effects li>span{overflow-wrap:anywhere}.character-sheet .hero-effects li small{font-size:11px}.combat-grid .potion-list{box-shadow:none;filter:drop-shadow(0 6px 14px #000000a6);scrollbar-width:thin;scrollbar-color:#7a5428 transparent;background:0 0;border:12px solid #0000;border-image:url(/assets/ui/paper-sheet.webp) 36 fill/12px;border-radius:0;padding:4px 6px}.combat-grid .potion-list button{color:#2a170a;font-weight:700}.combat-grid .potion-list button small{color:#2f5a1c;font-weight:700}.combat-grid .potion-list button:hover:not(:disabled){background:#7a4a1029}.combat-grid .potion-list button:disabled{opacity:.5}.combat-grid .potion-list li+li{border-top:1px solid #5a371440}.game>main>.reference-sheet.reference-open,.game>main>.quests-screen{background:#4a2e18 url(/assets/ui/panel-wood.webp) top/100% repeat-y local;border:1px solid #2a170a;border-radius:10px;padding:12px 12px 18px;box-shadow:0 4px 14px #00000080}.reference-sheet .ref-head h2,.quests-screen .quests-head h2{box-sizing:border-box;color:#2a170a;min-height:44px;text-shadow:none;filter:drop-shadow(0 2px 3px #00000073);background:url(/assets/ui/scroll-effect.webp) 50%/100% 100% no-repeat;flex:1;align-items:center;margin:0;padding:6px 18px 6px 15%;font-size:20px;display:flex}.reference-sheet .ref-tabs{background:0 0;border:0;border-radius:0;gap:4px;overflow:visible}.reference-sheet .ref-tabs button,.reference-sheet .ref-sections button,.reference-sheet .ref-chips button{color:#f0d9a8;text-shadow:0 1px 2px #000c;background:#3a2414;border:2px solid #1e1108;border-radius:6px;font-weight:700;box-shadow:0 2px 3px #00000080}.reference-sheet .ref-tabs button.active,.reference-sheet .ref-sections button.active,.reference-sheet .ref-chips button.active{color:#ffd36b;background:#5a3a1c;border-color:#d6ad64}.reference-sheet .ref-sections{flex-wrap:wrap}.reference-sheet .ref-sections button{padding:5px 12px}.reference-sheet .ref-group-title{color:#f0d9a8;text-shadow:0 2px 4px #000c}.reference-sheet .ref-group-about,.reference-sheet .ref-note,.quests-screen .quest-empty,.reference-sheet>p{color:#f0d9a8;text-shadow:0 1px 3px #000000e6}.reference-sheet .ref-card,.quests-screen .quest-item{filter:drop-shadow(0 3px 4px #0006);background:0 0;border:8px solid #0000;border-image:url(/assets/ui/paper-sheet.webp) 36 fill/8px;border-radius:0}.reference-sheet .ref-title strong,.reference-sheet .ref-guide .ref-title strong{color:#1e1006;font-weight:800}.reference-sheet .ref-tier{color:#6b4210;border-color:#6b421099;font-weight:700}.reference-sheet .ref-stats{color:#3a2210;font-weight:600}.reference-sheet .ref-need{color:#7a2016;font-weight:700}.reference-sheet .ref-about,.reference-sheet .ref-guide .ref-about{color:#2a170a}.reference-sheet .ref-where{color:#2f5a1c;font-weight:600}.reference-sheet .ref-thumb-empty{background:#5a371433}.reference-sheet .trade-rarity{font-weight:700}.reference-sheet .trade-rarity.common{color:#5a4630}.reference-sheet .trade-rarity.uncommon{color:#2f6a1c}.reference-sheet .trade-rarity.rare{color:#1f4f9a}.reference-sheet .trade-rarity.very_rare{color:#6b2a8f}.quests-screen .quest-item>button{color:#1e1006;background:0 0;border:0;border-radius:0;padding:6px;font-weight:800}.quests-screen .quest-item>button small{color:#7a4a10;font-weight:700}.quests-screen .quest-item.done>button{opacity:.75}.quests-screen .quest-item.done>button small{color:#2f5a1c}.quests-screen .quest-item.legend{filter:drop-shadow(0 0 5px #ffd36b8c)drop-shadow(0 3px 4px #0006)}.quests-screen .quest-item>button svg{color:#6b4210}.quests-screen .quest-body{color:#2a170a;border-top:1px solid #5a37144d;padding:4px 6px}.quests-screen .quest-entries li{color:#3a2210}.quests-screen .quest-entries li:before{color:#6b4210}.quests-screen .quest-outcome{color:#2f5a1c;font-weight:600}.quests-screen .quest-goals .road-go{color:#f0d9a8;background:#3a2414;border:2px solid #1e1108;font-weight:700}.quests-screen .quest-goals .road-go:hover{border-color:#d6ad64}.gift-overlay{z-index:90;background:#080604c7;place-items:center;padding:16px;animation:.3s ease-out gift-fade;display:grid;position:fixed;top:0;bottom:0;left:0;right:0}.gift-box{background:#4a2e18 url(/assets/ui/panel-wood.webp) top/100% repeat-y;border:3px solid #2a170a;border-radius:10px;flex-direction:column;align-items:center;width:min(340px,100%);padding:30px 14px 14px;animation:.45s ease-out gift-pop;display:flex;position:relative;box-shadow:0 10px 30px #000000a6,inset 0 0 0 1px #f0c77a40}.gift-head{color:#2a170a;letter-spacing:.06em;text-transform:uppercase;text-align:center;filter:drop-shadow(0 3px 5px #00000080);background:url(/assets/ui/scroll-name.webp) 50%/100% 100% no-repeat;min-width:170px;padding:9px 30px 11px;font-size:17px;font-weight:800;position:absolute;top:-18px;left:50%;transform:translate(-50%)}.gift-sheet{box-sizing:border-box;color:#1e1006;text-align:center;border-image:url(/assets/ui/paper-sheet.webp) 36 fill/12px;flex-direction:column;align-items:center;gap:8px;width:100%;padding:16px 16px 14px;display:flex}.gift-picture{background:radial-gradient(circle,#ffd68c8c 0%,#ffd68c00 70%);border-radius:50%;place-items:center;width:132px;height:132px;display:grid}.gift-picture img{filter:drop-shadow(0 4px 6px #3c1e0a73);max-width:112px;max-height:112px}.gift-picture.gift-portrait{background:0 0;border-radius:8px;width:132px;height:154px}.gift-picture.gift-portrait img{object-fit:cover;filter:none;border:3px solid #6b3d1c;border-radius:6px;width:120px;max-width:none;height:140px;max-height:none;box-shadow:0 0 0 1px #d6ad64,0 6px 12px #28140680}.gift-title{color:#3a1d08;margin:2px 0 0;font-size:18px;font-weight:800;line-height:1.2}.gift-text{color:#2a170a;margin:0;font-size:14px;line-height:1.4}.gift-more{color:#6b4524;margin:2px 0 0;font-size:12px;font-style:italic}.sign-btn.sign-btn.gift-sign{width:190px;margin-top:12px}@keyframes gift-fade{0%{opacity:0}to{opacity:1}}@keyframes gift-pop{0%{opacity:0;transform:scale(.9)translateY(8px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.gift-overlay,.gift-box{animation:none}}
