.dungeon-panel{margin:8px 10px;padding:12px;background:#faf6e9;border:1px solid #d4ccb0;border-radius:12px}.dungeon-panel header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px;color:#3f695c}.dungeon-panel header small,.dungeon-panel p{font-size:11px;color:#85866e}.dungeon-actions{display:flex;flex-wrap:wrap;gap:6px;margin:9px 0}.dungeon-actions button,.dungeon-panel>button,.dungeon-roster button{padding:8px;border:1px solid #d5c9a9;border-radius:7px;background:#f4ebd4;color:#476d60;font:600 11px Interface,sans-serif}.dungeon-actions label{font-size:11px;color:#71806a}.dungeon-actions select{margin-left:5px;padding:5px;border:1px solid #cec9ad;border-radius:5px;background:#fffdf5}.dungeon-enemies{display:flex;gap:7px;overflow:auto;scrollbar-width:none}.dungeon-enemies::-webkit-scrollbar{display:none}.dungeon-enemies>button{display:grid;grid-template-columns:36px minmax(0,1fr);gap:7px;align-items:center;text-align:left;min-width:145px;max-width:160px;padding:7px;border:1px solid #d2c9ac;background:#fffdf4;border-radius:8px;color:#4a6f60}.dungeon-enemies img{width:36px;height:40px;object-fit:contain}.dungeon-enemies small{display:block;font-size:9px;color:#8a8d77}.dungeon-roster p{display:flex;justify-content:space-between;align-items:center}.dungeon-panel button:disabled{opacity:.45}.dungeon-message{margin:5px 0 0}.world-map-routes,.map-route,.map-routes{display:none!important}

#map-roads{display:none!important}.world-map-pin .world-map-medallion{border-radius:50%;overflow:hidden}.world-map-pin .world-map-medallion>img{width:100%;height:100%;object-fit:cover;border-radius:50%}

#world .map.zoomable .world-map-pin{width:52px!important;height:52px!important;min-height:52px!important;padding:0!important}
#world .world-map-pin .world-map-medallion{width:46px!important;height:46px!important;padding:0!important;border:0!important;border-radius:50%!important;background:none!important;box-shadow:0 2px 5px #172d3155!important;transform:none!important}
#world .world-map-pin .world-map-medallion>img{display:block;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;border-radius:50%;filter:none!important;transform:scale(1.04)}
#world .world-map-pin.selected .world-map-medallion{box-shadow:0 0 0 2px #608e78,0 2px 6px #172d3166!important}
#world .world-map-pin:hover .world-map-medallion{box-shadow:0 0 0 1px #b9a265,0 2px 5px #172d3155!important}
#world .world-map-anchor{display:none!important}
@media(max-width:350px){#world .world-map-pin .world-map-medallion{width:42px!important;height:42px!important}}

#world .map.zoomable .world-map-pin{width:44px!important;height:44px!important;min-height:44px!important;padding:5px!important}
#world .world-map-pin .world-map-medallion{width:30px!important;height:30px!important;border:0!important;background:transparent!important;box-shadow:0 1px 3px #17352d55!important}
#world .world-map-pin .world-map-medallion>img{object-fit:contain!important;transform:none!important;clip-path:circle(49%)}
#world .world-map-pin.selected .world-map-medallion{box-shadow:0 0 0 1.5px #528570,0 1px 4px #17352d66!important}
#world .world-map-pin:hover .world-map-medallion{box-shadow:0 0 0 1px #9c874e!important}

#world .world-map-pin .world-map-medallion>img{clip-path:circle(46%)!important}
#world #destination-thumb{width:48px!important;height:48px!important;flex:0 0 48px!important;border:0!important;border-radius:50%!important;clip-path:circle(46%);padding:0!important;object-fit:cover!important;background:none!important;box-shadow:none!important;filter:none!important}
#world #destination-symbol{display:none!important}

.miniboss-core{position:absolute;width:76px;height:76px;left:50%;top:50%;transform:translate(-50%,-50%);z-index:2;overflow:visible}.miniboss-core .core-body{fill:#263b39;stroke:#a28c52;stroke-width:3}.miniboss-core .core-heart{fill:#a7d3b7;stroke:#d3e5ba;stroke-width:1}.miniboss-core .core-channel{fill:none;stroke:#abd1b2;stroke-width:2;stroke-dasharray:100;stroke-dashoffset:100;transform:rotate(-90deg);transform-origin:50px 50px}.miniboss-core .core-spokes{fill:none;stroke:#ad9862;stroke-width:1;opacity:.7}

#world .world-map-pin .world-map-medallion>img{clip-path:none!important;border-radius:50%!important}.notice-journey .notice-emblem{border-radius:50%!important;overflow:hidden!important;background:none!important;border:0!important}.notice-journey .notice-emblem>img{display:block;width:100%!important;height:100%!important;object-fit:contain!important;border-radius:50%!important;background:none!important}#world #destination-thumb{clip-path:none!important}
.dungeon-panel{position:absolute;top:67px;left:10px;right:10px;z-index:130;max-height:58%;overflow:auto;scrollbar-width:none;box-shadow:0 4px 18px #25392b35;margin:0}.dungeon-entry{padding:7px 9px;border:1px solid #b9c4a5;background:#f6f0df;color:#476b59;border-radius:7px;font:600 10px Interface,sans-serif;white-space:nowrap}

.permanent-buyer{display:grid;gap:9px;padding:12px;color:#56705f}.permanent-buyer label{display:grid;gap:4px;font-size:12px}.permanent-buyer select,.permanent-buyer input{width:100%;min-width:0;padding:8px;border:1px solid #cbd3b7;border-radius:7px;background:#fffdf5;color:#4f6f5d}
.dungeon-conversation{position:absolute;inset:0;z-index:190;background:#faf6e9;display:flex;flex-direction:column;color:#49695b;border-radius:16px;overflow:hidden}.dungeon-conversation>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px 18px 16px;border-bottom:1px solid #d8cfb8}.dungeon-conversation h2{font-size:20px;margin:5px 0 0}.dungeon-conversation small{color:#8c8a71;font-size:11px}.dungeon-conversation [data-guard-close]{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;padding:0;border:1px solid #d7c8a6;border-radius:9px;background:#fff9ec;color:#4c7568;font-size:23px;line-height:1}.guard-dialogue{padding:22px 18px;overflow:auto;scrollbar-width:none;line-height:1.6}.guard-dialogue::-webkit-scrollbar{display:none}.guard-dialogue>p{font-size:16px;margin:0 0 15px}.guard-answers{display:grid;gap:10px;margin-top:28px}.guard-answers>button{padding:13px 15px;text-align:left;border:1px solid #c9c8ab;border-radius:10px;background:#fffdf4;color:#42695a;font:600 13px Interface,sans-serif}.guard-answers>button:disabled{opacity:.45}.dungeon-progress{position:absolute;top:62px;left:9px;right:9px;z-index:110;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 10px;background:#faf6e9f5;border:1px solid #d0c8ac;border-radius:9px}.dungeon-progress span{min-width:0}.dungeon-progress b{font-size:12px}.dungeon-progress small{display:block;font-size:10px;color:#8a886e}.dungeon-progress button{padding:6px 10px;background:#f3ead1;border:1px solid #d2c49d;border-radius:6px;color:#507362;font:600 11px Interface,sans-serif}
#world .world-map-pin .world-map-medallion{overflow:visible!important;position:relative}#world .world-map-pin .world-map-medallion::after{content:'';position:absolute;inset:-3px;border:1.5px dashed #fffef1;border-radius:50%;pointer-events:none;filter:drop-shadow(0 1px 1px #233a30);box-sizing:border-box}#world .world-map-pin.selected .world-map-medallion::after{animation:map-selection-orbit 12s linear infinite} @keyframes map-selection-orbit{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){#world .world-map-pin.selected .world-map-medallion::after{animation:none}}
.guard-dialogue>p:first-child{padding:18px;border:1px solid #cbd3b8;border-left:3px solid #719381;border-radius:4px 13px 13px 4px;background:#eaf0df;color:#466957;font-size:15px;line-height:1.7}.guard-answers{gap:12px;margin-top:24px}.guard-answers>button,.guard-answers>[data-guard-close]{width:auto;height:auto;min-height:44px;display:block;flex:auto;padding:12px 14px;border:0;border-left:2px solid #c9b98b;border-radius:0 7px 7px 0;background:#f2ecd8;color:#526d60;font:500 13px Interface,sans-serif;line-height:1.5;text-align:left}.guard-answers>button:hover{background:#e8ecd9;border-color:#77947d}.guard-typed{display:grid!important}.guard-typed>span{grid-area:1/1}.guard-text-space{visibility:hidden}.guard-text-ink{align-self:start}.guard-dialogue>.dungeon-message:empty{display:none}.guard-dialogue>.dungeon-message{color:#ab5b47;font-size:12px}
#dungeon-location-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 0;color:#8e8c73;font-size:11px}#dungeon-location-actions>button{padding:7px 13px;border:1px solid #c7c7a9;border-radius:7px;background:#f5efd9;color:#537061;font:600 11px Interface,sans-serif}#dungeon-location-actions>button:disabled{opacity:.45}.in-dungeon #destination-description,.in-dungeon #traveler,.in-dungeon #other-travelers,.in-dungeon #map-roads{display:none!important}.dungeon-room-pin small{position:absolute;top:42px;left:50%;transform:translateX(-50%);width:90px;white-space:normal;text-align:center;font:600 9px Interface,sans-serif;line-height:1.2;color:#fdf9e9;text-shadow:0 1px 3px #1c2829,0 0 4px #1c2829;pointer-events:none}.dungeon-room-pin:disabled{opacity:.6}.dungeon-room-pin.selected{opacity:1}#world.in-dungeon .map{background:#c8bba0}
.guard-answers>[data-guard-close]{place-items:stretch}
[data-guardian-conversation]{padding:10px 8px 14px;min-height:100%;display:flex;flex-direction:column;gap:10px}.guard-transcript{display:flex;flex-direction:column;gap:8px}.guard-bubble{font:400 12px/1.6 Interface,sans-serif;margin:0;max-width:90%;padding:10px 12px;border-radius:10px;animation:guardian-reply-in .22s ease-out}.guard-bubble.guard{align-self:flex-start;background:#e9efdf;border:1px solid #cbd5b8;border-radius:3px 12px 12px;color:#496957}.guard-bubble.self{align-self:flex-end;background:#f2ead2;border:1px solid #d9cba6;border-radius:12px 3px 12px 12px;color:#78684b}[data-guardian-conversation] .guard-answers{align-self:flex-end;display:grid;gap:7px;margin:2px 0;max-width:93%;width:93%}[data-guardian-conversation] .guard-answer{border:1px solid #d7caa7;background:#f5eedc;border-radius:10px 3px 10px 10px;padding:9px 11px;color:#6d654b;font:400 12px/1.5 Interface,sans-serif;text-align:left;min-height:38px}.guard-pass-drawer{background:#fffaf0;border:1px solid #c8cdae;border-radius:9px;padding:8px;animation:guard-pass-slide .28s ease-out}.guard-pass-drawer>small{font-size:10px;color:#8b896b}.guard-pass-drawer>div{display:flex;gap:7px;overflow:auto;scrollbar-width:none}.guard-pass-drawer button{display:flex;gap:6px;align-items:center;flex:0 0 115px;border:1px solid #d8c9a5;background:#f4efdf;border-radius:7px;padding:6px;font:600 11px Interface;color:#526b59}.guard-pass-drawer img{width:32px;height:38px;object-fit:contain}.guard-pass-drawer small{display:block}.guard-roster{font-size:12px;color:#58705d}.guard-roster p{display:flex;align-items:center;justify-content:space-between}.guard-lobbies:empty{display:none}@keyframes guardian-reply-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}@keyframes guard-pass-slide{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
#world .brand strong{display:none}#world .brand{flex:0 0 auto}#world .brand-row{gap:8px}#world #online-open{flex:1 1 auto;max-width:none;min-width:48px;transition:width .3s ease,flex-basis .3s ease}#header-dungeon-pass{position:relative;width:34px;height:34px;flex:0 0 34px;padding:3px;animation:guard-pass-slide .3s ease-out}#header-dungeon-pass>img{width:100%;height:100%;object-fit:contain}#header-dungeon-pass>small{position:absolute;right:0;bottom:0;font:600 8px Interface;color:#67806a;background:#fff9e8;border-radius:3px;padding:0 2px}#dungeon-location-actions{justify-content:flex-start;margin-top:5px}.in-dungeon .destination-copy{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px}.in-dungeon .destination-copy>h2{flex:1 1 140px}.in-dungeon #dungeon-location-actions{flex:0 0 auto}.in-dungeon #destination-description{display:none}.dungeon-complete-exit{animation:castle-exit-glow 1.7s ease-in-out infinite}@keyframes castle-exit-glow{50%{box-shadow:0 0 8px #a83e4380;border-color:#a94c55;color:#98484e}}
.castle-light-map{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}.castle-fog{fill:#080f17;opacity:.88}.castle-lit-route{fill:none;stroke:#e4c17b;stroke-width:3;stroke-dasharray:4 8;stroke-linecap:round;filter:drop-shadow(0 0 4px #fcb859);opacity:.85}.castle-route-torch{fill:#ffe7a9;filter:drop-shadow(0 0 8px #ffad3e)}.castle-route-torch.newly-lit{animation:castle-torch-ignite .7s ease-out both;animation-delay:var(--torch-delay)}.castle-lit-route.newly-lit{animation:castle-path-light 1.1s ease-out both}.castle-new-light{animation:castle-room-light 1.3s ease-out both}@keyframes castle-torch-ignite{from{opacity:0;r:2}to{opacity:1;r:7}}@keyframes castle-path-light{from{opacity:0;stroke-dashoffset:24}to{opacity:.85;stroke-dashoffset:0}}@keyframes castle-room-light{from{opacity:0}to{opacity:1}}@media(prefers-reduced-motion:reduce){.castle-route-torch,.castle-lit-route,.castle-new-light,.dungeon-complete-exit{animation:none!important}}
.opponent-traits{position:absolute;top:6px;left:50%;transform:translateX(-50%);display:flex;gap:3px;z-index:5}.opponent-traits button{display:grid;place-items:center;width:15px;height:15px;padding:1px;border:1px solid #c8cbb0;border-radius:4px;background:#faf9e9}.opponent-traits img{width:11px;height:11px;object-fit:contain}.miniboss-core{width:min(66px,68%);height:auto;aspect-ratio:1;filter:drop-shadow(0 1px 2px #283c3a44)}.miniboss-core .core-body{fill:#233632;stroke:#9d925f;stroke-width:1.2}.miniboss-core .core-track{fill:none;stroke:#75836b;stroke-width:3;opacity:.38}.miniboss-core .core-channel{stroke:#bee4cc;stroke-width:3;stroke-linecap:round;opacity:.95}.miniboss-core .core-heart{fill:#bfe7cc24;stroke:#d3e2bb;stroke-width:1;filter:none}
[data-guardian-conversation]{padding:14px 10px 18px;gap:16px;min-height:0}[data-guardian-conversation] .guard-transcript{gap:12px}[data-guardian-conversation] .guard-message{box-sizing:border-box;width:94%;max-width:94%;padding:12px 14px 14px;border:1px solid #c7d0b8;border-left:3px solid #739180;border-radius:5px 13px 13px 13px;background:linear-gradient(115deg,#e9efdf,#f4f5e8);align-self:flex-start;box-shadow:0 2px 5px #435d4010;animation:guardian-reply-in .24s ease-out}[data-guardian-conversation] .guard-message.self{width:auto;max-width:88%;align-self:flex-end;border:1px solid #d6c8a4;border-right:3px solid #b2a079;border-radius:13px 5px 13px 13px;background:#f3ecd9}[data-guardian-conversation] .guard-speaker{display:block;margin-bottom:7px;font:600 12px/1.3 Interface,sans-serif;letter-spacing:.035em;color:#7a8970}[data-guardian-conversation] .self .guard-speaker{color:#9b8864;text-align:right}[data-guardian-conversation] .guard-bubble{padding:0;margin:0;max-width:none;border:0;border-radius:0;background:none;box-shadow:none;font:400 17px/1.55 Interface,sans-serif;letter-spacing:normal;color:#3f6355;animation:none}[data-guardian-conversation] .self .guard-bubble{color:#736348}[data-guardian-conversation] .guard-text-space,[data-guardian-conversation] .guard-text-ink{font:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;text-align:inherit;overflow-wrap:anywhere}[data-guardian-conversation] .guard-answers{width:92%;max-width:92%;align-self:flex-end;gap:9px;margin:0}[data-guardian-conversation] .guard-answer-caption{font:500 11px/1.4 Interface,sans-serif;text-align:right;color:#9a8d70;padding-right:3px}[data-guardian-conversation] .guard-answers>.guard-answer{position:relative;box-sizing:border-box;min-height:46px;width:100%;padding:11px 30px 11px 13px;border:1px solid #d4c7a4;border-radius:11px 4px 11px 11px;background:linear-gradient(110deg,#fffbed,#f2ead6);font:500 16px/1.4 Interface,sans-serif;letter-spacing:normal;color:#685e45;text-align:left;box-shadow:0 2px 3px #685d3910;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease}[data-guardian-conversation] .guard-answer::after{content:'›';position:absolute;right:12px;top:50%;transform:translateY(-50%);font:400 20px/1 Interface,sans-serif;color:#aa9870}[data-guardian-conversation] .guard-answer:hover{border-color:#a6b598;background:#edf1e2;color:#496755}[data-guardian-conversation] .guard-answer:active{background:#e4ebd6;box-shadow:inset 0 1px 3px #53683c15}[data-guardian-conversation] .guard-answer:focus-visible{outline:2px solid #669487;outline-offset:2px}[data-guardian-conversation] .dungeon-message{font:400 14px/1.5 Interface,sans-serif;color:#a95743;margin:0}[data-guardian-conversation] .dungeon-message:empty{display:none}
#location-inline-panel .world-panel-body:has([data-guardian-conversation]){overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:none;touch-action:pan-y}#location-inline-panel .world-panel-body:has([data-guardian-conversation])::-webkit-scrollbar{display:none;width:0;height:0}#location-inline-panel [data-guardian-conversation]{padding:10px 8px 14px;gap:12px}#location-inline-panel [data-guardian-conversation] .guard-message{width:96%;max-width:96%;padding:10px 12px 11px;border:1px solid #cad3bc;border-radius:10px;background:#eef2e5;box-shadow:none}#location-inline-panel [data-guardian-conversation] .guard-message.self{width:auto;max-width:86%;background:#f2ecd9;border-color:#d9cba9;border-radius:10px}#location-inline-panel [data-guardian-conversation] .guard-speaker{font:600 12px/1.25 Interface,sans-serif;margin-bottom:5px;letter-spacing:normal;color:#6c826b}#location-inline-panel [data-guardian-conversation] .guard-bubble{font:400 17px/1.45 Interface,sans-serif;color:#426354;margin:0;padding:0;white-space:normal;max-width:none;overflow-wrap:break-word}#location-inline-panel [data-guardian-conversation] .self .guard-bubble{color:#76654a}#location-inline-panel [data-guardian-conversation] .guard-text-ink,#location-inline-panel [data-guardian-conversation] .guard-text-space{font:inherit;line-height:inherit;color:inherit;letter-spacing:normal}#location-inline-panel [data-guardian-conversation] .guard-transcript{gap:9px}#location-inline-panel [data-guardian-conversation] .guard-answers{width:92%;gap:7px}#location-inline-panel [data-guardian-conversation] .guard-answer{font:500 16px/1.35 Interface,sans-serif;min-height:44px;padding:10px 27px 10px 12px;border-radius:9px;background:#fff9e9;box-shadow:none;border-color:#d8cba8}#location-inline-panel .world-guard-expand{display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px;min-height:26px;border:1px solid #d4c6a5;border-radius:6px;padding:4px;background:#fbf7e9;color:#6f8973;touch-action:manipulation}#location-inline-panel .world-guard-expand>img{width:18px;height:18px;object-fit:contain}#location-inline-panel .world-guard-expand[aria-pressed=true]{background:#e7eddd;border-color:#96ae98}#world.guardian-expanded #destination{position:absolute!important;inset:0!important;height:auto!important;max-height:none!important;z-index:155;border-radius:16px;overflow:hidden}#world.guardian-expanded #destination>.location-inline-panel{inset:0!important;padding:12px!important;border-radius:16px!important}#world.guardian-expanded .world-panel-heading>small{max-width:28%}#world.guardian-expanded .world-panel-body{padding-bottom:10px}
#location-inline-panel [data-guardian-conversation] .guard-message.guard{background:#dfead5;border-color:#b5c8a5}#location-inline-panel [data-guardian-conversation] .guard-message.self{background:#f1e6ca;border-color:#d8c49c}/* Passes stay in the conversation flow; only the dialogue scrolls vertically. */
#location-inline-panel .world-panel-body:has(.guard-pass-picker){overflow-x:hidden;overflow-y:auto;touch-action:auto;overscroll-behavior-y:contain}
#location-inline-panel .guard-pass-picker{position:relative;display:flex;flex-direction:column;gap:6px;flex:0 0 auto;width:100%;box-sizing:border-box;padding:0;border:0;background:none;animation:guardian-reply-in .2s ease-out}
#location-inline-panel .guard-pass-picker>header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 2px}
#location-inline-panel .guard-pass-picker header strong{font:600 14px/1.3 Interface,sans-serif;color:#496c59}
#location-inline-panel [data-pass-picker-close]{display:grid;place-items:center;width:24px;height:24px;flex:0 0 24px;padding:0;border:1px solid #d2c7a7;border-radius:6px;background:#fffaf0;color:#698370;font:400 19px/1 Interface,sans-serif}
#location-inline-panel .guard-pass-pages{display:flex;gap:8px;align-items:stretch;flex:0 0 auto;min-height:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;scroll-snap-type:none;touch-action:auto;overscroll-behavior-x:contain;cursor:grab}
#location-inline-panel .guard-pass-pages::-webkit-scrollbar{display:none;width:0;height:0}
#location-inline-panel .guard-pass-pages.is-dragging{cursor:grabbing;user-select:none}
#location-inline-panel .guard-pass-card{display:flex;flex-direction:column;flex:0 0 94%;min-width:0;box-sizing:border-box;padding:0;border:1px solid #cbbd95;border-radius:10px;background:#fffbed;overflow:hidden;transition:border-color .15s ease,background .15s ease}
#location-inline-panel .guard-pass-card:has(.guard-pass-choice:hover),#location-inline-panel .guard-pass-card:focus-within{border-color:#7b9980;background:#f3f3e3}
#location-inline-panel .guard-pass-choice{display:flex;flex:1;flex-direction:column;gap:7px;width:100%;box-sizing:border-box;padding:9px 11px;border:0;border-radius:0;background:none;box-shadow:none;text-align:left;color:#526c58;font-family:Interface,sans-serif;cursor:pointer;touch-action:auto}
#location-inline-panel .guard-pass-choice:focus-visible{outline:2px solid #759785;outline-offset:-3px;border-radius:9px}
#location-inline-panel .guard-pass-choice:disabled{opacity:.55;cursor:wait}
#location-inline-panel .guard-pass-lead{display:flex;align-items:center;gap:8px}
#location-inline-panel .guard-pass-lead>img{width:33px;height:33px;flex:0 0 33px;object-fit:contain}
#location-inline-panel .guard-pass-lead strong{display:block;font:600 15px/1.25 Interface,sans-serif;color:#526c58}
#location-inline-panel .guard-pass-lead>span>span{display:block;margin-top:2px;font:400 11px/1.3 Interface,sans-serif;color:#948465}
#location-inline-panel .guard-pass-risk{font:500 14px/1.4 Interface,sans-serif;color:#95644c}
#location-inline-panel .guard-pass-rewards{display:grid;gap:2px;width:100%;box-sizing:border-box;border-top:1px solid #ddd2b7;padding-top:6px;font:500 14px/1.4 Interface,sans-serif;color:#587c53}
/* Light book-like dialogue typography; the collapsed panel uses a smaller scale. */
#location-inline-panel [data-guardian-conversation]{gap:9px;padding:9px 7px 12px}
#location-inline-panel [data-guardian-conversation] .guard-transcript{gap:8px}
#location-inline-panel [data-guardian-conversation] .guard-message{width:fit-content;max-width:94%;padding:9px 11px;border-radius:9px;animation:none}
#location-inline-panel [data-guardian-conversation] .guard-message.guard{background:#dfe8d2;border-color:#afbf9b}
#location-inline-panel [data-guardian-conversation] .guard-message.self{background:#eddfbc;border-color:#cdbb8d}
#location-inline-panel [data-guardian-conversation] .guard-bubble{font:600 16.5px/1.5 Georgia,'Noto Serif',serif;letter-spacing:0}
#location-inline-panel [data-guardian-conversation] .guard-speaker{font:500 11px/1.25 Interface,sans-serif;color:#758466;margin-bottom:4px}
#location-inline-panel [data-guardian-conversation] .self .guard-speaker{color:#978057}
#location-inline-panel [data-guardian-conversation] .guard-answers{gap:7px}
#location-inline-panel [data-guardian-conversation] .guard-answer{font:600 16.5px/1.4 Georgia,'Noto Serif',serif;letter-spacing:0;min-height:42px;padding:9px 24px 9px 11px;border-radius:8px;background:#f1e7cc;border-color:#d2c095;color:#726342}
#location-inline-panel [data-guardian-conversation] .guard-answer:hover{background:#e5e8d2;border-color:#a8b38d}
#location-inline-panel .guard-pass-pages{align-items:flex-start;position:relative;gap:8px}
#location-inline-panel .guard-pass-picker>header{padding:0 1px}
#location-inline-panel .guard-pass-picker header strong{font:500 15px/1.3 Georgia,'Noto Serif',serif}
#location-inline-panel .guard-pass-card{flex:0 0 auto;width:max-content;max-width:calc(100% - 10px);border-color:#cbbd98;background:linear-gradient(145deg,#fffaf0,#f1e8d0);box-shadow:inset 0 0 0 1px #fffdf4;border-radius:9px}
#location-inline-panel .guard-pass-card:has(.guard-pass-choice:hover),#location-inline-panel .guard-pass-card:focus-within{border-color:#91a17b;background:linear-gradient(145deg,#f8faef,#e9ecd8)}
#location-inline-panel .guard-pass-choice{flex:0 0 auto;gap:6px;padding:8px 10px}
#location-inline-panel .guard-pass-lead{width:100%;box-sizing:border-box;gap:7px;padding-bottom:5px;border-bottom:1px solid #ded0ae}
#location-inline-panel .guard-pass-lead>img{width:29px;height:29px;flex-basis:29px}
#location-inline-panel .guard-pass-lead strong{font:400 16px/1.25 Georgia,'Noto Serif',serif}
#location-inline-panel .guard-pass-lead>span>span{font:400 10.5px/1.3 Interface,sans-serif;color:#9a8966}
#location-inline-panel .guard-pass-risks{display:grid;gap:3px;width:auto;font:400 14px/1.4 Interface,sans-serif;color:#996b4e}
#location-inline-panel .guard-pass-rewards{gap:3px;padding:5px 0 0;font:400 14px/1.4 Interface,sans-serif;color:#617650;border:0;border-top:1px solid #ded0ae;border-radius:0;background:none}
#location-inline-panel .guard-pass-stat{display:flex;align-items:baseline;justify-content:flex-start;gap:5px;width:auto;text-align:left;white-space:nowrap}
#location-inline-panel .guard-pass-stat>b{font:inherit;font-weight:500;text-align:left;white-space:nowrap}
#world:not(.guardian-expanded) #location-inline-panel [data-guardian-conversation]{gap:7px;padding:7px 5px 10px}
#world:not(.guardian-expanded) #location-inline-panel [data-guardian-conversation] .guard-transcript{gap:6px}
#world:not(.guardian-expanded) #location-inline-panel [data-guardian-conversation] .guard-message{padding:7px 9px}
#world:not(.guardian-expanded) #location-inline-panel [data-guardian-conversation] .guard-bubble{font-size:14.5px;line-height:1.4}
#world:not(.guardian-expanded) #location-inline-panel [data-guardian-conversation] .guard-speaker{font-size:10px;margin-bottom:3px}
#world:not(.guardian-expanded) #location-inline-panel [data-guardian-conversation] .guard-answer{font-size:14.5px;min-height:36px;padding:7px 23px 7px 10px}
#world:not(.guardian-expanded) #location-inline-panel .guard-pass-picker{gap:5px}
#world:not(.guardian-expanded) #location-inline-panel .guard-pass-picker header strong{font-size:14px}
#world:not(.guardian-expanded) #location-inline-panel .guard-pass-choice{gap:5px;padding:7px 9px}
#world:not(.guardian-expanded) #location-inline-panel .guard-pass-lead{padding-bottom:4px;gap:6px}
#world:not(.guardian-expanded) #location-inline-panel .guard-pass-lead>img{width:25px;height:25px;flex-basis:25px}
#world:not(.guardian-expanded) #location-inline-panel .guard-pass-lead strong{font-size:14px}
#world:not(.guardian-expanded) #location-inline-panel .guard-pass-lead>span>span{font-size:10px}
#world:not(.guardian-expanded) #location-inline-panel .guard-pass-risks,#world:not(.guardian-expanded) #location-inline-panel .guard-pass-rewards{font-size:12.5px;gap:2px}
#location-inline-panel [data-guardian-conversation] .guard-message.is-new{animation:guard-message-settle .2s ease-out}
@keyframes guard-message-settle{from{transform:translateY(3px)}to{transform:none}}
@media(prefers-reduced-motion:reduce){#location-inline-panel [data-guardian-conversation] .guard-message.is-new{animation:none}}

#location-inline-panel .guard-pass-conditions{display:grid;gap:5px;width:100%;box-sizing:border-box}
#location-inline-panel .guard-pass-lead>span{min-width:0;max-width:190px}
#location-inline-panel .guard-pass-lead strong{white-space:normal;font-weight:500;line-height:1.3;overflow-wrap:break-word}
#location-inline-panel [data-guardian-conversation] .guard-message.guard{border-radius:8px 11px 11px 3px;border-left:2px solid #a3b88e}
#location-inline-panel [data-guardian-conversation] .guard-message.self{border-radius:11px 8px 3px 11px;border-right:2px solid #c4ac77}
#location-inline-panel [data-guardian-conversation] [hidden]{display:none!important}
#location-inline-panel [data-guardian-conversation] .guard-answer:disabled{opacity:1}
#location-inline-panel [data-guardian-conversation] .guard-answer.is-new{animation:guard-message-settle .18s ease-out}
@media(prefers-reduced-motion:reduce){#location-inline-panel [data-guardian-conversation] .guard-answer.is-new{animation:none}}
/* Dungeon groups and small, inline expedition confirmations. */
#world .brand{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;box-sizing:border-box;padding:4px;border:1px solid #d6c6a1;border-radius:8px;background:#fff9e9;box-shadow:inset 0 1px 0 #fffdf5}
#world .brand>img{width:26px;height:26px;object-fit:contain}
#world{isolation:isolate}#world .world-header{position:relative;z-index:7}
#location-inline-panel .guard-pass-pages{touch-action:pan-y}
#location-inline-panel .guard-pass-choice{touch-action:pan-y}
#location-inline-panel .world-panel-body:has([data-dungeon-groups]){overflow-y:auto;overflow-x:hidden;scrollbar-width:none;touch-action:pan-y}
#location-inline-panel .world-panel-body:has([data-dungeon-groups])::-webkit-scrollbar{display:none;width:0;height:0}
#location-inline-panel [data-dungeon-groups]{padding:8px 5px 12px}
#location-inline-panel .dungeon-group-sheet{display:grid;gap:10px;color:#526e5b}
#location-inline-panel .dungeon-group-tabs{display:flex;gap:5px;padding:3px;border:1px solid #d5caa8;border-radius:8px;background:#ece8d2}
#location-inline-panel .dungeon-group-tabs button{flex:1;min-width:0;padding:7px 5px;border:1px solid transparent;border-radius:6px;background:none;font:500 13px/1.3 Interface,sans-serif;color:#8b8267}
#location-inline-panel .dungeon-group-tabs button[aria-pressed=true]{background:#fffbef;border-color:#d1c19a;color:#49705e}
#location-inline-panel .dungeon-group-title{display:flex;gap:9px;align-items:center;min-width:0}
#location-inline-panel .dungeon-group-title>img{width:32px;height:34px;object-fit:contain;flex:none}
#location-inline-panel .dungeon-group-title>span{flex:1;min-width:0}
#location-inline-panel .dungeon-group-title strong{display:block;font:500 16px/1.3 Georgia,'Noto Serif',serif;color:#466b59}
#location-inline-panel .dungeon-group-title small{display:block;margin-top:3px;font:400 11px/1.35 Interface,sans-serif;color:#8e8263}
#location-inline-panel .dungeon-group-title>b,#location-inline-panel .dungeon-lobby-card>header>b{flex:none;padding:4px 6px;border:1px solid #d4d9bc;border-radius:5px;background:#e9eedb;font:500 12px/1.2 Interface,sans-serif;color:#6d805a;white-space:nowrap}
#location-inline-panel .dungeon-group-rule{font:400 11px/1.4 Interface,sans-serif;color:#928568;margin:0}
#location-inline-panel .dungeon-member-list{display:grid;gap:0;padding:0;margin:0;list-style:none;border:1px solid #d4c9a6;border-radius:8px;background:#fffaf0;overflow:hidden}
#location-inline-panel .dungeon-member{display:flex;align-items:center;gap:8px;min-width:0;padding:6px 8px;border-bottom:1px solid #e5dcc2}
#location-inline-panel .dungeon-member:last-child{border-bottom:0}
#location-inline-panel .dungeon-member>img{width:34px;height:38px;flex:0 0 34px;object-fit:contain;object-position:center bottom;border-radius:6px;background:#eeeddb;border:1px solid #d8d5b9;box-sizing:border-box}
#location-inline-panel .dungeon-member>span:not(.dungeon-leader-label){flex:1;min-width:0}
#location-inline-panel .dungeon-member strong{display:block;font:500 14px/1.25 Interface,sans-serif;overflow-wrap:anywhere}
#location-inline-panel .dungeon-member small{display:block;margin-top:3px;font:400 11px/1.3 Interface,sans-serif;color:#918569}
#location-inline-panel .dungeon-member strong>small{display:inline;margin:0 0 0 3px;color:#8b9a75}
#location-inline-panel .dungeon-leader-label{font:400 10px/1.2 Interface,sans-serif;color:#a28b53;flex:none}
#location-inline-panel .dungeon-member-kick{display:grid;place-items:center;width:27px;height:27px;flex:none;border:1px solid #dac9b0;border-radius:6px;background:#fff8eb;color:#9f7761;font-size:19px;padding:0}
#location-inline-panel .dungeon-group-actions{display:flex;flex-wrap:wrap;gap:7px}
#location-inline-panel .dungeon-group-actions>button{flex:1}
#location-inline-panel .dungeon-group-wait{width:100%;margin:0;font:400 12px/1.5 Interface,sans-serif;color:#91876d}
#location-inline-panel .dungeon-primary{min-height:35px;padding:8px 10px;border:1px solid #608975;border-radius:7px;background:#447d6b;color:#fffaf0;font:500 13px/1.3 Interface,sans-serif}
#location-inline-panel .dungeon-secondary{min-height:35px;padding:8px 10px;border:1px solid #cdbb92;border-radius:7px;background:#f3ead2;color:#796745;font:500 13px/1.3 Interface,sans-serif}
#location-inline-panel .dungeon-primary:disabled{background:#e9e7d5;border-color:#d1cbb4;color:#a09a81;cursor:default}
#location-inline-panel .dungeon-lobby-card{display:grid;gap:8px;padding:9px;border:1px solid #d1c29d;border-radius:9px;background:linear-gradient(135deg,#fffaf0,#f2ebd8)}
#location-inline-panel .dungeon-lobby-card>header{display:flex;align-items:center;justify-content:space-between;gap:8px;font:500 14px/1.3 Georgia,'Noto Serif',serif}
#location-inline-panel .dungeon-groups-empty{display:grid;justify-items:center;gap:8px;padding:15px 12px;border:1px solid #d7cbaa;border-radius:9px;background:#f3eedc;text-align:center}
#location-inline-panel .dungeon-groups-empty>img{width:44px;height:44px;object-fit:contain}
#location-inline-panel .dungeon-groups-empty>strong{font:500 15px/1.3 Georgia,'Noto Serif',serif}
#location-inline-panel .dungeon-groups-empty>p{font:400 12px/1.5 Interface,sans-serif;margin:0;color:#93886d}
#location-inline-panel .dungeon-group-sheet .dungeon-message{font:400 12px/1.4 Interface,sans-serif;color:#a96b53;margin:0}
#location-inline-panel .dungeon-message:empty{display:none}
#dungeon-location-actions{flex-wrap:wrap}
#location-inline-panel [data-dungeon-groups]{container-type:inline-size}
#location-inline-panel .world-panel-body:has([data-dungeon-groups]){touch-action:auto}
#location-inline-panel .dungeon-lobbies-grid{display:flex;align-items:flex-start;gap:8px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;touch-action:auto;padding:1px 0 3px}
#location-inline-panel .dungeon-lobbies-grid::-webkit-scrollbar{display:none;width:0;height:0}
#location-inline-panel .dungeon-lobbies-grid .dungeon-lobby-card{flex:0 0 180px;min-width:0;box-sizing:border-box;gap:7px;padding:8px}
#location-inline-panel .dungeon-lobby-card>header{font-size:12.5px;align-items:flex-start}
#location-inline-panel .dungeon-lobby-card>header>b{padding:3px 4px;font-size:10px}
#location-inline-panel .dungeon-member-list.is-preview .dungeon-member{padding:5px;gap:5px}
#location-inline-panel .dungeon-member-list.is-preview .dungeon-member>img{width:25px;height:29px;flex-basis:25px}
#location-inline-panel .dungeon-member-list.is-preview .dungeon-member strong{font-size:12px;line-height:1.25}
#location-inline-panel .dungeon-member-list.is-preview .dungeon-member small{font-size:9px;line-height:1.2;margin-top:2px}
#location-inline-panel .dungeon-member-list.is-preview .dungeon-member em{display:block;margin-top:2px;font:400 9px/1.2 Interface,sans-serif;color:#a08a55}
#location-inline-panel .dungeon-lobby-card>.dungeon-primary{font-size:11px;padding:7px 4px;min-height:32px}
#world.guardian-expanded #location-inline-panel .dungeon-lobbies-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;overflow:visible}
@container (min-width:580px){#world.guardian-expanded #location-inline-panel .dungeon-lobbies-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* Permit seals stay crisp while the illustrated paper carries the angle. */
.dungeon-permit-icon{position:relative;display:inline-grid;place-items:center;width:40px;height:44px;flex:0 0 40px;vertical-align:middle}
.dungeon-permit-icon>img{display:block;width:100%;height:100%;object-fit:contain}
#header-dungeon-pass>.dungeon-permit-icon{width:30px;height:30px;display:grid}
#location-inline-panel .guard-pass-lead>.dungeon-permit-icon{width:38px;height:42px;flex:0 0 38px;max-width:none}
#world:not(.guardian-expanded) #location-inline-panel .guard-pass-lead>.dungeon-permit-icon{width:30px;height:34px;flex-basis:30px}
#location-inline-panel .guard-pass-lead .dungeon-pass-level,.dungeon-pass-level{display:inline-block;width:max-content;box-sizing:border-box;margin-top:5px;padding:3px 7px;border:1px solid #c9c9ac;border-radius:5px;background:#e9ecd9;font:500 10.5px/1.15 Interface,sans-serif;color:#7c8664;white-space:nowrap}
.dungeon-pass-trigger{display:grid;place-items:center;width:40px;height:44px;padding:1px;border:1px solid #d3c49e;border-radius:7px;background:#f7f0dd;cursor:pointer}
.dungeon-pass-trigger .dungeon-permit-icon{width:34px;height:40px;flex-basis:34px}
.dungeon-lobby-card>header{align-items:center!important}
.dungeon-settings-symbol{display:grid;place-items:center;width:28px;height:32px;flex:none}
.dungeon-settings-symbol>img{width:100%;height:100%;object-fit:contain}
/* Native dialogs give each preview/confirmation one centered, focused surface. */
dialog.dungeon-dialog:is(#dungeon-pass-info,#dungeon-command-confirm){position:fixed;inset:0;display:block;box-sizing:border-box;width:min(344px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 48px);margin:auto;padding:18px 16px 16px;overflow:auto;scrollbar-width:none;border:1px solid #c9ba93;border-radius:13px;background:linear-gradient(150deg,#fffdf5,#f5eedb);color:#526d5c;box-shadow:inset 0 0 0 4px #fbf7e9,inset 0 0 0 5px #dfd3b5,0 12px 40px #3d49312e;animation:dungeon-dialog-open .18s ease-out}
dialog.dungeon-dialog::backdrop{background:#fffdf1b8;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
dialog.dungeon-dialog::-webkit-scrollbar{display:none}
.dungeon-dialog .dungeon-dialog-heading{position:relative;display:block;padding:4px 23px 12px;margin:0;border-bottom:1px solid #ded2b4;text-align:center}
.dungeon-dialog .dungeon-dialog-heading>h2{margin:0;font:600 18px/1.35 Georgia,'Noto Serif',serif;color:#4a6a58}
.dungeon-dialog .dungeon-dialog-heading>button{position:absolute;right:-4px;top:-6px;display:grid;place-items:center;width:26px;height:26px;padding:0;border:1px solid #d5c6a5;border-radius:7px;background:#fffaf0;color:#78917b;font:400 20px/1 Interface,sans-serif}
.dungeon-dialog .dungeon-pass-emblem{display:grid;justify-items:center;gap:6px;margin:13px 0}
.dungeon-dialog .dungeon-permit-icon.is-large{width:94px;height:112px;flex-basis:94px}
.dungeon-dialog .dungeon-pass-emblem>h3{margin:0;font:500 17px/1.3 Georgia,'Noto Serif',serif;color:#546b58;text-align:center}
.dungeon-dialog .dungeon-pass-emblem>.dungeon-pass-level{margin:0;font-size:11px}
.dungeon-dialog .dungeon-pass-facts{padding:10px 0 0;border-top:1px solid #ded2b4}
.dungeon-dialog .dungeon-pass-facts>.guard-pass-lead{display:none}
.dungeon-dialog .guard-pass-conditions{display:grid;gap:8px}
.dungeon-dialog .guard-pass-risks,.dungeon-dialog .guard-pass-rewards{display:grid;gap:5px;font:400 13px/1.45 Interface,sans-serif}
.dungeon-dialog .guard-pass-risks{color:#986f53}
.dungeon-dialog .guard-pass-rewards{border-top:1px solid #ded2b4;padding-top:8px;color:#637c54}
.dungeon-dialog .guard-pass-stat{display:flex;gap:5px;align-items:baseline}
.dungeon-dialog .guard-pass-stat>b{font:inherit;white-space:nowrap}
.dungeon-dialog .dungeon-confirm-copy{display:grid;justify-items:center;gap:9px;padding:13px 2px}
.dungeon-dialog .dungeon-permit-icon.is-confirm{width:58px;height:68px;flex-basis:58px}
.dungeon-dialog .dungeon-confirm-copy>p{margin:0;font:400 14px/1.5 Interface,sans-serif;color:#8b7b60;text-align:center}
.dungeon-dialog .dungeon-dialog-actions{display:flex;gap:8px;padding-top:3px}
.dungeon-dialog .dungeon-dialog-actions>button{flex:1;min-width:0}
.dungeon-dialog .dungeon-primary{min-height:37px;padding:8px 10px;border:1px solid #608975;border-radius:7px;background:#447d6b;color:#fffaf0;font:500 13px/1.3 Interface,sans-serif}
.dungeon-dialog .dungeon-secondary{min-height:37px;padding:8px 10px;border:1px solid #cdbb92;border-radius:7px;background:#f3ead2;color:#796745;font:500 13px/1.3 Interface,sans-serif}
@keyframes dungeon-dialog-open{from{transform:translateY(4px) scale(.99)}to{transform:none}}
@media(prefers-reduced-motion:reduce){dialog.dungeon-dialog:is(#dungeon-pass-info,#dungeon-command-confirm){animation:none}}
/* Stable card rows: badges never push names/stats, and trait notes live by the art. */
#world .monster-collectible .opponent-top{height:17px;gap:4px;padding:0;align-items:center}
#world .monster-collectible .opponent-quantity,#world .monster-collectible .opponent-level{box-sizing:border-box;min-height:15px;padding:1px 4px;border:1px solid #d0d4b5;border-radius:4px;background:#eef0db;color:#7c8768;font:500 8px/12px Interface,sans-serif;white-space:nowrap}
#world .monster-collectible .opponent-level{border-color:#ddd0ae;background:#f7f0db;color:#948260}
#world .monster-collectible .opponent-traits{position:absolute;left:auto;right:5px;top:30px;transform:none;display:flex;flex-direction:column;gap:3px;z-index:5}
#world .monster-collectible .opponent-traits>button{width:16px;height:16px;border-radius:4px;background:#fbf8e8;border-color:#c8d0ad}
#world .monster-collectible .opponent-traits img{width:11px;height:11px;object-fit:contain}
#world .monster-collectible .opponent-art{padding-right:1px}#world .monster-collectible:has(.opponent-traits) .opponent-art{padding-right:16px}
#world .monster-collectible .opponent-inspect{grid-template-rows:17px minmax(0,1fr) 28px;gap:3px;min-height:0}
#world .monster-collectible .opponent-name{height:28px;min-height:28px;line-height:13px;box-sizing:border-box}
#world .monster-collectible .opponent-stats{height:22px!important;min-height:22px!important;max-height:22px!important;flex:0 0 22px;overflow-y:hidden;align-items:stretch;padding:0!important}
#world .monster-collectible .opponent-stats>.opponent-stat-page{display:grid!important;grid-template-columns:max-content max-content;grid-template-rows:22px;justify-content:space-between;align-items:center;align-content:center;flex-wrap:nowrap;height:22px;min-width:100%;width:100%;gap:3px!important;padding:0 1px;container-type:inline-size}
#world .monster-collectible .opponent-stat-page>span{display:flex;align-items:center;flex:0 0 auto;gap:2px!important;min-width:0;height:18px}
#world .monster-collectible .opponent-stat-token{width:13px!important;height:14px!important;flex:0 0 13px!important;box-sizing:border-box}
#world .monster-collectible .opponent-stat-glyph{display:grid;place-items:center;flex:none;width:10px;height:10px;font-size:10px!important;line-height:10px!important;transform:none!important;text-align:center}
#world .monster-collectible .opponent-stat-page>span>b{font-size:clamp(7px,calc((100cqi - 34px) / var(--page-fit,6)),calc(10px * var(--valgard-text-scale,.9)))!important;line-height:14px;white-space:nowrap;overflow-wrap:normal}
#world .world-opponents:has([data-wide]) .opponent-stats{height:36px!important;min-height:36px!important;max-height:36px!important;flex-basis:36px}
#world .world-opponents:has([data-wide]) .opponent-stats>.opponent-stat-page{grid-template-columns:1fr;grid-template-rows:17px 17px;height:36px;gap:1px!important;justify-items:start}
#world .world-opponents:has([data-wide]) .opponent-stat-page>span>b{font-size:9px!important}

#world .world-opponents>.monster-collectible{border-radius:9px;border-color:#b4bc9c;box-shadow:inset 0 0 0 2px #fffdf0}
#world .monster-collectible .opponent-front{border-radius:8px;background:linear-gradient(155deg,#fffdf1,#eef0dc);gap:4px}
#world .monster-collectible.is-boss{border-color:#b99c7f}
#world .monster-collectible .opponent-traits{top:29px;right:5px;padding:2px;border:1px solid #c9d1b2;border-radius:5px;background:#f8f7e9;gap:2px}
#world .monster-collectible .opponent-traits>button{width:14px;height:14px;border:0;background:none;padding:1px}
#world .monster-collectible .opponent-top{padding-inline:1px}

.dungeon-dialog .dungeon-confirm-copy{text-align:center;align-content:center;justify-content:center;justify-items:center}
.dungeon-dialog .dungeon-confirm-copy>p{max-width:270px;text-wrap:pretty;line-height:1.6}
/* One control size across the world toolbar, including logo and the permit shortcut. */
#world .brand,#world #header-dungeon-pass,#world #header-overload,#world .header-actions>.icon-button{box-sizing:border-box;width:36px;min-width:36px;max-width:36px;height:36px;min-height:36px;flex:0 0 36px;border-radius:8px}
#world .brand{padding:4px}
#world .brand>img{width:28px;height:28px}
#world #header-dungeon-pass{display:grid;place-items:center;padding:3px}
#world #header-dungeon-pass>.dungeon-permit-icon{width:29px;height:29px}
@media(max-width:350px){#world .brand,#world #header-dungeon-pass,#world #header-overload,#world .header-actions>.icon-button{width:32px;min-width:32px;max-width:32px;height:34px;min-height:34px;flex-basis:32px}#world .brand>img{width:26px;height:26px}#world #header-dungeon-pass>.dungeon-permit-icon{width:27px;height:27px}}
dialog.dungeon-dialog:is(#dungeon-pass-info,#dungeon-command-confirm){animation:dungeon-dialog-open .24s cubic-bezier(.2,.7,.3,1) both}
dialog.dungeon-dialog::backdrop{animation:dungeon-backdrop-open .24s ease-out both}
dialog.dungeon-dialog.is-closing:is(#dungeon-pass-info,#dungeon-command-confirm){animation:dungeon-dialog-close .2s ease-in both;pointer-events:none}
dialog.dungeon-dialog.is-closing::backdrop{animation:dungeon-backdrop-close .2s ease-in both}
@keyframes dungeon-dialog-open{from{opacity:0;transform:translateY(6px) scale(.985)}to{opacity:1;transform:none}}
@keyframes dungeon-dialog-close{from{opacity:var(--dialog-close-opacity,1);transform:var(--dialog-close-transform,none)}to{opacity:0;transform:translateY(4px) scale(.99)}}
@keyframes dungeon-backdrop-open{from{opacity:0}to{opacity:1}}
@keyframes dungeon-backdrop-close{from{opacity:var(--dialog-close-backdrop,1)}to{opacity:0}}
@media(prefers-reduced-motion:reduce){dialog.dungeon-dialog:is(#dungeon-pass-info,#dungeon-command-confirm),dialog.dungeon-dialog::backdrop{animation:none!important}}
/* Current-room composition: responsive square artwork, softly extended edges, no stretched castle plan. */
#world.in-dungeon #map-art,#world.in-dungeon #map-labels{visibility:hidden;pointer-events:none}
#world.in-dungeon #map{background:#17212a;isolation:isolate}
#world.in-dungeon #map-stage{overflow:hidden}
#castle-room-view{position:absolute;inset:0;overflow:hidden;isolation:isolate;background:var(--dungeon-ground,#18232b)}
#castle-room-view[data-kind="forge"]{--dungeon-ground:#241a18;--dungeon-fog:#1a1413;--dungeon-route:#ffce8d;--dungeon-glow:#d9773d;--dungeon-light:#ffbb78}
#castle-room-view[data-kind="depths"]{--dungeon-ground:#12242d;--dungeon-fog:#0d1c27;--dungeon-route:#a6e4df;--dungeon-glow:#479eaa;--dungeon-light:#80d8d9}
#castle-room-view:is([data-kind="forge"],[data-kind="depths"]) .castle-current-pin{top:calc(50% + var(--castle-square)*.17)}
#castle-room-view .castle-room-glaze{position:absolute;inset:-12px;background-position:center;background-size:cover;filter:blur(9px) brightness(.6);transform:scale(1.05);opacity:.8}
#castle-room-view .castle-room-current{position:absolute;inset:0;display:grid;place-items:center;transform-origin:center}
#castle-room-view .castle-room-image{display:block;width:100%;height:100%;object-fit:contain;object-position:center;pointer-events:none}
#castle-room-view .castle-current-pin{position:absolute;left:50%;top:62%;transform:translate(-50%,-50%);display:grid;justify-items:center;gap:4px;filter:drop-shadow(0 2px 3px #15201bcc);pointer-events:none}
#castle-room-view .castle-current-pin>img{width:36px;height:36px;object-fit:cover;border:1px solid #d6c28c;border-radius:50%;box-shadow:0 0 0 3px #17342e66}
#castle-room-view .castle-current-pin>small{padding:2px 5px;border-radius:4px;background:#192a2b9c;color:#f3e8cc;font:500 9px/1.2 Interface,sans-serif;white-space:nowrap}
#castle-room-view .castle-room-journey{position:absolute;inset:0;background:radial-gradient(ellipse at center,var(--dungeon-ground,#142029),var(--dungeon-fog,#101b23) 85%);overflow:hidden;z-index:3;pointer-events:none}
#castle-room-view [hidden]{display:none!important}
#castle-room-view .castle-overview-stage{position:absolute;left:50%;top:50%;width:var(--castle-square);height:var(--castle-square);transform:translate(-50%,-50%);will-change:transform;
 mask-image:linear-gradient(to right,transparent,#000 7%,#000 93%,transparent),linear-gradient(to bottom,transparent,#000 7%,#000 93%,transparent);
 mask-composite:intersect}
#castle-room-view .castle-overview-image{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
#castle-room-view .castle-overview-stage>svg,#castle-room-view .castle-journey-pins{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
#castle-room-view .castle-route-past{fill:none;stroke:#b6ae8c;stroke-width:2;stroke-dasharray:4 9;opacity:.4}
#castle-room-view .castle-route-next{fill:none;stroke:var(--dungeon-route,#edd097);stroke-width:4;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1;filter:drop-shadow(0 0 3px var(--dungeon-glow,#dda85f))}
#castle-room-view.is-drawing-route .castle-route-next{animation:castle-room-route-draw .9s ease-out both}
#castle-room-view .castle-room-torch{fill:var(--dungeon-light,#e7bc76);opacity:0;filter:drop-shadow(0 0 5px var(--dungeon-glow,#e3a94d))}
#castle-room-view.is-drawing-route .castle-room-torch{animation:castle-room-torch-light .4s ease-out both;animation-delay:var(--torch-delay)}
#castle-room-view .castle-journey-pin{position:absolute;transform:translate(-50%,-50%);display:grid;justify-items:center;gap:3px;width:90px;text-align:center}
#castle-room-view .castle-journey-pin>img{width:29px;height:29px;object-fit:cover;border:1px solid #c8bc96;border-radius:50%}
#castle-room-view .castle-journey-pin>small{max-width:90px;font:500 9px/1.2 Interface,sans-serif;color:#efe4c9;text-shadow:0 1px 3px #15201b,0 0 3px #15201b}
#castle-room-view .castle-journey-pin.is-next>img{border-color:#eed09b;box-shadow:0 0 8px #dbb77077}
#castle-room-view .castle-journey-caption{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);max-width:90%;padding:6px 11px;border:1px solid #a7946b66;border-radius:7px;background:#182327d9;color:#e4d6b8;font:400 13px/1.35 Georgia,'Noto Serif',serif;text-align:center;white-space:nowrap}
#world.in-dungeon .destination-copy{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px!important;align-items:center}
#world.in-dungeon .destination-copy>h2{min-width:0;flex:none;margin:0;line-height:1.2;font-size:clamp(16px,4.6vw,20px)}
#world.in-dungeon #dungeon-location-actions{display:grid;grid-template-columns:1fr;gap:5px;align-self:center;margin:0;min-width:82px}
#world.in-dungeon #dungeon-location-actions>button{min-height:27px;padding:6px 10px;border-radius:7px;font:500 11px/1.2 Interface,sans-serif;white-space:nowrap}
#world.in-dungeon #dungeon-location-actions>.dungeon-next-room{border-color:#9fb18c;background:#e6edda;color:#4d735c}
#world.in-dungeon #dungeon-location-actions>button:disabled{opacity:.5;cursor:default}
#world.in-dungeon .destination-top{align-items:center;gap:11px}
#world.in-dungeon #destination-thumb{width:44px!important;height:44px!important;flex-basis:44px!important}
#world.dungeon-room-travelling #secondary-actions{pointer-events:none}
@keyframes castle-room-route-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes castle-room-torch-light{from{opacity:0;r:2}to{opacity:1;r:5}}
@media(max-width:350px){#castle-room-view .castle-current-pin>img{width:31px;height:31px}#world.in-dungeon #dungeon-location-actions{min-width:73px}#world.in-dungeon #dungeon-location-actions>button{padding:6px 8px;font-size:10px}#world.in-dungeon .destination-copy{gap:6px 7px!important}#world.in-dungeon .destination-top{gap:8px}}
@media(prefers-reduced-motion:reduce){#castle-room-view .castle-route-next,#castle-room-view .castle-room-torch{animation:none!important}}
#castle-room-view .castle-room-image{opacity:0;transition:opacity .25s ease-out}
#castle-room-view .castle-room-image.is-ready{opacity:1}
@media(prefers-reduced-motion:reduce){#castle-room-view .castle-room-image{transition:none}}
#castle-room-view .castle-journey-caption{bottom:32px}
#castle-room-view .castle-future-fog{fill:var(--dungeon-fog,#101b23)}
#castle-room-view .castle-new-open{opacity:0}
#castle-room-view.is-drawing-route .castle-new-open{animation:castle-room-open-next .92s ease-out both}
#world.in-dungeon #dungeon-location-actions{min-height:58px;align-content:center}
@keyframes castle-room-open-next{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){#castle-room-view .castle-new-open{animation:none!important;opacity:1}}
#castle-room-view .castle-route-next{stroke-dasharray:.014 .018;stroke-dashoffset:0;animation:none!important}
#castle-room-view .castle-route-reveal{stroke-dasharray:1;stroke-dashoffset:1}
#castle-room-view.is-drawing-route .castle-route-reveal{animation:castle-room-route-draw .9s ease-out both}
@media(prefers-reduced-motion:reduce){#castle-room-view .castle-route-reveal{animation:none!important;stroke-dashoffset:0}}
#castle-room-view .castle-room-current{display:block}
#castle-room-view .castle-room-image{position:absolute;inset:0;min-width:0;min-height:0}
@media(max-width:899px){#world.in-dungeon .destination.location-here{grid-template-rows:12px 58px 8px minmax(0,1fr);gap:7px}#world.in-dungeon .destination .destination-top{height:58px;min-height:58px}}
@media(min-width:900px){
 #world.in-dungeon #map{position:absolute;left:20px;right:362px;top:68px;bottom:16px;height:auto;max-height:none}
 #world.in-dungeon #destination{top:74px;bottom:16px;right:20px;left:auto;width:322px;height:auto!important;min-height:0;max-height:none;grid-template-rows:14px 62px 8px minmax(0,1fr);padding:16px;gap:10px}
 #world.in-dungeon .destination .destination-top{height:62px;min-height:62px;flex-wrap:nowrap}
 #world.in-dungeon .destination .destination-copy{width:auto}
 #world.in-dungeon .world-choice-scene{min-height:70px}
}
@media(min-width:900px){#world.in-dungeon #destination{height:330px!important;max-height:calc(100% - 90px);bottom:auto}#world.in-dungeon .world-choice-scene{max-height:112px}}

.frontier-ammo{display:flex;align-items:center;gap:9px;margin:8px 0;padding:8px 10px;border:1px solid #d9d9b9;border-radius:10px;background:#f4f3e5;color:#416b62}.frontier-ammo>img{width:30px;height:30px;object-fit:contain}.frontier-ammo>span{flex:1;display:grid;gap:3px}.frontier-ammo small{font-size:10px;color:#8a8c73}.frontier-ammo>b{font-size:15px}.role-options:has([data-online-role="rogue"]){grid-template-columns:repeat(2,minmax(0,1fr))}

.ammo-select-list{display:grid;gap:9px}.ammo-select-row{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid #d6cfaa;background:#f6f3e5;border-radius:9px;text-align:left}.ammo-select-row>img{width:45px;height:45px;object-fit:contain}.ammo-select-row>span{flex:1;display:grid;gap:5px}.ammo-equipment-slot{display:grid;justify-items:center;align-content:center;gap:5px}.ammo-equipment-slot>img{width:48px;height:55px;object-fit:contain}.ammo-equipment-slot>b{font-size:10px}.ammo-equipment-slot>strong{font-size:12px;color:#81764c}.ammo-mentor-speech{padding:12px;border:1px solid #bdcba9;background:#e8eedc;border-radius:10px;color:#40675b}.ammo-mentor-speech p{margin:7px 0 0;font-size:13px;line-height:1.6}.ammo-recipes{display:grid;gap:10px;margin-top:12px}.ammo-recipes article{padding:10px;border:1px solid #d7cba5;border-radius:10px;background:#faf7ed}.ammo-recipes header{display:flex;align-items:center;gap:9px}.ammo-recipes header img{width:46px;height:46px;object-fit:contain}.ammo-recipes header span{display:grid;gap:4px}.ammo-recipes small{font-size:10px;color:#8d856b}.ammo-recipes ul{list-style:none;padding:0;margin:9px 0}.ammo-recipes li{display:flex;justify-content:space-between;gap:10px;font-size:12px;padding:4px 0}.ammo-recipes button{width:100%}

.hero-combat-details{margin-top:7px;border-top:1px solid #ded9bd}.hero-combat-details>summary{display:flex;justify-content:space-between;align-items:center;gap:10px;list-style:none;padding:9px 2px;color:#577563;font-size:11px;font-weight:600;cursor:pointer;touch-action:pan-y}.hero-combat-details>summary::-webkit-details-marker{display:none}.hero-combat-details[open]>summary .chevron{transform:rotate(180deg)}.hero-elemental-resistances{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding-top:8px;margin-top:8px;border-top:1px solid #e1dcc2}.hero-elemental-resistances>span{display:flex;align-items:center;gap:5px;min-width:0;font-size:9px;color:#7c856c;padding:4px}.hero-elemental-resistances img{width:20px;height:20px;object-fit:contain}.hero-elemental-resistances span>span{flex:1}.hero-elemental-resistances b{font-size:11px;color:#4e715f}

/* Compact elemental ratings share the quiet UI ink of the other characteristics. */
.hero-elemental-resistances{grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding-top:7px;margin-top:7px}
.hero-elemental-resistances>button{display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;padding:6px 2px;border:0;border-right:1px solid #e4dec5;border-radius:0;background:transparent;text-align:left;color:#57745b;cursor:pointer}
.hero-elemental-resistances>button:last-child{border-right:0}.hero-elemental-resistances>button[aria-expanded=true]{background:#e9ecd9;border-radius:7px}.hero-elemental-resistances>button>img{width:19px;height:22px;object-fit:contain}.hero-elemental-resistances>button>span{display:grid;gap:3px}.hero-elemental-resistances strong{font-size:11px;line-height:1}.hero-elemental-resistances small{font-size:8px;line-height:1.2;color:#8b8b71}
.hero-stats-chevron{width:17px;height:17px;fill:none;stroke:#638477;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;transition:transform .24s ease}.hero-combat-details>summary[aria-expanded=true]>.hero-stats-chevron{transform:rotate(180deg)}.hero-stats-body{min-height:0}.elemental-stat-explanation>strong{display:flex;align-items:center;gap:6px}.elemental-stat-explanation>strong>img{width:19px;height:21px}.elemental-stat-explanation>strong>span{margin-left:auto}
#app.app-battle #world .world-header{visibility:hidden;pointer-events:none}
@media(prefers-reduced-motion:reduce){.hero-stats-chevron{transition:none}}

/* Elemental ratings share the exact compact geometry of the other stat cells. */
#hero .hero-elemental-resistances{padding:0;margin:0;border-top:1px solid #e1dcc2}
#hero .hero-elemental-resistances>button{display:grid;grid-template-columns:14px minmax(0,1fr);gap:3px;align-items:center;justify-content:stretch;min-height:0;height:43px;padding:4px 3px;box-sizing:border-box;border-radius:0;background:transparent}
#hero .hero-elemental-resistances>button>img{width:14px;height:17px;display:block;justify-self:center}
#hero .hero-elemental-resistances>button>span{display:grid;gap:2px;min-width:0;text-align:left}
#hero .hero-elemental-resistances strong{font-size:11px;line-height:1.18;font-variant-numeric:tabular-nums}
#hero .hero-elemental-resistances small{font-size:7px;line-height:1.2}
@media(max-width:350px){#hero .hero-elemental-resistances>button{grid-template-columns:11px minmax(0,1fr);gap:2px;padding-inline:2px}#hero .hero-elemental-resistances>button>img{width:11px;height:14px}#hero .hero-elemental-resistances strong{font-size:10px}}
#hero .hero-elemental-resistances>button{transition:background-color .2s ease,border-radius .2s ease}
#hero .hero-elemental-resistances>button[aria-expanded=true]{background:#eaf0df7a;border-radius:7px}
#hero .hero-critical-art{width:14px;height:18px;object-fit:contain;display:block}
@media(max-width:350px){#hero .hero-critical-art{width:11px;height:15px}}
@media(prefers-reduced-motion:reduce){#hero .hero-elemental-resistances>button{transition:none}}

/* Element selection uses exactly the same frame as the other statistics. */
#hero .hero-elemental-resistances>button{position:relative;transition:background .18s,box-shadow .18s;}
#hero .hero-elemental-resistances>button[aria-expanded="true"]{background:linear-gradient(135deg,#edf4e5,#f6f5e7);box-shadow:inset 0 0 0 1px #79a48c70;border-radius:7px;}
#hero .hero-elemental-resistances>button[aria-expanded="true"]::after{content:"";position:absolute;bottom:2px;left:32%;right:32%;height:2px;border-radius:2px;background:#79a48c;}
#valgard-effect-note,#valgard-effect-note .effect-note-body{scrollbar-width:none!important;scrollbar-gutter:auto!important;}
#valgard-effect-note::-webkit-scrollbar,#valgard-effect-note .effect-note-body::-webkit-scrollbar{width:0!important;height:0!important;display:none!important;}
#valgard-effect-note .effect-note-extra{display:block;margin-top:6px;}
#valgard-effect-note .effect-note-extra .effect-note-text{margin:5px 0 0;}
.world-panel-body:has(.world-pit),.world-pit-detail,.world-pit-list{scrollbar-width:none!important;scrollbar-gutter:auto!important;}
.world-panel-body:has(.world-pit)::-webkit-scrollbar,.world-pit-detail::-webkit-scrollbar,.world-pit-list::-webkit-scrollbar{display:none!important;width:0!important;height:0!important;}

/* Cost and cooldown tiles share a centered two-line value, including linked numbers. */
#knowledge-root[data-reader-skill="true"] .knowledge-reader-content>dl:not(.reader-monster-stats)>div{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:10px 8px;min-height:76px;}
#knowledge-root[data-reader-skill="true"] .knowledge-reader-content>dl:not(.reader-monster-stats) dt{flex:0 0 auto;width:100%;text-align:center;line-height:1.2;}
#knowledge-root[data-reader-skill="true"] .knowledge-reader-content>dl:not(.reader-monster-stats) dd{display:block;flex:0 0 auto;width:100%;margin:0;text-align:center;line-height:1.3;text-indent:0;}
#knowledge-root[data-reader-skill="true"] .knowledge-reader-content>dl:not(.reader-monster-stats) dd .effect-note-link{display:inline;padding:0;margin:0;vertical-align:baseline;}

#knowledge-root .mastery-detail>.skill-facts>.skill-fact{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-height:76px;padding:10px 8px;}
#knowledge-root .mastery-detail>.skill-facts>.skill-fact dt,#knowledge-root .mastery-detail>.skill-facts>.skill-fact dd{flex:0 0 auto;display:block;width:100%;margin:0;text-align:center;text-indent:0;}
#knowledge-root .mastery-detail>.skill-facts>.skill-fact dd{line-height:1.25;}

/* Content stays compact; trait badges do not offset the creature's art. */
#world .monster-collectible:has(.opponent-traits) .opponent-art{padding-right:1px}
#world .monster-collectible .opponent-back-behavior{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;text-align:left;font-size:9px;line-height:1.4;white-space:normal;padding:5px 0;margin:0}
.world-pit-detail .world-pit-description{flex:0 0 auto;min-height:0;margin:0 0 5px}

#other-travelers .remote-traveler>span{display:none!important}
/* 04.11.2026: a single pass fills the row instead of sitting at its content width */
#location-inline-panel .guard-pass-card:only-child{flex:1 1 100%!important;width:auto!important;max-width:100%!important}

/* 05.11.2026: карточки сбора с четырьмя местами, заметный разговор со стражем, понятный пропуск */
#location-inline-panel .dungeon-group-title>b{flex:none;padding:3px 6px;border:1px solid #d4d9bc;border-radius:5px;background:#e9eedb;font:500 11px/1.2 Interface,sans-serif;color:#6d805a}
#location-inline-panel .dungeon-lobbies-grid{display:flex!important;flex-direction:column;align-items:stretch;gap:8px;overflow:visible}
#location-inline-panel .dungeon-lobbies-grid .dungeon-lobby-card{display:flex;flex-direction:column;flex:none;width:100%;max-width:100%;min-width:0;box-sizing:border-box;gap:8px;padding:9px}
#location-inline-panel .dungeon-lobby-card>*{flex:none;min-width:0}
#location-inline-panel .dungeon-lobby-card>header{align-items:center;justify-content:flex-start}
#location-inline-panel .dungeon-lobby-head{flex:1;min-width:0}
#location-inline-panel .dungeon-lobby-head strong{display:block;font:500 13px/1.25 Georgia,'Noto Serif',serif;color:#466b59}
#location-inline-panel .dungeon-lobby-head small{display:block;margin-top:2px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font:400 10.5px/1.25 Interface,sans-serif;color:#918569}
#location-inline-panel .dungeon-lobby-seats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:0;margin:0;list-style:none}
#location-inline-panel .dungeon-seat{display:grid;justify-items:center;align-content:start;gap:2px;min-width:0;padding:4px 2px 5px;border:1px solid #e0d6ba;border-radius:7px;background:#fffbf0;text-align:center}
#location-inline-panel .dungeon-seat.is-leader{border-color:#c6ad6b;background:#fdf6df}
#location-inline-panel .dungeon-seat>img{width:34px;height:38px;object-fit:contain;object-position:center bottom}
#location-inline-panel .dungeon-seat>strong{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font:500 10px/1.25 Interface,sans-serif;color:#466b59}
#location-inline-panel .dungeon-seat>small{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font:400 8.5px/1.2 Interface,sans-serif;color:#938a70}
#location-inline-panel .dungeon-seat.is-free{min-height:60px;align-content:center;border-style:dashed;border-color:#d5ccb0;background:none}
#location-inline-panel .dungeon-seat.is-free>span{font:400 20px/38px Interface,sans-serif;color:#b9ae8e}
#location-inline-panel .dungeon-groups-empty{display:flex;align-items:center;justify-items:start;gap:10px;padding:10px 12px;text-align:left}
#location-inline-panel .dungeon-groups-empty>img{flex:none;width:36px;height:36px}
#location-inline-panel .dungeon-groups-empty>span{min-width:0}
#location-inline-panel .dungeon-groups-empty strong{display:block;font:500 14px/1.3 Georgia,'Noto Serif',serif}
#location-inline-panel .dungeon-groups-empty p{margin:2px 0 0;font:400 11px/1.35 Interface,sans-serif;color:#93886d}
.guard-pass-label{display:block;margin-bottom:1px;font:600 9.5px/1.2 Interface,sans-serif;letter-spacing:.3px;color:#a2977b}
/* 05.11.2026: выбор пропуска — нижняя панель, как «Сражения рядом»: ряд карточек со свайпом и скрытой полосой прокрутки */
#pass-sheet{position:fixed;inset:0;z-index:80;pointer-events:none}
#pass-sheet[hidden]{display:none}
#pass-sheet.is-open{pointer-events:auto}
#pass-sheet .pass-sheet-scrim{position:absolute;inset:0;background:rgba(30,26,14,.32);opacity:0;transition:opacity .28s ease}
#pass-sheet.is-open .pass-sheet-scrim{opacity:1}
#pass-sheet .pass-sheet-panel{position:absolute;left:0;right:0;bottom:0;max-height:82vh;display:flex;flex-direction:column;padding:6px 12px calc(12px + env(safe-area-inset-bottom));border-radius:16px 16px 0 0;background:#f8f4e4;box-shadow:0 -6px 24px rgba(40,32,10,.25);transform:translateY(102%);transition:transform .3s cubic-bezier(.2,.8,.2,1)}
#pass-sheet.is-open .pass-sheet-panel{transform:none}
#pass-sheet .pass-sheet-panel>header{position:relative;display:flex;align-items:center;justify-content:center;min-height:38px;touch-action:none;cursor:grab}
#pass-sheet .pass-sheet-grip{position:absolute;top:0;left:50%;width:36px;height:4px;margin-left:-18px;border-radius:2px;background:#c8cdb0}
#pass-sheet h2{margin:6px 0 0;font:500 16px/1.3 Georgia,'Noto Serif',serif;color:#2f4a30}
#pass-sheet .pass-sheet-panel>header>button{position:absolute;right:0;top:4px;width:32px;height:32px;border:1px solid #d8cfae;border-radius:9px;background:#fffdf3;color:#4b5f45;font-size:18px;line-height:1}
#pass-sheet .pass-sheet-rule{margin:2px 0 9px;text-align:center;font:400 11px/1.3 Interface,sans-serif;color:#7a7660}
#pass-sheet .guard-pass-pages{display:flex;align-items:stretch;gap:9px;margin:0 -12px;padding:1px 12px 3px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scroll-padding:0 12px;touch-action:pan-x;cursor:grab}
#pass-sheet .guard-pass-pages::-webkit-scrollbar{display:none;width:0;height:0}
#pass-sheet .guard-pass-pages.is-dragging{cursor:grabbing;user-select:none;scroll-snap-type:none}
#pass-sheet .guard-pass-card{flex:0 0 min(80%,290px);min-width:0;display:flex;box-sizing:border-box;border:1px solid #cbbd98;border-radius:11px;background:linear-gradient(145deg,#fffaf0,#f1e8d0);box-shadow:inset 0 0 0 1px #fffdf4;scroll-snap-align:start;overflow:hidden}
#pass-sheet .guard-pass-card:only-child{flex:1 1 100%}
#pass-sheet .guard-pass-choice{display:flex;flex-direction:column;gap:7px;width:100%;box-sizing:border-box;padding:10px 11px;border:0;background:none;box-shadow:none;text-align:left;font-family:Interface,sans-serif;color:#526c58;touch-action:pan-x}
#pass-sheet .guard-pass-lead{display:flex;align-items:center;gap:8px;padding-bottom:7px;border-bottom:1px solid #ded0ae}
#pass-sheet .guard-pass-lead>.dungeon-permit-icon{flex:0 0 36px;width:36px;height:40px}
#pass-sheet .guard-pass-title{flex:1;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:8px}
#pass-sheet .guard-pass-lead strong{display:block;min-width:0;font:500 15px/1.25 Georgia,'Noto Serif',serif;color:#466b59}
#pass-sheet .dungeon-pass-level{flex:none;margin:0;padding:2px 6px;border:1px solid #c9c9ac;border-radius:5px;background:#e9ecd9;font:500 10px/1.15 Interface,sans-serif;color:#7c8664}
#pass-sheet .guard-pass-conditions{flex:1;display:grid;align-content:start;gap:7px}
#pass-sheet .guard-pass-risks,#pass-sheet .guard-pass-rewards{display:grid;gap:3px;font:400 12.5px/1.35 Interface,sans-serif}
#pass-sheet .guard-pass-risks{color:#996b4e}
#pass-sheet .guard-pass-rewards{padding-top:6px;border-top:1px solid #ded0ae;color:#617650}
#pass-sheet .guard-pass-stat{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
#pass-sheet .guard-pass-stat>b{flex:none;font:inherit;font-weight:600;white-space:nowrap}
#pass-sheet .guard-pass-use{display:block;margin-top:auto;padding:8px;border-radius:8px;background:#447d6b;color:#fffaf0;font:500 12.5px/1.25 Interface,sans-serif;text-align:center}
#pass-sheet .dungeon-message{margin:7px 0 0;text-align:center;font:400 12px/1.4 Interface,sans-serif;color:#a95743}
#pass-sheet .dungeon-message:empty{display:none}
@media(prefers-reduced-motion:reduce){#pass-sheet .pass-sheet-panel,#pass-sheet .pass-sheet-scrim{transition:none}}
.reduced-motion #pass-sheet .pass-sheet-panel,.reduced-motion #pass-sheet .pass-sheet-scrim{transition:none}
/* значок пропуска на карточке сбора мягко мигает: по нажатию открывается описание пропуска */
#location-inline-panel .dungeon-lobby-card .dungeon-pass-trigger{position:relative}
#location-inline-panel .dungeon-lobby-card .dungeon-pass-trigger:after{content:"";position:absolute;inset:-1px;border-radius:7px;box-shadow:0 0 0 2px #c79a51,0 0 9px 2px #d9b45f99;opacity:0;pointer-events:none;animation:dungeon-pass-blink 2.2s ease-in-out infinite}
@keyframes dungeon-pass-blink{0%,100%{opacity:0}50%{opacity:1}}
@media(prefers-reduced-motion:reduce){#location-inline-panel .dungeon-lobby-card .dungeon-pass-trigger:after{animation:none;opacity:.6}}
.reduced-motion #location-inline-panel .dungeon-lobby-card .dungeon-pass-trigger:after{animation:none;opacity:.6}
/* 05.11.2026: вкладки группы — спокойная строка с подчёркиванием; вопрос с правилами рядом с разворотом; участник открывает профиль */
#location-inline-panel .dungeon-group-tabs{gap:0;padding:0;border:0;border-bottom:1px solid #ddd2b4;border-radius:0;background:none}
#location-inline-panel .dungeon-group-tabs button{position:relative;display:flex;align-items:center;justify-content:center;gap:5px;min-height:34px;padding:6px 4px 8px;border:0;border-radius:0;background:none;font:500 13px/1.2 Interface,sans-serif;color:#94896b}
#location-inline-panel .dungeon-group-tabs button[aria-pressed=true]{background:none;color:#3f6b59}
#location-inline-panel .dungeon-group-tabs button[aria-pressed=true]:after{content:"";position:absolute;left:18%;right:18%;bottom:-1px;height:2px;border-radius:2px;background:#447d6b}
#location-inline-panel .dungeon-group-tabs small{display:inline-grid;place-items:center;min-width:16px;height:16px;padding:0 4px;box-sizing:border-box;border-radius:8px;background:#e9eedb;font:500 10px/1 Interface,sans-serif;color:#6d805a}
.world-panel-help{display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px;min-height:26px;padding:0;border:1px solid #d4c6a5;border-radius:6px;background:#fbf7e9;color:#6f8973;font:600 15px/1 Georgia,'Noto Serif',serif;touch-action:manipulation}
.dungeon-help-emblem{display:grid;place-items:center;width:84px;height:84px;margin:14px auto 12px;border:2px solid #c9b27c;border-radius:50%;background:#f7efd8;box-shadow:inset 0 0 0 4px #fffaf0;font:500 46px/1 Georgia,'Noto Serif',serif;color:#8a7443}
.dungeon-help-rules{display:grid;gap:8px;margin:0;padding:11px 0 2px;border-top:1px solid #ded2b4;list-style:none;font:400 13.5px/1.45 Interface,sans-serif;color:#566c5a;text-align:center}
#location-inline-panel [data-member-profile]{cursor:pointer;transition:background-color .15s ease}
#location-inline-panel [data-member-profile]:active{background:#efe9d3}
#location-inline-panel [data-member-profile]:focus-visible{outline:2px solid #669487;outline-offset:-2px}
.world-panel-help>img{display:block;width:18px;height:18px;object-fit:contain}
.dungeon-help-emblem.is-art{border-radius:18px;background:#f7efd8}
.dungeon-help-emblem.is-art>img{width:56px;height:56px;object-fit:contain}
.dungeon-settings-choice{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0 2px;border-top:1px solid #ded2b4;text-align:left}
.dungeon-settings-choice strong{display:block;font:500 14px/1.3 Interface,sans-serif;color:#466b59}
.dungeon-settings-choice small{display:block;margin-top:2px;font:400 11.5px/1.35 Interface,sans-serif;color:#8d8668}
.dungeon-settings-choice .toggle{flex:none}
/* 05.11.2026: значки шапки стоят с одинаковым шагом; пропуск не выезжает заново при смене экрана */
#world .brand-row{gap:6px}
#world #header-dungeon-pass,#world #header-overload{margin:0;animation:none}
.dungeon-settings-note{margin:0 0 11px;font:400 13px/1.5 Interface,sans-serif;color:#6f7560;text-align:center}
.dungeon-settings-choice{align-items:center;padding:10px 12px;border:1px solid #ded2b4;border-radius:10px;background:#fffbef}
.dungeon-settings-choice strong{font:500 13.5px/1.3 Interface,sans-serif}
.dungeon-settings-choice .toggle{width:40px;height:23px;min-width:40px;min-height:23px;padding:0;border:0;border-radius:999px}
.dungeon-settings-choice .toggle:after{width:17px;height:17px;top:3px;left:3px}
.dungeon-settings-choice .toggle[aria-checked="true"]:after{transform:translateX(17px)}
.dungeon-help-emblem.is-danger{border-color:#c98f7c;background:#fbeee7}
.dungeon-weight-now{margin:0 0 8px;font:600 15px/1.3 Interface,sans-serif;color:#a3412f;text-align:center;font-variant-numeric:tabular-nums}

/* 08.11.2026: replies appear whole, so the hidden sizing copy is not needed; it wrapped differently and let a third line spill out of the bubble */
.guard-typed{display:block!important}.guard-typed>.guard-text-space{display:none!important}

/* 08.11.2026: the old 2-line limit for the place description also caught the guard's reply paragraph */
#world .destination [data-guardian-conversation] p,#world [data-guardian-conversation] .guard-bubble{max-height:none!important;overflow:visible!important}


/* Dialogue paragraphs need their full height; destination summaries retain their two-line cap. */
#world .destination [data-guardian-conversation] .guard-bubble{display:block;max-height:none;overflow:visible;-webkit-line-clamp:unset}

/* 11.11.2026: crit defence is the fifth cell of the elemental row */#hero .hero-elemental-resistances{grid-template-columns:repeat(4,minmax(0,1fr)) minmax(0,1.35fr)}#hero .hero-elemental-resistances>button.hero-crit-guard{border-right:0}#hero .hero-crit-guard small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:-.02em}
