/* Scoped wardrobe UI. These styles do not alter the frozen World runtime. */
.owned-dialog{box-sizing:border-box;width:min(720px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:0;border:2px solid #382d27;border-radius:18px;background:#f8f4eb;color:#171414;box-shadow:0 24px 80px #0008;font:16px/1.5 Inter,Arial,sans-serif;overflow:hidden}
.owned-dialog::backdrop{background:#080605ad;backdrop-filter:blur(4px)}
.owned-dialog *{box-sizing:border-box}.owned-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid #d6c4ad}.owned-dialog h2{font-size:22px;margin:0}.owned-dialog header button{flex:none;width:44px;height:44px;padding:0;font-size:30px;line-height:1;background:transparent;color:#171414;border:1px solid #8e7158;border-radius:12px}
.owned-content{padding:22px;max-height:calc(100dvh - 108px);overflow:auto;overscroll-behavior:contain;overflow-wrap:anywhere}.owned-dialog p{margin:8px 0 16px}.owned-dialog button,.owned-dialog a{font-family:inherit}.owned-dialog button{min-height:44px;cursor:pointer;font-size:14px;font-weight:700;line-height:1.3;padding:11px 14px;border:1px solid #171414;border-radius:9px;color:#fffaf2;background:#171414}.owned-dialog button:disabled{opacity:.6;cursor:wait}.owned-dialog button:focus-visible,.owned-dialog a:focus-visible,.owned-open:focus-visible{outline:3px solid #1f7a63;outline-offset:3px}.owned-dialog button.owned-secondary{color:#382d27;background:transparent;border-color:#b59a7b}.owned-eyebrow{font:11px/1.5 'JetBrains Mono',monospace;letter-spacing:.1em;color:#655744}.owned-intro h3{font-size:29px;line-height:1.2;margin:7px 0 10px}.owned-intro p{color:#5b5047}.owned-toolbar{display:flex;gap:10px;flex-wrap:wrap}.owned-feedback{min-height:24px;font-size:13px;color:#205d4d}.owned-list{padding:0;margin:0;list-style:none;display:grid;gap:12px}.owned-piece{display:grid;grid-template-columns:104px minmax(0,1fr);gap:16px;padding:14px;border:1px solid #d8c9b6;border-radius:12px;background:#fffdf7}.owned-photo{aspect-ratio:1;overflow:hidden;border-radius:9px;background:#e6d9ca;display:grid;place-items:center}.owned-photo img{width:100%;height:100%;object-fit:cover}.owned-photo[data-owned-preset=pink]{background:#e1b7c1}.owned-photo[data-owned-preset=brown]{background:#a58c72}.owned-piece-symbol{display:grid;place-items:center;font:700 17px/1 'JetBrains Mono',monospace;color:#f8f1e1;background:#27231f;width:74%;height:54%;border:1px solid #bdae98;border-radius:5px}.owned-piece h4{font-size:17px;line-height:1.3;margin:0}.owned-dialog .owned-state{font-size:12px;margin:6px 0 10px;color:#756252}.owned-state[data-verified=true]{color:#17634e;font-weight:600}.owned-piece-copy{min-width:0}.owned-piece-copy button{display:block;max-width:100%;margin-bottom:8px}.owned-piece a{display:inline-flex;align-items:center;gap:10px;min-height:34px;font-size:13px;color:#514032;text-underline-offset:3px}.owned-notes{margin:22px 0 16px;color:#695a4b;font-size:12px}.owned-notes p{margin-bottom:9px}.owned-notes small{font-size:11px}.owned-open{display:block;min-height:44px;font:600 14px/1.3 Inter,Arial,sans-serif;padding:11px 16px;margin:0 0 16px;border:1px solid #82634a;border-radius:8px;background:#f8f4eb;color:#382d27;cursor:pointer}
@media(max-width:480px){.owned-dialog{width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:14px}.owned-dialog header{padding:12px 14px}.owned-content{padding:16px 12px;max-height:calc(100dvh - 92px)}.owned-dialog h2{font-size:20px}.owned-intro h3{font-size:24px}.owned-piece{grid-template-columns:76px minmax(0,1fr);gap:12px;padding:11px}.owned-piece h4{font-size:15px}.owned-piece-copy button{font-size:12px;padding:9px 10px}.owned-piece-symbol{font-size:12px}.owned-toolbar{display:grid;grid-template-columns:minmax(0,1fr)}.owned-toolbar button{width:100%}}
