/* js/exchange.css - THE SPARES SCREEN (js/exchange-panel.js, 2026-10-28): the room kit's sheet (js/room-ui.css) with
 * the gear chips, the gift's warning and hold, and the trade's two sides. Every size is the kit's (--rui-min is the
 * smallest, 16 px at Normal; the 13 px floor holds) and scales with the text size setting. */
.xch .rui-dlg__body { display: flex; flex-direction: column; gap: 12px; }
.xch-tabs { margin-bottom: 4px; }
.xch-tab { min-width: 9em; }
.xch-card__top { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.xch-card { grid-template-columns: minmax(0, 1fr); }
.xch-card--no { opacity: 0.86; }
.xch-rar { font-size: var(--rui-min); font-weight: bold; color: var(--xch-rar, var(--rui-soft)); }
.xch-state { font-size: var(--rui-min); font-weight: bold; color: var(--rui-soft); }
.xch-gear { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0; }
.xch-gear--none { margin: 4px 0; font-size: var(--rui-min); color: var(--rui-soft); }
.xch-chip {
  min-height: var(--rui-tap); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--rui-line);
  background: var(--rui-panel-2); color: var(--rui-ink); font: inherit; font-size: var(--rui-min); cursor: pointer;
}
.xch-chip[aria-expanded="true"] { border-color: var(--rui-gold); color: var(--rui-gold); }
.xch-chip:focus-visible { outline: 3px solid var(--rui-gold); outline-offset: 2px; }
.xch-chip--graft { cursor: default; display: inline-flex; align-items: center; }
.xch-stats { flex: 1 1 100%; padding: 8px 12px; border-radius: 10px; background: rgba(0, 0, 0, 0.25); font-size: var(--rui-min); }
.xch-stats ul { margin: 4px 0 0; padding-left: 1.2em; }
.xch-note { margin: 0; padding: 8px 12px; border-radius: 10px; background: rgba(0, 0, 0, 0.25); font-size: var(--rui-body); }
.xch-note--bad { color: var(--rui-warn); }
.xch-note--good { color: var(--rui-good); }
.xch-warn { padding: 10px 14px; border-radius: 12px; border: 2px solid var(--rui-warn); background: rgba(255, 210, 122, 0.08); }
.xch-warn strong { color: var(--rui-warn); }
.xch-warn p { margin: 6px 0 0; line-height: 1.5; }
.xch-tick { display: flex; align-items: center; gap: 10px; min-height: var(--rui-tap); cursor: pointer; }
.xch-tick input { width: 24px; height: 24px; flex: 0 0 auto; }
.xch-holdrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.xch-hold { position: relative; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; }
.xch-hold__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0%; background: rgba(255, 255, 255, 0.28); pointer-events: none; }
.xch-holdwhy { font-size: var(--rui-min); }
.xch-friends { display: flex; flex-wrap: wrap; gap: 8px; }
.xch-offers { display: grid; gap: 14px; }
.xch-offer { grid-template-columns: minmax(0, 1fr); }
.xch-sides { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.xch-side { display: grid; gap: 8px; align-content: start; }
.xch-look { margin: 0; font-weight: bold; color: var(--rui-gold); }

/* a BROKEN piece of gear (js/gear-wear.js) */
.xch-chip--broken { border-color: #FF6B6B; color: #FF8A8A; }
