.trade-offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.trade-side { min-width: 0; overflow: hidden; }
.trade-side-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px; }
.trade-side-heading h2 { margin: 0; font-size: 24px; }
.trade-side-heading > span { color: var(--muted); font-size: 16px; white-space: nowrap; }
.trade-partner-card > small { color: var(--muted); font-size: 16px; }
.trade-asset-group { border-top: 1px solid var(--line); }
.trade-asset-group > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 12px 20px; background: var(--surface-soft); cursor: pointer; }
.trade-asset-group > summary > span { display: flex; align-items: center; gap: 10px; font-size: 20px; }
.trade-asset-group > summary small { color: var(--muted); font-size: 16px; text-align: right; }
.trade-asset-group > summary::after { content: '+'; flex: 0 0 12px; font-size: 24px; line-height: 1; color: var(--forest); }
.trade-asset-group[open] > summary::after { content: '−'; }
.trade-asset-group > summary small { margin-left: auto; }
.trade-asset-list { margin: 0; padding: 0; list-style: none; max-height: 410px; overflow-y: auto; overflow-x: hidden; scrollbar-gutter: stable; }
.trade-pick-list { max-height: 230px; }
.trade-asset-list li + li { border-top: 1px solid var(--line); }
.trade-asset-option { position: relative; display: grid; grid-template-columns: 20px 32px minmax(0, 1fr); align-items: center; gap: 12px; padding: 14px 20px; margin: 0; cursor: pointer; }
.trade-pick-option { grid-template-columns: 20px minmax(0, 1fr); }
.trade-asset-option:hover { background: var(--control-hover); }
.trade-asset-option.is-selected { background: var(--control-selected); box-shadow: inset 3px 0 var(--accent); }
.trade-asset-option.is-disabled { cursor: default; opacity: .6; }
.trade-asset-option > input[type="checkbox"] { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; opacity: 0; }
.trade-checkmark { display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; border: 1px solid var(--control-border); background: var(--control-bg); color: var(--action-text); }
.trade-checkmark .ui-pixel-icon { display: block; visibility: hidden; width: 24px; height: 24px; flex: 0 0 24px; }
.trade-asset-option > input:checked + .trade-checkmark { background: var(--action-bg); border-color: var(--action-bg); }
.trade-asset-option > input:checked + .trade-checkmark .ui-pixel-icon { visibility: visible; }
.trade-asset-option > input:focus-visible + .trade-checkmark { outline: 2px solid var(--control-focus); outline-offset: 3px; }
.trade-asset-copy { min-width: 0; line-height: 1.2; }
.trade-asset-copy > strong { display: block; color: var(--text); font-size: 20px; overflow-wrap: anywhere; }
.trade-asset-copy > span { display: block; margin-top: 5px; color: var(--muted); font-size: 16px; }
.player-trade-price { display: block; width: fit-content; max-width: 100%; margin-top: 6px; padding: 3px 6px; border-left: 2px solid var(--accent); background: var(--surface-tint); color: var(--text); font-size: 16px; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.trade-empty { margin: 0; padding: 16px 20px; color: var(--muted); font-size: 16px; line-height: 1.4; }
.trade-selection-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 20px 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trade-selection-summary > section { min-width: 0; }
.trade-selection-summary h3 { margin: 0 0 10px; font-size: 20px; }
.trade-selection-summary ul { margin: 0; padding: 0 0 0 18px; }
.trade-selection-summary li { font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; }
.trade-selection-summary li + li { margin-top: 6px; }
.trade-selection-summary .trade-empty { padding: 0; }
.trade-review .card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.trade-review .card-actions > button { white-space: normal; }
.trade-estimate-note { margin: 18px 0 0; color: var(--muted); font-size: 16px; line-height: 1.4; }
.trade-history > summary { display: flex; align-items: center; gap: 10px; padding: 16px 20px; cursor: pointer; font-size: 20px; }
.trade-history > summary::after { content: '+'; margin-left: auto; color: var(--forest); font-size: 24px; }
.trade-history[open] > summary::after { content: '−'; }
.trade-history > div { padding: 0 20px 16px; }
.trade-history article { padding: 14px 0; border-top: 1px solid var(--line); }
.trade-history article > strong { color: var(--accent); font-size: 16px; }
.trade-history article p { margin: 7px 0 0; font-size: 16px; line-height: 1.4; overflow-wrap: anywhere; }
.player-pick-estimate { margin: 0 0 22px; padding: 14px 16px; background: var(--surface-tint); border: 1px solid var(--line); border-left: 3px solid var(--accent); }
.player-pick-estimate > div { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; }
.player-pick-estimate span { color: var(--muted); font-size: 16px; }
.player-pick-estimate strong { color: var(--text); font-size: 24px; line-height: 1.25; }
.player-pick-estimate p { margin: 8px 0 0; color: var(--muted); font-size: 16px; line-height: 1.35; }
#trade-desk :is(button, summary, select):focus-visible { outline: 2px solid var(--control-focus); outline-offset: -2px; }
@media (max-width: 1050px) {
  .trade-offer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .trade-side-heading, .trade-asset-group > summary { padding-left: 16px; padding-right: 16px; }
  .trade-side-heading h2 { font-size: 24px !important; }
  .trade-side-heading { flex-wrap: wrap; gap: 6px 12px; }
  .trade-asset-option { padding: 14px 16px; gap: 10px; }
  .trade-asset-group > summary { gap: 8px; }
  .trade-asset-group > summary > span { gap: 7px; }
  .trade-asset-group > summary small { font-size: 16px; }
  .trade-selection-summary { grid-template-columns: 1fr; }
  .trade-review .stat-row { flex-wrap: wrap; gap: 4px 10px; }
  .trade-review .stat-row strong { font-size: 20px; }
  .trade-review .card-actions > .primary { width: 100%; justify-content: center; }
}
