.boot-screen { min-height: 70vh; max-width: 540px; margin: 0 auto; padding: 24px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; font: 16px/1.5 system-ui, sans-serif; color: var(--text, #e5e7eb); }
.boot-screen h1, .boot-screen p { margin: 0; }
.boot-screen button { cursor: pointer; padding: 12px 18px; }
.market-price small { display: block; margin-top: 5px; font-size: 12px; color: var(--text-dim); white-space: nowrap; }
.sale-card-number { display: block; font-size: 12px; margin-top: 4px; }
.watchlist-card { padding: 0 !important; overflow: hidden; }
.watchlist-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.watchlist-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1px; background: var(--border); }
.watchlist-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--surface);
  gap: 12px;
  transition: background 120ms;
}
.watchlist-item:hover { background: var(--row-hover, color-mix(in srgb, var(--accent) 4%, var(--surface))); }
.watchlist-info { flex: 1; min-width: 0; cursor: pointer; display: flex; flex-direction: column; gap: 4px; }
.watchlist-name { display: flex; align-items: center; gap: 8px; }
.watchlist-dot { font-size: 10px; }
.watchlist-display { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.watchlist-info:hover .watchlist-display { color: var(--accent); }
.watchlist-slug { font-size: 11px; opacity: 0.6; }
.watchlist-bids { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2px; align-items: center; }
.watchlist-bid-group { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.watchlist-bid {
  display: inline-block;
  padding: 2px 7px;
  background: var(--surface-2);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  letter-spacing: 0;
  text-transform: none;
}
.watchlist-remove {
  min-width: 32px; height: 32px;
  padding: 0 !important;
  font-size: 16px;
  color: var(--text-dim) !important;
  border-radius: 50% !important;
  flex-shrink: 0;
}
.watchlist-remove:hover { color: var(--danger) !important; border-color: var(--danger) !important; }

.trending-table { width: 100%; font-size: 13px; border-collapse: collapse; }
.trending-table th { font-size: 10px; padding: 6px 8px; text-align: left; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--surface); }
.trending-table td { padding: 6px 8px; border-bottom: 1px solid var(--border); }
.trending-table tbody tr:hover { background: var(--row-hover, rgba(255,255,255,0.02)); }
.trending-table b { cursor: pointer; }
.trending-table b:hover { color: var(--accent); }

.creds-panel { padding: 8px 0; }
.creds-form {
  margin-top: 10px;
  padding: 12px;
  background: var(--surface-2);
  border-radius: 8px;
  border: 1px dashed var(--border);
}
.creds-form input {
  background: var(--input-bg); color: var(--text);
  border: 1px solid var(--border-strong); border-radius: 6px;
  padding: 6px 10px;
}

.club-country-list { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.club-country { background: var(--surface-2); border-radius: 10px; overflow: hidden; }
.club-country summary.club-country-head {
  cursor: pointer;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  background: var(--surface);
  list-style: none;
  user-select: none;
  border-bottom: 1px solid var(--border);
}
.club-country summary.club-country-head::-webkit-details-marker { display: none; }
.club-country[open] summary.club-country-head { background: color-mix(in srgb, var(--accent) 6%, var(--surface)); }
.club-country .club-grid {
  margin-top: 0;
  background: transparent;
  padding: 10px;
  border-radius: 0;
}
.club-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
  margin-top: 12px;
  padding: 10px;
  background: var(--surface-2);
  border-radius: 10px;
}
.club-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: all 150ms;
}
.club-tile:hover { border-color: var(--accent); transform: translateY(-2px); background: color-mix(in srgb, var(--accent) 6%, var(--surface)); }
.club-tile img { width: 48px; height: 48px; object-fit: contain; }
.club-tile-name { font-size: 11px; font-weight: 600; color: var(--text); text-align: center; line-height: 1.2; }

.club-players-table { width: 100%; font-size: 13px; border-collapse: collapse; }
.club-players-table th { font-size: 10px; padding: 6px 8px; text-align: left; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; border-bottom: 1px solid var(--border); }
.club-players-table td { padding: 6px 8px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.club-players-table tbody tr:hover { background: var(--row-hover, rgba(255,255,255,0.03)); }
.club-players-table input[type="checkbox"] { width: 16px; height: 16px; cursor: pointer; }
.club-players-table b { cursor: pointer; }
.club-players-table b:hover { color: var(--accent); }

.autobuy-table { width: 100%; font-size: 12px; border-collapse: collapse; }
.autobuy-table th { font-size: 10px; padding: 4px 8px; text-align: left; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; border-bottom: 1px solid var(--border); }
.autobuy-table td { padding: 5px 8px; }
.autobuy-table tbody tr:hover { background: var(--row-hover, rgba(255,255,255,0.02)); }
.autobuy-table b { cursor: pointer; }
.autobuy-table b:hover { color: var(--accent); }

.bids-table { width: 100%; font-size: 13px; border-collapse: collapse; }
.bids-table td { text-align: center; padding: 10px 8px; vertical-align: top; }
.bids-table input {
  width: 72px;
  padding: 6px 8px;
  background: var(--input-bg);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  font-family: inherit;
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}
.bids-table input:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: var(--accent); }
.bids-table tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--surface-2) 30%, transparent); }
.bid-stat {
  display: flex;
  gap: 6px;
  justify-content: center;
  font-size: 10px;
  margin-top: 4px;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}
.bid-stat-median { color: var(--accent) !important; font-weight: 700; }
.bids-table th.bids-group {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-bottom: 1px solid var(--border);
}
.bids-table th.bids-group-current { color: var(--ok, #16a34a); }
.bids-table th.bids-group-old { color: var(--text-muted); border-left: 1px dashed var(--border-strong); }
.bids-table td.bids-old-cell { border-left: 1px dashed var(--border); background: color-mix(in srgb, var(--surface-2) 50%, transparent); }
.bids-table th:nth-child(6).bids-old-cell { border-left: 1px dashed var(--border-strong); }
.bids-table th, .bids-table td { padding: 4px 8px; }
.bids-table thead th { font-size: 10px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.bids-table tbody tr:hover { background: var(--row-hover, rgba(255,255,255,0.02)); }
.bids-table td b { cursor: pointer; }
.bids-table td b:hover { color: var(--accent); }
.bids-table input {
  background: var(--input-bg);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: 5px;
  font-family: inherit;
}

/* ─────────────────────────────────────────────────────────────────────
   Sorare Bot — admin panel styles
   Design: slight blue-biased neutrals, semantic colors isolated from
   accent, trading-dashboard eyebrow headings, tabular numerics.
   ───────────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

:root {
  color-scheme: dark light;

  /* type scale */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text',
               'Segoe UI', Roboto, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', ui-monospace, 'Menlo', 'Consolas', monospace;

  /* spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;

  /* radii */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  /* elevation (overridden per theme below) */
  --shadow-xs: 0 1px 2px rgba(16, 23, 36, 0.06);
  --shadow-sm: 0 1px 3px rgba(16, 23, 36, 0.08), 0 1px 2px rgba(16, 23, 36, 0.04);
  --shadow-md: 0 4px 12px rgba(16, 23, 36, 0.10), 0 2px 4px rgba(16, 23, 36, 0.06);
  --shadow-lg: 0 12px 32px rgba(16, 23, 36, 0.18), 0 4px 10px rgba(16, 23, 36, 0.08);

  /* motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 120ms;
  --dur-base: 200ms;
}

/* ── dark palette (default; media query path) ─────────────────────── */
@media (prefers-color-scheme: dark) {
  :root {
    --bg:            #0A0D13;
    --bg-elevated:   #0E131C;
    --surface:       #121722;
    --surface-2:     #19202F;
    --surface-3:     #202839;
    --border:        #232B3C;
    --border-strong: #313A4E;
    --text:          #E8ECF4;
    --text-muted:    #9AA3B5;
    --text-dim:      #6A7389;

    --accent:        #4C8DFF;
    --accent-hover:  #679DFF;
    --accent-ink:    #FFFFFF;
    --accent-wash:   rgba(76, 141, 255, 0.14);

    --ok:            #3DDC84;
    --ok-wash:       rgba(61, 220, 132, 0.14);
    --warn:          #F5A524;
    --warn-wash:     rgba(245, 165, 36, 0.14);
    --danger:        #F26B6B;
    --danger-wash:   rgba(242, 107, 107, 0.14);

    --input-bg:      #0C1119;
    --row-hover:     #171E2C;
    --row-stripe:    #121722;

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.25);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.55), 0 6px 14px rgba(0, 0, 0, 0.3);
  }
}

/* ── light palette (media query path) ─────────────────────────────── */
@media (prefers-color-scheme: light) {
  :root {
    --bg:            #F4F6FA;
    --bg-elevated:   #FFFFFF;
    --surface:       #FFFFFF;
    --surface-2:     #F1F4FA;
    --surface-3:     #E8EDF5;
    --border:        #E1E6EF;
    --border-strong: #CFD6E1;
    --text:          #0F1724;
    --text-muted:    #51607A;
    --text-dim:      #7B8699;

    --accent:        #2360E6;
    --accent-hover:  #1A50C8;
    --accent-ink:    #FFFFFF;
    --accent-wash:   rgba(35, 96, 230, 0.10);

    --ok:            #0F9D58;
    --ok-wash:       rgba(15, 157, 88, 0.10);
    --warn:          #B45309;
    --warn-wash:     rgba(180, 83, 9, 0.10);
    --danger:        #D23B3B;
    --danger-wash:   rgba(210, 59, 59, 0.08);

    --input-bg:      #FFFFFF;
    --row-hover:     #EEF3FB;
    --row-stripe:    #F8FAFD;
  }
}

/* ── explicit toggles always win over media query ─────────────────── */
:root[data-theme="dark"] {
  --bg:            #0A0D13;
  --bg-elevated:   #0E131C;
  --surface:       #121722;
  --surface-2:     #19202F;
  --surface-3:     #202839;
  --border:        #232B3C;
  --border-strong: #313A4E;
  --text:          #E8ECF4;
  --text-muted:    #9AA3B5;
  --text-dim:      #6A7389;

  --accent:        #4C8DFF;
  --accent-hover:  #679DFF;
  --accent-ink:    #FFFFFF;
  --accent-wash:   rgba(76, 141, 255, 0.14);

  --ok:            #3DDC84;
  --ok-wash:       rgba(61, 220, 132, 0.14);
  --warn:          #F5A524;
  --warn-wash:     rgba(245, 165, 36, 0.14);
  --danger:        #F26B6B;
  --danger-wash:   rgba(242, 107, 107, 0.14);

  --input-bg:      #0C1119;
  --row-hover:     #171E2C;
  --row-stripe:    #121722;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.25);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.55), 0 6px 14px rgba(0, 0, 0, 0.3);
}

:root[data-theme="light"] {
  --bg:            #F4F6FA;
  --bg-elevated:   #FFFFFF;
  --surface:       #FFFFFF;
  --surface-2:     #F1F4FA;
  --surface-3:     #E8EDF5;
  --border:        #E1E6EF;
  --border-strong: #CFD6E1;
  --text:          #0F1724;
  --text-muted:    #51607A;
  --text-dim:      #7B8699;

  --accent:        #2360E6;
  --accent-hover:  #1A50C8;
  --accent-ink:    #FFFFFF;
  --accent-wash:   rgba(35, 96, 230, 0.10);

  --ok:            #0F9D58;
  --ok-wash:       rgba(15, 157, 88, 0.10);
  --warn:          #B45309;
  --warn-wash:     rgba(180, 83, 9, 0.10);
  --danger:        #D23B3B;
  --danger-wash:   rgba(210, 59, 59, 0.08);

  --input-bg:      #FFFFFF;
  --row-hover:     #EEF3FB;
  --row-stripe:    #F8FAFD;

  --shadow-xs: 0 1px 1px rgba(16, 23, 36, 0.04);
  --shadow-sm: 0 1px 2px rgba(16, 23, 36, 0.06), 0 1px 1px rgba(16, 23, 36, 0.03);
  --shadow-md: 0 6px 16px rgba(16, 23, 36, 0.08), 0 2px 4px rgba(16, 23, 36, 0.04);
  --shadow-lg: 0 20px 50px rgba(16, 23, 36, 0.12), 0 6px 14px rgba(16, 23, 36, 0.06);
}

/* ── base ─────────────────────────────────────────────────────────── */
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  font-size: 14px;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: background var(--dur-base) var(--ease), color var(--dur-base) var(--ease);
}

::selection {
  background: var(--accent-wash);
  color: var(--text);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}

/* ── layout ───────────────────────────────────────────────────────── */
.wrap {
  max-width: none;
  margin: 0 auto;
  padding: var(--space-6) var(--space-8) 80px;
}
@media (min-width: 1600px) { .wrap { padding: 28px 48px 80px; } }
@media (max-width: 640px)  { .wrap { padding: var(--space-4) var(--space-3) 60px; } }

.header-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-4);
  padding-bottom: var(--space-5);
  margin-bottom: var(--space-5);
  border-bottom: 1px solid var(--border);
}

/* ── typography ───────────────────────────────────────────────────── */
h1 {
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 650;
  margin: 0 0 var(--space-2);
  text-wrap: balance;
}

/* h2 as trading-dashboard section eyebrow */
h2 {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: var(--space-8) 0 var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
h2::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--border), transparent);
  min-width: 20px;
}

.subtitle {
  color: var(--text-muted);
  margin: 0;
  font-size: 13px;
}

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--surface-2);
  color: var(--text);
  padding: 2px 5px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
}

/* ── theme toggle ─────────────────────────────────────────────────── */
.theme-toggle {
  background: var(--surface);
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  font-family: inherit;
  transition: color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease);
}
.theme-toggle:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: var(--surface-2);
}

/* ── stat cards ───────────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-xs);
  transition: border-color var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, var(--accent-wash), transparent 60%);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease);
}
.stat-card:hover { border-color: var(--border-strong); }
.stat-card:hover::before { opacity: 0.5; }

.stat-label {
  color: var(--text-muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.stat-value {
  font-size: 24px;
  font-weight: 650;
  margin-top: 6px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.stat-value.small {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-muted);
}

/* ── cards ────────────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  box-shadow: var(--shadow-xs);
}

/* ── row ──────────────────────────────────────────────────────────── */
.row { display: flex; gap: var(--space-3); align-items: center; }

/* ── form controls ────────────────────────────────────────────────── */
input[type="text"], input[type="password"], input[type="number"], select {
  flex: 1;
  background: var(--input-bg);
  color: var(--text);
  border: 1px solid var(--border-strong);
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  min-width: 0;
  font-family: inherit;
  line-height: 1.4;
  transition: border-color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease);
}
input::placeholder { color: var(--text-dim); }
input[type="text"]:hover,
input[type="password"]:hover,
input[type="number"]:hover,
select:hover {
  border-color: var(--text-dim);
}
input[type="text"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-wash);
}

input[type="number"] { font-variant-numeric: tabular-nums; }

/* ── buttons ──────────────────────────────────────────────────────── */
button {
  background: var(--accent);
  color: var(--accent-ink);
  border: 1px solid var(--accent);
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.3;
  white-space: nowrap;
  font-family: inherit;
  letter-spacing: 0.005em;
  transition: background var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
  box-shadow: var(--shadow-xs);
}
button:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}
button:active { transform: translateY(1px); box-shadow: none; }
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}
button:disabled:hover {
  background: var(--accent);
  border-color: var(--accent);
}

button.ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-strong);
  box-shadow: none;
}
button.ghost:hover {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--text-dim);
}

/* compact tab/chip used in table toolbars (periods / windows / filters) */
button.filter-chip {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  box-shadow: none;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  border-radius: 6px;
  letter-spacing: 0;
}
button.filter-chip:hover {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--border-strong);
}
button.filter-chip.active {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--text-dim);
  font-weight: 600;
}
.filter-input {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 6px;
  font-size: 11px;
  line-height: 1.2;
  font-family: inherit;
}
.filter-input:hover,
.filter-input:focus { border-color: var(--border-strong); outline: none; }

button.danger {
  background: transparent;
  color: var(--danger);
  border: 1px solid var(--danger);
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: none;
}
button.danger:hover {
  background: var(--danger-wash);
  color: var(--danger);
  border-color: var(--danger);
}

/* ── tables ───────────────────────────────────────────────────────── */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
thead th {
  text-align: left;
  padding: 10px var(--space-3);
  color: var(--text-dim);
  font-weight: 600;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1;
}
tbody td {
  padding: 10px var(--space-3);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  color: var(--text);
  transition: background var(--dur-fast) var(--ease);
}
tbody tr:nth-child(even) td { background: var(--row-stripe); }
tbody tr:hover td { background: var(--row-hover); }
tbody tr:last-child td { border-bottom: none; }

/* numeric alignment helpers (opt-in via td.num / th.num if ever added) */
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }

.scroll {
  max-height: 440px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}
.scroll table { font-size: 13px; }
.scroll table thead th { background: var(--surface-2); }

/* scrollbars (webkit) */
.scroll::-webkit-scrollbar { width: 10px; height: 10px; }
.scroll::-webkit-scrollbar-track { background: transparent; }
.scroll::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border: 2px solid var(--surface);
  border-radius: var(--radius-md);
}
.scroll::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }

/* ── rarity pills (dot + text pattern) ────────────────────────────── */
.rarity-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px 2px 7px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  text-transform: capitalize;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  line-height: 1.5;
}
.rarity-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 auto;
}

/* rarity hues — deeper, less neon, work on dark + light */
.rarity-limited {
  color: #C89C14;
  background: rgba(200, 156, 20, 0.10);
  border-color: rgba(200, 156, 20, 0.30);
}
.rarity-rare {
  color: #E85D5D;
  background: rgba(232, 93, 93, 0.10);
  border-color: rgba(232, 93, 93, 0.30);
}
.rarity-super_rare {
  color: #B47A33;
  background: rgba(180, 122, 51, 0.12);
  border-color: rgba(180, 122, 51, 0.32);
}
.rarity-unique {
  color: var(--accent);
  background: var(--accent-wash);
  border-color: color-mix(in oklab, var(--accent) 35%, transparent);
}

:root[data-theme="light"] .rarity-limited { color: #946D08; background: rgba(200, 156, 20, 0.14); }
:root[data-theme="light"] .rarity-rare    { color: #C84343; background: rgba(232, 93, 93, 0.10); }
:root[data-theme="light"] .rarity-super_rare { color: #8C5720; background: rgba(180, 122, 51, 0.12); }

/* ── discounts ────────────────────────────────────────────────────── */
.discount-high {
  color: var(--danger);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.discount-med {
  color: var(--warn);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.discount-low {
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

/* ── utilities ────────────────────────────────────────────────────── */
.muted { color: var(--text-dim); font-size: 12px; }
.flash-ok {
  color: var(--ok);
  font-size: 12.5px;
  font-weight: 500;
  margin-left: var(--space-2);
}
.flash-err {
  color: var(--danger);
  font-size: 12.5px;
  font-weight: 500;
  margin-left: var(--space-2);
}

.empty {
  text-align: center;
  padding: 48px var(--space-4);
  color: var(--text-dim);
  font-size: 13px;
}

/* ── clickable player row ─────────────────────────────────────────── */
.player-row td:first-child {
  font-weight: 550;
  cursor: pointer;
  color: var(--text);
  position: relative;
  transition: color var(--dur-fast) var(--ease);
}
.player-row td:first-child:hover { color: var(--accent); }
.player-row td:first-child::after {
  content: '→';
  margin-left: 6px;
  color: var(--text-dim);
  opacity: 0;
  transform: translateX(-4px);
  display: inline-block;
  transition: opacity var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease);
}
.player-row td:first-child:hover::after {
  opacity: 1;
  transform: translateX(0);
  color: var(--accent);
}

/* ── rarity-mini chip (used in watchlist analytics) ───────────────── */
.rarity-mini {
  display: inline-flex;
  align-items: baseline;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 1px 7px;
  margin: 1px 2px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}
.rarity-mini .n {
  color: var(--text);
  margin-left: 4px;
  font-weight: 600;
}

/* ── spinner ──────────────────────────────────────────────────────── */
.spinner {
  display: inline-block;
  width: 13px;
  height: 13px;
  border: 2px solid var(--border-strong);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: -2px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── digest card (hero summary strip) ─────────────────────────────── */
.digest-card {
  position: relative;
  background:
    linear-gradient(135deg, var(--accent-wash), transparent 70%),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}
.digest-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
}
.digest-item {
  font-size: 13px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.digest-item b {
  font-size: 20px;
  margin-right: 2px;
  color: var(--text);
  font-weight: 650;
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
}
.digest-best {
  color: var(--danger);
  font-weight: 600;
}
.digest-best b { color: var(--danger); }

/* ── filter bar ───────────────────────────────────────────────────── */
.filter-bar {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  flex-wrap: wrap;
  padding: var(--space-3) var(--space-4);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-3);
}
.filter-bar label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
}
.filter-bar select,
.filter-bar input {
  padding: 6px 10px;
  font-size: 12.5px;
  background: var(--input-bg);
}
.filter-bar input[type="number"] { width: 76px; }

/* ── chips ────────────────────────────────────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 500;
  margin-right: 4px;
  cursor: pointer;
  user-select: none;
  letter-spacing: 0.01em;
  transition: color var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease);
}
.chip:hover {
  color: var(--text);
  border-color: var(--border-strong);
}
.chip.active {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

/* ── modals ───────────────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 14, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: var(--space-5);
  animation: fade-in var(--dur-base) var(--ease);
}
.modal {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  max-width: 1100px;
  width: 100%;
  max-height: 85vh;
  overflow: auto;
  box-shadow: var(--shadow-lg);
  animation: modal-in 240ms var(--ease);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border);
  gap: var(--space-4);
}
.modal-close {
  cursor: pointer;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
  font-size: 18px;
  line-height: 1;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: var(--radius-sm);
}
.modal-close:hover {
  color: var(--text);
  background: var(--surface-2);
  border-color: var(--border);
}

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-in {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}

/* ── chart container ──────────────────────────────────────────────── */
.chart-container {
  position: relative;
  height: 340px;
  margin: var(--space-3) 0;
  padding: var(--space-3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

/* ── search results dropdown ──────────────────────────────────────── */
.search-results {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  max-height: 280px;
  overflow-y: auto;
  box-shadow: var(--shadow-md);
}
.search-result {
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  transition: background var(--dur-fast) var(--ease);
}
.search-result:hover { background: var(--row-hover); }
.search-result:last-child { border-bottom: none; }
.search-result b { font-weight: 600; color: var(--text); }

/* ── Telegram status pill ─────────────────────────────────────────── */
.tg-status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 12px;
  padding: 5px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 500;
}
.tg-on  { color: var(--ok); }
.tg-off { color: var(--text-muted); }

/* ── responsive ───────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
}
@media (max-width: 640px) {
  .wrap { padding: var(--space-4) var(--space-3) 60px; }
  .header-bar { flex-direction: column; align-items: stretch; gap: var(--space-3); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-2); }
  .stat-card { padding: var(--space-3) var(--space-4); }
  .stat-value { font-size: 20px; }
  thead th, tbody td { padding: 8px 8px; font-size: 12px; }
  h1 { font-size: 20px; }
  h2 { margin-top: var(--space-6); }
  .modal { padding: var(--space-4); border-radius: var(--radius-md); }
  .digest-card { padding: var(--space-3) var(--space-4); }
  .digest-item b { font-size: 17px; }
}

/* ── reduced motion ───────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =====================================================================
   SHELL — tabbed trading-terminal layout
   ===================================================================== */
.shell {
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}

.shell-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(220px, auto) 1fr auto;
  gap: var(--space-5);
  align-items: center;
  padding: 14px var(--space-6);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent-wash) 55%, transparent) 0%, transparent 100%),
    color-mix(in srgb, var(--bg-elevated) 92%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}
@media (max-width: 1100px) {
  .shell-header {
    grid-template-columns: 1fr;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
  }
}

/* brand block */
.shell-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.shell-brand-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background:
    radial-gradient(ellipse at 30% 25%, color-mix(in srgb, var(--accent) 90%, white 10%), var(--accent) 70%),
    var(--accent);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent) inset, 0 8px 24px -10px var(--accent);
  flex-shrink: 0;
}
.shell-brand-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent-ink);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 50%, transparent);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.08); }
}
.shell-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.shell-brand-title {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--text);
}
.shell-brand-sub {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
}

/* nav tabs */
.shell-tabs {
  display: flex;
  gap: 2px;
  padding: 3px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-xs);
  justify-self: center;
}
.shell-tab {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid transparent;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 550;
  cursor: pointer;
  letter-spacing: 0.01em;
  box-shadow: none;
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
  line-height: 1.2;
}
.shell-tab:hover { color: var(--text); background: var(--surface-2); border-color: transparent; }
.shell-tab.on {
  background: var(--bg-elevated);
  color: var(--text);
  box-shadow: 0 1px 2px rgba(0,0,0,0.08), 0 0 0 1px var(--border-strong) inset;
}

/* right-side controls */
.shell-controls {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}
.shell-controls-divider {
  width: 1px;
  height: 22px;
  background: var(--border);
}
.shell-logout { padding: 6px 12px; font-size: 12px; }
@media (max-width: 1100px) {
  .shell-controls { flex-wrap: wrap; justify-content: flex-start; }
}

/* status pills */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.status-pill-core { color: var(--text); }
.status-pill-detail {
  color: var(--text-dim);
  font-weight: 500;
  font-size: 11px;
  padding-left: 8px;
  border-left: 1px solid var(--border);
}
.status-pill-live { border-color: color-mix(in srgb, var(--ok) 45%, var(--border)); background: color-mix(in srgb, var(--ok-wash) 60%, var(--surface)); }
.status-pill-live .status-pill-core { color: var(--ok); }
.status-pill-dry  { border-color: color-mix(in srgb, var(--warn) 45%, var(--border)); background: color-mix(in srgb, var(--warn-wash) 60%, var(--surface)); }
.status-pill-dry .status-pill-core  { color: var(--warn); }
.status-pill-stop { border-color: color-mix(in srgb, var(--danger) 55%, var(--border)); background: color-mix(in srgb, var(--danger-wash) 70%, var(--surface)); }
.status-pill-stop .status-pill-core { color: var(--danger); }
.status-pill-off  { opacity: 0.75; }
.status-pill-gw { border-style: dashed; }
.status-pill-gw.live { border-style: solid; border-color: color-mix(in srgb, var(--danger) 40%, var(--border)); }

/* kill switch */
.shell-kill {
  background: var(--danger);
  color: #fff;
  border: 1px solid var(--danger);
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 2px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.1);
}
.shell-kill:hover { background: color-mix(in srgb, var(--danger) 85%, black); border-color: color-mix(in srgb, var(--danger) 85%, black); }
.shell-resume {
  background: var(--ok);
  color: #0b1510;
  border: 1px solid var(--ok);
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
}
.shell-resume:hover { background: color-mix(in srgb, var(--ok) 90%, white); border-color: color-mix(in srgb, var(--ok) 90%, white); }

/* main viewport */
.shell-main {
  flex: 1;
  padding: var(--space-6) var(--space-6) 100px;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
}
@media (max-width: 640px) {
  .shell-main { padding: var(--space-4) var(--space-3) 80px; }
}

/* generic pane primitives */
.pane {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.pane-head {
  margin-bottom: var(--space-3);
}
.pane-head-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pane-head-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--border), transparent);
  min-width: 20px;
}
.pane-head-sub {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-dim);
}
.pane-loading {
  display: flex;
  justify-content: center;
  padding: 80px 20px;
}
.pane-empty {
  text-align: center;
  padding: 80px var(--space-4);
  color: var(--text-dim);
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
}
.pane-empty-title {
  font-size: 15px;
  color: var(--text);
  margin: 0 0 6px;
  text-transform: none;
  letter-spacing: 0;
}
.pane-empty-title::after { display: none; }
.pane-empty-body { margin: 0; font-size: 13px; max-width: 440px; margin-inline: auto; }

/* monitor-pane: 2-col grid at >=1100px */
.monitor-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-5);
}
@media (max-width: 1100px) {
  .monitor-grid { grid-template-columns: 1fr; }
}
.monitor-section { display: flex; flex-direction: column; }

/* =====================================================================
   BIDS VIEW — player cards with inline-editable rarity tiles
   ===================================================================== */
.bids-view { display: flex; flex-direction: column; gap: var(--space-4); }

.bids-toolbar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: var(--space-3);
  align-items: center;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
}
@media (max-width: 720px) {
  .bids-toolbar { grid-template-columns: 1fr; }
}
.bids-toolbar-search {
  position: relative;
  display: flex;
  align-items: center;
}
.bids-toolbar-search-ico {
  position: absolute;
  left: 12px;
  color: var(--text-dim);
  pointer-events: none;
  font-size: 14px;
}
.bids-toolbar-search input {
  padding-left: 34px;
  background: var(--input-bg);
}
.bids-toolbar-segment {
  display: inline-flex;
  padding: 3px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  gap: 2px;
}
.bids-toolbar-segment button {
  background: transparent;
  color: var(--text-muted);
  border: none;
  box-shadow: none;
  padding: 6px 14px;
  font-size: 12.5px;
  border-radius: 999px;
  font-weight: 550;
}
.bids-toolbar-segment button:hover { color: var(--text); background: color-mix(in srgb, var(--surface) 50%, transparent); }
.bids-toolbar-segment button.on {
  background: var(--bg-elevated);
  color: var(--text);
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.bids-toolbar-sort label {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
}
.bids-toolbar-sort select {
  padding: 6px 10px;
  font-size: 12.5px;
  background: var(--input-bg);
  min-width: 160px;
}

.bids-count {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  padding-left: 4px;
}

.bids-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* a single player card */
.bid-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-xs);
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr auto;
  grid-template-rows: auto auto;
  grid-template-areas:
    "head grid foot"
    "head grid foot";
  gap: var(--space-4);
  align-items: center;
  transition: border-color var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
}
.bid-card:hover { border-color: var(--border-strong); }
.bid-card-active {
  box-shadow: inset 3px 0 0 var(--accent), var(--shadow-xs);
}
.bid-card-dirty {
  box-shadow: inset 3px 0 0 var(--warn), var(--shadow-sm);
  border-color: color-mix(in srgb, var(--warn) 25%, var(--border-strong));
}
@media (max-width: 980px) {
  .bid-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "head"
      "grid"
      "foot";
    gap: var(--space-3);
  }
}

.bid-card-head {
  grid-area: head;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  min-width: 0;
  padding: 2px 0;
  position: relative;
}
.bid-card-status {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.bid-card-status.on {
  background: var(--ok);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 20%, transparent);
}
.bid-card-status.off { background: var(--text-dim); opacity: 0.5; }
.bid-card-identity { min-width: 0; flex: 1; }
.bid-card-name {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bid-card-head:hover .bid-card-name { color: var(--accent); }
.bid-card-sub {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 2px;
}
.bid-card-slug { font-size: 11px; color: var(--text-dim); font-family: var(--font-mono); }
.bid-card-count {
  font-size: 11px;
  color: var(--accent);
  font-weight: 500;
}
.bid-card-arrow {
  color: var(--text-dim);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.bid-card-head:hover .bid-card-arrow { opacity: 1; transform: translateX(0); color: var(--accent); }

.bid-card-grid {
  grid-area: grid;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}
@media (max-width: 640px) {
  .bid-card-grid { grid-template-columns: repeat(2, 1fr); }
}

.bid-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 10px 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: text;
  transition: border-color var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease);
}
.bid-tile:hover { border-color: var(--border-strong); }
.bid-tile:focus-within {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent-wash) 50%, var(--surface-2));
}
.bid-tile-on {
  background: color-mix(in srgb, var(--accent-wash) 30%, var(--surface-2));
  border-color: color-mix(in srgb, var(--accent) 25%, var(--border));
}
.bid-tile-dirty {
  border-color: color-mix(in srgb, var(--warn) 60%, var(--border));
  background: color-mix(in srgb, var(--warn-wash) 25%, var(--surface-2));
}
.bid-tile-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  font-size: 10px;
}
.bid-tile-med {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  text-transform: none;
}
.bid-tile-med.muted { opacity: 0.4; }
.bid-tile-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.bid-tile-dollar {
  position: absolute;
  left: 10px;
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 500;
  pointer-events: none;
}
.bid-tile input {
  width: 100%;
  padding: 7px 10px 7px 22px;
  background: var(--input-bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  font-family: inherit;
  font-size: 15px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  text-align: left;
}
.bid-tile input::placeholder { color: var(--text-dim); font-weight: 500; opacity: 0.6; }
.bid-tile input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-wash);
}

.bid-card-foot {
  grid-area: foot;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  min-width: 180px;
}
@media (max-width: 980px) {
  .bid-card-foot {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    min-width: 0;
  }
}
.bid-card-foot-status {
  font-size: 11.5px;
  text-align: right;
}
@media (max-width: 980px) {
  .bid-card-foot-status { text-align: left; flex: 1; }
}
.bid-card-foot-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.bid-card-foot-actions button {
  padding: 7px 14px;
  font-size: 12px;
}

/* Clear hierarchy for operational state, amounts and editing limits. */
.shell-main h1 { font-size: 28px; margin: 0 0 8px; letter-spacing: -0.035em; }
.shell-header { grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; }
.shell-brand-sub { font-size: 12px; }
.shell-tabs { flex-wrap: wrap; }
.shell-tabs { width: max-content; max-width: 100%; justify-self: start; }
.shell-tab { white-space: nowrap; min-height: 42px; }
.shell-controls { flex-wrap: wrap; }
.shell-kill, .shell-resume { min-height: 40px; font-size: 13px; }
.kill-control { display: flex; flex-direction: column; gap: 6px; }
.kill-control .flash-err { max-width: 220px; font-size: 12px; }
.shell-settings { position: relative; font-size: 13px; }
.shell-settings > summary { cursor: pointer; padding: 10px; color: var(--text-dim); }
.shell-settings-menu { position: absolute; right: 0; top: 100%; z-index: 60; min-width: 250px; display: flex; flex-direction: column; align-items: stretch; gap: 12px; padding: 18px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 12px; box-shadow: var(--shadow-sm); }
.monitor-section, .card { min-width: 0; }
.monitor-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.overview-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.eyebrow { display: block; font-size: 12px; color: var(--text-dim); margin-bottom: 8px; }
.overview-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.overview-card { padding: 22px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.overview-card > span { font-size: 13px; color: var(--text-dim); }
.overview-card strong { font-size: 24px; font-weight: 650; letter-spacing: -0.03em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.overview-card small { font-size: 13px; line-height: 1.5; color: var(--text-dim); }
.overview-card.mode-live { border-color: var(--ok); }
.overview-card.mode-live strong { color: var(--ok); }
.overview-card.mode-dry strong { color: var(--warn); }
.overview-card.mode-stop strong { color: var(--danger); }
.overview-card progress { width: 100%; height: 6px; accent-color: var(--accent); }
.section-note { font-size: 13px; line-height: 1.6; color: var(--text-dim); }
.freshness { font-size: 12px; color: var(--text-dim); }
.freshness.stale { color: var(--warn); }
.page-freshness { text-align: right; margin-bottom: 12px; }
.load-error { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; margin-bottom: 16px; background: var(--warn-wash); border: 1px solid var(--warn); border-radius: 10px; color: var(--text); font-size: 14px; }
.table-scroll { width: 100%; overflow: auto; }
.operations-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 8px 0 18px; }
.filter-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-pills button { min-height: 36px; font-size: 13px; padding: 6px 10px; }
.filter-pills button.active { background: var(--accent-wash); color: var(--text); border-color: var(--accent); }
.operations-table { min-width: 620px; }
.operations-table th { font-size: 12px; text-transform: none; letter-spacing: 0; padding: 12px; position: sticky; top: 0; background: var(--surface); z-index: 1; }
.operations-table td { padding: 14px 12px; font-size: 13px; vertical-align: top; border-bottom: 1px solid var(--border); }
.operations-table .muted { font-size: 13px; }
.operation-state { display: inline-flex; padding: 5px 9px; border-radius: 6px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.operation-state.success { color: var(--ok); background: var(--ok-wash); }
.operation-state.pending { color: var(--accent); background: var(--accent-wash); }
.operation-state.test, .operation-state.warning { color: var(--warn); background: var(--warn-wash); }
.operation-state.error { color: var(--danger); background: var(--danger-wash); }
.operation-kind, .operation-price small { display: block; font-size: 12px; color: var(--text-dim); line-height: 1.5; margin-top: 6px; }
.operation-price strong { font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.operations-table details { margin-top: 6px; max-width: 250px; }
.operations-table summary { color: var(--text-dim); cursor: pointer; }
.operations-table details p { line-height: 1.5; }
.operations-table code { overflow-wrap: anywhere; }
.purchase-recovery { max-width:250px; margin-top:10px; padding-top:8px; border-top:1px solid var(--border); font-size:12px; line-height:1.5; overflow-wrap:anywhere; }
.purchase-recovery p { margin:4px 0 8px; }
.purchase-recovery button { margin-top:6px; min-height:40px; }
.purchase-recovery ul { padding-left:16px; }
.purchase-recovery li { margin-bottom:10px; }
.ops-view .overview-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.ops-view .overview-card strong { font-size:20px; overflow-wrap:anywhere; }
.ops-view .card { margin:18px 0; padding:20px; }
.ops-check { display:flex; align-items:center; gap:12px; padding:13px 0; border-bottom:1px solid var(--border); }
.ops-check>span { width:24px; font-size:20px; color:var(--text-dim); }
.ops-check>div { flex:1; min-width:0; }
.ops-check small { display:block; color:var(--text-dim); margin-top:5px; overflow-wrap:anywhere; }
.ops-check.ok>span { color:#16a34a; }
.ops-check.bad>span,.ops-check.bad>b { color:#ef4444; }
.ops-check>b { font-size:12px; }
.ops-history>div { display:grid; gap:6px; padding:14px 0; border-bottom:1px solid var(--border); }
.ops-history small,.ops-history span { color:var(--text-dim); overflow-wrap:anywhere; }
@media(max-width:760px) { .ops-view .overview-cards { grid-template-columns:1fr; } .ops-view .card { padding:16px; } }
@media(max-width:640px) { .purchase-recovery { max-width:180px; text-align:left; } }
.player-link { background: transparent; border: 0; color: var(--text); padding: 0; text-align: left; font-weight: 600; font-size: 14px; text-transform: capitalize; }
.player-link:hover { color: var(--accent); background: transparent; }
.profile-rule { display:grid; gap:6px; margin-top:8px; font-size:11px; line-height:1.45; color:var(--text-dim); overflow-wrap:anywhere; }
.profile-rule small { display:block; }
.profile-rule ul { margin:6px 0; padding-left:14px; }
.profile-rule button { width:100%; white-space:normal; padding:8px; font-size:11px; }
.card-availability { margin:16px 0; }
.card-availability h3 { margin-top:0; }
.card-availability details .row { margin-top:12px; }
.player-hero-info:only-child { grid-column:1 / -1; }
.player-avatar { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: var(--accent-wash); color: var(--accent); font-size: 14px; font-weight: 700; }
.account-settings summary { cursor: pointer; font-weight: 600; font-size: 15px; }
.operation-totals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 20px 0 10px; }
.operation-totals > div { padding: 16px; background: var(--surface-2); border-radius: 10px; display: flex; flex-direction: column; gap: 8px; }
.operation-totals span, .operation-totals small { font-size: 13px; color: var(--text-dim); }
.operation-totals strong { font-size: 22px; font-variant-numeric: tabular-nums; }
.limits-fields { border: 0; padding: 0; margin: 0; min-width: 0; }
.unsaved-bar { position: sticky; top: 108px; z-index: 25; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; margin: 16px 0; background: var(--surface); border: 1px solid var(--warn); border-radius: 12px; box-shadow: var(--shadow-sm); }
.unsaved-bar > div:first-child { display: flex; flex-direction: column; gap: 6px; }
.unsaved-bar strong { font-size: 14px; }
.unsaved-bar span { font-size: 13px; color: var(--text-dim); }
.unsaved-label { color: var(--warn); font-size: 13px; }
.limit-state { color: var(--text-dim); font-size: 13px; line-height: 1.5; }
.bid-card { grid-template-columns: minmax(180px, 240px) minmax(0, 1fr) 180px; }
.bid-card-count, .bid-card-slug { font-size: 13px; }
.bid-tile-head { flex-wrap: wrap; gap: 8px; }
.bid-tile-med { font-size: 12px; }
.bid-tile-label { font-size: 12px; color: var(--text-dim); }
.bid-card-foot { min-width: 0; }
.bid-card-foot-actions button { font-size: 13px; min-height: 38px; }
.live-auctions .trending-table th { font-size: 12px; text-transform: none; }
.live-auctions .trending-table td { padding: 12px 8px; }
.live-auctions > p { font-size: 13px !important; line-height: 1.6; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 1400px) {
  .shell-header { grid-template-columns: auto 1fr; }
  .shell-controls { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 1100px) {
  .monitor-grid { grid-template-columns: minmax(0, 1fr); }
  .overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bid-card { grid-template-columns: 1fr; grid-template-areas: "head" "grid" "foot"; }
  .bid-card-foot { flex-direction: row; align-items: center; justify-content: space-between; }
  .unsaved-bar { top: 160px; }
}
@media (max-width: 640px) {
  .shell-header { position: static; display: flex; flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; }
  .shell-brand-mark { width: 30px; height: 30px; }
  .shell-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
  .shell-tabs { width: 100%; }
  .shell-tab { padding: 8px 4px; font-size: 13px; }
  .shell-controls { gap: 10px; }
  .overview-heading { align-items: flex-start; flex-direction: column; }
  .overview-card { padding: 16px; }
  .overview-card strong { font-size: 20px; overflow-wrap: anywhere; }
  .operation-totals { grid-template-columns: 1fr; }
  .unsaved-bar { top: 8px; flex-direction: column; align-items: stretch; }
  .unsaved-bar .row { justify-content: flex-end; flex-wrap: wrap; }
  .bid-card-foot { flex-direction: column; align-items: stretch; }
  .bid-card-foot-status { text-align: left; }
  .bid-card-foot-actions { justify-content: flex-end; }
  .load-error { flex-wrap: wrap; }
  .bid-tile input { font-size: 16px; min-height: 42px; }
  .operations-table { min-width: 0; display: block; }
  .operations-table thead { display: none; }
  .operations-table tbody { display: grid; gap: 16px; }
  .operations-table tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--border); }
  .operations-table td { padding: 0; border: 0; min-width: 0; }
  .operations-table td:first-child { grid-column: 1; grid-row: 1; }
  .operations-table td:nth-child(2) { grid-column: 2; grid-row: 1; text-align: right; }
  .operations-table td:nth-child(3) { grid-column: 1 / -1; grid-row: 2; }
  .operations-table td:nth-child(4) { grid-column: 1; grid-row: 3; }
  .operations-table td:nth-child(5) { grid-column: 2; grid-row: 3; text-align: right; }
  .operations-table .player-link { overflow-wrap: anywhere; }
  .operations-table details { max-width: 130px; text-align: left; }
}

/* Purchase nets: the same controls remain available on phones. */
.nets-view { display:flex; flex-direction:column; gap:20px; }
.net-summary { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.net-summary-card { text-align:left; padding:18px; display:flex; flex-direction:column; gap:10px; color:var(--text); background:var(--surface); border:1px solid var(--border); border-radius:12px; }
.net-summary-card span { font-size:13px; color:var(--text-dim); }
.net-summary-card strong { font-size:28px; font-variant-numeric:tabular-nums; }
.net-summary-card.selected { border-color:var(--accent); background:var(--accent-wash); }
.net-scan-controls h2 { margin:0 0 10px; font-size:18px; text-transform:none; letter-spacing:0; }
.net-scan-settings { display:flex; flex-wrap:wrap; align-items:end; gap:16px; margin-top:16px; }
.net-scan-settings label,.net-discount-edit,.net-price-edit { display:flex; flex-direction:column; gap:7px; font-size:13px; color:var(--text-dim); }
.net-scan-settings .net-activate-toggle { flex-direction:row; align-items:center; margin-bottom:10px; }
.net-scan-progress { margin-top:20px; border-top:1px solid var(--border); padding-top:16px; }
.net-scan-progress>div { display:flex; flex-direction:column; gap:8px; font-size:13px; }
.net-scan-progress span { color:var(--text-dim); }
.net-scan-progress progress { width:100%; height:8px; margin-top:12px; accent-color:var(--accent); }
.nets-toolbar { display:grid; grid-template-columns:minmax(180px,2fr) repeat(3,minmax(120px,1fr)); gap:10px; }
.nets-toolbar input,.nets-toolbar select,.net-card-actions input,.net-card-actions select,.net-scan-settings select { width:100%; min-width:0; min-height:42px; padding:9px 11px; background:var(--input-bg); border:1px solid var(--border-strong); border-radius:8px; color:var(--text); font:inherit; }
.nets-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.net-card { padding:20px; border:1px solid var(--border); border-radius:14px; background:var(--surface); min-width:0; }
.net-card.net-active { border-left:3px solid var(--ok); }
.net-card.net-review { border-left:3px solid var(--warn); }
.net-card.net-fulfilled { opacity:.8; }
.net-card-head { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.net-card-head .player-link { font-size:17px; flex:1; min-width:120px; }
.net-state { padding:5px 8px; background:var(--surface-2); border-radius:6px; font-size:12px; color:var(--text-dim); }
.net-state.active { background:var(--ok-wash); color:var(--ok); }
.net-state.review { background:var(--warn-wash); color:var(--warn); }
.net-card-meta { margin:12px 0 18px; color:var(--text-dim); font-size:13px; line-height:1.7; }
.net-prices { display:grid; grid-template-columns:1.25fr 1.5fr .75fr; gap:10px; padding:14px; background:var(--surface-2); border-radius:10px; }
.net-prices>div { display:flex; flex-direction:column; gap:8px; min-width:0; }
.net-prices span { font-size:12px; color:var(--text-dim); }
.net-prices strong { font-size:23px; font-variant-numeric:tabular-nums; }
.net-limit strong { color:var(--accent); }
.net-evidence { display:flex; flex-wrap:wrap; gap:9px 16px; margin:16px 0; color:var(--text-dim); font-size:13px; }
.net-reasons { margin:14px 0; padding:12px; background:var(--warn-wash); border-radius:8px; font-size:13px; }
.net-reasons summary { cursor:pointer; color:var(--warn); line-height:1.5; }
.net-reasons ul { padding-left:20px; line-height:1.6; }
.net-reasons li+li { margin-top:7px; }
.net-card-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:end; gap:10px; }
.net-card-actions button { min-height:42px; padding:9px 12px; font-size:13px; white-space:normal; }
.net-reject { color:var(--danger); }
.net-card-footer { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; border-top:1px solid var(--border); padding-top:12px; margin-top:16px; font-size:12px; color:var(--text-dim); }
.net-bulk { display:flex; align-items:center; flex-wrap:wrap; gap:10px; position:sticky; top:90px; z-index:25; background:var(--surface); border:1px solid var(--accent); padding:12px; border-radius:10px; }
.nets-list-head,.nets-pagination { display:flex; align-items:center; justify-content:space-between; gap:12px; font-size:13px; color:var(--text-dim); }
.nets-list-head label { display:flex; align-items:center; gap:8px; }
.nets-pagination { justify-content:center; padding:12px 0; }
.net-notice { padding:12px 16px; background:var(--accent-wash); border-radius:8px; font-size:14px; line-height:1.5; }
@media(max-width:1100px){.nets-list{grid-template-columns:minmax(0,1fr)}.nets-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.net-bulk{top:150px}}
@media(max-width:640px){
  html,body,#app,.shell,.wrap,.shell-main { max-width:100%; min-width:0; }
  input,select,textarea { font-size:16px!important; }
  button { touch-action:manipulation; }
  .shell-header { padding:14px 12px; }
  .shell-tabs { position:fixed; bottom:0; left:0; z-index:80; width:100%; max-width:100%; display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); padding:6px 6px calc(6px + env(safe-area-inset-bottom)); border-radius:0; background:var(--surface); border-top:1px solid var(--border-strong); box-shadow:0 -5px 20px #0002; }
  .shell-tab { font-size:12px; min-height:46px; padding:8px 3px; }
  .shell-main,.wrap.player-page { padding-bottom:calc(110px + env(safe-area-inset-bottom)); }
  .shell-controls { gap:8px; }
  .shell-settings-menu { position:fixed; right:12px; top:110px; max-width:calc(100vw - 24px); }
  .watchlist-list { grid-template-columns:minmax(0,1fr); }
  .watchlist-item { padding:12px; min-width:0; }
  .watchlist-display { font-size:16px; overflow-wrap:anywhere; }
  .watchlist-bids { gap:6px; }
  .player-main-grid,.sales-split { min-width:0; }
  .player-page .panel,.player-page .context-card { max-width:100%; overflow-x:auto; }
  .player-hero-name-row { min-width:0; }
  .player-hero-info h1 { font-size:23px; overflow-wrap:anywhere; }
  .header-bar .row { flex-wrap:wrap; }
  .bids-toolbar { padding:12px; }
  .bid-card-head { min-height:44px; }
  .bid-card-name { white-space:normal; }
  .bid-card-foot-actions button,.filter-pills button,.bids-toolbar-segment button { min-height:42px; }
  .chart-container { min-width:0; max-width:100%; }
  .nets-view { gap:16px; }
  .net-summary { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .net-summary-card { padding:14px; min-height:92px; }
  .net-summary-card strong { font-size:25px; }
  .net-card { padding:14px; }
  .net-card-head .player-link { font-size:16px; min-width:100px; }
  .net-card-head>input { width:22px; height:22px; margin:6px; flex-shrink:0; }
  .net-state { font-size:12px; }
  .net-prices { padding:12px; gap:8px; grid-template-columns:1fr 1.2fr .6fr; }
  .net-prices strong { font-size:20px; overflow-wrap:anywhere; }
  .net-card-actions button { min-height:44px; }
  .net-scan-settings { align-items:stretch; gap:12px; }
  .net-scan-settings>label:first-child { width:90px; }
  .net-scan-settings>button { width:100%; min-height:46px; }
  .net-scan-settings .net-activate-toggle { flex:1; min-width:160px; margin:0; font-size:13px; }
  .nets-toolbar { gap:8px; }
  .nets-toolbar>input { grid-column:1/-1; }
  .nets-toolbar>select:last-child { grid-column:1/-1; }
  .net-bulk { top:8px; }
  .net-bulk button { min-height:42px; }
  .nets-pagination button { min-height:44px; }
  .net-card-footer { line-height:1.6; }
}
@media(max-width:640px){html{scroll-padding-bottom:100px}.shell-settings>summary{scroll-margin-bottom:100px;scroll-margin-top:16px}.net-card-actions input,.net-card-actions button{scroll-margin-bottom:110px}}
@media(max-width:640px){.shell-header{backdrop-filter:none;-webkit-backdrop-filter:none}}
.nets-list-head{scroll-margin-top:115px}
@media(max-width:640px){
 .kill-control{position:fixed;right:12px;bottom:calc(68px + env(safe-area-inset-bottom));z-index:85;max-width:calc(100vw - 24px)}
 .kill-control button{font-size:12px;min-height:42px;box-shadow:0 4px 18px #0003}
 .shell-main,.wrap.player-page{padding-bottom:calc(170px + env(safe-area-inset-bottom))}
 html{scroll-padding-bottom:170px}.net-card-actions input,.net-card-actions button{scroll-margin-bottom:175px}
 .nets-list-head{scroll-margin-top:16px}
}
.price-history-entry,.price-history-tools{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:16px 0}.price-history-entry button{min-height:44px}.price-history-tools{justify-content:space-between;font-size:13px;color:var(--text-muted)}.price-history-tools a{display:inline-block;padding:10px 14px;border:1px solid var(--border);border-radius:9px;text-decoration:none;color:var(--text)}.price-history-wrap{overflow-x:auto;padding:0}.price-history-table{width:100%;border-collapse:collapse;font-size:13px}.price-history-table th{white-space:nowrap}.price-history-table td{padding:15px 12px;vertical-align:top}.price-history-table small{display:block;color:var(--text-muted);font-size:11px;margin-top:5px;overflow-wrap:anywhere}.price-history-table time{white-space:nowrap;font-size:12px}.price-history-new{font-weight:700}.price-history-drop{color:var(--ok)}.price-history-player{min-width:150px}.price-history-filters{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:640px){.price-history-wrap{background:none;border:0;overflow:visible}.price-history-table thead{display:none}.price-history-table,.price-history-table tbody{display:block;width:100%}.price-history-table tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:14px;margin-bottom:12px}.price-history-table td{display:block;padding:0;border:0;min-width:0;overflow-wrap:anywhere}.price-history-table td::before{content:attr(data-label);display:block;color:var(--text-muted);font-size:11px;margin-bottom:4px;font-weight:400}.price-history-table td:first-child,.price-history-table td:nth-child(2),.price-history-table td:last-child{grid-column:1/-1}.price-history-table td:first-child::before,.price-history-table td:nth-child(2)::before{display:none}.price-history-player{min-width:0}.price-history-filters{grid-template-columns:1fr 1fr}.price-history-filters input{grid-column:1/-1}.price-history-tools a{min-height:44px}.price-history-entry{align-items:stretch;flex-direction:column}}

.resale-status{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:18px 0}.resale-status .section-note{max-width:700px}.resale-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.resale-card{min-width:0}.resale-card .player-link{overflow-wrap:anywhere;min-width:0}.resale-card-footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:18px;font-size:12px}.resale-error{color:var(--warn);overflow-wrap:anywhere}@media(max-width:900px){.resale-list{grid-template-columns:minmax(0,1fr)}}@media(max-width:640px){.resale-status{align-items:stretch;flex-direction:column}.resale-card .net-prices{grid-template-columns:repeat(2,minmax(0,1fr))}.resale-card .net-prices>div:last-child{grid-column:1/-1}.resale-card-footer a{padding:10px 0}}

.performance-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}.performance-grid .overview-card{min-width:0}.performance-toolbar{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:18px 0}.performance-toolbar label{display:flex;align-items:center;gap:10px;font-size:13px}.performance-toolbar select{font:inherit;min-height:44px;padding:10px;background:var(--input-bg);color:var(--text);border:1px solid var(--border);border-radius:8px}.performance-profit{color:var(--ok)}.performance-loss{color:var(--danger,#f87171)}.performance-table-wrap{max-width:100%;overflow-x:auto}.performance-view>.card{margin-bottom:16px}.performance-position{display:grid;grid-template-columns:minmax(160px,2fr) repeat(3,minmax(90px,1fr));gap:14px;padding:16px 0;border-bottom:1px solid var(--border);align-items:center}.performance-position>div{min-width:0}.performance-position small{display:block;font-size:11px;color:var(--text-muted);margin-bottom:5px}.performance-position .player-link{overflow-wrap:anywhere}.performance-view h2{font-size:17px}@media(max-width:900px){.performance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.performance-grid{grid-template-columns:minmax(0,1fr)}.performance-position{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.performance-position>div:first-child{grid-column:1/-1}.performance-position b{font-size:13px}.performance-toolbar{align-items:stretch;flex-direction:column}.performance-toolbar label{justify-content:space-between}}

.profile-rule-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0}.profile-rule-grid>div{min-width:0}.profile-rule{overflow-wrap:anywhere}@media(max-width:600px){.profile-rule-grid{grid-template-columns:1fr}}

.club-badge,.age-badge{display:inline-flex;align-items:center;border:1px solid currentColor;border-radius:8px;padding:3px 7px;font-size:12px;font-weight:600;line-height:1.4;max-width:100%;overflow-wrap:anywhere}.club-top{color:#168346;background:#22c55e14}.club-middle{color:#a57600;background:#eab30816}.club-low{color:#d34444;background:#ef444414}.club-unknown{color:var(--text-muted);border-color:var(--border)}.age-badge{color:#6376d9;background:#6366f114;white-space:nowrap}html[data-theme="dark"] .club-top{color:#5cdb94}html[data-theme="dark"] .club-middle{color:#f3cc67}html[data-theme="dark"] .club-low{color:#ff9090}.profile-rule-grid .profile-rule{margin-top:6px}#player-limits .bids-table-v2{table-layout:fixed}#player-limits .bids-table-v2 th:first-child{width:38%}#player-limits .bids-table-v2 td{vertical-align:middle}#player-limits .bids-table-v2 input{box-sizing:border-box}@media(max-width:640px){.player-page .kill-control{position:static;max-width:100%}}
.profile-rule-grid>div>b{display:block;margin-bottom:6px}#player-limits .bids-table-v2 th{padding:6px 4px;white-space:nowrap;letter-spacing:.025em}

.channel-price-note{display:block;font-size:10px;font-weight:400;color:var(--text-muted);margin-top:3px}

.owner-offer-list{display:grid;gap:12px;margin:16px 0}.owner-offer-row{display:grid;grid-template-columns:minmax(140px,1fr) auto minmax(200px,2fr) auto;gap:14px;align-items:center}.owner-offer-row>div{min-width:0;overflow-wrap:anywhere}.owner-offer-row small{display:block;color:var(--text-muted);font-size:12px;margin-top:5px}.owner-offers-view details p{overflow-wrap:anywhere}.owner-offers-view details small{display:block;color:var(--text-muted)}@media(max-width:700px){.owner-offer-row{grid-template-columns:minmax(0,1fr) auto}.owner-offer-row>div:nth-of-type(2){grid-column:1/-1}.owner-offer-row>button{grid-column:1/-1}}

.offers-heading,.offer-title,.offer-footer,.offers-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px}.offers-heading h1{margin-bottom:6px}.offers-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0 12px}.offers-filters{display:flex;gap:12px}.offers-filters input{flex:1;min-width:0}.offers-filters select{max-width:230px}.offer-item{min-width:0;overflow-wrap:anywhere}.offer-title>div{min-width:0}.offer-title .player-link{font-size:16px}.offer-title small,.offer-item small{display:block;color:var(--text-muted);font-size:12px;margin-top:5px}.offer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0}.offer-grid>div{min-width:0}.offer-grid span{display:block;color:var(--text-muted);font-size:12px;margin-bottom:5px}.offer-live{color:#22c55e}.offer-footer{border-top:1px solid var(--border);padding-top:12px}.offers-pagination{justify-content:center;margin:20px 0}.owner-offers-view .card{padding:18px}.offers-tabs button[aria-selected=true]{background:var(--accent);color:white}.owner-offers-view summary{cursor:pointer}
@media(max-width:600px){.offers-heading{align-items:flex-start;flex-wrap:wrap}.offers-heading h1{font-size:23px}.offers-heading>a{font-size:12px}.offers-filters{flex-direction:column}.offers-filters select{max-width:none;width:100%}.offers-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.offers-tabs button{font-size:12px;padding:9px 6px;min-width:0}.offer-grid{grid-template-columns:minmax(0,1fr)}.offer-title{align-items:flex-start}.offer-title>b{flex-shrink:0}.offer-footer{flex-wrap:wrap}.owner-offers-view .card{padding:14px}.owner-offers-view .resale-status{gap:12px;flex-wrap:wrap}}

.offers-rules{margin:12px 0 18px;color:var(--text-muted);font-size:13px}.offer-item a{color:var(--accent)}.offer-item a:hover{text-decoration:underline}.offer-title .player-link{color:var(--accent)}

.aa-page h1{margin:16px 0 8px}.aa-method{margin:18px 0;color:var(--text-muted);font-size:13px}.aa-method p{line-height:1.7}.aa-method a{color:var(--accent)}.aa-coverage{display:flex;gap:12px;flex-wrap:wrap;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:16px;margin:16px 0}.aa-coverage small{flex-basis:100%;color:var(--text-muted)}.aa-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.aa-filters label{display:grid;gap:7px;font-size:12px;color:var(--text-muted);min-width:0}.aa-filters input,.aa-filters select{width:100%;min-width:0}.aa-list{display:grid;gap:14px}.aa-player{padding:20px;min-width:0}.aa-player-head{display:flex;align-items:center;gap:14px}.aa-rank{color:var(--text-muted);font-size:14px;min-width:20px}.aa-player-name{flex:1;min-width:0;overflow-wrap:anywhere}.aa-player-name .player-link{font-size:18px}.aa-player small{display:block;color:var(--text-muted);font-size:12px;margin-top:5px}.aa-score{text-align:right;flex-shrink:0}.aa-score strong{font-size:28px;color:#34d399}.aa-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:16px 0}.aa-metrics span{display:block;font-size:12px;color:var(--text-muted)}.aa-metrics strong{display:block;font-size:20px;margin-top:7px}.aa-actions{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.aa-actions span{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:6px 9px;font-size:12px}.aa-actions b{color:#34d399;margin-left:4px}.aa-player details{margin-top:16px;border-top:1px solid var(--border);padding-top:14px}.aa-player summary{cursor:pointer;font-size:13px}.aa-game{display:flex;justify-content:space-between;gap:14px;border-bottom:1px solid var(--border);padding:12px 0}.aa-game>span:last-child{text-align:right;flex-shrink:0}.aa-good{color:#34d399}.aa-entry{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px;padding:20px}.aa-entry h2{margin:0}
@media(max-width:600px){.aa-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.aa-filters label:first-child{grid-column:1/-1}.aa-filters select{font-size:12px}.aa-player{padding:14px}.aa-player-head{gap:8px;align-items:flex-start}.aa-player-name .player-link{font-size:15px}.aa-score strong{font-size:23px}.aa-metrics{gap:10px}.aa-metrics span{font-size:11px}.aa-metrics strong{font-size:18px}.aa-entry{align-items:flex-start;flex-direction:column}.aa-page h1{font-size:25px}}

.aa-rare-prices{border:1px solid var(--border);border-radius:12px;padding:14px;margin:12px 0 18px;background:var(--surface)}.aa-price-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:13px}.aa-price-buckets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}.aa-price-bucket{min-width:0;border:1px solid var(--border);border-radius:9px;padding:12px}.aa-price-bucket>span{display:block;color:var(--text-muted);font-size:12px}.aa-price-bucket>strong{display:block;font-size:25px;margin-top:6px}.aa-price-bucket details{border-top:0;padding-top:0;margin-top:10px}.aa-price-bucket details a{display:flex;justify-content:space-between;gap:8px;padding:8px 0;font-size:11px;color:var(--accent)}.aa-price-bucket details a span{overflow-wrap:anywhere;min-width:0}.aa-price-bucket details a b{flex-shrink:0}.aa-price-error{font-size:12px;color:var(--danger);margin:10px 0}.aa-price-error button{margin-left:8px;font-size:11px}.aa-form{margin:16px 0 20px;min-width:0}.aa-form h3{font-size:13px;color:var(--text-muted);margin:0 0 10px}.aa-form .breakdown-stats{gap:10px;flex-wrap:wrap}.aa-form .breakdown-stats>div{min-width:0}.aa-form .breakdown-group-bars{height:150px}.aa-form .breakdown-bar-wrap{width:30px}.aa-form .breakdown-bars{max-width:100%;overflow-x:auto}.aa-form .form-toolbar{flex-wrap:wrap;gap:10px}.aa-form .form-toolbar .segmented{flex-shrink:0}.aa-form .stat-label{font-size:10px}.aa-form .stat-value{font-size:15px}.aa-form .match-detail{font-size:11px}.aa-form .breakdown-bar-gw{font-size:8px}
@media(max-width:600px){.aa-rare-prices{padding:10px}.aa-price-heading{align-items:flex-start;flex-wrap:wrap}.aa-price-buckets{gap:8px}.aa-price-bucket{padding:9px}.aa-price-bucket>strong{font-size:22px}.aa-form .breakdown-group-bars{height:135px}.aa-form .breakdown-bar-wrap{width:28px}.aa-form .breakdown-stats .stat-value{font-size:13px}}

.breakdown-minutes,.breakdown-date{font-size:10px;line-height:1.4;white-space:nowrap;color:var(--text-muted)}.breakdown-minutes{font-weight:700;color:var(--text)}.aa-form .breakdown-bar-gw{font-size:10px;font-weight:700;color:var(--text)}.aa-form .breakdown-group-bars{height:190px}.aa-form .breakdown-bar-wrap{width:36px}.aa-activity{margin-top:20px;border-top:1px solid var(--border);padding-top:16px;font-size:13px}.aa-activity span,.aa-activity small{display:block}.aa-regularity{padding:10px 12px;border-radius:8px;background:var(--surface)}.aa-regularity.regular{color:#34d399}.aa-regularity.uncertain{color:#fbbf24}.aa-activity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0}.aa-activity-grid>div{min-width:0;overflow-wrap:anywhere}.aa-activity-kicker{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);margin-bottom:8px}.aa-last-match b,.aa-next-match b{display:block;margin-bottom:6px}.aa-usual-minutes{font-size:26px;display:block;margin-bottom:6px}.aa-minutes-positive{color:#34d399;display:block;margin-top:8px}.aa-minutes-unknown{color:#fbbf24;display:block;margin-top:8px}.aa-current-gw{padding:12px;border:1px solid var(--border);border-radius:8px;margin-bottom:12px}.aa-current-gw>div{margin-top:8px}.aa-current-gw>span{margin-top:6px;color:var(--text-muted)}.aa-next-match{padding:14px;border:1px solid var(--accent);border-radius:10px;background:var(--surface)}
@media(max-width:600px){.aa-activity-grid{grid-template-columns:1fr}.aa-form .breakdown-group-bars{height:185px}.aa-form .breakdown-bar-wrap{width:36px}.aa-next-match{padding:12px}}

/* Unified player screener. */
.player-screener{min-width:0}.scout-page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:12px 0 22px}.scout-page-head h1{margin:0;font-size:28px;letter-spacing:-.03em}.scout-page-head p{margin:8px 0 0;color:var(--text-muted);font-size:14px}.scout-picks{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px}.scout-picks button{border-radius:999px;padding:9px 15px;font-size:12px;min-height:38px}.scout-picks .active{background:var(--accent);border-color:var(--accent);color:#fff}.scout-primary-filters{display:grid;grid-template-columns:1.25fr 1fr 1fr .85fr;gap:12px}.scout-primary-filters label{display:grid;gap:7px;color:var(--text-muted);font-size:12px;min-width:0}.scout-primary-filters input,.scout-primary-filters select{width:100%;min-width:0}.scout-extra{margin:16px 0;border:1px solid var(--border);border-radius:10px;padding:12px 14px;color:var(--text-muted);font-size:12px}.scout-extra summary{cursor:pointer}.scout-extra p{line-height:1.7;margin-bottom:0}.scout-result-head{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:20px 0 12px;font-size:13px}.scout-result-head>span{color:var(--text-muted);font-size:12px}.scout-table-scroll{max-width:100%;overflow-x:auto;border:1px solid var(--border);border-radius:14px;background:var(--card-bg,var(--surface))}.scout-table{width:100%;min-width:1260px;table-layout:fixed;border-collapse:collapse;text-align:left}.scout-table thead th{background:var(--surface);color:var(--text-muted);font-size:11px;font-weight:600;padding:14px 12px;border-bottom:1px solid var(--border);white-space:normal}.scout-table th:first-child{width:250px}.scout-table th:nth-child(2),.scout-table th:nth-child(3){width:110px}.scout-table th:nth-child(4){width:120px}.scout-table th:nth-child(5){width:100px}.scout-table th:nth-child(6){width:110px}.scout-table th:nth-child(7){width:180px}.scout-table th:nth-child(8){width:100px}.scout-table th:last-child{width:145px}.scout-row>td{padding:16px 12px;vertical-align:middle;border-bottom:1px solid var(--border);overflow-wrap:anywhere}.scout-row:hover>td,.scout-row.is-open>td{background:var(--surface)}.scout-row small{display:block;font-size:10px;line-height:1.5;color:var(--text-muted);margin-top:5px}.scout-row strong{font-size:14px;font-variant-numeric:tabular-nums}.scout-identity{display:flex;align-items:center;gap:12px;min-width:0}.scout-identity>div{min-width:0}.scout-identity .player-link{font-size:14px;font-weight:700;text-align:left;padding:0;line-height:1.4;color:var(--text)}.scout-identity .player-link:hover{color:var(--accent)}.aa-identity-image{display:inline-flex;align-items:center;justify-content:center;flex:none;overflow:hidden}.aa-identity-image img{display:block;width:100%;height:100%;object-fit:contain}.aa-identity-image.aa-portrait{width:54px;height:68px;border-radius:12px;border:1px solid var(--border);background:linear-gradient(160deg,var(--surface),#7082b218)}.aa-portrait img{object-position:center bottom}.aa-image-fallback{font-size:20px;font-weight:700;color:var(--text-muted)}.aa-identity-image.aa-club{width:22px;height:22px;border-radius:6px}.aa-club .aa-image-fallback{font-size:9px;background:var(--surface);border:1px solid var(--border);border-radius:50%;width:22px;height:22px;display:grid;place-items:center}.scout-club{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--text-muted);margin-top:5px}.scout-player-tags{display:flex;gap:5px;flex-wrap:wrap;font-size:10px;margin-top:7px}.scout-player-tags>span,.scout-player-tags>b{border:1px solid var(--border);background:var(--surface);padding:2px 5px;border-radius:5px;font-weight:500}.scout-player-tags>b{color:var(--accent);border-color:var(--accent)}.scout-price strong{font-size:18px;letter-spacing:-.025em}.scout-score{color:var(--text)}.scout-aa{color:var(--ok,#34d399)}.scout-score-strip{display:flex;gap:3px;margin-top:7px}.scout-score-strip span{font-size:9px;font-weight:700;border-radius:4px;background:var(--surface);color:var(--text-muted);padding:3px}.scout-score-strip .good{color:#159c6a;background:#16a47416}.scout-score-strip .poor{color:#df7259;background:#df725914}.scout-dnp,.scout-last{display:block;font-size:10px;line-height:1.5;margin-top:6px}.scout-dnp{color:#c48a13}.scout-row-actions button{display:block;width:100%;font-size:10px;padding:7px;min-height:32px;margin:4px 0}.scout-next strong{font-size:11px;line-height:1.6}.scout-detail-row>td{padding:16px;background:var(--surface);border-bottom:1px solid var(--border)}.scout-source-note{font-size:11px;color:var(--text-muted);line-height:1.8;margin:14px 0}.scout-monitor-link{padding:20px;display:flex;align-items:center;justify-content:space-between;gap:16px}.scout-monitor-link h2{font-size:18px;margin:0}.scout-management{padding:20px;margin-bottom:22px;scroll-margin-top:20px}.scout-management .monitor-section{margin-top:20px}
/* Expanded player detail: identity and price remain prominent. */
.aa-card-top{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr);gap:24px;align-items:start}.aa-player-head{display:grid;grid-template-columns:90px minmax(0,1fr) 108px;align-items:start;gap:18px;padding:8px 0}.aa-portrait-wrap{position:relative}.aa-portrait-wrap .aa-portrait{width:90px;height:108px;border-radius:16px}.aa-portrait-wrap .aa-image-fallback{font-size:30px}.aa-portrait-wrap .aa-rank{position:absolute;bottom:-8px;left:50%;transform:translateX(-50%);border:1px solid var(--border);background:var(--surface);color:var(--text-muted);font-size:10px;font-weight:700;line-height:20px;min-width:30px;text-align:center;border-radius:7px}.aa-player-name .player-link{font-size:23px;line-height:1.2;font-weight:750;padding:0;color:var(--text);text-align:left;letter-spacing:-.025em}.aa-player-name .player-link:hover{color:var(--accent)}.aa-club-line{display:flex;align-items:center;gap:8px;margin-top:12px}.aa-club-line b{font-size:13px;line-height:1.5;display:block;font-weight:600}.aa-club-line span{font-size:11px;color:var(--text-muted)}.aa-player-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.aa-player-tags>span{font-size:10px;padding:4px 7px;border:1px solid var(--border);border-radius:6px;color:var(--text-muted)}.aa-player-tags .aa-young-tag{color:var(--accent);border-color:var(--accent)}.aa-score{border:1px solid #14a47430;border-radius:12px;background:#14a4740a;text-align:center;padding:12px 8px}.aa-score>span{display:block;font-size:10px;color:var(--text-muted)}.aa-score>strong{font-size:27px;display:block;margin:6px 0}.aa-score>small{font-size:9px;line-height:1.4}.aa-card-top .aa-rare-prices{margin:0;background:var(--surface);padding:14px;border-radius:14px}.aa-price-heading>b{display:flex;gap:8px;align-items:center}.aa-rarity-label{background:#ec5a5a14;border:1px solid #ec5a5a35;color:#d35757;border-radius:6px;padding:3px 6px;font-size:10px}.aa-price-bucket>strong{font-size:28px}.aa-price-bucket>strong.aa-price-empty{font-size:15px;color:var(--text-muted);margin:12px 0}.aa-metrics{margin:20px 0;gap:1px;padding:0;border:1px solid var(--border);border-radius:12px;background:var(--border);overflow:hidden}.aa-metrics>div{padding:15px 18px;background:var(--surface)}.aa-metrics strong{font-size:25px}.aa-metrics em{font-size:14px;font-weight:400;font-style:normal;color:var(--text-muted)}.aa-metrics small{font-size:10px}.aa-strengths{margin:18px 0 22px}.aa-section-label{font-size:11px;font-weight:600;color:var(--text-muted);display:block;margin-bottom:9px}.aa-actions{margin-bottom:7px}.aa-form{border-top:1px solid var(--border);padding-top:20px}.aa-list .aa-player,.scout-detail-row .aa-player{border-radius:14px;border:1px solid var(--border);padding:24px}.aa-form h3{font-size:13px;color:var(--text);font-weight:600}
@media(max-width:1100px){.aa-card-top{grid-template-columns:1fr}.aa-card-top .aa-rare-prices{margin-top:6px}}
@media(max-width:760px){.scout-page-head{align-items:flex-start;flex-direction:column;gap:12px}.scout-page-head h1{font-size:26px}.scout-page-head p{font-size:13px;line-height:1.6}.scout-primary-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.scout-primary-filters label:first-child{grid-column:1/-1}.scout-primary-filters select{font-size:12px}.scout-picks{gap:7px}.scout-picks button{font-size:11px;padding:7px 11px;min-height:36px}.scout-table-scroll{overflow:visible;background:none;border:0}.scout-table,.scout-table tbody{display:block;width:100%;min-width:0}.scout-table thead{display:none}.scout-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px;border:1px solid var(--border);border-radius:14px;background:var(--surface);padding:14px;margin:12px 0}.scout-row>td{display:block;padding:12px 0;border:0;min-width:0}.scout-row>td::before{content:attr(data-label);display:block;color:var(--text-muted);font-size:10px;margin-bottom:6px}.scout-row>.scout-player-cell{grid-column:1/-1;padding-top:0;padding-bottom:14px;border-bottom:1px solid var(--border)}.scout-player-cell::before{display:none!important}.scout-identity .player-link{font-size:17px}.scout-identity .aa-portrait{width:58px;height:74px}.scout-club{font-size:12px}.scout-row>td.scout-price{border-bottom:1px solid var(--border);padding-bottom:14px}.scout-price strong{font-size:23px}.scout-row>.scout-next{grid-column:1/-1;border-top:1px solid var(--border)}.scout-next strong{font-size:12px}.scout-row>.scout-row-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px;padding-bottom:0}.scout-row-actions::before{display:none!important}.scout-row-actions button{width:auto;flex:1;font-size:11px;min-height:38px}.scout-row.is-open{border-color:var(--accent)}.scout-detail-row,.scout-detail-row>td{display:block;min-width:0;padding:0;background:none;border:0}.scout-detail-row .aa-player{padding:16px}.scout-monitor-link{align-items:flex-start;flex-direction:column}.aa-card-top{gap:16px}.aa-player-head{grid-template-columns:64px minmax(0,1fr);gap:12px}.aa-portrait-wrap .aa-portrait{width:64px;height:82px;border-radius:12px}.aa-player-name .player-link{font-size:21px}.aa-score{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;padding:10px 14px}.aa-score>strong{font-size:25px;margin:0}.aa-score>small{font-size:10px;max-width:100px}.aa-player-tags{gap:5px;margin-top:9px}.aa-metrics{gap:1px}.aa-metrics>div{padding:12px 9px}.aa-metrics strong{font-size:23px}.aa-metrics em{display:block;font-size:12px;margin-top:3px}.aa-metrics span{font-size:10px;line-height:1.5;min-height:30px}.aa-metrics small{font-size:9px;line-height:1.4}.aa-price-bucket>strong{font-size:26px}.aa-price-bucket>strong.aa-price-empty{font-size:14px}}
html[data-theme="dark"] .aa-rarity-label{color:#ff9292}html[data-theme="dark"] .scout-score-strip .good{color:#50d3a7}html[data-theme="dark"] .scout-dnp{color:#edba54}
@media(max-width:760px){.scout-row>td[data-label="Участие"]{grid-column:1;grid-row:4}.scout-row>td[data-label="Сделки"]{grid-column:2;grid-row:4}.scout-row>.scout-next{grid-row:5}.scout-row>.scout-row-actions{grid-row:6}}

.scout-score-strip{flex-wrap:wrap;row-gap:4px;max-width:100%}.scout-score-strip span{flex:0 0 auto}

.owner-pricing{padding:12px 14px;border:1px solid var(--border);border-radius:9px;background:var(--surface);font-size:12px;margin:12px 0}.owner-pricing>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}.owner-pricing small{grid-column:1/-1;color:var(--text-muted)}.owner-pricing strong{color:var(--ok,#34d399)}.reward-fresh-badge,.reward-age-badge{display:inline-flex;margin-top:8px;padding:4px 7px;font-size:10px;border-radius:6px;border:1px solid var(--border);color:var(--text-muted)}.reward-fresh-badge{color:var(--accent);border-color:var(--accent);background:#3885ef0c}@media(max-width:600px){.owner-pricing>div{grid-template-columns:1fr}.owner-pricing small{grid-column:auto}}

.scout-filter-help{color:var(--text-muted);font-size:11px;line-height:1.6;margin:0 0 14px}

.decision-filters{display:grid;grid-template-columns:140px 1fr 1.5fr 1.2fr;gap:12px;margin:20px 0}.decision-filters label{display:grid;gap:6px;min-width:0;color:var(--muted,#97a1b4);font-size:13px}.decision-filters select,.decision-filters input{width:100%;min-width:0}.decision-readiness{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.decision-readiness p{margin:8px 0}.decision-readiness small,.decision-row small{display:block;color:var(--muted,#97a1b4);line-height:1.55}.decision-list{display:grid;gap:0}.decision-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;padding:16px 0;border-bottom:1px solid #293143}.decision-row>div{min-width:0;display:grid;gap:4px;align-content:start}.decision-row .player-link{text-align:left;justify-self:start}.decision-token{overflow-wrap:anywhere;font-size:11px}.decision-success{color:#4ade80}.decision-view details.card>summary{cursor:pointer;font-weight:600}.decision-view .overview-card small{white-space:normal;overflow-wrap:anywhere}.decision-view .card{margin-top:16px}.decision-view .ops-check>div{min-width:0}.decision-view .ops-check strong{overflow-wrap:anywhere}@media(max-width:700px){.decision-filters{grid-template-columns:1fr 1fr}.decision-readiness{grid-template-columns:1fr;gap:18px}.decision-row{grid-template-columns:1fr;gap:8px}.decision-view .overview-heading{align-items:flex-start}.decision-view .overview-card{min-width:0}.decision-view .ops-check{gap:12px}.decision-view .card{padding:16px}}

/* Global player and team search */
.header-search { position:relative; min-width:0; width:100%; grid-column:1 / -1; }
.shell-header > .header-search { margin-top:-6px; }
.header-search-field { display:flex; align-items:center; gap:8px; border:1px solid var(--border); border-radius:10px; padding:0 12px; background:var(--bg); }
.header-search-field > span { font-size:24px; color:var(--text-dim); }
.header-search-field input { width:100%; min-width:0; border:0; background:transparent; box-shadow:none; margin:0; padding:10px 0; }
.header-search-field:focus-within { outline:2px solid var(--accent); outline-offset:1px; }
.header-search-results { position:absolute; top:calc(100% + 6px); left:0; right:0; z-index:80; max-height:min(60vh,480px); overflow-y:auto; overscroll-behavior:contain; background:var(--bg-elevated); border:1px solid var(--border); border-radius:12px; box-shadow:0 12px 32px #0003; padding:8px; }
.header-search-results > button { display:flex; flex-direction:column; gap:3px; width:100%; text-align:left; border:0; background:transparent; color:var(--text); padding:10px 12px; border-radius:8px; }
.header-search-results > button:hover,.header-search-results > button:focus-visible { background:var(--accent-wash); }
.header-search-results button b { overflow-wrap:anywhere; }
.header-search-results small { color:var(--text-dim); overflow-wrap:anywhere; }
.header-search-results h3 { font-size:12px; color:var(--text-dim); margin:12px 12px 4px; }
.header-search-results [role="status"]:not(:empty) { padding:12px; color:var(--text-dim); }
.header-search-heading { display:flex; align-items:center; gap:12px; flex-wrap:wrap; padding:4px; }
.header-bar > .header-search { flex-basis:100%; order:3; }
.header-bar { flex-wrap:wrap; }
.header-search-field input { color:var(--text); font:inherit; }
.header-search-field input::placeholder { color:var(--text-dim); opacity:1; }
.header-search-field input:focus { outline:none; box-shadow:none; }
.desktop-controls{display:flex;align-items:center;gap:10px}.menu-mobile-label,.menu-mobile-actions{display:none}
.inventory-heading,.inventory-heading-actions,.inventory-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.inventory-heading{margin-bottom:24px}.inventory-heading h1{margin-bottom:6px}.inventory-heading-actions{flex-wrap:wrap;flex-shrink:0}.inventory-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.inventory-stats .card{display:flex;flex-direction:column;gap:10px}.inventory-stats span,.inventory-tile-prices span,.inventory-facts span{color:var(--text-dim);font-size:12px}.inventory-stats strong{font-size:30px;font-variant-numeric:tabular-nums}.inventory-toolbar{display:flex;align-items:end;gap:16px;flex-wrap:wrap;margin-bottom:12px}.inventory-toolbar label{flex:1;min-width:150px;display:grid;gap:6px}.inventory-toolbar input,.inventory-toolbar select{width:100%;box-sizing:border-box}.inventory-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr));gap:18px}.inventory-tile{display:grid;grid-template-rows:subgrid;grid-row:span 3;gap:18px;min-width:0;padding:20px}.inventory-tile.needs-listing{border-color:var(--border-strong)}.inventory-open{border:0;background:none;color:var(--text);padding:0;display:flex;gap:16px;align-items:center;text-align:left;box-shadow:none;cursor:pointer;min-width:0}.inventory-open:hover{background:none}.inventory-open img,.inventory-avatar{width:72px;height:96px;object-fit:contain;flex-shrink:0;border-radius:10px}.inventory-avatar{display:grid;place-items:center;background:var(--accent-wash);font-size:24px}.inventory-open h2{font-size:18px;line-height:1.3;margin:5px 0;overflow-wrap:anywhere}.inventory-open p{font-size:12px;color:var(--text-dim);margin:4px 0}.inventory-state{display:inline-block;font-size:11px;padding:5px 9px;border:1px solid var(--border-strong);border-radius:20px;margin-top:6px;line-height:1.3}.inventory-state.listed{color:var(--accent);border-color:var(--accent)}.inventory-tile-prices{font-size:12px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:minmax(2.8em,auto) auto minmax(2.8em,auto);column-gap:10px;row-gap:5px;border-top:1px solid var(--border);padding-top:16px}.inventory-tile-prices>div{display:grid;grid-template-rows:subgrid;grid-row:span 3;gap:5px;min-width:0}.inventory-tile-prices span{line-height:1.4}.inventory-open>div{min-width:0}.inventory-tile-prices strong{white-space:nowrap;align-self:start}.inventory-tile-prices strong{font-size:18px;font-variant-numeric:tabular-nums}.inventory-tile-prices small{font-size:10px;color:var(--text-dim);line-height:1.4;overflow-wrap:anywhere}.inventory-card-button{width:100%;margin-top:auto}.inventory-detail-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:24px;align-items:start}.inventory-identity{position:sticky;top:24px;min-width:0}.inventory-card-image{display:block;max-width:180px;width:100%;height:235px;object-fit:contain;margin:0 auto 20px}.inventory-identity h2{font-size:22px;overflow-wrap:anywhere}.inventory-identity p{font-size:13px;color:var(--text-dim)}.inventory-facts{display:grid;gap:12px;margin:20px 0}.inventory-facts>div{display:flex;justify-content:space-between;gap:14px;align-items:baseline}.inventory-facts strong{font-size:14px;text-align:right;font-variant-numeric:tabular-nums}.inventory-links{display:flex;flex-direction:column;gap:14px}.inventory-detail-main{display:grid;gap:20px;min-width:0}.inventory-detail-main .card{min-width:0}.inventory-detail-main h2{font-size:19px}.inventory-price-form{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin-top:20px}.inventory-price-form label{display:grid;gap:6px;flex:1;min-width:180px}.inventory-price-form input,.inventory-price-form select{box-sizing:border-box;width:100%}.inventory-confirm{border:1px solid var(--accent);border-radius:12px;padding:20px;margin-top:22px;background:var(--accent-wash)}.inventory-confirm>button{margin:8px 8px 0 0}.inventory-loss{color:#e26666!important;font-weight:600}.inventory-notice{padding:14px 18px;background:var(--accent-wash);border:1px solid var(--border-strong);border-radius:10px;line-height:1.6}.inventory-table-wrap{max-width:100%;overflow:auto;margin-top:16px}.inventory-table-wrap table{width:100%;border-collapse:collapse;font-size:13px}.inventory-table-wrap th,.inventory-table-wrap td{padding:12px 10px;text-align:left;border-bottom:1px solid var(--border);vertical-align:top}.inventory-table-wrap th{font-size:11px;color:var(--text-dim);font-weight:500}.inventory-table-wrap td small{display:block;color:var(--text-dim);font-size:10px}.inventory-section-heading small{color:var(--text-dim);font-size:11px}
@media(max-width:800px){.inventory-detail-layout{grid-template-columns:1fr}.inventory-identity{position:static}.inventory-identity .inventory-facts{grid-template-columns:1fr 1fr}.inventory-card-image{height:190px}.inventory-heading{align-items:flex-start;flex-direction:column}.inventory-stats{grid-template-columns:1fr 1fr}.inventory-heading-actions{width:100%}.inventory-price-form{align-items:stretch}.inventory-price-form>button{width:100%}.inventory-confirm{padding:14px}.inventory-confirm>button{width:100%;margin-right:0}}
@media(max-width:440px){.inventory-identity .inventory-facts{grid-template-columns:1fr}.inventory-toolbar label{min-width:calc(50% - 10px)}.inventory-toolbar label:first-child{min-width:100%}.inventory-tile{padding:16px}.inventory-heading-actions>button{flex:1}.inventory-stats .card{padding:16px}.inventory-open .eyebrow{font-size:10px}.inventory-table-wrap th,.inventory-table-wrap td{padding:10px 6px}}
@media(max-width:640px){.desktop-controls,.menu-desktop-label{display:none!important}.menu-mobile-label{display:inline;font-size:24px;line-height:1}.menu-mobile-actions{display:flex;flex-direction:column;gap:14px}.shell-settings{margin-left:auto}.shell-settings>summary{list-style:none;padding:8px 12px}.shell-settings>summary::-webkit-details-marker{display:none}.shell-settings-menu{max-height:70vh;overflow-y:auto}.shell-controls{justify-content:space-between}.header-bar>.row:last-child{width:100%;justify-content:space-between}}

.club-roster { margin-bottom:28px; padding-bottom:24px; border-bottom:1px solid var(--border); scroll-margin-top:230px; }
.club-roster-title { display:flex; align-items:center; gap:14px; min-width:0; }
.club-roster-title img { width:44px; height:44px; object-fit:contain; }
.club-roster-title h2 { font-size:24px; margin:0; }
.club-roster-filters { display:flex; gap:12px; align-items:end; flex-wrap:wrap; margin:18px 0; }
.club-roster-filters label { display:grid; gap:6px; color:var(--text-muted); font-size:12px; min-width:160px; }
.club-roster-filters select { width:100%; }
@media(max-width:760px){.club-roster{scroll-margin-top:300px}.club-roster-filters{display:grid;grid-template-columns:1fr 1fr}.club-roster-filters label{min-width:0}.club-roster-filters button{grid-column:1/-1}.club-roster-title h2{font-size:22px}}

@media(max-width:640px){.shell-tabs{grid-template-columns:repeat(5,minmax(0,1fr))}.shell-tab.mobile-menu-tab{display:none}}

/* Profile sections retain their geometry while loading or retrying. */
.player-hero{min-height:124px}.profile-block-status{display:flex;align-items:center;justify-content:space-between;gap:12px;height:58px;min-height:58px;box-sizing:border-box;overflow:auto;margin:8px 0 12px;color:var(--text-dim);font-size:11px}.profile-block-status button{flex-shrink:0;font-size:11px;padding:6px 10px}.profile-block-status [role=alert]{color:var(--danger,#e48383)}.profile-async-panel{min-width:0}.profile-block-body{height:460px;overflow:auto;scrollbar-gutter:stable}.profile-block-chart .profile-block-body{height:310px}.profile-block-form .profile-block-body{height:520px}.profile-skeleton{display:grid;align-content:start;gap:14px;padding:12px 0}.profile-skeleton-head,.profile-skeleton-row{display:grid;grid-template-columns:1.4fr 1fr .8fr;gap:20px;min-height:30px;align-items:center;border-bottom:1px solid var(--border);padding:6px 0}.profile-skeleton-head{grid-template-columns:1fr 1fr;margin-bottom:12px}.profile-skeleton i{display:block;border-radius:5px;height:12px;background:var(--surface-2,var(--border))}.profile-skeleton-row i:nth-child(2){width:80%}.profile-skeleton-row i:last-child{width:65%;justify-self:end}.profile-skeleton.is-loading i{background:linear-gradient(90deg,var(--border),var(--border-strong),var(--border));background-size:200% 100%;animation:profile-shimmer 1.6s linear infinite}.profile-block-chart .profile-skeleton{height:270px;background:repeating-linear-gradient(0deg,transparent 0,transparent 49px,var(--border) 50px);border-bottom:1px solid var(--border)}.profile-block-chart .profile-skeleton-row{border:0}.profile-hero-skeleton{width:min(520px,100%);min-height:124px}.profile-hero-skeleton i:first-child{width:75%;height:30px}.profile-next-game{min-height:240px;margin-bottom:16px}.profile-next-game>.card{margin:0}.profile-next-game>.profile-skeleton{height:110px}.card-availability{min-height:172px}.profile-card-skeleton{height:52px;display:flex;gap:20px}.profile-card-skeleton i{width:44%;height:20px}@keyframes profile-shimmer{to{background-position:-200% 0}}@media(prefers-reduced-motion:reduce){.profile-skeleton.is-loading i{animation:none}}@media(max-width:640px){.profile-block-status{align-items:flex-start}.profile-block-body{height:520px}.profile-block-chart .profile-block-body{height:530px}.profile-block-chart .profile-skeleton{height:490px}.profile-next-game{min-height:260px}}

.club-position-heading th{padding:20px 16px 12px!important;background:var(--surface);border-top:12px solid var(--bg);border-bottom:1px solid var(--border-strong);text-align:left!important}.club-position-group:first-of-type .club-position-heading th{border-top-width:0}.club-position-heading span{font-size:16px;font-weight:700;color:var(--text);text-transform:none;letter-spacing:0}.club-position-heading small{display:inline-block;margin-left:10px;padding:3px 8px;border:1px solid var(--border-strong);border-radius:20px;color:var(--text-dim);font-size:11px}.club-position-heading{position:static!important}
@media(max-width:760px){.club-position-heading{display:block;width:100%}.club-position-heading th{display:flex!important;align-items:center;width:100%!important;box-sizing:border-box;min-width:0}.club-position-heading small{flex-shrink:0}}
.roster-age{white-space:nowrap}.scout-price-retry{font-size:10px;padding:5px 7px;margin-top:6px}.club-roster-table .scout-identity{gap:0}
@media(max-width:760px){.club-roster-table{min-width:0}.club-roster-table .scout-row>.roster-photo{grid-row:1;grid-column:1;align-self:start;padding:0;z-index:1}.club-roster-table .scout-row>.roster-photo::before{display:none}.club-roster-table .scout-row>.scout-player-cell{grid-row:1;grid-column:1/-1;padding-left:72px;padding-right:64px}.club-roster-table .scout-row>.roster-age{grid-row:1;grid-column:2;align-self:start;justify-self:end;width:60px;padding:0}.club-roster-table .roster-age strong{font-size:12px}.club-roster-table .scout-identity .player-link{font-size:15px}.club-roster-table .scout-player-tags{font-size:9px}}
@media(max-width:760px){.club-roster-table .scout-row>.roster-photo{width:58px;pointer-events:none}}
@media(max-width:760px){.club-roster-table .scout-row>td[data-label="All-Around"]{grid-column:1;grid-row:4}.club-roster-table .scout-row>td[data-label="Участие"]{grid-column:2;grid-row:4}.club-roster-table .scout-row>td[data-label="Сделки"]{grid-column:1/-1;grid-row:5}.club-roster-table .scout-row>.scout-next{grid-row:6}.club-roster-table .scout-row>.scout-row-actions{grid-row:7}}

.roster-game-scores{display:grid;grid-template-columns:repeat(5,26px);gap:4px;min-height:26px}.roster-game-scores>span{display:grid;place-items:center;width:26px;height:26px;box-sizing:border-box;border:1px solid var(--border-strong);border-radius:5px;font-size:11px;font-weight:700;font-variant-numeric:tabular-nums;background:var(--surface);color:var(--text)}.roster-game-scores>.good{color:#34d399;background:#10b98120;border-color:#10b98150}.roster-game-scores>.poor{color:#fb927e;background:#ef654420;border-color:#ef654450}.roster-game-scores>.average{color:#f3c56a;background:#dca83b18;border-color:#dca83b40}@media(max-width:760px){.club-roster-table{min-width:0}.roster-game-scores{grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}.roster-game-scores>span{width:100%;height:auto;aspect-ratio:1;font-size:11px;max-height:32px}}

.scout-player-tags>.roster-playing-status{font-size:10px;line-height:1.5;border-radius:5px;padding:3px 6px;max-width:100%;box-sizing:border-box}.roster-playing-status[data-status="STARTER"]{color:#34d399;border-color:#10b98150;background:#10b98118}.roster-playing-status[data-status="REGULAR"]{color:var(--accent);border-color:var(--accent);background:var(--accent-wash)}.roster-playing-status[data-status="SUPER_SUBSTITUTE"],.roster-playing-status[data-status="SUBSTITUTE"]{color:#e9bc67;border-color:#dca83b50;background:#dca83b18}.roster-playing-status[data-status="NOT_PLAYING"]{color:#fb927e;border-color:#ef654450;background:#ef654418}.roster-playing-status[data-status="RETIRED"],.roster-playing-status[data-status="UNKNOWN"]{color:var(--text-muted)}

.club-roster-table{width:100%;min-width:0;table-layout:fixed}.club-roster-table thead th{width:auto!important;font-size:10px;padding:12px 6px;overflow-wrap:anywhere}.club-roster-table .scout-row>td{padding-left:6px;padding-right:6px}.club-roster-table .roster-photo .aa-portrait{width:100%;max-width:44px;height:auto;aspect-ratio:54/68}.club-roster-table .scout-row>.roster-age{padding-left:2px;padding-right:2px;text-align:center}.club-roster-table .roster-age strong{font-size:12px}.club-roster-table .scout-player-cell .player-link{font-size:13px}.club-roster-table .scout-row small{font-size:9px}.club-roster-table .scout-price strong{font-size:clamp(12px,1.05vw,16px)}.club-roster-table .roster-game-scores{grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;width:100%;max-width:146px;min-height:0}.club-roster-table .roster-game-scores>span{width:100%;height:auto;aspect-ratio:1;font-size:clamp(9px,.8vw,11px)}.club-roster-table .scout-row-actions button{padding-left:4px;padding-right:4px;font-size:9px}.club-roster-table .scout-club{font-size:10px}
@media(max-width:760px){.club-roster-table colgroup{display:none}.club-roster-table .scout-row>td{padding-left:0;padding-right:0}.club-roster-table .scout-row>.scout-player-cell{padding-left:72px;padding-right:50px}.club-roster-table .scout-row>.roster-age{width:42px;text-align:right}.club-roster-table .scout-player-cell .player-link{font-size:15px}.club-roster-table .scout-price strong{font-size:23px}.club-roster-table .scout-row small{font-size:10px}.club-roster-table .roster-photo .aa-portrait{max-width:54px}.club-roster-table .roster-game-scores{max-width:none}.club-roster-table .roster-game-scores>span{font-size:11px}.club-roster-table .scout-row>.scout-row-actions{grid-row:6}.club-roster-table .scout-row-actions button{font-size:11px}.club-roster-table .scout-club{font-size:12px}}

.club-roster-table thead th:nth-child(3){padding-left:2px;padding-right:2px;letter-spacing:0;white-space:nowrap;font-size:9px}
