/* The dressing room keeps its own renderer and the backpack keeps every cell. */
.character-dressing{position:relative;height:370px;margin:8px 0 15px;border:1px solid #af956357;border-radius:3px;overflow:hidden;background:radial-gradient(ellipse at 50% 32%,#71836935,#111d16 72%)}
.character-preview{position:absolute;inset:0 0 40px;touch-action:none}
.character-preview canvas{display:block;width:100%;height:100%;outline:0}
.character-preview-loading{position:absolute;inset:45% 80px auto;text-align:center;color:#c9b68d;font:11px/1.7 var(--sans);pointer-events:none}
.dressing-gear{position:absolute;top:18px;display:grid;gap:11px;width:60px;z-index:2}
.dressing-left{left:11px}.dressing-right{right:11px}
.character-dressing .equipment-slot{position:static;display:grid;gap:4px;width:60px}
.character-dressing .equipment-slot>small{font:7px var(--sans);color:#c4b17c;text-align:center;letter-spacing:.8px}
.character-dressing .equipment-slot>.item-slot{width:58px;height:51px;min-height:0;background:#0d1813c7;border-color:#b3a27270;box-shadow:0 2px 6px #0006}
.character-dressing .equipment-slot>.item-slot img{width:100%;height:100%;max-height:46px;object-fit:contain}
.character-dressing .item-level,.character-dressing .equipped-dot{display:none}
.dressing-controls{position:absolute;left:80px;right:80px;bottom:38px;display:flex;justify-content:center;gap:13px;z-index:2}
.dressing-controls>button{font:10px var(--sans);padding:5px;color:#d5c397;background:#1422198c;border:1px solid #a2935f44;border-radius:2px}
.dressing-controls>button:first-child,.dressing-controls>button:last-child{font-size:17px;line-height:14px}
.dressing-hint{position:absolute;bottom:5px;left:12px;right:12px;text-align:center;font:8px/1.7 var(--sans);color:#9cae93;margin:0;pointer-events:none}
.dragging-item .character-dressing{border-color:#e6c979;box-shadow:inset 0 0 30px #dbc36325}
.inventory-window .inventory-cell{border:1px solid #909c7847;background:linear-gradient(145deg,#28352888,#101c1580);opacity:1;visibility:visible;min-height:34px}
.inventory-window .inventory-cell.filtered{opacity:1;background:#14221980;border-color:#77866c55}
.inventory-window .empty-cell-number{color:#929c7969;font-size:8px;z-index:1}
.filtered-item-mark{color:#8e98735c;font:18px Georgia}
.world-notice .notice-viewport{height:17px;line-height:17px}
.world-notice .notice-copy{animation:none!important;transition:none!important;white-space:nowrap;width:max-content;padding-left:0;will-change:transform}
.world-notice.notice-static{height:auto;min-height:34px;padding-block:6px}
.world-notice.notice-static .notice-viewport{height:auto;line-height:1.5}
.world-notice.notice-static .notice-copy{white-space:normal;width:auto;will-change:auto}
/* Compact product strip: hovering one item opens only that item's attributes. */
.stall-overhead{width:156px;padding:4px 5px 5px;border:1px solid #b49c65aa;border-top:2px solid #ddc58b99;border-radius:3px;background:linear-gradient(#303528f0,#142118f2);box-shadow:0 3px 9px #0008}
.stall-overhead header{margin:0 0 3px;display:block}
.stall-board-open{display:flex;justify-content:space-between;align-items:center;gap:4px;padding:0;width:100%;color:#e5d4a5;text-align:left}
.stall-overhead header b{font:9px var(--serif);max-width:105px;color:#dfcea2;line-height:14px}
.stall-overhead header span{font:7px var(--sans);color:#9caa8e;white-space:nowrap}
.stall-overhead-slots{gap:3px}
.stall-overhead .stall-overhead-slot{padding:1px;aspect-ratio:1;border:1px solid color-mix(in srgb,var(--slot-color,#8a7951) 60%,transparent);background:radial-gradient(#4443348c,#111d16);border-radius:2px;min-width:0}
.stall-overhead .stall-overhead-slot:hover,.stall-overhead .stall-overhead-slot:focus-visible{border-color:#f0d698;outline:1px solid #d6bd7877;outline-offset:1px;background:#71634055}
.stall-overhead-slot img{mix-blend-mode:screen}
.stall-overhead-slot b{font:8px var(--sans);right:2px;bottom:1px}
.stall-hover-preview{display:none!important}
@media(max-width:760px){.character-dressing{height:352px}.dressing-gear{width:52px;top:15px;gap:10px}.dressing-left{left:7px}.dressing-right{right:7px}.character-dressing .equipment-slot{width:52px}.character-dressing .equipment-slot>.item-slot{width:50px;height:47px}.dressing-controls{left:67px;right:67px;gap:5px}.dressing-controls>button{font-size:8px}.dressing-hint{font-size:7px}.stall-overhead{width:140px}.stall-overhead header b{font-size:8px;max-width:94px}}

/* Zero condition remains visible until an authoritative repair acknowledgement. */
.item-slot.is-broken,.character-dressing .equipment-slot>.item-slot.is-broken{border-color:#f26b60;background:linear-gradient(135deg,#692b27,#2d1215);box-shadow:inset 0 0 16px #b51d294d,0 0 0 1px #e5494370}
.item-slot.is-broken::after{content:'!';position:absolute;top:2px;left:2px;display:grid;place-items:center;width:13px;height:13px;border-radius:50%;background:#b72b30;color:#fff;font:800 10px/1 var(--sans);pointer-events:none}
.item-slot.is-broken:hover,.item-slot.is-broken:focus-visible{border-color:#ffaba0;box-shadow:inset 0 0 16px #b51d294d,0 0 9px #f26b6066}
