/* Bag tabs + fashion space (owner 2026-11-10): fashion items live in their own unlimited, weightless space,
   with one wear slot per part. Kept simple: tap an item to see it and wear / take it off; tap a worn slot to remove. */
.inv-tabs { display: flex; gap: 6px; margin-bottom: 8px; }
.inv-tabs button { flex: 1; min-height: 38px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); font: inherit; font-weight: 700; }
.inv-tabs button.on { background: #f6d98a; border-color: #d8b25a; }
.fashion-worn small { color: var(--muted); }
.fashion-slots { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin: 6px 0 10px; }
.fashion-slot { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; border: 1px dashed var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); font: inherit; min-width: 0; }
.fashion-slot.worn { border-style: solid; border-color: #d8b25a; background: #fff6dc; }
.fashion-slot b { font-size: 12px; }
.fashion-slot small { font-size: 10px; color: var(--muted); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fashion-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 6px; max-height: 42vh; overflow: auto; padding: 2px; }
.fashion-item { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); font: inherit; min-width: 0; }
.fashion-item small { font-size: 11px; line-height: 1.2; text-align: center; max-height: 2.4em; overflow: hidden; }
.fashion-item.worn { border-color: #d8b25a; box-shadow: inset 0 0 0 2px #f2d27a; }
.fashion-item.sel { outline: 3px solid #5aa9e6; }
.fashion-item.off { opacity: 0.5; }
.fx-ic { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; font-size: 22px; background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.fx-ic.empty { background: #f1ece0; opacity: 0.6; }
.fashion-detail { margin: 10px 0; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: #fffaf0; display: flex; flex-direction: column; gap: 6px; }
.fashion-detail small { color: var(--muted); }
@media (max-width: 420px) { .fashion-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* try-on period (FASHION_TRIAL) */
.fashion-trial { margin: 4px 0 8px; padding: 8px 10px; border-radius: 10px; background: #fff3c4; border: 1px solid #ecd27a; font-size: 13px; }
.fashion-item { position: relative; }
.fashion-try { position: absolute; top: 4px; right: 4px; font-style: normal; font-size: 10px; font-weight: 700; padding: 1px 5px; border-radius: 8px; background: #5aa9e6; color: #fff; }
/* character screen (owner 2026-11-10): keep "delete character" well away from "enter game" */
.character-actions { display: flex; align-items: center; flex-wrap: wrap; }
.character-actions #char-delete { margin-left: auto; }
@media (max-width: 520px) { .character-actions #char-delete { margin-top: 10px; } }
