@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Marcellus&display=swap";body :is(#inventory-panel,#trade-panel,#mail-panel,#bank-panel,#merchant-panel,#journal-panel,#settings-panel,#help-panel,#map-panel,#account-panel,#island-menu).panel.panel-window{position:fixed;left:var(--panel-left);right:auto;top:var(--panel-top);bottom:auto;transform:none;margin:0;width:var(--panel-width);max-width:calc(100vw - 24px);max-height:calc(100dvh - var(--panel-top) - var(--panel-bottom));z-index:var(--panel-layer);box-sizing:border-box;overflow:auto;overscroll-behavior:contain}body .panel-window .panel-heading{position:sticky;top:-20px;z-index:2;background:#1b302b;padding-top:8px;padding-bottom:8px}@media(max-width:999px){body .panel-window .inventory-layout{grid-template-columns:minmax(0,1fr)}body .panel-window #item-detail{border-left:0;padding-left:0;min-height:0}body .panel-window .equipment-grid{max-width:100%}body .panel-window #inventory-grid.combined,body .panel-window .bag-cells{grid-template-columns:repeat(6,minmax(0,1fr))}body .panel-window .bag-toolbar{flex-wrap:wrap}body .panel-window .bag-toolbar input{flex-basis:100px}}@media(min-width:700px)and (max-width:999px){body .panel-window #inventory-grid.combined,body .panel-window .bag-cells{grid-template-columns:repeat(8,minmax(0,1fr))}}body #settings-panel.panel-window{scroll-padding-block-start:64px}#settings-panel{z-index:24}#control-settings{padding:0 0 18px;margin-bottom:18px;border-bottom:1px solid var(--line)}#control-settings h3{margin:10px 0 0;font-weight:500;font-size:18px;color:#ead6aa}#control-settings label{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:12px;margin:15px 0 7px}#control-settings label.checkbox-label{justify-content:flex-start;line-height:1.6}#control-settings input[type=range]{width:100%;accent-color:#d1b779;min-height:26px;margin:0;cursor:pointer}#control-settings output{color:#e6cc93;font-variant-numeric:tabular-nums}#control-settings .control-settings-actions{display:flex;gap:10px;align-items:center;margin-top:18px}#control-settings #save-controls{width:auto;flex:1}#control-settings #reset-controls{flex:none;white-space:nowrap;font-size:11px}#controls-save-status{min-height:2.8em;margin-bottom:0}#island-menu{position:fixed;width:370px;inset:50% auto auto 50%;transform:translate(-50%,-50%);z-index:12;max-height:80dvh}.island-menu>button{width:100%;text-align:left;margin-top:9px;display:flex;align-items:center;justify-content:space-between}.island-menu .panel-note{line-height:1.7}.island-menu kbd{font-size:10px;opacity:.7}.hotbar-edit-row{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0;align-items:center}#bar-lock-toggle{border:1px solid var(--line);padding:7px 12px;border-radius:5px;background:#294536;color:#e6ce98;min-height:34px}#bar-lock-toggle[aria-pressed=false]{background:#695631;border-color:#b79759}#shortcut-editor{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:10px 0}#shortcut-editor button{padding:8px;text-align:left;border:1px solid var(--line);border-radius:5px;background:#213c30;color:#c6cdb9;font-size:10px;line-height:1.5}#shortcut-editor button strong{display:block;color:#e8d3a7;font-weight:500}#shortcut-editor button:disabled{opacity:.4}#action-bar button.unavailable{opacity:1;background:#23392f}#action-bar button.unavailable svg{filter:grayscale(.85);opacity:.42}#action-bar button.unavailable>span{color:#9cac9c}#action-bar button>svg,#action-bar button>span,#action-bar button>kbd,#action-bar button>b{position:relative;z-index:1}#action-bar button>kbd{position:absolute}#action-bar button>b{position:absolute}#action-bar .cooldown-sweep{position:absolute;inset:0;z-index:0;border-radius:4px;pointer-events:none;background:conic-gradient(#090f0acf var(--cooldown,0%),transparent 0)}#action-bar .cooldown-time{position:absolute;inset:16px 0 auto;z-index:2;font-style:normal;font-weight:600;font-size:17px;text-align:center;color:#fff0cf;text-shadow:0 1px 5px #000,0 1px 2px #000;pointer-events:none;font-variant-numeric:tabular-nums}#action-bar[data-locked=false]{border-color:#e8c780;box-shadow:0 0 0 1px #ae894577,0 6px 25px #06191066}#action-bar .empty-shortcut{font-size:24px;color:#657963;font-weight:300}#action-tooltip{position:fixed;z-index:40;pointer-events:none;max-width:260px;padding:12px 14px;background:#122c26f7;color:#c9d1bc;border:1px solid #b7a16a80;box-shadow:0 5px 25px #0006;border-radius:7px;font-size:11px;line-height:1.55}#action-tooltip strong{display:block;color:#eddaaa;font-size:13px;margin-bottom:4px}#action-tooltip small{display:block;color:#97ad98;margin-top:6px}@media(max-width:700px)and (orientation:portrait),(max-width:700px)and (max-width:559px),(max-width:700px)and (min-height:501px),(max-width:700px)and (pointer:fine),(max-width:700px)and (pointer:none){#island-menu{left:18px;right:18px;top:115px;transform:none;width:auto;max-height:calc(100dvh - 150px)}#shortcut-editor{grid-template-columns:repeat(2,1fr)}#action-bar .cooldown-time{font-size:15px;top:12px}}@media(max-height:520px){#island-menu{max-height:calc(100dvh - 40px);transform:none;inset:20px auto 20px 50%;margin-left:-185px;width:370px}}@media(max-height:520px){#island-menu:not([hidden]){display:grid;grid-template-columns:1fr 1fr;gap:8px;align-content:start;padding:16px}#island-menu>.panel-heading,#island-menu>.panel-note{grid-column:1/-1;margin:0}#island-menu>.panel-heading{margin-bottom:6px}#island-menu h2{font-size:24px}#island-menu>button{margin:0;font-size:12px;min-height:44px;padding:10px;gap:4px}#island-menu .eyebrow{display:none}#island-menu>.panel-note:last-child{margin-top:4px}}#world.camera-dragging{cursor:grabbing}#target-panel{position:fixed;z-index:22;top:150px;left:30px;width:300px;display:flex;align-items:center;gap:13px;padding:13px 32px 13px 13px;color:#f4e8cf;pointer-events:auto;border:1px solid #cfaa6766;border-radius:40px 14px 14px 40px;background:linear-gradient(120deg,#3a2b1ff2,#221a13f0);box-shadow:0 10px 32px #0604038c,inset 0 1px #ffefcf1a;backdrop-filter:blur(8px)}#target-panel[hidden]{display:none}#target-panel .target-portrait{width:62px;height:62px}#target-panel[data-type=player] .target-portrait{background:radial-gradient(circle at 50% 35%,#5d7183,#26303a 72%)}.target-details{min-width:0;flex:1}#target-kind{display:block;font-size:9px;letter-spacing:1.8px;text-transform:uppercase;color:#d6b06c}#target-name{font:21px/1.15 Marcellus,Georgia,serif;margin:3px 0 2px;overflow-wrap:anywhere;color:#fbecd0}#target-panel[data-type=player] #target-name{color:#dfeaff}#target-detail{font-size:11px;color:#c8b896;margin:0 0 8px;line-height:1.4}#target-interact{padding:6px 12px;color:#2a1d10;border:1px solid #f6dfac;border-radius:6px;background:linear-gradient(#e9cb8c,#cfa762);font-size:11px;font-weight:600;cursor:pointer;box-shadow:0 2px #7a5b2b}#target-interact:disabled{filter:saturate(.3) brightness(.75);cursor:default;box-shadow:none}#target-interact:focus-visible,#target-clear:focus-visible{outline:2px solid #f0d597;outline-offset:3px}#target-clear{position:absolute;top:6px;right:8px;border:0;color:#d9c8a4;background:none;font-size:22px;cursor:pointer}#target-panel button[hidden]{display:none}@media(max-width:700px)and (orientation:portrait),(max-width:700px)and (max-width:559px),(max-width:700px)and (min-height:501px),(max-width:700px)and (pointer:fine),(max-width:700px)and (pointer:none){#target-panel{top:124px;left:12px;width:236px;padding:9px 26px 9px 9px;gap:9px}#target-panel .target-portrait{width:46px;height:46px}#target-name{font-size:18px}#target-interact{min-height:36px}#target-clear{min-width:28px;min-height:28px;top:3px;right:2px}}@media(max-height:500px){#target-panel{top:76px;left:160px;padding-top:6px;padding-bottom:6px}#target-detail{margin-bottom:4px}}@media(pointer:coarse){#target-panel{width:206px;left:12px;top:124px;padding:8px 26px 8px 8px;gap:8px}#target-panel .target-portrait{width:42px;height:42px}#target-name{font-size:17px}#target-detail{font-size:10px;line-height:1.35}#target-interact{min-height:36px}#target-clear{min-width:30px;min-height:34px;top:0;right:0}}@media(pointer:coarse)and (max-height:500px){#target-panel{top:142px;left:16px;width:196px;padding:6px 26px 6px 7px}#target-panel .target-portrait{width:36px;height:36px}#target-kind{font-size:8px}#target-name{margin:2px 0;font-size:16px}#target-detail{display:none}#target-interact{padding:3px 9px;min-height:30px}}#world.painted-pointer{cursor:none}#world-pointer{position:fixed;width:40px;height:40px;z-index:40;pointer-events:none;user-select:none}#world-pointer[data-out-of-range=true]{opacity:.45;filter:saturate(.45)}#world-tooltip{position:fixed;right:24px;bottom:108px;width:248px;max-width:calc(100vw - 48px);z-index:24;pointer-events:none;color:#f5e7ca;padding:13px 16px;border:1px solid #d3b67c88;border-radius:9px;background:linear-gradient(120deg,#3c3028f5,#211b17f5);box-shadow:0 5px 20px #0b080766,inset 0 1px #ead6ae22}#world-tooltip strong{display:block;font:20px/1.2 Marcellus,Georgia,serif;overflow-wrap:anywhere}#world-tooltip small{display:block;color:#d6ba7e;margin-top:4px;font:10px/1.3 sans-serif;letter-spacing:1.1px;text-transform:uppercase}#world-tooltip p{margin:9px 0 0;color:#d8cbb6;font:12px/1.45 sans-serif}#world-pointer[hidden],#world-tooltip[hidden]{display:none}@media(max-height:500px){#world-tooltip{bottom:78px;right:14px;width:210px;padding:9px 12px}}#interaction-error{position:fixed;z-index:45;top:17%;left:50%;transform:translate(-50%);max-width:80vw;text-align:center;color:#ff7771;font:600 19px/1.45 Georgia,serif;text-shadow:0 2px 3px #1b0808,0 0 12px #150706;pointer-events:none;opacity:1;transition:opacity .65s}#interaction-error.fading{opacity:0}#interaction-error[hidden]{display:none}@media(max-width:700px)and (orientation:portrait),(max-width:700px)and (max-width:559px),(max-width:700px)and (min-height:501px),(max-width:700px)and (pointer:fine),(max-width:700px)and (pointer:none){#interaction-error{top:22%;font-size:16px}}body [class].quality-poor{--quality:#9d9d9d;color:var(--quality)}body [class].quality-common{--quality:#e4e0d3;color:var(--quality)}body [class].quality-uncommon{--quality:#73ce7c;color:var(--quality)}body [class].quality-rare{--quality:#70b7ff;color:var(--quality)}body [class].quality-epic{--quality:#c68dff;color:var(--quality)}body [class].quality-legendary{--quality:#ff9f40;color:var(--quality)}body :is(.item-slot,.bag-rack-slot,.detail-art,.loot-art)[class*=quality-]{border:1px solid var(--quality);border-radius:4px}body #action-bar button[class*=quality-]{border-color:var(--quality)}body #action-bar button[class*=quality-]>span:not(.empty-shortcut){color:var(--quality)}body :is(#item-tooltip,#action-tooltip,#system-item-tooltip,.item-tooltip) .item-name{display:block;color:var(--quality);font-size:14px;margin:0 0 5px}body .item-tooltip :is(.item-kind,.item-stack,.item-sell){display:block;color:#c9c7b6;font-size:11px;line-height:1.6;margin-top:3px}body :is(#item-tooltip,#action-tooltip,#system-item-tooltip,.item-tooltip) .item-description{font-size:12px;line-height:1.55;color:#e7cb7e;font-style:italic;margin:10px 0 0}body .item-tooltip :is(.item-comparison,.item-hint){color:#b8c6b4;font-size:11px;line-height:1.5;margin:8px 0 0}body .item-tooltip{max-width:calc(100vw - 16px);box-sizing:border-box}#chat-log .chat-system{margin:6px 0;color:#ded5a9;font:12px/1.5 DM Sans,sans-serif;overflow-wrap:anywhere}#chat-log .chat-system-error{color:#f59b8a}#chat-log .chat-receipt{color:#c5db9f}#chat-log .chat-coins{color:#edcf83}#chat-log .chat-item{display:inline;min-height:0;padding:0;border:0;background:none;font:inherit;text-align:left;vertical-align:baseline;cursor:pointer;box-shadow:none;text-shadow:0 1px 2px #07110b}#chat-log .chat-item:hover,#chat-log .chat-item:focus-visible{text-decoration:underline;text-underline-offset:3px}#system-item-tooltip{position:fixed;z-index:60;max-width:min(280px,calc(100vw - 16px));padding:13px 16px;border:1px solid #bda16a88;border-radius:7px;background:linear-gradient(135deg,#231e16fa,#131b18fa);box-shadow:0 10px 35px #080f0bc9;color:#e9dfc6;pointer-events:none;font:12px/1.5 DM Sans,sans-serif}#system-item-tooltip[hidden]{display:none}#system-item-tooltip strong,#system-item-tooltip small{display:block}#system-item-tooltip strong{font-size:14px;margin-bottom:5px}#system-item-tooltip small{color:#c6c2b0}#system-item-tooltip p{margin:8px 0 0;color:#e7cb7e;font-style:italic}#world-object-dialog{width:min(460px,90vw);padding:24px;border:1px solid #a88b59;border-radius:7px;background:#202a28;color:#eee2c9;box-shadow:0 12px 50px #0009}#world-object-dialog::backdrop{background:#07141180}#world-object-dialog header{display:flex;align-items:center;justify-content:space-between;gap:20px}#world-object-dialog h2{margin:0;font:22px Georgia,serif;color:#e4cd9a}#world-object-dialog p{line-height:1.6;margin:20px 0 0}#loot-panel{position:fixed;z-index:12;width:264px;max-width:calc(100vw - 24px);box-sizing:border-box;padding:12px;border:1px solid #c9a96a;border-radius:7px;background:linear-gradient(135deg,#273d30f7,#14271ff7);box-shadow:0 8px 25px #07180c99;color:#f0dfbc}#loot-panel header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}#loot-panel h2{font:18px Marcellus,Georgia,serif;margin:0}#loot-panel header button{padding:0 8px;min-height:30px;border:0;background:none;font-size:22px}#loot-item{display:flex;align-items:center;gap:10px;width:100%;text-align:left;background:#14281ed9;border:1px solid #c9a96a66;border-radius:4px;padding:8px;min-height:54px;font-size:12px}#loot-item:hover,#loot-item:focus-visible{border-color:#edcf90;background:#345340}#loot-item small{margin-left:auto;color:#e7d6ad}#loot-item .loot-art{width:36px;height:36px;flex-shrink:0;display:block;position:relative}#loot-item .item-art{display:block;width:100%;height:100%;background-image:url(/art/item-icons-v1.png);background-size:600% 400%}#loot-all{margin-top:10px;width:100%;min-height:36px;border:1px solid #c9a96a88;border-radius:4px;background:#3c5434;color:#f5e4bd;font-size:12px}#loot-note{margin:9px 0 0;color:#c4cdb8;font-size:10px;line-height:1.4}#loot-panel button:disabled{opacity:.6}body:has(#loot-panel:not([hidden])) #world-tooltip{display:none}#activity-status.gathering{inset:auto auto 155px 50%;transform:translate(-50%);width:280px;max-width:calc(100vw - 32px);box-sizing:border-box}#activity-status.gathering #activity-description{display:block}body:has(#activity-status.gathering:not([hidden])) #toast{bottom:251px}@media(max-width:700px)and (orientation:portrait),(max-width:700px)and (max-width:559px),(max-width:700px)and (min-height:501px),(max-width:700px)and (pointer:fine),(max-width:700px)and (pointer:none){#activity-status.gathering{bottom:198px;width:244px;padding:9px 12px}body:has(#activity-status.gathering:not([hidden])) #toast{bottom:294px}}@media(max-height:600px)and (min-width:701px),(pointer:coarse)and (max-height:600px)and (min-width:560px)and (max-width:700px)and (orientation:landscape)and (max-height:500px){#activity-status.gathering{bottom:105px;width:260px}body:has(#activity-status.gathering:not([hidden])) #toast{bottom:201px}}@media(pointer:coarse){#loot-panel{padding:8px;z-index:25}#loot-panel header{margin-bottom:6px}#loot-panel h2{font-size:16px}#loot-panel header button{width:44px;height:44px;min-height:44px;padding:0;flex-shrink:0}#loot-item{min-height:44px;padding:6px;gap:8px}#loot-item .loot-art{width:28px;height:28px}#loot-all{min-height:44px;margin-top:6px}#loot-note{margin-top:5px}body:has(#loot-panel:not([hidden])) #context-action{visibility:hidden}}@media(pointer:coarse)and (max-width:700px)and (orientation:portrait),(pointer:coarse)and (max-width:700px)and (max-width:559px),(pointer:coarse)and (max-width:700px)and (min-height:501px){#loot-panel{width:232px}}#relation-card{position:fixed;z-index:22;left:290px;width:300px;max-height:calc(100dvh - 340px);overflow:auto;padding:14px;box-sizing:border-box;color:#f4e8cf;border:1px solid #cfaa6766;border-radius:12px;background:linear-gradient(120deg,#3a2b1ff2,#221a13f0);box-shadow:0 10px 32px #0604038c;backdrop-filter:blur(8px)}#relation-card[hidden]{display:none}#relation-card .relation-temperament{margin:0 0 9px;font:italic 13px/1.35 Georgia,serif;color:#f0dcb3}#relation-card .relation-traits{display:grid;grid-template-columns:1fr 1fr;gap:5px 14px;margin-bottom:10px}#relation-card .trait{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#cdbb95}#relation-card .pips{letter-spacing:1px;color:#e9c987;font-size:10px}#relation-card .pips i{font-style:normal;color:#5a4630}#relation-card .relation-bond{display:flex;align-items:center;gap:8px;font-size:12px;color:#fbecd0;margin-bottom:6px}#relation-card .relation-bar{flex:1;height:5px;border-radius:3px;background:#4a3826;overflow:hidden}#relation-card .relation-bar span{display:block;height:100%;background:linear-gradient(90deg,#c99a55,#f0d391)}#relation-card .relation-hearts{color:#e39b86;letter-spacing:1px}#relation-card .relation-now{margin:0 0 9px;font-size:11px;color:#c8b896}#relation-card .relation-now span{letter-spacing:1.5px;text-transform:uppercase;font-size:9px;color:#d6b06c}#relation-card .relation-now strong{color:#fbecd0;font-weight:600}#relation-card .relation-actions{display:flex;flex-wrap:wrap;gap:6px}#relation-card .relation-actions button{min-height:44px;padding:8px 10px;color:#2a1d10;border:1px solid #f6dfac;border-radius:6px;background:linear-gradient(#e9cb8c,#cfa762);font-size:11px;font-weight:600;cursor:pointer;box-shadow:0 2px #7a5b2b}#relation-card .relation-actions button[hidden]{display:none}#relation-card .relation-actions button:disabled{filter:saturate(.3) brightness(.7);cursor:default;box-shadow:none}#relation-card .relation-reason{margin:8px 0 0;font-size:11px;line-height:1.4;color:#e9c9a4}#relation-card .relation-reason:empty{display:none}#relation-card .relation-details-toggle{display:none}@media(max-width:700px),(max-height:500px){#relation-card{padding:8px}#relation-card:not([data-expanded=true]) .relation-temperament,#relation-card:not([data-expanded=true]) .relation-traits{display:none}#relation-card .relation-details-toggle{display:block}#relation-card .relation-bond,#relation-card .relation-now{margin-bottom:3px;line-height:15px}#relation-card .relation-actions{gap:5px}#relation-card .relation-actions button{padding:6px 8px}}@media(max-width:700px)and (orientation:portrait),(max-width:700px)and (max-width:559px),(max-width:700px)and (min-height:501px),(max-width:700px)and (pointer:fine),(max-width:700px)and (pointer:none){#relation-card{left:12px;right:12px;width:auto;top:auto!important;bottom:240px;max-height:138px}#relation-card[data-expanded=true]{max-height:44dvh}}@media(max-width:700px)and (min-height:741px)and (orientation:portrait),(max-width:700px)and (min-height:741px)and (max-width:559px),(max-width:700px)and (min-height:741px)and (min-height:501px),(max-width:700px)and (min-height:741px)and (pointer:fine),(max-width:700px)and (min-height:741px)and (pointer:none){#relation-card:not([data-expanded=true]){left:calc(50% + 13px)}}@media(max-height:500px)and (min-width:701px),(pointer:coarse)and (max-height:500px)and (min-width:560px)and (max-width:700px)and (orientation:landscape)and (max-height:500px){#relation-card{left:238px;right:206px;width:auto;top:auto!important;bottom:90px;max-height:98px}#relation-card[data-expanded=true]{max-height:calc(100dvh - 232px)}}@media(pointer:coarse)and (max-width:700px)and (max-height:740px)and (orientation:portrait),(pointer:coarse)and (max-width:700px)and (max-height:740px)and (max-width:559px),(pointer:coarse)and (max-width:700px)and (max-height:740px)and (min-height:501px){#relation-card,#relation-card[data-expanded=true]{top:210px!important;bottom:auto;max-height:142px}}@media(pointer:coarse)and (max-width:700px)and (min-height:741px)and (orientation:portrait),(pointer:coarse)and (max-width:700px)and (min-height:741px)and (max-width:559px),(pointer:coarse)and (max-width:700px)and (min-height:741px)and (min-height:501px){#relation-card[data-expanded=true]{left:calc(50% + 13px);max-height:calc(100dvh - 632px)}#relation-card[data-expanded=true] .relation-traits{grid-template-columns:1fr}}@media(pointer:coarse)and (max-height:500px)and (min-width:701px),(pointer:coarse)and (max-height:500px)and (min-width:560px)and (max-width:700px)and (orientation:landscape)and (max-height:500px){#relation-card{bottom:92px;max-height:96px}#relation-card[data-expanded=true]{left:426px;right:206px;bottom:92px;max-height:calc(100dvh - 236px)}#relation-card[data-expanded=true] .relation-traits{grid-template-columns:1fr}}@media(pointer:coarse){#relation-card .relation-actions button{min-width:44px}}@media(pointer:coarse)and (max-width:700px)and (max-height:740px),(pointer:coarse)and (max-height:500px)and (min-width:701px){#relation-card[data-expanded=true]{display:flex;flex-direction:column}#relation-card[data-expanded=true] .relation-actions{order:-1;margin-bottom:8px}#relation-card[data-expanded=true] .relation-reason{order:-1;margin:0 0 6px}}@media(pointer:coarse)and (min-width:820px)and (min-height:350px)and (max-height:500px){#relation-card:not([data-expanded=true]){left:456px;right:166px;top:13px!important;bottom:auto;max-height:163px}}.garden-item-art{display:block;width:100%;height:100%;flex-shrink:0;filter:drop-shadow(0 2px 2px #0003)}#garden-dialog{color:#f2e5c9;background:linear-gradient(135deg,#263c30,#182d27);border:1px solid #c7b57b80;border-radius:16px;box-shadow:0 24px 100px #0009;width:min(530px,calc(100vw - 28px));max-height:calc(100dvh - 32px);padding:0;overflow:auto}#garden-dialog::backdrop{background:#0a1e20a8;backdrop-filter:blur(3px)}#garden-dialog header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:22px 26px 18px;background:#24392e;position:sticky;top:0;z-index:1;border-bottom:1px solid #bea57140}#garden-dialog h2{font: 27px Georgia,serif;margin:5px 0 0}#garden-dialog h3{font: 25px Georgia,serif;margin:5px 0 8px}#garden-dialog .close{position:static;flex-shrink:0}#garden-dialog .eyebrow{margin:0;color:#c4bd92;letter-spacing:.18em;font-size:10px}.garden-body{padding:22px 26px}.garden-state{display:flex;align-items:center;gap:20px}#garden-picture{width:88px;height:88px;flex-shrink:0;border-radius:50%;background:radial-gradient(ellipse,#cbb57c30,transparent 75%)}#garden-owner{font-size:10px;letter-spacing:.09em;color:#b6caa1;margin:0}#garden-timing{font-size:12px;color:#dfd3b6;margin:0;line-height:1.5}#garden-progress{display:block;width:100%;height:7px;border:0;border-radius:4px;margin:18px 0 4px;accent-color:#b6c389;background:#101f19}#garden-progress[hidden]{display:none}#garden-progress::-webkit-progress-bar{background:#101f19;border-radius:4px}#garden-progress::-webkit-progress-value{background:#b6c389;border-radius:4px}#garden-description{font-size:13px;line-height:1.75;color:#d2d0b9;margin:17px 0}#garden-actions{display:grid;gap:10px}.garden-choice{display:flex;gap:12px;align-items:center;text-align:left;width:100%;padding:12px 15px;border:1px solid #9dab7660;border-radius:10px;background:#47604350;color:#eee5cf;cursor:pointer;min-height:48px}.garden-choice>span:first-child:has(svg){width:47px;height:47px;flex-shrink:0}.garden-choice strong{display:block;font-size:14px;font-weight:500}.garden-choice small{display:block;color:#bfc9ad;font-size:11px;margin-top:6px;line-height:1.5}.garden-choice:disabled{opacity:.52;cursor:default}.garden-choice:not(:disabled):hover{background:#63845660;border-color:#c6ce91}.garden-choice:focus-visible{outline:2px solid #e6d8a5;outline-offset:3px}#garden-note{font-size:12px;color:#e9d59c;line-height:1.6;min-height:20px}#garden-dialog details{font-size:12px;line-height:1.75;color:#c3cab7;border-top:1px solid #cfb77c30;padding-top:14px}#garden-dialog summary{cursor:pointer;color:#d5ddc5}@media(max-width:520px){#garden-dialog header{padding:17px 19px}.garden-body{padding:17px 19px}#garden-dialog h2{font-size:24px}.garden-state{gap:12px}#garden-picture{width:70px;height:70px}}.creator-dialog{width:960px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:0;background:linear-gradient(140deg,#213830,#112521);color:#e9dfbf;border:1px solid #a68c58;border-radius:14px;box-shadow:0 24px 100px #00140ee6;overflow:auto;scrollbar-width:thin}.creator-dialog::backdrop{background:#061a16c7;backdrop-filter:blur(5px)}.creator-dialog header{display:flex;justify-content:space-between;align-items:center;padding:24px 30px 18px;border-bottom:1px solid #b6a06c38}.creator-dialog h2{font:32px Marcellus,Georgia,serif;margin:4px 0}.creator-dialog .eyebrow{font-size:9px;letter-spacing:.22em;color:#c4ae79}.creator-layout{display:grid;grid-template-columns:40% 60%;min-height:505px}.creator-stage{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:10px 16px 22px;overflow:hidden;background:radial-gradient(ellipse at 50% 43%,#a1a37835,transparent 65%),linear-gradient(0deg,#10241e,#19312b)}.creator-halo{position:absolute;width:210px;height:55px;border:1px solid #d6be7055;border-radius:50%;top:330px;box-shadow:0 0 30px #cec79412}#creator-portrait{position:relative;width:290px;height:348px;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 10px 5px #03180c66);touch-action:none;cursor:grab}.creator-name{font:23px Georgia;color:#e8d09a;margin:2px 0 15px}.creator-view{display:flex;gap:20px;align-items:center;font-size:11px;min-height:30px}.creator-view>span{width:80px;text-align:center;color:#b7c3ac}.creator-view button{font-size:24px;border:1px solid #ae9f6b50;color:#d7c38e;background:#294235;border-radius:50%;width:36px;height:36px}.creator-animation{display:flex;align-items:center;gap:12px;color:#9db29f;font-size:11px;margin-top:12px}.creator-animation select{background:#223b31;border:1px solid #b39a6155;padding:6px;border-radius:4px;color:#e1d3ac}.creator-stage-note{text-align:center;font-size:10px;line-height:1.7;color:#91aa94;margin:15px 0 0}.creator-options{padding:22px 28px;border-left:1px solid #b6a06c25}.creator-options nav{display:flex;gap:5px;border-bottom:1px solid #b6a06c38;padding-bottom:12px;margin-bottom:24px}.creator-options nav button{flex:1;padding:10px;border:1px solid transparent;background:transparent;color:#aec0aa;border-radius:5px;font-size:12px}.creator-options nav button[aria-selected=true]{border-color:#b39c6666;background:#8a936d22;color:#ebd39a}.creator-options fieldset{padding:0;border:0;margin:0 0 24px}.creator-options legend,.height-control>span{font-size:12px;color:#e5d7ae;margin-bottom:11px}.creator-choices{display:flex;flex-wrap:wrap;gap:7px}.creator-choices button{padding:9px 14px;border:1px solid #71896a60;border-radius:5px;background:#132d25;color:#aebfa9;font-size:11px;min-height:35px}.creator-choices button[aria-pressed=true]{border-color:#debd77;background:#5a695038;color:#f4dda4;box-shadow:inset 0 0 0 1px #d6b67320}.creator-swatches{display:flex;flex-wrap:wrap;gap:9px}.creator-swatches button{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;border:2px solid #143228;background:var(--swatch);box-shadow:0 0 0 1px #9ea68b44}.creator-swatches button[aria-pressed=true]{box-shadow:0 0 0 2px #efcc85}.creator-swatches span{color:#fff;text-shadow:0 1px 3px #000;font-size:15px}.height-control{display:grid;grid-template-columns:1fr auto;gap:6px;margin:0 0 24px}.height-control output{font-size:11px;color:#bbcaab}.height-control input{width:100%;grid-column:1 / 3;accent-color:#cfb274}.creator-note{font-size:11px;line-height:1.8;color:#a4b9a5}.creator-dialog footer{border-top:1px solid #b6a06c38;padding:18px 28px 22px}.creator-footer-buttons{display:flex;gap:10px}.creator-footer-buttons button{font-size:12px;padding:11px 17px;min-height:40px}.creator-footer-buttons .primary-button{margin-left:auto;width:auto}.creator-dialog button:disabled{opacity:.45}#creator-message{font-size:11px;line-height:1.6;color:#bcc9ae;margin:0 0 13px;min-height:18px}.creator-dialog button:focus-visible,.creator-dialog input:focus-visible,.creator-dialog select:focus-visible{outline:2px solid #f8d58a;outline-offset:3px}@media(max-width:700px)and (orientation:portrait),(max-width:700px)and (max-width:559px),(max-width:700px)and (min-height:501px),(max-width:700px)and (pointer:fine),(max-width:700px)and (pointer:none){.creator-dialog{max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.creator-dialog header{padding:15px 18px}.creator-dialog h2{font-size:24px}.creator-layout{grid-template-columns:1fr;min-height:0}.creator-stage{padding:4px 12px 15px}.creator-halo{top:218px;width:150px;height:30px}#creator-portrait{width:215px;height:258px}.creator-name{font-size:20px;margin:0 0 8px}.creator-stage-note{display:none}.creator-options{padding:17px 18px;border-left:0;border-top:1px solid #b6a06c38}.creator-options nav{position:sticky;top:0;background:#183028;z-index:2}.creator-dialog footer{padding:15px 18px}.creator-footer-buttons{flex-wrap:wrap}.creator-footer-buttons button{padding:10px;font-size:11px}.creator-footer-buttons .primary-button{flex:1}.creator-options fieldset{margin-bottom:18px}}@media(max-height:600px)and (min-width:701px),(pointer:coarse)and (max-height:600px)and (min-width:560px)and (max-width:700px)and (orientation:landscape)and (max-height:500px){.creator-dialog{max-height:calc(100dvh - 16px)}.creator-dialog header{padding:10px 20px}.creator-dialog h2{font-size:21px}.creator-dialog .eyebrow{display:none}.creator-layout{grid-template-columns:34% 66%;min-height:0}.creator-stage{padding-top:0}#creator-portrait{width:205px;height:246px}.creator-halo{top:202px;width:135px}.creator-options{padding:15px 22px}.creator-stage-note{display:none}.creator-dialog footer{padding:12px 20px}}.creator-face{display:block;width:176px;height:176px;margin:0 auto 22px;border:1px solid #b6a06c55;border-radius:50%;background:radial-gradient(circle at 50% 45%,#a1a37840,#10241e 75%);image-rendering:pixelated}#villager-dialog{padding:0;width:min(780px,calc(100vw - 32px));max-height:calc(100dvh - 32px);border:1px solid #cfaa6766;border-radius:18px;color:#f4e8cf;overflow:auto;background:linear-gradient(180deg,#46342599 0,#2b2017f7 90px),repeating-linear-gradient(92deg,#ffffff05 0 1px,transparent 1px 7px),linear-gradient(180deg,#2c2118,#1f1812);box-shadow:0 22px 100px #0009,inset 0 1px #ffefcf1a}#villager-dialog[open]{display:grid;grid-template-columns:220px 1fr}#villager-dialog::backdrop{background:#0b0805a8;backdrop-filter:blur(3px)}.villager-art{display:flex;flex-direction:column;justify-content:center;align-items:center;overflow:hidden;background:radial-gradient(ellipse at 50% 40%,#e3c27e33,transparent 70%),linear-gradient(160deg,#4b3a2a,#2e2219 60%,#1f1711);border-right:1px solid #d6b06c40}.villager-art canvas{width:360px;height:432px;max-width:none;flex:none;object-fit:contain;filter:drop-shadow(0 8px 16px #0a060380)}.villager-art canvas.painted{filter:none;border-radius:14px;border:2px solid #d6b06c8c;box-shadow:0 10px 24px #0a060399,inset 0 0 0 1px #00000040}.villager-art span{font:italic 14px Georgia,serif;color:#dcc89e;text-align:center;margin-top:12px}.villager-conversation{padding:26px 28px 20px;min-width:0;display:flex;flex-direction:column}.villager-conversation header{position:sticky;top:0;z-index:1;display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:12px;border-bottom:1px solid #c9a4634d;background:linear-gradient(#33261bfa,#2c2118f0)}.villager-conversation h2{font: 34px Marcellus,Georgia,serif;margin:4px 0 0;color:#f8ecd2}.villager-conversation .eyebrow{margin:0;color:#d6b06c;font-size:10px;letter-spacing:.2em;text-transform:uppercase}.villager-conversation .close{color:#e8d9b8}#villager-log{display:grid;gap:6px;margin:6px 0 0;max-height:176px;overflow:auto;padding:14px 4px 0 0;-webkit-mask-image:linear-gradient(transparent 0,#000 16px);mask-image:linear-gradient(transparent 0,#000 16px)}.villager-line{margin:0;max-width:86%;padding:7px 11px;border-radius:12px;font:13.5px/1.5 Georgia,serif}.villager-line b{display:block;font:600 9.5px DM Sans,system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase;opacity:.7;margin-bottom:2px}.villager-line.villager{justify-self:start;background:linear-gradient(#f2e5c6,#e6d4ad);color:#3a2a1a;border-bottom-left-radius:4px}.villager-line.resident{justify-self:end;background:#00000040;border:1px solid #d6b06c33;color:#efe2c2;border-bottom-right-radius:4px}.villager-line.pending{opacity:.6}#villager-words{font:17.5px/1.7 Georgia,serif;margin:16px 0 18px;min-height:70px;color:#3a2a1a;padding:14px 18px;border-radius:12px;white-space:pre-wrap;background:linear-gradient(180deg,#f5eacf,#ead9b2);box-shadow:0 8px 22px #0006,inset 0 0 0 1px #fff8}#villager-services{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}.villager-service{display:inline-flex;align-items:center;gap:7px;padding:7px 12px 7px 9px;border-radius:999px;border:1px solid #d6b06c55;background:linear-gradient(#3d2e21,#2c2118);color:#f1e1bd;font:12.5px DM Sans,system-ui,sans-serif;cursor:pointer}.villager-service svg{width:18px;height:18px;color:#e2c27e}.villager-service:hover,.villager-service:focus-visible{border-color:#e8c88aaa;background:linear-gradient(#4a3828,#33261b);outline:2px solid #d8bd7a50;outline-offset:2px}#villager-choices{display:grid;gap:7px}.villager-choice{display:flex;justify-content:space-between;align-items:center;gap:16px;width:100%;padding:11px 14px;border:1px solid #d6b06c33;border-radius:9px;background:#00000026;color:#efe2c2;text-align:left;font-family:inherit;font-size:14px;line-height:1.4;cursor:pointer}.villager-choice:hover,.villager-choice:focus-visible{background:#d6b06c1a;border-color:#d8bd7a9c;outline:2px solid #d8bd7a50;outline-offset:2px}.villager-choice:disabled{opacity:.5;cursor:wait}.villager-choice>span:last-child{color:#d6b06c;font-size:20px}#villager-say-form{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:14px}#villager-say-form[hidden],#villager-mode[hidden]{display:none}#villager-say{min-width:0;padding:11px 13px;border-radius:9px;border:1px solid #c9a46380;background:#140f0b;color:#f6e8c8;font:14px DM Sans,system-ui,sans-serif}#villager-say::placeholder{color:#8f8168}#villager-say:focus-visible{outline:2px solid #f0d597;outline-offset:2px}.villager-send{padding:0 18px;border-radius:9px;border:1px solid #f6dfac;background:linear-gradient(#e9cb8c,#cfa762);color:#2a1d10;font:600 14px DM Sans,system-ui,sans-serif;cursor:pointer;box-shadow:0 2px #7a5b2b}.villager-send:disabled,#villager-say:disabled{opacity:.55;cursor:wait}#villager-memory{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;padding:8px 11px;border-radius:9px;border:1px dashed #d6b06c40;font-size:11.5px;line-height:1.5;color:#d9c9a4}#villager-memory[hidden]{display:none}#villager-forget{flex:none;padding:2px 4px;color:#e9cd94;font-size:11.5px}.villager-conversation footer{margin-top:16px;padding-top:12px;border-top:1px solid #d8bd7a24;display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px 12px}#villager-note{grid-column:1/-1;font-size:11px;line-height:1.5;color:#cdbd9e;min-height:17px}#villager-mode{font-size:10.5px;letter-spacing:.04em;color:#a99a7d;cursor:help}#villager-mode[data-mode=provider]{color:#b9d8a0}#villager-goodbye{justify-self:end;padding:6px 0;color:#e2cfa4}#villager-goodbye kbd{margin-left:8px;font-size:10px;opacity:.6}.journal-person{display:grid;grid-template-columns:82px 1fr;gap:14px;padding:16px 0;border-bottom:1px solid #d8bd7a26}.journal-person canvas{width:82px;height:110px;object-fit:contain;background:radial-gradient(ellipse,#7d936d40,transparent 70%)}.journal-person h3{margin:4px 0;font:22px Georgia,serif}.journal-person p{margin:6px 0;font-size:13px;line-height:1.6;color:#bfc8b5}.journal-person small{display:block;margin:5px 0;color:#d5bb82;font-size:11px;line-height:1.55}@media(max-width:600px){#villager-dialog[open]{grid-template-columns:90px 1fr;width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.villager-art{padding:16px 2px;justify-content:flex-start}.villager-art canvas{width:170px;height:204px;margin-top:8px}.villager-art span{font-size:11px;line-height:1.5;padding:0 5px}.villager-conversation{padding:18px 14px}.villager-conversation h2{font-size:28px}#villager-words{font-size:15px;margin:12px 0;padding:11px 13px}.villager-choice{font-size:13px;padding:10px}.villager-conversation footer{margin-top:12px}#villager-log{max-height:120px}#villager-say{font-size:16px}.villager-service span{display:none}.villager-service{padding:8px}.villager-conversation footer{grid-template-columns:1fr}#villager-goodbye{justify-self:start}}@media(max-height:500px){#villager-dialog{max-height:calc(100dvh - 16px)}.villager-art canvas{width:240px;height:288px;max-height:240px}.villager-conversation{padding:14px 22px}#villager-words{min-height:0;margin:10px 0;font-size:15px;padding:10px 13px}.villager-conversation h2{font-size:26px}.villager-art{justify-content:flex-start}#villager-choices{gap:6px;order:4}#villager-log{display:none}.villager-conversation header{padding-bottom:6px}#villager-words{order:1}#villager-say-form{order:2;margin:0 0 10px}#villager-services{order:3}#villager-memory{order:5}.villager-conversation footer{order:6}}:root{font-family:DM Sans,system-ui,sans-serif;color:#f8efd9;font-synthesis:none;--glass:rgba(23,43,39,.89);--line:rgba(240,218,171,.2);--gold:#e5c487}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#193e40}button,a,select,input{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid #f2d596;outline-offset:4px}button{color:inherit}button:disabled{opacity:.55}button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}[hidden]{display:none!important}#world{display:block;width:100%;height:100%;touch-action:none;outline:none;image-rendering:auto}#world:focus-visible{outline:none}.topbar{position:absolute;top:28px;left:32px;right:32px;display:flex;justify-content:space-between;align-items:start;pointer-events:none}.brand{display:flex;gap:12px;align-items:center;color:#fff4d8;text-decoration:none;pointer-events:auto;text-shadow:0 2px 14px #183b3b;font-family:Marcellus,Georgia,serif;font-size:30px;letter-spacing:1px}.brand-mark{border:1px solid rgba(245,223,178,.6);border-radius:4px;width:44px;height:48px;display:grid;place-items:center;background:#173936b8;box-shadow:inset 0 0 0 4px #cbb87d17;font-size:29px}.brand small{display:block;font:500 9px DM Sans,sans-serif;letter-spacing:2.6px;margin-top:3px;color:#f1e6d0}.world-status{display:flex;align-items:center;gap:11px;background:var(--glass);border:1px solid var(--line);padding:12px 18px;border-radius:8px;box-shadow:0 8px 32px #102b2820}.world-status>span{font-size:26px;color:var(--gold)}.world-status strong{font-size:14px;font-weight:500;display:block}.world-status div>span{display:block;font-size:11px;color:#d2d8c9;margin-top:3px}.tools{position:absolute;right:28px;top:130px;display:flex;flex-direction:column;gap:9px}.tools button{background:var(--glass);border:1px solid var(--line);border-radius:9px;width:54px;height:54px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;box-shadow:0 4px 15px #16332c19;transition:background .16s,transform .16s}.tools button:hover{background:#365549;transform:translate(-2px)}.tools button span{font-size:9px;letter-spacing:.25px}.compass{position:absolute;left:34px;top:125px;display:flex;flex-direction:column;align-items:center;text-shadow:0 2px 8px #172b26;pointer-events:none}.compass>span{font-size:11px;letter-spacing:1px;color:#ffebbf}.compass>div{font-size:29px;line-height:1.2;color:#f7e1b4}.compass small{font-size:11px;margin-top:6px}.welcome{position:absolute;left:32px;bottom:105px;width:285px;background:linear-gradient(145deg,#193c38f2,#203f37ec);border:1px solid #e8d4a537;border-radius:12px;padding:26px 27px;box-shadow:0 20px 60px #081d2340;transition:opacity .5s,transform .5s}.welcome.dismissed{opacity:0;pointer-events:none;transform:translateY(15px)}.eyebrow{font-size:9px;letter-spacing:2.3px;color:#d9c08a;font-weight:500;margin:0 0 10px}.welcome h1{font-family:Marcellus,Georgia,serif;font-size:38px;font-weight:400;margin:0 0 13px}.welcome>p:not(.eyebrow){font-size:13px;line-height:1.8;color:#d5ddce;margin:0 0 23px}.welcome button{width:100%;border:1px solid #ecd09a80;background:#dfc286;color:#263b30;border-radius:5px;padding:11px 14px;font-size:13px;font-weight:600;display:flex;align-items:center;justify-content:space-between}.welcome button:hover{background:#f0d6a0}#place-name{position:absolute;left:50%;top:29%;transform:translate(-50%,-10px);text-align:center;pointer-events:none;opacity:0;transition:opacity .8s,transform .8s;text-shadow:0 2px 18px #102725}#place-name.visible{opacity:1;transform:translate(-50%)}#place-name small{display:block;font-size:10px;letter-spacing:4px;margin-bottom:9px;color:#f2d8a1}#place-name span{font:34px Marcellus,Georgia,serif}.panel{position:absolute;right:96px;top:130px;width:310px;max-height:calc(100dvh - 210px);overflow:auto;background:var(--glass);border:1px solid #e8d4a53d;backdrop-filter:blur(14px);border-radius:12px;box-shadow:0 20px 80px #0d25254d;padding:22px}.panel-heading{display:flex;justify-content:space-between;align-items:start;margin-bottom:18px}.panel-heading h2{font:25px Marcellus,Georgia,serif;margin:0;font-weight:400}.close{border:0;background:transparent;font-size:27px;line-height:24px;padding:0 2px;color:#e2d4b8}.panel-note{font-size:12px;line-height:1.7;color:#ccd5c6}.settings-panel>label{display:block;font-size:12px;margin-top:18px;color:#e4dfce}.settings-panel select{display:block;width:100%;background:#2e4a40;color:#fff1d3;border:1px solid #d3c29142;border-radius:5px;padding:9px;margin-top:7px;font-size:13px}.settings-panel .checkbox-label{display:flex;align-items:center;gap:9px}.settings-panel input{accent-color:#d7b678}.help-panel{width:360px}.help-panel dl{font-size:12px;line-height:1.7;margin:0}.help-panel dt{margin-top:14px;color:#f3e6c9}.help-panel dd{margin:2px 0 0;color:#bacbbd}.help-panel kbd{margin-right:4px}.map-panel{width:480px;padding:23px;top:105px}.map-panel canvas{display:block;width:100%;height:auto;border-radius:5px;image-rendering:pixelated}.map-caption{font-size:11px;color:#c3cfbd;margin:15px 0 0;text-align:center}.bottom-left{position:absolute;bottom:26px;left:32px;display:flex;flex-direction:column;gap:7px;pointer-events:none}#connection{display:flex;align-items:center;gap:7px;font-size:11px;text-shadow:0 1px 8px #17362c}.status-dot{width:5px;height:5px;border-radius:50%;background:#cfb271}#connection.online .status-dot{background:#b4d294}.build-label{font-size:8px;letter-spacing:1.8px;color:#d4d8bc99}.controls-hint{position:absolute;bottom:29px;left:50%;transform:translate(-50%);display:flex;gap:20px;background:#16352d87;padding:9px 16px;border:1px solid #d9d1b01c;border-radius:6px;pointer-events:none;white-space:nowrap;font-size:10px;color:#e5e9d5}kbd{font:10px DM Sans,sans-serif;background:#ffffff12;border:1px solid #d3d9be44;padding:2px 5px;border-radius:3px;color:#fff0d1}.pet-action{position:absolute;bottom:98px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:11px;background:#203e32eb;border:1px solid #eed29a69;border-radius:8px;padding:12px 18px;font-size:13px;box-shadow:0 5px 35px #12262030}.pet-action>span:first-child{font-size:25px;color:#edc893}.pet-action:hover{background:#3b5840}#toast{height:fit-content;position:absolute;left:50%;bottom:162px;transform:translate(-50%,10px);opacity:0;transition:.3s;pointer-events:none;background:#183b34ea;border:1px solid var(--line);border-radius:7px;padding:11px 17px;font-size:13px;text-align:center;max-width:90vw}#toast.visible{opacity:1;transform:translate(-50%)}#joystick{display:none;position:absolute;bottom:70px;left:25px;width:105px;height:105px;border:1px solid #ffffff42;background:#16362c50;border-radius:50%;touch-action:none}#joystick-knob{position:absolute;left:32px;top:32px;width:40px;height:40px;border-radius:50%;background:#ede2be66;border:1px solid #fff5d080;pointer-events:none}#loading{position:absolute;inset:0;z-index:20;background:radial-gradient(ellipse at 50% 60%,#325c4d,#152e32 80%);display:flex;align-items:center;justify-content:center;flex-direction:column;transition:opacity .6s}.loading-mark{font:72px Marcellus,Georgia,serif;color:#f2d79d}.loading-mark+span{letter-spacing:7px;font-size:12px;margin-top:12px}#loading p{font-size:12px;color:#b8c7ae;margin-top:27px}.loading-line{width:80px;height:1px;background:#edd5a4;margin-top:12px;animation:breathe 1.3s ease-in-out infinite}#error{position:absolute;inset:0;z-index:30;background:#183c39;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:30px;text-align:center}#error h1{font:32px Georgia,serif}#error p{max-width:450px;line-height:1.7}#error button{padding:12px 25px;border:1px solid #e6d5a9;background:#315342;border-radius:6px}@keyframes breathe{50%{opacity:.3;transform:scaleX(.5)}}@media(max-width:700px)and (orientation:portrait),(max-width:700px)and (max-width:559px),(max-width:700px)and (min-height:501px),(max-width:700px)and (pointer:fine),(max-width:700px)and (pointer:none){.topbar{top:18px;left:18px;right:18px}.brand{font-size:24px;gap:9px}.brand-mark{width:35px;height:40px;font-size:25px}.brand small{font-size:7px;letter-spacing:1.6px}.world-status{padding:9px 10px;gap:7px}.world-status strong{font-size:12px}.world-status div>span{font-size:9px}.world-status>span{font-size:21px}.tools{right:16px;top:100px;gap:8px}.tools button{width:46px;height:46px}.tools button span{font-size:8px}.compass{left:20px;top:100px}.welcome{left:18px;bottom:112px;width:240px;padding:21px}.welcome h1{font-size:32px}.welcome>p:not(.eyebrow){font-size:12px}.panel{right:73px;top:100px;max-width:calc(100vw - 87px);max-height:calc(100dvh - 170px);padding:18px}.map-panel{width:440px}.bottom-left{left:18px;bottom:19px}.controls-hint{display:none}#place-name span{font-size:28px}.pet-action{bottom:72px;left:auto;right:18px;transform:none;padding:10px 13px}.pet-action kbd{display:none}#toast{bottom:135px;width:260px}.help-panel dl{font-size:11px}}@media(pointer:coarse){#joystick{display:block}.controls-hint{display:none}.welcome{bottom:200px}button{min-height:44px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}.camera-orbit{position:absolute;right:28px;bottom:24px;display:flex;gap:7px}.camera-orbit button{width:43px;height:42px;border-radius:8px;border:1px solid var(--line);background:var(--glass);color:#f0d8a7;font-size:29px;line-height:1;touch-action:none;user-select:none}.camera-orbit button:hover,.camera-orbit button:active{background:#365549}.pet-action:disabled{opacity:1;cursor:default;color:#e1d8c0}@media(max-width:700px)and (orientation:portrait),(max-width:700px)and (max-width:559px),(max-width:700px)and (min-height:501px),(max-width:700px)and (pointer:fine),(max-width:700px)and (pointer:none){.camera-orbit{right:18px;bottom:17px}.camera-orbit button{width:43px;height:44px}}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.primary-button,.secondary-button{border-radius:6px;padding:12px 16px;font-weight:600;display:flex;align-items:center;justify-content:space-between;gap:8px}.primary-button{background:#dfc286;border:1px solid #f3d9a6;color:#213a30;width:100%}.primary-button:hover{background:#f0d6a0}.secondary-button{background:#2b493e;border:1px solid var(--line);color:#eadcbe;font-size:12px}.text-button{background:transparent;border:0;color:#e6ca92;padding:10px 0;text-align:left;font-size:12px}#account-screen{position:absolute;inset:0;z-index:25;overflow:auto;display:grid;grid-template-columns:1fr 440px;align-items:center;gap:6vw;padding:5vh 8vw;background:#183d37}.account-landscape{position:fixed;inset:0;background:linear-gradient(90deg,#0f282cdf,#112d2aa6 55%,#17332af0),url(/art/bramlune-arrival-v2.png) center/cover;filter:saturate(.8);pointer-events:none}.account-story,.account-card{position:relative}.account-story{align-self:center;max-width:640px}.account-logo{width:min(560px,100%);height:auto;filter:drop-shadow(0 6px 9px #03150ea0);margin:0 0 34px}.account-story .eyebrow{font-size:10px;letter-spacing:3px}.account-story h1{font:clamp(38px,4.4vw,66px)/1.12 "Marcellus",Georgia,serif;font-weight:400;letter-spacing:-1px;margin:16px 0 23px}.account-story>p:not(.eyebrow){color:#c4d3c2;line-height:1.9;font-size:15px}.early-note{display:block;font-size:9px;letter-spacing:2.5px;color:#b3b89a;margin-top:40px}.account-card{background:linear-gradient(145deg,#223e36f5,#162e29f8);border:1px solid #d9c39145;border-radius:14px;padding:30px;box-shadow:0 25px 100px #07181755}.account-tabs{display:flex;gap:20px;margin-bottom:26px;border-bottom:1px solid var(--line)}.account-tabs button{border:0;border-bottom:2px solid transparent;background:transparent;color:#aebfac;font-size:13px;padding:0 0 13px}.account-tabs button[aria-selected=true]{color:#f1d9a5;border-bottom-color:#e4c58b}.account-card h2{font:27px Marcellus,Georgia,serif;margin:0 0 10px}.account-card p{font-size:12px;line-height:1.7;color:#bbccbc}.account-card label{display:block;font-size:12px;color:#e5d8bb;margin-top:17px}.account-card input:not([type=checkbox]){width:100%;display:block;border:1px solid #e6d19c35;border-radius:5px;padding:12px;background:#102c26b3;color:#f6ecd4;font-size:14px;margin-top:7px}.account-card input::placeholder{color:#94a795;font-size:12px}.account-card input:focus{outline:1px solid #cba967;outline-offset:0}.account-card .account-fine{font-size:10px;line-height:1.7;color:#9faf9f;margin:19px 0 0}.privacy-details{font-size:10px;color:#b3c3af;margin-top:12px;line-height:1.6}.privacy-details summary{cursor:pointer}.privacy-details p{font-size:10px}#account-error{color:#ffbdb0;min-height:18px;margin:10px 0}#recovery-code{display:block;padding:17px 12px;margin:22px 0 14px;background:#0e251f;border:1px solid var(--line);border-radius:5px;font-size:16px;line-height:1.7;overflow-wrap:anywhere;color:#f7dba0;user-select:all}.account-card .save-check{display:flex;gap:9px;align-items:flex-start;line-height:1.6;margin:25px 0}#saved-key{accent-color:#dfc286}.brand{margin-top:-9px}.brand .brand-logo{width:185px;height:74px;object-fit:contain;filter:drop-shadow(0 3px 5px #0d251daa)}.brand small{display:none}.topbar{top:19px}.compass{top:150px}#community-hud{position:absolute;inset:0;pointer-events:none}#community-hud button,#community-hud input,#community-hud select,#community-hud section,#community-hud nav{pointer-events:auto}.character-toggle{position:absolute;top:102px;left:32px;border:0;background:#163a2eb3;border-radius:5px;padding:7px 11px;display:flex;gap:8px;align-items:center;font-size:12px}.character-toggle small{font-size:9px;color:#b0c3ab}.character-dot{width:6px;height:6px;border-radius:50%;background:#b9ce89}#account-panel{left:32px;right:auto;top:150px;z-index:7}#character-email{font-size:12px;overflow-wrap:anywhere}#account-panel .secondary-button{width:100%;margin-top:10px}#chat-panel{position:absolute;left:28px;bottom:85px;width:300px;border:1px solid #dbc79630;border-radius:9px;background:linear-gradient(145deg,#162f29e8,#152e29c9);overflow:hidden;box-shadow:0 8px 30px #15241c20}#chat-header{width:100%;background:transparent;border:0;border-bottom:1px solid #dcca9630;display:flex;align-items:center;flex-wrap:wrap;text-align:left;padding:10px 12px;gap:6px;font-size:11px}#chat-header span{flex:1;font-weight:600}#chat-header i{display:inline-block;width:5px;height:5px;background:#b6c789;border-radius:50%;margin-right:5px}#chat-header small{font-size:9px;color:#a9bba6}#chat-header b{font-size:15px;font-weight:400}#chat-log{height:127px;overflow:auto;overscroll-behavior:contain;padding:9px 12px;scrollbar-width:thin;scrollbar-color:#5c6b4e transparent}.chat-note{font-size:10px;color:#a6b8a2;line-height:1.6;margin:0}.chat-message{font-size:11px;line-height:1.55;margin:0 0 8px;color:#e5e6d4;overflow-wrap:anywhere}.chat-name{padding:0;border:0;background:transparent;color:#d6bc83;font-size:11px;font-weight:600}.chat-name:hover{text-decoration:underline}#chat-form{display:flex;border-top:1px solid #cdb88926}#chat-input{min-width:0;width:100%;background:#112c2259;border:0;color:#e8e4d0;font-size:11px;padding:11px;outline-offset:-2px}#chat-input::placeholder{color:#a8b79e}#chat-form>button{border:0;background:#36533d86;width:37px;font-size:21px;color:#e2ca93}#action-bar{position:absolute;bottom:19px;left:50%;transform:translate(-50%);display:flex;gap:5px;padding:6px;background:#18382ff0;border:1px solid #d6b97956;border-radius:10px;box-shadow:0 6px 25px #06191066}#action-bar button{position:relative;width:60px;height:58px;border:1px solid #bfa9724a;border-radius:5px;background:linear-gradient(#395345,#213c30);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;padding:5px}#action-bar button:hover,#action-bar button.active{background:#5d6747;border-color:#ead299}#action-bar button kbd{position:absolute;left:3px;top:2px;font-size:8px;background:none;border:0;padding:0;color:#d5c395}#action-bar button svg{width:26px;height:26px;color:#e6c990}#action-bar button>span{font-size:8px;max-width:54px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#dbddc7}#action-bar button>b{position:absolute;right:4px;top:3px;font-size:9px;font-weight:500;color:#eedab3}#action-bar button:disabled{opacity:.45}.bag-toggle{position:absolute;left:calc(50% + 213px);bottom:26px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:57px;height:59px;background:#17372ce8;border:1px solid #d6b97956;border-radius:7px}.bag-toggle span{font-size:9px}.bag-toggle kbd{position:absolute;right:3px;top:2px;font-size:7px;border:0;background:transparent;padding:0}#inventory-panel{width:340px;top:auto;bottom:100px;right:95px;z-index:6;max-height:calc(100dvh - 125px)}#inventory-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.inventory-item{position:relative;background:#2a4638;border:1px solid var(--line);border-radius:5px;min-height:74px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:8px;color:#e8cc91}.inventory-item.selected{border-color:#dfc387;background:#48563a}.inventory-item svg{width:27px;height:27px}.inventory-item span{font-size:9px}.inventory-item b{position:absolute;right:5px;top:3px;font-size:10px}#item-detail h3{font-family:Marcellus,serif;font-weight:400;font-size:20px;margin:20px 0 8px}#item-detail p{font-size:12px;line-height:1.6;color:#bcc9b2}.hotbar-assign{font-size:11px;margin-top:20px;display:block}.hotbar-assign select{width:100%;margin-top:7px;padding:9px;background:#2b483b;color:#e5d0a2;border:1px solid var(--line);border-radius:4px}.bar-customize{margin-top:16px;font-size:11px;color:#ceb883}.bar-customize summary{cursor:pointer}#action-choices{display:flex;flex-wrap:wrap;gap:5px 16px}#stamina{position:absolute;bottom:106px;left:50%;transform:translate(-50%);width:240px;background:#193a2de8;border:1px solid var(--line);border-radius:5px;padding:8px 10px}#stamina>div{display:flex;justify-content:space-between;font-size:10px;color:#d0e1c8}#stamina strong{font-weight:500}#stamina progress{width:100%;height:5px;display:block;margin-top:6px;appearance:none;border:0;border-radius:2px;background:#385244}#stamina progress::-webkit-progress-bar{background:#385244;border-radius:2px}#stamina progress::-webkit-progress-value{background:#a4cfa7;border-radius:2px}#stamina.exhausted progress::-webkit-progress-value{background:#dc946f}#stamina.exhausted #stamina-label{color:#f0b393}#context-action{bottom:110px;white-space:nowrap;z-index:3}#stamina:not([hidden])~#context-action{bottom:168px}#toast{bottom:179px;z-index:8}.controls-hint{display:none}.welcome{bottom:335px;left:28px;padding:21px 24px;width:280px}.welcome h1{font-size:32px}.welcome>p:not(.eyebrow){margin-bottom:16px}.bottom-left{bottom:22px;left:28px}.panel{z-index:5}.camera-orbit{bottom:26px}.build-label{font-size:7px}@media(max-width:1100px){#account-screen{padding:5vh 5vw;gap:4vw;grid-template-columns:1fr 395px}.account-card{padding:25px}.account-logo{margin-bottom:20px}.account-story h1{font-size:42px}#chat-panel,.welcome{width:265px}.bottom-left{max-width:220px}#connection{font-size:9px}.bag-toggle{left:calc(50% + 197px);width:48px}#action-bar button{width:55px}}@media(max-width:700px)and (orientation:portrait),(max-width:700px)and (max-width:559px),(max-width:700px)and (min-height:501px),(max-width:700px)and (pointer:fine),(max-width:700px)and (pointer:none){#account-screen{display:flex;flex-direction:column;padding:25px 18px;gap:12px;justify-content:flex-start}.account-story{width:100%;text-align:center}.account-logo{width:260px;max-width:90%;margin:0}.account-story h1,.account-story>p:not(.eyebrow),.early-note{display:none}.account-story .eyebrow{font-size:8px;letter-spacing:1.8px;margin:12px 0 7px}.account-card{width:100%;max-width:420px;padding:22px}.account-card h2{font-size:25px}.account-tabs{margin-bottom:20px}.account-card input:not([type=checkbox]){font-size:16px;padding:11px}.account-card label{margin-top:13px}.account-card .account-fine{font-size:10px}.brand .brand-logo{width:137px;height:58px}.topbar{left:15px;right:15px;top:15px}.world-status{margin-top:1px;max-width:180px}.world-status strong{font-size:10px}.world-status div>span{font-size:8px}.character-toggle{top:76px;left:18px;padding:6px 8px;font-size:10px;min-height:30px}.character-toggle small{display:none}.compass{top:120px;left:23px}.tools{top:120px}.tools button{width:42px;height:44px}.tools button span{font-size:8px}#chat-panel{left:18px;bottom:210px;width:245px;max-width:calc(100vw - 94px)}#chat-log{height:110px}#chat-header{min-height:35px;padding:7px 10px}#chat-header small{display:none}#chat-input{font-size:16px;padding:8px;width:calc(100% - 36px)}#chat-input::placeholder{font-size:11px}#action-bar{bottom:13px;padding:4px;gap:3px;border-radius:7px}#action-bar button{width:43px;height:49px;min-height:49px;padding:4px}#action-bar button>span{font-size:7px;max-width:39px}#action-bar button svg{width:22px;height:22px}#action-bar button kbd{font-size:7px}#action-bar button>b{font-size:8px}.bag-toggle{left:auto;right:18px;bottom:130px;width:47px;height:48px;min-height:48px}.bag-toggle span{font-size:8px}.bag-toggle kbd{display:none}.camera-orbit{right:18px;bottom:75px;gap:5px}.camera-orbit button{width:40px;height:43px}.bottom-left{left:18px;bottom:185px}.build-label{display:none}#connection{font-size:8px}.welcome{left:18px;bottom:260px;width:240px;padding:19px}.welcome h1{font-size:28px}.welcome>p:not(.eyebrow){font-size:11px;line-height:1.6;margin-bottom:12px}.welcome button{font-size:11px;min-height:40px}#context-action{bottom:78px;right:115px;left:auto;transform:none;padding:7px 10px;max-width:calc(100vw - 135px);white-space:normal;font-size:11px;gap:6px;min-height:43px}#context-action>span:first-child{font-size:16px}#stamina{bottom:136px;left:auto;right:80px;transform:none;width:172px;padding:7px 9px}#stamina:not([hidden])~#context-action{bottom:78px}#joystick{left:18px;bottom:73px;width:99px;height:99px}#joystick-knob{left:29px;top:29px}.pet-action kbd{display:none}#toast{bottom:265px;width:260px;font-size:12px}.panel,#inventory-panel,#account-panel{inset:115px 18px auto;width:auto;max-width:none;max-height:calc(100dvh - 190px);z-index:10}.settings-panel,.help-panel{right:73px}.account-card .secondary-button{min-height:42px}}@media(max-height:700px)and (min-width:701px),(pointer:coarse)and (max-height:700px)and (min-width:560px)and (max-width:700px)and (orientation:landscape)and (max-height:500px){.welcome{bottom:300px;padding:17px 22px}.welcome h1{font-size:27px}.welcome>p:not(.eyebrow){font-size:11px;margin-bottom:10px}.account-logo{width:380px}.account-story h1{font-size:43px}.account-card{padding:20px 25px}.account-card label{margin-top:11px}.account-tabs{margin-bottom:18px}}@media(pointer:coarse)and (max-height:600px)and (min-width:701px),(pointer:coarse)and (max-height:600px)and (min-width:560px)and (max-width:700px)and (orientation:landscape)and (max-height:500px){.welcome{display:none}.tools{top:91px;right:20px;flex-direction:row;gap:6px}.tools button{width:42px;height:43px;min-height:43px}.tools button span{font-size:8px}.compass{top:142px;left:42px}.character-toggle{top:94px}.world-status{padding:9px 13px}#chat-panel{left:150px;bottom:105px;width:245px}#chat-log{height:100px}#chat-input{font-size:16px;padding:8px}#chat-input::placeholder{font-size:10px}#chat-header small{display:none}#chat-header{min-height:36px;padding:8px 10px}#joystick{left:27px;bottom:37px;width:99px;height:99px}#joystick-knob{left:29px;top:29px}.bottom-left{left:28px;bottom:10px}.build-label{display:none}.camera-orbit{right:20px;bottom:22px}#context-action{bottom:106px;left:auto;right:112px;transform:none;max-width:270px;padding:8px 11px;font-size:11px}#stamina{bottom:166px;left:auto;right:160px;transform:none;width:210px}#stamina:not([hidden])~#context-action{bottom:106px}.panel,#inventory-panel,#account-panel{top:86px;bottom:auto;max-height:calc(100dvh - 108px);z-index:10}.panel{right:96px}#account-panel{left:30px;right:auto}#toast{bottom:185px}}@media(min-width:701px)and (min-height:601px){body:not(.doing-activity):has(#stamina:not([hidden])~#context-action:not([hidden])) #toast{bottom:236px}}#emote-menu{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:6px;border-top:1px solid #cdb88926;background:#122823e6}#emote-menu[hidden]{display:none}#emote-menu button{min-height:32px;border:1px solid #cdb88940;border-radius:5px;background:#1d3a32;color:#e9dcb8;font-size:12px;padding:4px 2px}#emote-menu button:hover,#emote-menu button:focus-visible{background:#2f5546;border-color:#e2ca93}#chat-form>#emote-toggle{font-size:18px;background:#2c4636}#chat-form>#emote-toggle[aria-expanded=true]{background:#4b6b4f}@media(pointer:coarse){#emote-menu button{min-height:44px}#chat-form>#emote-toggle{min-width:44px}}.minimap{position:absolute;right:28px;top:100px;width:190px;padding:5px;background:linear-gradient(145deg,#294637f2,#18372ff5);border:1px solid #d4ba7c90;border-radius:11px;box-shadow:0 8px 28px #10271d40;overflow:hidden;z-index:2}.minimap:hover{border-color:#f3dba2}.minimap canvas{display:block;width:100%;height:auto;border-radius:6px;image-rendering:pixelated}.minimap-location{display:block;padding:8px 2px 4px;font:13px Marcellus,Georgia,serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#eedcb7}.tools{right:231px;top:100px;gap:7px}.tools button{width:49px;height:49px}.compass{display:none}@media(max-width:700px)and (orientation:portrait),(max-width:700px)and (max-width:559px),(max-width:700px)and (min-height:501px),(max-width:700px)and (pointer:fine),(max-width:700px)and (pointer:none){.minimap{right:16px;top:91px;width:132px;padding:4px;border-radius:8px}.minimap-location{font-size:10px;padding:6px 0 3px}.tools{right:157px;top:91px;gap:5px}.tools button{width:42px;height:44px}.tools button span{font-size:8px}}@media(max-height:600px)and (min-width:701px),(pointer:coarse)and (max-height:600px)and (min-width:560px)and (max-width:700px)and (orientation:landscape)and (max-height:500px){.minimap{right:20px;top:94px;width:116px;padding:4px}.minimap-location{font-size:10px;padding:5px 0 2px}.tools{right:146px;top:94px;flex-direction:row;gap:6px}.tools button{width:42px;height:43px;min-height:43px}.tools button span{font-size:8px}}#minimap-cluster{overflow:visible}#minimap-cluster .minimap-map{display:block;width:100%;padding:0;border:0;background:transparent;border-radius:6px;color:inherit;text-align:center}.minimap-toolbar{display:flex;align-items:center;justify-content:space-between;gap:4px;border-top:1px solid #c9aa6a40;padding:3px 3px 0;min-height:31px}.minimap-toolbar time{font:13px/1.2 DM Sans,sans-serif;font-variant-numeric:tabular-nums;letter-spacing:1px;color:#f0dca6}.minimap-toolbar button{padding:5px;width:31px;height:31px;border:1px solid #c9aa6a66;background:#162c25;border-radius:5px}.minimap-toolbar svg{display:block;width:19px;height:19px;fill:none;stroke:#f0dca6;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}#minimap-post svg{stroke:#ffe7a8;fill:#80623255}#minimap-post[hidden]{display:none}#tracking-menu{position:fixed;z-index:35;right:224px;top:100px;width:218px;box-sizing:border-box;margin:0;padding:12px;background:linear-gradient(135deg,#293831fa,#111f1afa);border:1px solid #b99b5c;border-radius:8px;box-shadow:0 8px 30px #06100a99;color:#efdfbd;max-height:calc(100dvh - 120px);overflow:auto}#tracking-menu[hidden]{display:none}#tracking-menu legend{font:14px Georgia,serif;padding:0 6px}#tracking-menu label{display:flex;align-items:center;gap:9px;min-height:38px;font-size:12px}#tracking-menu input{width:18px;height:18px;accent-color:#d7bc7f}#minimap-cluster button:focus-visible,#tracking-menu input:focus-visible{outline:2px solid #f8dda4;outline-offset:2px}@media(max-width:700px)and (orientation:portrait),(max-width:700px)and (max-width:559px),(max-width:700px)and (min-height:501px),(max-width:700px)and (pointer:fine),(max-width:700px)and (pointer:none){#tracking-menu{top:208px;right:16px;max-height:calc(100dvh - 235px)}}@media(pointer:coarse){.minimap-toolbar{min-height:44px;padding:0}.minimap-toolbar button{width:44px;height:44px;min-width:44px;min-height:44px}#tracking-menu label{min-height:44px}}@media(pointer:coarse)and (max-height:500px)and (min-width:701px),(pointer:coarse)and (max-height:500px)and (min-width:560px)and (max-width:700px)and (orientation:landscape)and (max-height:500px){#minimap-cluster canvas{width:88px;margin:auto}body:has(#player-frame):has(#minimap-cluster) .tools{top:262px}#tracking-menu{top:94px;right:146px;max-height:calc(100dvh - 110px)}}#minimap-cluster:has(#tracking-menu:not([hidden])){z-index:9}#tracking-menu legend{background:#24382f;border-radius:3px}.trade-panel{width:560px;right:510px;top:92px;max-height:calc(100dvh - 120px);z-index:12;padding:18px 18px 14px}.trade-panel .panel-heading{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:12px}.trade-wallet{font-size:13px;padding:6px 10px;border:1px solid #d6b06c3d;border-radius:999px;background:#0000002e}.trade-wallet strong{display:inline-flex;align-items:center;gap:6px;color:#f1d48d;font-weight:600}.trade-neighbor{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:8px 6px;border-radius:9px;background:#00000024;margin-bottom:6px;border:1px solid #d6b06c14}.neighbor-name strong{display:block;font:16px Marcellus,Georgia,serif;color:#f1e1bf;overflow-wrap:anywhere}.neighbor-name small{font-size:11px;color:#b6a684}.trade-neighbor .secondary-button{width:auto;margin:0;min-height:36px;padding:8px 16px}.trade-empty{font-size:12px;line-height:1.7;color:#dcc9a0;border:1px dashed #d6b06c4d;padding:14px;border-radius:8px}.town-requests{margin-top:18px}.town-budget{display:flex;align-items:center;gap:4px;flex-wrap:wrap;font-size:11px;color:#cdbd9e;margin:0 0 8px}.town-location{font-size:11px;color:#e9cd94}.town-request{display:grid;grid-template-columns:46px 1fr auto;gap:12px;align-items:center;padding:8px 0;border-top:1px solid #c9a46322}.town-request .item-slot{width:46px}.town-text strong{display:block;font-size:13px;font-weight:600;color:#eedfbd}.town-text small{display:block;font-size:11px;color:#b6a684;margin-top:3px}.town-text small.enough{color:var(--life-good)}.town-request .secondary-button{width:auto;margin:0;padding:8px 12px;min-height:36px;font-size:11px;gap:4px;justify-content:center}#trade-result{font-size:12px;line-height:1.7;padding:10px 12px;background:#3a2c1fcc;border:1px solid #d6b06c55;border-radius:8px;color:#f2dfb4}.trade-receipt{display:grid;gap:4px;padding:12px 14px;border-radius:10px;border:1px solid #b9dc9a66;background:linear-gradient(#34442a,#26321f);margin-bottom:12px}.trade-receipt strong{color:#e9f5d5;font-size:13px}.trade-receipt small{color:#cfe2bd;font-size:12px;line-height:1.5}.trade-invite{display:flex;align-items:center;gap:14px;padding:14px;border-radius:12px;background:#00000030;border:1px solid #d6b06c33;margin:6px 0 14px}.invite-text strong{display:block;font:19px/1.25 Marcellus,Georgia,serif;color:#f6e6c3}.invite-text small{display:block;margin-top:4px;color:#c8b896;font-size:12px;line-height:1.5}.trade-board{display:grid;grid-template-columns:1fr 22px 1fr;gap:6px;align-items:stretch}.trade-arrow{display:flex;align-items:center;justify-content:center;color:#d6b06c;font-size:18px;opacity:.7}.trade-side{padding:10px;border-radius:11px;background:#00000030;border:1px solid #d6b06c26;min-width:0}.trade-side.theirs{background:#0d1a1630;border-color:#9dbfa933}.trade-side-head{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:10px;row-gap:6px;align-items:center;margin-bottom:9px}.trade-side-head .life-portrait{grid-row:1/3}.trade-who strong{display:block;font:16px Marcellus,Georgia,serif;color:#f6e6c3;overflow-wrap:anywhere}.trade-who small{display:block;font-size:10.5px;color:#b6a684;letter-spacing:.3px}.trade-side-head .life-chip{justify-self:start;font-size:10.5px;padding:3px 8px}.trade-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.trade-slot-wrap{position:relative}.trade-slot-wrap .item-slot{width:100%}.trade-slot-wrap .item-slot.empty .slot-glyph{opacity:.32}.trade-side.theirs .item-slot.empty{cursor:default}.slot-remove{position:absolute;top:-6px;right:-6px;width:22px;height:22px;border-radius:50%;border:1px solid #f0cf8c;background:#3b2b1f;color:#f6e0b0;font-size:14px;line-height:18px;padding:0;opacity:0;transition:opacity .12s}.trade-slot-wrap:hover .slot-remove,.trade-slot-wrap:focus-within .slot-remove{opacity:1}@media(pointer:coarse){.slot-remove{opacity:1;width:26px;height:26px}}.trade-coins{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:9px;padding-top:9px;border-top:1px solid #c9a46326;font-size:13px}.trade-coins small{font-size:10.5px;color:#a99a7d}.coin-entry{display:flex;align-items:center;gap:6px;color:#f1d48d;font-weight:600}.coin-entry input{width:78px;padding:6px 7px;background:#140f0b;color:#f6e0b0;border:1px solid #c9a46370;border-radius:6px;font-size:14px;text-align:right}.trade-picker{margin-top:10px;padding:10px;border-radius:10px;background:#00000026;border:1px solid #d6b06c22}.trade-picker h4{margin:0 0 8px;font:14px Marcellus,Georgia,serif;color:#ecd8ad}.picker-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:5px}.picker-note{font-size:10.5px!important;margin:8px 0 0}.add-items{display:flex;align-items:center;gap:6px;margin-top:6px;padding:6px 0}.trade-summary{margin-top:10px;padding:10px 12px;border-radius:9px;border:1px solid #d6b06c2e;background:#ffffff06}.trade-summary p{margin:0;font-size:12px;line-height:1.6;color:#e9dcbd}.trade-summary p+p{color:#c4b494}.trade-confirmation{font-size:12px;line-height:1.6;color:#d8c9a5;margin:10px 0 8px}.trade-confirmation.attention{color:#ffe0a3;font-weight:600}.trade-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.trade-actions .primary-button{width:auto;flex:1;justify-content:center;min-height:42px}.trade-actions .secondary-button{width:auto;margin:0;min-height:42px;padding:8px 14px}.trade-actions .text-button{padding:8px 4px}@media(max-width:1100px){.trade-panel{right:auto;left:50%;transform:translate(-50%);top:84px;width:min(560px,calc(100vw - 24px))}}@media(max-width:700px)and (orientation:portrait),(max-width:700px)and (max-width:559px),(max-width:700px)and (min-height:501px),(max-width:700px)and (pointer:fine),(max-width:700px)and (pointer:none){.trade-panel{top:72px;left:10px;right:10px;transform:none;width:auto;max-height:calc(100dvh - 92px);padding:14px}.trade-board{grid-template-columns:1fr;gap:8px}.trade-arrow{display:none}.trade-slots,.picker-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.trade-panel button{min-height:40px}.coin-entry input{font-size:16px}.trade-panel .panel-heading h2{font-size:20px}}@media(max-height:600px)and (min-width:701px),(pointer:coarse)and (max-height:600px)and (min-width:560px)and (max-width:700px)and (orientation:landscape)and (max-height:500px){.trade-panel{top:12px;max-height:calc(100dvh - 24px)}.trade-slots{grid-template-columns:repeat(6,minmax(0,1fr))}.trade-board{grid-template-columns:1fr}.trade-arrow{display:none}}.journal-panel{right:298px;top:95px;width:485px;max-height:calc(100dvh - 125px);background:#19392ff5;z-index:11}.journal-tabs{display:flex;flex-wrap:wrap;gap:8px;padding-bottom:16px;border-bottom:1px solid var(--line)}.journal-tabs button{padding:9px 16px;background:#244737;color:#dcd9bb;border:1px solid var(--line);border-radius:5px;font-size:12px}.journal-tabs button[aria-pressed=true]{background:#d9bf88;color:#203b30;border-color:#efd6a0}.journal-count{font-size:12px;color:#e4cb92;margin-top:20px}.journal-entry{display:flex;gap:13px;padding:16px 0;border-bottom:1px solid #e6cf9b26}.journal-check{color:#b7ad84;flex-shrink:0;font-size:22px;margin-top:1px}.journal-entry h3,.recipe h3{font:20px Marcellus,Georgia,serif;margin:0 0 7px;color:#ecddbd}.journal-entry p,.recipe p{font-size:12px;line-height:1.65;color:#bccbbb;margin:0}.journal-entry.complete .journal-check{color:#b8d795}.journal-entry.complete h3{color:#bbceab}.recipe{background:#264333;border:1px solid #caba7e40;border-radius:7px;margin:15px 0;padding:17px}.recipe-station{display:block;font-size:9px;letter-spacing:1.2px;text-transform:uppercase;color:#ccb780;margin-bottom:11px}.recipe-ingredients{display:flex;flex-direction:column;gap:6px;margin:15px 0;font-size:11px;color:#c4d9ad}.recipe-ingredients .missing{color:#d9b196}.recipe .recipe-result{color:#dfc994;font-size:10px;margin-bottom:13px}.recipe button{width:100%;justify-content:center}.recipe .recipe-hint{font-size:10px;margin-top:10px}.recipe:last-child{margin-bottom:0}#activity-status{position:absolute;bottom:311px;left:28px;transform:none;width:300px;padding:12px 14px;border:1px solid #dbc18a77;border-radius:8px;background:#16372ef5;z-index:4;box-shadow:0 8px 25px #0b231b45}#activity-status>div{display:flex;justify-content:space-between;align-items:center;gap:10px}#activity-status strong{font-size:13px;font-weight:500;color:#efd9a8}#activity-cancel{background:none;border:0;font-size:22px;min-height:24px;padding:0 3px;line-height:1}#activity-description{font-size:10px;line-height:1.5;color:#c4d0b9;margin:5px 0 10px}#activity-progress{display:block;appearance:none;width:100%;height:5px;border:0;background:#3a5845;border-radius:3px}#activity-progress::-webkit-progress-bar{background:#3a5845;border-radius:3px}#activity-progress::-webkit-progress-value{background:#c7b57d;border-radius:3px}#activity-status.biting{border-color:#dbdfaa}#activity-status.biting progress::-webkit-progress-value{background:#b8d795}#fish-reel{margin-top:12px;padding:10px;font-size:12px}#fish-reel kbd{color:#294235;border-color:#29423544}.doing-activity #context-action{display:none}@media(max-width:1000px){.journal-panel{right:225px;width:calc(100vw - 250px)}}@media(max-width:700px)and (orientation:portrait),(max-width:700px)and (max-width:559px),(max-width:700px)and (min-height:501px),(max-width:700px)and (pointer:fine),(max-width:700px)and (pointer:none){.journal-panel{left:12px;right:12px;top:75px;width:auto;max-width:none;max-height:calc(100dvh - 95px);padding:17px}.journal-entry h3,.recipe h3{font-size:18px}.journal-entry p,.recipe p{font-size:11px}.journal-tabs button{min-height:42px}.recipe{padding:14px}#activity-status{width:134px;inset:260px 18px auto auto;transform:none;padding:9px}#fish-reel{width:100%;font-size:11px;padding:8px 4px}#fish-reel kbd{display:none}#activity-cancel{min-height:26px}.doing-activity #toast{bottom:320px}}@media(max-height:600px)and (min-width:701px),(pointer:coarse)and (max-height:600px)and (min-width:560px)and (max-width:700px)and (orientation:landscape)and (max-height:500px){.journal-panel{top:20px;left:50%;right:auto;transform:translate(-50%);width:520px;max-width:calc(100vw - 40px);max-height:calc(100dvh - 40px)}#activity-status{inset:150px auto auto 28px;transform:none;width:280px;padding:8px 11px}#activity-status:has(#fish-reel:not([hidden])) #activity-description{display:none}#fish-reel{margin-top:8px;min-height:36px;padding:7px}.doing-activity #toast{bottom:246px}}@media(pointer:coarse)and (max-width:700px)and (orientation:portrait),(pointer:coarse)and (max-width:700px)and (max-width:559px),(pointer:coarse)and (max-width:700px)and (min-height:501px){body:has(#player-frame) #activity-status:has(#fish-reel:not([hidden])){top:auto;bottom:240px}}@media(pointer:coarse)and (max-width:700px)and (min-height:601px)and (max-height:740px)and (orientation:portrait),(pointer:coarse)and (max-width:700px)and (min-height:601px)and (max-height:740px)and (max-width:559px),(pointer:coarse)and (max-width:700px)and (min-height:601px)and (max-height:740px)and (min-height:501px){body:has(#player-frame) #activity-status:has(#fish-reel:not([hidden])){inset:auto 112px 126px 125px;width:auto;padding:8px}body:has(#player-frame) #activity-status:has(#fish-reel:not([hidden])) #activity-description{display:none}body:has(#player-frame) #activity-status:has(#fish-reel:not([hidden])) #fish-reel{margin-top:8px;min-height:44px}body:has(#player-frame):has(#activity-status:not([hidden]) #fish-reel:not([hidden])) #toast{inset:306px auto auto 60px;width:134px;padding:6px 8px;font-size:11px;line-height:14px}}@media(pointer:coarse)and (max-height:600px)and (min-width:701px),(pointer:coarse)and (max-height:600px)and (min-width:560px)and (max-width:700px)and (orientation:landscape)and (max-height:500px){body:has(#player-frame) #activity-status:has(#fish-reel:not([hidden])){inset:auto auto 80px 50%;transform:translate(-50%)}}@media(pointer:coarse)and (max-height:600px)and (min-width:701px),(pointer:coarse)and (max-height:600px)and (min-width:560px)and (max-width:700px)and (orientation:landscape)and (max-height:500px){body:has(#player-frame):has(#activity-status:not([hidden]) #fish-reel:not([hidden])) #toast{top:276px}}.housing-root{--room-ink:#efe5cd;--room-muted:#c1cbb8}.housing-root [hidden]{display:none!important}.housing-root .home-tools{position:absolute;left:24px;top:217px;display:flex;gap:8px;z-index:3}.housing-root button{font:12px DM Sans,sans-serif;color:var(--room-ink);background:#263d32ed;border:1px solid #b6a47866;border-radius:7px;min-height:36px;padding:7px 12px;cursor:pointer}.housing-root button:hover{background:#3b5746}.housing-root button:focus-visible{outline:2px solid #ecd09a;outline-offset:2px}.housing-root button:disabled{opacity:.5;cursor:default}.housing-root .home-panel{position:absolute;left:24px;top:266px;bottom:110px;width:370px;max-width:calc(100vw - 48px);box-sizing:border-box;overflow:auto;padding:18px;color:var(--room-ink);background:#172d25f5;border:1px solid #b6a47877;border-radius:12px;box-shadow:0 16px 60px #071c2066;z-index:24;backdrop-filter:blur(14px)}.housing-root .home-panel.wide{width:570px}.housing-root .home-panel.small{left:50%;transform:translate(-50%);width:300px;top:auto;bottom:180px;max-height:65dvh;z-index:26}.housing-root .panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.housing-root .panel-heading h2{font:23px Marcellus,Georgia,serif;margin:0;color:#f4ddb0}.housing-root .panel-heading .close{min-width:36px;flex:none;padding:4px}.housing-root .panel-note{font-size:12px;line-height:1.5;color:var(--room-muted);margin:12px 0}.housing-root h3{font:12px DM Sans,sans-serif;letter-spacing:1px;text-transform:uppercase;color:#dcc38e;margin:16px 0 8px}.housing-root h3 small{font-size:11px;text-transform:none;letter-spacing:0;color:var(--room-muted)}.housing-root .piece-list,.housing-root .people-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}.housing-root .piece{display:grid;grid-template-columns:76px minmax(0,1fr);gap:10px;align-items:center;padding:8px;border:1px solid transparent;border-radius:8px;background:#ffffff09}.housing-root .piece[aria-selected=true],.housing-root .piece:focus-visible{border-color:#d6bd87;background:#ffffff14;outline:none}.housing-root .piece img{width:76px;height:57px;object-fit:cover;border-radius:6px;background:#10251e}.housing-root .piece strong{display:block;font-size:13px}.housing-root .piece small{display:block;font-size:11px;line-height:1.4;color:var(--room-muted);margin-top:3px}.housing-root .piece-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:7px}.housing-root .piece-actions button{padding:5px 9px}.housing-root .people-list li{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#ffffff09;border-radius:8px;padding:8px;font-size:13px}.housing-root .people-list .empty{color:var(--room-muted);background:none}.housing-root .who{display:flex;align-items:center;gap:7px;min-width:0}.housing-root .who .name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.housing-root .portrait{width:30px;height:30px;border-radius:50%;flex:none}.housing-root .tag{font-size:11px;color:#bbc7ac;font-variant-numeric:tabular-nums;flex:none}.housing-root .search-label{display:flex;flex-direction:column;gap:6px;font-size:12px;margin:12px 0}.housing-root input{min-width:0;max-width:100%;box-sizing:border-box;padding:10px;background:#304b3b;color:#fff1d3;border:1px solid #d3c29155;border-radius:6px;font-size:14px}.housing-root .slot-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:5px}.housing-root .slot{position:relative;aspect-ratio:1;padding:0;min-height:0;background:#0f251cbf;border:1px solid #e8d4a53d}.housing-root .slot.selected{border-color:#f2d596;box-shadow:0 0 0 2px #f2d59666}.housing-root .slot .count{position:absolute;right:3px;bottom:1px;font-size:11px;color:#fff;text-shadow:0 1px 3px #000}.housing-root .slot .item-art,.housing-root .slot svg{position:absolute;inset:4px;width:calc(100% - 8px);height:calc(100% - 8px);pointer-events:none}.housing-root .bag-label{grid-column:1/-1;font-size:11px;color:var(--room-muted);margin:6px 0}.housing-root .placement-bar{position:absolute;left:50%;bottom:115px;transform:translate(-50%);box-sizing:border-box;max-width:calc(100vw - 24px);display:flex;gap:16px;align-items:center;padding:12px;background:#172d25f5;border:1px solid #d6bd8777;border-radius:10px;z-index:24;color:var(--room-ink)}.housing-root .placement-text{display:flex;flex-direction:column;gap:4px;min-width:160px}.housing-root .placement-text strong{font:18px Marcellus,Georgia,serif}.housing-root .placement-text small{font-size:11px;color:var(--room-muted)}#home-placement-verdict.ok{color:#a9e6b2}#home-placement-verdict.no{color:#ffb4a6}.housing-root .placement-buttons{display:flex;gap:7px}.housing-root .placement-buttons button{white-space:nowrap}.housing-root .primary{background:#dfc286;color:#263b30}.housing-root kbd{font-size:9px;padding-left:5px}body:has(.housing-root .home-panel:not([hidden])) #joystick,body:has(#home-placement-bar:not([hidden])) #joystick{visibility:hidden}@media(hover:none),(pointer:coarse){.housing-root button{min-height:44px}.housing-root kbd{display:none}}@media(max-width:700px)and (orientation:portrait),(max-width:700px)and (max-width:559px),(max-width:700px)and (min-height:501px),(max-width:700px)and (pointer:fine),(max-width:700px)and (pointer:none){.housing-root .home-tools{left:12px;top:308px;gap:6px}.housing-root .home-panel,.housing-root .home-panel.wide{inset:210px 12px 98px;width:auto;max-width:none;padding:12px}.housing-root .home-panel.small{inset:auto 12px 120px;transform:none;width:auto}.housing-root .slot-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.housing-root .slot{min-height:44px}.housing-root .placement-bar{left:12px;right:12px;transform:none;bottom:98px;flex-direction:column;align-items:stretch;gap:8px;padding:10px}.housing-root .placement-buttons button{flex:1}}@media(max-height:500px){.housing-root .home-tools{left:238px;top:144px}.housing-root .home-panel,.housing-root .home-panel.wide{inset:12px 12px 90px 220px;width:auto;max-width:none;padding:12px}.housing-root .home-panel.small{inset:40px 12px 100px 240px;transform:none;width:auto}.housing-root .slot-grid{grid-template-columns:repeat(8,minmax(0,1fr))}.housing-root .slot{min-height:44px}.housing-root .placement-bar{left:220px;right:12px;transform:none;bottom:90px;flex-direction:column;gap:6px;padding:8px}.housing-root .placement-text{min-width:0}.housing-root .placement-text small{display:none}}@media(pointer:coarse)and (max-height:500px)and (min-width:701px),(pointer:coarse)and (max-height:500px)and (min-width:560px)and (max-width:700px)and (orientation:landscape)and (max-height:500px){.housing-root .home-tools{top:204px}}.bank-panel{width:420px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 140px);overflow:auto;background:linear-gradient(130deg,#29271d,#142a24);border:1px solid #93865a;color:#e8dfc7}.bank-portrait{width:52px;height:52px;border:1px solid #b7a566;border-radius:50%;flex:none}.bank-panel .panel-heading{gap:10px}.bank-panel .panel-heading>div{flex:1}.bank-panel h2{font-size:24px}.bank-tabs{display:flex;border-bottom:1px solid #817652;margin:0 0 12px}.bank-tabs button{padding:9px 14px;border:0;border-bottom:2px solid #d2b978;background:#24372b;color:#f1dba4;font-family:Georgia,serif}.bank-bag-rack{display:flex;gap:6px;margin:12px 0}.bank-bag-rack button,.bank-vault-cells button{position:relative;padding:0;width:44px;height:44px;background:#18251f;border:1px solid #716345;border-radius:4px;overflow:hidden}.bank-bag-rack button:disabled{opacity:.4}.bank-vault-cells{display:grid;grid-template-columns:repeat(7,44px);gap:5px}.bank-vault-bag h3{font-size:14px;color:#ceb988;margin:12px 0 7px}.bank-panel .item-icon{width:100%;height:100%}.bank-panel .slot-count{position:absolute;bottom:1px;right:3px;font-size:12px;text-shadow:1px 1px #000}.bank-panel footer{margin-top:14px;display:flex;gap:8px;align-items:center;justify-content:space-between}.bank-panel footer strong{white-space:nowrap;color:#efd286}.bank-panel footer button{font-size:12px}.bank-hint{font-size:11px;color:#b4b29a;line-height:1.5}.bank-item-actions{display:flex;align-items:center;gap:8px;margin:12px 0;flex-wrap:wrap}.bank-item-actions strong{flex:1}.bank-vault-grid{max-height:44dvh;overflow:auto}#bank-quantity{background:#1b3029;border:1px solid #b5a16a;border-radius:8px;color:#e9dfbd;max-width:calc(100vw - 30px)}#bank-quantity::backdrop{background:#03120cad}#bank-quantity label{display:flex;gap:12px;align-items:center;margin:18px 0}#bank-quantity input{width:90px}#bank-quantity form>div{display:flex;justify-content:flex-end;gap:10px}#bank-return[hidden]{display:none}@media(max-width:800px),(pointer:coarse){.bank-panel{top:185px;bottom:95px;max-height:calc(100dvh - 280px);width:360px;z-index:610}.bank-bag-rack{gap:4px}.bank-bag-rack button,.bank-vault-cells button{width:39px;height:39px}.bank-vault-cells{grid-template-columns:repeat(7,39px);gap:4px}.bank-panel .panel-heading{gap:6px}.bank-panel h2{font-size:19px}.bank-panel .bank-portrait{width:36px;height:36px}.bank-panel .eyebrow{font-size:8px}.bank-panel .bank-vault-grid{max-height:32dvh}}@media(max-width:950px)and (orientation:landscape){.bank-panel{top:110px;bottom:60px;max-height:calc(100dvh - 170px)}.bank-panel .bank-vault-grid{max-height:none}}@media(max-width:999px){body #bank-panel.panel.bank-panel.panel-window{z-index:calc(var(--panel-layer) + 3)}body.bank-bags-front #inventory-panel.panel.panel-window{z-index:calc(var(--panel-layer) + 4)}}.bank-tabs button[aria-selected=false]{background:transparent;border-bottom-color:transparent;color:#bbb298}.bank-account-balance{padding:12px 0 15px;border-bottom:1px solid #716345}.bank-account-balance strong{display:block;font-size:29px;color:#efd286;font-variant-numeric:tabular-nums}.bank-account-balance span{display:block;color:#b9bfaa;font-size:12px;margin-top:5px}.bank-account-transfer{display:flex;gap:12px;justify-content:space-between;align-items:end;margin:16px 0}.bank-account-transfer label{display:grid;gap:5px;font-size:12px}.bank-account-transfer input{width:110px;padding:7px;background:#14261e;color:#f4e8bf;border:1px solid #97805a;border-radius:4px;font-size:16px}.bank-account-transfer form>div,.bank-account-transfer>div{display:flex;gap:7px}.bank-account-transfer button{padding:8px 12px;font-size:13px}.bank-account-policy{font-size:12px;margin:12px 0}.bank-account-policy>div{display:flex;justify-content:space-between;gap:10px;padding:6px 0;border-bottom:1px solid #93865a33}.bank-account-policy dt{color:#b9bfaa}.bank-account-policy dd{margin:0;text-align:right;color:#edddaa;font-variant-numeric:tabular-nums}.bank-account-history{padding:0;list-style:none;max-height:24dvh;overflow:auto;font-size:11px}.bank-account-history li{display:flex;justify-content:space-between;gap:10px;padding:7px 0;border-bottom:1px solid #93865a33}.bank-account-history time{color:#b9bfaa}.bank-account-history strong{color:#edddaa;white-space:nowrap;font-variant-numeric:tabular-nums}#bank-account-view h3{font-size:15px;color:#ceb988}#bank-account-view[hidden],#bank-vault-view[hidden]{display:none}body #bank-panel.panel-window{scroll-padding-block-start:112px}#merchant-panel{background:linear-gradient(125deg,#252e32,#171f26 74%);border:1px solid #b7a26f;box-shadow:0 12px 40px #0009,inset 0 0 0 4px #dcc38b0c;display:flex;flex-direction:column;padding:18px;color:#efe7d5}#merchant-panel[hidden]{display:none}.merchant-panel .panel-heading{display:flex;gap:12px;align-items:center;flex-shrink:0}.merchant-portrait{width:62px;height:62px;border-radius:50%;border:2px solid #bea774;background:#34403e}.merchant-panel .panel-heading h2{margin:0;font-size:26px}.merchant-panel .close{margin-left:auto}.merchant-tabs{display:flex;gap:8px;border-bottom:1px solid #d8c39833;padding:0 0 10px;margin-bottom:10px}.merchant-tabs button{border:1px solid #bdac7544;background:#1b272c;color:#b8c5be;padding:7px 18px;border-radius:4px}.merchant-tabs button[aria-selected=true]{background:#a1905e22;border-color:#bba46a;color:#f1dfb4}.merchant-goods{overflow:auto;min-height:60px;flex:1;scrollbar-width:thin}.merchant-row{display:grid;grid-template-columns:52px 1fr auto;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid #c2b8961c}.merchant-item{width:52px;height:52px;position:relative;padding:3px;border:1px solid var(--quality-color,#a6a293);background:radial-gradient(circle,#354243,#10181d);border-radius:5px;overflow:hidden}.merchant-item .item-art{display:block;width:100%;height:100%}.merchant-item-name{min-width:0}.merchant-item-name strong{display:block;line-height:1.25;font-size:14px}.merchant-item-name small{display:block;color:#e2c574;margin-top:5px;font-size:12px}.merchant-row-actions{display:flex;gap:5px}.merchant-row-actions button{padding:7px 9px;white-space:nowrap;font-size:12px}.merchant-footer{display:flex;justify-content:space-between;gap:10px;align-items:center;border-top:1px solid #c5b88244;padding-top:12px;margin-top:10px}.merchant-footer strong{color:#e4c678;font-size:14px}.merchant-hint{font-size:11px;color:#b4bdb5;margin:10px 0 0}.merchant-empty{font-size:13px;color:#b9c4bb;padding:24px 6px}.merchant-panel .panel-note{font-size:12px;color:#bcc9bf;margin:8px 0 14px;line-height:1.5}#merchant-quantity{max-width:min(380px,calc(100vw - 32px));background:#202b31;color:#efeadb;border:1px solid #b9a76e;border-radius:8px;padding:24px;z-index:90}#merchant-quantity::backdrop{background:#040c16a0}#merchant-quantity label{display:block;font-size:13px;color:#c7d1c8}#merchant-quantity input{width:100%;margin:7px 0 20px}#merchant-quantity form>div{display:flex;gap:8px;justify-content:flex-end}@media(max-width:700px),(max-height:520px){#merchant-panel{padding:12px}.merchant-portrait{width:45px;height:45px}.merchant-panel .panel-heading h2{font-size:22px}.merchant-row{grid-template-columns:42px 1fr auto;gap:9px}.merchant-item{width:42px;height:42px}.merchant-item-name strong{font-size:12px}.merchant-panel .panel-note{margin:5px 0 8px}.merchant-hint{display:none}.merchant-footer{padding-top:8px}.merchant-tabs{padding-bottom:7px;margin-bottom:3px}}body #merchant-panel.panel-window{height:calc(100dvh - var(--panel-top) - var(--panel-bottom));overflow:hidden}body #merchant-panel.panel-window .panel-heading{background:#252e32}.merchant-companion{font-size:12px;padding:7px 9px}#merchant-return[hidden]{display:none}@media(min-width:1000px){.merchant-companion{display:none}}@media(max-width:999px){body #merchant-panel.panel.merchant-panel.panel-window{z-index:calc(var(--panel-layer) + 3)}body.merchant-bags-front #inventory-panel.panel.panel-window{z-index:calc(var(--panel-layer) + 4)}}body #action-bar{display:grid;grid-template-columns:repeat(12,60px)}body #inventory-toggle{left:calc(50% + 414px)}@media(max-width:1100px){body #action-bar{grid-template-columns:repeat(12,55px)}body #inventory-toggle{left:calc(50% + 384px)}}@media(max-width:1000px)and (pointer:fine){body #action-bar{grid-template-columns:repeat(6,55px)}body #inventory-toggle{left:calc(50% + 204px)}body #context-action{bottom:166px}}@media(pointer:coarse),(max-width:700px){body #action-bar{grid-template-columns:repeat(6,44px);gap:4px;padding:5px;bottom:14px}body #action-bar button{width:44px;height:44px;min-height:44px;padding:3px;gap:1px}body #action-bar button svg{width:22px;height:22px}body #action-bar button>span{max-width:40px;font-size:7px}body #inventory-toggle{left:auto;right:18px;bottom:183px;width:47px;height:48px;min-height:48px}body #joystick{bottom:137px}body .camera-orbit{bottom:125px}body:has(#player-frame) #context-action{bottom:125px}body #chat-panel{bottom:270px}body .bottom-left{bottom:249px}body .welcome{z-index:4}}@media(pointer:coarse)and (max-height:500px)and (min-width:701px),(pointer:coarse)and (max-height:500px)and (min-width:560px)and (max-width:700px)and (orientation:landscape)and (max-height:500px){body #action-bar{grid-template-columns:repeat(12,44px);gap:3px}body #inventory-toggle{left:27px;right:auto;bottom:14px;width:44px;height:44px;min-height:44px}body #joystick{bottom:83px}body .camera-orbit{bottom:14px}body:has(#player-frame):has(#minimap-cluster) #context-action{inset:207px auto auto 150px;max-width:300px;min-height:38px}body #chat-panel{bottom:105px}body .bottom-left{left:150px;bottom:80px}}.character-doll{display:grid;grid-template-columns:48px minmax(100px,1fr) 48px;gap:8px;margin:12px auto;max-width:320px;background:radial-gradient(ellipse,#53624840,transparent 68%)}.character-column{display:flex;flex-direction:column;gap:8px}.character-entry{display:flex;flex-direction:column;align-items:center;gap:3px}.character-entry .item-slot{width:42px;height:42px}.character-entry>span{font:9px system-ui;color:#c7bc9b;white-space:nowrap}.character-preview{display:flex;align-items:center;justify-content:center;min-width:0}.character-preview canvas{width:100%;height:auto;image-rendering:pixelated;filter:drop-shadow(0 12px 8px #06171366)}.carried-belongings{margin:12px 0}.carried-belongings .item-slot{width:42px;height:42px;margin:8px}.wardrobe-count{display:block;margin-top:8px;color:#c7bc9b}#destroy-item-dialog{width:360px;max-width:calc(100vw - 28px);box-sizing:border-box;border:1px solid #bda06a;border-radius:8px;padding:22px;background:#18312b;color:#eadab5;box-shadow:0 18px 80px #0009}#destroy-item-dialog::backdrop{background:#071912a6}#destroy-item-dialog h2{font:23px Georgia;margin:0 0 16px}#destroy-item-dialog p{font-size:12px;line-height:1.6}#destroy-item-dialog form>div{display:flex;gap:10px;margin-top:18px}#destroy-item-dialog button{flex:1;min-height:44px}#destroy-item-dialog [value=destroy]{background:#633e34;color:#ffe5ce}body .destroy-item-button{min-height:44px;color:#f5b8a4;border-color:#bd826c70}:root{--life-ink:#f4e8cf;--life-muted:#cdbd9e;--life-faint:#9d8f76;--life-brass:#d6b06c;--life-brass-line:#c9a4634d;--life-brass-soft:#d6b06c26;--life-wood-1:#3b2c20;--life-wood-2:#2b2017;--life-wood-3:#211912;--life-slot:#140f0b;--life-good:#a9d98f;--life-warn:#ecc074;--life-bad:#ee9a82;--life-paper:#efe2c2;--life-radius:12px;--life-slot-size:48px}.life-window.life-window{color:var(--life-ink);border:1px solid #cfaa6766;border-radius:var(--life-radius);background:linear-gradient(180deg,#46342599 0,#2b2017f7 64px),repeating-linear-gradient(92deg,#ffffff05 0 1px,transparent 1px 7px),linear-gradient(180deg,#2c2118,#1f1812);box-shadow:0 22px 70px #0604038c,inset 0 1px #ffefcf1a,inset 0 0 0 1px #00000038;backdrop-filter:blur(10px)}.life-window .panel-heading{margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid var(--life-brass-line)}.life-window .panel-heading h2{font:24px/1.15 Marcellus,Georgia,serif;color:#f8ecd2}.life-window .eyebrow{color:var(--life-brass);letter-spacing:2.4px;font-size:9px;margin:0 0 6px}.life-window .close{color:#e8d9b8;opacity:.85}.life-window .close:hover{opacity:1;color:#fff3d6}.life-window .panel-note{color:var(--life-muted)}.life-window .secondary-button{background:linear-gradient(#3d2e21,#2c2118);border:1px solid #d6b06c55;color:#f1e1bd;box-shadow:inset 0 1px #ffffff12}.life-window .secondary-button:hover:not(:disabled){border-color:#e8c88aaa;background:linear-gradient(#4a3828,#33261b)}.life-window .primary-button{background:linear-gradient(#e9cb8c,#cfa762);border:1px solid #f6dfac;color:#2a1d10;box-shadow:0 2px #7a5b2b,inset 0 1px #fff3d2aa}.life-window .primary-button:disabled{filter:saturate(.4) brightness(.8);cursor:default}.life-window .text-button{color:#e9cd94}.life-window button:focus-visible,.life-window input:focus-visible,.life-window select:focus-visible{outline:2px solid #f0d597;outline-offset:2px}.life-section-title{font:15px Marcellus,Georgia,serif;color:#ead6aa;margin:14px 0 8px;display:flex;align-items:center;gap:8px}.life-section-title:after{content:"";flex:1;height:1px;background:linear-gradient(90deg,#c9a46355,transparent)}.quality-common{--quality:#ddd5c0}.quality-uncommon{--quality:#80d488}.quality-rare{--quality:#7cbfff}.quality-epic{--quality:#cc98ff}.item-slot{position:relative;aspect-ratio:1;min-width:0;width:100%;padding:3px;border:1px solid #00000099;border-radius:8px;background:radial-gradient(circle at 50% 38%,#33281e,#18120d 72%);box-shadow:inset 0 0 0 1px #ffeccb12,inset 0 3px 7px #000000b5,0 1px #ffffff08;touch-action:manipulation;cursor:pointer;color:inherit}.item-slot:before{content:"";position:absolute;inset:1px;border-radius:7px;border:2px solid var(--quality,transparent);opacity:.82;pointer-events:none}.item-slot.quality-common:before{border-color:#d9d2bd2e}.item-slot.empty:before{border:1px dashed #d8c9a614;inset:6px;border-radius:5px}.item-slot:hover:not(:disabled){filter:brightness(1.16)}.item-slot.selected{outline:2px solid #f3d38f;outline-offset:1px;box-shadow:0 0 14px #f0c66a55,inset 0 3px 7px #000000b5}.item-slot.filtered{opacity:.2}.item-slot.dragging{opacity:.38}.item-slot.locked{filter:grayscale(.5) brightness(.85)}.item-slot.offered:after{content:"";position:absolute;inset:-3px;border-radius:10px;border:1px solid #f0c97a;box-shadow:0 0 10px #f0c97a66;pointer-events:none}.item-slot.changed{animation:life-flash 1.6s ease-out 2}@keyframes life-flash{0%{box-shadow:0 0 0 3px #f6d28d,0 0 22px #f6d28d}to{box-shadow:inset 0 3px 7px #000000b5}}.item-slot .item-art{position:absolute;inset:4px;width:auto;height:auto;border-radius:5px}.item-slot>svg{width:100%;height:100%}.item-slot .slot-glyph{position:absolute;inset:22%;width:56%;height:56%;color:#e9d9b6;opacity:.24;pointer-events:none}.stack-count{position:absolute;right:4px;bottom:2px;color:#fffaf0;font:700 12px/14px DM Sans,system-ui,sans-serif;text-shadow:1px 1px 0 #000,-1px -1px 0 #000,1px -1px 0 #000,-1px 1px 0 #000,0 0 4px #000;pointer-events:none}.drop-target{outline:2px solid #f6e3b4!important;filter:brightness(1.35)}#item-tooltip{position:fixed;z-index:100;width:264px;pointer-events:none;color:var(--life-ink);border:1px solid #c9a463aa;border-radius:8px;padding:12px 13px;background:linear-gradient(180deg,#2c2118fa,#1b1510fa);box-shadow:0 10px 30px #000a,inset 0 1px #ffffff12;font-size:12px}#item-tooltip strong{display:block;color:var(--quality,#f2e8d2);font:15px/1.25 Marcellus,Georgia,serif}#item-tooltip small{display:block;color:var(--life-faint);font-size:10.5px;margin-top:5px;line-height:1.45}#item-tooltip p{font-size:11.5px;line-height:1.5;color:#e2d4b4;margin:8px 0 0}#item-tooltip .tip-hint{color:#a9c39c}#item-tooltip .tip-compare{margin-top:9px;padding-top:8px;border-top:1px solid #c9a46340;color:#d9cba9}#item-tooltip .tip-compare b{color:var(--quality,#f2e8d2);font-weight:600}#item-tooltip .tip-price{display:flex;align-items:center;gap:5px;color:#ecd393;margin-top:6px;font-size:11px}.coins{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;color:#f1d48d;font-weight:600}.coin-glyph{width:15px;height:15px;flex:none;border-radius:50%;display:inline-block;background:radial-gradient(circle at 35% 32%,#fff3c2 0 12%,#e9c26a 28%,#b8862f 70%,#7c5617);box-shadow:0 0 0 1px #5d3f0e,inset 0 -1px #0005}.coins.small .coin-glyph{width:12px;height:12px}#quantity-dialog{max-width:calc(100vw - 32px);width:360px;border:1px solid #cfaa67aa;border-radius:12px;color:var(--life-ink);padding:22px;background:linear-gradient(180deg,#3a2b1f,#211912);box-shadow:0 18px 80px #000a}#quantity-dialog::backdrop{background:#0d0906a6}#quantity-dialog h3{font:22px Marcellus,Georgia,serif;margin:0 0 10px;display:flex;align-items:center;gap:12px}#quantity-dialog h3 .item-slot{width:46px;flex:none;cursor:default}#quantity-dialog p{font-size:12px;line-height:1.65;color:var(--life-muted)}#quantity-dialog label{font-size:11px;color:var(--life-muted)}.quantity-row{display:grid;grid-template-columns:44px 1fr 44px auto;gap:6px;margin-top:7px}.quantity-row button{border-radius:6px;border:1px solid #d6b06c55;background:#2e2219;color:#f1e1bd;font-size:20px;min-height:44px}.quantity-row .quantity-all{font-size:12px;padding:0 12px}#quantity-dialog input{width:100%;padding:11px;background:#140f0b;border:1px solid #c9a46370;border-radius:6px;color:#fff;font-size:17px;text-align:center}#quantity-dialog form>div:last-child{display:flex;gap:10px;margin-top:18px}#quantity-dialog .primary-button{width:auto;flex:1;justify-content:center;background:linear-gradient(#e9cb8c,#cfa762);color:#2a1d10;border:1px solid #f6dfac}#quantity-dialog .secondary-button{flex:1;justify-content:center;background:#2e2219;border:1px solid #d6b06c55;color:#f1e1bd}.life-portrait{position:relative;flex:none;width:58px;height:58px;border-radius:50%;overflow:hidden;background:radial-gradient(circle at 50% 35%,#5b6e58,#26302a 70%);box-shadow:0 0 0 2px #2a1f16,0 0 0 3px #d6b06c99,inset 0 -6px 12px #0006}.life-portrait canvas{position:absolute;inset:0;width:100%;height:100%}.life-portrait.animal{background:radial-gradient(circle at 50% 40%,#7f8c5e,#323d2b 72%)}.life-portrait.villager{background:radial-gradient(circle at 50% 35%,#8b6d4a,#3a2c20 72%)}.life-chip{display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border-radius:999px;border:1px solid #d6b06c40;background:#ffffff08;color:var(--life-muted);font-size:11px;white-space:nowrap}.life-chip.ready{color:#1f2a14;background:linear-gradient(#cde8a6,#9fcd73);border-color:#e3f5c8}.life-chip.waiting{color:#f4dfb0}.life-seal{width:22px;height:22px}.item-art{display:block;width:100%;height:100%;background-image:url(/art/item-icons-v1.png);background-size:600% 400%;background-repeat:no-repeat;border-radius:3px;pointer-events:none}#inventory-panel.belongings-panel{width:470px;right:24px;bottom:92px;top:auto;max-height:calc(100dvh - 128px);padding:16px 16px 12px;overflow:auto;scrollbar-width:thin;z-index:6}#inventory-panel.belongings-panel.equipment-open{width:880px}.belongings-panel .panel-heading{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:14px}.belongings-coins{font-size:14px;color:#f1d48d;display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border:1px solid #d6b06c3d;border-radius:999px;background:#0000002e}.inventory-tabs{display:flex;gap:4px;margin:0 0 12px}.inventory-tabs button{flex:1;display:flex;align-items:center;justify-content:center;gap:7px;background:#00000026;border:1px solid #d6b06c22;border-radius:7px;padding:8px 6px;color:#cdbf9f;font-size:12px}.inventory-tabs button[aria-selected=true]{color:#fbe3ae;background:linear-gradient(#4b3828,#33261b);border-color:#d6b06c80;box-shadow:inset 0 1px #ffffff14}.inventory-tabs kbd{background:none;border:0;opacity:.55;font-size:9px}.tab-glyph,.tool-glyph{width:16px;height:16px;flex:none}.belongings-body{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}.equipment-open .belongings-body{grid-template-columns:360px minmax(0,1fr)}.belongings-wing{display:none;min-width:0;padding-right:16px;border-right:1px solid #c9a46333}.equipment-open .belongings-wing{display:block}#bag-view{min-width:0}.bag-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px}#bag-rack{display:flex;gap:5px;flex-wrap:wrap;align-items:center}.bag-rack-slot{position:relative;width:42px;height:42px;border-radius:7px;border:1px solid #00000099;padding:3px;color:#d8c39a;background:radial-gradient(circle at 50% 38%,#3a2d21,#1a130e 75%);box-shadow:inset 0 0 0 1px #ffeccb14,inset 0 2px 6px #000a}.bag-rack-slot.empty{opacity:.75}.bag-rack-slot.active{outline:2px solid #f0cf8c;outline-offset:1px}.bag-rack-slot .item-art{position:absolute;inset:3px;width:auto;height:auto}.rack-glyph{width:24px;height:24px;color:#e2cfa3;opacity:.7}.bag-rack-slot small{position:absolute;bottom:1px;right:3px;font-size:9px;font-weight:700;color:#fff3d6;text-shadow:0 0 3px #000,1px 1px 0 #000;pointer-events:none}#bag-capacity{font-size:11px;color:#cdbd9e;white-space:nowrap}#bag-capacity.full{color:var(--life-bad)}.bag-toolbar{display:flex;gap:6px;align-items:center;margin-bottom:10px}.bag-search{flex:1;min-width:0;display:flex;align-items:center;gap:6px;padding:0 8px;border:1px solid #c9a4634d;border-radius:6px;background:#120d09}.bag-search .tool-glyph{color:#cdb88d;opacity:.8}.bag-search input{flex:1;min-width:0;width:60px;padding:8px 0;background:transparent;border:0;color:#efe2c4;font-size:12px;outline:none}.bag-toolbar select{width:100px;padding:7px 4px;background:#2a2017;border:1px solid #c9a4634d;border-radius:6px;color:#e3d4b3;font-size:11px}#bag-sort{display:flex;align-items:center;gap:5px;padding:7px 9px;background:linear-gradient(#3d2e21,#2c2118);border:1px solid #d6b06c55;border-radius:6px;color:#efdcb2;font-size:11px}.combined-toggle{display:flex;align-items:center;gap:5px;font-size:11px;color:#cdbd9e;white-space:nowrap}.combined-toggle input{accent-color:#d6b06c;margin:0}#inventory-grid{display:block}#inventory-grid.combined,.bag-cells{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:5px}.separate-bag{margin-bottom:12px}.separate-bag h3{display:flex;justify-content:space-between;align-items:baseline;font:13px Marcellus,Georgia,serif;margin:4px 0 7px;color:#e6d0a1}.separate-bag h3 small{font:11px DM Sans,sans-serif;color:#a99a7d}#bag-empty-result{font-size:11px;color:#cdbd9e}#item-detail{display:grid;grid-template-columns:52px minmax(0,1fr);gap:4px 12px;align-items:center;margin-top:12px;padding-top:12px;border-top:1px solid #c9a46333;min-height:64px}#item-detail.empty{display:block}#item-detail .detail-intro{font:15px/1.3 Marcellus,Georgia,serif;color:#e8d3a3;margin:0 0 2px}#item-detail.empty .panel-note{margin:0;font-size:11px}.detail-art{grid-row:1/3;width:52px;height:52px;border:1px solid #c9a463aa;border-radius:8px;padding:3px;background:radial-gradient(circle,#33281e,#18120d)}.detail-art svg{width:100%;height:100%}.detail-title{min-width:0}.detail-title h3{margin:0;font:17px/1.2 Marcellus,Georgia,serif;color:var(--quality,#efe2c4)}.detail-title small{display:block;font-size:10.5px;color:#b8a888;margin-top:3px}.detail-note{color:#a8c29a!important}.detail-actions{grid-column:2;display:flex;flex-wrap:wrap;gap:6px}.detail-actions .secondary-button,.detail-actions .primary-button{width:auto;margin:0;min-height:32px;padding:6px 11px;font-size:11px;justify-content:center}.inventory-footer{display:flex;justify-content:flex-end;align-items:center;gap:18px;border-top:1px solid #c9a46333;padding-top:9px;margin-top:12px}#inventory-help{font-size:10px;line-height:1.6;color:#b0a385;text-align:right}.bar-customize{border-top:1px solid #c9a46326;padding-top:10px;margin-top:8px;font-size:12px;color:#d9c9a6}.hotbar-assign{margin-top:8px}.hotbar-assign select{padding:7px}.bar-customize .panel-note{font-size:10px}.bar-customize #action-choices{gap:14px}.wardrobe-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:2px 10px;margin-bottom:10px}.wardrobe-name{font:21px Marcellus,Georgia,serif;color:#f1dfb9}.wardrobe-head .text-button{padding:4px 0}.wardrobe-count{width:100%;font-size:10.5px;color:#a99a7d}.paper-doll{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;grid-template-rows:auto auto;gap:8px 10px}.doll-column{display:grid;gap:6px;align-content:start}.doll-column.left{grid-column:1;grid-row:1}.doll-column.right{grid-column:3;grid-row:1}.doll-column.bottom{grid-column:2;grid-row:2;display:flex;justify-content:center;gap:10px}.doll-slot{width:44px}.doll-stage{grid-column:2;grid-row:1;display:flex;align-items:center;justify-content:center;min-height:360px;border-radius:10px;background:radial-gradient(ellipse at 50% 85%,#00000055,transparent 45%),radial-gradient(ellipse at 50% 35%,#6f5a3f55,transparent 70%)}.doll-stage canvas{width:100%;max-width:240px;height:auto;aspect-ratio:320/384;filter:drop-shadow(0 6px 10px #0009)}#shop-view h3{font:20px Marcellus,Georgia,serif;margin:0 0 6px;color:#f1dfb9}.shop-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:8px}.shop-item{display:grid;grid-template-columns:40px minmax(0,1fr);grid-template-rows:auto auto;gap:4px 8px;align-items:center;padding:6px;border-radius:9px;background:#00000026;border:1px solid #d6b06c14}.shop-item>.item-slot{width:40px;grid-row:1/3}.shop-name{font-size:11.5px;line-height:1.3;color:#ecdcbb;min-width:0}.shop-name small{display:flex;flex-wrap:wrap;align-items:center;gap:2px 6px;font-size:10.5px;color:#b9a985;margin-top:2px}.shop-spaces{white-space:nowrap;padding:0 6px;border:1px solid #d6b06c38;border-radius:999px;font-size:10px;line-height:15px;color:#cdbd9e}.shop-actions{grid-column:2;display:flex;gap:4px}.shop-actions .secondary-button{width:auto;flex:1;margin:0;min-height:28px;padding:4px 10px;font-size:11px;justify-content:center}.shop-actions .buy-many{flex:none;padding:4px 9px}.shop-item button:disabled{opacity:.4}#action-bar button .item-art{width:100%;height:100%;position:absolute;inset:0;border-radius:4px}#action-bar button>kbd,#action-bar button>b{z-index:1;text-shadow:0 1px 3px #000,1px 1px 1px #000}#action-bar button:has(.item-art)>span{position:absolute;bottom:2px;z-index:1;background:#10241cd0;padding:2px 1px;max-width:100%;width:100%;text-align:center;font-size:7px}#action-bar button.unavailable{filter:grayscale(.8);opacity:.5}#action-bar button>b{top:auto;bottom:13px;font-size:11px}@media(max-width:950px){#inventory-panel.belongings-panel.equipment-open{width:calc(100vw - 48px)}.equipment-open .belongings-body{grid-template-columns:300px minmax(0,1fr)}}@media(max-width:850px){#inventory-panel.belongings-panel{inset:auto 18px 92px auto;width:min(470px,calc(100vw - 36px));max-height:calc(100dvh - 190px);padding:14px}#inventory-panel.belongings-panel.equipment-open{left:18px;width:auto}.equipment-open .belongings-body{grid-template-columns:minmax(0,1fr)}.belongings-wing{padding-right:0;border-right:0;border-bottom:1px solid #c9a46333;padding-bottom:12px}}@media(max-width:550px){#inventory-panel.belongings-panel,#inventory-panel.belongings-panel.equipment-open{inset:96px 10px auto;width:auto;padding:12px;max-height:calc(100dvh - 176px)}#inventory-grid.combined,.bag-cells{grid-template-columns:repeat(6,minmax(0,1fr))}.bag-toolbar{flex-wrap:wrap}.bag-search{flex-basis:100%}.bag-search input{font-size:16px}.bag-toolbar select{flex:1}.inventory-tabs button{padding:8px 4px;font-size:11px}.inventory-tabs kbd{display:none}.paper-doll{grid-template-columns:40px minmax(0,1fr) 40px}.doll-slot{width:40px}.doll-stage{min-height:300px}#item-tooltip{max-width:220px}.belongings-panel .panel-heading h2{font-size:20px}}@media(pointer:coarse)and (max-height:600px)and (min-width:551px){#inventory-panel.belongings-panel{max-height:calc(100dvh - 88px);inset:72px 86px auto auto;width:470px}#inventory-panel.belongings-panel.equipment-open{width:calc(100vw - 110px);left:auto}.equipment-open .belongings-body{grid-template-columns:280px minmax(0,1fr)}.doll-stage{min-height:250px}}body #inventory-panel.panel-window.equipment-open #inventory-grid.combined,body #inventory-panel.panel-window.equipment-open .bag-cells{grid-template-columns:repeat(6,minmax(0,1fr))}@media(max-width:999px){body #inventory-panel.panel-window.equipment-open .belongings-body{grid-template-columns:minmax(0,1fr)}body #inventory-panel.panel-window.equipment-open .belongings-wing{padding-right:0;border-right:0;border-bottom:1px solid #c9a46333;padding-bottom:12px}}@media(pointer:coarse)and (max-width:700px)and (max-height:740px)and (orientation:portrait),(pointer:coarse)and (max-width:700px)and (max-height:740px)and (max-width:559px),(pointer:coarse)and (max-width:700px)and (max-height:740px)and (min-height:501px){body #inventory-panel.panel-window>.panel-heading{gap:8px;margin-bottom:8px}body #inventory-panel.panel-window .panel-heading .eyebrow{display:none}body #inventory-panel.panel-window .panel-heading h2{font-size:18px;white-space:nowrap;margin:0}body #inventory-panel.panel-window .belongings-coins{font-size:12px;padding:6px 8px}body #inventory-panel.panel-window .inventory-tabs{margin-bottom:8px}body #inventory-panel.panel-window .bag-head{display:block}body #inventory-panel.panel-window #bag-rack{display:grid;grid-template-columns:repeat(6,44px);gap:4px}body #inventory-panel.panel-window .bag-rack-slot{width:44px;height:44px;min-width:44px;min-height:44px}body #inventory-panel.panel-window #bag-capacity{display:block;text-align:right;margin-top:4px}}@media(pointer:coarse){body #inventory-panel.panel-window .combined-toggle{min-height:44px;min-width:44px}}#inventory-panel.belongings-panel>.panel-heading{position:sticky;top:-20px;z-index:4;background:#1b302b;padding:12px 0;margin-top:-12px}#inventory-panel.equipment-open{width:1040px;max-width:calc(100vw - 56px)}.equipment-open .inventory-primary{display:grid;grid-template-columns:270px minmax(0,1fr);gap:24px;align-items:start}.equipment-grid{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;grid-template-rows:repeat(9,52px);gap:4px 12px;background:radial-gradient(ellipse at center,#53624840,transparent 68%)}.equipment-entry{display:flex;flex-direction:column;gap:3px;align-items:center;justify-content:start}.equipment-entry .item-slot{width:42px;height:42px;flex:none}.equipment-entry>span{font-size:8px;white-space:nowrap;align-self:center}.equipment-entry .item-slot>span{font-size:7px}.resident-portrait{grid-column:2;grid-row:1 / 10;width:100%;max-height:420px;align-self:center;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 12px 8px #06171366)}.trade-item-row{gap:7px!important;grid-template-columns:36px 1fr 52px!important;align-items:center}.trade-offer-summary p{display:flex;gap:8px;align-items:center}.trade-item-icon{display:inline-block;width:36px;height:36px;flex:none}@media(max-width:1100px){#inventory-panel.equipment-open{width:auto;left:18px;right:18px;max-width:none}.equipment-open .inventory-layout{grid-template-columns:1fr}.equipment-open .inventory-primary{grid-template-columns:250px minmax(0,1fr)}.equipment-open #item-detail{border-left:0;border-top:1px solid #baa27530;min-height:0;padding:12px 0 0}}@media(max-width:650px){#inventory-panel.equipment-open{left:10px;right:10px}.equipment-open .inventory-primary{display:block}#equipment-view{margin-bottom:24px}.equipment-grid{grid-template-columns:46px minmax(0,1fr) 46px;max-width:320px;margin:auto}.resident-portrait{max-height:395px}#inventory-panel.belongings-panel>.panel-heading{top:-13px;padding-top:13px}}@media(pointer:coarse)and (max-height:600px)and (min-width:701px),(pointer:coarse)and (max-height:600px)and (min-width:560px)and (max-width:700px)and (orientation:landscape)and (max-height:500px){#inventory-panel.equipment-open{left:90px;right:90px}.equipment-open .inventory-primary{grid-template-columns:230px minmax(0,1fr)}#inventory-panel.belongings-panel>.panel-heading{top:-16px}}@media(pointer:coarse)and (max-height:600px){#inventory-panel.belongings-panel,#inventory-panel.equipment-open{inset:10px 12px auto;width:auto;max-width:none;max-height:calc(100dvh - 20px);padding:12px}#inventory-panel.belongings-panel>.panel-heading{top:-12px;padding:8px 0;margin-top:-8px;margin-bottom:4px;min-height:36px}#inventory-panel .panel-heading .eyebrow{display:none}#inventory-panel .panel-heading h2{font-size:20px;margin:0}#inventory-panel .inventory-tabs{margin-bottom:10px;padding-bottom:5px}#inventory-panel .inventory-tabs button{padding:6px}#inventory-panel .wardrobe-name{font-size:17px;margin-bottom:9px}}#player-frame,#target-panel.unit-frame{position:fixed;z-index:23;top:96px;width:246px;height:110px;box-sizing:border-box;border:1px solid #b99b5c;border-radius:8px;background:linear-gradient(135deg,#293831f5,#111f1af5);box-shadow:0 4px 20px #06100a80,inset 0 0 0 2px #ead39416;color:#efdfbd;backdrop-filter:blur(8px)}#player-frame{left:28px}#player-frame #character-toggle{position:static;display:flex;align-items:center;gap:12px;width:100%;padding:9px 13px;border:0;background:transparent;border-radius:8px;color:inherit;text-align:left;min-height:76px}.unit-portrait,#target-panel.unit-frame .target-portrait{display:block;flex:0 0 62px;width:62px;height:62px;border:2px solid #c7ad73;border-radius:50%;overflow:hidden;background:radial-gradient(circle at 50% 35%,#607967,#20362b);box-shadow:0 1px 4px #0009,inset 0 0 0 2px #16170e}.unit-portrait canvas,#target-panel.unit-frame .target-portrait canvas{display:block;width:100%;height:100%;object-fit:contain}.player-identity{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px}#player-frame #character-name{font:18px/1.2 Georgia,serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.player-identity small{color:#bfcaa9;font:10px/1.2 DM Sans,sans-serif}#player-frame #stamina{position:absolute;inset:68px 13px auto 88px;transform:none;width:auto;padding:0;border:0;background:none}#player-frame #stamina>div{font-size:9px;gap:7px}#player-frame #stamina-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#player-frame #stamina-time{font-variant-numeric:tabular-nums}#player-frame #stamina progress{height:7px;margin-top:5px;box-shadow:0 0 0 1px #0b1b10}#target-panel.unit-frame{left:290px;display:flex;align-items:flex-start;gap:10px;padding:9px 21px 8px 10px}#target-panel.unit-frame[hidden]{display:none}#target-panel.unit-frame .target-details{padding-top:2px;min-width:0;flex:1}#target-panel.unit-frame #target-kind{display:block;color:#bacba9;font:9px/1.2 DM Sans,sans-serif;text-transform:none;letter-spacing:0}#target-panel.unit-frame #target-name{font:18px/1.15 Georgia,serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:3px 0}#target-panel.unit-frame #target-detail{font:9px/1.3 DM Sans,sans-serif;color:#beccb4;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}#target-panel.unit-frame #target-interact{position:absolute;left:84px;bottom:8px;max-width:calc(100% - 103px);min-height:25px;padding:3px 10px;border-radius:4px;font-size:10px;border-color:#c8a66788;background:linear-gradient(#70683d77,#3d512c88)}#target-panel.unit-frame #target-interact[hidden]{display:none}#target-panel.unit-frame #target-clear{top:2px;right:2px;min-width:20px;min-height:25px;font-size:19px;padding:0}#player-frame #character-toggle:focus-visible,#target-panel.unit-frame button:focus-visible{outline:2px solid #f8dda4;outline-offset:2px}.unit-frame[data-type=player] .target-portrait{background:radial-gradient(circle at 50% 35%,#597385,#243440)}@media(max-width:700px)and (orientation:portrait),(max-width:700px)and (max-width:559px),(max-width:700px)and (min-height:501px),(max-width:700px)and (pointer:fine),(max-width:700px)and (pointer:none){#player-frame,#target-panel.unit-frame{top:78px;width:calc((100vw - 28px)/2);height:112px}#player-frame{left:10px}#target-panel.unit-frame{left:calc(50vw + 4px);gap:7px;padding:10px 18px 8px 7px}#player-frame #character-toggle{padding:10px 8px;gap:7px;align-items:flex-start}.unit-portrait,#target-panel.unit-frame .target-portrait{flex-basis:44px;width:44px;height:44px}#player-frame #character-name,#target-panel.unit-frame #target-name{font-size:15px}.player-identity small,#target-panel.unit-frame #target-kind{font-size:9px}#player-frame #stamina{left:12px;right:12px;top:70px}#target-panel.unit-frame #target-detail{font-size:9px}#target-panel.unit-frame #target-interact{left:12px;bottom:8px;max-width:calc(100% - 32px);min-height:30px}body:has(#player-frame) .tools{top:208px}body:has(#player-frame) .minimap{top:208px}}@media(pointer:coarse)and (max-height:500px)and (min-width:701px),(pointer:coarse)and (max-height:500px)and (min-width:560px)and (max-width:700px)and (orientation:landscape)and (max-height:500px){#player-frame,#target-panel.unit-frame{top:94px;width:224px}#player-frame{left:18px}#target-panel.unit-frame{left:258px}body:has(#player-frame) .tools{top:242px;right:18px;gap:4px}body:has(#player-frame) .tools button{width:38px;height:38px;min-height:38px}body:has(#player-frame) #context-action{inset:211px auto auto 18px;transform:none;max-width:224px;padding:7px 10px}}@media(pointer:coarse){#target-panel.unit-frame #target-clear{top:auto;bottom:0;right:0;min-width:44px;min-height:44px}#target-panel.unit-frame #target-interact{left:12px;max-width:calc(100% - 68px)}}.mail-panel{width:540px;right:510px;top:92px;max-height:calc(100dvh - 120px);overflow-y:auto;z-index:12;padding:18px 18px 14px}.mail-panel .panel-heading{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:12px}.mail-tabs{display:flex;gap:6px;margin:0 0 12px}.mail-tabs button{position:relative;flex:1;display:flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:7px 10px;border-radius:9px;border:1px solid #d6b06c33;background:#00000026;color:#d9c8a2;font-size:12.5px;cursor:pointer}.mail-tabs button:hover{border-color:#d6b06c66;color:#f1e1bd}.mail-tabs button.active{background:linear-gradient(#4a3828,#36281c);border-color:#e3c27e99;color:#fbeccc;box-shadow:inset 0 1px #ffefcf1f}.mail-tabs .tab-glyph{width:16px;height:16px;flex:none;opacity:.85}.mail-badge{min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:#b8432f;color:#fff3df;font:700 11px/19px DM Sans,system-ui,sans-serif;box-shadow:0 0 0 2px #2b2017}#mail-result{font-size:12px;line-height:1.6;padding:9px 12px;margin:0 0 10px;background:#4a2a1fcc;border:1px solid #ee9a8266;border-radius:8px;color:#ffdccc}#mail-result.ok{background:#2f3e27cc;border-color:#b9dc9a66;color:#e3f2d2}.mail-list{display:grid;gap:6px}.mail-row{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;padding:8px 10px;border-radius:10px;border:1px solid #d6b06c17;background:#00000026;color:inherit;text-align:left;cursor:pointer}.mail-row:hover{background:#ffffff0a;border-color:#d6b06c40}.mail-row.unread{background:linear-gradient(90deg,#d6b06c1f,#00000026 45%);border-color:#d6b06c4d;box-shadow:inset 3px 0 #e2bf78}.mail-row .life-portrait{width:44px;height:44px}.mail-who{min-width:0;display:grid;gap:1px}.mail-who strong{font:15px Marcellus,Georgia,serif;color:#efdfbd;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mail-row.unread .mail-who strong{color:#fff1d2}.mail-subject{font-size:12.5px;color:#dccdaa;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mail-row.unread .mail-subject{color:#f6e8c8;font-weight:600}.mail-who small{font-size:10.5px;color:#a99a7d}.mail-row.returned .mail-who strong{color:#e9b9a2}.mail-extras{display:flex;align-items:center;gap:4px}.mini-slot{width:28px;padding:2px;cursor:inherit}.mini-slot .stack-count{font-size:10px;right:2px;bottom:0}.mail-more{font-size:11px;color:#cdbd9e}.mail-seal{display:inline-grid;place-items:center;width:24px;height:24px;margin-left:4px;border-radius:50%;background:radial-gradient(circle at 40% 35%,#d0583f,#8d2a1f 70%);box-shadow:0 1px 3px #000a,inset 0 0 0 2px #ffb59c33}.mail-seal .seal-glyph{width:14px;height:14px;color:#ffe3cf}.mail-capacity{font-size:10.5px;color:#9d8f76;margin:10px 2px 0;text-align:right}.mail-empty{display:grid;justify-items:center;gap:6px;text-align:center;padding:26px 18px 14px;border:1px dashed #d6b06c40;border-radius:12px;background:#00000018}.mail-empty-glyph{width:52px;height:52px;color:#d6b06c;opacity:.75}.mail-empty strong{font:18px Marcellus,Georgia,serif;color:#f1e1bd}.mail-empty .panel-note{max-width:360px;margin:0;line-height:1.6}.mail-cta{width:auto!important;margin:12px auto 0!important;padding:8px 18px!important;display:flex!important}.mail-back{display:inline-flex;margin:0 0 8px;padding:4px 2px;font-size:12.5px}.mail-paper{position:relative;padding:16px 18px 14px;border-radius:10px;color:#3a2a1a;background:linear-gradient(180deg,#f5eacf,#ead9b2);box-shadow:0 10px 26px #0007,inset 0 0 0 1px #fff8,inset 0 0 40px #b8925a33}.mail-paper-head{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:12px;padding-bottom:10px;border-bottom:1px solid #9c7a4a40}.mail-paper-head .life-portrait{width:48px;height:48px;box-shadow:0 0 0 2px #b48a55,0 2px 6px #0005}.mail-paper-meta strong{display:block;font:16px Marcellus,Georgia,serif;color:#3a2716}.mail-paper-meta small{display:block;margin-top:2px;font-size:11px;color:#7a6243}.mail-paper-subject{margin:12px 0 6px;font:20px/1.25 Marcellus,Georgia,serif;color:#2e1f12;overflow-wrap:anywhere}.mail-paper-body{min-height:52px;white-space:pre-wrap;overflow-wrap:anywhere;font:14.5px/26px Georgia,Times New Roman,serif;color:#3b2a19;background:repeating-linear-gradient(180deg,transparent 0 25px,#a3815233 25px 26px)}.mail-opening{font-style:italic;color:#8b7454}.mail-paper-body .mail-opening{color:#624927}.mail-paper-body .mail-reveal{display:block;width:fit-content;max-width:100%;min-width:44px;min-height:44px;margin:8px 0 2px;padding:9px 14px;border:1px solid #76552b;border-radius:7px;background:#f8edcf;color:#362719;font:600 13px/1.4 DM Sans,system-ui,sans-serif;white-space:normal;text-align:left;cursor:pointer}.mail-paper-body .mail-reveal:hover{background:#fff6df;border-color:#49331d}.mail-paper-body .mail-reveal:focus-visible{outline:3px solid #1c5262;outline-offset:3px}.mail-signature{margin:6px 4px 0 0;text-align:right;font:italic 15px Georgia,serif;color:#4a3420}.mail-stamp{position:absolute;top:14px;right:16px;padding:3px 10px;border:2px solid #b34a33;border-radius:6px;color:#b34a33;font:700 12px/16px DM Sans,system-ui,sans-serif;letter-spacing:2px;text-transform:uppercase;transform:rotate(-8deg);opacity:.85}.mail-paper.returned{background:linear-gradient(180deg,#f2e3cf,#e6d0b4)}.mail-enclosed-view,.mail-enclosed{margin-top:12px}.mail-enclosed-view .life-section-title,.mail-enclosed .life-section-title{margin:0 0 8px}.mail-slots{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}.mail-write .mail-slots{grid-template-columns:repeat(6,minmax(0,58px));justify-content:start}.mail-slots .trade-slot-wrap .item-slot{width:100%}.item-slot.display{cursor:default}.item-slot.missing:before{border-color:#ee9a82!important;opacity:1}.mail-slots button.item-slot.empty .slot-glyph{opacity:.34}.mail-coin-line{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;padding-top:9px;border-top:1px solid #c9a46326;font-size:13px}.mail-coin-line .secondary-button{width:auto;margin:0;min-height:34px;padding:6px 14px}.mail-pouch{font-size:10.5px;color:#a99a7d}.mail-cod{display:inline-grid;place-items:center;min-width:34px;height:20px;padding:0 6px;border-radius:5px;border:1px solid #d6b06c88;background:#3a2a17;color:#f0cf8a;font:700 10px/1 DM Sans,system-ui,sans-serif;letter-spacing:1px}.mail-cod-line{margin-top:6px;padding-top:7px}.mail-cod-label{font:700 11px/1 DM Sans,system-ui,sans-serif;letter-spacing:1px;color:#d6b06c}.mail-status-line{margin:10px 0 0;padding:8px 12px;border-radius:9px;background:#ffffff08;border:1px solid #c9a46326;font-size:12px;line-height:1.5;color:#d9cba9}.mail-row.village .mail-who strong{color:#cfe0b0}.mail-picker{margin-top:10px;padding:10px;border-radius:10px;background:#00000026;border:1px solid #d6b06c22}.mail-picker h5{margin:0 0 8px;font:14px Marcellus,Georgia,serif;color:#ecd8ad}.mail-write{display:grid;gap:10px}.mail-field{display:grid;gap:5px;position:relative}.mail-label{font-size:9.5px;letter-spacing:2px;text-transform:uppercase;color:var(--life-brass)}.mail-write input[type=search],.mail-write #mail-subject{width:100%;padding:9px 11px;border-radius:8px;border:1px solid #c9a46370;background:#140f0b;color:#f6e8c8;font-size:14px}.mail-write input::placeholder{color:#8f8168}.mail-write textarea{width:100%;min-height:92px;resize:vertical;padding:8px 12px;border-radius:8px;border:1px solid #b48a5599;color:#33261a;font:14.5px/26px Georgia,Times New Roman,serif;background:repeating-linear-gradient(180deg,transparent 0 25px,#a3815233 25px 26px),linear-gradient(180deg,#f5eacf,#ead9b2);background-attachment:local}.mail-write textarea::placeholder{color:#8b7454;font-style:italic}.mail-write textarea:disabled,.mail-write input:disabled{opacity:.6}.mail-counter{justify-self:end;font-size:10.5px;color:#9d8f76}.mail-recipient{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:7px 10px;border-radius:10px;background:#00000026;border:1px solid #d6b06c33}.mail-recipient .life-portrait{width:40px;height:40px}.mail-person-name{display:grid;min-width:0}.mail-person-name strong{font:15px Marcellus,Georgia,serif;color:#f1e1bd;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mail-person-name small{font-size:10.5px;color:#a99a7d;letter-spacing:.5px}.mail-people{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:2px}.mail-people>.panel-note{grid-column:1/-1;margin:2px 2px 0;font-size:11.5px}.mail-people-title{grid-column:1/-1;margin:2px 2px 0;font-size:9.5px;letter-spacing:2px;text-transform:uppercase;color:#a99a7d}.mail-person{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:9px;padding:6px 8px;border-radius:9px;border:1px solid #d6b06c1f;background:#00000024;color:inherit;text-align:left;cursor:pointer}.mail-person:hover,.mail-person:focus-visible{border-color:#e3c27e88;background:#ffffff0a}.mail-person .life-portrait{width:36px;height:36px}.mail-summary{margin:0;padding:9px 12px;border-radius:9px;border:1px solid #d6b06c2e;background:#ffffff06;font-size:12px;line-height:1.55;color:#c4b494}.mail-summary.ready{color:#efe2c2}.mail-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px}.mail-write .mail-actions{margin-top:0}.mail-actions .primary-button{width:auto;flex:1;justify-content:center;min-height:42px}.mail-actions .secondary-button{width:auto;margin:0;min-height:42px;padding:8px 14px}.mail-actions .text-button{padding:8px 6px}.mail-confirm{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 10px;border-radius:9px;border:1px solid #ee9a8255;background:#4a2a1f55;font-size:12px;color:#ffdccc}.life-window .secondary-button.danger{border-color:#ee9a8299;color:#ffd6c6}.mail-note{margin:2px 0 0;font-size:10.5px;line-height:1.5;color:#9d8f76}.life-portrait.faceless{display:inline-grid;place-items:center;background:radial-gradient(circle at 50% 40%,#5a4a38,#2b2017 72%)}.portrait-glyph{width:58%;height:58%;color:#e9d9b6;opacity:.6}@media(max-width:1100px){.mail-panel{right:auto;left:50%;transform:translate(-50%);top:84px;width:min(540px,calc(100vw - 24px))}}@media(max-width:700px)and (orientation:portrait),(max-width:700px)and (max-width:559px),(max-width:700px)and (min-height:501px),(max-width:700px)and (pointer:fine),(max-width:700px)and (pointer:none){.mail-panel{top:72px;left:10px;right:10px;transform:none;width:auto;max-height:calc(100dvh - 92px);padding:14px}.mail-tabs button{font-size:11.5px;padding:6px;gap:5px}.mail-tabs .tab-glyph{display:none}.mail-people{grid-template-columns:1fr}.mail-panel button{min-height:40px}.mail-write input,.mail-write textarea,.coin-entry input{font-size:16px}.mail-panel .panel-heading h2{font-size:20px}.mail-row{grid-template-columns:40px minmax(0,1fr)}.mail-extras{grid-column:2}.picker-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}@media(max-height:600px)and (min-width:701px),(pointer:coarse)and (max-height:600px)and (min-width:560px)and (max-width:700px)and (orientation:landscape)and (max-height:500px){.mail-panel{top:12px;max-height:calc(100dvh - 24px)}}.mail-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;margin-top:10px}.mail-foot .mail-capacity{margin:0}.mail-pager{display:flex;align-items:center;gap:8px;margin-left:auto}.mail-pager .secondary-button{width:auto;margin:0;min-height:36px;padding:6px 14px}.mail-pager .secondary-button:disabled{opacity:.45;cursor:default}.mail-page{font-size:11px;color:#9d8f76;white-space:nowrap;font-variant-numeric:tabular-nums}@media(pointer:coarse){.mail-pager .secondary-button{min-height:44px;min-width:44px}}@media(max-width:520px){.mail-foot{flex-direction:column;align-items:stretch}.mail-pager{margin-left:0;justify-content:space-between}}.wildlife-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.wildlife-card{position:relative;padding:12px;background:#092b2366;border:1px solid #b9a87532;border-radius:7px}.wildlife-card canvas{display:block;width:100%;height:140px;object-fit:contain;image-rendering:pixelated;background:radial-gradient(ellipse at 50% 75%,#91a17430,transparent 70%)}.wildlife-card h3{font:18px Georgia;color:#e6d6ac;margin:10px 0}.wildlife-card p{font-size:11px;line-height:1.7;color:#aebfa9}.wildlife-card .wildlife-location{border-top:1px solid #b9a87525;padding-top:8px;font-size:10px;color:#cdbf99}.wildlife-coats{display:flex;gap:9px;padding:4px}.wildlife-coats button{width:24px;height:24px;border-radius:50%;border:2px solid #163429}.wildlife-coats button[aria-pressed=true]{outline:1px solid #efca7f;outline-offset:2px}.wildlife-turn{position:absolute;top:12px;right:12px;border:1px solid #b9a87555;border-radius:50%;color:#d8c695;background:#173a2d;width:30px;height:30px;font-size:20px}.wildlife-card .wildlife-coat-name{font-size:10px;margin:7px 0}@media(max-width:430px){.wildlife-grid{gap:7px}.wildlife-card{padding:9px}.wildlife-card h3{font-size:15px}.wildlife-card canvas{height:115px}}.journal-panel>.panel-heading{position:sticky;top:0;z-index:3;background:#19392f;padding-top:8px;padding-bottom:10px}.journal-panel>.journal-tabs{position:sticky;top:66px;z-index:2;background:#19392f;padding-top:8px}body #journal-panel.panel.panel-window:not([hidden]){display:flex;flex-direction:column;overflow:hidden}body #journal-panel.panel-window>.panel-heading,body #journal-panel.panel-window>.journal-tabs{position:static;top:auto;flex-shrink:0}body #journal-panel.panel-window>#journal-content{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}@media(hover:none)and (pointer:coarse){#world-tooltip{display:none}}@media(pointer:coarse),(max-width:700px){body:has(#player-frame) #target-panel.unit-frame #target-interact{min-width:44px;min-height:44px;height:44px;bottom:6px;left:8px;max-width:calc(100% - 58px);padding:5px 9px}body:has(#player-frame) #target-panel.unit-frame #target-clear{width:44px;height:44px;min-height:44px;bottom:6px;right:2px;top:auto}body:has(#player-frame) .camera-orbit button{width:44px;height:44px;min-height:44px}body:has(#player-frame):has(#minimap-cluster) .tools button{width:44px;height:44px;min-height:44px;gap:2px}body:has(#player-frame) .tools button:hover{transform:none}body:has(#player-frame) #chat-header{min-height:44px;height:44px}body:has(#player-frame) #chat-form>button{width:44px;min-width:44px}body:has(#player-frame) #minimap-cluster{width:146px}body:has(#player-frame) #minimap-cluster canvas{width:100px;margin:auto}body:has(#player-frame) .minimap-location{padding:5px 0 3px;font-size:10px}body:has(#player-frame) .minimap-toolbar{gap:2px}body:has(#player-frame) #context-action{min-height:44px;white-space:normal}body:has(#player-frame) #tracking-menu label{min-height:44px}}@media(max-width:700px)and (orientation:portrait),(max-width:700px)and (max-width:559px),(max-width:700px)and (min-height:501px),(max-width:700px)and (pointer:fine),(max-width:700px)and (pointer:none){body:has(#player-frame) #player-frame,body:has(#player-frame) #target-panel.unit-frame{top:76px;height:122px;width:calc((100vw - 28px)/2)}body:has(#player-frame) #target-panel.unit-frame{padding:8px 7px}body:has(#player-frame) #target-panel.unit-frame .target-details{padding-top:0}body:has(#player-frame) #target-panel.unit-frame #target-name{font-size:14px}body:has(#player-frame) #target-panel.unit-frame #target-detail{font-size:9px;line-height:1.2}body:has(#player-frame) .tools{left:12px;right:auto;top:210px;display:grid;grid-template-columns:repeat(4,44px);gap:4px}body:has(#player-frame) #minimap-cluster{right:12px;top:210px}body:has(#player-frame) #tracking-menu{top:394px;right:12px;max-height:calc(100dvh - 410px)}body:has(#player-frame) #chat-panel{left:12px;width:188px;max-width:calc(100vw - 24px);bottom:254px}body:has(#player-frame) .bottom-left{left:12px;bottom:236px}}@media(max-width:370px){body:has(#player-frame) .tools{grid-template-columns:repeat(3,44px)}body:has(#player-frame) #chat-panel{width:140px}}@media(pointer:coarse)and (max-height:500px)and (min-width:701px),(pointer:coarse)and (max-height:500px)and (min-width:560px)and (max-width:700px)and (orientation:landscape)and (max-height:500px){body:has(#player-frame) .topbar{display:none}body:has(#player-frame) #player-frame,body:has(#player-frame) #target-panel.unit-frame{top:12px;width:210px;height:122px}body:has(#player-frame) #player-frame{left:12px}body:has(#player-frame) #target-panel.unit-frame{left:238px;padding:8px 10px}body:has(#player-frame) #target-panel.unit-frame #target-detail{display:-webkit-box;font-size:9px;line-height:1.2}body:has(#player-frame) #target-panel.unit-frame .target-portrait{width:44px;height:44px;flex-basis:44px}body:has(#player-frame):has(#minimap-cluster) .tools{left:auto;right:12px;top:180px;display:grid;grid-template-columns:repeat(4,44px);gap:4px}body:has(#player-frame) #minimap-cluster{top:12px;right:12px}body:has(#player-frame) #minimap-cluster canvas{width:88px}body:has(#player-frame) #tracking-menu{top:12px;right:166px;max-height:calc(100dvh - 24px)}body:has(#player-frame) #chat-panel{left:12px;top:144px;bottom:auto;width:210px}body:has(#player-frame) #chat-log{max-height:88px}body:has(#player-frame):has(#minimap-cluster) #context-action{inset:144px auto auto 238px;transform:none;max-width:180px;min-height:44px}body:has(#player-frame) .bottom-left{left:150px;bottom:80px}body:has(#player-frame) #toast{bottom:84px;max-width:350px}}@media(max-width:700px)and (max-height:740px)and (orientation:portrait),(max-width:700px)and (max-height:740px)and (max-width:559px),(max-width:700px)and (max-height:740px)and (min-height:501px),(max-width:700px)and (max-height:740px)and (pointer:fine),(max-width:700px)and (max-height:740px)and (pointer:none){body:has(#player-frame) #chat-panel{top:356px;bottom:auto}body:has(#player-frame) .bottom-left{left:132px;bottom:137px}body:has(#player-frame) #toast{inset:404px 80px auto 138px;transform:none;width:auto;max-width:none;padding:8px;font-size:11px}}@media(pointer:coarse){body .panel-window .close,body #mail-close{min-width:44px;min-height:44px}body #mail-panel [data-mail-tab],body #inventory-panel #bag-search,body #inventory-panel #bag-filter,body #inventory-panel #bar-lock-toggle,body #inventory-panel #assign-slot{min-height:44px}body .panel-window .text-button{min-height:44px;min-width:44px}body #inventory-panel [aria-label^="Empty bag slot"],body #inventory-panel [aria-label^="Empty materials bag"],body #inventory-panel [aria-label^=Backpack]{min-width:44px;min-height:44px}}@media(pointer:coarse)and (max-width:700px)and (orientation:portrait),(pointer:coarse)and (max-width:700px)and (max-width:559px),(pointer:coarse)and (max-width:700px)and (min-height:501px){body:has(#player-frame) #context-action{left:125px;right:auto;transform:none;max-width:calc(100vw - 237px);box-sizing:border-box}body:has(#player-frame) #toast{inset:394px 12px auto 208px;transform:none;width:auto;max-width:none;padding:8px;font-size:11px}}@media(pointer:coarse)and (max-width:700px)and (max-height:740px)and (orientation:portrait),(pointer:coarse)and (max-width:700px)and (max-height:740px)and (max-width:559px),(pointer:coarse)and (max-width:700px)and (max-height:740px)and (min-height:501px){body:has(#player-frame) #chat-panel:has(#chat-header[aria-expanded=true]){top:210px;bottom:auto;z-index:6}body:has(#player-frame) #chat-panel:has(#chat-header[aria-expanded=true]) #chat-log{max-height:92px}body:has(#player-frame) .bottom-left{left:14px;top:199px;bottom:auto}body:has(#player-frame) #toast{left:138px;right:80px;top:404px}body:has(#relation-card:not([hidden])) #chat-panel:has(#chat-header[aria-expanded=true]){top:356px;z-index:auto}body:has(#relation-card:not([hidden])) #chat-panel #chat-content{display:none}}@media(pointer:coarse)and (max-height:500px)and (min-width:701px),(pointer:coarse)and (max-height:500px)and (min-width:560px)and (max-width:700px)and (orientation:landscape)and (max-height:500px){body:has(#player-frame) #chat-panel:has(#chat-header[aria-expanded=true]){top:12px;z-index:24}body:has(#player-frame) #chat-panel:has(#chat-input:focus) #chat-log{max-height:40px}body:has(#player-frame) #toast{inset:278px 12px auto auto;transform:none;width:188px;max-width:none;padding:6px 8px;font-size:11px;line-height:1.3}}@media(pointer:coarse)and (max-width:700px)and (max-height:500px)and (orientation:portrait),(pointer:coarse)and (max-width:700px)and (max-height:500px)and (max-width:559px),(pointer:coarse)and (max-width:700px)and (max-height:500px)and (min-height:501px){body:has(#player-frame) #chat-panel:has(#chat-input:focus){top:12px;bottom:auto;z-index:24}}@media(pointer:coarse){body #bank-panel button,body #bank-panel input,body #bank-quantity button,body #bank-quantity input{min-width:44px;min-height:44px}body #bank-panel .bank-vault-cells{grid-template-columns:repeat(7,44px)}body #bank-panel .bank-bag-rack{flex-wrap:wrap}}@media(pointer:coarse)and (max-width:700px)and (orientation:portrait),(pointer:coarse)and (max-width:700px)and (max-width:559px),(pointer:coarse)and (max-width:700px)and (min-height:501px){body #bank-panel .bank-vault-cells{grid-template-columns:repeat(6,44px)}}@media(pointer:coarse)and (max-width:999px){html body #bank-panel.panel.bank-panel.panel-window,html body.bank-bags-front #inventory-panel.panel.panel-window{z-index:var(--panel-layer)}}@media(pointer:coarse){body #bank-panel .bank-account-transfer{flex-wrap:wrap;justify-content:flex-start}body #bank-panel .bank-account-transfer>div{flex:none}body #bank-panel .bank-account-transfer button{width:auto;flex-shrink:0;min-width:max-content}}@media(pointer:coarse)and (max-width:700px)and (min-height:601px)and (max-height:740px)and (orientation:portrait),(pointer:coarse)and (max-width:700px)and (min-height:601px)and (max-height:740px)and (max-width:559px),(pointer:coarse)and (max-width:700px)and (min-height:601px)and (max-height:740px)and (min-height:501px){body:has(#player-frame):has(#activity-status.gathering:not([hidden])) #toast{inset:auto 112px 126px 125px;width:auto}}@media(pointer:coarse)and (min-width:820px)and (min-height:350px)and (max-height:500px){body:has(#player-frame):not(:has(#activity-status:not([hidden]))):not(:has(.panel:not([hidden]))) #toast{inset:auto auto 100px 140px;transform:none;width:180px;transition-property:opacity}}body:has(#activity-status.gathering:not([hidden])) #toast{transition-property:opacity}@media(pointer:coarse)and (min-width:701px)and (max-height:600px),(pointer:coarse)and (min-width:560px)and (max-width:700px)and (orientation:landscape)and (max-height:500px)and (max-height:600px){body:has(#player-frame):has(#activity-status.gathering:not([hidden])):not(:has(#target-panel:not([hidden]))) #toast{inset:14px auto auto 238px;transform:none;width:188px}}@media(pointer:coarse)and (max-width:700px)and (orientation:portrait),(pointer:coarse)and (max-width:700px)and (max-width:559px),(pointer:coarse)and (max-width:700px)and (min-height:501px){body:has(#player-frame) #activity-status.gathering{inset:auto auto 126px 50%;transform:translate(-50%);width:calc(100vw - 236px);min-width:120px;padding:6px}body:has(#player-frame) #activity-status.gathering>div{gap:4px}body:has(#player-frame) #activity-status.gathering strong{font-size:11px;line-height:1.25}body:has(#player-frame) #activity-status.gathering #activity-description{margin:3px 0 5px;line-height:1.3}body:has(#player-frame):has(#activity-status.gathering:not([hidden])):not(:has(#target-panel:not([hidden]))) #toast{left:calc(50% + 8px);right:12px;top:78px;bottom:auto;transform:none;width:auto}}@media(pointer:coarse)and (max-width:700px)and (min-height:601px)and (max-height:740px)and (orientation:portrait),(pointer:coarse)and (max-width:700px)and (min-height:601px)and (max-height:740px)and (max-width:559px),(pointer:coarse)and (max-width:700px)and (min-height:601px)and (max-height:740px)and (min-height:501px){body:has(#player-frame):has(#activity-status.gathering:not([hidden])):has(#target-panel:not([hidden])) #toast{inset:288px 12px auto 208px;transform:none;width:auto}}@media(pointer:coarse)and (min-width:701px)and (max-height:600px),(pointer:coarse)and (min-width:560px)and (max-width:700px)and (orientation:landscape)and (max-height:500px)and (max-height:600px){body:has(#player-frame):not(:has(#target-panel:not([hidden]))) #activity-status.gathering{top:auto;bottom:80px;padding:6px 10px}body:has(#player-frame):not(:has(#target-panel:not([hidden]))) #activity-status.gathering #activity-description{margin:3px 0 5px;line-height:1.3}}@media(pointer:coarse)and (min-width:701px)and (max-height:600px),(pointer:coarse)and (min-width:560px)and (max-width:700px)and (orientation:landscape)and (max-height:500px)and (max-height:600px){body:has(#player-frame):has(#activity-status.gathering:not([hidden])):has(#target-panel:not([hidden])) #toast{inset:14px auto auto 456px;transform:none;width:188px}}@media(pointer:coarse)and (min-width:701px)and (max-width:830px)and (max-height:600px),(pointer:coarse)and (min-width:560px)and (max-width:700px)and (orientation:landscape)and (max-height:500px)and (max-width:830px)and (max-height:600px){body:has(#player-frame) #activity-status.gathering{width:232px}}@media(pointer:coarse){#activity-status.gathering #activity-cancel{width:44px;height:44px;min-width:44px;min-height:44px;flex-shrink:0;padding:0}#activity-status.gathering #activity-title{min-width:0}}@media(pointer:coarse)and (min-width:701px)and (max-height:600px),(pointer:coarse)and (min-width:560px)and (max-width:700px)and (orientation:landscape)and (max-height:500px)and (max-height:600px){body:has(#player-frame) #activity-status.gathering{top:auto;bottom:74px;padding-right:62px;min-height:58px}#activity-status.gathering #activity-cancel{position:absolute;right:8px;top:50%;transform:translateY(-50%)}}@media(pointer:coarse)and (orientation:landscape)and (max-height:500px)and (min-width:560px)and (max-width:809px){body:has(#player-frame):has(#minimap-cluster) .tools{right:60px}body:has(#player-frame):has(#minimap-cluster) .camera-orbit{right:12px;top:180px;bottom:auto;flex-direction:column;gap:4px}body:has(#player-frame):has(#minimap-cluster) #inventory-toggle{inset:228px 60px auto auto}body:has(#player-frame):has(#minimap-cluster) #context-action{max-width:calc(100vw - 494px)}body:has(#player-frame) #activity-status.gathering,body:has(#player-frame):not(:has(#target-panel:not([hidden]))) #activity-status.gathering{inset:auto auto 74px 136px;transform:none;width:min(232px,calc(100vw - 392px))}body:has(#player-frame):has(#activity-status.gathering:not([hidden])) .bottom-left{display:none}body:has(#player-frame) #relation-card,body:has(#player-frame) #relation-card[data-expanded=true]{left:auto;right:12px;width:236px;top:142px!important;bottom:auto;max-height:calc(100dvh - 220px)}body:has(#player-frame) #toast{inset:auto auto 100px 140px;transform:none;width:180px}body:has(#player-frame):has(#activity-status.gathering:not([hidden])):has(#target-panel:not([hidden])) #toast{inset:142px auto auto 238px;transform:none;width:min(210px,calc(100vw - 494px));max-width:none}}@media(pointer:coarse)and (orientation:landscape)and (max-height:380px)and (min-width:560px){body:has(#player-frame) #player-frame{height:108px}body:has(#player-frame) #chat-panel{top:130px}body:has(#player-frame) #chat-log{max-height:72px}body:has(#player-frame) #joystick{bottom:74px}}
