:root{--hud-edge-gap:8px;--character-dialog-width:540px;--eo-brown:#7b5a29;--eo-font-color-light:#f0f0c8;--theme-accent:#efc896;--theme-secondary:#c18b5e;--theme-secondary-bg-rgb:58 37 23;--theme-border-color:color-mix(in oklab, var(--theme-accent), var(--theme-secondary));--theme-frame:color-mix(in srgb, var(--theme-border-color) 52%, transparent);--theme-surface:linear-gradient(135deg, var(--theme-bg-dark), var(--theme-bg-secondary));--theme-heading:linear-gradient(110deg, var(--theme-bg-light), var(--theme-bg-secondary));--theme-text:#f4e7d1;--theme-dim:#d7c1a4;--theme-very-dim:#b89e80;--theme-accent-r:239;--theme-accent-g:200;--theme-accent-b:150;--ui-opacity:.85;--ui-blur:blur(14px);--theme-bg-dark-rgb:25 23 21;--theme-bg-medium-rgb:43 34 27;--theme-bg-light-rgb:73 47 30;--theme-input-bg-rgb:17 15 14;--theme-bg-dark:rgb(var(--theme-bg-dark-rgb) / var(--ui-opacity));--theme-bg-medium:rgb(var(--theme-bg-medium-rgb) / var(--ui-opacity));--theme-bg-light:rgb(var(--theme-bg-light-rgb) / var(--ui-opacity));--theme-bg-secondary:rgb(var(--theme-secondary-bg-rgb) / var(--ui-opacity));--theme-input-bg:rgb(var(--theme-input-bg-rgb) / var(--ui-opacity))}@font-face{font-family:w95fa;src:url(/w95fa.woff2);font-weight:400;font-style:normal}html,body,#container{background:#000}body{margin:0;padding:0;overflow:hidden}*{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;font-family:w95fa!important}::selection{color:#000;background:#e4cdbc}@media (aspect-ratio<=4/3){#container{width:133.333vh;max-width:100vw;height:100vh}}#container{width:100vw;height:75vw;max-height:100vh;position:relative;overflow:hidden}@media (aspect-ratio<=4/3){#container{height:100vh}}#game{image-rendering:pixelated;z-index:0;display:block;position:absolute;top:0;left:50%;transform:translate(-50%)}@media (aspect-ratio>=16/9){#container{height:100vh}#game{transform:translate(-50%)}}#warp-fade{z-index:0;opacity:0;pointer-events:none;background:#000;transition:opacity .37s ease-out;position:absolute;inset:0}#warp-fade.active{opacity:1;transition-duration:.345s}@media (prefers-reduced-motion:reduce){#warp-fade,#warp-fade.active{transition:none}}#ui{z-index:1;scrollbar-width:thin;scrollbar-color:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .3) transparent;width:100%;height:100%;display:flex;position:absolute;overflow:hidden}#ui ::-webkit-scrollbar{width:6px;height:6px}#ui ::-webkit-scrollbar-track{background:0 0}#ui ::-webkit-scrollbar-thumb{background:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .3);border-radius:3px}#ui ::-webkit-scrollbar-thumb:hover{background:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .5)}#ui ::-webkit-scrollbar-corner{background:0 0}#dialogs{z-index:1050;pointer-events:none;justify-content:center;align-items:center;gap:1em;width:100%;height:100%;display:flex;position:absolute;top:0}#dialogs>*{pointer-events:auto}@keyframes pulse{0%{font-size:1em;rotate:-1deg}50%{font-size:1.1em;rotate:2deg}to{font-size:1em;rotate:-1deg}}#cover{z-index:1000;background:#0000001a;width:100%;height:100%;position:fixed;top:0;left:0}.title{color:#f0f0c8;font-size:13px}.message{color:#fff;font-size:12px}#btn-attack{background-image:url(/attack.png)}#btn-toggle-sit{background-image:url(/sit.png)}div.icon{background:url(/gfx/gfx002/132.png);width:13px;height:13px}div.icon[data-id="-1"]{background:0 0}div.icon[data-id="1"]{background-position-y:-13px}div.icon[data-id="2"]{background-position-y:-26px}div.icon[data-id="3"]{background-position-y:-39px}div.icon[data-id="4"]{background-position-y:-52px}div.icon[data-id="5"]{background-position-y:-65px}div.icon[data-id="6"]{background-position-y:-78px}div.icon[data-id="7"]{background-position-y:-91px}div.icon[data-id="8"]{background-position-y:-104px}div.icon[data-id="9"]{background-position-y:-117px}div.icon[data-id="10"]{background-position-y:-130px}div.icon[data-id="11"]{background-position-y:-143px}div.icon[data-id="12"]{background-position-y:-156px}div.icon[data-id="13"]{background-position-y:-169px}div.icon[data-id="14"]{background-position-y:-182px}div.icon[data-id="15"]{background-position-y:-195px}div.icon[data-id="16"]{background-position-y:-208px}div.icon[data-id="17"]{background-position-y:-221px}div.icon[data-id="18"]{background-position-y:-234px}div.icon[data-id="19"]{background-position-y:-247px}div.icon[data-id="20"]{background-position-y:-260px}div.icon[data-id="21"]{background-position-y:-273px}div.icon[data-id="22"]{background-position-y:-286px}div.icon[data-id="23"]{background-position-y:-299px}.img-label{--bg-url:"";--bg-x:0;--bg-y:0;--width:0;--height:0;background-color:#0000;background:var(--bg-url) var(--bg-x) var(--bg-y);width:var(--width);height:var(--height);-webkit-user-select:none;user-select:none;display:block}.img-label[data-id=account-name]{--bg-url:url(/gfx/gfx001/112.png);--bg-x:0;--bg-y:0;--width:149px;--height:16px}.img-label[data-id=password]{--bg-url:url(/gfx/gfx001/112.png);--bg-x:0;--bg-y:-17px;--width:149px;--height:12px}.img-label[data-id=confirm-password]{--bg-url:url(/gfx/gfx001/112.png);--bg-x:0;--bg-y:-29px;--width:149px;--height:16px}.img-label[data-id=real-name]{--bg-url:url(/gfx/gfx001/112.png);--bg-x:0;--bg-y:-44px;--width:149px;--height:16px}.img-label[data-id=location]{--bg-url:url(/gfx/gfx001/112.png);--bg-x:0;--bg-y:-58px;--width:149px;--height:16px}.img-label[data-id=email]{--bg-url:url(/gfx/gfx001/112.png);--bg-x:0;--bg-y:-76px;--width:149px;--height:16px}.img-label[data-id=gender],.img-label[data-id=hair-color],.img-label[data-id=hair-style],.img-label[data-id=skin]{--width:auto;--height:auto;color:var(--theme-accent);text-align:right;background:0 0;min-width:60px;font-size:11px;line-height:24px}.themed-btn{background:var(--theme-bg-dark);border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .25);min-width:70px;color:var(--theme-accent);letter-spacing:.5px;cursor:pointer;white-space:nowrap;border-radius:4px;justify-content:center;align-items:center;padding:6px 18px;font-family:inherit;font-size:12px;transition:background .15s,border-color .15s,color .15s;display:inline-flex}.themed-btn:hover{background:var(--theme-bg-light);border-color:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .45);color:var(--theme-text)}.themed-btn:active{background:var(--theme-bg-medium);transform:translateY(1px)}.themed-btn.lg{letter-spacing:.8px;border-radius:6px;min-width:140px;padding:10px 28px;font-size:14px}.themed-btn.sm{border-radius:3px;min-width:0;padding:2px 6px;font-size:11px;line-height:1}.themed-btn.danger:hover{color:#ef9a9a;border-color:#ef9a9a66}.themed-btn.primary:hover{color:#a5d6a7;border-color:#96d4aa66}#offset-tweaker{color:#fff;position:absolute;top:20px;right:100px}#offset-tweaker input{width:40px}.slider-container{background:0 0;width:calc(100% - 28px);height:16px;margin:0 14px 8px;position:relative}.slider-thumb{touch-action:none;-webkit-user-select:none;user-select:none;background:url(/gfx/gfx002/129.png) 0 -75px;width:16px;height:15px;position:absolute;top:0}.slider-thumb:hover{background-position:0 -90px}.hidden{display:none!important}:root{--ui-scale:1}@media (width<=768px){:root{--ui-scale:.8}.stat-label{font-size:10px}}@media (width<=480px){:root{--ui-scale:.6}.stat-label{font-size:9px}}#mobile-hud{top:var(--hud-edge-gap);left:var(--hud-edge-gap);right:var(--hud-edge-gap);z-index:1020;-webkit-backdrop-filter:var(--ui-blur);background:#000000bf;justify-content:space-between;align-items:center;padding:6px 48px 6px 10px;display:flex;position:fixed}#mobile-hud .hud-bars{flex:1;align-items:center;gap:8px;display:flex}#mobile-hud .hud-bar-label{min-width:18px;font-family:monospace;font-size:10px;font-weight:700}#mobile-hud .hp-label{color:#e05050}#mobile-hud .tp-label{color:#40c0d0}#mobile-hud .exp-label{color:#d8c040}#mobile-hud .hud-bar-track{background:#333;border-radius:5px;flex:1;height:10px;position:relative;overflow:hidden}#mobile-hud .hud-bar-fill{border-radius:5px;height:100%;transition:width .3s}#mobile-hud .hud-bar-fill.hp{background:linear-gradient(90deg,#c03030,#e05050)}#mobile-hud .hud-bar-fill.tp{background:linear-gradient(90deg,#2090a0,#40c0d0)}#mobile-hud .hud-bar-fill.exp{background:linear-gradient(90deg,#b0982c,#d8c040)}#mobile-hud .hud-bar-value{color:#fff;text-shadow:0 0 2px #000,0 0 2px #000;pointer-events:none;justify-content:center;align-items:center;font-family:monospace;font-size:7px;display:flex;position:absolute;inset:0}#mobile-hud .hud-actions{align-items:center;gap:10px;margin-left:8px;display:flex}#mobile-hud .hud-badge{cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:none;padding:0;position:relative}#mobile-hud .badge-icon{font-size:18px;line-height:1}#mobile-hud .badge-count{color:#fff;background:#e05050;border-radius:8px;justify-content:center;align-items:center;min-width:16px;height:16px;padding:0 3px;font-family:monospace;font-size:9px;font-weight:700;display:flex;position:absolute;top:-4px;right:-8px}.heart-sprite.low-health{animation:1s ease-in-out infinite pulse-sprite}@keyframes pulse-sprite{0%,to{opacity:1}50%{opacity:.7}}.scroll-handle{background:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .3);touch-action:none;-webkit-user-select:none;user-select:none;border-radius:3px;width:16px;height:15px;position:absolute;right:16px}.menu-item{color:#fff;width:224px;font-size:12px;position:relative}.menu-item:before{content:"";opacity:0;pointer-events:none;z-index:0;box-sizing:border-box;background-color:#ffffff0d;position:absolute;inset:0 0 0 -8px}.menu-item:hover:before{opacity:1}.menu-label{position:absolute;top:6px;left:53px}.menu-item.item .menu-label,.menu-item.item .menu-description{left:62px}.menu-description{position:absolute;top:19px;left:53px}.link{text-decoration:underline}.menu-item.item{cursor:pointer;height:38px;image-rendering:pixelated;background-image:url(/gfx/gfx003/100.png);background-position:0;background-repeat:no-repeat;background-size:auto;grid-template-columns:48px auto;align-items:center;width:210px;padding:0 .5rem;display:grid;position:relative}.menu-item.item .tooltip{color:#fff;white-space:nowrap;opacity:0;pointer-events:none;z-index:10;background-color:#000;border-radius:4px;padding:4px 8px;font-size:12px;position:absolute;top:0;left:25%}.menu-item.item img:hover~.tooltip{opacity:.9}.menu-item-img{object-fit:contain;max-width:48px;max-height:48px;image-rendering:pixelated;z-index:1;justify-self:center;position:relative}.menu-item.text{min-height:12px}.menu-item-icon{background-color:#000;background-image:url(/gfx/gfx002/127.png);width:31px;height:31px}.menu-item-icon[data-id="0"]{background-position-y:-291px}.menu-item-icon[data-id="1"]{background-position:-31px -291px}.menu-item-icon[data-id="2"]{background-position:-63px -291px}.menu-item-icon[data-id="3"]{background-position:-94px -291px}.menu-item-icon[data-id="4"]{background-position:-124px -291px}.menu-item-icon[data-id="5"]{background-position:-155px -291px}.menu-item-icon[data-id="20"]{background-position:-63px -353px}.menu-item-icon[data-id="21"]{background-position:-94px -353px}.debug{width:100%;height:auto;position:static}.dialog-md{background:var(--theme-bg-dark);border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .25);width:320px;min-height:260px;color:var(--theme-text);-webkit-user-select:none;user-select:none;border-radius:8px;flex-direction:column;font-family:inherit;display:flex;overflow:hidden;box-shadow:0 4px 24px #0009}.dialog-tabs{border-bottom:1px solid color-mix(in srgb, var(--theme-accent) 24%, transparent);flex:none;gap:5px;padding:8px 10px;display:flex}.dialog-tabs button{flex:1;min-width:0;min-height:32px;padding-inline:4px}.dialog-tabs button[aria-pressed=true]{color:var(--theme-text);border-color:var(--theme-accent);background:var(--theme-bg-light)}.dialog-md .dialog-header{color:var(--theme-accent);border-bottom:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .12);align-items:center;gap:8px;padding:10px 16px 8px;font-size:13px;font-weight:600;display:flex}.dialog-md .dialog-footer{border-top:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .08);justify-content:center;gap:8px;margin-top:auto;padding:8px 16px 10px;display:flex}.dialog-md input.dialog-search{box-sizing:border-box;background:var(--theme-bg-dark);border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .2);width:calc(100% - 24px);color:var(--theme-accent);border-radius:4px;outline:none;margin:4px 12px;padding:5px 8px;font-family:inherit;font-size:11px}.dialog-search::placeholder{color:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .35)}.dialog-search:focus{border-color:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .45)}.dialog-md .dialog-contents .player{width:103px;color:var(--theme-dim);z-index:1;border-radius:4px;flex-direction:column;align-items:center;padding:5px;font-size:12px;transition:background .15s}.dialog-md .dialog-contents .player:hover{background:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .08);position:relative}.dialog-md .dialog-contents .player .nameplate{flex-direction:row;display:flex}.dialog-md .dialog-contents .player .nameplate .name{text-transform:capitalize;color:var(--theme-accent);padding:0 2px;font-weight:700}.dialog-md .dialog-contents .player .nameplate .guild,.dialog-md .dialog-contents .player .nameplate .name,.dialog-md .dialog-contents .player .nameplate .icon{margin:0 1px}.dialog-md .dialog-contents .player .title{text-align:center;color:var(--theme-very-dim);font-style:italic}.dialog-md .dialog-contents{scrollbar-width:thin;scrollbar-color:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .3) transparent;touch-action:pan-y;-webkit-overflow-scrolling:touch;flex-wrap:wrap;justify-content:space-evenly;gap:6px;max-height:220px;padding:10px 12px;display:flex;overflow:hidden auto}.dialog-md .dialog-contents::-webkit-scrollbar{width:6px}.dialog-md .dialog-contents::-webkit-scrollbar-track{background:0 0}.dialog-md .dialog-contents::-webkit-scrollbar-thumb{background:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .3);border-radius:3px}.dialog-md .dialog-contents>div{flex-direction:column;align-items:center;display:flex}.dialog-md .spell-name{color:var(--theme-text);text-align:center;max-width:40px;font-size:10px}.dialog-md .spell-level{color:var(--theme-very-dim);font-size:9px;position:relative}.dialog-md .spell-icon{width:34px;height:32px}.dialog-md .spell-icon:hover{background-position-x:-34px}.dialog-md .spell-grid::-webkit-scrollbar{display:none}.dialog-md .scroll-handle{display:none}.dialog-md .label{color:var(--theme-accent);background:var(--theme-bg-light);border-bottom:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .15);padding:8px 12px;font-size:13px;font-weight:600;display:block}.dialog-md .player-count{color:var(--theme-dim);padding:4px 12px;font-size:11px}.dialog-md button[data-id=cancel]{margin:6px auto 10px;display:block}.ui-unlocked{border:1px dashed rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .4)!important;cursor:move!important}.ui-repositioned{margin:0!important;position:fixed!important;bottom:auto!important;right:auto!important;transform:none!important}body:not(.is-mobile) .dialog-drag-handle{cursor:move}#warp-fade.active~#ui :is(.player-tooltip,.npc-tooltip,.world-item-tooltip){visibility:hidden}:is(#hud,#chat,#exit-game button,#inventory,#settings-dialog,#quest-dialog,#quest-progress,.dialog-md,#board,#item-amount-dialog,#mobile-chat-drawer,#mobile-chat-fullscreen,#mobile-hud,#target-hud,.party-hud,#damage-tracker,#main-menu .themed-btn,#login-form,#create-account-form,#create-character-form,#change-password-form,#small-alert,#small-alert-small-header,#large-alert-small-header,#large-confirm-small-header,#small-confirm,#paperdoll,#book,#chest,#skill-master,#info-dialog,#barber-dialog,#instrument-dialog,#citizen-dialog,#marriage-dialog,#priest-dialog,#player-context-menu,#locker,#trade-dialog,#guild-dialog,#mobile-menu-panel,.quest-tracker,.mobile-action-bar,.mobile-slot-picker,.mobile-info-popup,.player-tooltip,.npc-tooltip,.world-item-tooltip,.spell-tooltip,#trade-request-notification,#guild-create-invite,#boss-bars .boss-bar,#boss-status-panel,#boss-damage-report,#banner-notification,#inventory .mobile-action-bar){background:var(--theme-surface);-webkit-backdrop-filter:var(--ui-blur);backdrop-filter:var(--ui-blur)}:is(#small-alert,#small-alert-small-header,#large-alert-small-header,#large-confirm-small-header,#small-confirm,#change-password-form){width:min(380px,100% - 24px);min-width:0;height:max-content;max-height:calc(100% - 24px);margin:auto;inset:0;overflow:auto}#client-version{right:max(12px, env(safe-area-inset-right));bottom:max(12px, env(safe-area-inset-bottom));pointer-events:none;color:var(--theme-text);text-shadow:0 1px 4px #000,0 0 8px #000;z-index:1051;font-size:12px;display:none;position:absolute}#ui:has(:is(#main-menu,#login-form,#create-account-form,#character-select,#create-character-form,#change-password-form):not(.hidden)) #client-version{display:block}button:is(.themed-btn,.trade-btn,.barber-btn,.guild-btn):is([type=submit],[data-id=ok],[data-id=accept],[data-id=invite-accept],[data-id=confirm-yes],.success){--action-color:var(--theme-success-text);--action-bg:#2d6c45}button:is(.themed-btn,.trade-btn,.barber-btn,.guild-btn):is([data-id=cancel],[data-id=cancel-big],[data-id=confirm-no],[data-id=invite-decline],.danger){--action-color:var(--theme-danger-text);--action-bg:#7a3737}button:is(.themed-btn,.trade-btn,.barber-btn,.guild-btn):is([type=submit],[data-id=ok],[data-id=accept],[data-id=invite-accept],[data-id=confirm-yes],.success,[data-id=cancel],[data-id=cancel-big],[data-id=confirm-no],[data-id=invite-decline],.danger){color:var(--action-color);border-color:color-mix(in srgb, var(--action-color) 34%, transparent);background:color-mix(in srgb, color-mix(in srgb, var(--action-bg) 22%, rgb(var(--theme-bg-dark-rgb))) calc(100% * var(--ui-opacity)), transparent)}button:is(.themed-btn,.trade-btn,.barber-btn,.guild-btn):is([type=submit],[data-id=ok],[data-id=accept],[data-id=invite-accept],[data-id=confirm-yes],.success,[data-id=cancel],[data-id=cancel-big],[data-id=confirm-no],[data-id=invite-decline],.danger):is(:hover,:focus-visible):not(:disabled){border-color:var(--action-color);background:color-mix(in srgb, color-mix(in srgb, var(--action-bg) 54%, rgb(var(--theme-bg-dark-rgb))) calc(100% * var(--ui-opacity)), transparent)}#ui :where(.dialog-header,.settings-header,.board-title,.inventory-header,.hud-header){background:var(--theme-heading);border-bottom:1px solid var(--theme-frame)}#ui :where(.dialog-md,#inventory,#settings-dialog,#board,#book,#hud,.party-hud,.quest-tracker){border-color:var(--theme-frame);box-shadow:inset 0 1px 0 color-mix(in srgb, var(--theme-accent) 25%, transparent), 0 8px 26px #00000070}#ui :where(button,input,select,textarea):focus-visible{outline:2px solid var(--theme-secondary);outline-offset:1px}#ui :where(button,input:not([type=color]),select,textarea,#hotbar .slot){-webkit-backdrop-filter:var(--ui-blur);backdrop-filter:var(--ui-blur)}#ui :where(.dialog-header,.settings-header,.inventory-header,.hud-header) :where(h2,.label,.settings-title),#ui :where(.quest-tracker h2,.party-hud-title){color:var(--theme-text);text-shadow:var(--theme-text-shadow)}.world-item-tooltip{z-index:900;box-sizing:border-box;border:1px solid var(--theme-frame);pointer-events:none;overflow-wrap:anywhere;border-radius:5px;max-width:calc(100% - 12px);padding:4px 8px;font-size:12px;position:absolute}:is(.player-tooltip,.npc-tooltip,.world-item-tooltip){text-shadow:var(--theme-text-shadow)}#warp-fade.death{z-index:2;background:radial-gradient(#070104,#1a060b 65%,#000 100%);transition-duration:.66s}#warp-fade.death.active{transition-duration:.59s}#death-title{z-index:3;box-sizing:border-box;pointer-events:none;opacity:0;color:#f4d1cc;text-align:center;letter-spacing:.07em;text-shadow:0 3px 14px #a12f38,0 2px 3px #000;border-bottom:1px solid #b95a58;width:max-content;max-width:calc(100% - 24px);margin:0;padding:0 14px 12px;transition:opacity .28s ease-out;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font:700 clamp(24px,6vw,56px)/1.2 Georgia,serif!important}#death-title.visible{opacity:1}@media (prefers-reduced-motion:reduce){#warp-fade.death,#warp-fade.death.active,#death-title{transition:none}}#ui :where(.mobile-action-bar,.mobile-slot-picker,.mobile-info-popup){-webkit-backdrop-filter:var(--ui-blur);backdrop-filter:var(--ui-blur)}#ui :where(button,.dialog-contents,.hud-bar-text,.hud-bar-value,.quest-tracker,.party-hud){text-shadow:var(--theme-text-shadow)}:root{--theme-text-shadow:0 1px 2px #000, 0 0 3px #000;--theme-success-text:#a3dca1;--theme-danger-text:#efaaaa}:root.light-ui{--theme-text-shadow:0 1px 2px #fffe, 0 0 3px #fffe;--theme-success-text:#225b39;--theme-danger-text:#822c35}.light-ui #ui{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}.light-ui #online-list .online-name.online-admin{color:#602d7d}body.is-mobile #in-game-menu,body.is-mobile #exit-game,body.is-mobile #hud,body.is-mobile #chat{display:none!important}body.is-mobile .dialog-md .dialog-header{flex-shrink:0;align-items:center;gap:8px;min-height:44px;padding:10px 16px;font-size:14px;display:flex}body.is-mobile .dialog-md .dialog-contents{touch-action:pan-y;-webkit-overflow-scrolling:touch;flex:1;min-height:0;overflow-y:auto}body.is-mobile .dialog-md .dialog-footer{flex-shrink:0}.mobile-close-btn{background:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .08);width:36px;height:36px;color:var(--theme-dim);cursor:pointer;-webkit-tap-highlight-color:transparent;border:none;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;margin-left:auto;font-size:20px;transition:background .12s,color .12s;display:flex}.mobile-close-btn:active{background:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .2);color:var(--theme-accent)}body.is-mobile .shop-grid,body.is-mobile .locker-grid{flex:1;max-height:none!important}body.is-mobile .grid-card{min-height:80px}body.is-mobile #paperdoll .paperdoll-footer,body.is-mobile .mobile-split-view>#paperdoll .mobile-close-btn{display:none}body.is-mobile .mobile-split-view>#paperdoll .paperdoll-body{grid-template-columns:minmax(0,1fr)}.mobile-panel-backdrop{z-index:1049;opacity:0;pointer-events:none;background:0 0;transition:opacity .25s;position:fixed;inset:0}.mobile-panel-backdrop.active{opacity:1;pointer-events:auto}.mobile-action-bar{background:var(--theme-bg-dark);border-top:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .2);z-index:1060;align-items:center;gap:6px;padding:8px 12px;display:flex;position:absolute;bottom:0;left:0;right:0}.mobile-action-bar .action-item-name{color:var(--theme-accent);text-overflow:ellipsis;white-space:nowrap;max-width:120px;margin-right:auto;font-size:12px;overflow:hidden}.mobile-action-bar button{border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .2);background:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .08);color:#c4b48e;cursor:pointer;-webkit-tap-highlight-color:transparent;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;min-width:56px;height:38px;padding:0 12px;font-family:inherit;font-size:12px;transition:background .12s;display:flex}.mobile-action-bar button:active{background:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .25)}.mobile-slot-picker{background:var(--theme-bg-dark);border-top:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .15);z-index:1061;justify-content:center;align-items:center;gap:8px;padding:10px 12px;display:flex;position:absolute;bottom:56px;left:0;right:0}.mobile-slot-picker .picker-label{color:var(--theme-dim);margin-right:4px;font-size:11px}.mobile-slot-picker button{border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .25);background:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .06);color:#c4b48e;cursor:pointer;-webkit-tap-highlight-color:transparent;border-radius:6px;width:40px;height:40px;font-family:inherit;font-size:14px;transition:background .12s}.mobile-slot-picker button:active{background:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .3)}.mobile-info-popup{background:var(--theme-bg-dark);border-top:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .15);z-index:1061;color:#c4b48e;white-space:pre-line;max-height:200px;padding:12px 16px;font-size:12px;line-height:1.6;position:absolute;bottom:56px;left:0;right:0;overflow-y:auto}body.is-mobile #spell-book .spell-entry.mobile-selected{outline:2px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .5);outline-offset:-1px;background-color:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .15);border-radius:3px}.mobile-split-view{z-index:1050;background:var(--theme-bg-dark);display:flex;position:fixed;inset:0}body.is-mobile .mobile-split-view>#inventory,body.is-mobile .mobile-split-view>#paperdoll,body.is-mobile .mobile-split-view>#locker,body.is-mobile .mobile-split-view>.dialog-md{box-sizing:border-box;z-index:0!important;border-radius:0!important;flex-direction:column!important;flex:1!important;width:auto!important;min-width:0!important;height:100%!important;min-height:0!important;max-height:100%!important;margin:0!important;display:flex!important;position:relative!important;inset:auto!important;overflow:hidden auto!important;transform:none!important}.mobile-split-view>:first-child{border-right:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .15)}@media (orientation:portrait){.mobile-split-view{flex-direction:column}body.is-mobile .mobile-split-view>#inventory,body.is-mobile .mobile-split-view>#paperdoll,body.is-mobile .mobile-split-view>#locker,body.is-mobile .mobile-split-view>.dialog-md{height:auto!important;max-height:50%!important}.mobile-split-view>:first-child{border-right:none;border-bottom:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .15)}.mobile-split-view .locker-grid{grid-template-columns:repeat(3,1fr)!important}}.mobile-split-view .locker-grid{grid-template-columns:repeat(2,1fr)!important}.mobile-split-view #locker .dialog-footer{display:none!important}.mobile-split-view .mobile-action-bar{z-index:100;position:absolute;bottom:0;left:0;right:0}.mobile-split-view .grid-card{min-height:60px}.mobile-split-close{z-index:1060;width:36px;height:36px;color:var(--theme-dim);cursor:pointer;-webkit-tap-highlight-color:transparent;background:#000000b3;border:none;border-radius:8px;justify-content:center;align-items:center;font-size:20px;display:flex;position:fixed;top:6px;right:6px}.mobile-split-close:active{color:var(--theme-accent);background:#ffffff26}body.is-mobile #paperdoll .item.mobile-selected,body.is-mobile #locker .grid-card.mobile-selected{outline:2px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .5);outline-offset:-1px;background-color:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .15);border-radius:3px}body.is-mobile #chest .chest-items{flex:1;grid-template-columns:repeat(4,1fr)!important;max-height:none!important}body.is-mobile #chest .chest-item.mobile-selected{outline:2px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .5);outline-offset:-1px;background-color:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .15);border-radius:3px}body.is-mobile{--touch-left:max(var(--touch-viewport-left,0px), env(safe-area-inset-left,0px));--touch-top:max(var(--touch-viewport-top,0px), env(safe-area-inset-top,0px));--touch-width:calc(var(--touch-viewport-width,100vw) + var(--touch-viewport-left,0px) - var(--touch-left) - env(safe-area-inset-right,0px));--touch-height:calc(var(--touch-viewport-height,100dvh) + var(--touch-viewport-top,0px) - var(--touch-top) - env(safe-area-inset-bottom,0px));--touch-gap:8px;--touch-hud-height:60px;--touch-hud-space:calc(var(--touch-hud-height) + 2 * var(--touch-gap));--touch-slot-size:clamp(42px, calc((var(--touch-width) - 40px) / 5), 52px);--touch-hotbar-columns:5;--touch-hotbar-rows:2;--touch-hotbar-padding:4px;--touch-hotbar-row-gap:4px;--touch-hotbar-height:calc(var(--touch-hotbar-rows) * var(--touch-slot-size) + (var(--touch-hotbar-rows) - 1) * var(--touch-hotbar-row-gap) + 2 * var(--touch-hotbar-padding) + 6px);--touch-control-bottom:calc(var(--touch-hotbar-height) + 2 * var(--touch-gap));--touch-stick-size:clamp(80px, 24vw, 118px);--touch-attack-size:clamp(58px, 17vw, 76px);--touch-sit-size:clamp(44px, 12vw, 52px)}body.is-mobile #container{width:100%;max-width:none;height:100dvh;max-height:none;position:fixed;inset:0}body.is-mobile #ui{inset:var(--touch-top) auto auto var(--touch-left);width:max(0px, var(--touch-width))!important;height:max(0px, var(--touch-height))!important;transform:translateZ(0)!important}body.is-mobile #ui :is(input[type=text],input[type=password],input[type=email],input[type=number],input:not([type]),textarea,select){-webkit-user-select:text;user-select:text;min-width:0;max-width:100%;font-size:16px}body.is-mobile #ui :is(#dialogs,#inventory,#login-form,#create-account-form,#character-select,#create-character-form,#change-password-form) button{touch-action:manipulation;min-height:36px}body.is-mobile #ui #mobile-hud{top:var(--touch-gap);left:var(--touch-gap);right:var(--touch-gap);min-height:var(--touch-hud-height);box-sizing:border-box;border:1px solid color-mix(in srgb, var(--theme-accent) 28%, transparent);z-index:1045;border-radius:8px;gap:6px;padding:4px 6px 4px 8px}body.is-mobile #mobile-hud .hud-bars{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(4px,1.3vw,10px);min-width:0;display:grid}body.is-mobile #mobile-hud .hud-meter{gap:2px;min-width:0;display:grid}body.is-mobile #mobile-hud .hud-bar-label{min-width:0;font-size:10px}body.is-mobile #mobile-hud .hud-bar-track{height:15px}body.is-mobile #mobile-hud .hud-bar-value{white-space:nowrap;font-size:clamp(8px,2vw,12px)}body.is-mobile #mobile-hud .hud-actions{flex:none;gap:2px;margin-left:0}body.is-mobile #mobile-hud #mobile-toolbar{height:auto;padding:0;position:static}body.is-mobile #mobile-hud :is(.hud-badge,.corner-btn){touch-action:manipulation;border-radius:6px;place-items:center;width:44px;height:44px;display:grid}body.is-mobile #mobile-hud .badge-count{top:2px;right:1px}body.is-mobile #ui #mobile-menu-overlay{z-index:1250}body.is-mobile #ui #mobile-menu-panel{box-sizing:border-box;overscroll-behavior:contain;z-index:1251;padding:8px 0;width:min(74%,320px)!important}body.is-mobile #ui #mobile-menu-panel .menu-item-btn{min-height:44px}body.is-mobile #ui #mobile-menu-panel .menu-player-header{justify-content:space-between;align-items:center;gap:8px;display:flex}body.is-mobile #ui #mobile-menu-panel .menu-close{min-width:44px;min-height:44px}body.is-mobile #ui #hotbar{--hotbar-columns:var(--touch-hotbar-columns);--hotbar-slot-size:var(--touch-slot-size);--hotbar-padding:var(--touch-hotbar-padding);row-gap:var(--touch-hotbar-row-gap);top:auto;bottom:var(--touch-gap);left:50%;transform:translate(-50%)}body.is-mobile #hotbar .slot{touch-action:manipulation}body.is-mobile #ui #joystick-container{bottom:var(--touch-control-bottom);left:var(--touch-gap);width:var(--touch-stick-size);height:var(--touch-stick-size)}body.is-mobile #joystick-base{box-sizing:border-box}body.is-mobile #joystick-thumb{box-sizing:border-box;width:40%;height:40%;inset:30% auto auto 30%}body.is-mobile #ui #sit-container{bottom:var(--touch-control-bottom);right:var(--touch-gap)}body.is-mobile #ui #attack-container{bottom:calc(var(--touch-control-bottom) + var(--touch-sit-size) + 6px);right:var(--touch-gap)}body.is-mobile #ui #btn-attack{width:var(--touch-attack-size)!important;height:var(--touch-attack-size)!important}body.is-mobile #ui #btn-toggle-sit{width:var(--touch-sit-size)!important;height:var(--touch-sit-size)!important}body.is-mobile.touch-editing :is(#mobile-controls,#hotbar){visibility:hidden}@media (orientation:landscape){body.is-mobile{--touch-stick-size:clamp(74px, 24dvh, 106px);--touch-attack-size:clamp(52px, 16dvh, 68px);--touch-sit-size:44px}}@media (width>=590px){body.is-mobile{--touch-hotbar-columns:10;--touch-hotbar-rows:1}}body.is-mobile #ui #dialogs{top:var(--touch-hud-space);height:max(0px, calc(100% - var(--touch-hud-space)));grid-template:minmax(0,1fr)/minmax(0,1fr);gap:0;display:grid}body.is-mobile #ui #dialogs>:not(.hidden){box-sizing:border-box;overscroll-behavior:contain;grid-area:1/1;align-self:center;scroll-padding-block:8px;animation:none;width:min(var(--touch-dialog-width,520px), calc(100% - 2 * var(--touch-gap)))!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:0!important;max-height:calc(100% - 2 * var(--touch-gap))!important;border-radius:8px!important;margin:auto!important;position:relative!important;inset:auto!important;overflow:auto!important;transform:none!important}body.is-mobile #ui #dialogs>:is(#book,#bank,#barber-dialog,#citizen-dialog,#marriage-dialog,#priest-dialog,#guild-dialog,#quest-progress){--touch-dialog-width:410px}body.is-mobile #ui #dialogs>:is(#paperdoll,#social-panel,#info-dialog){--touch-dialog-width:var(--character-dialog-width)}body.is-mobile #ui #dialogs>:is(#settings-dialog,#spell-book){--touch-dialog-width:640px}body.is-mobile #ui :is(.dialog-contents,.item-list,.shop-grid,.locker-grid,.chest-items,.member-list,.post-list,.quest-progress-body,.quest-conversation,.settings-panels,.spell-grid){overscroll-behavior:contain;touch-action:pan-y;min-width:0;min-height:0}body.is-mobile #ui :is(.dialog-footer,.settings-footer,.quest-buttons,.entry-panel-actions,.barber-footer,.marriage-footer,.trade-footer,.guild-footer){flex-wrap:wrap}body.is-mobile #ui :is(.settings-panels,.trade-panels,.trade-grids){min-width:0;max-width:100%}body.is-mobile #ui>:is(#small-alert,#small-alert-small-header,#small-alert-large-header,#large-alert-small-header,#large-confirm-small-header,#small-confirm,#item-amount-dialog,#change-password-form):not(.hidden){height:fit-content;min-height:0;max-height:calc(100% - 2 * var(--touch-gap));box-sizing:border-box;overscroll-behavior:contain;margin:auto;overflow:auto;width:min(430px, calc(100% - 2 * var(--touch-gap)))!important;min-width:0!important;position:absolute!important;inset:0!important;transform:none!important}body.is-mobile #ui :is(#main-menu,#login-form,#create-account-form,#character-select,#create-character-form){min-width:0;max-width:calc(100% - 2 * var(--touch-gap));max-height:calc(100% - 2 * var(--touch-gap));box-sizing:border-box;overscroll-behavior:contain;scroll-padding-block:12px;overflow:auto}body.is-mobile #ui #main-menu{margin:auto}body.is-mobile #ui #main-menu-logo img{object-fit:contain;max-width:min(70vw,320px);max-height:clamp(48px,22dvh,168px);display:block}body.is-mobile #ui :is(#main-menu,#login-form,#character-select) button{min-height:38px}body.is-mobile #ui #login-form .buttons{flex-wrap:wrap}body.is-mobile #ui #create-account-form{width:min(540px,100% - 16px)}body.is-mobile #ui .entry-panel-header{padding:10px 14px}body.is-mobile #ui .entry-panel-body{padding:12px 14px}body.is-mobile #ui .entry-panel-actions{padding:8px 14px}body.is-mobile #ui .account-fields{gap:9px 12px}body.is-mobile #ui .character-designer{grid-template-columns:minmax(75px,.8fr) minmax(0,1.2fr);gap:10px}body.is-mobile #ui .preview-stage{align-self:start;min-height:0;padding:6px}body.is-mobile #ui #create-character-preview{width:min(100%,106px)}body.is-mobile #ui .appearance-row{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}body.is-mobile #ui .appearance-option{white-space:normal}@media (width<=350px){body.is-mobile #ui .character-designer{grid-template-columns:minmax(0,1fr)}body.is-mobile #ui .preview-stage{flex-direction:row;justify-content:center}body.is-mobile #ui #create-character-preview{width:58px}}@media (orientation:landscape){body.is-mobile #ui .account-fields{grid-template-columns:repeat(2,minmax(0,1fr))}body.is-mobile #ui :is(.account-username,.account-email){grid-column:auto}}body.is-mobile #credits-dialog[open]{inset:auto;top:calc(var(--touch-top) + var(--touch-height) / 2);left:calc(var(--touch-left) + var(--touch-width) / 2);width:min(340px, calc(var(--touch-width) - 16px));max-height:calc(var(--touch-height) - 16px);margin:0;transform:translate(-50%,-50%)}body.is-mobile #ui #mobile-chat-drawer{top:var(--touch-hud-space);left:var(--touch-gap);right:var(--touch-gap);max-height:max(0px, calc(100% - var(--touch-hud-space) - var(--touch-gap)));z-index:1044;border-radius:6px;overflow:hidden}body.is-mobile #ui #mobile-chat-fullscreen{z-index:1150;min-height:0;inset:0}body.is-mobile #ui :is(.drawer-input-form,.fullscreen-tabs,.fullscreen-input-form){min-width:0}body.is-mobile #ui :is(.drawer-bottom,.fullscreen-header,.fullscreen-input-form){flex:none}body.is-mobile #ui :is(.drawer-messages,.fullscreen-messages){overscroll-behavior:contain;overflow-wrap:anywhere;min-height:0}body.is-mobile #ui :is(.drawer-input,.fullscreen-input){width:0}body.is-mobile #ui :is(.drawer-send,.drawer-expand,.fullscreen-send,.fullscreen-close,.fullscreen-tabs .tab){touch-action:manipulation;min-height:38px}body.is-mobile #ui .fullscreen-tabs .tab{flex:auto;min-width:0;padding-inline:clamp(4px,2vw,14px)}body.is-mobile #ui .mobile-panel-backdrop{inset:0}body.is-mobile #ui>.mobile-split-view{inset:var(--touch-hud-space) 0 0;z-index:1100;min-height:0}body.is-mobile .mobile-split-view :is(.mobile-slot-picker,.mobile-action-bar){flex-wrap:wrap}body.is-mobile .mobile-split-view>#inventory{min-height:0}body.is-mobile #ui #player-context-menu button{min-height:38px}body.is-mobile #ui :is(#trade-request-notification,#guild-create-invite,#boss-status-panel,#boss-damage-report,#damage-tracker,#target-hud){max-width:calc(100% - 2 * var(--touch-gap));box-sizing:border-box}body.is-mobile #ui :is(#target-hud,#boss-bars,#boss-status-panel){top:var(--touch-hud-space)}body.is-mobile #ui #buff-bar{max-width:calc(100% - 2 * var(--touch-gap));flex-wrap:wrap}body.is-mobile #ui #client-version{right:var(--touch-gap);bottom:2px}body.is-mobile:has(#hotbar[data-slots="5"]){--touch-hotbar-columns:5;--touch-hotbar-rows:1}body.is-mobile #settings-dialog [data-setting=uiScale]{display:none}body.is-mobile #ui:has(#boss-bars:not(.hidden)) #target-hud{top:calc(var(--touch-hud-space) + 54px)}body.is-mobile #ui :is(#boss-status-panel,#boss-damage-report){inset:var(--touch-hud-space) 0 var(--touch-gap);height:fit-content;max-height:calc(100% - var(--touch-hud-space) - var(--touch-gap));margin:auto;overflow:auto;transform:none}body.is-mobile #banner-notification{box-sizing:border-box;top:calc(var(--touch-top) + var(--touch-hud-space));left:var(--touch-left);width:var(--touch-width);right:auto}body.is-mobile #game-toasts{top:calc(var(--touch-top) + var(--touch-hud-space));left:calc(var(--touch-left) + var(--touch-width) / 2);max-width:min(340px, var(--touch-width));bottom:auto}body.is-mobile #ui #reconnect-overlay,body.is-mobile #ui #control-editor-banner{box-sizing:border-box}body.is-mobile.touch-compact.touch-editing #ui #mobile-chat-drawer{top:var(--touch-gap);max-height:calc(100% - 2 * var(--touch-gap));z-index:1150}body.is-mobile.touch-compact #ui .fullscreen-header{padding-block:2px}body.is-mobile #ui .pm-bubble.expanded{width:min(320px, calc(var(--touch-width) - 2 * var(--touch-gap)));max-height:calc(var(--touch-height) - 2 * var(--touch-gap));box-sizing:border-box;overflow:auto;inset:auto var(--touch-gap) var(--touch-gap) auto!important;position:fixed!important}body.is-mobile #ui .pm-bubble.expanded .pm-messages{min-height:0;max-height:min(150px, calc(var(--touch-height) - 97px));font-size:12px}body.is-mobile #ui :is(#trade-request-notification,#guild-create-invite){top:var(--touch-hud-space);bottom:auto}body.is-mobile #ui :is(.title,.message,.shop-name,.trade-req-text,.guild-invite-text){overflow-wrap:anywhere}body.is-mobile #ui>#offset-tweaker:not(.hidden){top:var(--touch-hud-space);right:var(--touch-gap);max-width:calc(100% - 2 * var(--touch-gap));max-height:calc(100% - var(--touch-hud-space) - var(--touch-gap));box-sizing:border-box;overflow:auto}body.is-mobile #ui #pm-bubbles{top:var(--touch-hud-space);max-height:calc(100% - var(--touch-hud-space) - var(--touch-control-bottom));overflow-y:auto}body.is-mobile #ui .pm-bubble:not(.expanded){min-height:34px;max-width:calc(100% - var(--touch-gap))}body.is-mobile #ui #trade-dialog .trade-column{min-width:0}body.is-mobile #ui #trade-dialog :is(.trade-col-header,.trade-footer-left){overflow-wrap:anywhere;flex-wrap:wrap}body.is-mobile #ui>.mobile-split-view .mobile-split-close{width:44px;height:44px;position:absolute}@media (orientation:portrait){body.is-mobile .mobile-split-view>:first-child :is(.dialog-header,.top){padding-inline-end:54px}}@media (orientation:landscape){body.is-mobile .mobile-split-view>:nth-child(2) :is(.dialog-header,.top){padding-inline-end:54px}}#chat ul,#chat ul *{-webkit-user-select:text!important;user-select:text!important}#chat ul{scrollbar-width:thin;scrollbar-color:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .3) transparent;overflow:hidden scroll}#chat ul::-webkit-scrollbar{width:6px}#chat ul::-webkit-scrollbar-track{background:0 0}#chat ul::-webkit-scrollbar-thumb{background:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .3);border-radius:3px}#chat{z-index:1020;bottom:var(--hud-edge-gap);left:var(--hud-edge-gap);box-sizing:border-box;height:var(--chat-height,300px);max-height:calc(100% - 24px);font-size:calc(14px * var(--chat-scale,1));background:var(--theme-bg-dark);border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .2);width:min(400px,50%);min-width:min(180px, calc(100% - 2 * var(--hud-edge-gap)));max-width:calc(100% - 2 * var(--hud-edge-gap));color:var(--theme-text);border-radius:8px;flex-direction:column;padding:5px;font-family:inherit;display:flex;position:absolute}#chat form{flex-direction:column;flex:1;min-height:0;display:flex;position:relative}#chat a{color:var(--theme-accent)}#chat-message{background:var(--theme-input-bg);border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .2);color:var(--theme-text);box-sizing:border-box;width:100%;height:24px;font-family:inherit;font-size:inherit;border-radius:4px;outline:none;margin-top:5px;padding:5px}#chat-message:focus{border-color:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .4)}#btn-toggle-chat{background:var(--theme-bg-medium);color:var(--theme-dim);border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .15);-webkit-user-select:none;user-select:none;cursor:pointer;border-radius:4px;outline:none;padding:3px 8px;font-family:inherit;transition:color .15s}#btn-toggle-chat:hover{color:var(--theme-accent)}#btn-chat-scroll-lock{background:var(--theme-bg-medium);color:var(--theme-dim);border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .15);-webkit-user-select:none;user-select:none;cursor:pointer;border-radius:4px;outline:none;padding:4px 7px;font-family:inherit;font-size:11px;line-height:1;transition:color .15s}#btn-chat-scroll-lock:hover{color:var(--theme-accent)}#chat .chat-toolbar,#chat-tab-bar,#chat .chat-view-controls{flex-wrap:wrap;gap:3px;display:flex}#chat .chat-toolbar{flex-shrink:0;justify-content:space-between;align-items:start}#chat-tab-bar button{background:var(--theme-bg-medium);color:var(--theme-dim);border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .15);-webkit-user-select:none;user-select:none;cursor:pointer;border-radius:4px 4px 0 0;outline:none;padding:3px 8px;font-family:inherit;transition:color .15s}#chat-tab-bar button:hover{color:var(--theme-accent)}#chat-tab-bar button.active{color:var(--theme-accent);background:var(--theme-bg-light);border-bottom-color:#0000}.chat-unread-badge{text-align:center;color:#fff;pointer-events:none;background:#d43030;border-radius:7px;min-width:14px;height:14px;padding:0 3px;font-size:9px;font-weight:700;line-height:14px;position:absolute;top:-5px;right:-5px}#chat ul{flex:1;min-height:0;margin:4px 0 0;padding:0;list-style:none;overflow-y:auto}#chat li{word-break:break-all;gap:1px;padding-top:4px;padding-bottom:2px;display:flex}#chat li div.msg{max-width:96%}#chat li div.msg>.author{color:var(--theme-accent);padding-right:5px}#chat li div.msg>.chat-timestamp{color:var(--theme-very-dim);padding-right:4px;font-size:1em}#chat li.error-message{color:#ef9a9a}#chat.chat-collapsed{height:auto}#chat.chat-collapsed ul{display:none}#game-toasts{z-index:1100;pointer-events:none;flex-direction:column;align-items:center;gap:6px;width:100%;max-width:340px;display:flex;position:fixed;bottom:100px;left:50%;transform:translate(-50%)}.game-toast{-webkit-backdrop-filter:var(--ui-blur);border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .15);opacity:0;pointer-events:auto;white-space:nowrap;text-overflow:ellipsis;border-radius:6px;align-items:center;gap:8px;padding:6px 14px;font-family:inherit;font-size:12px;line-height:1.4;display:flex;overflow:hidden;transform:translateY(10px);box-shadow:0 2px 12px #00000080}.game-toast.show{animation:.25s ease-out forwards toast-in}.game-toast.hide{animation:.3s ease-in forwards toast-out}.game-toast__icon{flex-shrink:0;font-size:14px;line-height:1}.game-toast__msg{text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}.game-toast--info{color:#b8d4e8;background:#192332e0;border-color:#8cb4dc40}.game-toast--warning{color:#e8a54b;background:#321e0ce0;border-color:#e8a54b4d}.game-toast--loot{color:#c8d48a;background:#232814e0;border-color:#b4c86440}.game-toast--exp{color:#d4a8e8;background:#281e37e0;border-color:#b48cdc4d}.game-toast--action{background:var(--theme-bg-dark);color:var(--theme-accent);border-color:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .2)}.game-toast--quest{color:#a8d4a0;background:#1e2819e0;border-color:#8cc88240}.game-toast--boss-loot{color:gold;background:#3c2d0aeb;border-color:#ffc80080}@keyframes toast-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes toast-out{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-10px)}}body.is-mobile #game-toasts{max-width:280px;bottom:60px}body.is-mobile .game-toast{gap:6px;padding:5px 10px;font-size:11px}.item-tooltip{--item-rarity:#fff}.item-tooltip[data-rarity=uncommon]{--item-rarity:#8fdf88}.item-tooltip[data-rarity=rare]{--item-rarity:#88baff}.item-tooltip[data-rarity=epic]{--item-rarity:#d6a4ff}.item-tooltip[data-rarity=legendary]{--item-rarity:#ffcf6c}.item-tooltip[data-rarity=bound]{--item-rarity:#ff8489}.item-tooltip[data-rarity=cursed]{--item-rarity:#44444a}:is(#inventory .item,#paperdoll .item,.grid-card,.menu-item.item) .tooltip.item-tooltip,.mobile-info-popup.item-tooltip{box-sizing:border-box;background:var(--theme-surface);width:max-content;min-width:150px;max-width:min(244px,100vw - 24px);-webkit-backdrop-filter:var(--ui-blur);backdrop-filter:var(--ui-blur);border:1px solid color-mix(in srgb, var(--theme-accent) 44%, transparent);border-top:2px solid var(--item-rarity);color:var(--theme-text);white-space:normal;overflow-wrap:anywhere;border-radius:6px;padding:9px 11px;font-size:12px;line-height:1.3;box-shadow:0 8px 20px #0000008a}.item-tooltip-name{color:var(--item-rarity);font-size:14px;display:block}.item-tooltip[data-rarity=cursed] .item-tooltip-name{background:#ded9d2;border-radius:3px;padding-inline:4px}.item-tooltip-subtitle{color:var(--theme-dim)}.item-tooltip-section{border-top:1px solid color-mix(in srgb, var(--theme-accent) 24%, transparent);color:var(--theme-accent);margin-top:6px;padding-top:4px;font-size:11px}.item-tooltip-rows{grid-template-columns:minmax(0,1fr) auto;gap:2px 14px;margin:3px 0 0;display:grid}.item-tooltip-rows dt{color:var(--theme-dim)}.item-tooltip-rows dd{text-align:right;font-variant-numeric:tabular-nums;margin:0}.menu-item.item img:hover~.tooltip.item-tooltip{opacity:1}:is(#inventory .item,#paperdoll .item,.grid-card,.menu-item.item) .tooltip.item-tooltip[popover]{pointer-events:none;opacity:1;margin:0;position:fixed;inset:auto;transform:none}:is(#inventory .item,#paperdoll .item,.grid-card,.menu-item.item) .tooltip.item-tooltip[popover]:not(:popover-open){display:none}:is(#inventory .item,#paperdoll .item,.grid-card,.menu-item.item) .tooltip.item-tooltip[popover]:popover-open{display:block}#bank{background:var(--theme-surface);width:min(430px,100% - 16px);min-height:0;max-height:calc(100% - 16px);overflow:auto}#bank .dialog-header{background:var(--theme-bg-light);justify-content:space-between;font-size:16px}#bank .bank-ledger{background:linear-gradient(130deg, color-mix(in srgb, var(--theme-accent) 17%, transparent), transparent 70%);border:1px solid color-mix(in srgb, var(--theme-accent) 50%, transparent);box-shadow:inset 0 0 0 3px color-mix(in srgb, var(--theme-accent) 8%, transparent);border-radius:5px;grid-template-columns:1.55fr 1fr;align-items:center;gap:14px;margin:14px 16px 0;padding:18px 15px;display:grid}#bank .bank-ledger span,#bank .locker-status{color:var(--theme-dim);margin-bottom:4px;font-size:12px;display:block}#bank .bank-ledger strong{color:var(--theme-accent);overflow-wrap:anywhere}#bank .balance{font-size:24px}#bank .wallet-balance{font-size:15px}#bank .bank-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px 16px;display:grid}#bank .bank-locker{border-top:1px solid color-mix(in srgb, var(--theme-accent) 24%, transparent);grid-column:1/-1;justify-content:space-between;align-items:center;gap:8px;padding:10px 0 0;display:flex}#bank .bank-locker strong{color:var(--theme-accent);font-size:14px}#bank .bank-locker .themed-btn{flex:none}#bank .dialog-footer{justify-content:flex-end}#banner-notification{letter-spacing:.4px;text-align:center;z-index:1100;pointer-events:none;opacity:0;min-height:46px;-webkit-backdrop-filter:var(--ui-blur);border-bottom:1px solid #0000;justify-content:center;align-items:center;gap:14px;padding:10px 56px 10px 24px;font-size:14px;font-weight:600;transition:opacity .28s ease-out,transform .32s cubic-bezier(.22,1,.36,1);display:flex;position:fixed;top:0;left:0;right:0;transform:translateY(-100%)}#banner-notification.hidden{display:none}#banner-notification.banner-notification--show{opacity:1;transform:translateY(0)}#banner-notification.banner-notification--exiting{opacity:0;transition:opacity .24s ease-in,transform .28s ease-in;transform:translateY(-100%)}body.has-banner #boss-bars{top:60px}#banner-notification .banner-notification__icon{flex-shrink:0;font-size:18px;line-height:1}#banner-notification .banner-notification__text{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;overflow:hidden}#banner-notification .banner-notification__close{color:inherit;cursor:pointer;opacity:.7;pointer-events:auto;background:0 0;border:none;border-radius:4px;padding:4px 8px;font-size:18px;font-weight:700;line-height:1;position:absolute;top:50%;right:14px;transform:translateY(-50%)}#banner-notification .banner-notification__close:hover{opacity:1;background:#ffffff14}#banner-notification.banner-notification--critical{color:#ffe6e0;background:linear-gradient(#781212f2 0%,#500a0aeb 100%);border-bottom-color:#ff5a5099;box-shadow:0 4px 20px #b41e1e66}#banner-notification.banner-notification--critical.banner-notification--show{animation:1.6s ease-in-out infinite banner-pulse}@keyframes banner-pulse{0%,to{box-shadow:0 4px 20px #b41e1e66}50%{box-shadow:0 4px 30px #ff4646b3}}#banner-notification.banner-notification--event{color:#ffd76b;text-shadow:0 0 10px #ffc8508c;background:linear-gradient(#503c10f0 0%,#2e2208eb 100%);border-bottom-color:#ffc8508c;box-shadow:0 4px 24px #c8962852}#banner-notification.banner-notification--event .banner-notification__icon{filter:drop-shadow(0 0 6px #ffc850cc)}#banner-notification.banner-notification--awakened{color:#e8c8ff;text-shadow:0 0 8px #dc96ffd9,0 0 18px #a050f08c;background:linear-gradient(#3c165cf5 0%,#260c40f0 100%);border-bottom-color:#be82ff99;box-shadow:0 4px 24px #8c3cdc6b,inset 0 0 18px #b464ff2e}#banner-notification.banner-notification--awakened .banner-notification__icon{filter:drop-shadow(0 0 8px #dc96fff2)}#banner-notification.banner-notification--awakened.banner-notification--show{animation:2.4s ease-in-out infinite banner-shimmer}@keyframes banner-shimmer{0%,to{box-shadow:0 4px 24px #8c3cdc6b,inset 0 0 18px #b464ff2e}50%{box-shadow:0 4px 34px #be64ffb3,inset 0 0 28px #d28cff52}}#banner-notification.banner-notification--info{color:#b8d8f5;background:#14243aeb;border-bottom-color:#78aadc66;box-shadow:0 3px 14px #0006}body.is-mobile #banner-notification{letter-spacing:.2px;min-height:38px;padding:8px 44px 8px 14px;font-size:12px}body.is-mobile #banner-notification .banner-notification__icon{font-size:14px}body.is-mobile #banner-notification .banner-notification__close{padding:6px 10px;font-size:16px;right:10px}body.is-mobile.has-banner #boss-bars{top:50px}#barber-dialog{box-sizing:border-box;border:1px solid color-mix(in srgb, var(--theme-accent) 38%, transparent);width:min(400px,100% - 24px);height:max-content;max-height:calc(100% - 24px);color:var(--theme-text);z-index:100;border-radius:8px;margin:auto;font-size:14px;position:absolute;inset:0;overflow:auto;box-shadow:0 8px 32px #0000008c}#barber-dialog .barber-header{background:var(--theme-bg-light);border-bottom:1px solid color-mix(in srgb, var(--theme-accent) 22%, transparent);padding:10px 16px}#barber-dialog .barber-header h2{color:var(--theme-accent);margin:0;font-size:18px}#barber-dialog .barber-body{grid-template-columns:minmax(0,1fr) minmax(0,2fr);align-items:center;gap:12px;padding:12px;display:grid}#barber-dialog .barber-preview{border:1px solid color-mix(in srgb, var(--theme-accent) 34%, transparent);background:radial-gradient(ellipse at bottom, var(--theme-bg-light), var(--theme-input-bg));border-radius:6px;place-items:center;min-width:0;display:grid}#barber-dialog .barber-preview canvas{width:100%;height:auto;image-rendering:pixelated;display:block}#barber-dialog .barber-controls{gap:8px;display:grid}#barber-dialog .barber-row{border:1px solid color-mix(in srgb, var(--theme-accent) 20%, transparent);background:var(--theme-bg-medium);border-radius:5px;gap:5px;padding:7px;display:grid}#barber-dialog .barber-row-label{color:var(--theme-accent);font-size:12px}#barber-dialog .barber-row-controls{text-align:center;font-variant-numeric:tabular-nums;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:4px;display:grid}#barber-dialog :is(.barber-arrow,.barber-btn){border:1px solid color-mix(in srgb, var(--theme-accent) 34%, transparent);background:var(--theme-input-bg);min-height:32px;color:var(--theme-accent);font:inherit;cursor:pointer;border-radius:4px}#barber-dialog .barber-arrow{min-width:clamp(24px,5vw,34px);padding:0 4px;font-size:11px}#barber-dialog .barber-arrow:is(:hover,:focus-visible){border-color:var(--theme-accent);background:var(--theme-bg-light)}#barber-dialog .barber-footer{border-top:1px solid color-mix(in srgb, var(--theme-accent) 22%, transparent);background:var(--theme-bg-medium);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;padding:9px 12px;display:flex}#barber-dialog .barber-btn{border-color:color-mix(in srgb, var(--action-color) 34%, transparent);background:color-mix(in srgb, var(--action-bg) 24%, var(--theme-bg-dark));color:var(--action-color);justify-content:center;align-items:center;gap:6px;padding:4px 8px;display:inline-flex}#barber-dialog .barber-btn:is(:hover,:focus-visible):not(:disabled){border-color:var(--action-color);background:color-mix(in srgb, var(--action-bg) 55%, var(--theme-bg-dark))}#barber-dialog .barber-price{color:#ffdc84;white-space:nowrap;background:#0000003d;border-radius:3px;padding:2px 5px}#barber-dialog .barber-btn:disabled{color:#d1d1d1;cursor:not-allowed;background:#414141;border-color:#646464}#barber-dialog .barber-btn:disabled .barber-price{color:#791c23;background:#e5c8ca}#barber-dialog .barber-status{color:#efaaaa;margin-inline-end:auto;font-size:12px}#barber-dialog .barber-status:empty{display:none}#barber-dialog .barber-confirm-text{color:var(--theme-text);text-align:center;margin:0}#board{box-sizing:border-box;border:1px solid var(--theme-frame);width:min(480px,100% - 16px);height:340px;max-height:calc(100% - 16px);color:var(--theme-text);background:var(--theme-bg-dark);border-radius:8px;flex-direction:column;display:flex;overflow:hidden;box-shadow:0 8px 28px #0009}#board .board-title{border-bottom:1px solid var(--theme-frame);background:var(--theme-heading);color:var(--theme-text);overflow-wrap:anywhere;flex-shrink:0;padding:10px 14px;font-size:17px;font-weight:700}#board .post-list{background:var(--theme-heading);flex:1;grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));align-content:start;gap:9px;min-height:0;padding:14px;display:grid;overflow:auto}#board .post-item{text-align:left;background:var(--theme-heading);border:1px solid var(--theme-frame);min-width:0;color:var(--theme-text);cursor:pointer;border-radius:3px;gap:4px;padding:14px 10px 8px;font-size:13px;display:grid;position:relative;box-shadow:0 2px 5px #0000004d}#board .post-item:before{content:"";background:var(--theme-secondary);border-radius:50%;width:5px;height:5px;position:absolute;top:4px;left:calc(50% - 2px)}#board .post-item:is(:hover,:focus-visible){background:var(--theme-bg-light);border-color:var(--theme-accent)}#board .post-subject-text{overflow-wrap:anywhere;font-weight:700}#board .post-author{color:var(--theme-dim);overflow-wrap:anywhere}#board .board-empty{text-align:center;color:var(--theme-text);grid-column:1/-1;margin:0;padding:20px 8px;font-size:14px}#board :is(.list-buttons,.view-buttons,.create-buttons){border-top:1px solid var(--theme-frame);justify-content:flex-end;gap:7px;padding:9px 12px;display:flex}#board :is(.post-subject-view,.create-subject,.post-body,.create-body){box-sizing:border-box;border:1px solid color-mix(in srgb, var(--theme-accent) 26%, transparent);background:var(--theme-input-bg);min-width:0;color:var(--theme-text);font:inherit;border-radius:4px;margin:8px 12px 0;padding:8px 10px;font-size:13px}#board :is(.post-body,.create-body){resize:none;white-space:pre-wrap;overflow-wrap:anywhere;flex:1;min-height:0;margin-bottom:8px;overflow:auto}#board:not([data-state=list]) :is(.post-list,.list-buttons),#board:not([data-state=view-post]) :is(.post-subject-view,.post-body,.view-buttons),#board:not([data-state=create-post]) :is(.create-subject,.create-body,.create-buttons){display:none}#book{box-sizing:border-box;background:var(--theme-surface);width:min(430px,100% - 16px);min-height:0;max-height:calc(100% - 16px);-webkit-backdrop-filter:var(--ui-blur);backdrop-filter:var(--ui-blur);border-color:var(--theme-frame);overflow-y:auto}#book .dialog-header{background:var(--theme-surface);border-bottom-color:var(--theme-frame);color:var(--theme-text);gap:11px;padding:12px 16px}#book .book-emblem{border:1px solid var(--theme-frame);background:var(--theme-bg-medium);border-radius:5px;flex:0 0 36px;place-items:center;height:36px;display:grid;font:19px/1 system-ui,sans-serif!important}#book .book-title{overflow-wrap:anywhere;margin:0;font-size:17px;line-height:1.3}.book-pages{border:1px solid var(--theme-frame);background:var(--theme-surface);min-height:74px;color:var(--theme-text);border-radius:3px 6px 6px 3px;margin:12px 14px;padding:11px 12px 12px 20px;overflow:auto;box-shadow:inset 0 0 0 3px #6f4b2425,0 3px 6px #100a076b}.book-pages h3{border-bottom:1px solid var(--theme-frame);color:var(--theme-accent);margin:0 0 3px;padding-bottom:5px;font-size:13px}.book-pages .quest-list{max-height:240px;margin:0;padding:0;list-style:none;overflow-y:auto}.book-pages .quest-list li{border-bottom:1px solid var(--theme-frame);overflow-wrap:anywhere;padding:7px 7px 7px 19px;font-size:13px;position:relative}.book-pages .quest-list li:before{content:"✓";color:var(--theme-secondary);position:absolute;left:2px}.book-pages .book-empty{color:var(--theme-dim);margin:10px 0 3px;font-size:13px}#book .dialog-footer{border-top-color:var(--theme-frame);flex:none;justify-content:flex-end}#boss-bars{top:var(--hud-edge-gap);z-index:1050;pointer-events:none;width:min(700px, calc(100% - 2 * var(--hud-edge-gap)));flex-wrap:wrap;justify-content:center;align-items:flex-start;gap:8px;display:flex;position:fixed;left:50%;transform:translate(-50%)}#boss-bars.hidden{display:none}.boss-bar{box-sizing:border-box;text-align:center;border:2px solid #0000;border-radius:5px;width:340px;max-width:100%;padding:2px 6px;transition:border-color .15s}.boss-bar.boss-bar--targeted{border-color:#22d3eef2;animation:1.6s ease-in-out infinite boss-bar-target-pulse;box-shadow:0 0 12px #22d3ee99,inset 0 0 6px #fde04759}@keyframes boss-bar-target-pulse{0%,to{box-shadow:0 0 8px #22d3ee73,inset 0 0 4px #fde04740}50%{box-shadow:0 0 16px #22d3eed9,inset 0 0 8px #fde04780}}.boss-bar__name{color:#e0d8c8;-webkit-text-stroke:.8px #000;paint-order:stroke fill;text-shadow:0 0 4px #000000e6,0 0 8px #000000b3;margin-bottom:3px;font-family:serif;font-size:14px}.boss-bar__track{background:#000000b3;border:1px solid #444;border-radius:3px;height:16px;position:relative;overflow:hidden}.boss-bar__fill{background:linear-gradient(#c03030,#901818);border-radius:2px;height:100%;transition:width .3s}.boss-bar__percentage{text-align:center;color:#fff;text-shadow:0 1px 2px #000;font-size:10px;line-height:16px;position:absolute;top:0;left:0;right:0}.boss-bar__status-tags{flex-wrap:wrap;justify-content:center;gap:6px;margin-top:3px;display:flex}.boss-bar--awakened .boss-bar__name{color:#fc0;text-shadow:0 0 6px #ffb40099,0 0 4px #000000e6,0 0 8px #000000b3}.boss-bar--awakened .boss-bar__track{border-color:#f80;height:18px;box-shadow:0 0 6px #ff88004d}.boss-bar--awakened .boss-bar__fill{background:linear-gradient(#f60,#c30)}.boss-bar--awakened .boss-bar__percentage{line-height:18px}.boss-bar--enraged .boss-bar__track{border-color:#f20;animation:1.5s ease-in-out infinite enrage-pulse}@keyframes enrage-pulse{0%,to{box-shadow:0 0 6px #f006}50%{box-shadow:0 0 14px #f00c}}.boss-bar__tag{text-transform:uppercase;letter-spacing:.5px;border-radius:3px;padding:0 6px;font-size:10px}.boss-bar__tag--enraged{color:#f66;background:#ff000026;border:1px solid #ff3c3c66}.boss-bar__tag--shielded{color:#69f;background:#0064ff26;border:1px solid #508cff66}.boss-bar__tag--slow{color:#69f;background:#6496ff26;border:1px solid #6496ff66}.boss-bar__tag--snare{color:#8ce;background:#82c8e626;border:1px solid #82c8e666}.boss-bar__tag--weaken{color:#b8e;background:#9664c826;border:1px solid #9664c866}.boss-bar__tag--hunters_mark{color:#e66;background:#c8464626;border:1px solid #c8464666}.boss-bar__tag--amplify{color:#d6d;background:#c846c826;border:1px solid #c846c866}@media (width<=768px){.boss-bar{width:260px}.boss-bar__name{font-size:12px}.boss-bar__track{height:12px}.boss-bar__percentage{font-size:9px;line-height:12px}.boss-bar__status-tags{gap:4px;margin-top:2px}.boss-bar__tag{padding:0 4px;font-size:9px}}#boss-damage-report{z-index:1200;width:240px;-webkit-backdrop-filter:var(--ui-blur);background:var(--theme-bg-dark,#0a0a0ef0);border:1px solid rgba(var(--theme-accent-r,212), var(--theme-accent-g,184), var(--theme-accent-b,150), .25);opacity:0;pointer-events:none;border-radius:6px;font-family:inherit;font-size:12px;transition:opacity .25s,transform .25s;position:fixed;top:50%;left:16px;transform:translateY(-50%);box-shadow:0 4px 20px #0009}#boss-damage-report.visible{opacity:1;pointer-events:auto}.boss-dmg-header{border-bottom:1px solid rgba(var(--theme-accent-r,212), var(--theme-accent-g,184), var(--theme-accent-b,150), .15);justify-content:space-between;align-items:center;padding:8px 10px;display:flex}.boss-dmg-title{color:var(--theme-accent,#d4b896);white-space:nowrap;text-overflow:ellipsis;flex:1;margin-right:6px;font-size:12px;font-weight:600;overflow:hidden}.boss-dmg-close{color:var(--theme-dim,#9a8d7e);cursor:pointer;background:0 0;border:none;flex-shrink:0;padding:0 2px;font-size:14px;line-height:1}.boss-dmg-close:hover{color:var(--theme-text,#e0d6c8)}.boss-dmg-rows{max-height:260px;padding:6px 0;overflow-y:auto}.boss-dmg-row{align-items:center;gap:6px;padding:3px 10px;display:flex}.boss-dmg-row.local-player{background:rgba(var(--theme-accent-r,212), var(--theme-accent-g,184), var(--theme-accent-b,150), .08)}.boss-dmg-rank{color:var(--theme-dim,#9a8d7e);text-align:right;flex-shrink:0;width:14px;font-size:10px}.boss-dmg-name{color:var(--theme-text,#e0d6c8);white-space:nowrap;text-overflow:ellipsis;flex:1;overflow:hidden}.boss-dmg-name.unqualified{color:var(--theme-dim,#9a8d7e)}.boss-dmg-damage{color:var(--theme-dim,#9a8d7e);flex-shrink:0;font-size:11px}.boss-dmg-percent{color:var(--theme-accent,#d4b896);text-align:right;flex-shrink:0;width:32px;font-size:11px}.boss-dmg-exp{color:#7ec87e;white-space:nowrap;flex-shrink:0;font-size:10px}.boss-dmg-bar-wrapper{position:relative}.boss-dmg-bar{background:rgba(var(--theme-accent-r,212), var(--theme-accent-g,184), var(--theme-accent-b,150), .06);pointer-events:none;border-radius:2px;height:100%;position:absolute;top:0;left:0}.boss-dmg-footer{color:var(--theme-dim,#9a8d7e);border-top:1px solid rgba(var(--theme-accent-r,212), var(--theme-accent-g,184), var(--theme-accent-b,150), .1);padding:4px 10px 6px;font-size:10px}#boss-status-panel{z-index:1200;width:320px;max-height:400px;-webkit-backdrop-filter:var(--ui-blur);background:var(--theme-bg-dark,#0a0a0ef0);border:1px solid rgba(var(--theme-accent-r,212), var(--theme-accent-g,184), var(--theme-accent-b,150), .25);border-radius:6px;flex-direction:column;font-family:inherit;font-size:12px;display:flex;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 4px 20px #0009}.boss-status-header{border-bottom:1px solid rgba(var(--theme-accent-r,212), var(--theme-accent-g,184), var(--theme-accent-b,150), .15);justify-content:space-between;align-items:center;padding:10px 12px;display:flex}.boss-status-title{color:var(--theme-accent,#d4b896);font-size:13px;font-weight:600}.boss-status-close{color:var(--theme-dim,#9a8d7e);cursor:pointer;background:0 0;border:none;padding:0 2px;font-size:16px;line-height:1}.boss-status-close:hover{color:var(--theme-text,#e0d6c8)}.boss-status-body{flex:1;padding:8px 0;overflow-y:auto}.boss-status-entry{border-bottom:1px solid rgba(var(--theme-accent-r,212), var(--theme-accent-g,184), var(--theme-accent-b,150), .08);padding:8px 12px}.boss-status-entry:last-child{border-bottom:none}.boss-status-name{color:var(--theme-text,#e0d6c8);margin-bottom:4px;font-size:12px;font-weight:600}.boss-status-details{flex-direction:column;gap:2px;padding-left:8px;display:flex}.boss-status-detail{align-items:baseline;gap:6px;font-size:11px;display:flex}.boss-status-detail-label{color:var(--theme-dim,#9a8d7e);flex-shrink:0}.boss-status-detail-value{color:var(--theme-text,#e0d6c8)}.boss-status-detail-value.status-active{color:#e85050;font-weight:600}.boss-status-detail-value.status-ready{color:#7ec87e}.boss-status-detail-value.status-cooldown{color:var(--theme-dim,#9a8d7e)}.boss-status-progress{align-items:center;gap:6px;margin-top:2px;display:flex}.boss-status-progress-bar{background:#ffffff0f;border-radius:3px;flex:1;height:6px;overflow:hidden}.boss-status-progress-fill{background:var(--theme-accent,#d4b896);border-radius:3px;height:100%;transition:width .3s}.boss-status-progress-text{color:var(--theme-dim,#9a8d7e);flex-shrink:0;font-size:10px}#buff-bar{border-top:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .1);flex-wrap:wrap;gap:3px;margin-top:4px;padding-top:6px;display:flex}.buff-icon{border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .2);background:#0a090799;border-radius:4px;flex-direction:column;justify-content:center;align-items:center;width:28px;height:28px;display:flex;position:relative}.buff-icon.shield{border-color:#50b0e880}.buff-icon.hot{border-color:#50c85080}.buff-icon.warcry{border-color:#dc3c3c80}.buff-icon.fortify{border-color:#648cb480}.buff-icon.bloodlust{border-color:#b4282880}.buff-icon.evasion{border-color:#3cb43c80}.buff-icon.divine_prot{border-color:#dcb43280}.buff-icon.mana_shield{border-color:#a050dc80}.buff-icon.arcane_int{border-color:#5078dc80}.buff-icon.bless_str{border-color:#dc8c2880}.buff-icon.bless_wis{border-color:#3cb4c880}.buff-icon.bless_agi{border-color:#64c85080}.buff-icon.divine_insp{border-color:#f0c82880}.buff-icon.healblock{border-color:#dc323280}.buff-icon.root{border-color:#3c64dc80}.buff-icon-symbol{font-size:12px;line-height:1}.buff-icon-value{color:#ffffffb3;text-shadow:0 1px 2px #000c;white-space:nowrap;font-size:7px;position:absolute;bottom:1px}#change-password-form{z-index:1050;box-sizing:border-box;color:var(--theme-text);position:absolute}#change-password-form .password-fields{gap:12px;display:grid}#change-password-form .password-account{color:var(--theme-dim);overflow-wrap:anywhere;margin:4px 0 0;font-size:13px}#character-select{--roster-border:rgb(var(--theme-accent-r) var(--theme-accent-g) var(--theme-accent-b) / .28);box-sizing:border-box;overscroll-behavior:contain;width:min(820px,100% - 24px);max-height:calc(100% - 36px);color:var(--theme-text);border:1px solid var(--roster-border);background:var(--theme-bg-dark);-webkit-backdrop-filter:var(--ui-blur);backdrop-filter:var(--ui-blur);border-radius:14px;flex-direction:column;align-self:center;gap:16px;margin:auto;padding:clamp(12px,2.5vw,24px);display:flex;overflow:auto;box-shadow:0 18px 54px #0008;container-type:inline-size}#character-select .roster-heading h1{color:var(--theme-accent);margin:0;font-size:clamp(20px,4vw,28px);line-height:1.1}#character-select .roster-count{color:var(--theme-dim);margin:5px 0 0;font-size:13px}#character-select .characters{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}#character-select .character{border:1px solid var(--roster-border);background:var(--theme-bg-medium);border-radius:9px;grid-template-rows:auto 1fr auto;gap:10px;min-width:0;padding:10px;display:grid}#character-select .character.empty{background:var(--theme-bg-dark);border-style:dashed}#character-select .roster-portrait{background:radial-gradient(ellipse at 50% 85%, rgb(var(--theme-accent-r) var(--theme-accent-g) var(--theme-accent-b) / .26), transparent 75%), var(--theme-input-bg);border-radius:6px;place-items:center;min-height:clamp(78px,17dvh,140px);display:grid}#character-select .empty .roster-portrait{background:var(--theme-input-bg)}#character-select .preview{object-fit:contain;width:100%;height:clamp(78px,17dvh,140px);image-rendering:pixelated;display:block}#character-select .roster-identity{align-self:center;min-width:0}#character-select .name{overflow-wrap:anywhere;color:var(--theme-text);margin:0;font-size:clamp(16px,2.6vw,21px)}#character-select .empty .name{color:var(--theme-dim);font-size:14px;font-weight:400}#character-select .roster-details{color:var(--theme-dim);flex-wrap:wrap;align-items:center;gap:4px 8px;margin-top:4px;font-size:13px;display:flex}#character-select .staff-badge{color:var(--theme-accent);border:1px solid var(--roster-border);border-radius:4px;padding:2px 5px;font-size:12px}#character-select .roster-character-actions{grid-template-columns:minmax(0,1fr) auto;gap:6px;display:grid}#character-select [hidden]{display:none}#character-select .roster-actions{border-top:1px solid var(--roster-border);flex-wrap:wrap;gap:6px;padding-top:12px;display:flex}#character-select button{white-space:normal;min-height:34px}#character-select button[data-id=create]{margin-inline-start:auto}#character-select :is(button[data-id=login],button[data-id=create]){color:var(--theme-text);background-color:var(--theme-bg-light);border-color:var(--theme-accent)}@container (width<475px){#character-select .characters{grid-template-columns:minmax(0,1fr);gap:6px}#character-select .character{grid-template:auto auto/62px minmax(0,1fr);gap:4px 10px;padding:6px}#character-select .roster-portrait{grid-row:1/-1;align-self:stretch;min-height:0}#character-select .preview{height:66px}#character-select .empty{grid-template-rows:minmax(30px,auto)}#character-select .roster-actions button[data-id=create]{margin-inline-start:0}}@media (height<=440px){#character-select{gap:8px;padding-block:10px}#character-select .roster-actions{padding-top:6px}}#character-entry-loading{z-index:10040;-webkit-backdrop-filter:var(--ui-blur);backdrop-filter:var(--ui-blur);background:#0000005c;place-items:center;padding:12px;display:grid;position:absolute;inset:0;overflow:auto}.character-loading-card{box-sizing:border-box;border:1px solid var(--theme-accent);background:var(--theme-bg-dark);width:min(310px,100%);color:var(--theme-text);text-align:center;border-radius:10px;justify-items:center;gap:14px;padding:18px;display:grid;box-shadow:0 12px 32px #0008}.character-loading-card h2{color:var(--theme-accent);margin:0;font-size:18px}.character-loading-spinner{border:3px solid var(--theme-bg-light);border-top-color:var(--theme-accent);border-radius:50%;width:30px;height:30px;animation:.85s linear infinite character-loading-spin}@keyframes character-loading-spin{to{transform:rotate(1turn)}}@media (prefers-reduced-motion:reduce){.character-loading-spinner{animation:none}}#chest{-webkit-user-select:none;user-select:none;box-sizing:border-box;background:var(--theme-bg-dark);border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .25);width:300px;min-height:180px;color:var(--theme-text);border-radius:8px;font-family:inherit;overflow:hidden;box-shadow:0 4px 24px #0009}#chest .chest-items{grid-template-columns:repeat(4,1fr);gap:4px;max-height:220px;padding:8px;font-size:12px;display:grid;overflow-y:auto}#chest .chest-items::-webkit-scrollbar{width:4px}#chest .chest-items::-webkit-scrollbar-thumb{background:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .3);border-radius:2px}#chest .chest-item{cursor:pointer;border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .1);border-radius:4px;flex-direction:column;align-items:center;padding:6px;transition:background .15s;display:flex;position:relative}#chest .chest-item:hover{background:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .08);border-color:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .25)}#chest .chest-item .item-image{object-fit:contain;max-width:36px;max-height:36px;image-rendering:pixelated}#chest .chest-item .item-text{text-align:center;margin-top:4px}#chest .chest-item .item-name{color:var(--theme-accent);text-overflow:ellipsis;white-space:nowrap;max-width:60px;margin:0;font-size:10px;overflow:hidden}#chest .chest-item .item-quantity{color:var(--theme-dim);margin:1px 0 0;font-size:9px}#chest button[data-id=cancel]{margin:8px auto;display:block}#citizen-dialog{background:var(--theme-surface);width:min(440px,100% - 16px);min-height:0;max-height:calc(100% - 16px);-webkit-backdrop-filter:var(--ui-blur);backdrop-filter:var(--ui-blur);color:var(--theme-text)}#citizen-dialog .citizen-header{background:var(--theme-heading);border-bottom-color:var(--theme-frame);padding:12px 18px}#citizen-dialog h2{margin:0;font-size:19px}#citizen-dialog .citizen-body{padding:16px;overflow:auto}#citizen-dialog .citizen-menu{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}#citizen-dialog .citizen-menu-btn{border:1px solid var(--theme-frame);background:var(--control-surface);min-height:107px;box-shadow:var(--frame-inset);color:var(--theme-text);cursor:pointer;border-radius:6px;flex-direction:column;justify-content:center;align-items:center;gap:9px;padding:10px;font-size:14px;transition:border-color .15s,background .15s,box-shadow .15s;display:flex}#citizen-dialog .citizen-menu-btn:is(:hover,:focus-visible){border-color:var(--theme-accent);background:var(--theme-heading);box-shadow:var(--frame-inset)}#citizen-dialog .citizen-menu-icon{font:26px/1.1 system-ui,sans-serif!important}#citizen-dialog .citizen-question{background:#201c16;border:1px solid #b49b673d;border-radius:6px;gap:6px;margin-bottom:10px;padding:10px 12px;display:grid}#citizen-dialog .citizen-question:last-child{margin-bottom:0}#citizen-dialog .citizen-question label{color:var(--theme-text);font-size:13px;line-height:1.35}#citizen-dialog .citizen-question input{border:1px solid var(--theme-frame);min-width:0;min-height:34px;color:var(--theme-text);background:#12110e;border-radius:4px;padding:6px 9px;font-size:14px}#citizen-dialog .citizen-question input:focus{border-color:var(--theme-accent);outline:1px solid #d9bf7e}#citizen-dialog :is(.citizen-message,.citizen-result){color:var(--theme-text);text-align:center;background:#201c16;border:1px solid #b49b673d;border-radius:6px;padding:14px 10px;font-size:14px;line-height:1.5}#citizen-dialog .citizen-message .gold{color:#f3ce7b;font-weight:700}#citizen-dialog .citizen-footer{background:#19161161;border-top-color:#b49b673d;justify-content:flex-end}#citizen-dialog .citizen-btn{border:1px solid var(--theme-frame);min-height:32px;color:var(--theme-text);cursor:pointer;background:#322a20;border-radius:4px;padding:5px 15px;font-size:13px}#citizen-dialog .citizen-btn.primary{background:#594425;border-color:#b1955e}#citizen-dialog .citizen-btn:is(:hover,:focus-visible){border-color:var(--theme-accent);background:#634d2e}#citizen-dialog .citizen-result.success{color:#b3daa9}#citizen-dialog .citizen-result.error{color:#f0ab9d}#control-editor-banner{z-index:1070;background:#4a6aafe6;justify-content:space-between;align-items:center;padding:10px 16px;display:flex;position:fixed;top:0;left:0;right:0}#control-editor-banner .editor-title{color:#fff;font-family:monospace;font-size:14px;font-weight:700}#control-editor-banner .editor-actions{align-items:center;gap:10px;display:flex}#control-editor-banner .editor-reset{color:#ffffffb3;cursor:pointer;background:0 0;border:none;font-family:monospace;font-size:13px;text-decoration:underline}#control-editor-banner .editor-done{color:#4a6aaf;cursor:pointer;background:#fff;border:none;border-radius:4px;padding:6px 16px;font-family:monospace;font-size:13px;font-weight:700}body.control-edit-mode #joystick-container,body.control-edit-mode #btn-attack,body.control-edit-mode #btn-toggle-sit{background-color:#4a6aaf26!important;border:2px dashed #4a6aaf99!important}body.control-edit-mode #joystick-base{box-shadow:none!important;background:0 0!important;border-color:#0000!important}body.control-edit-mode .control-label{text-align:center;color:#6a8aaf;pointer-events:none;margin-top:4px;font-family:monospace;font-size:10px}:is(#create-account-form,#create-character-form){box-sizing:border-box;border:1px solid rgb(var(--theme-accent-r) var(--theme-accent-g) var(--theme-accent-b) / 36%);width:min(480px,100% - 32px);max-height:calc(100% - 32px);color:var(--theme-text);border-radius:12px;align-self:center;margin:auto;overflow:auto;box-shadow:0 12px 44px #0000006b}.entry-panel-header{background:var(--theme-heading);border-bottom:1px solid rgb(var(--theme-accent-r) var(--theme-accent-g) var(--theme-accent-b) / 20%);padding:16px 22px}.entry-panel-header h1{color:var(--theme-accent);margin:0;font-size:20px;font-weight:600}.entry-panel-body{padding:20px 22px}.account-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;display:grid}.account-username,.account-email{grid-column:1/-1}.entry-field{min-width:0;color:var(--theme-accent);gap:5px;font-size:13px;display:grid}.entry-field input{box-sizing:border-box;width:100%;min-height:34px;color:var(--theme-text);background:var(--theme-input-bg);border:1px solid rgb(var(--theme-accent-r) var(--theme-accent-g) var(--theme-accent-b) / 28%);border-radius:5px;padding:7px 10px;font-size:14px}.entry-field input:focus-visible{outline:1px solid var(--theme-accent);outline-offset:-1px}.entry-panel-actions{border-top:1px solid rgb(var(--theme-accent-r) var(--theme-accent-g) var(--theme-accent-b) / 20%);flex-wrap:wrap;justify-content:flex-end;gap:8px;padding:12px 22px;display:flex}.entry-panel-actions button{min-height:32px}@media (width<=450px){.account-fields{grid-template-columns:minmax(0,1fr)}:is(.entry-panel-header,.entry-panel-body,.entry-panel-actions){padding-inline:14px}}#create-character-form{z-index:1050;width:min(500px,100% - 32px);height:fit-content;position:absolute;inset:0}.character-designer{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:18px;display:grid}.preview-stage{background:radial-gradient(ellipse at 50% 75%, var(--theme-bg-light), var(--theme-input-bg) 80%);min-width:0;min-height:120px;color:var(--theme-accent);border:1px solid rgb(var(--theme-accent-r) var(--theme-accent-g) var(--theme-accent-b) / 24%);cursor:pointer;border-radius:8px;flex-direction:column;justify-content:flex-end;align-items:center;gap:8px;padding:10px;display:flex}.preview-stage:hover,.preview-stage:focus-visible{border-color:var(--theme-accent)}#create-character-preview{aspect-ratio:1;object-fit:contain;width:min(100%,144px);image-rendering:pixelated}#create-character-toggles{align-content:start;gap:8px;display:grid}#create-character-toggles .entry-field{margin-bottom:4px}.appearance-row{color:var(--theme-accent);grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);align-items:center;gap:4px;font-size:13px;display:grid}.appearance-option{justify-content:space-between;gap:4px;min-width:0;padding:5px 8px}@media (width<=450px){.character-designer{grid-template-columns:minmax(0,1fr);gap:10px}#create-character-preview{width:85px}}#damage-tracker{bottom:180px;left:var(--hud-edge-gap);z-index:1050;width:180px;-webkit-backdrop-filter:var(--ui-blur);background:var(--theme-bg-dark,#0a0a0ef0);border:1px solid rgba(var(--theme-accent-r,212), var(--theme-accent-g,184), var(--theme-accent-b,150), .2);-webkit-user-select:none;user-select:none;border-radius:6px;font-family:inherit;font-size:11px;position:fixed;box-shadow:0 2px 12px #00000080}.dmg-tracker-header{border-bottom:1px solid rgba(var(--theme-accent-r,212), var(--theme-accent-g,184), var(--theme-accent-b,150), .12);justify-content:space-between;align-items:center;padding:5px 8px;display:flex}.dmg-tracker-target{color:var(--theme-accent,#d4b896);white-space:nowrap;text-overflow:ellipsis;flex:1;margin-right:4px;font-size:11px;font-weight:600;overflow:hidden}.dmg-tracker-close{color:var(--theme-dim,#9a8d7e);cursor:pointer;background:0 0;border:none;flex-shrink:0;padding:0 2px;font-size:13px;line-height:1}.dmg-tracker-close:hover{color:var(--theme-text,#e0d6c8)}.dmg-tracker-body{flex-direction:column;gap:3px;padding:6px 8px;display:flex}.dmg-tracker-row{justify-content:space-between;align-items:baseline;display:flex}.dmg-tracker-label{color:var(--theme-dim,#9a8d7e);text-transform:uppercase;letter-spacing:.5px;font-size:10px}.dmg-tracker-value{color:var(--theme-text,#e0d6c8);font-size:12px;font-weight:600}.dmg-tracker-value.dps{color:var(--theme-accent,#d4b896)}.dmg-tracker-value.thorns{color:#7ec87e}#exit-game{z-index:1060;top:var(--hud-edge-gap);right:var(--hud-edge-gap);position:absolute}#exit-game button{background:var(--theme-bg-dark);border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .2);width:28px;height:28px;color:var(--theme-dim);cursor:pointer;border-radius:4px;justify-content:center;align-items:center;font-family:inherit;font-size:16px;line-height:1;transition:color .15s,border-color .15s,background .15s;display:flex}#exit-game button:hover{color:#ef9a9a;background:#1e100ceb;border-color:#ef9a9a4d}#guild-dialog{background:var(--theme-surface);border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .2);width:340px;color:var(--theme-text);border-radius:6px;font-size:11px;position:relative;overflow:hidden}.guild-header{background:var(--theme-heading);color:var(--theme-accent);border-bottom:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .15);padding:8px 12px;font-size:12px;font-weight:700}.guild-body{max-height:350px;padding:8px;overflow-y:auto}.guild-footer{border-top:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .1);justify-content:flex-end;gap:6px;padding:8px;display:flex}.guild-menu-btn{background:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .06);border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .12);width:100%;color:var(--theme-text);cursor:pointer;text-align:left;border-radius:4px;margin-bottom:4px;padding:8px 12px;font-family:inherit;font-size:11px;transition:background .15s;display:block}.guild-menu-btn:hover{background:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .15)}.guild-menu-btn:last-child{margin-bottom:0}.guild-btn{background:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .08);border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .2);color:var(--theme-text);cursor:pointer;border-radius:3px;padding:5px 12px;font-family:inherit;font-size:11px;transition:background .15s}.guild-btn:hover{background:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .18)}.guild-btn.primary{background:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .15);border-color:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .35);color:var(--theme-accent)}.guild-btn.primary:hover{background:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .28)}.guild-btn.danger{color:#ef9a9a;border-color:#f443364d}.guild-btn.danger:hover{background:#f4433626}.guild-info-section{margin-bottom:8px}.guild-info-label{color:var(--theme-dim);text-transform:uppercase;letter-spacing:.5px;margin-bottom:2px;font-size:10px}.guild-info-value{color:var(--theme-text);padding:2px 0}.guild-info-value.highlight{color:var(--theme-accent);font-weight:700}.guild-member-row{border-radius:3px;justify-content:space-between;align-items:center;padding:4px 8px;display:flex}.guild-member-row:nth-child(2n){background:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .04)}.guild-member-name{color:var(--theme-text)}.guild-member-rank{color:var(--theme-dim);font-size:10px}.guild-staff-row{border-radius:3px;justify-content:space-between;padding:3px 6px;display:flex}.guild-staff-row:nth-child(2n){background:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .04)}.guild-staff-name{color:var(--theme-accent)}.guild-staff-type{color:var(--theme-dim);font-size:10px}.guild-input{border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .2);background:var(--theme-input-bg);width:100%;color:var(--theme-text);box-sizing:border-box;border-radius:3px;padding:5px 8px;font-family:inherit;font-size:11px}.guild-input:focus{border-color:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .4);outline:none}textarea.guild-input{resize:vertical}.guild-input-group{margin-bottom:8px}.guild-input-group label{color:var(--theme-dim);text-transform:uppercase;letter-spacing:.5px;margin-bottom:3px;font-size:10px;display:block}.guild-message{text-align:center;border-radius:3px;margin:4px 0;padding:6px 8px;font-size:11px}.guild-message.success{color:#a5d6a7;background:#4caf5026;border:1px solid #4caf504d}.guild-message.error{color:#ef9a9a;background:#b71c1c26;border:1px solid #f443364d}.guild-message.info{color:#90caf9;background:#2196f326;border:1px solid #2196f34d}.guild-waiting{text-align:center;color:var(--theme-dim);padding:16px}.guild-create-list{padding:8px 0}.guild-waiting-dot{animation:1.4s infinite both guildPulse;display:inline-block}.guild-waiting-dot:nth-child(2){animation-delay:.2s}.guild-waiting-dot:nth-child(3){animation-delay:.4s}@keyframes guildPulse{0%,80%,to{opacity:.3}40%{opacity:1}}#guild-create-invite{background:var(--theme-surface);border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .25);color:var(--theme-text);z-index:200;text-align:center;border-radius:6px;min-width:220px;padding:10px 16px;font-size:11px;position:fixed;top:80px;left:50%;transform:translate(-50%)}#guild-create-invite .guild-invite-text{margin-bottom:8px}#guild-create-invite .guild-invite-name{color:var(--theme-accent);font-weight:700}#guild-create-invite .guild-invite-buttons{justify-content:center;gap:8px;display:flex}#hotbar{--hotbar-slot-size:clamp(24px, min(3.9vw, 7dvh), 64px);--hotbar-columns:5;--hotbar-gap:4px;--hotbar-padding:7px;bottom:var(--hud-edge-gap);box-sizing:border-box;grid-template-columns:repeat(var(--hotbar-columns), var(--hotbar-slot-size));gap:var(--hotbar-gap);width:max-content;padding:var(--hotbar-padding);z-index:1020;display:grid;position:fixed;left:50%;transform:translate(-50%)}#hotbar.ui-repositioned{bottom:unset;transform:none}#hotbar[data-slots="10"]{--hotbar-columns:10}#hotbar.two-rows{--hotbar-columns:5}#hotbar.two-cols{--hotbar-columns:2}#hotbar.vertical{--hotbar-columns:1}#hotbar .slot{box-sizing:border-box;width:var(--hotbar-slot-size);height:var(--hotbar-slot-size);background:var(--theme-surface);border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .29);border-radius:6px;justify-content:center;align-items:center;padding:3px;transition:background .15s,border-color .15s;display:flex;position:relative}#hotbar .slot.assigned{background:var(--theme-bg-dark);border-color:color-mix(in srgb, var(--theme-accent) 44%, transparent)}#hotbar .slot:not(.assigned):after{background:var(--theme-bg-medium);color:var(--theme-text)}#hotbar .slot:hover{border-color:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .4)}#hotbar .slot:before{content:"";z-index:1021;box-sizing:border-box;background:#ffffff08;border-radius:4px;width:100%;height:100%}#hotbar .slot:after{content:attr(data-label);width:14px;height:14px;color:var(--theme-dim);background:var(--theme-bg-dark);border-bottom:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .15);border-right:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .15);z-index:1022;border-radius:0 0 6px;justify-content:center;align-items:center;font-size:10px;line-height:normal;display:flex;position:absolute;top:3px;left:3px}#hotbar .slot .item,#hotbar .slot .skill{z-index:1023;position:absolute}#hotbar .slot .skill{width:34px;max-width:100%;height:32px;max-height:100%}#hotbar .slot .item{justify-content:center;align-items:center;width:64px;max-width:100%;height:32px;max-height:100%;display:flex}#hotbar .slot.spell-active{border-color:#64c8ffe6;animation:2s ease-in-out infinite spell-pulse;box-shadow:0 0 10px #64c8ff80,0 0 20px #64c8ff33,inset 0 0 8px #64c8ff40}#hotbar .slot.spell-active:before{background:#64c8ff1a;border:1px solid #64c8ff33}@keyframes spell-pulse{0%,to{box-shadow:0 0 10px #64c8ff80,0 0 20px #64c8ff33,inset 0 0 8px #64c8ff40}50%{box-shadow:0 0 14px #64c8ffa6,0 0 28px #64c8ff4d,inset 0 0 10px #64c8ff59}}#hotbar .slot .cooldown-overlay{z-index:1025;pointer-events:none;border-radius:6px;width:100%;height:100%;position:absolute;top:0;left:0}#hotbar .slot .cooldown-text{color:#fff;text-shadow:0 1px 3px #000000e6;z-index:1026;pointer-events:none;font-size:14px;font-weight:700;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}#hotbar .slot:after{width:auto;min-width:14px;max-width:calc(100% - 6px);padding-inline:2px;overflow:hidden}#hotbar .slot img{object-fit:contain;max-width:100%;max-height:100%}#hud{z-index:1020;top:var(--hud-edge-gap);left:var(--hud-edge-gap);background:var(--theme-surface);border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .18);min-width:260px;color:var(--theme-text);-webkit-user-select:none;user-select:none;pointer-events:auto;border-radius:8px;padding:10px 12px 11px;position:fixed}#hud .hud-header{background:var(--theme-heading);border-bottom:1px solid var(--theme-frame);border-radius:8px 8px 0 0;justify-content:space-between;align-items:center;gap:12px;margin:-10px -12px 10px;padding:9px 12px;display:flex}#hud .hud-name{color:var(--theme-accent);white-space:nowrap;text-overflow:ellipsis;max-width:200px;font-family:Georgia,serif;font-size:18px;font-weight:700;overflow:hidden}#hud .hud-level{color:var(--theme-dim);white-space:nowrap;font-size:14px}#hud .hud-bar-row{align-items:center;gap:8px;margin-bottom:4px;display:flex}#hud .hud-bar-label{width:34px;color:var(--theme-dim);flex-shrink:0;font-size:13px}#hud .hud-bar-track{background:#ffffff0f;border-radius:6px;flex:1;height:16px;position:relative;overflow:hidden}#hud .hud-bar-fill{border-radius:6px;height:100%;transition:width .3s}#hud .hud-bar-fill.hp{background:linear-gradient(90deg,#c03030,#e05050)}#hud .hud-bar-fill.shield{opacity:.6;background:linear-gradient(90deg,#3080c0,#50b0e8);border-radius:6px;height:100%;transition:width .3s;position:absolute;top:0;left:0}#hud .hud-bar-fill.tp{background:linear-gradient(90deg,#2090a0,#40c0d0)}#hud .hud-bar-fill.exp{background:linear-gradient(90deg,#b0982c,#d8c040)}#hud .hud-bar-text{color:#fff;text-shadow:0 1px 2px #0009;pointer-events:none;justify-content:center;align-items:center;font-size:10px;display:flex;position:absolute;inset:0}#hud .hud-identity{min-width:0;display:grid}#hud .hud-class{color:var(--theme-secondary);text-shadow:0 1px 2px #000;font-size:12px}#hud .hud-level{border:1px solid var(--theme-frame);color:var(--theme-text);border-radius:4px;padding:3px 6px}#hud .hud-bar-track{background:var(--theme-input-bg);box-shadow:inset 0 0 0 1px var(--theme-frame)}.mobile-hud-identity{min-width:0;color:var(--theme-text);grid-column:1/-1;gap:6px;font-size:11px;display:flex}.mobile-hud-identity>*{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mobile-hud-identity .hud-class{color:var(--theme-secondary)}#ui{--desktop-menu-size:clamp(34px, 4.8vw, 46px);--desktop-menu-gap:5px}#in-game-menu{right:var(--hud-edge-gap);bottom:var(--hud-edge-gap);grid-template-columns:repeat(3, var(--desktop-menu-size));gap:var(--desktop-menu-gap);z-index:1160;display:grid;position:absolute}#in-game-menu .menu-btn{box-sizing:border-box;width:var(--desktop-menu-size);height:var(--desktop-menu-size);background:var(--theme-surface);-webkit-backdrop-filter:var(--ui-blur);backdrop-filter:var(--ui-blur);border:1px solid var(--theme-frame);color:var(--theme-accent);cursor:pointer;border-radius:6px;place-items:center;padding:0;transition:background-color .15s,border-color .15s,color .15s,box-shadow .15s;display:grid;position:relative}#in-game-menu .menu-btn:is(:hover,:focus-visible){z-index:1;background:var(--theme-bg-light);border-color:var(--theme-accent);box-shadow:0 0 12px color-mix(in srgb, var(--theme-accent) 27%, transparent);color:var(--theme-text)}#in-game-menu .menu-btn svg{fill:currentColor;width:21px;height:21px}#in-game-menu .menu-btn:after{content:attr(aria-label);border:1px solid color-mix(in srgb, var(--theme-accent) 36%, transparent);background:var(--theme-bg-dark);-webkit-backdrop-filter:var(--ui-blur);backdrop-filter:var(--ui-blur);color:var(--theme-text);white-space:nowrap;opacity:0;visibility:hidden;pointer-events:none;border-radius:5px;padding:5px 9px;font-size:12px;position:absolute;bottom:calc(100% + 6px);right:0}#in-game-menu .menu-btn:hover:after{opacity:1;visibility:visible;transition:opacity .14s 2s,visibility 0s 2s}#in-game-menu .menu-btn:focus-visible:after{opacity:1;visibility:visible}#info-dialog{box-sizing:border-box;width:min(var(--character-dialog-width), calc(100% - 24px));border:1px solid var(--theme-frame);background:var(--theme-surface);min-height:0;max-height:min(555px,100% - 24px);color:var(--theme-text);border-radius:8px;overflow:hidden}#info-dialog .dialog-header{flex:none;padding:13px 16px 11px}#info-dialog .info-name{overflow-wrap:anywhere;margin:0;font-size:21px}#info-dialog .info-name:focus{outline:none}#info-dialog .lookup-summary{color:var(--theme-dim);overflow-wrap:anywhere;margin:4px 0 0;font-weight:400}#info-dialog .lookup-content{flex:auto;grid-template-columns:minmax(0,1fr);align-content:start;align-items:stretch;gap:10px;min-height:0;max-height:none;padding:12px;display:grid;overflow-y:auto}#info-dialog .lookup-results{grid-template-columns:repeat(auto-fit,minmax(min(100%,205px),1fr));gap:8px;margin:0;padding:0;list-style:none;display:grid}#info-dialog .lookup-result{text-align:left;overflow-wrap:anywhere;width:100%;height:100%;min-height:64px;color:var(--theme-dim);cursor:pointer;grid-template-columns:minmax(0,1fr) auto;align-content:center;gap:5px 8px;padding:9px 10px;display:grid}#info-dialog .lookup-result,#info-dialog :is(.lookup-profile,.lookup-stat-group){border:1px solid var(--theme-frame);background:var(--theme-bg-medium);border-radius:6px}#info-dialog .lookup-result:is(:hover,:focus-visible){border-color:var(--theme-secondary);background:var(--theme-heading)}#info-dialog .lookup-result strong{color:var(--theme-text);grid-column:1;font-size:14px}#info-dialog .lookup-result span{font-size:11px}#info-dialog .lookup-id{color:var(--theme-accent);font-variant-numeric:tabular-nums;grid-area:1/2/span 2;align-self:center}#info-dialog .lookup-profile{background:var(--theme-heading);align-items:center;gap:12px;padding:10px;display:flex}#info-dialog .lookup-portrait{border:1px solid var(--theme-frame);background:var(--theme-input-bg);border-radius:5px;flex:0 0 72px;place-items:center;height:72px;display:grid}#info-dialog .lookup-portrait[hidden]{display:none}#info-dialog .lookup-portrait img{max-width:62px;max-height:62px;image-rendering:pixelated;object-fit:contain}#info-dialog .lookup-identity{overflow-wrap:anywhere;flex-wrap:wrap;gap:5px;min-width:0;display:flex}#info-dialog .lookup-identity h3{width:100%;color:var(--theme-text);margin:0 0 2px;font-size:17px}#info-dialog .lookup-badge{border:1px solid var(--theme-frame);background:var(--theme-bg-medium);color:var(--theme-text);border-radius:4px;padding:3px 6px;font-size:11px}#info-dialog .lookup-stat-group{padding:9px}#info-dialog .lookup-stat-group h3{border-bottom:1px solid var(--theme-frame);color:var(--theme-secondary);margin:0 0 8px;padding:0 2px 5px;font-size:13px}#info-dialog dl{grid-template-columns:repeat(auto-fit,minmax(min(100%,120px),1fr));gap:6px;margin:0;display:grid}#info-dialog dl>div{border:1px solid var(--theme-frame);background:var(--theme-input-bg);overflow-wrap:anywhere;border-radius:4px;padding:6px 8px}#info-dialog dt{color:var(--theme-dim);font-size:11px}#info-dialog dd{color:var(--theme-text);font-variant-numeric:tabular-nums;margin:2px 0 0;font-size:16px;font-weight:700}#info-dialog .dialog-footer{flex:none;justify-content:flex-end}#info-dialog .dialog-footer button{margin:0}#info-dialog [data-id=back]{margin-inline-end:auto}body.is-mobile #ui #dialogs>#info-dialog:not(.hidden){overflow:hidden!important}#instrument-dialog{box-sizing:border-box;border:1px solid var(--theme-accent);width:min(460px,100% - 24px);max-height:calc(100% - 24px);color:var(--theme-text);border-radius:8px;padding:12px;overflow:auto}#instrument-dialog header{justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;display:flex}#instrument-title{color:var(--theme-accent);margin:0;font-size:18px}.instrument-notes{grid-template-columns:repeat(auto-fit,minmax(30px,1fr));gap:4px;display:grid}#instrument-dialog .instrument-notes button{min-width:0;min-height:32px;padding:2px}#inventory{margin:auto max(56px, var(--hud-edge-gap)) auto 0;box-sizing:border-box;border:1px solid var(--theme-frame);background:var(--theme-surface);width:min(454px,100% - 72px);height:min(388px,100% - 16px);color:var(--theme-text);-webkit-user-select:none;user-select:none;border-radius:9px;flex-direction:column;display:flex;position:absolute;inset:0 0 0 auto;z-index:1050!important}#inventory.ui-repositioned{margin:0;inset:auto}#inventory .inventory-header,#inventory .inventory-tools,#inventory .buttons{box-sizing:border-box;flex:none;align-items:center;gap:6px;min-width:0;padding:5px 8px;display:flex}#inventory .inventory-header{background:var(--theme-heading);border-bottom:1px solid var(--theme-frame);border-radius:8px 8px 0 0}#inventory-title{margin:0 auto 0 0;font-size:16px}#inventory .weight{color:var(--theme-dim);white-space:nowrap;font-size:11px}#inventory [data-id=close]{padding:1px 7px;font-size:17px;line-height:1.1}#inventory .inventory-tools{border-bottom:1px solid var(--theme-frame);justify-content:space-between}#inventory .inventory-gold{font-variant-numeric:tabular-nums;color:#ffe098;touch-action:none;align-items:center;gap:5px;padding:3px 7px;display:flex}.inventory-coin{box-sizing:border-box;background:radial-gradient(circle at 35% 30%,#ffedaa,#d2a043 64%,#845721);border:1px solid #fad17a;border-radius:50%;flex:none;width:13px;height:13px;display:inline-block;box-shadow:inset 0 0 0 2px #ffe39c56}#inventory .inventory-pages{white-space:nowrap;align-items:center;gap:5px;font-size:11px;display:flex}#inventory .inventory-pages[hidden]{display:none}#inventory .inventory-pages button{padding:0 6px;font-size:16px}#inventory .inventory-space{flex:1;place-items:center;min-height:0;display:grid;position:relative;overflow:hidden}#inventory .grid{gap:1px;width:max-content;height:max-content;display:grid;position:relative;overflow:hidden}#inventory .cell{background:var(--theme-input-bg);border-radius:2px}#inventory .item{background:var(--theme-bg-medium);touch-action:none;cursor:grab;border-radius:2px;place-items:center;min-width:0;min-height:0;display:grid}#inventory .item:hover,#inventory .inventory-selected{outline:1px solid var(--theme-secondary);outline-offset:-1px;background:var(--theme-bg-light)}#inventory .item img{object-fit:contain;max-width:100%;max-height:100%;image-rendering:pixelated;pointer-events:none}#inventory .inventory-drop-preview{z-index:1;pointer-events:none;outline-offset:-1px;background:#5cba6f3d;outline:1px solid #9ae4a4}#inventory .inventory-drop-preview.blocked{background:#d151463d;outline-color:#efa29a}#inventory .buttons{border-top:1px solid var(--theme-frame);flex-wrap:wrap;justify-content:flex-end}#inventory .buttons button{min-width:0;padding:4px 6px}#inventory .buttons [data-id=drop]{margin-left:auto}#inventory .buttons [data-id=trade]{display:none}#ui:has(#trade-dialog:not(.hidden)) #inventory [data-id=trade]{margin-left:auto;display:inline-block}#inventory button:disabled{opacity:.62}#inventory .mobile-action-bar{flex-wrap:wrap;justify-content:flex-end;gap:3px;padding:3px 6px;bottom:33px}#inventory .mobile-action-bar button{min-width:auto;height:auto;min-height:27px;color:var(--theme-text);padding:3px 7px}#inventory :is(.mobile-slot-picker,.mobile-info-popup){flex-wrap:wrap;max-height:min(60%,190px);bottom:65px;overflow:hidden}body.is-mobile #ui>#inventory:not(.hidden){max-height:none;overflow:hidden;inset:var(--touch-hud-space) var(--touch-gap) var(--touch-gap)!important;width:min(560px, calc(100% - 2 * var(--touch-gap)))!important;height:auto!important;margin:0 auto!important;position:absolute!important}body.is-mobile #ui .mobile-split-view>#inventory{overflow:hidden!important}body.is-mobile #inventory .buttons button{min-height:26px}body:not(.is-mobile) #ui:has(#trade-dialog:not(.hidden))>#inventory:not(.hidden){width:min(454px,47%);inset:0 var(--hud-edge-gap) 0 auto!important;margin:auto 0!important}body:not(.is-mobile) #ui:has(>#inventory:not(.hidden)) #trade-dialog:not(.hidden){width:min(440px,48%);transform:translateY(-50%);top:50%!important;left:1%!important}body.is-mobile #ui:has(>#inventory:not(.hidden)) #dialogs>#trade-dialog:not(.hidden){margin:0!important;position:absolute!important}@media (orientation:landscape){body.is-mobile #ui:has(#trade-dialog:not(.hidden))>#inventory:not(.hidden){width:auto!important;inset-inline-start:50%!important}body.is-mobile #ui:has(>#inventory:not(.hidden)) #dialogs>#trade-dialog:not(.hidden){inset:50% auto auto var(--touch-gap)!important;width:calc(50% - 2 * var(--touch-gap))!important;transform:translateY(-50%)!important}}@media (orientation:portrait){body.is-mobile #ui:has(#trade-dialog:not(.hidden))>#inventory:not(.hidden){inset-block-start:calc((100% + var(--touch-hud-space)) / 2 + var(--touch-gap))!important}body.is-mobile #ui:has(>#inventory:not(.hidden)) #dialogs>#trade-dialog:not(.hidden){inset:var(--touch-gap) var(--touch-gap) auto!important;width:auto!important;max-height:calc(50% - 2 * var(--touch-gap))!important}}body.is-mobile #ui #inventory .inventory-gold{touch-action:none}#inventory .inventory-gold>span{pointer-events:none}#ui:has(#item-amount-dialog:not(.hidden)):after{content:"";z-index:1099;background:#00000059;position:absolute;inset:0}#item-amount-dialog{width:min(340px, calc(100% - 2 * var(--hud-edge-gap)));max-height:calc(100% - 2 * var(--hud-edge-gap));box-sizing:border-box;background:var(--theme-bg-dark);border:1px solid color-mix(in srgb, var(--theme-accent) 40%, transparent);z-index:1100;color:var(--theme-text);border-radius:8px;position:absolute;top:50%;left:50%;overflow:auto;transform:translate(-50%,-50%);box-shadow:0 12px 34px #000000a6}#item-amount-dialog .header{color:var(--theme-accent);background:var(--theme-bg-light);border-bottom:1px solid color-mix(in srgb, var(--theme-accent) 20%, transparent);margin:0;padding:12px 16px;font-size:16px}#item-amount-dialog .label{overflow-wrap:anywhere;margin:0;padding:12px 16px 8px;font-size:13px;line-height:1.4}#item-amount-dialog .amount-fields{color:var(--theme-dim);gap:7px;padding:0 16px 12px;font-size:12px;display:grid}#item-amount-dialog .amount-value-row{gap:8px;display:flex}#item-amount-dialog input[type=number]{box-sizing:border-box;background:var(--theme-input-bg);border:1px solid color-mix(in srgb, var(--theme-accent) 24%, transparent);min-width:0;color:var(--theme-text);font:inherit;border-radius:4px;flex:1;padding:7px 9px;font-size:14px}#item-amount-dialog input:focus-visible{outline:1px solid var(--theme-accent)}#item-amount-dialog input[type=range]{appearance:none;cursor:pointer;background:0 0;width:100%;height:21px;margin:2px 0 0}#item-amount-dialog input[type=range]::-webkit-slider-runnable-track{border:1px solid color-mix(in srgb, var(--theme-accent) 38%, transparent);background:var(--theme-bg-light);border-radius:5px;height:7px}#item-amount-dialog input[type=range]::-moz-range-track{border:1px solid color-mix(in srgb, var(--theme-accent) 38%, transparent);background:var(--theme-bg-light);border-radius:5px;height:7px}#item-amount-dialog input[type=range]::-webkit-slider-thumb{appearance:none;border:1px solid var(--theme-text);background:var(--theme-accent);border-radius:50%;width:15px;height:15px;margin-top:-5px}#item-amount-dialog input[type=range]::-moz-range-thumb{border:1px solid var(--theme-text);background:var(--theme-accent);border-radius:50%;width:15px;height:15px}#item-amount-dialog .amount-limit{text-align:right}#item-amount-dialog .amount-buttons{border-top:1px solid color-mix(in srgb, var(--theme-accent) 18%, transparent);justify-content:flex-end;gap:8px;padding:10px 16px;display:flex}#large-alert-small-header{background:var(--theme-bg-dark);border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .25);-webkit-user-select:none;user-select:none;z-index:1100;min-width:340px;max-width:440px;color:var(--theme-text);border-radius:8px;font-family:inherit;position:absolute;overflow:hidden;box-shadow:0 4px 24px #0009}#large-alert-small-header .title{color:var(--theme-accent);background:var(--theme-bg-light);border-bottom:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .15);padding:10px 16px;font-size:13px;font-weight:600;display:block}#large-alert-small-header .message{color:var(--theme-text);min-height:60px;padding:16px 18px;font-size:12px;line-height:1.6;display:block}#large-alert-small-header button{margin:0 12px 10px auto;display:block}#large-confirm-small-header{background:var(--theme-bg-dark);border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .25);-webkit-user-select:none;user-select:none;z-index:1100;min-width:340px;max-width:440px;color:var(--theme-text);border-radius:8px;font-family:inherit;position:absolute;overflow:hidden;box-shadow:0 4px 24px #0009}#large-confirm-small-header .title{color:var(--theme-accent);background:var(--theme-bg-light);border-bottom:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .15);padding:10px 16px;font-size:13px;font-weight:600;display:block}#large-confirm-small-header .message{color:var(--theme-text);min-height:60px;padding:16px 18px;font-size:12px;line-height:1.6;display:block}#large-confirm-small-header .buttons{border-top:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .15);justify-content:flex-end;gap:6px;padding:8px 12px;display:flex}#locker{box-sizing:border-box;width:min(420px,100% - 16px);min-height:0;max-height:calc(100% - 16px)}.locker-filters{gap:3px;margin-bottom:8px;padding:0 12px;display:flex}.locker-filters .themed-btn{opacity:.6;flex:1 1 0;min-width:0;padding-inline:4px}.locker-filters .themed-btn.active{opacity:1;border-color:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .4)}.locker-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,80px),1fr));align-content:start;gap:4px;min-height:0;max-height:240px;padding:4px 12px;display:grid;overflow:hidden auto}.locker-grid-empty{text-align:center;color:var(--theme-very-dim);grid-column:1/-1;padding:24px 0;font-size:11px;font-style:italic}#login-form{background:var(--theme-bg-dark);border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .25);box-sizing:border-box;width:min(340px,100% - 24px);color:var(--theme-text);border-radius:8px;margin:auto;padding:16px 20px;font-family:inherit;box-shadow:0 4px 24px #0009}#login-form .login-field{margin-bottom:10px}#login-form .login-field label{color:var(--theme-dim);margin-bottom:3px;font-size:11px;display:block}input[type=text],input[type=password]{border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .2);width:100%;color:var(--theme-text);box-sizing:border-box;background:#1e1912b3;border-radius:4px;outline:none;padding:6px 10px;font-family:inherit;font-size:12px}input[type=text]:focus,input[type=password]:focus{border-color:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .4)}label[for=login-remember]{color:var(--theme-dim);align-items:center;gap:6px;margin-bottom:12px;font-size:11px;display:flex}#login-form .buttons{justify-content:center;gap:6px;display:flex}#main-menu{flex-flow:column;align-self:center;align-items:center;gap:2px;width:100%;display:flex}#main-menu-logo{margin-bottom:10px;position:relative}#main-menu select[name=server-select]{background:var(--theme-bg-dark);color:var(--theme-text);border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .25);cursor:pointer;appearance:none;padding:6px 12px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23888'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat;border-radius:6px;outline:none;min-width:200px;margin-bottom:4px;padding-right:28px;font-family:inherit;font-size:13px}#main-menu select[name=server-select]:hover{border-color:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .4)}#main-menu select[name=server-select] option{background:var(--theme-bg-dark);color:var(--theme-text)}#credits-dialog{width:min(320px,100% - 32px);min-width:0;min-height:0;max-height:calc(100dvh - 32px);color:var(--theme-text);pointer-events:auto;margin:auto;padding:0;position:fixed;inset:0;overflow:auto}#credits-dialog:not([open]){display:none}#credits-dialog::backdrop{background:#0000008c}#credits-dialog .dialog-header{justify-content:space-between}.credits-version{color:var(--theme-dim)}.credits-links{gap:12px;margin:0;padding:20px;list-style:none;display:grid}.credits-links a{color:var(--theme-accent)}#marriage-dialog{--marriage-gold:#f3d39b;--marriage-rose:#edc0c8;--marriage-border:#f3d39b5c;box-sizing:border-box;z-index:100;border:1px solid var(--marriage-border);width:min(400px,100% - 24px);height:max-content;max-height:calc(100% - 24px);color:var(--theme-text);border-radius:10px;margin:auto;font-size:13px;position:absolute;inset:0;overflow:auto;box-shadow:0 12px 34px #000000a6,0 0 22px #bc69812e}#marriage-dialog .marriage-header{border-bottom:1px solid var(--marriage-border);background:var(--theme-heading);justify-items:center;gap:7px;padding:18px 12px 12px;display:grid}#marriage-dialog h2{color:var(--marriage-gold);margin:0;font-size:22px}#marriage-dialog .marriage-rings{width:44px;height:29px;position:relative}#marriage-dialog .marriage-rings:before,#marriage-dialog .marriage-rings:after{content:"";border:2px solid var(--marriage-gold);border-radius:50%;width:23px;height:23px;position:absolute;top:2px;box-shadow:inset 0 0 4px #ffd4904d}#marriage-dialog .marriage-rings:before{left:1px}#marriage-dialog .marriage-rings:after{border-color:var(--marriage-rose);right:1px}#marriage-dialog .marriage-body{padding:14px}#marriage-dialog .marriage-menu{gap:7px;display:grid}#marriage-dialog :is(.marriage-menu-btn,.marriage-btn){border:1px solid var(--marriage-border);background:var(--theme-bg-medium);min-height:34px;color:var(--marriage-rose);font:inherit;cursor:pointer;border-radius:5px;padding:6px 11px}#marriage-dialog .marriage-menu-btn{text-align:left}#marriage-dialog :is(.marriage-menu-btn,.marriage-btn).primary{background:var(--control-surface);color:var(--marriage-gold)}#marriage-dialog :is(.marriage-menu-btn,.marriage-btn):is(:hover,:focus-visible):not(:disabled){border-color:var(--marriage-gold)}#marriage-dialog .marriage-btn:disabled{opacity:.54;cursor:not-allowed}#marriage-dialog .marriage-field{gap:5px;display:grid}#marriage-dialog .marriage-field label{color:var(--marriage-gold)}#marriage-dialog .marriage-field input{box-sizing:border-box;border:1px solid var(--marriage-border);background:var(--theme-input-bg);width:100%;color:var(--theme-text);font:inherit;border-radius:4px;padding:7px 9px}#marriage-dialog .marriage-field input:focus{outline:1px solid var(--marriage-rose)}#marriage-dialog .marriage-message{color:var(--theme-dim);margin-top:8px;line-height:1.4}#marriage-dialog .marriage-footer{border-top:1px solid var(--marriage-border);background:var(--theme-bg-medium);justify-content:flex-end;gap:6px;padding:8px 14px;display:flex}#marriage-dialog .marriage-result{border:1px solid var(--marriage-border);background:var(--theme-bg-medium);text-align:center;border-radius:5px;padding:10px}#marriage-dialog .marriage-result.success{color:var(--marriage-gold)}#marriage-dialog .marriage-result.error{color:#ffb0b5}#mobile-chat-drawer{top:calc(34px + var(--hud-edge-gap));left:var(--hud-edge-gap);right:var(--hud-edge-gap);z-index:1025;height:var(--chat-height,300px);box-sizing:border-box;background:var(--theme-surface);max-height:calc(100% - 110px);-webkit-backdrop-filter:var(--ui-blur);flex-direction:column;gap:4px;padding:6px 8px;transition:transform .25s;display:flex;position:fixed;transform:translateY(-100%)}#mobile-chat-drawer.open{transform:translateY(0)}.drawer-messages{min-height:0;font-family:monospace;font-size:calc(12px * var(--chat-scale,1));color:#ccc;flex:1;overflow-y:auto}.drawer-bottom{flex-direction:row;align-items:center;gap:6px;display:flex}.drawer-input-form{flex:1;gap:4px;display:flex}.drawer-input{background:var(--theme-input-bg);color:#eee;font-family:monospace;font-size:calc(13px * var(--chat-scale,1));border:1px solid #444;border-radius:4px;outline:none;flex:1;padding:4px 8px}.drawer-input:focus{border-color:#4a6aaf}.drawer-send{background:var(--theme-bg-light);color:#fff;font-weight:700;font-size:calc(13px * var(--chat-scale,1));cursor:pointer;border:none;border-radius:4px;padding:4px 10px}.drawer-expand{color:#888;font-size:calc(12px * var(--chat-scale,1));cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #555;border-radius:4px;padding:4px 8px}#mobile-chat-fullscreen{z-index:1055;background:var(--theme-surface);flex-direction:column;display:flex;position:fixed;inset:0}.fullscreen-header{border-bottom:1px solid #333;flex-direction:row;align-items:center;padding:6px 8px;display:flex}.fullscreen-tabs{flex:1;gap:2px;display:flex}.fullscreen-tabs .tab{color:#888;font-size:calc(13px * var(--chat-scale,1));cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;padding:6px 10px}.fullscreen-tabs .tab.active{color:#fff;border-bottom-color:#4a6aaf}.fullscreen-close{color:#aaa;cursor:pointer;background:0 0;border:none;padding:4px 8px;font-size:20px}.fullscreen-messages{font-family:monospace;font-size:calc(13px * var(--chat-scale,1));color:#ccc;flex:1;padding:8px;overflow-y:auto}.fullscreen-input-form{background:#00000080;border-top:1px solid #333;gap:4px;padding:6px 8px;display:flex}.fullscreen-input{background:var(--theme-input-bg);color:#eee;font-family:monospace;font-size:calc(13px * var(--chat-scale,1));border:1px solid #444;border-radius:4px;outline:none;flex:1;padding:6px 8px}.fullscreen-input:focus{border-color:#4a6aaf}.fullscreen-send{background:var(--theme-bg-light);color:#fff;font-weight:700;font-size:calc(13px * var(--chat-scale,1));cursor:pointer;border:none;border-radius:4px;padding:6px 12px}.chat-line{margin-bottom:2px}.chat-author{color:#aaa;font-weight:700}#mobile-controls{opacity:.9;z-index:1020}#joystick-container{touch-action:none;width:130px;height:130px;position:fixed;bottom:12%;left:3%}#joystick-base{background:#00000080;border:2px solid #ffffff1a;border-radius:50%;width:100%;height:100%;position:absolute;box-shadow:inset 0 0 20px #0006}#joystick-base:before{content:"";background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='rgba(180,170,140,0.3)'%3E%3Cpath d='M12 4l-6 6h12z'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='rgba(180,170,140,0.3)'%3E%3Cpath d='M12 20l6-6H6z'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='rgba(180,170,140,0.3)'%3E%3Cpath d='M4 12l6 6V6z'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='rgba(180,170,140,0.3)'%3E%3Cpath d='M20 12l-6-6v12z'/%3E%3C/svg%3E");background-position:top,bottom,0,100%;background-repeat:no-repeat;background-size:20px 20px;position:absolute;inset:8%;transform:rotate(45deg)}#joystick-thumb{background:radial-gradient(circle at 40% 38%,#645a46b3 0%,#282319cc 100%);border:2px solid #c8b48240;border-radius:50%;width:54px;height:54px;transition:transform 50ms ease-out;position:absolute;top:38px;left:38px;transform:translate(0);box-shadow:0 2px 8px #00000080,inset 0 1px 2px #ffffff1a}#attack-container{touch-action:none;position:fixed;bottom:calc(12% + 62px);right:calc(3% - 19px)}#btn-attack{-webkit-tap-highlight-color:transparent;box-shadow:inset 0 0 15px var(--theme-input-bg);justify-content:center;align-items:center;position:relative;background-color:#0000008c!important;background-image:none!important;border:2px solid #c8b47859!important;border-radius:50%!important;width:90px!important;height:90px!important;display:flex!important}#btn-attack:after{content:"";background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c8b478'%3E%3Cpath d='M14.12 2.06L9.57 6.6l1.41 1.42L6.34 12.66l-2.83-1.42-1.41 1.42 5.66 5.65 1.41-1.41-1.41-2.83 4.63-4.64 1.42 1.42 4.54-4.55-3.53-4.23zM3.42 20.58l2.12-2.12-2.12-2.12-2.12 2.12 2.12 2.12z'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:contain;width:40px;height:40px;display:block}#btn-attack:active{transform:scale(.93);background-color:#c8b47840!important}#sit-container{touch-action:none;position:fixed;bottom:12%;right:3%}#btn-toggle-sit{-webkit-tap-highlight-color:transparent;color:#a09070;letter-spacing:.5px;box-shadow:inset 0 0 10px var(--theme-input-bg);justify-content:center;align-items:center;font-size:10px;position:relative;background-color:#0000008c!important;background-image:none!important;border:2px solid #c8b47840!important;border-radius:50%!important;width:52px!important;height:52px!important;display:flex!important}#btn-toggle-sit:after{content:"SIT"}#btn-toggle-sit:active{transform:scale(.93);background-color:#c8b47840!important}#mobile-toolbar{top:var(--hud-edge-gap);right:var(--hud-edge-gap);z-index:1025;-webkit-tap-highlight-color:transparent;align-items:center;height:34px;padding:0 10px;display:flex;position:fixed}#mobile-toolbar .corner-btn{background:var(--theme-bg-dark);color:#d0c8b0;cursor:pointer;-webkit-tap-highlight-color:transparent;border:none;border-radius:6px;justify-content:center;align-items:center;width:28px;height:28px;font-size:18px;transition:background .15s;display:flex}#mobile-toolbar .corner-btn:active{background:var(--theme-bg-light)}#mobile-toolbar .corner-btn svg{fill:currentColor;width:20px;height:20px}#mobile-menu-overlay{z-index:1039;opacity:0;pointer-events:none;background:#00000080;transition:opacity .25s;position:fixed;inset:0}#mobile-menu-overlay.open{opacity:1;pointer-events:auto}#mobile-menu-panel{background:var(--theme-surface);width:220px;-webkit-backdrop-filter:var(--ui-blur);z-index:1040;-webkit-overflow-scrolling:touch;border-left:1px solid #ffffff1a;flex-direction:column;padding:12px 0;transition:transform .25s;display:flex;position:fixed;top:0;bottom:0;right:0;overflow-y:auto;transform:translate(100%)}#mobile-menu-panel.open{transform:translate(0)}#mobile-menu-panel .menu-item-btn{color:#c4b48e;cursor:pointer;-webkit-tap-highlight-color:transparent;text-align:left;background:0 0;border:none;outline:none;flex-shrink:0;align-items:center;gap:12px;width:100%;padding:10px 20px;font-size:14px;transition:background .12s;display:flex}#mobile-menu-panel .menu-item-btn:active{background:#ffffff14}#mobile-menu-panel .menu-item-btn svg{fill:currentColor;flex-shrink:0;width:22px;height:22px}#mobile-menu-panel .menu-divider{background:#ffffff14;height:1px;margin:8px 24px}.menu-player-header{border-bottom:1px solid #ffffff14;padding:12px 16px}.menu-player-name{color:#ddd;font-size:13px;font-weight:700}.menu-player-detail{color:#888;margin-top:2px;font-size:11px}.menu-item-exit{color:#c05050!important}.menu-item-exit svg{fill:#c05050!important}@media (orientation:portrait){#mobile-menu-panel{width:65%!important}}.npc-tooltip{pointer-events:none;background:var(--theme-surface);border:1px solid var(--theme-frame);color:var(--theme-text);white-space:nowrap;z-index:900;border-radius:4px;padding:4px 8px;font-size:12px;display:none;position:absolute}.npc-tooltip.visible{display:block}.npc-tooltip-header{justify-content:space-between;gap:12px;display:flex}.npc-tooltip-name{font-weight:700}.npc-tooltip-level{opacity:.8}.npc-tooltip-type{margin-top:1px;font-size:11px}#paperdoll{--paperdoll-accent:var(--theme-accent);--paperdoll-border:color-mix(in srgb, var(--paperdoll-accent) 34%, transparent);box-sizing:border-box;width:min(var(--character-dialog-width), calc(100% - 24px));border:1px solid var(--paperdoll-border);max-height:calc(100% - 24px);color:var(--theme-text);z-index:1050;border-radius:8px;flex-direction:column;display:flex;position:relative;box-shadow:0 8px 28px #0000008c}#paperdoll .dialog-header{background:var(--theme-heading);border-block-end:1px solid var(--paperdoll-border);border-radius:7px 7px 0 0;flex-wrap:wrap;flex:none;justify-content:space-between;align-items:center;gap:8px 12px;padding:12px 14px;display:flex}#paperdoll .paperdoll-identity,#paperdoll .paperdoll-badges{align-items:center;gap:7px;min-width:0;display:flex}#paperdoll .paperdoll-badges{flex-wrap:wrap}#paperdoll .paperdoll-badges:not(:has(.paperdoll-badge:not(.hidden))){display:none}#paperdoll .paperdoll-identity .icon{flex-shrink:0}#paperdoll h2{color:var(--paperdoll-accent);overflow-wrap:anywhere;margin:0;font-size:20px}#paperdoll .paperdoll-badge{color:#ffe0a4;background:linear-gradient(120deg,#634521,#35271b);border:1px solid #c79348;border-radius:4px;padding:3px 8px;font-size:11px}#paperdoll .vip-badge{color:#f8eaff;background:linear-gradient(120deg,#69469a,#3c2759);border-color:#cfb5ef}#paperdoll .staff-badge{color:#281a07;text-shadow:none;background:#d5a240;border-color:#f2cc72;box-shadow:inset 0 0 0 1px #ffffff3d}#paperdoll .staff-badge[data-rank="1"]{color:#182e11;background:#a8d67f;border-color:#d0edb1}#paperdoll .staff-badge[data-rank="2"]{color:#e3f3df;background:#204e32;border-color:#85bc88}#paperdoll .staff-badge[data-rank="4"]{color:#fff0ec;background:#961f2d;border-color:#ff9994}#paperdoll .paperdoll-body{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:10px;padding:12px;display:grid}#paperdoll .paperdoll-panel{border:1px solid var(--paperdoll-border);background:var(--theme-bg-medium);border-radius:6px;min-width:0;padding:9px}#paperdoll .paperdoll-panel h3{border-block-end:1px solid var(--paperdoll-border);color:var(--paperdoll-accent);margin:0 0 8px;padding-block-end:6px;font-size:12px;font-weight:400}#paperdoll .equipment-panel{background:radial-gradient(ellipse at 50% 24%, var(--theme-bg-secondary), var(--theme-bg-medium) 68%)}#paperdoll .equipment-grid{grid-template-rows:42px 66px repeat(3,25px);grid-template-columns:repeat(6,minmax(0,1fr));grid-template-areas:"gloves gloves hat hat necklace necklace""weapon weapon armor armor shield shield""accessory accessory belt belt ring-1 ring-2"". .boots boots armlet-1 armlet-2"". .boots boots bracer-1 bracer-2";gap:4px;display:grid}#paperdoll .item[data-id=gloves]{grid-area:gloves}#paperdoll .item[data-id=hat]{grid-area:hat}#paperdoll .item[data-id=necklace]{grid-area:necklace}#paperdoll .item[data-id=weapon]{grid-area:weapon}#paperdoll .item[data-id=armor]{grid-area:armor}#paperdoll .item[data-id=shield]{grid-area:shield}#paperdoll .item[data-id=accessory]{grid-area:accessory}#paperdoll .item[data-id=belt]{grid-area:belt}#paperdoll .item[data-id=ring-1]{grid-area:ring-1}#paperdoll .item[data-id=ring-2]{grid-area:ring-2}#paperdoll .item[data-id=boots]{grid-area:boots}#paperdoll .item[data-id=armlet-1]{grid-area:armlet-1}#paperdoll .item[data-id=armlet-2]{grid-area:armlet-2}#paperdoll .item[data-id=bracer-1]{grid-area:bracer-1}#paperdoll .item[data-id=bracer-2]{grid-area:bracer-2}#paperdoll .item{border:1px solid color-mix(in srgb, var(--paperdoll-accent) 23%, transparent);background:var(--theme-input-bg);border-radius:4px;place-items:center;min-width:0;display:grid;position:relative}#paperdoll .item:is(:hover,.mobile-selected){border-color:var(--paperdoll-accent);background:color-mix(in srgb, var(--paperdoll-accent) 16%, var(--theme-bg-dark))}#paperdoll .item:not(:has(img[src])):after{content:attr(data-label);text-overflow:ellipsis;white-space:nowrap;max-width:100%;color:var(--theme-dim);pointer-events:none;font-size:9px;overflow:hidden}#paperdoll .item img{object-fit:contain;max-width:100%;max-height:100%;image-rendering:pixelated;margin:auto;position:absolute;inset:0}#paperdoll .item img:not([src]){display:none}#paperdoll .item .tooltip{border:1px solid var(--paperdoll-border);background:rgb(var(--theme-bg-dark-rgb));color:var(--theme-text);white-space:pre;opacity:0;pointer-events:none;z-index:10;border-radius:4px;padding:6px 10px;font-size:12px;position:absolute;bottom:100%;left:50%;transform:translate(-50%);box-shadow:0 3px 10px #00000080}#paperdoll .item:hover .tooltip{opacity:1}#paperdoll .info-panel dl{gap:4px;margin:0;display:grid}#paperdoll .info-row{border-inline-start:1px solid var(--paperdoll-border);background:var(--theme-input-bg);overflow-wrap:anywhere;border-radius:0 3px 3px 0;grid-template-columns:minmax(53px,36%) minmax(0,1fr);align-items:baseline;gap:6px;padding:6px 7px;font-size:12px;display:grid}#paperdoll .info-row dt{color:var(--theme-dim)}#paperdoll .info-row dd{color:var(--theme-text);margin:0}#paperdoll .paperdoll-footer{justify-content:flex-end;padding:0 12px 10px;display:flex}@media (width<=380px){#paperdoll .paperdoll-body{grid-template-columns:minmax(0,1fr)}}.status-companions{pointer-events:none;gap:6px;width:min(280px,80vw);display:grid;position:absolute;top:calc(100% + 6px);left:0}.party-hud{box-sizing:border-box;border:1px solid var(--theme-frame);background:var(--theme-surface);min-width:0;color:var(--theme-text);text-shadow:0 1px 2px #000;pointer-events:auto;border-radius:6px;padding:7px 9px}.party-hud-heading{justify-content:space-between;align-items:center;gap:7px;margin-bottom:5px;display:flex}.party-hud-title{color:var(--theme-accent);margin:0;font-size:13px}.party-hud-members{gap:4px;max-height:min(27vh,220px);display:grid;overflow:auto}body.is-mobile .status-companions{width:min(248px,100% - 12px)}body.is-mobile .party-hud-members{max-height:24vh}.party-hud-health{color:var(--theme-text);font-variant-numeric:tabular-nums;font-size:10px}.party-hud-member{box-sizing:border-box;background:var(--theme-bg-dark);border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .15);pointer-events:auto;border-radius:4px;flex-direction:column;gap:2px;min-width:0;padding:4px 8px;display:flex}.party-hud-header{align-items:center;gap:6px;display:flex}.party-hud-name{color:var(--theme-text);text-overflow:ellipsis;white-space:nowrap;margin-right:auto;font-size:10px;font-weight:600;overflow:hidden}.party-hud-name.leader:before{content:"★";color:var(--theme-accent)}.party-hud-level{color:var(--theme-dim);flex-shrink:0;font-size:9px}.party-hud-bar{background:var(--theme-input-bg);border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .1);border-radius:2px;height:6px;position:relative;overflow:hidden}.party-hud-fill{border-radius:2px;height:100%;transition:width .3s}.party-hud-fill.hp{background:#38a838}.party-hud-fill.hp.low{background:#c0a030}.party-hud-fill.hp.critical{background:#c03030}.party-hud-fill.shield{opacity:.6;background:linear-gradient(90deg,#3080c0,#50b0e8);border-radius:2px;height:100%;transition:width .3s;position:absolute;top:0;left:0}.party-hud-hot{background:#40e040;border-radius:50%;flex-shrink:0;width:6px;height:6px;box-shadow:0 0 4px #40e04080}.party-hud-member--targetable{cursor:pointer;border-color:#64c8ff99;transition:border-color .15s,box-shadow .15s}.party-hud-member--targetable:hover{border-color:#64c8ffe6;box-shadow:0 0 8px #64c8ff4d}.party-hud-buffs{flex-wrap:wrap;gap:2px;margin-top:2px;display:flex}.party-hud-buff{border:1px solid #fff3;border-radius:2px;width:8px;height:8px}.party-hud-buff.shield{background:#50b0e8b3}.party-hud-buff.hot{background:#50c850b3}.party-hud-buff.warcry{background:#dc3c3cb3}.party-hud-buff.fortify{background:#648cb4b3}.party-hud-buff.bloodlust{background:#b42828b3}.party-hud-buff.evasion{background:#3cb43cb3}.party-hud-buff.divine_prot{background:#dcb432b3}.party-hud-buff.mana_shield{background:#a050dcb3}.party-hud-buff.arcane_int{background:#5078dcb3}.party-hud-buff.bless_str{background:#dc8c28b3}.party-hud-buff.bless_wis{background:#3cb4c8b3}.party-hud-buff.bless_agi{background:#64c850b3}.party-hud-buff.divine_insp{background:#f0c828b3}#player-context-menu{z-index:2000;box-sizing:border-box;background:var(--theme-bg-dark);border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .3);overscroll-behavior:contain;border-radius:6px;min-width:min(140px,100%);max-width:calc(100% - 12px);max-height:calc(100% - 12px);padding:4px 0;font-family:inherit;position:absolute;overflow:auto;box-shadow:0 6px 24px #000000b3}#player-context-menu button{width:100%;color:var(--theme-accent);cursor:pointer;text-align:left;background:0 0;border:none;align-items:center;gap:8px;padding:7px 14px;font-family:inherit;font-size:12px;transition:background .12s;display:flex}#player-context-menu button:hover{background:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .12);color:var(--theme-text)}#player-context-menu button:active{background:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .2)}.player-tooltip{z-index:900;box-sizing:border-box;pointer-events:none;width:184px;max-width:calc(100% - 12px);color:var(--theme-text);border:1px solid rgb(var(--theme-accent-r) var(--theme-accent-g) var(--theme-accent-b) / .4);background:var(--theme-surface);-webkit-backdrop-filter:var(--ui-blur);backdrop-filter:var(--ui-blur);border-radius:8px;padding:8px 10px;font-size:12px;display:none;position:absolute;box-shadow:0 5px 18px #0009}.player-tooltip.visible{gap:5px;display:grid}.player-tooltip-header{justify-content:space-between;align-items:start;gap:6px;display:flex}.player-tooltip-name{color:var(--theme-accent);overflow-wrap:anywhere;font-size:14px;font-weight:700}.player-tooltip-level{color:var(--theme-text);white-space:nowrap;background:var(--theme-bg-light);border-radius:4px;padding:2px 5px}.player-tooltip-bar[hidden]{display:none}.player-tooltip-bar{color:var(--theme-text);grid-template-columns:2ch minmax(0,1fr) 4ch;align-items:center;gap:6px;font-size:11px;display:grid}.player-tooltip-track{background:var(--theme-input-bg);border:1px solid #ffffff25;border-radius:4px;height:5px;overflow:hidden}.player-tooltip-fill{border-radius:inherit;height:100%}.player-tooltip-bar.hp .player-tooltip-fill{background:linear-gradient(90deg,#3e9656,#8be19a)}.player-tooltip-bar.tp .player-tooltip-fill{background:linear-gradient(90deg,#458ac6,#8bcfff)}.player-tooltip-value{text-align:end;font-variant-numeric:tabular-nums}#pm-bubbles{top:min(120px,22vh);left:var(--hud-edge-gap);max-width:calc(100% - 2 * var(--hud-edge-gap));z-index:1060;pointer-events:none;flex-direction:column;align-items:flex-start;gap:7px;display:flex;position:fixed}.pm-bubble{--pm-line:color-mix(in srgb, var(--theme-accent) 34%, transparent);box-sizing:border-box;border:1px solid var(--pm-line);background:rgb(var(--theme-bg-dark-rgb) / 77%);width:153px;max-width:100%;-webkit-backdrop-filter:var(--ui-blur);backdrop-filter:var(--ui-blur);color:var(--theme-text);pointer-events:auto;cursor:pointer;border-radius:10px;align-items:center;gap:7px;padding:4px 5px 4px 9px;display:flex;position:relative;box-shadow:0 5px 18px #0006}.pm-bubble:hover,.pm-bubble:focus-within{border-color:color-mix(in srgb, var(--theme-accent) 60%, transparent)}.pm-bubble .pm-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:inherit;flex:1;font-size:13px;font-weight:600;overflow:hidden}.pm-bubble .pm-open{text-align:left;cursor:pointer;background:0 0;border:0;padding:4px 0}.pm-bubble :is(.pm-open,.pm-header):before{vertical-align:middle;background:var(--theme-accent);clip-path:polygon(6% 12%,94% 12%,94% 71%,41% 71%,19% 93%,19% 71%,6% 71%);content:"";width:17px;height:17px;margin-right:7px;display:inline-block}.pm-bubble .pm-header:before{flex:0 0 17px;margin-right:0}.pm-bubble .pm-unread{background:#ffd28e;border-radius:50%;flex:0 0 7px;height:7px;display:none;box-shadow:0 0 9px #f0a44e}.pm-bubble .pm-unread.active{display:block}.pm-bubble .pm-close-btn{height:24px;color:var(--theme-accent);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:5px;flex:0 0 24px;place-items:center;padding:0;font-size:15px;line-height:1;display:grid}.pm-bubble :is(.pm-close-btn,.pm-send-btn):is(:hover,:focus-visible){border-color:var(--theme-accent);background:var(--theme-bg-light);color:var(--theme-text)}.pm-bubble:not(.expanded) :is(.pm-header,.pm-messages,.pm-input-row),.pm-bubble.expanded>:is(.pm-open,.pm-unread,.pm-close-btn){display:none}.pm-bubble.expanded{width:min(300px, calc(100vw - 2 * var(--hud-edge-gap)));cursor:default;border-radius:10px;flex-direction:column;align-items:stretch;gap:0;padding:0}.pm-bubble .pm-header{border-bottom:1px solid var(--pm-line);background:rgb(var(--theme-bg-light-rgb) / 62%);cursor:move;border-radius:9px 9px 0 0;align-items:center;gap:7px;padding:7px 9px;display:flex}.pm-bubble .pm-messages{overscroll-behavior:contain;-webkit-user-select:text;user-select:text;flex-direction:column;gap:8px;min-height:52px;max-height:min(210px,44vh);padding:10px;font-size:13px;line-height:1.35;display:flex;overflow-y:auto}.pm-msg{box-sizing:border-box;border:1px solid var(--pm-line);max-width:90%;color:var(--theme-text);overflow-wrap:anywhere;padding:6px 9px}.pm-msg.sent{background:color-mix(in srgb, var(--theme-accent) 22%, #221a13);border-radius:9px 9px 3px;align-self:flex-end}.pm-msg.received{background:rgb(var(--theme-bg-medium-rgb) / 90%);border-radius:9px 9px 9px 3px;align-self:flex-start}.pm-msg-author{color:var(--theme-accent);margin-bottom:3px;font-size:11px}.pm-bubble .pm-input-row{border-top:1px solid var(--pm-line);gap:5px;padding:7px 8px;display:flex}.pm-bubble :is(.pm-input,.pm-send-btn){border:1px solid var(--pm-line);min-width:0;min-height:30px;color:var(--theme-text);border-radius:5px;padding:5px 8px;font-size:13px}.pm-bubble .pm-input{background:rgb(var(--theme-bg-dark-rgb) / 83%);flex:1}.pm-bubble .pm-input::placeholder{color:var(--theme-dim)}.pm-bubble .pm-send-btn{background:color-mix(in srgb, var(--theme-accent) 23%, var(--theme-bg-dark));cursor:pointer}body.is-mobile .pm-bubble{width:130px}body.is-mobile .pm-bubble.expanded{width:min(245px, calc(var(--touch-width,100vw) - 16px))}body.is-mobile .pm-bubble .pm-messages{max-height:min(135px,37vh)}#priest-dialog{box-sizing:border-box;background:var(--theme-bg-dark);border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .3);width:min(360px,100% - 16px);max-height:calc(100% - 16px);color:var(--theme-text);z-index:100;border-radius:8px;font-family:MS Sans Serif,Tahoma,sans-serif;font-size:12px;position:absolute;top:50%;left:50%;overflow:auto;transform:translate(-50%,-50%);box-shadow:0 8px 32px #0009,inset 0 1px #ffffff0d}#priest-dialog .priest-header{background:var(--theme-heading);border-bottom:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .2);letter-spacing:.5px;color:var(--theme-accent);padding:8px 12px;font-size:13px;font-weight:700}#priest-dialog .priest-body{min-height:70px;padding:12px 16px}#priest-dialog .priest-field{margin-bottom:10px}#priest-dialog .priest-field label{color:var(--theme-dim);margin-bottom:3px;font-size:11px;display:block}#priest-dialog .priest-field input{border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .3);background:var(--theme-input-bg);width:100%;color:var(--theme-text);box-sizing:border-box;border-radius:3px;padding:4px 8px;font-family:inherit;font-size:12px}#priest-dialog .priest-field input:focus{border-color:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .5);outline:none}#priest-dialog .priest-message{color:var(--theme-dim);text-align:center;padding:8px 0;font-size:12px;line-height:1.5}#priest-dialog .priest-message strong{color:var(--theme-accent);font-weight:700}#priest-dialog .priest-footer{border-top:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .15);background:#00000026;justify-content:flex-end;gap:8px;padding:8px 12px;display:flex}#priest-dialog .priest-btn{border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .3);background:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .1);color:var(--theme-accent);cursor:pointer;border-radius:4px;padding:4px 16px;font-family:inherit;font-size:11px;transition:background .15s,border-color .15s}#priest-dialog .priest-btn:hover{background:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .2);border-color:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .5)}#priest-dialog .priest-btn.primary{color:#a5d6a7;background:#2e7d324d;border-color:#4caf5066}#priest-dialog .priest-btn.primary:hover{background:#2e7d3273;border-color:#4caf5099}#priest-dialog .priest-result{text-align:center;padding:8px 0;font-size:12px}#priest-dialog .priest-result.success{color:#a5d6a7}#priest-dialog .priest-result.error{color:#ef9a9a}#quest-dialog{box-sizing:border-box;background:var(--theme-surface);border:1px solid color-mix(in srgb, var(--theme-accent) 38%, transparent);width:min(510px,100% - 16px);min-height:0;max-height:calc(100% - 16px);color:var(--theme-text);border-radius:8px;flex-direction:column;display:flex;overflow:auto;box-shadow:0 8px 32px #0000008c}#quest-dialog .quest-heading{background:var(--theme-bg-light);border-bottom:1px solid color-mix(in srgb, var(--theme-accent) 22%, transparent);justify-content:space-between;align-items:center;gap:8px;padding:10px 14px;display:flex}#quest-dialog .title-text{color:var(--theme-accent);overflow-wrap:anywhere;margin:0;font-size:17px}#quest-dialog .quest-conversation{align-items:flex-start;gap:10px;min-height:0;padding:14px;display:flex;overflow:auto}#quest-dialog .quest-speaker-portrait{width:min(112px,28%);height:auto;image-rendering:pixelated;border:1px solid color-mix(in srgb, var(--theme-accent) 43%, transparent);background:radial-gradient(ellipse at bottom, var(--theme-bg-light), var(--theme-input-bg));border-radius:5px;flex:none;transform:scaleX(-1)}#quest-dialog .quest-speech{background:var(--theme-bg-medium);border:1px solid color-mix(in srgb, var(--theme-accent) 20%, transparent);overflow-wrap:anywhere;border-radius:5px;flex:1;min-width:0;padding:10px 12px}#quest-dialog .quest-speaker{color:var(--theme-accent);margin-bottom:6px;font-size:14px;font-weight:700;display:block}#quest-dialog .entries{gap:7px;margin:0;padding:0;font-size:14px;line-height:1.4;list-style:none;display:grid}#quest-dialog .quest-reply{text-align:left;width:100%;font:inherit;color:var(--theme-accent);background:var(--theme-input-bg);border:1px solid color-mix(in srgb, var(--theme-accent) 22%, transparent);cursor:pointer;border-radius:4px;padding:6px 8px}#quest-dialog .quest-reply:is(:hover,:focus-visible){border-color:var(--theme-accent)}#quest-dialog .quest-buttons{border-top:1px solid color-mix(in srgb, var(--theme-accent) 20%, transparent);flex-shrink:0;justify-content:flex-end;gap:6px;padding:8px 14px;display:flex}#quest-progress{box-sizing:border-box;background:var(--theme-bg-dark);border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .25);z-index:1050;width:min(340px,100% - 16px);min-height:min(200px,100% - 16px);max-height:min(420px,100% - 16px);color:var(--theme-text);border-radius:8px;flex-direction:column;font-family:inherit;display:flex;overflow:hidden;box-shadow:0 4px 24px #0009}.quest-progress-header{background:var(--theme-bg-light);border-bottom:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .15);padding:8px 12px 6px}.quest-progress-title{color:var(--theme-accent);margin-bottom:6px;font-size:13px;font-weight:600;display:block}.quest-progress-tabs{gap:2px;display:flex}.quest-tab{color:#a09880;background:var(--theme-bg-medium);border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .1);cursor:pointer;border-radius:4px 4px 0 0;flex:1;padding:5px 0;font-size:11px;font-weight:500;transition:color .15s,background .15s}.quest-tab:hover{color:var(--theme-text);background:#2a241ccc}.quest-tab.active{color:var(--theme-accent);background:#322a20e6;border-bottom-color:#0000}.quest-progress-body{cursor:default;flex:1;min-height:0;padding:8px 10px;overflow-y:auto}.quest-progress-body::-webkit-scrollbar{width:4px}.quest-progress-body::-webkit-scrollbar-thumb{background:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .3);border-radius:2px}.quest-empty{text-align:center;color:#706858;padding:24px 0;font-size:11px}.quest-entry{border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .08);background:#28221a80;border-radius:5px;margin-bottom:6px;padding:6px 8px;transition:background .15s}.quest-entry:last-child{margin-bottom:0}.quest-entry:hover{background:#322a2099}.quest-entry-header{align-items:center;gap:6px;margin-bottom:4px;display:flex}.quest-icon{width:16px;height:16px;fill:var(--theme-accent);opacity:.8;flex-shrink:0}.quest-name{color:var(--theme-text);white-space:nowrap;text-overflow:ellipsis;font-size:12px;font-weight:600;overflow:hidden}.quest-description{color:#a09880;margin-bottom:5px;font-size:10px;line-height:1.3}.quest-bar-container{align-items:center;gap:6px;display:flex}.quest-bar{border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .12);background:#14100c99;border-radius:3px;flex:1;height:6px;overflow:hidden}.quest-bar-fill{background:linear-gradient(90deg,#7a6840,#b89850);border-radius:3px;height:100%;transition:width .3s}.quest-bar-fill.complete{background:linear-gradient(90deg,#4a8050,#60b068)}.quest-bar-text{color:#a09880;white-space:nowrap;text-align:right;min-width:36px;font-size:10px}.quest-history-item{color:#a09880;border-radius:3px;align-items:center;gap:6px;padding:4px 6px;font-size:11px;transition:background .15s;display:flex}.quest-history-item:hover{background:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .06)}.quest-history-check{fill:#60b068;opacity:.7;flex-shrink:0;width:14px;height:14px}#quest-progress>button[data-id=close]{margin:6px 10px 8px auto;display:block}.quest-entry-header .quest-name{white-space:normal;overflow-wrap:anywhere;min-width:0}.quest-track-button{flex:none;margin-left:auto}.quest-tracker{box-sizing:border-box;background:var(--theme-surface);border:1px solid var(--theme-frame);width:100%;max-height:min(40vh,300px);color:var(--theme-text);text-shadow:0 1px 2px #000,1px 0 2px #000,-1px 0 2px #000;pointer-events:auto;border-radius:6px;padding:7px 9px;font-size:13px;line-height:1.2;overflow:auto}.quest-tracker h2{color:var(--theme-accent);margin:0 0 6px;font-size:13px}.quest-tracker ul{gap:5px;margin:0;padding:0;list-style:none;display:grid}.quest-tracker li{overflow-wrap:anywhere;grid-template-columns:16px minmax(0,1fr);gap:6px;display:grid}.quest-tracker strong{color:var(--theme-accent);display:block}.quest-tracker strong.complete{color:#b8e7ac}#settings-dialog{-webkit-user-select:none;user-select:none;box-sizing:border-box;background:var(--theme-bg-dark);border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .25);z-index:1050;width:620px;max-width:calc(100% - 16px);max-height:calc(100% - 16px);color:var(--theme-text);border-radius:8px;flex-direction:column;font-family:inherit;display:flex;overflow:hidden;box-shadow:0 4px 24px #0009}#settings-dialog .settings-header{background:var(--theme-bg-light);border-bottom:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .15);justify-content:space-between;align-items:center;padding:8px 12px;display:flex}#settings-dialog .settings-title{color:var(--theme-accent);font-size:13px;font-weight:600}#settings-dialog .settings-close{color:var(--theme-dim);cursor:pointer;background:0 0;border:none;padding:0 4px;font-size:18px;line-height:1;transition:color .15s}#settings-dialog .settings-close:hover{color:var(--theme-text)}#settings-dialog .settings-tabs{gap:4px;padding:8px 12px 0;display:flex}#settings-dialog [role=tab]{background:var(--theme-bg-medium);color:var(--theme-dim);border:1px solid var(--theme-frame);cursor:pointer;border-radius:4px;flex:1;padding:7px 5px}#settings-dialog [role=tab][aria-selected=true]{color:var(--theme-text);border-color:var(--theme-border-color)}#settings-dialog .settings-panels{min-height:0;padding:10px 12px;overflow-y:auto}#settings-dialog [role=tabpanel]:not([hidden]){grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));align-content:start;gap:6px;min-height:150px;display:grid}#settings-dialog .setting-row{background:color-mix(in srgb, var(--theme-bg-medium) 78%, transparent);border:1px solid color-mix(in srgb, var(--theme-accent) 15%, transparent);border-radius:4px;grid-template-columns:minmax(0,1fr) minmax(98px,44%);align-items:center;gap:8px;padding:5px 8px;font-size:12px;display:grid}#settings-dialog .setting-label{color:var(--theme-accent);overflow-wrap:anywhere}#settings-dialog .setting-value{min-width:0;position:relative}#settings-dialog select{appearance:none;border:1px solid color-mix(in srgb, var(--theme-accent) 22%, transparent);background:var(--theme-input-bg);width:100%;min-width:0;color:var(--theme-text);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font:inherit;text-align:left;cursor:pointer;border-radius:4px;padding:4px 20px 4px 8px;line-height:1.2}#settings-dialog select:focus-visible{outline:1px solid var(--theme-accent);outline-offset:1px}#settings-dialog .setting-value:after{content:"▾";color:var(--theme-dim);pointer-events:none;position:absolute;top:50%;right:7px;transform:translateY(-50%)}#settings-dialog select option{background:var(--theme-bg-dark);color:var(--theme-text)}@supports (appearance:base-select) and selector(::picker(select)){#settings-dialog select{appearance:base-select}#settings-dialog select::picker(select){appearance:base-select}#settings-dialog select{padding:4px 8px}#settings-dialog .setting-value:after{display:none}#settings-dialog select::picker-icon{content:"▾";color:var(--theme-dim);margin-inline-start:auto}#settings-dialog select::picker(select){border:1px solid color-mix(in srgb, var(--theme-accent) 45%, transparent);background:var(--theme-bg-dark);max-height:min(260px,40vh);color:var(--theme-text);font:inherit;border-radius:6px;margin-top:4px;padding:4px;box-shadow:0 6px 20px #00000080}#settings-dialog select option{font:inherit;background:0 0;border-radius:3px;justify-content:space-between;gap:8px;padding:6px 8px;display:flex}#settings-dialog select option:is(:focus,:hover,:checked){background:color-mix(in srgb, var(--theme-accent) 18%, transparent);color:var(--theme-text)}#settings-dialog select option::checkmark{color:var(--theme-accent);order:1}}#settings-dialog .theme-value:after{display:none}#settings-dialog .theme-value{align-items:center;gap:4px;display:flex}#settings-dialog .theme-color-input{border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .3);cursor:pointer;background:0 0;border-radius:3px;width:28px;height:20px;padding:0}#settings-dialog .theme-color-input::-webkit-color-swatch-wrapper{padding:1px}#settings-dialog .theme-color-input::-webkit-color-swatch{border:none;border-radius:2px}#settings-dialog .theme-reset-button{background:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .08);border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .2);color:var(--theme-dim);cursor:pointer;border-radius:3px;padding:2px 6px;font-family:inherit;font-size:9px;transition:background .15s}#settings-dialog .theme-reset-button:hover{background:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .18)}body.is-mobile #settings-dialog:not(.hidden){z-index:1050!important;border-radius:0!important;flex-direction:column!important;width:100%!important;max-width:100%!important;height:100%!important;max-height:100%!important;margin:0!important;display:flex!important;position:fixed!important;inset:0!important;overflow-y:auto!important}body.is-mobile #settings-dialog .settings-panels{flex:1}body.is-mobile #settings-dialog [data-id=toggle-lock]{display:none}body.is-mobile #settings-dialog .setting-row{padding:10px 12px;font-size:13px}#settings-dialog .settings-footer{border-top:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .1);flex-wrap:wrap;gap:6px;padding:8px 12px 12px;display:flex}#settings-dialog .settings-action-button{background:var(--theme-bg-medium);border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .2);color:var(--theme-accent);cursor:pointer;border-radius:4px;flex:1;padding:6px 10px;font-family:inherit;font-size:10px;transition:background .15s,border-color .15s}#settings-dialog .settings-action-button:hover{background:var(--theme-bg-light);border-color:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .35)}#settings-dialog .settings-action-button.active{color:#b0d890;background:#50783c4d;border-color:#64b45066}#settings-dialog .settings-reset{color:var(--theme-dim)}body.is-mobile #settings-dialog .settings-footer{padding:12px 16px 16px}body.is-mobile #settings-dialog .settings-action-button{padding:10px 12px;font-size:13px}#settings-dialog .hotkey-status{min-height:1em;color:var(--theme-accent);grid-column:1/-1;margin:0 0 4px;font-size:12px}#settings-dialog .hotkey-reset{justify-self:start;margin-top:4px}#settings-dialog .hotkey-binding{text-align:left;font-size:inherit}.craft-ingredients{text-align:left;white-space:normal;gap:4px;margin:8px 0 0;padding:0;list-style:none;display:grid}.craft-ingredients li{background:var(--theme-bg-medium);border-radius:4px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:7px;padding:4px 6px;display:grid}.craft-ingredient-preview{border:1px solid color-mix(in srgb, var(--theme-accent) 30%, transparent);background:var(--theme-input-bg);border-radius:4px;place-items:center;width:30px;height:28px;display:grid}.craft-ingredient-preview img{object-fit:contain;max-width:90%;max-height:24px;image-rendering:pixelated}.craft-ingredient-name{overflow-wrap:anywhere}.craft-ingredient-count{color:#a9dba4;white-space:nowrap}.craft-ingredients .missing .craft-ingredient-count{color:#f3a7aa}.craft-ingredients.compact{flex-wrap:wrap;justify-content:center;gap:3px;margin-top:4px;display:flex}.craft-ingredients.compact li{background:var(--theme-input-bg);grid-template-columns:auto auto;gap:2px;padding:2px;font-size:9px}.craft-ingredients.compact .craft-ingredient-preview{background:0 0;border:0;width:17px;height:17px}.craft-ingredients.compact .craft-ingredient-preview img{max-height:17px}.craft-ingredients.compact .craft-ingredient-name{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}#shop{box-sizing:border-box;width:min(420px,100% - 16px);min-height:min(380px,100% - 16px);max-height:calc(100% - 16px)}.shop-tabs{gap:2px;margin-bottom:8px;padding:0 12px;display:flex}.shop-tabs .themed-btn{opacity:.6;border-bottom:2px solid #0000;border-radius:4px 4px 0 0;flex:1;min-width:0;padding:5px 8px;font-size:11px}.shop-tabs .themed-btn.active{opacity:1;border-bottom-color:var(--theme-accent)}.shop-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-content:start;gap:4px;min-height:0;max-height:280px;padding:4px 12px;display:grid;overflow-y:auto}.grid-card{background:var(--theme-bg-dark);border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .1);cursor:pointer;border-radius:4px;flex-direction:column;justify-content:center;align-items:center;min-width:0;min-height:86px;max-height:108px;padding:6px 4px 4px;transition:background .12s,border-color .12s;display:flex;position:relative}.grid-card:hover{border-color:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .35);background:#2a241ce6}.grid-card .card-img-wrap{flex-shrink:0;justify-content:center;align-items:center;max-width:100%;height:40px;display:flex}.grid-card img{object-fit:contain;max-width:min(56px,100%);max-height:40px;image-rendering:pixelated}.grid-card .card-name{color:var(--theme-dim);text-align:center;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:11px;line-height:1.2;overflow:hidden}.grid-card .card-badge{color:var(--theme-accent);background:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .12);border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .15);white-space:nowrap;border-radius:3px;margin-top:3px;padding:1px 5px;font-size:9px}.grid-card .tooltip{background:var(--theme-bg-dark);border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .3);color:var(--theme-accent);white-space:pre-line;z-index:2000;pointer-events:none;border-radius:4px;min-width:120px;max-width:200px;padding:6px 10px;font-size:10px;display:none;position:fixed}.grid-card:hover .tooltip{display:block}.shop-grid-empty{text-align:center;color:var(--theme-very-dim);grid-column:1/-1;padding:24px 0;font-size:11px;font-style:italic}#shop .shop-grid[data-tab=craft]{gap:8px}#shop .craft-card{box-sizing:border-box;justify-content:flex-start;gap:6px;min-width:0;min-height:126px;max-height:none;padding:10px 8px}#shop .craft-card .card-name{white-space:normal;overflow-wrap:anywhere;width:100%;color:var(--theme-text);flex-shrink:0;font-size:12px}#shop .craft-card .craft-ingredients.compact{flex-shrink:0;margin-top:0}#skill-master{--skill-border:color-mix(in srgb, var(--theme-accent) 28%, transparent);box-sizing:border-box;border:1px solid var(--skill-border);width:min(470px,100% - 24px);max-height:calc(100% - 24px);color:var(--theme-text);border-radius:8px;flex-direction:column;display:flex;overflow:hidden;box-shadow:0 8px 28px #0000008c}#skill-master .name{border-bottom:1px solid var(--skill-border);background:var(--theme-heading);color:var(--theme-accent);overflow-wrap:anywhere;margin:0;padding:12px 15px;font-size:18px}#skill-master .item-list{flex-direction:column;gap:6px;min-height:0;max-height:355px;padding:10px 12px;display:flex;overflow:auto}#skill-master .menu-item{border:1px solid var(--skill-border);background:var(--theme-bg-medium);image-rendering:auto;border-radius:5px;grid-template-columns:38px minmax(0,1fr) auto;gap:8px;width:auto;height:auto;min-height:44px;padding:5px 7px}#skill-master .menu-item:hover:not(.skill-summary){border-color:var(--theme-accent)}#skill-master .menu-item.text{min-height:0;display:block}#skill-master .menu-item.text:empty{display:none}#skill-master .menu-item.passive .menu-item-icon{border-radius:4px;box-shadow:0 0 0 1px #8cbbe9,0 0 8px #74b4f46b}#skill-master .menu-label{color:var(--theme-text);overflow-wrap:anywhere}#skill-master .menu-description{color:var(--theme-dim);font-size:11px}#skill-master button.menu-description{border:1px solid var(--skill-border);background:var(--theme-input-bg);color:var(--theme-accent);cursor:pointer;border-radius:4px;padding:5px 7px}#skill-master button.menu-description:is(:hover,:focus-visible){border-color:var(--theme-accent)}#skill-master .skill-summary{cursor:default}#skill-master .skill-description,#skill-master .skill-requirements-heading{margin:3px 0 0;line-height:1.4}#skill-master .skill-description{color:var(--theme-dim);font-size:13px}#skill-master .skill-requirements-heading{color:var(--theme-accent);font-size:13px}#skill-master .skill-requirements{grid-template-columns:minmax(68px,1fr) minmax(0,2.4fr);gap:3px 6px;margin:0;font-size:12px;display:grid}#skill-master .skill-requirements :is(dt,dd){background:var(--theme-input-bg);border-radius:3px;padding:5px 6px}#skill-master .skill-requirements dt{color:var(--theme-dim)}#skill-master .skill-requirements dd{flex-wrap:wrap;justify-content:space-between;gap:2px 6px;margin:0;display:flex}#skill-master .skill-requirements .met{color:#ade3a4}#skill-master .skill-requirements .unmet{color:#ffb0b5}#skill-master .skill-learn-action{align-self:end;margin-top:4px}#skill-master .skill-learn-action:disabled{filter:grayscale();opacity:.62;cursor:not-allowed}#skill-master .buttons{border-top:1px solid var(--skill-border);flex:none;justify-content:flex-end;gap:6px;padding:8px 12px;display:flex}#skill-master .menu-item:not(.text){align-items:center;display:grid}#skill-master .menu-label,#skill-master .menu-description{position:static}#skill-master .menu-description:not(button){grid-column:2/-1}#skill-master .menu-item:has(.menu-description:not(button)) .menu-item-icon{grid-row:span 2}#small-alert{background:var(--theme-bg-dark);border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .25);-webkit-user-select:none;user-select:none;z-index:1100;min-width:340px;max-width:440px;color:var(--theme-text);border-radius:8px;font-family:inherit;position:absolute;overflow:hidden;box-shadow:0 4px 24px #0009}#small-alert .title{color:var(--theme-accent);background:var(--theme-bg-light);border-bottom:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .15);padding:10px 16px;font-size:13px;font-weight:600;display:block}#small-alert .message{color:var(--theme-text);padding:16px 18px;font-size:12px;line-height:1.6;display:block}#small-alert button{margin:0 12px 10px auto;display:block}#small-alert-small-header{background:var(--theme-bg-dark);border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .25);-webkit-user-select:none;user-select:none;z-index:1100;min-width:340px;max-width:440px;color:var(--theme-text);border-radius:8px;font-family:inherit;position:absolute;overflow:hidden;box-shadow:0 4px 24px #0009}#small-alert-small-header .title{color:var(--theme-accent);background:var(--theme-bg-light);border-bottom:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .15);padding:10px 16px;font-size:13px;font-weight:600;display:block}#small-alert-small-header .message{color:var(--theme-text);padding:16px 18px;font-size:12px;line-height:1.6;display:block}#small-alert-small-header button{margin:0 12px 10px auto;display:block}#small-confirm{background:var(--theme-bg-dark);border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .25);-webkit-user-select:none;user-select:none;z-index:10050;min-width:340px;max-width:440px;color:var(--theme-text);border-radius:8px;font-family:inherit;position:absolute;overflow:hidden;box-shadow:0 4px 24px #0009}#small-confirm .title{color:var(--theme-accent);background:var(--theme-bg-light);border-bottom:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .15);padding:10px 16px;font-size:13px;font-weight:600;display:block}#small-confirm .message{color:var(--theme-text);padding:16px 18px;font-size:12px;line-height:1.6;display:block}#small-confirm .buttons{border-top:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .15);justify-content:flex-end;gap:6px;padding:8px 12px;display:flex}#small-confirm button:disabled{color:var(--theme-dim);border-color:var(--theme-very-dim);background:var(--theme-input-bg);opacity:.65;cursor:default}#social-panel .dialog-contents:has(>#online-list:not(.hidden)){flex-flow:column;flex:auto;padding:0;display:flex;overflow:hidden}#online-list{flex-direction:column;flex:auto;min-width:0;min-height:0;display:flex;container-type:inline-size}#online-list .online-search-wrap{flex:none;padding:8px 12px 5px}#online-list .online-search{border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .2);background:var(--theme-input-bg);width:100%;color:var(--theme-text);box-sizing:border-box;border-radius:3px;outline:none;padding:7px 8px;font-family:inherit;font-size:11px}#online-list .online-search:focus{border-color:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .4)}#online-list .online-search::placeholder{color:var(--theme-very-dim)}#online-list .players{overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:var(--theme-frame) transparent;flex:auto;grid-template-columns:repeat(3,minmax(0,1fr));align-content:start;gap:8px;min-height:0;padding:5px 12px 12px;display:grid;overflow:hidden auto}#online-list .online-player-card{border:1px solid var(--social-border);background:var(--theme-bg-medium);border-radius:6px;grid-template-rows:1fr auto;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:6px;min-width:0;padding:8px;display:grid}#online-list .online-player-card:hover,#online-list .online-player-card:focus-within{border-color:var(--theme-secondary)}#online-list .online-identity{overflow-wrap:anywhere;min-width:0}#online-list .online-name{color:var(--theme-accent);text-transform:capitalize;display:block}#online-list .online-title{color:var(--theme-text);margin-top:2px;font-size:11px;display:block}#online-list .online-details{color:var(--theme-dim);font-size:11px;display:block}#online-list .online-empty{text-align:center;color:var(--theme-dim);grid-column:1/-1;padding:18px 0}#online-list .admin-actions{flex-wrap:wrap;grid-area:3/1/auto/-1;gap:4px;display:flex}#online-list .admin-warp-button{color:#ef9a9a;cursor:pointer;background:#f443361f;border:1px solid #f443364d;border-radius:2px;padding:2px 6px;font-family:inherit;font-size:9px;transition:background .15s}#online-list .admin-warp-button:hover{background:#f4433640}#online-list .online-name.online-admin{color:#e2a1ff}#online-list .online-count{color:var(--theme-dim);margin:8px 0 0}#online-list .online-actions{flex-wrap:wrap;grid-area:2/1/auto/-1;justify-content:flex-start;align-items:center;gap:4px;display:flex}#social-panel #online-list .online-social-action{min-width:26px;min-height:26px;padding:3px}#online-list .online-social-action svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;width:16px;height:16px}#online-list .online-social-action[aria-pressed=true]{color:var(--theme-secondary);background:var(--theme-bg-light);border-color:currentColor}@container (width<=360px){#online-list .players{gap:5px;padding-inline:6px}#online-list .online-player-card{grid-template-rows:auto 1fr auto;grid-template-columns:minmax(0,1fr);padding:5px}#online-list .online-actions{grid-row:3}#online-list .admin-actions{grid-row:4}}#party .member-list{margin:0;padding:0;list-style:none}#party .party-member-identity strong{color:var(--theme-accent);font-size:14px;display:block}#party :is(.party-member-identity span,.party-health){color:var(--theme-dim);font-size:12px}#party .party-health{font-variant-numeric:tabular-nums;flex:0 33%;align-items:center;gap:5px;min-width:70px;display:flex}#party .party-health meter{flex:1;min-width:0;height:12px}#party .party-health span{text-align:right;width:4ch}#party .leave-party-button{margin-top:8px}#social-panel.dialog-md{--social-border:color-mix(in srgb, var(--theme-accent) 24%, transparent);width:min(var(--character-dialog-width), calc(100% - 24px));box-sizing:border-box;border-color:var(--social-border);min-width:0;height:490px;min-height:0;max-height:calc(100% - 24px)}#social-panel .dialog-header{background:var(--theme-heading);flex:none;padding:10px 14px}#social-panel .label{color:var(--theme-accent);margin:0;font-size:19px}#social-panel .dialog-contents{overscroll-behavior:contain;flex:auto;min-height:0;max-height:none;padding:10px;display:block;overflow:auto}#social-panel .dialog-footer{flex:none;justify-content:flex-end;padding:8px 10px}#social-panel .dialog-footer button{margin:0}#social-panel .social-add-bar{gap:6px;margin-bottom:8px;display:flex}#social-panel .social-add-input{border:1px solid var(--social-border);background:var(--theme-input-bg);min-width:0;color:var(--theme-text);border-radius:4px;flex:1;padding:6px 8px}#social-panel .social-add-button{padding-inline:8px}#social-panel :is(.social-list,.nearby-list,.member-list){gap:5px;display:grid}#social-panel :is(.social-entry,.nearby-entry,.member-list li){border:1px solid var(--social-border);background:var(--theme-input-bg);border-radius:5px;flex-wrap:wrap;align-items:center;gap:6px;padding:7px;display:flex}#social-panel :is(.entry-name,.nearby-entry-info,.party-member-identity){min-width:32px;color:var(--theme-text);overflow-wrap:anywhere;flex:1}#social-panel .entry-status.online{color:#8bdc92}#social-panel :is(.entry-status,.nearby-count,.party-count){color:var(--theme-dim);font-size:12px}#social-panel :is(.nearby-count,.party-count){margin:0 0 6px}#social-panel :is(.social-empty,.nearby-empty,.party-empty){color:var(--theme-dim);text-align:center;margin:0;padding:14px 4px}#social-panel .themed-btn.sm{min-width:0;min-height:28px;padding-inline:8px}#social-panel button:disabled{color:var(--theme-dim);border-color:var(--theme-very-dim);background:var(--theme-input-bg);opacity:.65;cursor:default}body.is-mobile #ui #dialogs>#social-panel:not(.hidden){height:490px!important;overflow:hidden!important}#spell-book .spell-tabs{gap:2px;padding:6px 12px 0;display:flex}#spell-book .spell-tab{color:#a09880;background:var(--theme-bg-medium);border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .1);cursor:pointer;border-radius:4px 4px 0 0;flex:1;padding:5px 0;font-size:11px;font-weight:500;transition:color .15s,background .15s}#spell-book .spell-tab:hover{color:var(--theme-text);background:#2a241ccc}#spell-book .spell-tab.active{color:var(--theme-accent);background:#322a20e6;border-bottom-color:#0000}#spell-book{box-sizing:border-box;width:580px;max-width:calc(100% - 16px);min-height:0;max-height:calc(100% - 16px)}#spell-book .spell-points{color:var(--theme-dim);font-size:12px}#spell-book .spell-grid{scrollbar-width:thin;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));align-content:start;gap:6px;min-height:0;max-height:min(340px,55vh);display:grid}#spell-book .spell-grid::-webkit-scrollbar{display:block}#spell-book .spell-grid>.spell-entry{background:var(--theme-bg-medium);border:1px solid #ffffff1a;border-radius:4px;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;padding:7px 8px;display:grid}#spell-book .spell-grid>.spell-entry:hover{border-color:var(--theme-dim)}#spell-book .spell-entry:not(.passive) .spell-icon{cursor:grab}#spell-book .spell-entry.passive .spell-icon{border-radius:3px;box-shadow:0 0 0 1px #96c8ff8c}#spell-book .spell-identity{overflow-wrap:anywhere;min-width:0}#spell-book .spell-name{text-align:left;max-width:none;font-size:13px;display:block}#spell-book .spell-level,#spell-book .spell-empty{color:var(--theme-dim);font-size:12px}#spell-book .spell-empty{text-align:center;grid-column:1/-1;padding:12px}#spell-book .dialog-footer{justify-content:space-between;align-items:center}#spell-book .dialog-footer button[data-id=cancel]{margin:0}#spell-book .themed-btn:disabled{opacity:.45;cursor:not-allowed}body.is-mobile #spell-book{max-width:100%;max-height:100%}body.is-mobile #spell-book .spell-grid{max-height:none}.spell-training-panel{border-top:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .3);z-index:10;background:#0c0a08f7;border-radius:0 0 8px 8px;padding:12px 16px;animation:.2s ease-out trainingSlideUp;position:absolute;bottom:0;left:0;right:0;box-shadow:0 -4px 20px #00000080}@keyframes trainingSlideUp{0%{opacity:0;transform:translateY(100%)}to{opacity:1;transform:translateY(0)}}.training-header{border-bottom:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .12);justify-content:space-between;align-items:center;margin-bottom:10px;padding-bottom:6px;display:flex}.training-spell-name{color:var(--theme-accent);font-size:13px;font-weight:600}.training-level{color:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .6);font-size:11px}.training-selector{justify-content:center;align-items:center;gap:6px;margin-bottom:10px;display:flex}.training-btn{border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .25);background:var(--theme-bg-light);width:30px;height:30px;color:var(--theme-accent);cursor:pointer;border-radius:6px;justify-content:center;align-items:center;font-size:14px;font-weight:600;transition:all .15s;display:flex}.training-btn:hover:not(:disabled){background:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .15);border-color:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .45)}.training-btn:active:not(:disabled){transform:scale(.92)}.training-btn:disabled{opacity:.3;cursor:default}.training-max{letter-spacing:.5px;width:auto;padding:0 10px;font-size:11px}.training-amount{color:#e8c478;text-align:center;font-variant-numeric:tabular-nums;min-width:40px;font-size:18px;font-weight:700}.training-info{justify-content:space-between;margin-bottom:10px;font-size:11px;display:flex}.training-cost{color:#c4956a}.training-result{color:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .7)}.training-actions{gap:8px;display:flex}.training-confirm{color:#a4d48a;cursor:pointer;background:#508c3c40;border:1px solid #78b45a66;border-radius:6px;flex:1;padding:7px 0;font-size:12px;font-weight:600;transition:all .15s}.training-confirm:hover{background:#508c3c66;border-color:#78b45a99}.training-cancel{border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .2);background:var(--theme-bg-light);color:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .6);cursor:pointer;border-radius:6px;flex:1;padding:7px 0;font-size:12px;transition:all .15s}.training-cancel:hover{background:var(--theme-bg-light);border-color:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .35)}.training-footer{text-align:center;color:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .4);margin-top:8px;font-size:10px}.spell-tooltip{z-index:1080;box-sizing:border-box;border:1px solid color-mix(in srgb, var(--theme-accent) 38%, transparent);border-top:2px solid var(--theme-accent);background:var(--theme-surface);width:min(280px,100vw - 24px);-webkit-backdrop-filter:var(--ui-blur);backdrop-filter:var(--ui-blur);color:var(--theme-text);pointer-events:none;border-radius:6px;padding:10px 12px;display:none;position:fixed;box-shadow:0 8px 20px #0000008c}.spell-tooltip.visible{display:block}.spell-tooltip-header{align-items:center;gap:8px;margin-bottom:4px;display:flex}.spell-tooltip-icon{background-position:0 0;background-repeat:no-repeat;flex-shrink:0;width:34px;height:32px}.spell-tooltip-title{min-width:0;display:grid}.spell-tooltip-name{color:var(--theme-accent);font-size:15px}.spell-tooltip-type{color:var(--theme-dim);font-size:11px}.spell-tooltip-stats{border-block:1px solid color-mix(in srgb, var(--theme-accent) 22%, transparent);gap:3px;margin:7px 0;padding:5px 0;font-size:12px;display:grid}.spell-tooltip-stat{background:var(--theme-bg-medium);border-radius:3px;justify-content:space-between;gap:8px;padding:3px 5px;display:flex}.spell-tooltip-stat-label{color:var(--theme-dim)}.spell-tooltip-stat-value{color:var(--theme-text)}.spell-tooltip-description{overflow-wrap:anywhere;font-size:12px;line-height:1.4}body.is-mobile .spell-tooltip{display:none!important}#stats{box-sizing:border-box;min-height:0;color:var(--theme-text);font:inherit;-webkit-user-select:none;user-select:none;overscroll-behavior:contain;flex:auto;gap:10px;padding:12px;font-size:12px;display:grid;overflow:auto}#stats .stats-profile{align-items:center;gap:14px;padding:12px;display:flex;position:relative}#stats canvas{max-width:28%;height:auto;image-rendering:pixelated;background:var(--theme-input-bg);border:1px solid var(--paperdoll-border);border-radius:6px;flex:none;transform:scaleX(-1)}#stats .stats-identity{overflow-wrap:anywhere;min-width:0}#stats .stats-subtitle{font-weight:600}#stats .stats-guild{color:var(--theme-dim);margin-top:4px}#stats .stats-columns,#stats .stats-grid,#stats .stats-computed{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;display:grid}#stats .stats-columns{gap:10px}#stats .stats-group h3,#stats .stats-computed-header{grid-column:1/-1}#stats .stats-computed-header{border-block-end:1px solid var(--paperdoll-border);color:var(--paperdoll-accent);margin:0 0 8px;padding-block-end:6px;font-size:12px}#stats .stats-caster-header{margin-top:5px}#stats .stat{font-variant-numeric:tabular-nums;justify-content:space-between;align-items:baseline;gap:4px;padding:3px 0;font-size:11px;display:flex}#stats .stat>[data-id]{text-align:right;overflow-wrap:anywhere}#stats .stat-label{color:var(--theme-dim);font-size:10px}#stats .upgrade{border:1px solid var(--paperdoll-border);color:var(--theme-accent);font:inherit;border-radius:3px;flex:none;padding:1px 6px}body.is-mobile #stats .stats-profile{padding-right:42px}#target-hud{z-index:1041;box-sizing:border-box;background:var(--theme-bg-dark);border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .25);pointer-events:none;border-radius:4px;flex-direction:column;gap:3px;width:240px;padding:4px 8px;display:flex;position:fixed;top:96px;left:50%;transform:translate(-50%)}#target-hud.ui-repositioned{top:unset;left:unset;transform:none}#target-hud.ui-unlocked{pointer-events:auto}.target-hud__header{align-items:center;gap:6px;display:flex}.target-hud__name{color:#ffd068;text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:11px;font-weight:600;overflow:hidden}.target-hud__hp-text{color:#c8c0a8;flex-shrink:0;font-size:10px}.target-hud__bar{border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .15);background:#14100c99;border-radius:3px;height:6px;position:relative;overflow:hidden}.target-hud__fill{background:#c03030;width:100%;height:100%;transition:width .2s}.target-hud__fill.low{background:#c06030}.target-hud__fill.critical{background:#804040}.target-hud__buffs{flex-wrap:wrap;gap:2px;min-height:8px;display:flex}.target-hud__buff{border:1px solid #fff3;border-radius:2px;width:8px;height:8px}.target-hud__buff.slow{background:#6699ffb3}.target-hud__buff.snare{background:#88cceeb3}.target-hud__buff.weaken{background:#9966ccb3}.target-hud__buff.hunters_mark{background:#cc4444b3}.target-hud__buff.amplify{background:#cc44ccb3}body.is-mobile #target-hud{width:200px}.target-hud__clear{pointer-events:auto;border:1px solid color-mix(in srgb, var(--theme-accent) 25%, transparent);background:var(--theme-input-bg);width:23px;height:23px;color:var(--theme-text);cursor:pointer;border-radius:4px;place-items:center;padding:0;font-size:15px;display:grid}.target-hud__clear:hover,.target-hud__clear:focus-visible{border-color:var(--theme-accent);color:var(--theme-accent)}.trade-btn{border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .3);background:var(--theme-bg-dark);color:var(--theme-accent);cursor:pointer;border-radius:4px;padding:4px 16px;font-family:inherit;font-size:11px;transition:background .15s,border-color .15s}.trade-btn:hover{background:var(--theme-bg-light);border-color:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .5)}.trade-btn.primary{color:#a5d6a7;background:#2e7d324d;border-color:#4caf5066}.trade-btn.primary:hover{background:#2e7d3273;border-color:#4caf5099}.trade-btn.primary.active{background:#2e7d3280;border-color:#4caf50b3;box-shadow:0 0 6px #4caf504d}#trade-dialog{box-sizing:border-box;background:var(--theme-surface);border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .3);width:min(440px,100% - 16px);max-height:calc(100% - 16px);color:var(--theme-text);z-index:100;border-radius:8px;flex-direction:column;font-family:MS Sans Serif,Tahoma,sans-serif;font-size:12px;display:flex;position:absolute;top:50%;left:50%;overflow:hidden;transform:translate(-50%,-50%);box-shadow:0 8px 32px #0009,inset 0 1px #ffffff0d}#trade-dialog .trade-header{background:var(--theme-heading);border-bottom:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .2);letter-spacing:.5px;color:var(--theme-accent);flex:none;padding:8px 12px;font-size:13px;font-weight:700}#trade-dialog .trade-columns{background:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .1);gap:1px;height:180px;min-height:0;display:flex}#trade-dialog .trade-column{background:var(--theme-bg-medium);flex-direction:column;flex:1;min-width:0;padding:6px 8px;display:flex}#trade-dialog .trade-col-header{border-bottom:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .12);justify-content:space-between;align-items:center;margin-bottom:4px;padding-bottom:4px;display:flex}#trade-dialog .trade-col-name{color:var(--theme-accent);font-size:11px;font-weight:700}#trade-dialog .trade-agree-badge{border-radius:3px;padding:1px 6px;font-size:10px;font-weight:700}#trade-dialog .trade-agree-badge.agreed{color:#a5d6a7;background:#4caf504d;border:1px solid #4caf5066}#trade-dialog .trade-agree-badge.waiting{color:#ffe082;background:#ffc10726;border:1px solid #ffc10740}#trade-dialog .trade-item-list{flex:1;min-height:0;max-height:160px;overflow-y:auto}#trade-dialog .trade-item-row{border-radius:3px;justify-content:space-between;align-items:center;padding:3px 4px;font-size:11px;display:flex}#trade-dialog .trade-item-row:nth-child(odd){background:#ffffff08}#trade-dialog .trade-item-row.removable{cursor:pointer}#trade-dialog .trade-item-row.removable:hover{background:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .1)}#trade-dialog .trade-item-row .item-name{color:var(--theme-text)}#trade-dialog .trade-item-row .item-amount{color:var(--theme-dim);font-size:10px}#trade-dialog .trade-empty{color:#6b6055;text-align:center;padding:16px 0;font-size:11px;font-style:italic}#trade-dialog .trade-footer{border-top:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .15);background:#00000026;flex-wrap:wrap;flex:none;justify-content:space-between;align-items:center;gap:8px;padding:8px 12px;display:flex}#trade-dialog .trade-footer-left{flex-wrap:wrap;gap:6px;display:flex}#trade-dialog .trade-overlay{background:var(--theme-surface);-webkit-backdrop-filter:var(--ui-blur);backdrop-filter:var(--ui-blur);z-index:5;flex-direction:column;padding:8px;display:flex;position:absolute;inset:0;overflow-y:auto}#trade-dialog .trade-overlay-title{color:var(--theme-accent);text-align:center;padding:4px 0 8px;font-weight:700}#trade-dialog .trade-overlay-row{cursor:pointer;color:var(--theme-text);border-radius:3px;justify-content:space-between;padding:4px 8px;font-size:11px;display:flex}#trade-dialog .trade-overlay-row:hover{background:rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .15)}#trade-dialog .trade-overlay-row .item-amount{color:var(--theme-dim)}#trade-dialog .trade-overlay-back{align-self:center;margin-top:8px}#trade-dialog .trade-prompt{background:var(--theme-surface);-webkit-backdrop-filter:var(--ui-blur);backdrop-filter:var(--ui-blur);z-index:5;flex-direction:column;justify-content:center;align-items:center;padding:16px;display:flex;position:absolute;inset:0}#trade-dialog .trade-prompt-label{color:var(--theme-accent);margin-bottom:12px}#trade-dialog .trade-prompt-input{border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .3);background:var(--theme-input-bg);width:100px;color:var(--theme-text);text-align:center;border-radius:3px;padding:4px 8px;font-family:inherit;font-size:12px}#trade-dialog .trade-prompt-buttons{gap:8px;margin-top:12px;display:flex}#trade-dialog .trade-message{text-align:center;color:#ef9a9a;background:#b71c1c4d;border-top:1px solid #f443364d;padding:4px 8px;font-size:11px;position:absolute;bottom:44px;left:0;right:0}#trade-request-notification{background:var(--theme-surface);border:1px solid rgba(var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b), .3);color:var(--theme-text);z-index:120;text-align:center;border-radius:8px;min-width:200px;padding:12px 20px;font-family:MS Sans Serif,Tahoma,sans-serif;font-size:12px;position:absolute;top:120px;left:50%;transform:translate(-50%);box-shadow:0 8px 32px #0009}#trade-request-notification .trade-req-text{color:var(--theme-dim);margin-bottom:10px}#trade-request-notification .trade-req-name{color:var(--theme-accent);font-weight:700}#trade-request-notification .trade-req-buttons{justify-content:center;gap:10px;display:flex}@font-face{font-family:Forte;src:url(/Forte.otf)format("opentype");font-display:swap}:root{--ui-font:system-ui, sans-serif;--ui-heading-font:Forte, system-ui, sans-serif;--frame-edge:color-mix(in srgb, var(--theme-border-color) 35%, rgb(var(--theme-bg-dark-rgb)));--frame-bronze:color-mix(in srgb, var(--theme-border-color) 76%, rgb(var(--theme-bg-light-rgb)));--frame-glint:color-mix(in srgb, var(--theme-border-color) 64%, var(--theme-text));--frame-rails:0 0 0 1px var(--frame-edge), 0 2px 5px #00000073;--frame-inset:inset 0 1px 0 color-mix(in srgb, var(--frame-glint) 52%, transparent), inset 0 -1px 0 var(--frame-edge);--frame-rivet:radial-gradient(circle, var(--frame-glint) 0 1px, var(--frame-edge) 1.5px 2.5px, transparent 3px);--control-surface:linear-gradient(170deg, var(--theme-bg-medium), var(--theme-bg-secondary))}#ui,#ui *{font-family:var(--ui-font)!important}#ui :is(h1,h2,h3,h4,h5,h6,[role=heading],.dialog-header>span:not(.spell-points),.hud-name,.settings-title,.board-title,.quest-progress-title,.stats-computed-header,.trade-header,.trade-overlay-title,.guild-header,.priest-header,.editor-title,.boss-dmg-title,.boss-status-title,.dmg-tracker-target,.menu-player-name,.training-spell-name,.pm-name,.spell-tooltip-title,#small-alert .title,#small-alert-small-header .title,#large-alert-small-header .title,#large-confirm-small-header .title,#small-confirm .title){--ui-font:var(--ui-heading-font)}#death-title{font-family:var(--ui-heading-font)!important}#ui :is(#hud,#chat,#hotbar,#in-game-menu,#mobile-hud,#inventory,#mobile-menu-panel,#mobile-chat-drawer,#mobile-chat-fullscreen,#dialogs>div,#character-select,#character-entry-loading .character-loading-card,#login-form,#create-account-form,#create-character-form,#change-password-form,#credits-dialog,#small-alert,#small-alert-small-header,#large-alert-small-header,#large-confirm-small-header,#small-confirm,#item-amount-dialog,#player-context-menu,#target-hud,.party-hud,.quest-tracker,#damage-tracker,#boss-bars .boss-bar,#boss-status-panel,#boss-damage-report,#trade-request-notification,#guild-create-invite,.player-tooltip,.npc-tooltip,.spell-tooltip,.world-item-tooltip,.mobile-slot-picker,.mobile-info-popup){border:3px solid var(--frame-bronze);outline:1px solid var(--frame-glint);outline-offset:-2px;box-shadow:var(--frame-rails);border-radius:6px}#ui :is(#hud,#chat,#hotbar,#in-game-menu,#mobile-hud,#dialogs>div,#inventory){background-image:var(--frame-rivet), var(--frame-rivet), var(--frame-rivet), var(--frame-rivet), var(--theme-surface);background-position:2px 2px,right 2px top 2px,left 2px bottom 2px,right 2px bottom 2px,50%;background-repeat:no-repeat;background-size:6px 6px,6px 6px,6px 6px,6px 6px,cover}#ui :is(.dialog-header,.settings-header,.hud-header,.inventory-header,.board-title,.dialog-footer,.paperdoll-tabs,.settings-tabs,.social-tabs){border-color:var(--frame-glint)}#ui :is(.dialog-header,.entry-panel-header,.settings-header,.inventory-header,.board-title,.barber-header,.quest-heading,.quest-progress-header,.trade-header,.guild-header,.priest-header,.marriage-header){background:var(--theme-heading);border-color:var(--frame-glint)}#ui :is(.dialog-header h2,.settings-title,.inventory-header h2,.board-title,.quest-tracker h2,.party-hud-title){letter-spacing:.015em}#ui :is(.dialog-footer,.paperdoll-tabs,.settings-tabs,.social-tabs){background-color:var(--theme-bg-medium)}#ui :is(button.themed-btn,.trade-btn,.barber-btn,.guild-btn,.mobile-close-btn,#exit-game button,#in-game-menu .menu-btn,.chat-send,#chat-tab-bar button,#chat .chat-view-controls button,#mobile-hud .hud-badge,#mobile-hud .corner-btn){border-color:var(--theme-frame);box-shadow:var(--frame-inset);border-radius:4px}#ui :is(#exit-game button,.chat-send,#chat .chat-view-controls button,.mobile-close-btn,#mobile-hud .hud-badge,#mobile-hud .corner-btn){background:var(--control-surface);color:var(--theme-text)}#ui :is(button.themed-btn,.menu-btn,#exit-game button,.chat-send,.mobile-close-btn,#chat button):is(:hover,:focus-visible):not(:disabled){border-color:var(--theme-accent)}#ui :is(button.themed-btn,.chat-send,#chat button,#exit-game button):focus-visible{outline:2px solid var(--theme-accent);outline-offset:2px}#ui :is(#settings-dialog,#paperdoll,#social-panel,#quest-progress,#spell-book,#shop,#mobile-chat-fullscreen) :is(.dialog-tabs,.settings-tabs,.quest-progress-tabs,.spell-tabs,.shop-tabs,.fullscreen-tabs)>button{border-color:var(--frame-glint);background:var(--theme-bg-medium);color:var(--theme-dim);box-shadow:none}:is(#ui :is(#settings-dialog,#paperdoll,#social-panel,#quest-progress,#spell-book,#shop,#mobile-chat-fullscreen) :is(.dialog-tabs,.settings-tabs,.quest-progress-tabs,.spell-tabs,.shop-tabs,.fullscreen-tabs)>button):is(.active,[aria-selected=true],[aria-pressed=true],:hover){border-color:var(--frame-glint);box-shadow:inset 0 -1px 0 var(--frame-glint);background:var(--theme-bg-light);color:var(--theme-text)}:is(#ui :is(#settings-dialog,#paperdoll,#social-panel,#quest-progress,#spell-book,#shop,#mobile-chat-fullscreen) :is(.dialog-tabs,.settings-tabs,.quest-progress-tabs,.spell-tabs,.shop-tabs,.fullscreen-tabs)>button):focus-visible{outline-color:var(--frame-glint)}#ui :is(#hud,#hotbar,#in-game-menu){-webkit-backdrop-filter:var(--ui-blur);backdrop-filter:var(--ui-blur)}#ui #hud{box-sizing:border-box;grid-template-columns:auto minmax(0,1fr);gap:5px 9px;width:min(338px,100% - 16px);min-width:0;padding:10px;display:grid}#hud .hud-portrait{box-sizing:border-box;background:var(--theme-input-bg);border:1px solid var(--frame-bronze);width:64px;height:80px;box-shadow:var(--frame-inset);image-rendering:pixelated;border-radius:5px;grid-row:span 4;align-self:start}#ui #hud .hud-header{background:0 0;border-radius:0;gap:6px;min-width:0;margin:0;padding:0 0 5px}#hud .hud-name{max-width:100%;color:var(--theme-text);line-height:1.1}#hud .hud-class{color:var(--theme-dim);text-shadow:var(--theme-text-shadow)}#hud .hud-level{color:var(--theme-text);background:var(--control-surface);border-color:var(--frame-bronze);box-shadow:var(--frame-inset);font-size:12px;font-weight:700}#hud .hud-bar-row{gap:6px;margin:0}#hud .hud-bar-label{width:31px;color:var(--theme-accent);font-size:11px;font-weight:700}#ui :is(#hud,#mobile-hud) .hud-bar-track{background-color:var(--theme-input-bg);box-shadow:var(--frame-inset);border:1px solid var(--frame-bronze)}#ui :is(#hud,#mobile-hud) .hud-bar-fill.hp{background:linear-gradient(#d35a4d,#b42125 48%,#751018)}#ui :is(#hud,#mobile-hud) .hud-bar-fill.tp{background:linear-gradient(#5bacdb,#187cbb 48%,#124e77)}#ui :is(#hud,#mobile-hud) .hud-bar-fill.exp{background:linear-gradient(#f4cf6e,#c79325 48%,#8e5912)}#ui :is(#hud .hud-bar-text,#mobile-hud .hud-bar-value){color:#fff5df;font-variant-numeric:tabular-nums;text-shadow:0 1px 2px #100904,0 0 2px #100904;font-weight:700}#hud .hud-bar-text{font-size:11px}#hud>#buff-bar{grid-column:1/-1}#hud .status-companions{width:100%}#ui #chat{width:min(476px,33%);padding:9px}#chat .chat-toolbar{align-items:center}#ui #chat #chat-tab-bar button{border-color:var(--frame-glint);background:var(--theme-bg-dark);border-radius:5px 5px 1px 1px;padding:5px 8px;font-size:.88em;font-weight:650}#ui #chat #chat-tab-bar button.active{background:var(--control-surface);color:var(--theme-accent);box-shadow:var(--frame-inset), inset 0 -2px 0 var(--frame-glint)}#ui #chat .chat-view-controls button{min-width:24px;padding:3px 5px;font-size:.85em}#chat ul{border:1px solid var(--theme-frame);background-color:var(--theme-input-bg);border-radius:4px;margin:3px 0 5px;padding:4px 6px;scroll-padding:4px}#chat li{word-break:normal;overflow-wrap:anywhere}#chat li div.msg>.chat-timestamp{color:var(--theme-accent);font-variant-numeric:tabular-nums}#chat .chat-compose{border:1px solid var(--theme-frame);background:var(--theme-input-bg);border-radius:4px;flex:none;align-items:center;gap:4px;min-height:30px;padding:2px 3px 2px 6px;display:flex}#chat .chat-compose:focus-within{border-color:var(--theme-accent)}#chat .chat-compose-icon{background:var(--theme-accent);color:var(--frame-edge);letter-spacing:.04em;border-radius:45%;padding:1px 3px;font-size:8px;line-height:1.2;position:relative}#chat .chat-compose-icon:after{content:"";border:3px solid #0000;border-left-color:var(--theme-accent);position:absolute;bottom:-3px;left:3px}#ui #chat-message{-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0;outline:none;flex:1;min-width:0;height:25px;margin:0;padding:2px 4px}#chat-message::placeholder{color:var(--theme-very-dim)}#chat .chat-send{border:1px solid var(--theme-frame);cursor:pointer;flex:none;padding:2px 6px}#hotbar .slot{background:var(--theme-input-bg);border-color:var(--frame-bronze);border-radius:4px}#hotbar .slot:not(.spell-active){box-shadow:var(--frame-inset)}#hotbar .slot:is(:hover,.assigned){border-color:var(--theme-secondary)}#hotbar .slot:before{background:0 0}#ui #hotbar .slot:after{border:1px solid var(--frame-bronze);background:var(--control-surface);min-width:16px;color:var(--theme-text);box-shadow:var(--frame-inset);pointer-events:none;border-radius:3px;padding:0 3px;top:-5px;left:50%;transform:translate(-50%)}body:not(.is-mobile) #ui #in-game-menu{padding:7px}#ui #in-game-menu .menu-btn{background:var(--theme-input-bg)}#ui #in-game-menu .menu-btn:is(:hover,:focus-visible){background:var(--control-surface)}#ui #in-game-menu .menu-btn svg{width:24px;height:24px}#ui #exit-game button{width:36px;height:36px;font-size:21px}@media (width>=1200px){body:not(.is-mobile) #in-game-menu{grid-template-columns:repeat(6, var(--desktop-menu-size))}}body.is-mobile #mobile-hud .hud-bar-track{box-sizing:border-box}body.is-mobile #ui :is(#btn-attack,#btn-toggle-sit){border-color:var(--frame-bronze);box-shadow:var(--frame-inset)}#ui :is(.online-player-card,.lookup-result,.lookup-profile,.lookup-stat-group,.paperdoll-panel,.locker-slot,.chest-slot){border-color:var(--theme-frame);box-shadow:var(--frame-inset)}#ui :is(.online-player-card,.lookup-result):is(:hover,:focus-within){border-color:var(--theme-accent)}body:not(.is-mobile) #hotbar{--hotbar-over-menu:calc(2 * var(--hud-edge-gap) + 2 * var(--desktop-menu-size) + var(--desktop-menu-gap) + 16px)}@media (width>=1200px){body:not(.is-mobile) #hotbar{--hotbar-over-menu:calc(2 * var(--hud-edge-gap) + var(--desktop-menu-size) + 16px)}}@media (width<=1750px){body:not(.is-mobile) #hotbar[data-slots="10"]:not(.ui-repositioned,.two-rows,.two-cols,.vertical){right:var(--hud-edge-gap);bottom:var(--hotbar-over-menu);left:auto;transform:none}}@media (width<=740px){body:not(.is-mobile) #hotbar:not(.ui-repositioned){right:var(--hud-edge-gap);bottom:var(--hotbar-over-menu);left:auto;transform:none}}@media (width<=580px){body:not(.is-mobile) #hotbar[data-slots="10"]:not(.two-cols,.vertical){--hotbar-columns:5}}:is(#ui,#banner-notification) button:is(.close-btn,[data-id=close],[aria-label^=Close\ ],.banner-notification__close,.dmg-tracker-close,.boss-dmg-close,.boss-status-close){background:var(--theme-bg-dark);color:var(--theme-accent);border:1px solid var(--theme-frame);box-shadow:var(--frame-inset);border-radius:4px}:is(:is(#ui,#banner-notification) button:is(.close-btn,[data-id=close],[aria-label^=Close\ ],.banner-notification__close,.dmg-tracker-close,.boss-dmg-close,.boss-status-close)):is(:hover,:focus-visible){background:var(--theme-bg-light);color:var(--theme-text);border-color:var(--theme-accent)}
