/* ═══════════ Liberty Basketball — коллекция по запросу и обмен ═══════════ */
.tr-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; width: min(420px, 100%); margin-top: 4px; }
.tr-btn { padding: 10px 16px; border-radius: 99px; border: 0; cursor: pointer; font-weight: 800; font-size: .84rem; color: #fff; background: linear-gradient(135deg, var(--blue-600), var(--blue-500)); box-shadow: 0 8px 18px -10px rgba(37, 99, 235, .8); transition: transform .2s, filter .2s; }
.tr-btn:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.06); }
.tr-btn:disabled { opacity: .45; cursor: not-allowed; }
.tr-btn.alt { background: linear-gradient(135deg, #f97316, #ea580c); box-shadow: 0 8px 18px -10px rgba(234, 88, 12, .8); }
.tr-btn.ghost { background: #fff; color: var(--text-secondary); border: 1.5px solid rgba(200, 210, 230, .9); box-shadow: none; }
.tr-hint { flex: 1 1 100%; text-align: center; font-size: .72rem; color: var(--text-muted); }
.tr-note { font-size: .84rem; font-weight: 600; color: var(--text-secondary); padding: 8px 14px; border-radius: 99px; background: var(--bg-soft); }
.tr-note.ok { color: #15803d; background: #f0fdf4; }
.tr-note.wait { color: #b45309; background: #fffbeb; }

.tr-pick { width: 100%; display: flex; flex-direction: column; gap: 12px; }
.tr-pick-h { text-align: center; display: flex; flex-direction: column; gap: 2px; }
.tr-pick-h b { font-family: var(--font-display); font-size: 1.02rem; }
.tr-pick-h small { font-size: .76rem; color: var(--text-muted); }
.tr-pick-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-height: 320px; overflow-y: auto; padding: 4px; }
.tr-pick-it { width: 104px; }
.tr-pick-it { display: flex; flex-direction: column; gap: 6px; align-items: center; padding: 6px; border-radius: 14px; border: 2px solid transparent; background: none; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.tr-pick-it:hover { transform: translateY(-2px); }
.tr-pick-it.on { border-color: #f97316; background: #fff7ed; }
.tr-pick-it .lbc { pointer-events: none; }
.tr-pick-it span { font-size: .66rem; font-weight: 700; color: var(--text-secondary); text-align: center; line-height: 1.2; }
.tr-pick-foot { display: flex; justify-content: center; gap: 8px; }

.tr-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.tr-head > div { display: flex; flex-direction: column; }
.tr-head b { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; }
.tr-head span { font-size: .8rem; color: var(--text-muted); }
.tr-how { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.tr-how span { font-size: .78rem; color: var(--text-secondary); padding: 8px 12px; border-radius: 12px; background: #fff; border: 1px solid rgba(200, 210, 230, .6); }
.tr-reqs { display: flex; flex-direction: column; gap: 10px; }
.tr-req { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 18px; background: #fff; border: 1px solid rgba(200, 210, 230, .6); }
.tr-req--pending { border-color: #fdba74; box-shadow: 0 10px 24px -16px rgba(234, 88, 12, .6); }
.tr-req--declined, .tr-req--cancelled { opacity: .65; }
.tr-req-cards { flex: none; display: flex; align-items: center; gap: 6px; }
.tr-swap { font-size: 1.2rem; font-weight: 900; color: #f97316; }
.tr-mini { width: 54px; border: 0; padding: 0; background: none; cursor: pointer; transition: transform .2s; }
.tr-mini:hover { transform: translateY(-3px) rotate(-2deg); }
.tr-mini .lbc { pointer-events: none; }
.tr-req-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tr-req-main b { font-size: .9rem; }
.tr-req-main span { font-size: .78rem; color: var(--text-secondary); line-height: 1.35; }
.tr-req-main small { font-size: .7rem; color: var(--text-muted); }
.tr-req-act { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.tr-owned { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 14px; }
.tr-own { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.tr-own .tr-mini { width: 100%; }
.tr-own small { font-size: .68rem; color: var(--text-muted); text-align: center; }
@media (max-width: 600px) {
  .tr-req { flex-wrap: wrap; }
  .tr-req-act { flex: 1 1 100%; justify-content: stretch; }
  .tr-req-act .tr-btn { flex: 1; }
  .tr-owned { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}

.lbv.tr-picking .lbv-card { width: min(170px, 42vw); transition: width .45s var(--ease); }
.lbv.tr-picking .lbv-hint { display: none; }

/* small cards: hide the fine print that cannot shrink */
.tr-mini .lbc-brand, .tr-mini .lbc-meta, .tr-mini .lbc-rarity, .tr-mini .lbc-verified, .tr-mini .lbe-ribbon, .tr-mini .hw-brand, .tr-mini .hw-serial,
.tr-pick-it .lbc-meta, .tr-pick-it .lbc-verified, .tr-pick-it .lbc-brand, .tr-pick-it .lbe-ribbon { display: none !important; }
