/* team.css — page-specific styles for /team/:id
   Loaded LAST in <head> after the 5 canonical sheets.
   Only rules that are genuinely team-page-specific live here.
   DO NOT add sidebar / nav-item rules — chrome.js owns those.
   Worker — subpage-css-p3-team, 2026-06-03. */

/* ── Page-scoped design tokens ──────────────────────────────────────────── */
:root {
  --team-primary: #FF1A1A;
  --team-secondary: #FFFFFF;
  --pos-green: #3dba6e;
  --pos-red: #FF5050;
}

/* ── Link reset (team page uses color:inherit throughout) ───────────────── */
a { color: inherit; }

/* ── App layout: inherit the canonical grid, unchanged ──────────────────── */
/* This page used to cap .app at 1440px and center it, which on any wider
   monitor floated the whole shell — sidebar included — in the middle of the
   screen while every other route filled 100vw with the rail flush left.
   Removed so /team/:id matches the rest of the site. APP-WIDTH-FULLBLEED-0904
   (same removal as game.css in GAME-PAGE-RECORD-0901, players.css before it) */

/* ── Content column: flex override for this page ────────────────────────── */
/* components.css uses display:grid; team page needs flex for its sections */
.content {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
}

/* ── Mobile nav toggle ───────────────────────────────────────────────────── */
.mob-nav-toggle { display: none; }

/* ── HERO ────────────────────────────────────────────────────────────────── */
.team-hero {
  position: relative;
  overflow: hidden;
  padding: 28px 24px 24px;
  background: linear-gradient(135deg, #0d0d0d 0%, color-mix(in srgb, var(--team-primary) 16%, #050505) 50%, #0d0d0d 100%);
  border-bottom: 3px solid var(--team-primary);
}
.team-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, transparent, transparent 20px, color-mix(in srgb, var(--team-primary) 12%, transparent) 20px, color-mix(in srgb, var(--team-primary) 12%, transparent) 21px);
  pointer-events: none;
  opacity: .55;
}
.team-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 36px;
  background: linear-gradient(0deg, var(--black-bg, #050505) 0%, transparent 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-logo {
  width: 120px;
  height: 120px;
  border-radius: 16px;
  background: var(--team-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-size: 48px;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
}
.hero-logo img { width: 100%; height: 100%; object-fit: contain; }
.hero-meta { flex: 1; min-width: 200px; }
.hero-meta h1 {
  font-family: var(--f-display);
  font-size: clamp(28px, 5vw, 48px);
  letter-spacing: .02em;
  margin: 0;
  line-height: 1.1;
}
.hero-subtitle { font-size: 16px; color: var(--gray-light,#8A8A8A); margin-top: 4px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

/* ── FAVORITE BUTTON ─────────────────────────────────────────────────────── */
.hero-actions { margin-top: 14px; }
.fav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 18px;
  border-radius: 24px;
  font-family: var(--f-body, 'Inter', sans-serif);
  font-size: var(--sns-fs-14, 14px);
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  border: 1px solid var(--team-primary);
  background: transparent;
  color: var(--white-bright, #fff);
  transition: background .15s, color .15s, transform .1s;
}
.fav-btn:hover,
.fav-btn:focus-visible { background: color-mix(in srgb, var(--team-primary) 18%, transparent); }
.fav-btn:active { transform: scale(.97); }
.fav-btn .fav-icon { font-size: 18px; line-height: 1; color: var(--gold-accent, var(--accent,#FF2D2D)); }
.fav-btn.is-fav { background: var(--team-primary); border-color: var(--team-primary); color: #fff; }
.fav-btn.is-fav .fav-icon { color: var(--gold-accent, var(--accent,#FF2D2D)); }

/* ── TEAM SUMMARY (above detailed stat cards) ────────────────────────────── */
.team-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.summary-cell {
  background: var(--black-card, #0A0A0A);
  border: 1px solid rgba(255,255,255,.06);
  border-left: 3px solid var(--team-primary);
  border-radius: 10px;
  padding: 14px 16px;
}
.summary-cell-wide { grid-column: span 2; }
.summary-val {
  font-family: var(--f-display);
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: .02em;
}
.summary-val.summary-top { font-size: 18px; }
.summary-val.summary-top a:hover { color: var(--team-primary); }
.summary-lbl {
  font-size: var(--sns-fs-12, 12px);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-light,#8A8A8A);
  margin-top: 6px;
}
.summary-sub { font-size: var(--sns-fs-12, 12px); color: var(--gray-light,#8A8A8A); margin-top: 2px; font-family: 'JetBrains Mono', monospace; }

/* ── ROSTER POSITION-GROUP HEADERS ───────────────────────────────────────── */
.pos-group-row th {
  background: color-mix(in srgb, var(--team-primary) 14%, #0A0A0A);
  color: var(--white-bright, #fff);
  font-family: var(--f-display);
  font-size: var(--sns-fs-14, 14px);
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 8px 14px;
  cursor: default;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.pos-group-row th:hover { color: var(--white-bright, #fff); }
.pos-group-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--sns-fs-12, 12px);
  color: var(--gray-light,#8A8A8A);
  margin-left: 6px;
}

/* ── BADGES ──────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.badge-conf { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.badge-record { background: rgba(255,255,255,.06); font-family: 'JetBrains Mono', monospace; }
.badge-rank { background: var(--gold-accent, var(--accent,#FF2D2D)); color: #1a1207; font-family: var(--f-display); font-size: 16px; padding: 2px 8px; }

/* ── BACK LINK ───────────────────────────────────────────────────────────── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--gray-light);
  text-transform: uppercase;
  padding: 8px 0;
  margin-bottom: 10px;
  min-height: 44px;
}
.back-link:hover { color: var(--white-bright); }

/* ── TAB BAR + SEASON TOGGLE ─────────────────────────────────────────────── */
.team-tabs-bar {
  /* clear the iOS status bar/notch when stuck (env() is 0 without an inset) */
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 24px; flex-wrap: wrap;
  background: color-mix(in srgb, var(--black-bg, #050505) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.team-tabs { display: flex; gap: 2px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.team-tabs::-webkit-scrollbar { height: 0; }
.team-tab {
  appearance: none; background: transparent; border: none;
  padding: 14px 16px; min-height: 48px;
  font-family: var(--f-display); font-size: 16px; letter-spacing: .04em;
  color: var(--gray-light); cursor: pointer; white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color .15s, border-color .15s;
}
.team-tab:hover { color: var(--white-bright, #fff); }
.team-tab:focus-visible { outline: 2px solid var(--gold-accent, var(--accent,#FF2D2D)); outline-offset: -2px; }
.team-tab.is-active { color: var(--white-bright, #fff); border-bottom-color: var(--team-primary); }
.team-season { display: flex; align-items: center; padding: 6px 0; }
.team-body > section[role="tabpanel"][hidden] { display: none; }

/* R2E-09 (rec-0819): scroll-fade affordance for horizontally-scrollable
   strips (tab bar, season chips) — team/index.html's wireScrollFade() toggles
   .has-scroll-right from real scroll geometry, so the fade only shows while
   there's genuinely more to the right (removed once scrolled to the true
   end), rather than a static mask that would lie about a strip that fits. */
.team-tabs.has-scroll-right,
.team-season .season-toggle.has-scroll-right {
  -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 28px), transparent 100%);
          mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 28px), transparent 100%);
}

/* ── SECTION LAYOUT ──────────────────────────────────────────────────────── */
.team-body { padding: 24px; display: flex; flex-direction: column; gap: 32px; }

/* ── SECTION HEADERS ─────────────────────────────────────────────────────── */
.section-head { font-family: var(--f-display); font-size: 24px; letter-spacing: .04em; margin: 0 0 16px; }

/* Shown only when the roster's season has no fantasy scoring yet, in place of
   two columns of "--". Explains the empty state instead of looking broken. */
.roster-note {
  margin: -8px 0 14px;
  font-family: var(--f-body, 'Inter', sans-serif);
  font-size: var(--sns-fs-14, 14px);
  line-height: 1.5;
  color: var(--gray-light, #8A8A8A);
}
.roster-note[hidden] { display: none; }

/* ── POSITION FILTER ─────────────────────────────────────────────────────── */
.pos-filter {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}
.pos-filter::-webkit-scrollbar { height: 4px; }
.pos-filter::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 2px; }
.pos-chip {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.12);
  background: transparent;
  color: var(--gray-light);
  transition: all .15s;
  min-height: 44px;
  white-space: nowrap;
}
.pos-chip:hover,
.pos-chip:focus-visible { border-color: var(--team-primary); color: var(--white-bright); }
.pos-chip[aria-selected="true"] { background: var(--team-primary); border-color: var(--team-primary); color: #fff; }

/* ── TABLES ──────────────────────────────────────────────────────────────── */
.tbl-wrap {
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.06);
  background: var(--black-card, #0A0A0A);
}
.tbl-wrap:focus { outline: 2px solid var(--red-primary, #FF1A1A); outline-offset: 2px; }
/* R2E-08 (rec-0819): the roster/schedule tables were already a real
   overflow-x:auto scroll region (nothing was actually unreachable), but at
   the default left scroll position POS/YEAR/HT just read as hard-clipped —
   "the fix is present but the default scroll position hides the two columns
   that matter." Same scroll-fade affordance as .team-tabs, driven by real
   geometry via wireScrollFade() in team/index.html. */
.tbl-wrap.has-scroll-right {
  -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 28px), transparent 100%);
          mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 28px), transparent 100%);
}
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th {
  text-align: left;
  padding: 10px 14px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-light);
  border-bottom: 1px solid rgba(255,255,255,.06);
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}
th:hover { color: var(--white-bright); }
td { padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,.04); white-space: nowrap; }
tr:hover td { background: rgba(255,255,255,.02); }
.tbl-name { font-weight: 600; }
/* Every roster name opens that player's page, but the anchor inherited the same
   #F5F5F5 as the surrounding cells with no underline — so the only "this is a
   link" cue was the hover colour, which does not exist on a phone. The roster
   read as inert text (Brock, 2026-08-02: "those players need to be clickable").
   A permanent hairline underline states it without turning the table red; it
   goes team-colour on hover/focus. display:block also hands the tap the whole
   cell instead of just the glyph run. */
.tbl-name a {
  display: block;
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.32);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .15s, text-decoration-color .15s;
}
.tbl-name a:hover,
.tbl-name a:focus-visible { color: var(--team-primary); text-decoration-color: currentColor; }
.tbl-name a:focus-visible { outline: 2px solid var(--team-primary, var(--red-primary, #FF1A1A)); outline-offset: 2px; }
.tbl-num { font-family: 'JetBrains Mono', monospace; font-size: 16px; }

/* ── SCHEDULE ────────────────────────────────────────────────────────────── */
.sched-result { font-weight: 700; font-family: 'JetBrains Mono', monospace; }
.sched-win { color: var(--pos-green); }
.sched-loss { color: var(--pos-red); }
/* In-progress game: live score + game clock in the Result column. */
.sched-live { color: var(--red-primary, #FF1A1A); display: inline-flex; align-items: center; gap: 6px; }
.sched-live-dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
  background: var(--red-primary, #FF1A1A);
  animation: sched-live-pulse 1.6s ease-in-out infinite;
}
.sched-live-clock { font-size: 15px; opacity: .85; letter-spacing: .02em; }
/* CROSSLINK-0905 (#4799): the Result cell links out to the /scores slate that
   holds this game — the team -> live scores edge. Needs its own affordance:
   base.css sets a{text-decoration:none}, so without this the cell looks like
   plain text and nobody discovers it. Inherits the win/loss/live colour from
   the .sched-result span inside it rather than repainting it. */
.sched-result-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .28);
  text-underline-offset: 3px;
  border-radius: 4px;
}
.sched-result-link:hover { text-decoration-color: currentColor; }
.sched-result-link:focus-visible {
  outline: 2px solid var(--team-primary, var(--red-primary, #FF1A1A));
  outline-offset: 2px;
  text-decoration-color: currentColor;
}
@keyframes sched-live-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .sched-live-dot { animation: none; } }
.sched-opp { display: inline-flex; align-items: center; gap: 8px; }
.sched-opp-logo { width: 24px; height: 24px; border-radius: 4px; background: #222; flex-shrink: 0; overflow: hidden; }
.sched-opp-logo img { width: 100%; height: 100%; object-fit: contain; }

/* ── STAT CARDS ──────────────────────────────────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.stat-card {
  background: var(--black-card, #0A0A0A);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  padding: 20px;
}
.stat-card h3 { font-family: var(--f-display); font-size: 18px; letter-spacing: .04em; margin: 0 0 12px; color: var(--team-primary); }
.stat-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.04); }
.stat-row:last-child { border-bottom: none; }
.stat-label { font-size: 16px; color: var(--gray-light); }
.stat-val { font-family: 'JetBrains Mono', monospace; font-size: 16px; font-weight: 600; }

/* ── DEPTH CHART (player pool parity, part B) ────────────────────────────────
   Reuses .stat-card for each position group; grouped by side (offense /
   defense / special) matching the API's POSITION_SIDE mapping. */
.depth-side { margin-bottom: 24px; }
.depth-side:last-child { margin-bottom: 0; }
.depth-side-heading {
  font-family: var(--f-display);
  font-size: 20px;
  letter-spacing: .04em;
  margin: 0 0 12px;
  color: var(--team-primary);
}
.depth-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.depth-group-heading {
  font-family: var(--f-display);
  font-size: 16px;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: var(--gray-light);
  display: flex;
  align-items: center;
  gap: 8px;
}
.depth-group-count { font-family: 'JetBrains Mono', monospace; font-size: 16px; color: var(--gray-light); }
.depth-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.depth-row:last-child { border-bottom: none; }
.depth-row.is-starter { color: var(--white-bright, #F5F5F5); }
.depth-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  color: var(--gray-light);
  width: 18px;
  flex-shrink: 0;
  text-align: right;
}
.depth-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: inherit; }
.depth-name:hover { color: var(--team-primary); }
.depth-jersey { font-family: 'JetBrains Mono', monospace; font-size: 16px; color: var(--gray-light); flex-shrink: 0; }
.depth-badge {
  flex-shrink: 0;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.depth-badge-starter { background: var(--team-primary); color: #fff; }
.depth-badge-backup { background: rgba(255,255,255,.06); color: var(--gray-light); }
.injury-badge {
  flex-shrink: 0;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  background: rgba(220, 38, 38, .18);
  color: #fca5a5;
  border: 1px solid rgba(248, 113, 113, .55);
}

/* ── FANTASY SECTION ─────────────────────────────────────────────────────── */
.fantasy-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.fantasy-bar-chart { display: flex; flex-direction: column; gap: 8px; }
.bar-row { display: flex; align-items: center; gap: 10px; }
.bar-label { width: 40px; font-size: 16px; font-weight: 600; color: var(--gray-light); text-align: right; }
.bar-track { flex: 1; height: 24px; background: rgba(255,255,255,.04); border-radius: 4px; overflow: hidden; }
.bar-fill {
  height: 100%;
  background: var(--team-primary);
  border-radius: 4px;
  transition: width .4s ease-out;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
  font-size: 16px;
  font-family: 'JetBrains Mono', monospace;
  min-width: fit-content;
}

/* ── NEWS ────────────────────────────────────────────────────────────────── */
.news-list { display: flex; flex-direction: column; gap: 12px; }
.news-item {
  padding: 14px 16px;
  background: var(--black-card, #0A0A0A);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  transition: border-color .15s;
}
.news-item:hover { border-color: rgba(255,255,255,.12); }
.news-headline { font-weight: 600; font-size: 16px; margin-bottom: 4px; }
.news-meta { font-size: 16px; color: var(--gray-light); display: flex; gap: 12px; flex-wrap: wrap; }
.news-badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: rgba(255,255,255,.08);
}

/* ── SKELETON SHIMMER ────────────────────────────────────────────────────── */
@keyframes shimmer { 0% { background-position: -200% 0 } 100% { background-position: 200% 0 } }
.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,.04) 25%, rgba(255,255,255,.08) 50%, rgba(255,255,255,.04) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 6px;
}
@media (prefers-reduced-motion: reduce) {
  .skeleton { animation: none; background: rgba(255,255,255,.06); }
}
.skel-text { height: 16px; margin-bottom: 8px; }
.skel-text.w60 { width: 60%; }
.skel-text.w40 { width: 40%; }
.skel-text.w80 { width: 80%; }
.skel-row { height: 44px; margin-bottom: 4px; }

/* ── EMPTY / ERROR STATES ────────────────────────────────────────────────── */
.empty-state { text-align: center; padding: 40px 20px; color: var(--gray-light); }
.empty-state p { margin: 8px 0 16px; font-size: 16px; }
.error-banner {
  padding: 12px 16px;
  background: rgba(255,80,80,.1);
  border: 1px solid rgba(255,80,80,.2);
  border-radius: 8px;
  color: var(--pos-red);
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.error-banner button { background: var(--pos-red); color: #fff; border: none; padding: 6px 12px; border-radius: 6px; font-size: 16px; font-weight: 600; }

/* ── NOT FOUND ───────────────────────────────────────────────────────────── */
.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px 96px;
  gap: 16px;
}
.not-found-icon {
  color: var(--red-primary, #FF1A1A);
  opacity: .55;
  margin-bottom: 8px;
}
.not-found h2 {
  font-family: var(--f-display);
  font-size: clamp(28px, 5vw, 40px);
  letter-spacing: .04em;
  margin: 0;
  color: var(--white-bright, #F5F5F5);
}
.not-found p {
  color: var(--gray-light, #8A8A8A);
  margin: 0;
  font-size: 16px;
  max-width: 400px;
  line-height: 1.55;
}
.not-found a {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  padding: 12px 24px;
  background: var(--red-primary, #FF1A1A);
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: opacity .15s;
  min-height: 44px;
}
.not-found a:hover { opacity: .85; }

/* ── SCREEN READER ONLY ──────────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .app { grid-template-columns: 1fr; }
  .hero-logo { width: 80px; height: 80px; font-size: 32px; }
  .hero-meta h1 { font-size: 28px; }
  .team-body { padding: 16px 12px; }
  .stats-grid { grid-template-columns: 1fr; }
  /* Mobile: stack the bar so the season picker is its own full-width, scrollable
     row instead of getting squeezed off-screen next to the tabs. */
  .team-tabs-bar { padding: 6px 12px; gap: 6px; flex-direction: column; align-items: stretch; }
  .team-tabs { min-width: 0; width: 100%; }
  .team-tab { padding: 12px 12px; font-size: 16px; }
  .team-season { width: 100%; padding: 4px 0 6px; border-top: 1px solid rgba(255,255,255,.06); }
  .team-season::before { content: "SEASON"; align-self: center; margin-right: 8px; font-family: var(--f-body,'Inter',sans-serif); font-size: var(--sns-fs-11, 11px); font-weight: 700; letter-spacing: .08em; color: var(--gray-light,#8A8A8A); flex: 0 0 auto; }
  .team-season .season-toggle { flex: 1 1 auto; min-width: 0; }
}
@media (min-width: 768px) {
  .fantasy-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1280px) {
  .team-body { padding: 24px 32px; }
}
