@import url('./home-layout.css');
:root {
  color-scheme: light;
  /* Brand colors may be vivid; action colors must support readable text. */
  --ink: #111b36;
  --muted: #63708a;
  --line: #dce2eb;
  --paper: #ffffff;
  --canvas: #f4f6f9;
  --surface: #ffffff;
  --surface-soft: #f7f9fc;
  --surface-muted: #eef2f7;
  --navy: #111b36;
  --blue: #1d5dd7;
  --blue-soft: #eaf1ff;
  --brand-accent: #1d5dd7;
  --brand-accent-2: #00b8f5;
  --accent-strong: #1d5dd7;
  --accent-foreground: #ffffff;
  --accent: var(--accent-strong);
  --accent-2: #00b8f5;
  --accent-soft: #eaf1ff;
  --focus-ring: #174ea6;
  --focus-contrast: #ffffff;
  --orange: #f37932;
  --green: #15835d;
  --red: #c43f4a;
  --team-color: var(--blue);
  --radius-sm: 7px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --space-control-inline: 14px;
  --control-height: 39px;
  --touch-target: 44px;
  --elevation-1: 0 3px 12px rgba(17, 27, 54, .045);
  --elevation-2: 0 12px 32px rgba(17, 27, 54, .10);
  --elevation-dialog: 0 28px 80px rgba(17, 27, 54, .30);
  --shadow: var(--elevation-2);
  --depth: 0%;
  --landing-cyan: #03c4fa;
  --landing-teal: #00daa9;
  --landing-pink: #f516a9;
  --landing-gold: #ffbd42;
  --landing-card: #071c31;
  --landing-line: rgba(119,184,226,.25);
  --sport-card: #071b2f;
  --sport-accent: #03c4fa;
  --mode-canvas: #071824;
  --mode-panel: #0d2532;
  --mode-panel-soft: #132f3d;
  --mode-line: rgba(165,205,224,.18);
  --league-canvas: #041827;
  --league-panel: #0a263b;
  --league-panel-soft: #103149;
  --league-line: rgba(151,198,226,.18);
  --image-focal-x: 50%;
  --image-focal-y: 50%;
  /* Semantic widget roles. Pages and modes own their values; widgets consume them. */
  --page-canvas: var(--canvas);
  --surface-elevated: var(--surface);
  --surface-border: var(--line);
  --text-primary: var(--ink);
  --text-secondary: var(--muted);
  --link: var(--accent-strong);
  --status-positive: var(--green);
  --status-warning: var(--orange);
  --status-critical: var(--red);
  --front-office-surface: #07090b;
  --front-office-surface-elevated: #111923;
  --front-office-border: #8d681f;
  --front-office-text: #eef2f5;
  --front-office-muted: #aab1b8;
  --front-office-gold: #eab94d;
  --conversation-surface: #f7fafc;
  --conversation-surface-hover: #edf5fb;
  --conversation-border: #cbd9e4;
  --conversation-text: #18283d;
  --conversation-muted: #5f7082;
  /* Shared sticky-layout contract. Nested workspaces must clear the global chrome. */
  --app-topbar-height: 72px;
  --app-primary-nav-height: 49px;
  --app-sticky-top-offset: var(--app-topbar-height);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--canvas); }
body[data-game-mode="NBA_DYNASTY"] { --brand-accent:#00d9a3; --brand-accent-2:#00c6ef; --accent-strong:#00745e; --accent-2:#007a8d; --accent-soft:#e4fff7; --focus-ring:#006c58; }
body[data-game-mode="NBA_KEEPER"] { --brand-accent:#f5009f; --brand-accent-2:#ff42d7; --accent-strong:#a00068; --accent-2:#a9238a; --accent-soft:#fff0fa; --focus-ring:#920060; }
body[data-game-mode="NBA_REDRAFT"] { --brand-accent:#087df2; --brand-accent-2:#00c7ef; --accent-strong:#075fbd; --accent-2:#08758d; --accent-soft:#e9f7ff; --focus-ring:#0758ad; }
body[data-surface="mode"] { --mode-canvas:#071824; --mode-panel:#0d2532; --mode-panel-soft:#132f3d; --mode-line:rgba(165,205,224,.18); background:var(--mode-canvas); }
body[data-surface="mode"][data-game-mode="NBA_DYNASTY"] { --mode-canvas:#031c1b; --mode-panel:#092b29; --mode-panel-soft:#103633; --mode-line:rgba(130,218,201,.18); --blue:#35dfbd; --blue-soft:rgba(0,217,163,.14); }
body[data-surface="mode"][data-game-mode="NBA_KEEPER"] { --mode-canvas:#200619; --mode-panel:#310d27; --mode-panel-soft:#401332; --mode-line:rgba(239,139,207,.18); }
body[data-surface="mode"][data-game-mode="NBA_REDRAFT"] { --mode-canvas:#06182d; --mode-panel:#0b2948; --mode-panel-soft:#10375d; --mode-line:rgba(129,190,241,.2); }
body[data-surface="home"] { --ink:#f3f8fb; --muted:#a9bdca; --line:var(--league-line); --surface:var(--league-panel); --surface-soft:var(--league-panel-soft); --surface-muted:var(--league-panel-soft); --link:color-mix(in srgb,var(--brand-accent) 72%,white); background:var(--league-canvas); }
body[data-surface="team"] { background:#dfe8f0; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:where(a[href], button, input, select, textarea, summary, [tabindex]:not([tabindex="-1"])):focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--focus-contrast);
}
:where(button, input, select, textarea, .button, [role="button"]):disabled,
:where(button, input, select, textarea, .button, [role="button"])[aria-disabled="true"] {
  opacity: .55;
  cursor: not-allowed;
  filter: saturate(.55);
}
:where(button, .button, [role="button"])[aria-busy="true"],
:where(button, .button, [role="button"]).is-loading { cursor: progress; }
.button[aria-busy="true"]::after, .button.is-loading::after {
  display: inline-block;
  width: .8em;
  height: .8em;
  margin-left: 8px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin .8s linear infinite;
  content: "";
}
.app-shell { min-height: 100vh; }
.topbar { position:sticky; top:0; z-index:40; height:var(--app-topbar-height); padding:0 clamp(18px,4vw,56px); display:flex; align-items:center; gap:28px; background:var(--navy); color:white; }
.brand { display: flex; align-items: center; gap: 11px; color: white; text-decoration: none; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--radius-md); background: linear-gradient(135deg,var(--brand-accent),var(--brand-accent-2)); font-weight: 900; font-style: italic; font-size: 22px; box-shadow:0 0 18px color-mix(in srgb,var(--brand-accent) 45%,transparent); }
.brand-logo { position:relative; display:block; width:44px; height:44px; overflow:hidden; border-radius:12px; background:#020907; box-shadow:0 0 20px color-mix(in srgb,var(--brand-accent) 35%,transparent); }
.brand-logo img { position:absolute; width:84px; height:84px; max-width:none; transform:translate(-20px,-15px); }
.brand strong { display: block; font-size: 18px; }
.brand small { display: block; color: #aeb9d0; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }
.league-context { margin-left: auto; color: #d7deec; font-size: 13px; display: flex; align-items: center; gap: 8px; }
.pulse { width: 8px; height: 8px; background: #62d3aa; border-radius: 50%; box-shadow: 0 0 0 4px rgba(98,211,170,.13); }
.menu-button { display: none; background: transparent; border: 1px solid #4a5773; color: white; padding: 7px 11px; border-radius: 7px; }
.primary-nav { height:var(--app-primary-nav-height); padding:0 clamp(18px,4vw,56px); display:flex; align-items:stretch; gap:28px; background:white; border-bottom:1px solid var(--line); position:sticky; top:var(--app-topbar-height); z-index:30; }
.primary-nav a { display: flex; align-items: center; color: #4a5670; text-decoration: none; font-weight: 650; font-size: 14px; border-bottom: 3px solid transparent; }
.primary-nav a:hover, .primary-nav a.active { color: var(--accent); border-bottom-color: var(--accent); }
.contextual-nav { display:flex; align-items:stretch; gap:16px; margin-left:auto; padding-left:18px; border-left:1px solid var(--line); }
.contextual-nav:not(:has(a:not([hidden]))) { display:none; }
.contextual-nav a { color:var(--accent-strong); }
.league-tabs { display:flex; gap:6px; margin:-8px 0 20px; padding:6px; overflow-x:auto; border:1px solid var(--line); border-radius:var(--radius-md); background:var(--surface); }
.league-tabs a { flex:0 0 auto; padding:9px 13px; color:var(--muted); border-radius:8px; font-size:13px; font-weight:800; text-decoration:none; }
.league-tabs a:hover, .league-tabs a[aria-current="page"] { color:var(--accent-strong); background:var(--accent-soft); }
main { width: min(1440px, 100%); margin: 0 auto; padding: 28px clamp(18px, 4vw, 56px) 64px; }
.page-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 22px; }
.eyebrow { margin: 0 0 5px; color: var(--accent); text-transform: uppercase; letter-spacing: .1em; font-size: 11px; font-weight: 800; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 0; letter-spacing: -.035em; font-size: clamp(28px, 4vw, 42px); }
h2 { letter-spacing: -.02em; font-size: 18px; margin-bottom: 0; }
.subtle { color: var(--muted); }
.grid { display: grid; gap: 18px; }
.dashboard-grid { grid-template-columns: minmax(0, 1.4fr) minmax(320px, .8fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--elevation-1); overflow: hidden; }
.card-header { min-height: 52px; padding: 14px 17px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-body { padding: 16px 17px; }
.card-link { color: var(--accent); text-decoration: none; font-size: 13px; font-weight: 700; }
.stack { display: grid; gap: 18px; align-content: start; }
.stat-strip { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 18px; }
.stat { background: white; padding: 15px 17px; }
.stat span { display: block; color: var(--muted); font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; }
.stat strong { display: block; font-size: 22px; margin-top: 3px; }
.phase-banner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 18px; margin-bottom: 18px; border-radius: 10px; color: white; background: linear-gradient(100deg, #174aab, #2a6ce1); box-shadow: var(--shadow); text-decoration:none; }
.phase-banner.urgent { background: linear-gradient(100deg, #9c342f, #d65a42); }
.phase-banner .eyebrow { color: #bed2ff; margin-bottom: 3px; }
.phase-banner span { font-size: 13px; }
.freshness { display:block; margin-top:3px; font-size:10px !important; font-weight:700; opacity:.88; }
.freshness[data-freshness="stale"] { color:#fff2b8; }
[data-countdown-deadline].urgent { font-weight:900; text-decoration:underline; text-decoration-thickness:2px; }
[data-countdown-deadline].expired { font-weight:800; }
.table-wrap { position:relative; overflow:auto; overscroll-behavior-inline:contain; scrollbar-gutter:stable; }
.table-wrap[data-overflow="true"] { border-inline-end:3px solid var(--accent-soft); }
.table-wrap[data-overflow="true"]::after { position:sticky; right:0; display:block; width:100%; height:3px; margin-top:-3px; background:linear-gradient(90deg,transparent,var(--accent)); content:""; pointer-events:none; }
table caption { padding:9px 12px; color:var(--muted); background:var(--surface-soft); font-size:12px; font-weight:750; text-align:left; }
.data-table-cards { display:none; }
.data-empty { padding:24px; color:var(--muted); text-align:center; }
.data-empty p { margin:0; }
.data-card { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px 16px; padding:15px; border:1px solid var(--line); border-radius:var(--radius-md); background:var(--surface); }
.data-card>div { min-width:0; }
.data-card-primary { grid-column:1/-1; }
.data-card dt { color:var(--muted); font-size:10px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; }
.data-card dd { margin:3px 0 0; overflow-wrap:anywhere; }
.sticky-actions { position:sticky; bottom:0; z-index:3; padding-bottom:max(12px,env(safe-area-inset-bottom)); background:linear-gradient(transparent,var(--surface) 18%); }
.action-review-dialog { width:min(620px,calc(100% - 24px)); max-height:calc(100dvh - 28px); padding:0; border:0; border-radius:var(--radius-lg); box-shadow:var(--elevation-dialog); }
.action-review-dialog::backdrop { background:rgba(10,17,35,.62); backdrop-filter:blur(2px); }
.action-review { display:grid; gap:14px; padding:22px; }
.action-review header p:last-child { margin:8px 0 0; color:var(--muted); line-height:1.5; }
.action-review footer { display:flex; justify-content:flex-end; gap:10px; padding-top:8px; border-top:1px solid var(--line); }
.review-delta { padding:12px; border:1px solid var(--line); border-radius:var(--radius-md); background:var(--surface-soft); }
.review-delta h3 { margin:0 0 8px; font-size:13px; }
.review-delta>div,.review-field { display:flex; justify-content:space-between; gap:16px; padding:4px 0; }
.review-delta span,.review-field span { color:var(--muted); }
.mutation-receipt-region { position:fixed; z-index:80; right:18px; bottom:18px; width:min(440px,calc(100% - 36px)); }
.mutation-receipt { display:flex; justify-content:space-between; gap:16px; padding:15px; border:1px solid var(--line); border-left:5px solid var(--blue); border-radius:var(--radius-md); background:var(--surface); box-shadow:var(--elevation-dialog); }
.mutation-receipt.success { border-left-color:var(--green); }
.mutation-receipt.error,.mutation-receipt.conflict { border-left-color:var(--red); }
.mutation-receipt p { margin:4px 0; color:var(--muted); }
.mutation-receipt pre { max-height:180px; overflow:auto; white-space:pre-wrap; }
.mutation-receipt small { color:var(--muted); }
.board-compose { min-height: 72px; resize: vertical; flex: 1 1 420px; }
.board-compose-wrap { position: relative; flex: 1 1 420px; }
.board-compose-wrap .board-compose { width: 100%; }
.mention-suggestions { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px); max-height: 260px; overflow-y: auto; padding: 6px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: 0 14px 35px rgba(15, 31, 61, .18); }
.mention-suggestions button { width: 100%; display: flex; justify-content: space-between; gap: 12px; padding: 9px 10px; border: 0; border-radius: 7px; background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.mention-suggestions button:hover, .mention-suggestions button:focus { background: var(--accent-soft); }
.mention-suggestions span { color: var(--muted); }
.board-feed { display: grid; gap: 0; }
.board-thread { border-bottom:1px solid var(--line); }
.board-thread:last-child { border-bottom:0; }
.board-post { display: grid; grid-template-columns: minmax(150px, .35fr) 1fr auto; gap: 18px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.board-thread>.board-post:last-child,.board-reply-list>.board-post:last-child { border-bottom: 0; }
.board-post div { display: grid; gap: 3px; }
.board-post p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.board-post time { color: var(--muted); font-size: 12px; white-space: nowrap; }
.board-thread-replies { margin:0 0 8px 34px; padding-left:14px; border-left:2px solid var(--line); }
.board-thread-replies>summary { display:flex; align-items:center; gap:9px; width:fit-content; padding:8px 0; color:var(--blue); font-size:12px; font-weight:800; cursor:pointer; list-style:none; }
.board-thread-replies>summary::-webkit-details-marker { display:none; }
.board-thread-replies>summary::before { content:'▾'; font-size:11px; transition:transform .15s ease; }
.board-thread-replies:not([open])>summary::before { transform:rotate(-90deg); }
.board-thread-replies>summary span { color:var(--muted); font-weight:500; }
.board-reply-list { display:grid; }
.board-post.board-reply { padding-left:0; }
@media (max-width: 720px) { .board-post { grid-template-columns: 1fr; gap: 7px; } }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { color: var(--muted); text-align: left; padding: 10px 12px; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; background: #f8f9fb; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 11px 12px; border-bottom: 1px solid #edf0f4; vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fbfcfe; }
.number { text-align: right; font-variant-numeric: tabular-nums; }
.team-name, .player-link { color: var(--ink); font-weight: 720; text-decoration: none; }
.player-link:hover { color: var(--blue); }
.badge { display: inline-flex; align-items: center; min-height: 22px; padding: 2px 7px; border-radius: 5px; background: #edf0f5; color: #44506a; font-size: 10px; font-weight: 800; letter-spacing: .03em; white-space: nowrap; }
.badge.green { background: #e4f5ee; color: var(--green); }
.badge.orange { background: #fff0e5; color: #a74e17; }
.badge.red { background: #fdebed; color: var(--red); }
.badge.blue { background: var(--blue-soft); color: var(--blue); }
.matchup-row { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid #edf0f4; color:var(--ink); text-decoration:none; }
.matchup-team>div { min-width:0; overflow-wrap:anywhere; }
.league-matchups-panel .matchup-row { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
.league-matchups-panel .matchup-row .score-pill { grid-column:1 / -1; grid-row:2; justify-self:center; max-width:100%; white-space:normal; }
.league-matchups-panel .matchup-team { align-self:start; flex-wrap:wrap; }
.league-matchups-panel .matchup-team .badge { white-space:normal; }
.matchup-row:hover,.matchup-row:focus-visible { background:var(--surface-soft); outline-offset:3px; }
.matchup-row:last-child { border: 0; }
.matchup-row .away { text-align: left; }
.matchup-team, .matchup-hero-team { display: flex; align-items: center; gap: 10px; min-width: 0; }
.matchup-team.away, .matchup-hero-team.away { justify-content: flex-start; }
.matchup-team-logo { width: 38px; height: 38px; flex: 0 0 38px; object-fit: contain; padding: 3px; border: 1px solid var(--line); border-radius: 50%; background: white; }
.matchup-team-logo.fallback { display: grid; place-items: center; color: var(--blue); background: var(--blue-soft); font-size: 10px; font-weight: 900; }
.score-pill { min-width: 70px; text-align: center; background: var(--navy); color: white; border-radius: 7px; padding: 7px 9px; font-weight: 800; font-variant-numeric: tabular-nums; }
.matchup-hero { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 19px 20px; background: linear-gradient(180deg, #fff, #f8f9fc); border-bottom: 1px solid var(--line); }
.matchup-hero .away { text-align: right; }
.matchup-hero-team .matchup-team-logo { width: 48px; height: 48px; flex-basis: 48px; }
.matchup-hero-team.away { justify-content: flex-end; }
.matchup-hero h2 { margin-top: 3px; }
.matchup-tally { display: grid; justify-items: center; gap: 6px; }
.matchup-tally strong { font-size: 24px; font-variant-numeric: tabular-nums; }
.matchup-card-header { gap: 12px; flex-wrap: wrap; }
.matchup-card-header .card-link { white-space: nowrap; }
.matchup-focus-link { display:block; color:var(--ink); text-decoration:none; }
.matchup-focus-link:hover .matchup-hero,.matchup-focus-link:focus-visible .matchup-hero { background:var(--surface-soft); }
.matchup-tally small { display:block; margin-top:5px; color:var(--accent-strong); font-weight:750; }
.focused-matchup-status { overflow:hidden; }
.momentum-status { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border-bottom:1px solid var(--line); }
.momentum-status>div { display:flex; flex-direction:column; gap:4px; padding:14px 18px; border-right:1px solid var(--line); }
.momentum-status span { color:var(--muted); font-size:.72rem; font-weight:800; text-transform:uppercase; }
.momentum-status strong { font-size:1.08rem; }
.analytical-note { margin:0; padding:10px 18px; color:#17335f; background:#eaf2ff; font-size:.78rem; }
.momentum-scorecard td:nth-child(2) { text-align:center; }
.momentum-scorecard td small { display:block; color:var(--muted); }
.momentum-contributors { grid-template-columns:repeat(2,minmax(0,1fr)); }
.remaining-player-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:0; margin:0; padding:0; list-style:none; }
.remaining-player-list li { display:flex; flex-direction:column; gap:3px; padding:13px 16px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); }
.remaining-player-list span { color:var(--muted); font-size:.8rem; }
.matchup-period-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 16px; padding: 14px 18px; }
.matchup-period-toolbar h2 { margin-top: 2px; }
.matchup-period-nav { display: flex; align-items: center; gap: 10px; }
.matchup-period-nav > div { display: grid; min-width: 120px; text-align: center; }
.matchup-period-nav span { color: var(--muted); font-size: 10px; font-weight: 700; }
.matchup-period-nav strong { font-size: 15px; }
.matchup-period-nav .icon-button:disabled { border-color: #dfe4ec; color: #aeb7c5; background: #f6f7f9; cursor: default; }
.matchup-period-nav.compact { margin-left: auto; }
.matchup-period-nav.compact > div { min-width: 90px; }
.matchup-period-nav.compact .icon-button { width: 30px; height: 30px; font-size: 21px; }
.category-a_win td:first-child, .category-b_win td:last-child { color: var(--green); }
.deadline { display: grid; grid-template-columns: 8px 1fr auto; gap: 11px; align-items: center; padding: 10px 0; border-bottom: 1px solid #edf0f4; }
.deadline:last-child { border: 0; }
.deadline-dot { width: 8px; height: 8px; background: var(--orange); border-radius: 50%; }
.deadline time { color: var(--muted); font-size: 12px; white-space: nowrap; }
.deadline-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.deadline-copy strong { line-height: 1.25; }
.deadline-copy .player-link { font-weight: 800; }
.deadline-team { color: var(--muted); font-size: 11px; font-weight: 700; }
.deadline-action { color: var(--muted); font-size: 12px; line-height: 1.3; }
.activity { display: grid; grid-template-columns: 35px 1fr auto; gap: 10px; padding: 11px 0; border-bottom: 1px solid #edf0f4; }
.activity:last-child { border: 0; }
.activity-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: var(--blue-soft); color: var(--blue); font-size: 11px; font-weight: 900; }
.activity p { margin: 0; font-size: 13px; }
.activity time { color: var(--muted); font-size: 11px; white-space: nowrap; }
.activity-team { display:flex; align-items:center; justify-content:flex-end; gap:8px; }
.transaction-team-logo { display:grid; width:32px; height:32px; flex:0 0 32px; place-items:center; object-fit:contain; padding:2px; border:1px solid var(--line); border-radius:50%; background:white; }
.transaction-team-logo.fallback { color:var(--blue); background:var(--blue-soft); font-size:9px; font-weight:900; }
.transaction-activity { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:18px; align-items:center; padding:13px 0; border-bottom:1px solid #edf0f4; }
.transaction-activity:last-child { border-bottom:0; }
.transaction-players { display:grid; gap:7px; }
.transaction-player-line { display:grid; grid-template-columns:26px minmax(0,1fr); gap:8px; align-items:center; }
.transaction-player-line > div { display:grid; gap:1px; }
.transaction-player-line small { color:var(--muted); font-size:10px; }
.transaction-sign { font-size:25px; font-weight:500; line-height:1; text-align:center; }
.transaction-player-line.added .transaction-sign { color:#079447; }
.transaction-player-line.dropped .transaction-sign { color:var(--red); }
.transaction-franchise { display:flex; align-items:center; gap:9px; text-align:right; }
.transaction-franchise > div { display:grid; gap:2px; }
.transaction-franchise time { color:var(--muted); font-size:10px; white-space:nowrap; }
@media (max-width:680px) {
  .transaction-activity { grid-template-columns:1fr; }
  .transaction-franchise { justify-content:flex-start; text-align:left; }
}
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.input { min-height: var(--control-height); border: 1px solid #cbd3df; border-radius: var(--radius-sm); padding: 8px 11px; background: var(--surface); color: var(--ink); }
.input:focus { border-color: var(--accent-strong); }
.inline-field { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; font-weight: 700; white-space: nowrap; }
.inline-field .input { min-height: 34px; padding-block: 5px; }
.search { min-width: min(340px, 100%); flex: 1; }
.button { min-height: var(--control-height); border: 0; border-radius: var(--radius-sm); padding: 8px var(--space-control-inline); background: var(--accent-strong); color: var(--accent-foreground); font-weight: 750; cursor: pointer; }
.button:hover:not(:disabled):not([aria-disabled="true"]), .button.selected, .button[aria-pressed="true"] { filter: brightness(.88); }
.button.secondary { background: var(--surface); color: var(--accent-strong); border: 1px solid color-mix(in srgb,var(--accent-strong) 55%,#cbd3df); }
.button.secondary:hover:not(:disabled):not([aria-disabled="true"]) { background: var(--accent-soft); filter: none; }
.button:disabled, .button[aria-disabled="true"] { cursor: not-allowed; }
.button[aria-busy="true"], .button.is-loading { cursor: progress; }
.button.compact { padding: 6px 9px; font-size: 12px; }
.lineup-select { width: min(360px, 100%); }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 17px; border-top: 1px solid var(--line); }
#season-calendar { display: grid; grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); align-items: end; justify-content: initial; }
#season-calendar label { display: grid; min-width: 0; gap: 5px; }
#season-calendar .input { width: 100%; min-width: 0; }
#season-calendar .button { justify-self: start; }
.empty, .error-state, .loading-state { min-height: 180px; display: grid; place-items: center; align-content: center; text-align: center; color: var(--muted); padding: 30px; }
.loading-page{width:100%;gap:16px;min-height:280px}
.loading-page-skeleton{display:grid;gap:12px;width:min(620px,100%)}
.loading-page-skeleton i{display:block;height:18px;border-radius:6px;background:var(--border,#dce3ed)}
.loading-page-skeleton i:first-child{width:48%;height:28px}
.loading-page-skeleton i:last-child{height:100px;opacity:.5}
.global-carousel .global-carousel-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:40px;height:44px;min-height:44px;border:1px solid #ffffff70;border-radius:8px;background:#0009;color:white;font-size:28px;cursor:pointer}
.global-carousel .global-carousel-arrow.prev{left:8px}
.global-carousel .global-carousel-arrow.next{right:8px}
.error-state { max-width: 680px; margin: 70px auto; background: white; border: 1px solid var(--line); border-radius: 12px; }
.spinner { width: 26px; height: 26px; border: 3px solid #d9e2f4; border-top-color: var(--blue); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.player-dialog { width: min(1040px, calc(100% - 24px)); max-height: calc(100vh - 28px); padding: 0; border: 0; border-radius: var(--radius-lg); box-shadow: var(--elevation-dialog); }
.player-dialog::backdrop { background: rgba(10,17,35,.55); backdrop-filter: blur(2px); }
.player-dialog > .box-league-profile-context { box-sizing:border-box; margin:0; padding:14px 72px 12px 16px; background:#eef4f8; color:#334155; font-size:.8125rem; line-height:1.45; overflow-wrap:anywhere; }
.move-dialog { width: min(520px, calc(100% - 24px)); padding: 0; border: 0; border-radius: var(--radius-lg); box-shadow: var(--elevation-dialog); }
.move-dialog::backdrop { background: rgba(10,17,35,.55); backdrop-filter: blur(2px); }
.move-modal-content { padding: 28px; }
.move-modal-content h2 { margin: 2px 0 6px; }
.move-destinations { display: grid; gap: 7px; margin-top: 20px; max-height: 55vh; overflow: auto; }
.player-filter-grid { grid-template-columns: minmax(240px, 2fr) repeat(3, minmax(135px, 1fr)); align-items: center; }
.filter-check { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 10px; color: var(--muted); font-size: 12px; }
.toggle-button.active { color: var(--accent-foreground); border-color: var(--accent-strong); background: var(--accent-strong); }
.qualifier-min:disabled { opacity: .5; }
.trade-notification { position: relative; }
.notification-count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin-left: 6px; padding: 0 5px; border-radius: 999px; color: white; background: var(--red); font-size: 10px; font-weight: 900; }
.calendar-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-bottom: 18px; overflow: hidden; }
.calendar-summary > div { padding: 18px 20px; background: white; }
.calendar-summary span, .calendar-summary small { display: block; color: var(--muted); font-size: 10px; }
.calendar-summary strong { display: block; margin: 5px 0 2px; font-size: 16px; }
.admin-review-selected { outline: 2px solid var(--accent); outline-offset: 2px; }
.editorial-review-art { margin-top:20px; padding-top:18px; border-top:1px solid var(--line); }
.editorial-review-art-preview { margin:14px 0; max-width:760px; }
.editorial-review-art-preview img { display:block; width:100%; max-height:430px; aspect-ratio:16/9; object-fit:contain; background:#071426; border-radius:12px; }
.editorial-review-art-hero .editorial-review-art-preview { max-width:960px; }
.editorial-review-art-preview figcaption { margin-top:6px; color:var(--muted); font-size:.84rem; }
.editorial-art-revise { margin-top:12px; }
.editorial-art-revise textarea { min-height:84px; margin:8px 0; }
.editorial-focal-fields { display:grid; grid-template-columns:repeat(3,minmax(110px,1fr)); gap:10px; }
.editorial-focal-fields label { display:grid; gap:5px; }
.editorial-review-filters { margin:12px 0 18px; }
@media (max-width: 720px) {
  .editorial-review-art .card-header { align-items:flex-start; }
  .editorial-review-art-preview,.editorial-review-art-hero .editorial-review-art-preview { max-width:100%; }
  .editorial-art-actions .button { flex:1 1 46%; }
}
.editorial-art-assets { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 12px; margin: 14px 0; }
.editorial-art-assets figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #071426; }
.editorial-art-assets img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.editorial-art-assets figcaption { padding: 8px 10px; color: var(--muted); background: white; font-size: 11px; }
.dialog-close { position: absolute; right: 14px; top: 12px; z-index: 2; border: 0; background: #edf0f5; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 20px; }
.player-hero { padding: 28px 58px 22px 24px; color: white; background: linear-gradient(135deg, var(--navy), #203664); }
.player-hero h2 { font-size: 26px; margin: 3px 0 8px; }
.team-identity { display: flex; align-items: center; gap: 9px; color: #dce5f6; }
.team-logo { width: 30px; height: 30px; object-fit: contain; padding: 2px; border-radius: 50%; background: white; }
.position-line { display: flex; align-items: center; gap: 9px; margin: 10px 0 0; color: #dce5f6; }
.position-line span { padding-left: 9px; border-left: 1px solid rgba(255,255,255,.25); }
.player-content { padding: 22px 24px 28px; }
.player-actions { display: flex; justify-content: flex-end; margin-bottom: 12px; }
.player-data-toolbar { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin: 24px 0 14px; border-bottom: 1px solid var(--line); }
.tabs { display: flex; gap: 4px; }
.tab { border: 0; border-bottom: 3px solid transparent; padding: 10px 13px; background: transparent; color: var(--muted); font-weight: 750; cursor: pointer; }
.tab.active { color: var(--accent-strong); border-bottom-color: var(--accent-strong); }
.phase-filter { display: flex; align-items: center; gap: 8px; padding-bottom: 7px; color: var(--muted); font-size: 12px; font-weight: 750; }
.phase-filter .input { min-height: 34px; padding-block: 5px; }
.split-table { min-width: 900px; }
.split-table tbody th { text-align: left; white-space: nowrap; }
.season-total-row { background: var(--surface-muted, #f4f7fb); font-weight: 800; }
.split-note { margin: 10px 2px 0; font-size: 12px; }
.game-month { border: 1px solid var(--line); border-radius: 9px; margin-bottom: 10px; overflow: hidden; }
.game-month summary { display: flex; justify-content: space-between; padding: 12px 14px; cursor: pointer; background: #f7f9fc; color: var(--navy); }
.game-month summary span { color: var(--muted); font-size: 12px; }
.game-month .table-wrap { border-top: 1px solid var(--line); }
.game-log-table { min-width: 820px; }
.player-stats-table { min-width: 1260px; }
.player-stats-table th, .player-stats-table td { white-space: nowrap; }
.player-stats-table .sticky-player { position: sticky; left: 0; z-index: 1; background: white; box-shadow: 1px 0 0 var(--line); }
.player-stats-table thead .sticky-player { z-index: 3; background: #f5f7fa; }
.player-list-identity { display: flex; align-items: center; gap: 10px; min-width: 210px; }
.player-list-identity > div { display: grid; gap: 2px; }
.player-list-identity > div > span { color: var(--muted); font-size: 11px; }
.player-list-identity > div.has-editorial-popover { grid-template-columns:minmax(0,1fr) auto; column-gap:7px; align-items:center; }
.player-list-identity > div.has-editorial-popover>span,.player-list-identity > div.has-editorial-popover>small { grid-column:1/-1; }
.team-mark { display:block; aspect-ratio:1; flex:0 0 auto; max-width:100%; max-height:100%; padding:0; background:transparent; }
.player-list-logo { width: 34px; height: 34px; flex: 0 0 34px; object-fit: contain; padding: 3px; border-radius: 50%; background: #f4f6fa; }
.team-mark.player-list-logo { padding:0; background:transparent; }
.player-list-logo.fallback { display: grid; place-items: center; color: var(--blue); font-size: 10px; font-weight: 800; }
.acquisition-type { display: inline-flex; align-items: center; min-height: 25px; padding: 3px 7px; border-radius: 6px; font-size: 11px; font-weight: 800; }
.acquisition-type.free { color: #08783c; background: #e3f7eb; }
.acquisition-type.waiver { color: #805500; background: #fff1c5; }
.acquisition-type.other { color: var(--muted); background: #eef1f5; }
.quick-actions { display: flex; align-items: center; gap: 7px; }
.acquire-shortcut, .watch-shortcut { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-size: 20px; line-height: 1; cursor: pointer; }
.acquire-shortcut { border: 0; color: white; }
.acquire-shortcut.free { background: #079447; }
.acquire-shortcut.waiver { background: #f5ae25; }
.acquire-shortcut.other { background: var(--blue); }
.watch-shortcut { border: 1px solid #9aa5b5; color: #31415d; background: white; font-size: 16px; }
.watch-shortcut.watched { color: white; border-color: #31415d; background: #31415d; }
.acquire-shortcut:hover, .watch-shortcut:hover { transform: translateY(-1px); box-shadow: 0 3px 8px rgba(20,35,60,.18); }
.action-unavailable { display: inline-block; width: 34px; text-align: center; color: var(--muted); }
.fantasy-points { border-left: 1px solid var(--line); background: #f7f9fd; }
.sort-header { display: inline-flex; align-items: center; justify-content: flex-end; gap: 4px; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-transform: inherit; cursor: pointer; }
.sticky-player .sort-header { justify-content: flex-start; }
.sort-header.active { color: var(--blue); }
.sort-header span { font-size: 8px; }
.player-pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.player-pager > div { display: flex; gap: 7px; }
.player-pager button:disabled { opacity: .45; cursor: default; }
.action-panel { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(170px, .8fr) auto; gap: 10px 14px; align-items: center; padding: 14px; margin-bottom: 18px; background: var(--blue-soft); border: 1px solid #cfdbf5; border-radius: 10px; }

.team-hero { position:relative; display:grid; grid-template-columns:minmax(390px,.9fr) minmax(440px,1.1fr); gap:28px; min-height:176px; align-items:center; padding:27px 30px; margin-bottom:16px; overflow:hidden; color:white; border:0; background:#092741; box-shadow:0 16px 38px rgba(13,35,59,.18); }
.team-hero::after { position:absolute; right:38%; bottom:-150px; width:330px; height:330px; border:38px solid rgba(28,199,219,.08); border-radius:50%; content:""; pointer-events:none; }
.team-identity-block { display: flex; align-items: center; gap: 17px; min-width: 0; }
.team-identity-block>div { position:relative; z-index:1; }
.team-identity-block .eyebrow { color:#59dfcb; }
.team-identity-block h1 { color:white; font-size:clamp(38px,4vw,54px); line-height:.96; letter-spacing:-.05em; }
.team-identity-block p:last-child { margin:9px 0 0; color:#b9cad8; font-size:13px; }
.team-settings-button { margin-left: auto; align-self: flex-start; white-space: nowrap; }
body[data-surface="team"] .team-settings-button { position:relative; z-index:2; color:white; border-color:rgba(192,224,237,.52); background:rgba(255,255,255,.08); }
.team-settings-form { padding: 24px; }
.team-settings-form h2 { margin: 0 44px 5px 0; }
.team-settings-form > p { margin: 0 0 20px; color: var(--muted); }
.team-logo-editor { display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: center; margin: 18px 0; }
.team-logo-preview { width: 88px; height: 88px; border-radius: 18px; object-fit: contain; background: #f4f6fa; border: 1px solid var(--line); padding: 8px; }
.team-logo-preview.fallback { display: grid; place-items: center; background: var(--blue); color: white; font-weight: 800; font-size: 24px; }
.commissioner-franchise-identity { display: flex; min-width: 210px; align-items: center; gap: 9px; }
.commissioner-team-logo { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); background: #fff; }
.commissioner-team-logo.fallback { display: grid; place-items: center; color: var(--blue); background: var(--blue-soft); font-size: 10px; font-weight: 900; }
.mock-seat-list { max-height: 360px; overflow-y: auto; }
.mock-seat { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mock-seat.mine { margin-inline: -8px; padding-inline: 8px; border-left: 3px solid var(--blue); background: var(--blue-soft); }
.team-logo-editor small { display: block; color: var(--muted); margin-top: 6px; }
.franchise-logo { position:relative; z-index:1; width:96px; height:96px; flex:0 0 96px; object-fit:contain; filter:drop-shadow(0 10px 18px rgba(0,0,0,.28)); }
.franchise-logo.fallback { display: grid; place-items: center; border-radius: 20px; color: white; background: var(--team-color); font-size: 23px; font-weight: 900; letter-spacing: -.04em; box-shadow: inset 0 0 0 5px rgba(255,255,255,.18); }
.team-matchup { position:relative; z-index:1; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:14px; min-height:94px; padding:15px 18px; color:white; border:1px solid rgba(174,216,235,.27); border-radius:12px; background:rgba(255,255,255,.075); backdrop-filter:blur(3px); }
.team-matchup > div { display: grid; gap: 4px; }
.team-matchup .away { text-align: right; }
.team-matchup span { color:#9eb8ca; font-size:10px; text-transform:uppercase; letter-spacing:.06em; }
.team-matchup strong { font-size: 13px; }
.team-matchup b { padding:8px 11px; border-radius:7px; color:#061a2a; background:#63e0cc; font-size:19px; font-variant-numeric:tabular-nums; }
body[data-surface="team"] .team-matchup .icon-button { color:#d9f7f2; border-color:rgba(189,223,238,.32); background:rgba(255,255,255,.06); }
.empty-matchup { display: flex; justify-content: center; }
.finance-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; background: var(--line); }
.finance-strip > div { min-width: 0; padding: 13px 15px; background: white; }
.finance-strip span, .finance-strip strong, .finance-strip small { display: block; }
.finance-strip span { color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.finance-strip strong { margin-top: 3px; font-size: 18px; }
.finance-strip small { display: none; }
.finance-strip .negative { color: var(--red); }
.finance-strip .status-text { font-size: 15px; }
.team-workspace { overflow: visible; }
.team-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.date-nav, .team-actions { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.date-nav > div { display: grid; min-width: 82px; text-align: center; }
.date-nav span { color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.date-nav strong { font-size: 15px; }
.date-nav .input { width: 143px; }
.icon-button { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid #b8c8e7; border-radius: var(--radius-sm); color: var(--accent-strong); background: var(--surface); font-size: 24px; cursor: pointer; }
.team-tabs { display: flex; gap: 3px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.team-tab { padding: 13px 12px 11px; border: 0; border-bottom: 3px solid transparent; color: var(--muted); background: transparent; font-weight: 750; cursor: pointer; }
.team-tab.active { color: var(--blue); border-bottom-color: var(--orange); }
.team-panel { min-height: 250px; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; padding: 17px; border-bottom: 1px solid var(--line); }
.panel-heading p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.team-lineup-table { width: 100%; min-width: 0; font-size: 11px; }
.team-lineup-table th, .team-lineup-table td { white-space: nowrap; }
.team-lineup-table tbody td { padding:8px 10px; }
.team-lineup-table .sticky-team-player { min-width: 205px; }
.team-lineup-wrap { overflow-x: visible; }
.weekly-schedule { width: 100%; min-width: 980px; }
.schedule-game-cell strong, .schedule-game-cell small { display: block; }
.schedule-game-cell small { margin-top: 3px; color: var(--muted); }
.lineup-slot { color: var(--blue); font-size: 12px; font-weight: 850; }
.game-line { display: inline-grid; min-width:82px; max-width:120px; overflow:hidden; margin-right:7px; color:var(--ink); font-size:10px; line-height:1.25; vertical-align:middle; text-overflow:ellipsis; }
.game-line strong { font-size:11px; }
.game-line small { color:var(--muted); font-size:9px; }
.game-line.no-game { color:var(--muted); }
.lineup-game-cell>.badge { vertical-align:middle; }
.roster-group th { padding: 8px 12px; color: var(--navy); background: #edf2fb; font-size: 10px; }
.empty-player { color: var(--muted); font-size: 12px; }
.reserve-roster { border-top: 8px solid var(--canvas); }
.lineup-overview { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 56px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: #fbfcfe; }
.lineup-overview > div:first-child { display: grid; gap: 2px; }
.lineup-overview > div:first-child span { color: var(--muted); font-size: 11px; }
#open-lineup-slots { display: flex; align-items: center; justify-content: flex-end; gap: 5px; flex-wrap: wrap; }
.assignment-count, .open-slot-chip { display: inline-flex; align-items: center; gap: 3px; min-height: 25px; padding: 3px 7px; border-radius: 6px; color: #48617d; background: #eaf0f7; font-size: 10px; font-weight: 800; }
.assignment-count { color: var(--green); background: #e4f5ee; }
.assignment-count.needs-attention { color: #9a5b05; background: #fff1d0; }
.open-slot-chip small { color: #7b8ba1; font-size: 8px; }
.lineup-player-row.is-starter { background: #fcfdff; }
.lineup-player-row.is-unassigned { background: #fffaf0; }
.lineup-player-row[draggable="true"] { cursor: grab; }
.lineup-player-row[draggable="true"]:active { cursor: grabbing; }
.lineup-player-row.lineup-dragging { opacity: .38; }
.lineup-drop-target { transition: background .14s ease, box-shadow .14s ease; }
.lineup-drop-target.is-empty-starter { background: #fbfcff; }
.lineup-drop-target.is-empty-starter .assignment-pill { opacity: .72; }
.lineup-drop-target.lineup-drop-active, .lineup-bench-drop.lineup-drop-active { background: #e9f1ff; box-shadow: inset 0 0 0 2px var(--blue); }
.lineup-player-row.lineup-move-source { background:#eef3ff; box-shadow:inset 4px 0 0 var(--blue); }
.lineup-player-row.lineup-move-legal,.bench-group.lineup-move-legal { position:relative; background:#def4e6; box-shadow:inset 0 0 0 2px #20a05a; cursor:pointer; }
.lineup-player-row.lineup-move-legal:hover,.bench-group.lineup-move-legal:hover { background:#ccecd8; }
.bench-group.lineup-move-legal th { background:#def4e6; }
.lineup-player-row.lineup-move-unavailable { opacity:.32; }
.lineup-move-hint { display:inline-flex; min-height:27px; align-items:center; padding:4px 9px; color:#08743d; border:1px solid #8ad0a7; border-radius:7px; background:#e5f6eb; font-size:10px; font-weight:850; }
.lineup-empty-drop { color: #8a95a7; font-size: 10px; font-style: italic; }
.lineup-drag-handle { display: inline-flex; margin-right: 7px; color: #78869a; font-size: 18px; line-height: 1; vertical-align: middle; }
.bench-group th { color: #53647c; background: #f3f5f8; }
.assignment-pill { display: inline-flex; min-width: 58px; justify-content: center; padding: 5px 8px; border: 0; border-radius: 999px; font-size: 10px; font-weight: 850; }
button.assignment-pill { cursor:pointer; }
button.assignment-pill:hover { filter:brightness(.92); }
.assignment-pill.starter { color: white; background: var(--blue); }
.assignment-pill.bench { color: #526079; background: #e9edf3; }
.assignment-pill.unassigned { color: #955807; background: #fff0cd; }
.lineup-action-cell { position: relative; min-width: 105px; }
.lineup-row-actions { display:grid; grid-template-columns:repeat(2,minmax(42px,1fr)); gap:6px; }
.lineup-row-actions .button { min-width:0; }
.lineup-ir-action:disabled { color:#98a3b3; border-color:#dfe4eb; background:#f0f2f6; opacity:1; }
.move-popover { width: 280px; margin-top: 7px; padding: 9px; border: 1px solid #bdcae0; border-radius: 9px; background: white; box-shadow: 0 10px 26px rgba(17,27,54,.14); white-space: normal; }
.move-popover > strong { display: block; margin-bottom: 7px; font-size: 11px; }
.move-popover > div { display: grid; gap: 5px; max-height: 230px; overflow: auto; }
.move-destination { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 9px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); background: #fafcff; text-align: left; cursor: pointer; }
.move-destination:hover { border-color: var(--blue); background: var(--blue-soft); }
.move-destination span { display: grid; color: var(--blue); font-size: 11px; font-weight: 850; }
.move-destination small { color: var(--muted); font-size: 9px; font-weight: 600; }
.move-destination em { color: var(--muted); font-size: 9px; font-style: normal; }
.salary-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; padding: 17px; border-bottom: 1px solid var(--line); }
.salary-heading p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.salary-heading label { display: grid; gap: 4px; min-width: 220px; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.scenario-banner { display: flex; align-items: center; gap: 13px; padding: 12px 16px; border-bottom: 1px solid #cddaf5; background: var(--blue-soft); }
.scenario-banner > span { flex: 1; color: #4e6080; font-size: 12px; }
.what-if-toggle { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.canonical-contract-note { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 10px 16px; border-bottom: 1px solid #f0d6bd; color: #76502e; background: #fff7ef; font-size: 11px; }
.salary-matrix { min-width: 1120px; }
.salary-matrix th, .salary-matrix td { white-space: nowrap; }
.salary-matrix .sticky-salary-player { position: sticky; left: 0; z-index: 1; min-width: 190px; background: white; box-shadow: 1px 0 0 var(--line); }
.salary-matrix thead .sticky-salary-player { z-index: 3; background: #f8f9fb; }
.salary-matrix .sticky-salary-player small, .salary-matrix td small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; font-weight: 600; }
.scenario-column { min-width: 225px; background: #f8faff; }
.scenario-inputs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.scenario-inputs label { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.scenario-inputs .input.short { width: 54px; min-height: 30px; padding: 4px 6px; }
.scenario-inputs .release-check { text-transform: none; }
.scenario-summary { display: block; color: var(--muted); font-size: 11px; line-height: 1.35; }
.scenario-year-controls { display: grid; gap: 4px; justify-items: end; margin-top: 5px; }
.scenario-year-controls label { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.scenario-year-controls .input.short { width: 48px; min-height: 27px; padding: 2px 5px; }
.scenario-cell-action { border: 0; padding: 0; background: transparent; color: var(--blue); font: inherit; font-size: 10px; font-weight: 800; cursor: pointer; }
.scenario-cell-action.danger, .salary-release { color: var(--red); }
.salary-contracted { color: #0b5e42; background: #e8f6f0; }
.salary-hypothetical { color: #6648a1; background: #f0eafe; }
.salary-rights { font-weight: 850; text-align: center; }
.salary-rights.rfa { color: #9a5b05; background: #fff2d8; }
.salary-rights.ufa { color: #a1323e; background: #fdebed; }
.salary-empty { color: #a3adbd; }
.vacancy-row td { color: #45617e; background: #edf3f9; }
.vacancy-row .sticky-salary-player { background: #edf3f9; }
.salary-vacancy { color: #45617e; background: #edf3f9; }
.salary-matrix tfoot th, .salary-matrix tfoot td { border-top: 1px solid var(--line); background: #fafbfc; }
.salary-matrix tfoot th { text-align: right; }
.salary-matrix tfoot .projection-total th, .salary-matrix tfoot .projection-total td { color: white; background: var(--navy); font-weight: 850; }
.projection-comparison { margin: 0 0 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; background: color-mix(in srgb, var(--accent) 5%, white); }
.projection-comparison .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.projection-comparison h3 { margin: .15rem 0 0; }
.projection-comparison th small { display:block; max-width:230px; font-size:12px; line-height:1.35; font-weight:400; text-transform:none; white-space:normal; }
.projection-delta { color: var(--accent); font-weight: 750; }
.salary-matrix .negative { color: var(--red); font-weight: 850; }
.hypothetical-name { color: #6648a1; font-weight: 750; }
.canonical-extension { flex-basis: 100%; margin-top: 3px; }

@media (max-width: 700px) {
  .player-content { padding-inline: 14px; }
  .player-data-toolbar { align-items: stretch; flex-direction: column; gap: 8px; }
  .phase-filter { justify-content: space-between; }
  .position-line { align-items: flex-start; flex-wrap: wrap; }
  .game-log-table .secondary-stat, .game-log-table .shooting-stat { display: none; }
  .game-log-table { min-width: 560px; }
  .player-stats-table .secondary-stat, .player-stats-table .shooting-stat { display: none; }
  .player-stats-table { min-width: 850px; }
}
.action-panel .subtle { grid-column: 1 / -1; font-size: 12px; }
.action-panel label { display: grid; gap: 4px; font-size: 11px; font-weight: 750; text-transform: uppercase; color: var(--muted); }
.toast-region { position: fixed; right: 18px; bottom: 18px; z-index: 40; }
.toast { display:flex; align-items:center; gap:12px; max-width:min(440px,calc(100vw - 36px)); background:var(--navy); color:white; padding:11px 14px; border-radius:8px; box-shadow:var(--shadow); }
.toast.success { border-left:4px solid var(--green); }
.toast.warning { border-left:4px solid var(--orange); }
.toast.error { border-left:4px solid var(--red); }
.toast .link-button,.toast-dismiss { color:white; }
.toast-dismiss { border:0; background:transparent; font:inherit; font-size:20px; cursor:pointer; }
.notification-button { position:relative; display:inline-grid; place-items:center; min-width:40px; min-height:40px; border:1px solid var(--line); border-radius:999px; background:var(--surface); color:var(--ink); cursor:pointer; }
.notification-button svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.notification-button .notification-count { position:absolute; inset:-5px -7px auto auto; margin:0; }
.notification-dialog { width:min(620px,calc(100vw - 24px)); max-height:min(760px,calc(100vh - 24px)); padding:0; border:0; border-radius:var(--radius-lg); background:var(--surface); color:var(--ink); box-shadow:var(--elevation-dialog); }
.notification-dialog-header,.notification-toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:18px 20px; border-bottom:1px solid var(--line); }
.notification-dialog-header h2 { margin:0; }
.notification-list { display:grid; max-height:65vh; overflow:auto; }
.notification-item { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:18px 20px; border-bottom:1px solid var(--line); border-left:4px solid transparent; }
.notification-item.unread { background:var(--surface-soft); border-left-color:var(--blue); }
.notification-item.urgent { border-left-color:var(--red); }
.notification-item.warning { border-left-color:var(--orange); }
.notification-item h3,.notification-item p { margin:6px 0; }
.notification-item time { color:var(--muted); font-size:12px; }
.notification-item .disabled { pointer-events:none; opacity:.55; }
.today-command-center { padding:20px; border:1px solid var(--line); border-radius:var(--radius-lg); background:linear-gradient(145deg,var(--surface),var(--surface-soft)); box-shadow:var(--elevation-1); }
.today-command-center .section-heading { margin-bottom:16px; }
.today-command-center h2 { margin:2px 0 0; font-size:clamp(26px,4vw,38px); }
.today-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:12px; }
.today-card { display:grid; gap:8px; min-height:132px; padding:16px; border:1px solid var(--line); border-radius:12px; background:var(--surface); color:var(--ink); text-decoration:none; }
.today-card strong { font-size:17px; }
.today-card span { color:var(--muted); }
.today-card b { align-self:end; color:var(--blue); }
.today-card.warning { border-left:5px solid var(--orange); }
.today-card.urgent { border-left:5px solid var(--red); }
.today-card.clear { border-left:5px solid var(--green); }
.compact-standings { display:grid; }
.compact-standing { display:grid; grid-template-columns:34px minmax(0,1fr) auto; gap:10px; padding:12px 18px; border-top:1px solid var(--line); color:var(--ink); text-decoration:none; }
.compact-standing.mine { background:var(--surface-soft); box-shadow:inset 4px 0 var(--blue); }
.lineup-dirty-banner { position:sticky; top:0; z-index:12; display:flex; align-items:center; gap:12px; padding:12px 16px; border-bottom:1px solid var(--orange); background:color-mix(in srgb,var(--orange) 12%,var(--surface)); box-shadow:var(--elevation-1); }
.lineup-dirty-banner[hidden] { display:none; }
.lineup-dirty-banner div { display:grid; margin-right:auto; }
.lineup-dirty-banner span { color:var(--muted); font-size:12px; }
.lineup-changed { box-shadow:inset 4px 0 var(--orange); background:color-mix(in srgb,var(--orange) 7%,var(--surface)); }
.lineup-save-actions { position:sticky; bottom:0; z-index:10; background:var(--surface); border-top:1px solid var(--line); }
.player-filter-shell { display:grid; gap:10px; margin-bottom:16px; padding:14px; border:1px solid var(--line); border-radius:var(--radius-lg); background:var(--surface); }
.player-primary-filters,.player-filter-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:10px; align-items:end; }
.player-primary-filters label,.player-filter-grid label { display:grid; gap:5px; color:var(--muted); font-size:12px; font-weight:700; }
.active-filter-bar { display:flex; align-items:center; flex-wrap:wrap; gap:8px; min-height:24px; }
.active-filter-bar > span { margin-left:auto; color:var(--muted); font-size:12px; }
.filter-chip { border:1px solid var(--blue); border-radius:999px; padding:5px 9px; background:var(--surface-soft); color:var(--ink); cursor:pointer; }
.advanced-filters { border-top:1px solid var(--line); padding-top:10px; }
.advanced-filters summary { cursor:pointer; color:var(--blue); font-weight:800; }
.advanced-filters[open] summary { margin-bottom:10px; }
.player-list-identity small { display:block; margin-top:3px; color:var(--muted); font-size:11px; white-space:normal; }
.pulse-date { margin:18px 0 6px; color:var(--muted); font-size:12px; letter-spacing:.08em; text-transform:uppercase; }
.pulse-unread { background:var(--surface-soft); box-shadow:inset 4px 0 var(--blue); }
.pulse-unread-divider { display:flex; align-items:center; gap:10px; margin:12px 0; color:var(--blue); font-size:11px; font-weight:900; text-transform:uppercase; }
.pulse-unread-divider::before,.pulse-unread-divider::after { content:""; flex:1; height:1px; background:var(--blue); opacity:.35; }
.board-post.mentioned-me { border-left:4px solid var(--orange); background:color-mix(in srgb,var(--orange) 8%,var(--surface)); }
.pulse-older { margin-top:10px; }
.pulse-older > summary { cursor:pointer; color:var(--blue); font-weight:800; }
.transaction-center-tabs { display:flex; gap:6px; margin-bottom:14px; overflow-x:auto; border-bottom:1px solid var(--line); }
.transaction-center-tabs .team-tab { flex:0 0 auto; }
.transaction-center-panel { min-height:260px; }
.claim-board { display:grid; gap:8px; padding:14px; }
.claim-order-card { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:12px; padding:12px; border:1px solid var(--line); border-radius:10px; background:var(--surface); cursor:grab; }
.claim-order-card > div:nth-child(2) { display:grid; gap:3px; }
.claim-order-card span { color:var(--muted); font-size:12px; }
.claim-rank { display:grid; place-items:center; width:30px; height:30px; border-radius:999px; background:var(--navy); color:white!important; font-weight:900; }
.claim-order-actions { display:flex; gap:6px; }
.player-dialog .action-panel { position:sticky; top:0; z-index:5; box-shadow:var(--elevation-1); }
.unresolved { color: #a74e17; cursor: help; }
.private-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.private-grid > section { padding: 17px; min-width: 0; }
.private-grid > section + section { border-left: 1px solid var(--line); }
.workspace-heading { min-height: 34px; display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.trade-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #edf0f4; }
.trade-card h3 { margin: 5px 0 3px; font-size: 14px; }
.trade-actions { display: flex; gap: 7px; }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.roster-injury { width: fit-content; margin-top: 3px; padding: 2px 6px; border-radius: 999px; background: #fff3dc; color: #925600 !important; font-size: 9px !important; font-weight: 850 !important; letter-spacing: .05em; text-transform: uppercase; }
.roster-injury.eligible { background: #ffe7e7; color: #b42318 !important; }
.activation-drop-dialog { width: min(940px, calc(100vw - 32px)); max-height: min(760px, calc(100vh - 32px)); padding: 0; border: 0; border-radius: 14px; box-shadow: 0 24px 70px rgba(15, 31, 60, .3); }
.activation-drop-dialog::backdrop { background: rgba(10, 24, 48, .62); }
.activation-drop-content { background: white; }
.activation-drop-content .dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 22px; border-bottom: 1px solid var(--line); }
.activation-drop-content .dialog-heading h2 { margin: 3px 0 5px; }
.activation-drop-content .dialog-heading p { margin-bottom: 0; color: var(--muted); }
.activation-drop-content .table-wrap { max-height: 520px; overflow: auto; }
.activation-drop-content .form-actions { justify-content: space-between; padding: 16px 22px; border-top: 1px solid var(--line); }
.transaction-tabs { display: flex; gap: 4px; padding: 0 17px; border-bottom: 1px solid var(--line); }
[data-private-panel] { padding: 17px; }
.trade-builder { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 24px; overflow: hidden; }
.trade-step-rail { display: grid; grid-template-columns: repeat(4, 1fr); background: #f5f7fb; border-bottom: 1px solid var(--line); }
.trade-step-rail span { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 8px; color: var(--muted); font-size: 12px; font-weight: 750; }
.trade-step-rail span b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #dfe5ef; }
.trade-step-rail span.active { color: var(--blue); background: #eef4ff; }
.trade-step-rail span.active b, .trade-step-rail span.complete b { color: white; background: var(--blue); }
.trade-builder > .action-panel, .trade-builder > .panel-heading, .trade-builder > .form-actions, .trade-builder > label, .trade-builder > p { margin: 16px; }
.trade-roster-picker { max-height: 540px; overflow: auto; border-block: 1px solid var(--line); }
.trade-extras { display: grid; grid-template-columns: minmax(180px, .35fr) 1fr; gap: 20px; padding: 16px; }
.trade-extras fieldset { display: flex; flex-wrap: wrap; gap: 12px; border: 0; padding: 0; }
.trade-extras legend { width: 100%; margin-bottom: 6px; font-weight: 750; }
.trade-summary-sides { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 12px; }
.trade-summary-sides > div { padding: 14px; border-radius: 10px; background: #f6f8fc; }
.trade-summary-sides ul { margin: 8px 0 0; padding-left: 20px; }
.trade-summary-sides.review { margin: 16px; }
.trade-card.detailed { display: block; padding: 16px; border: 1px solid var(--line); border-radius: 10px; margin-top: 12px; }
.trade-card.detailed header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.trade-card blockquote { margin: 12px 0; padding: 10px 14px; border-left: 3px solid var(--blue); background: #f7f9fc; color: var(--muted); }
.button.danger { color: #fff; background: var(--red); border-color: var(--red); }
.input.tall { min-height: 96px; }
.draft-stage { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px 22px; align-items: center; padding: 22px; margin-bottom: 18px; color: white; background: linear-gradient(120deg, var(--navy), #29467f); border-radius: 12px; box-shadow: var(--shadow); }
.draft-freshness { display:inline-flex; align-items:center; gap:6px; padding:6px 9px; border-radius:999px; background:var(--surface-soft); color:var(--muted); font-size:.76rem; font-weight:800; }
.draft-freshness i { width:8px; height:8px; border-radius:50%; background:var(--green); }
.draft-freshness[data-draft-connection="reconnecting"] i { background:var(--orange); }
.draft-freshness[data-draft-connection="stale"] { color:#8b1e1e; background:#fff0f0; }
.draft-freshness[data-draft-connection="stale"] i { background:#bd2525; }
.on-clock-bar { position:sticky; top:76px; z-index:9; display:flex; justify-content:space-between; gap:12px; margin-bottom:10px; padding:10px 16px; border:1px solid #f2ce89; border-radius:10px; background:rgba(255,244,223,.97); box-shadow:var(--elevation-1); }
.ai-health-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:12px; padding:16px; }
.ai-health-card { padding:14px; border:1px solid var(--line); border-left:5px solid var(--green); border-radius:11px; background:var(--surface); }
.ai-health-card.degraded,.ai-health-card.stale { border-left-color:var(--orange); }
.ai-health-card.critical { border-left-color:#bd2525; }
.ai-health-card header { display:flex; justify-content:space-between; gap:10px; }
.ai-health-card h3 { margin:.35rem 0 .1rem; }
.ai-health-card p { margin:0; color:var(--muted); }
.ai-health-card dl { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.ai-health-card dl div { padding:8px; background:var(--surface-soft); border-radius:8px; }
.ai-health-card dt { color:var(--muted); font-size:.7rem; font-weight:800; text-transform:uppercase; }
.ai-health-card dd { margin:.25rem 0 0; font-weight:750; }
.exception-queue { padding:0 16px 16px; }
.exception-queue ol { margin:0; padding:0; list-style:none; }
.exception-queue li { display:grid; grid-template-columns:auto auto 1fr auto; gap:10px; align-items:center; padding:10px; border-top:1px solid var(--line); }
.ai-public-receipts { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:10px; padding:14px; }
.ai-public-receipts article { padding:13px; border:1px solid var(--line); border-radius:10px; background:var(--surface-soft); }
.ai-public-receipts article>div { display:flex; justify-content:space-between; gap:8px; }
.ai-public-receipts h3 { margin:.65rem 0 .35rem; }
.ai-public-receipts ul { margin:.4rem 0 0; padding-left:1.15rem; }
.draft-stage .eyebrow, .draft-stage .subtle { color: #bdc9e0; }
.draft-stage h2, .draft-stage p { margin-bottom: 0; }
.draft-stage.paused { background: linear-gradient(120deg, #57411a, #8b6320); }
.draft-stage-aside { display: flex; gap: 10px; align-items: stretch; justify-content: flex-end; }
.draft-clock { min-width: 128px; padding: 10px 15px; border: 1px solid rgba(255,255,255,.28); border-radius: 9px; background: rgba(4,13,34,.28); text-align: center; font-variant-numeric: tabular-nums; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.draft-clock span, .draft-clock small { display: block; color: #d8e0f0; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.draft-clock strong { display: block; margin: 1px 0 2px; font-size: 31px; line-height: 1.05; letter-spacing: -.04em; }
.draft-clock.urgent { border-color: #ffd36c; background: rgba(150,68,4,.72); transform: scale(1.03); }
.draft-clock.expired { border-color: rgba(255,255,255,.18); background: rgba(4,13,34,.42); }
.draft-clock.expired strong { color: #d8e0f0; }
.draft-clock.paused-clock strong { margin: 6px 0; font-size: 20px; letter-spacing: 0; }
.draft-sound-toggle { display: block; width: 100%; margin-top: 7px; padding: 4px 6px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; color: #eef3ff; background: rgba(255,255,255,.08); font: inherit; font-size: 9px; font-weight: 800; text-transform: uppercase; cursor: pointer; }
.draft-sound-toggle:hover, .draft-sound-toggle:focus-visible { background: rgba(255,255,255,.17); }
.draft-turn-summary { min-width: 190px; padding: 12px 16px; border: 1px solid rgba(255,255,255,.22); border-radius: 9px; background: rgba(255,255,255,.08); text-align: right; }
.draft-turn-summary span, .draft-turn-summary small { display: block; color: #d8e0f0; }
.draft-turn-summary span { font-size: 10px; font-weight: 800; text-transform: uppercase; }
.draft-turn-summary strong { display: block; margin: 3px 0; font-size: 20px; }
.draft-room-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(290px, 1fr); gap: 18px; align-items: start; }
.draft-train { margin-bottom:18px; overflow:hidden; color:white; border-radius:13px; background:#091329; box-shadow:var(--shadow); }
.draft-train header { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:13px 17px; border-bottom:1px solid rgba(255,255,255,.12); }
.draft-train header .eyebrow { margin:0; color:color-mix(in srgb,var(--accent) 72%,white); }
.draft-train header h2 { margin-top:2px; }
.draft-train header>strong { color:var(--accent-2); font-size:13px; letter-spacing:.05em; }
.draft-train-rail { display:flex; gap:8px; padding:12px 14px 15px; overflow-x:auto; scroll-snap-type:x proximity; scrollbar-color:var(--accent) rgba(255,255,255,.09); }
.draft-train-pick { display:grid; flex:0 0 118px; min-height:133px; padding:9px; align-content:start; scroll-snap-align:center; border:1px solid rgba(255,255,255,.13); border-radius:9px; background:rgba(255,255,255,.055); opacity:.82; }
.draft-train-pick small,.draft-train-pick span { overflow:hidden; color:#aebbd1; font-size:9px; font-weight:800; text-overflow:ellipsis; white-space:nowrap; }
.draft-train-pick strong { margin:5px 0 4px; overflow:hidden; font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
.draft-train-logo { display:grid; width:38px; height:38px; margin-top:7px; place-items:center; overflow:hidden; border-radius:50%; color:white; background:rgba(255,255,255,.13); font-size:10px; font-weight:900; }
.draft-train-logo img { width:100%; height:100%; padding:3px; object-fit:contain; background:white; }
.draft-train-pick.past { opacity:.42; }
.draft-train-pick.current { opacity:1; border-color:var(--accent-2); background:color-mix(in srgb,var(--accent) 28%,#091329); box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 45%,transparent),0 0 20px color-mix(in srgb,var(--accent) 28%,transparent); transform:translateY(-2px); }
.draft-train-pick.mine { opacity:1; border-color:#fff; }
.draft-train-pick.mine span { color:white; }
.draft-main-column, .draft-side-column { display: grid; gap: 18px; min-width: 0; }
.draft-order-card { margin-bottom: 18px; }
.draft-order-strip { display: flex; gap: 8px; padding: 14px 16px 17px; overflow-x: auto; }
.draft-order-pick { min-width: 106px; padding: 10px 11px; border: 1px solid var(--line); border-radius: 8px; background: #f8fafc; }
.draft-order-pick span, .draft-order-pick small { display: block; color: var(--muted); font-size: 10px; }
.draft-order-pick strong { display: block; margin: 4px 0; }
.draft-order-pick.current { border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); background: #fff7e7; }
.draft-order-pick.mine { background: var(--blue-soft); }
.draft-order-pick.current.mine { background: #fff0c8; }
.draft-filter-grid { margin: 0; padding: 14px 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.draft-player-table { min-width: 1160px; }
.draft-player-table th:first-child, .draft-player-table td:first-child { width: 58px; text-align: center; }
.mock-draft-player-table { min-width: 100%; }
.mock-draft-player-table th, .mock-draft-player-table td { padding: 8px; }
.mock-draft-table-wrap { max-height: min(58vh, 560px); overflow: auto; }
.mock-draft-table-wrap thead th { position: sticky; top: 0; z-index: 2; }
.mock-turn-notice.turn { color: #4d2f00; background: #ffe6ab; border-color: #d59b22; }
.mock-turn-notice.deck { color: #183b74; background: #e9f1ff; border-color: #98b6e6; }
.mock-turn-notice.complete { color: #155237; background: #e5f7eb; border-color: #88bf9b; }
#draft-mock-queue { margin-top: 12px; }
.draft-roster-select { display: grid; gap: 4px; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.draft-roster-select .input { min-width: 170px; }
.draft-roster-count { display: flex; justify-content: space-between; padding: 11px 16px; border-bottom: 1px solid var(--line); background: #f8fafc; }
.draft-roster-count span { color: var(--muted); }
.draft-roster-list { max-height: 590px; overflow-y: auto; }
.draft-roster-list > div { display: grid; grid-template-columns: 22px minmax(0,1fr) auto; gap: 8px; align-items: center; padding: 9px 14px; border-bottom: 1px solid #edf0f4; }
.draft-roster-list > div > span, .draft-roster-list > div > small { color: var(--muted); font-size: 10px; }
.draft-roster-section-label { padding: 7px 14px; color: var(--navy); background: #eef3fb; border-bottom: 1px solid var(--line); font-size: 10px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.draft-roster-section-label.bench { margin-top: 2px; background: #f6f7f9; }
.draft-roster-list.bench { max-height: none; }
.draft-roster-list > div.empty-slot { min-height: 53px; background: #fafbfc; }
.draft-roster-list > div.empty-slot .empty-player { color: #9aa3b2; font-size: 11px; font-style: italic; }
.draft-roster-list .draft-slot-label { display: inline-grid; place-items: center; width: 27px; height: 23px; margin-left: -3px; color: var(--blue); background: var(--blue-soft); border-radius: 5px; font-weight: 850; }
.draft-roster-list .player-list-logo { width: 25px; height: 25px; flex-basis: 25px; }
.draft-roster-list .player-list-identity span { font-size: 10px; }
.draft-pick-history { padding: 5px 15px 12px; }
.draft-pick-history > div { display: grid; grid-template-columns: 28px 1fr; gap: 8px; align-items: center; padding: 9px 0; border-bottom: 1px solid #edf0f4; }
.draft-pick-history > div > span { color: var(--muted); font-size: 11px; font-weight: 800; }
.draft-pick-history p, .draft-pick-history small { display: block; margin: 0; }
.draft-pick-history small { margin-top: 2px; color: var(--muted); }
.button.queued { color: #125a3a; border-color: #70b995; background: #e8f7ef; }
.draft-queue-list { margin: 0; padding: 4px 14px 10px; list-style: none; }
.draft-queue-list li { position: relative; display: grid; grid-template-columns: 24px 18px minmax(0,1fr) auto; gap: 7px; align-items: center; padding: 9px 0; border-bottom: 1px solid #edf0f4; transition: opacity .15s ease, background .15s ease; }
.queue-rank { display: grid; width: 21px; height: 21px; place-items: center; border-radius: 50%; color: white; background: var(--navy); font-size: 10px; font-weight: 800; }
.queue-drag-handle { color: #8a95a7; font-size: 18px; line-height: 1; cursor: grab; user-select: none; }
.queue-drag-handle:active { cursor: grabbing; }
.draft-queue-list li.dragging { opacity: .4; }
.draft-queue-list li.drop-before::before, .draft-queue-list li.drop-after::after { position: absolute; left: 0; right: 0; height: 3px; border-radius: 999px; background: var(--blue); content: ''; }
.draft-queue-list li.drop-before::before { top: -2px; }
.draft-queue-list li.drop-after::after { bottom: -2px; }
.draft-queue-list li.saving { opacity: .55; background: var(--blue-soft); }
.draft-queue-list a { font-weight: 750; text-decoration: none; }
.draft-queue-list small { display: block; margin-top: 2px; color: var(--muted); }
.queue-actions { display: flex; gap: 3px; }
.queue-actions button { display: grid; width: 25px; height: 25px; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 5px; background: white; cursor: pointer; }
.queue-actions button:hover:not(:disabled) { color: white; border-color: var(--blue); background: var(--blue); }
.queue-actions button:disabled { opacity: .35; cursor: default; }
.auction-price { text-align: right; grid-row: 1 / 3; grid-column: 2; }
.auction-price span { display: block; color: #bdc9e0; font-size: 11px; text-transform: uppercase; }
.auction-price strong { font-size: 30px; }
.inline-form { grid-column: 1 / -1; display: flex; align-items: end; gap: 10px; margin-top: 8px; }
.inline-form label { display: grid; gap: 5px; font-size: 12px; }
.rfa-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px; border-left: 5px solid var(--orange); }
.rfa-card h2 { margin: 3px 0 7px; }
.rfa-card p { margin-bottom: 0; }
.rfa-actions { display: flex; gap: 8px; }
.rfa-decision-card { border-left:5px solid var(--orange); }
.rfa-decision-card>header,.rfa-decision-card>footer { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:18px 20px; }
.rfa-decision-card>header h2 { margin:.2rem 0; }
.rfa-decision-card>footer { border-top:1px solid var(--line); background:var(--surface-soft); }
.rfa-decision-card>footer p { max-width:660px; margin:0; }
.rfa-countdown { display:flex; flex-direction:column; align-items:flex-end; gap:.2rem; }
.rfa-countdown time { font-size:1.25rem; font-weight:850; color:var(--orange); }
.rfa-economy { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-block:1px solid var(--line); }
.rfa-economy>div { display:flex; flex-direction:column; gap:.3rem; padding:16px 20px; border-right:1px solid var(--line); }
.rfa-economy span { color:var(--muted); font-size:.72rem; font-weight:800; text-transform:uppercase; }
.rfa-blockers { margin:16px 20px; padding:12px 14px; border:1px solid #f2ce89; border-radius:10px; background:#fff4df; }
.form-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; align-items: end; }
.form-grid label { display: grid; gap: 5px; color: var(--muted); font-size: 11px; font-weight: 750; text-transform: uppercase; }
.input.short { width: 90px; }
.readiness-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-bottom: 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--line); }
.readiness-grid > div { padding: 14px 16px; background: white; }
.readiness-grid span, .readiness-grid strong { display: block; }
.readiness-grid span { color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.readiness-grid strong { margin-top: 4px; }
.readiness-grid .ok { color: var(--green); }
.readiness-grid .not-ready { color: var(--red); }
.lifecycle { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); padding: 0 16px 18px; }
.lifecycle-step { position: relative; display: grid; grid-template-columns: 24px 1fr; grid-template-rows: auto auto; gap: 2px 7px; padding: 12px 8px; border-top: 3px solid var(--line); }
.lifecycle-step > span { grid-row: 1 / 3; display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: var(--line); font-weight: 900; }
.lifecycle-step strong { font-size: 12px; }
.lifecycle-step small { color: var(--muted); }
.lifecycle-step.complete { border-top-color: var(--green); }
.lifecycle-step.complete > span { color: white; background: var(--green); }
.lifecycle-step.waiting { border-top-color: #d99100; }
.lifecycle-card .readiness-grid { margin: 0 16px 18px; grid-template-columns: repeat(6, 1fr); }
.status-row, .button-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.order-list { columns: 2; padding-left: 24px; }
.ai-run-details { margin-top: 8px; }
.ai-run-details summary { color: var(--blue); cursor: pointer; font-weight: 750; }
.ai-run-audit { min-width: 420px; padding: 10px 0; }
.ai-run-audit h4 { margin: 12px 0 5px; }
.ai-audit-list { margin: 6px 0; padding-left: 20px; }
.ai-audit-list li { margin-bottom: 9px; }
.ai-audit-list p { margin: 3px 0; }
.ai-audit-list pre { max-width: 620px; margin: 5px 0; padding: 8px; overflow: auto; border-radius: 6px; background: #f3f6fb; font: 11px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; }
.draft-player-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; max-height: 360px; overflow: auto; }
.player-choice { display: grid; gap: 3px; padding: 10px; text-align: left; border: 1px solid var(--line); border-radius: 8px; background: white; cursor: pointer; }
.player-choice:hover { border-color: var(--blue); background: var(--blue-soft); }
.player-choice span { color: var(--muted); font-size: 11px; }
.account-controls { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.responsive-account-controls { display:none; }

@media (max-width: 640px) {
  .account-name { display:none; }
  .notification-item { align-items:flex-start; flex-direction:column; }
  .notification-item .button { width:100%; }
}
.account-name { color: #dfe7fb; font-size: 12px; font-weight: 700; }
.account-league, .mode-switch, .link-button { border: 1px solid rgba(255,255,255,.28); border-radius: 7px; color: white; background: transparent; font: inherit; }
.account-league { max-width: 180px; padding: 6px 8px; background: #111b36; }
.mode-switch, .link-button { padding: 6px 9px; cursor: pointer; }
.link-button { border-color: transparent; }
.commissioner-mode .topbar { background: #5a2414; }
.commissioner-mode .brand small::after { content: " · COMMISSIONER MODE"; color: #ffd2a8; font-weight: 800; }
.auth-shell { min-height: calc(100vh - 150px); display: grid; place-items: center; padding: 30px; }
.auth-card { width: min(440px, 100%); padding: 34px; border: 1px solid var(--line); border-top: 5px solid var(--blue); border-radius: 12px; background: white; box-shadow: 0 18px 50px rgba(13,27,56,.12); }
.auth-shell { grid-template-columns: minmax(0, 1fr); }
.auth-card { min-width: 0; }
.auth-card #clerk-sign-in :is(.cl-rootBox, .cl-cardBox, .cl-card) { width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box; }
@media (max-width: 480px) {
  .auth-shell { padding: 12px; }
  .auth-card { padding: 20px 12px; }
}
.auth-card h1 { margin: 5px 0 8px; }
.auth-card label { display: grid; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 750; }
.form-error { min-height: 20px; color: var(--red); font-weight: 700; }
.admin-disclosure > summary { color: var(--blue); cursor: pointer; }
.admin-disclosure[open] > summary { margin-bottom: 14px; }
.warning-note { display: grid; gap: 3px; margin-bottom: 16px; padding: 12px 14px; border-left: 4px solid #d99100; border-radius: 6px; background: #fff8e6; }
.warning-note span { color: var(--muted); font-size: 12px; }
.commissioner-note { padding: 14px 0; border-bottom: 1px solid var(--line); }
.commissioner-note:last-child { border-bottom: 0; }
.commissioner-note > div { display: flex; align-items: center; gap: 9px; }
.commissioner-note time { margin-left: auto; color: var(--muted); font-size: 11px; }
.commissioner-note p { margin: 8px 0 0; white-space: pre-wrap; }
.commissioner-milestones { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--blue-soft); }
.commissioner-milestones span { color: var(--muted); font-size: 12px; }
.commissioner-milestones a { margin-left: auto; color: var(--blue); font-weight: 750; text-decoration: none; }
.settings-facts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px; background: var(--line); }
.settings-facts > div { padding: 16px 18px; background: white; }
.settings-facts span, .settings-facts strong { display: block; }
.settings-facts span { color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.settings-facts strong { margin-top: 4px; }
.rule-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px; background: var(--line); }
.rule-grid article { padding: 18px; background: white; }
.rule-grid h3 { margin: 0 0 7px; font-size: 14px; }
.rule-grid p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }

/* Platform and game-mode portal */
.portal-mode main { width: min(1320px, 100%); }
.portal-mode .topbar { box-shadow: 0 8px 24px rgba(12,22,48,.14); }
.portal-hero { position: relative; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 32px; align-items: center; min-height: 220px; margin: -28px calc(clamp(18px,4vw,56px) * -1) 28px; padding: 46px clamp(22px,6vw,76px); overflow: hidden; color: white; background: radial-gradient(circle at 78% 18%,rgba(77,126,235,.65),transparent 28%),linear-gradient(125deg,#0d1732,#193a78 58%,#1f65d2); }
.portal-hero::after { position:absolute; right:-90px; bottom:-170px; width:430px; height:430px; border:58px solid rgba(255,255,255,.055); border-radius:50%; content:''; }
.portal-hero h1 { max-width: 760px; margin: 5px 0 12px; font-size: clamp(38px,6vw,68px); line-height:.96; }
.portal-hero p:not(.eyebrow) { max-width: 690px; margin:0; color:#dbe7ff; font-size:17px; line-height:1.55; }
.portal-hero .eyebrow { color:#9fc0ff; }
.portal-season-mark { position:relative; z-index:1; display:grid; min-width:220px; padding:23px 25px; border:1px solid rgba(255,255,255,.24); border-radius:16px; background:rgba(6,16,39,.35); backdrop-filter:blur(8px); }
.portal-season-mark span,.portal-season-mark small { color:#bbcdf1; font-size:11px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.portal-season-mark strong { margin:4px 0; font-size:30px; }
.game-mode-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:16px; margin-bottom:18px; }
.mock-lab-card { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:20px; align-items:center; margin-bottom:28px; padding:22px; color:white; border-radius:var(--radius-lg); background:linear-gradient(130deg,#392364,#8357d7); box-shadow:var(--elevation-2); }
.mock-lab-card h2 { margin:4px 0 7px; font-size:24px; }
.mock-lab-card p { margin:0; color:rgba(255,255,255,.82); }
.mock-lab-actions { display:flex; flex-wrap:wrap; gap:8px; }
.mock-lab-actions .button { color:#392364; background:white; }
.password-field { position:relative; display:grid; gap:6px; }
.password-field .link-button { position:absolute; right:8px; bottom:7px; }
.auth-help { padding:12px; border-radius:var(--radius-md); background:var(--surface-soft); color:var(--muted); font-size:12px; }
.onboarding-steps { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:4px; margin-bottom:18px; padding:8px; border:1px solid var(--line); border-radius:var(--radius-md); background:var(--surface); }
.onboarding-step { padding:10px; border-radius:8px; color:var(--muted); font-size:11px; font-weight:800; text-align:center; }
.onboarding-step.complete { color:var(--green); background:#e4f5ee; }
.onboarding-step.current { color:var(--accent-strong); background:var(--accent-soft); outline:2px solid var(--accent); }
.game-mode-card { position:relative; display:flex; min-height:320px; padding:22px; overflow:hidden; flex-direction:column; color:white; text-decoration:none; border-radius:15px; box-shadow:0 14px 32px rgba(18,34,70,.13); transition:transform .18s ease,box-shadow .18s ease; }
.game-mode-card:hover { transform:translateY(-4px); box-shadow:0 20px 40px rgba(18,34,70,.2); }
.game-mode-card::after { position:absolute; right:-45px; top:-45px; width:155px; height:155px; border:28px solid rgba(255,255,255,.08); border-radius:50%; content:''; }
.game-mode-card.dynasty,.mode-hero.dynasty { background:linear-gradient(145deg,#051914,#006f66 58%,#00bfaa); }
.game-mode-card.redraft,.mode-hero.redraft { background:linear-gradient(145deg,#06172d,#075acb 58%,#00b8ef); }
.game-mode-card.keeper,.mode-hero.keeper { background:linear-gradient(145deg,#21001a,#8d005e 58%,#ef009d); }
.game-mode-card.mock,.mode-hero.mock { background:linear-gradient(145deg,#392364,#8357d7); }
.game-mode-icon { position:relative; z-index:1; display:grid; width:62px; height:62px; place-items:center; margin-bottom:22px; overflow:hidden; color:white; border:1px solid rgba(255,255,255,.3); border-radius:13px; background:rgba(0,0,0,.35); font-size:23px; font-weight:950; font-style:italic; }
.game-mode-icon img { width:100%; height:100%; object-fit:cover; }
.game-mode-kicker { color:rgba(255,255,255,.7); font-size:10px; font-weight:850; letter-spacing:.08em; text-transform:uppercase; }
.game-mode-card h2 { margin:6px 0 10px; font-size:24px; }
.game-mode-card p { color:rgba(255,255,255,.82); font-size:13px; line-height:1.55; }
.game-mode-footer { display:flex; align-items:center; gap:5px; margin-top:auto; padding-top:18px; border-top:1px solid rgba(255,255,255,.17); font-size:11px; text-transform:uppercase; letter-spacing:.04em; }
.game-mode-footer strong { font-size:18px; }
.game-mode-footer b { margin-left:auto; }
.portal-home-grid { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(360px,.65fr); gap:18px; }
.portal-news-reserve { min-height:285px; }
.portal-news-placeholder { display:grid; grid-template-columns:118px 1fr; gap:24px; align-items:center; min-height:215px; padding:28px; background:linear-gradient(110deg,#f8faff,#eef3fd); }
.portal-news-placeholder>span { display:grid; width:108px; height:108px; place-items:center; color:white; border-radius:25px; background:linear-gradient(145deg,var(--navy),var(--blue)); font-size:32px; font-weight:950; font-style:italic; box-shadow:var(--shadow); }
.portal-news-placeholder h3 { margin:0 0 8px; font-size:21px; }
.portal-news-placeholder p { margin:0; color:var(--muted); line-height:1.6; }
.portal-team-list { display:grid; }
.portal-team-card { display:grid; grid-template-columns:50px minmax(0,1fr) auto auto; gap:13px; align-items:center; padding:15px 17px; border-bottom:1px solid var(--line); }
.portal-team-card:last-child { border-bottom:0; }
.portal-team-logo { display:grid; width:48px; height:48px; place-items:center; overflow:hidden; border:1px solid var(--line); border-radius:13px; background:#f6f8fc; }
.portal-team-logo img { width:100%; height:100%; padding:5px; object-fit:contain; }
.portal-team-monogram { color:var(--blue); font-weight:900; }
.portal-team-copy span { color:var(--muted); font-size:10px; font-weight:750; text-transform:uppercase; }
.portal-team-copy h3 { margin:2px 0; font-size:15px; }
.portal-team-copy p { margin:0; color:var(--muted); font-size:11px; }
.portal-back { display:inline-block; margin-bottom:17px; color:var(--blue); text-decoration:none; font-size:13px; font-weight:800; }
.mode-hero { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:23px; align-items:center; margin-bottom:22px; padding:28px 30px; color:white; border-radius:16px; box-shadow:var(--shadow); }
.mode-hero .game-mode-icon { margin:0; }
.mode-hero .eyebrow { margin-bottom:4px; color:rgba(255,255,255,.7); }
.mode-hero h1 { margin:0 0 7px; }
.mode-hero p:not(.eyebrow) { max-width:700px; margin:0; color:rgba(255,255,255,.82); }
.mode-hero-actions { display:flex; gap:9px; }
.mode-hero-actions .button { background:white; color:var(--navy); }
.mode-hero-actions .button.secondary { color:white; border-color:rgba(255,255,255,.5); background:transparent; }
.mode-landing-grid { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(330px,.55fr); gap:18px; align-items:start; }
body.portal-mode[data-surface="mode"] { --ink:#f3f8fb; --muted:#a9bdca; --line:var(--mode-line); --surface:var(--mode-panel); --surface-soft:var(--mode-panel-soft); --surface-muted:var(--mode-panel-soft); --link:color-mix(in srgb,var(--brand-accent) 78%,white); color:var(--ink); }
body.portal-mode[data-surface="mode"] main { padding-bottom:80px; }
body.portal-mode[data-surface="mode"] .portal-back { position:relative; z-index:3; color:color-mix(in srgb,var(--brand-accent) 80%,white); }
body.portal-mode[data-surface="mode"] .dynasty-mode-hero { margin-top:0; }
body.portal-mode[data-surface="mode"] .dynasty-mode-layout>main { width:auto; margin:0; padding:0; }

.mode-action-router { display:grid; gap:1.5rem; max-width:980px; margin:clamp(2rem,6vw,5rem) auto; padding:clamp(1.5rem,4vw,3rem); border:1px solid var(--line); border-radius:1.4rem; background:var(--surface); box-shadow:var(--shadow); }
.mode-action-router h1 { margin:.25rem 0 .75rem; font-size:clamp(2.2rem,5vw,4.5rem); line-height:.95; }
.mode-action-router>div>p:last-child { max-width:65ch; color:var(--muted); line-height:1.6; }
body.portal-mode[data-surface="mode"] :is(.dynasty-mode-hero,.mode-hero) { margin-right:calc(50% - 50vw); margin-left:calc(50% - 50vw); padding-right:max(clamp(32px,6vw,82px),calc((100vw - 1200px)/2)); padding-left:max(clamp(32px,6vw,82px),calc((100vw - 1200px)/2)); border-radius:0; box-shadow:0 18px 45px rgba(0,0,0,.28); }
body.portal-mode[data-surface="mode"] .mode-hero { min-height:260px; margin-bottom:26px; }
body.portal-mode[data-surface="mode"] .card { border-color:var(--mode-line); background:var(--mode-panel); box-shadow:0 12px 28px rgba(0,0,0,.16); }
body.portal-mode[data-surface="mode"] .card-header { border-color:var(--mode-line); }
body.portal-mode[data-surface="mode"] :is(.portal-team-card,.portal-game,.portal-injury,.league-news-row) { border-color:var(--mode-line); }
body.portal-mode[data-surface="mode"] .portal-team-logo { border-color:var(--mode-line); background:rgba(255,255,255,.92); }
body.portal-mode[data-surface="mode"] .portal-team-name { color:var(--ink); }
body.portal-mode[data-surface="mode"] .portal-game-team :is(img,.portal-game-logo) { border-color:rgba(255,255,255,.16); }
body.portal-mode[data-surface="mode"] .portal-feed-placeholder { background:var(--mode-panel-soft); }
body.portal-mode[data-surface="mode"] .button.secondary { color:color-mix(in srgb,var(--brand-accent) 72%,white); border-color:color-mix(in srgb,var(--brand-accent) 48%,var(--mode-line)); background:rgba(255,255,255,.035); }
body.portal-mode[data-surface="mode"] .button.secondary:hover:not(:disabled):not([aria-disabled="true"]) { background:var(--mode-panel-soft); }
body.portal-mode[data-surface="mode"] .dynasty-league-card { color:var(--ink); border-color:var(--mode-line); background:linear-gradient(145deg,var(--mode-panel-soft),var(--mode-panel)); }
body.portal-mode[data-surface="mode"] .dynasty-coming { color:var(--ink); border-color:color-mix(in srgb,var(--brand-accent) 46%,transparent); background:var(--mode-panel); }
body.portal-mode[data-surface="mode"] .dynasty-coming>div:last-child { background:var(--mode-line); }
body.portal-mode[data-surface="mode"] .dynasty-coming article { background:var(--mode-panel-soft); }
body.portal-mode[data-surface="mode"] .dynasty-coming article>span { color:#bfd1d9; background:rgba(255,255,255,.08); }
body.portal-mode[data-surface="mode"] .dynasty-tools { background:var(--mode-line); }
body.portal-mode[data-surface="mode"] .dynasty-tool { color:var(--ink); background:var(--mode-panel-soft); }
body.portal-mode[data-surface="mode"] .dynasty-tool:hover { background:color-mix(in srgb,var(--mode-panel-soft) 80%,var(--brand-accent)); }
body.portal-mode[data-surface="mode"] .dynasty-tool>span { color:color-mix(in srgb,var(--brand-accent) 72%,white); }
body.portal-mode[data-surface="mode"] .dynasty-news .league-news-lead.no-art { background:var(--mode-panel-soft); }
body.portal-mode[data-surface="mode"][data-game-mode="NBA_DYNASTY"] :is(.card-link,.portal-back,.eyebrow,.dynasty-tool>span) { color:var(--brand-accent); }
body.portal-mode[data-surface="mode"][data-game-mode="NBA_DYNASTY"] .badge.blue { color:color-mix(in srgb,var(--brand-accent) 78%,white); background:color-mix(in srgb,var(--brand-accent) 14%,transparent); }
body.portal-mode[data-surface="mode"][data-game-mode="NBA_DYNASTY"] .dynasty-news .league-news-row span { color:var(--brand-accent); }
.mode-landing-grid>aside .editorial-story-row { padding:12px 14px; }
.mode-landing-grid>aside .editorial-story-row:has(.editorial-story-art) { grid-template-columns:96px minmax(0,1fr); gap:12px; align-items:center; }
.mode-landing-grid>aside .editorial-story-art { width:96px; height:72px; aspect-ratio:auto; }
.mode-landing-grid>aside .editorial-story-meta { flex-wrap:wrap; gap:4px 7px; line-height:1.25; }
.mode-landing-grid>aside .editorial-story-copy>a { display:-webkit-box; overflow:hidden; font-size:13px; line-height:1.28; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.mode-landing-grid>aside .editorial-story-copy>p { font-size:11px; line-height:1.35; -webkit-line-clamp:2; }
.portal-schedule { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
.portal-game { display:grid; grid-template-columns:1fr auto; gap:7px 12px; align-items:center; padding:14px 17px; color:var(--text-primary); border-right:1px solid var(--surface-border); border-bottom:1px solid var(--surface-border); }
.portal-game time { color:var(--text-secondary); font-size:11px; }
.portal-game-teams { display:flex; gap:8px; align-items:center; }
.portal-game-team { display:inline-flex; gap:6px; align-items:center; min-width:0; }
.portal-game-team img,.portal-game-logo { display:grid; width:30px; height:30px; flex:0 0 30px; place-items:center; object-fit:contain; padding:2px; border:1px solid var(--surface-border); border-radius:50%; background:white; }
.portal-game-logo.fallback { color:var(--link); background:var(--accent-soft); font-size:8px; font-weight:900; }
.portal-game-at { color:var(--text-secondary); font-size:9px; text-transform:uppercase; }
.portal-game>.badge { grid-column:2; grid-row:1/3; }
.portal-feed-placeholder { min-height:160px; display:grid; place-content:center; padding:28px; text-align:center; background:linear-gradient(145deg,#fafbfe,#f0f4fb); }
.portal-feed-placeholder strong { font-size:17px; }
.portal-feed-placeholder p { max-width:420px; margin:7px auto 0; color:var(--muted); font-size:12px; line-height:1.55; }
.portal-injury-list { display:grid; }
.portal-injury { display:grid; grid-template-columns:38px minmax(0,1fr) auto; gap:10px; align-items:center; padding:12px 15px; color:var(--text-primary); border-bottom:1px solid var(--surface-border); }
.portal-injury:last-child { border:0; }
.portal-injury-team { display:grid; width:36px; height:36px; place-items:center; color:var(--link); border-radius:50%; background:var(--accent-soft); font-size:10px; font-weight:900; }
.portal-injury strong { font-size:12px; }
.portal-injury p { margin:2px 0 0; color:var(--text-secondary); font-size:10px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.player-status-widget__item a { color:var(--link); font-weight:850; text-decoration:none; }
.player-status-widget__item a:hover { text-decoration:underline; }
.portal-news-list { display:grid; }
.portal-news-item { display:grid; grid-template-columns:72px minmax(0,1fr); gap:11px; padding:13px 15px; border-bottom:1px solid var(--line); }
.portal-news-item:last-child { border:0; }
.portal-news-item > img { width:72px; height:54px; object-fit:cover; border-radius:8px; background:var(--surface-soft); }
.portal-news-item:not(:has(> img)) { grid-template-columns:1fr; }
.portal-news-item a { display:block; margin-top:5px; color:var(--ink); font-size:12px; font-weight:850; line-height:1.3; text-decoration:none; }
.portal-news-item a:hover { color:var(--blue); }
.portal-news-item p { display:-webkit-box; margin:5px 0 0; overflow:hidden; color:var(--muted); font-size:10px; line-height:1.4; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.portal-news-meta { display:flex; gap:7px; align-items:center; color:var(--muted); font-size:9px; }
.join-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(320px,.65fr); gap:18px; align-items:start; }
.join-league-card { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:20px; border:1px solid var(--line); border-radius:12px; background:white; }
.join-league-card h2 { margin:7px 0 4px; }
.join-league-card p { margin:0; color:var(--muted); font-size:12px; }
.join-selection { position:sticky; top:68px; }

@media (max-width: 900px) {
  .draft-room-grid { grid-template-columns: 1fr; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .team-hero { grid-template-columns: 1fr; }
  .finance-strip { grid-template-columns: repeat(2, 1fr); }
  .team-toolbar { align-items: flex-start; flex-direction: column; }
  .salary-heading { align-items: stretch; flex-direction: column; }
  .scenario-banner { align-items: flex-start; flex-wrap: wrap; }
  .scenario-banner > span { flex-basis: 100%; }
  .game-mode-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .portal-home-grid,.mode-landing-grid,.join-layout { grid-template-columns:1fr; }
  .portal-season-mark { display:none; }
  .mode-hero { grid-template-columns:auto 1fr; }
  .mode-hero-actions { grid-column:1/-1; }
}
@media (max-width: 1024px) {
  .league-navigation-mode .league-context { display: none; }
  .league-navigation-mode .topbar { padding-inline:8px; gap:6px; }
  .league-navigation-mode .brand > span:last-child,
  .league-navigation-mode .account-name,
  .league-navigation-mode .account-league,
  .league-navigation-mode .header-admin-link,
  .league-navigation-mode #logout { display: none; }
  .league-navigation-mode .brand-logo { width:36px; height:36px; border-radius:9px; }
  .league-navigation-mode .brand-logo img { width:70px; height:70px; transform:translate(-17px,-13px); }
  .league-navigation-mode .account-controls { gap:6px; }
  .league-navigation-mode .notification-button { min-width:36px; min-height:36px; }
  .league-navigation-mode .menu-button { display: block; margin-left:0; padding-inline:8px; }
  .league-navigation-mode .primary-nav { display: none; height: auto; position: static; padding: 8px 18px; gap: 0; flex-direction: column; }
  .league-navigation-mode .primary-nav.open { display: flex; }
  .league-navigation-mode .primary-nav a { padding: 10px 2px; border-bottom: 0; border-left: 3px solid transparent; }
  .league-navigation-mode .primary-nav a.active { padding-left: 9px; border-left-color: var(--blue); }
  .league-navigation-mode .responsive-sport-navigation { display:flex; align-items:stretch; flex-direction:column; gap:0; margin:6px 0 0; padding:6px 0 0; border-top:1px solid var(--line); }
  .league-navigation-mode .contextual-nav { display:flex; align-items:stretch; flex-direction:column; gap:0; margin:6px 0 0; padding:6px 0 0; border-top:1px solid var(--line); border-left:0; }
  .league-navigation-mode .responsive-account-controls { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:6px; padding:10px 2px 2px; border-top:1px solid var(--line); }
  .league-navigation-mode .responsive-account-controls span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--muted); font-weight:750; }
  .league-navigation-mode .responsive-account-controls .link-button { flex:0 0 auto; color:var(--accent-strong); border-color:var(--line); }
}
.responsive-sport-navigation { display:none; }
@media (max-width: 680px) {
  :root { --app-topbar-height: 62px; --app-primary-nav-height: 0px; }
  .league-context { display: none; }
  .account-name, .account-league { display: none; }
  .menu-button { display: block; margin-left: auto; }
  .primary-nav { display: none; height: auto; position: static; padding: 8px 18px; gap: 0; flex-direction: column; }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 10px 2px; border-bottom: 0; border-left: 3px solid transparent; }
  .primary-nav a.active { padding-left: 9px; border-left-color: var(--blue); }
  .contextual-nav { display:flex; align-items:stretch; flex-direction:column; gap:0; margin:6px 0 0; padding:6px 0 0; border-top:1px solid var(--line); border-left:0; }
  main { padding-top: 22px; }
  .page-heading { align-items: start; flex-direction: column; }
  .matchup-row { grid-template-columns: 1fr; gap: 6px; }
  .matchup-row .away { text-align: left; }
  .score-pill { width: fit-content; }
  .matchup-hero { grid-template-columns: 1fr auto; }
  .matchup-hero .away { grid-column: 1 / -1; text-align: left; }
  .momentum-status,.momentum-contributors { grid-template-columns:1fr 1fr; }
  table.responsive thead { display: none; }
  table.responsive, table.responsive tbody, table.responsive tr, table.responsive td { display: block; }
  table.responsive tr { padding: 10px 12px; border-bottom: 1px solid var(--line); }
  table.responsive td { padding: 3px 0; border: 0; text-align: left; }
  table.responsive td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); font-size: 11px; font-weight: 750; text-transform: uppercase; }
  .form-actions { align-items: stretch; flex-direction: column; }
  #season-calendar { grid-template-columns: 1fr; }
  .action-panel { grid-template-columns: 1fr; }
  .private-grid { grid-template-columns: 1fr; }
  .private-grid > section + section { border-left: 0; border-top: 1px solid var(--line); }
  .draft-stage { grid-template-columns: 1fr; }
  .draft-stage-aside { justify-content: stretch; }
  .draft-stage-aside > * { flex: 1; }
  .draft-turn-summary { text-align: left; }
  .mock-draft-stage { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .mock-draft-stage .draft-stage-aside { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(120px, 100%), 1fr)); }
  .mock-draft-stage :is(.draft-clock,.draft-turn-summary) { min-width: 0; }
  :is([data-surface="practice-mock"], [data-surface="mock"]) .topbar { gap: 8px; padding-inline: 12px; }
  :is([data-surface="practice-mock"], [data-surface="mock"]) .brand > span:last-child { display: none; }
  .auction-price { grid-row: auto; grid-column: auto; text-align: left; }
  .inline-form { align-items: stretch; flex-direction: column; }
  .rfa-card { align-items: stretch; flex-direction: column; }
  .rfa-decision-card>header,.rfa-decision-card>footer { align-items:stretch; flex-direction:column; }
  .rfa-countdown { align-items:flex-start; }
  .rfa-economy { grid-template-columns:1fr; }
  .rfa-economy>div { border-right:0; border-bottom:1px solid var(--line); }
  .form-grid, .readiness-grid { grid-template-columns: 1fr 1fr; }
  .lifecycle { grid-template-columns: 1fr 1fr; }
  .lifecycle-card .readiness-grid { grid-template-columns: 1fr 1fr; }
  .draft-player-grid { grid-template-columns: 1fr; }
  .finance-strip { grid-template-columns: 1fr; }
  .settings-facts, .rule-grid { grid-template-columns: 1fr; }
  .team-identity-block { align-items: flex-start; }
  .franchise-logo { width: 58px; height: 58px; flex-basis: 58px; }
  .team-matchup { grid-template-columns: 1fr auto; }
  .team-matchup .away { grid-column: 1 / -1; text-align: left; }
  .team-tabs { overflow-x: auto; }
  .team-tab { white-space: nowrap; }
  .lineup-overview { align-items: flex-start; flex-direction: column; }
  #open-lineup-slots { justify-content: flex-start; }
  .team-lineup-table .secondary-stat, .team-lineup-table .shooting-stat { display: none; }
  .team-lineup-table { min-width: 930px; }
  .trade-summary-sides, .trade-extras { grid-template-columns: 1fr; }
  .trade-step-rail span { font-size: 0; }
  .game-mode-grid { grid-template-columns:1fr; }
  .game-mode-card { min-height:270px; }
  .portal-hero { grid-template-columns:1fr; min-height:260px; }
  .portal-news-placeholder { grid-template-columns:1fr; }
  .portal-team-card { grid-template-columns:44px 1fr auto; }
  .portal-team-card>.button { grid-column:2/4; width:100%; }
  .portal-schedule { grid-template-columns:1fr; }
  .mode-hero { grid-template-columns:1fr; }
  .mode-hero-actions { flex-direction:column; }
  .join-league-card { align-items:stretch; flex-direction:column; }
  .mock-lab-card { grid-template-columns:1fr; }
  .onboarding-steps { grid-template-columns:1fr; }
  .data-table-desktop { display:none; }
  .data-table-cards { display:grid; gap:10px; padding:12px; }
  dialog.move-dialog, dialog.activation-drop-dialog { inset:auto 0 0; width:100%; max-width:none; max-height:calc(100dvh - 18px); margin:0; padding-bottom:env(safe-area-inset-bottom); border-radius:var(--radius-lg) var(--radius-lg) 0 0; }
  dialog.action-review-dialog { inset:auto 0 0; width:100%; max-width:none; max-height:calc(100dvh - 18px); margin:0; border-radius:var(--radius-lg) var(--radius-lg) 0 0; }
  .action-review footer { position:sticky; bottom:0; padding-bottom:max(8px,env(safe-area-inset-bottom)); background:var(--surface); }
  dialog.move-dialog::backdrop, dialog.activation-drop-dialog::backdrop { backdrop-filter:none; }
  .activation-drop-content .form-actions { position:sticky; bottom:0; z-index:4; padding-bottom:max(14px,env(safe-area-inset-bottom)); background:var(--surface); }
}

.keeper-workspace { display:grid; grid-template-columns:minmax(0,1fr) 270px; gap:16px; padding:16px; }
.keeper-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:.75rem; align-content:start; }
.keeper-player-card { display:flex; gap:.75rem; align-items:center; padding:.85rem; border:1px solid var(--line); border-radius:10px; background:#fff; cursor:pointer; }
.keeper-player-card:has(input:checked) { border-color:var(--blue); background:#eef4ff; box-shadow:inset 0 0 0 1px var(--blue); }
.keeper-player-card input { width:1.1rem; height:1.1rem; }
.keeper-player-card span { display:flex; flex-direction:column; gap:.2rem; }
.keeper-player-card b { color:var(--muted); font-size:.76rem; font-weight:700; }
.keeper-selected-summary { position:sticky; top:112px; align-self:start; padding:14px; border:1px solid #bfd4fb; border-radius:12px; background:#f5f8ff; }
.keeper-slot { display:grid; grid-template-columns:28px 1fr; gap:8px; align-items:center; min-height:45px; padding:7px; border-bottom:1px solid var(--line); color:var(--muted); }
.keeper-slot>span { display:grid; place-items:center; width:26px; height:26px; border-radius:50%; background:var(--surface-muted); font-size:.75rem; }
.keeper-slot.filled { color:var(--ink); }
.keeper-slot.filled>span { color:white; background:var(--blue); }
.keeper-selected-summary>.button { width:100%; margin-top:12px; }
.locked-workspace-note { display:flex; gap:10px; padding:11px 16px; color:#17335f; background:#eaf2ff; border-block:1px solid #bfd4fb; }

.offer-tray { position:sticky; top:112px; z-index:6; display:grid; grid-template-columns:minmax(0,1fr) auto auto; gap:.8rem; align-items:center; margin-bottom:1rem; padding:.8rem 1rem; border:1px solid #bfd4fb; border-radius:12px; background:rgba(238,244,255,.97); box-shadow:0 8px 22px rgba(17,35,70,.09); }
.offer-tray>div { display:flex; flex-direction:column; gap:.15rem; }
.offer-tray span { color:var(--muted); font-size:.78rem; }
.planner-mode-tabs { display:flex; gap:6px; margin:12px 0; padding:6px; width:max-content; max-width:100%; border:1px solid var(--line); border-radius:12px; background:var(--surface); }
.scenario-library { display:grid; grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) auto; gap:10px 14px; align-items:end; margin:12px 0; padding:14px; border:1px solid #bfd4fb; border-radius:12px; background:#f5f8ff; }
.scenario-library>label { display:flex; flex-direction:column; gap:5px; }
.scenario-library>.subtle,.scenario-library>#salary-scenario-comparison { grid-column:1/-1; margin:0; }
.scenario-compare-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.scenario-compare-grid>div { display:flex; flex-direction:column; gap:4px; padding:12px; border:1px solid var(--line); border-radius:9px; background:var(--surface); }
.scenario-compare-grid span { color:var(--muted); font-size:.75rem; font-weight:800; text-transform:uppercase; }
.contract-editor-dialog label { display:flex; flex-direction:column; gap:5px; margin:12px 0; }

@media (max-width:680px) {
  .offer-tray { top:70px; grid-template-columns:1fr auto; }
  .offer-tray>span { grid-column:1/-1; grid-row:2; }
  .scenario-library,.scenario-compare-grid { grid-template-columns:1fr; }
  .scenario-library>.subtle,.scenario-library>#salary-scenario-comparison { grid-column:1; }
  .keeper-workspace { grid-template-columns:1fr; }
  .keeper-selected-summary { position:static; grid-row:1; }
}

.rule-index { position:sticky; top:112px; z-index:7; display:flex; gap:.35rem; overflow-x:auto; margin:0 0 1rem; padding:.55rem; border:1px solid var(--line); border-radius:12px; background:rgba(255,255,255,.96); box-shadow:0 8px 20px rgba(17,35,70,.07); }
.rule-index button { flex:0 0 auto; padding:.48rem .68rem; border:0; border-radius:8px; color:var(--muted); background:transparent; font:inherit; font-size:.76rem; font-weight:800; cursor:pointer; }
.rule-index button:hover,.rule-index button:focus-visible { color:var(--accent-strong); background:var(--accent-soft); }
.rule-section { scroll-margin-top:180px; }
.rule-capabilities { display:flex; gap:.65rem; align-items:baseline; padding:1rem 1.15rem; border-top:1px solid var(--line); }
.rule-capabilities span { color:var(--muted); font-size:.72rem; font-weight:800; text-transform:uppercase; letter-spacing:.04em; }
.rule-capabilities strong { text-transform:capitalize; }
.rule-matrix { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); }
.rule-matrix>div { display:flex; flex-direction:column; gap:.3rem; min-height:78px; padding:1rem 1.15rem; border-right:1px solid var(--line); border-bottom:1px solid var(--line); }
.rule-matrix span,.rule-profile-footer span { color:var(--muted); font-size:.72rem; font-weight:800; text-transform:uppercase; letter-spacing:.04em; }
.rule-derived,.rule-warning { display:flex; gap:.6rem; align-items:flex-start; margin:1rem; padding:.85rem 1rem; border-radius:10px; }
.rule-derived { color:#17335f; background:#eaf2ff; border:1px solid #bfd4fb; }
.rule-warning { color:#713b00; background:#fff4df; border:1px solid #f2ce89; }
.rule-derived span,.rule-warning span { line-height:1.45; }
.rule-note-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:.6rem; padding:1rem; border-top:1px solid var(--line); }
.rule-note-grid span { color:var(--muted); }
.rule-note-grid strong { display:block; margin-top:.25rem; color:var(--ink); }
.compact-rule-table { max-width:620px; }
.rule-footnote { padding:0 1rem 1rem; color:var(--muted); }
.rule-points { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:.6rem 1.5rem; margin:0; padding:1rem 2rem 1.2rem; }
.rule-points li { line-height:1.45; }
.rule-profile-footer { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1.1rem 1.2rem; border:1px solid var(--line); border-radius:12px; background:#f7f9fc; }
.rule-profile-footer>div { display:flex; flex-direction:column; gap:.2rem; }
.rule-profile-footer small { color:var(--muted); }

/* Desktop league and owner workspaces: compact, sports-first information density. */
.league-home-layout { display:grid; grid-template-columns:minmax(0,2fr) minmax(330px,.85fr); gap:16px; align-items:start; }
.league-home-layout > .stack { gap:16px; }
.league-home-stack { gap:16px; }
.schedule-widget--compact { grid-template-columns:1fr; }
.today-command-center { padding:16px; margin:0; border:1px solid var(--line); border-radius:var(--radius-lg); background:var(--surface); }
.today-command-center .section-heading h2 { margin:.15rem 0; font-size:1.45rem; }
.today-grid { grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); }
.today-card { min-height:90px; padding:13px 15px; }
.today-card b { display:none; }
.home-standings-table th,.home-standings-table td { padding:9px 10px; white-space:nowrap; }
.home-standings-table tr.mine { background:var(--accent-soft); box-shadow:inset 3px 0 var(--accent-strong); }
.standings-team { display:flex; align-items:center; gap:8px; color:var(--ink); text-decoration:none; }
.home-alerts { padding:0 14px; }
.home-alert { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:10px; align-items:start; padding:12px 0; border-bottom:1px solid var(--line); }
.home-alert p { margin:3px 0 0; color:var(--muted); font-size:.82rem; line-height:1.35; }
.home-alert time { color:var(--muted); font-size:.72rem; white-space:nowrap; }
.home-alert .alert-type { color:#075fbd; background:#eaf1ff; }
.home-alert.alert-waiver-run .alert-type { color:#9a4a00; background:#fff0df; }
.home-alert.alert-commissioner .alert-type { color:#6b2393; background:#f4e9ff; }
.home-alert.alert-rfa .alert-type { color:#a72636; background:#ffebee; }
.more-alerts { padding:10px 14px 14px; }
.more-alerts summary { color:var(--accent-strong); font-weight:800; cursor:pointer; }
.board-conversation > summary { display:flex; justify-content:space-between; gap:12px; padding:12px 0; color:var(--ink); cursor:pointer; list-style:none; }
.board-conversation > summary span { color:var(--muted); font-size:.78rem; white-space:nowrap; }
.board-post footer { display:flex; align-items:center; gap:12px; }
.transaction-activity { grid-template-columns:minmax(0,1fr) minmax(190px,.45fr); }
.transaction-franchise,.activity-team { justify-content:flex-start; text-align:left; }
.matchup-card-link { display:block; color:var(--ink); text-decoration:none; padding:12px 18px; }
.matchup-card-link:hover { border-color:var(--accent-strong); box-shadow:var(--elevation-2); }
.matchup-side-by-side { display:grid; grid-template-columns:1fr 1fr; border-top:1px solid var(--line); }
.matchup-side-summary { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1px; background:var(--line); }
.matchup-side-summary:first-child { border-right:1px solid var(--line); }
.matchup-side-summary span { display:flex; justify-content:space-between; gap:8px; padding:10px 12px; color:var(--muted); background:var(--surface); font-size:.75rem; }
.matchup-side-summary strong { color:var(--ink); font-size:.9rem; }
.focused-matchup-status .matchup-side-summary span { flex-wrap:wrap; }
.category-matchup .matchup-tally { min-width:0; text-align:center; }
@media (max-width:640px) {
  .category-matchup .matchup-hero { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .category-matchup .matchup-tally { grid-column:1 / -1; grid-row:1; }
  .category-matchup .matchup-hero .away { grid-column:auto; text-align:right; }
  .category-matchup .matchup-hero-team { flex-wrap:wrap; overflow-wrap:anywhere; }
  .category-matchup .matchup-side-by-side { grid-template-columns:minmax(0,1fr); }
}
.team-matchup-wrap { display:grid; gap:5px; }
.team-matchup-label { color:var(--muted); font-size:.68rem; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.team-matchup { grid-template-columns:auto 1fr auto 1fr auto; }
.team-hero { grid-template-columns:minmax(390px,.85fr) minmax(500px,1.15fr); padding:27px 30px; }
.team-settings-button { margin-left:8px; }
.team-panel[data-team-panel="private"] .transaction-tabs { display:none; }
.portal-team-name { padding:0; border:0; color:var(--ink); background:transparent; font:inherit; font-weight:inherit; cursor:pointer; text-align:left; }
.portal-team-name:hover { color:var(--accent-strong); text-decoration:underline; }
.trade-team-analysis { display:grid; grid-template-columns:auto repeat(3,minmax(140px,1fr)); gap:8px; align-items:center; margin:12px 0; padding:12px; border:1px solid var(--line); border-radius:10px; background:var(--surface-soft); }
.trade-team-analysis > span { display:grid; gap:2px; padding:8px 10px; border-radius:8px; font-size:.78rem; font-weight:900; text-transform:capitalize; }
.trade-team-analysis small { font-weight:600; text-transform:none; }
.trade-team-analysis .strength { color:#0d684a; background:#e4f7ef; }
.trade-team-analysis .neutral { color:#46536d; background:#e9edf3; }
.trade-team-analysis .weakness { color:#a12636; background:#ffebee; }

@media (max-width:1000px) {
  .league-home-layout { grid-template-columns:1fr; }
  .team-hero { grid-template-columns:1fr; }
}

@media (max-width:680px) {
  .rule-index { top:70px; }
  .rule-profile-footer { align-items:stretch; flex-direction:column; }
  .team-hero { gap:18px; min-height:0; padding:22px 18px; }
  .team-identity-block { flex-wrap:wrap; }
  .team-identity-block h1 { font-size:34px; }
  .team-settings-button { margin-left:0; }
}

@media (pointer: coarse) {
  .button, .input, .menu-button, .mode-switch, .link-button, .tab, .team-tab, .rule-index button,
  button, input, select, textarea, summary, [role="button"] {
    min-width: var(--touch-target);
    min-height: var(--touch-target);
  }
  :where(.card-link, .player-link, .brand, .primary-nav a) {
    display: inline-flex;
    align-items: center;
    min-height: var(--touch-target);
  }
  .icon-button, .dialog-close, .acquire-shortcut, .watch-shortcut { width: var(--touch-target); height: var(--touch-target); }
  .compact.button { min-height: var(--touch-target); padding-block: 8px; }
}

@media (forced-colors: active) {
  :where(.button, button, input, select, textarea, summary, a[href], [role="button"]) { forced-color-adjust: auto; }
  :where(.active, .selected, [aria-current="page"], [aria-pressed="true"]) { border-color: Highlight; outline: 2px solid Highlight; }
  :where(a[href], button, input, select, textarea, summary, [tabindex]:not([tabindex="-1"])):focus-visible {
    outline: 3px solid Highlight;
    box-shadow: none;
  }
}
.editorial-indicator { display:inline-flex; align-items:center; gap:4px; margin-left:7px; color:var(--blue); font-size:10px; font-weight:850; text-decoration:none; white-space:nowrap; }
.editorial-indicator:hover,.editorial-indicator:focus-visible { text-decoration:underline; }
.editorial-story-row { padding:13px 16px; border-bottom:1px solid var(--line); }
.editorial-story-row:last-child { border-bottom:0; }
.editorial-story-row .editorial-story-copy>a { display:block; margin:4px 0; color:var(--ink); font-weight:850; text-decoration:none; }
.editorial-story-row .editorial-story-copy>p { display:-webkit-box; margin:4px 0 0; overflow:hidden; color:var(--muted); -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.editorial-story-meta,.editorial-byline { display:flex; align-items:center; gap:8px; color:var(--muted); font-size:10px; }
.editorial-p1 { color:#8b1e1e; background:#fff0f0; }
.editorial-p2 { color:var(--blue); background:var(--blue-soft); }
.editorial-p3 { color:var(--muted); background:var(--surface-soft); }
.editorial-view-all { display:block; padding:12px 16px; color:var(--blue); font-weight:800; text-decoration:none; }
.for-your-team { margin-top:10px; padding:11px 13px; border-left:3px solid var(--blue); background:var(--blue-soft); }
.for-your-team strong,.for-your-team span { display:block; }
.for-your-team p { margin:5px 0 0; }
.player-team-insight { margin:14px 0; }
.player-team-insight>div { display:flex; justify-content:space-between; gap:12px; }
.editorial-daily-lead,.editorial-lead { padding:22px; border:1px solid var(--line); border-radius:12px; background:linear-gradient(135deg,var(--navy),#29467f); color:white; }
.editorial-daily-lead a,.editorial-lead a { color:inherit; text-decoration:none; }
.editorial-daily-lead p,.editorial-lead p,.editorial-daily-lead .eyebrow,.editorial-lead .eyebrow { color:#d8e0f0; }
.editorial-filter-bar { display:flex; gap:8px; margin-bottom:16px; overflow-x:auto; }
.editorial-news-list { margin-top:18px; }
.editorial-detail { max-width:820px; margin:0 auto; padding:clamp(20px,4vw,48px); border:1px solid var(--line); border-radius:12px; background:var(--surface); }
.editorial-detail h1 { margin:8px 0; font-size:clamp(28px,4vw,46px); line-height:1.04; }
.editorial-dek { color:var(--muted); font-size:18px; }
.editorial-layer { margin:18px 0; padding:13px 15px; border-left:3px solid var(--line); background:var(--surface-soft); }
.editorial-layer.take { border-left-color:var(--blue); }
.editorial-layer>span { display:block; margin-bottom:4px; color:var(--muted); font-size:10px; font-weight:900; text-transform:uppercase; }
.editorial-layer p { margin:0; }
.editorial-body { margin-top:26px; font-size:16px; line-height:1.65; }
.editorial-rich-text { color:var(--ink); }
.editorial-rich-text > :first-child,.editorial-copy-section > :first-child { margin-top:0; }
.editorial-rich-text > :last-child,.editorial-copy-section > :last-child { margin-bottom:0; }
.editorial-rich-text p { max-width:75ch; margin:0 0 1rem; }
.editorial-rich-text .editorial-copy-section { margin:1.65rem 0 0; }
.editorial-rich-text h3 { margin:0 0 .55rem; color:var(--ink); font-size:1.05rem; line-height:1.3; }
.editorial-rich-text ul,.editorial-rich-text ol { display:grid; gap:.55rem; max-width:75ch; margin:.75rem 0 1.2rem; padding-left:1.35rem; }
.editorial-rich-text li { padding-left:.2rem; line-height:1.55; }
.editorial-rich-text li::marker { color:var(--blue); font-weight:900; }
.editorial-rich-text strong { color:var(--ink); font-weight:850; }
.player-editorial-section { margin-bottom:18px; padding:16px; border:1px solid var(--line); border-radius:10px; }
.editorial-disclosure { border-bottom:1px solid var(--line); }
.editorial-disclosure summary { display:flex; justify-content:space-between; gap:14px; min-height:44px; padding:11px 0; cursor:pointer; font-weight:800; }
.editorial-disclosure summary time { color:var(--muted); font-size:10px; font-weight:600; }
.editorial-disclosure>p,.editorial-disclosure>.editorial-layer,.editorial-disclosure>.card-link { margin:0 0 12px; }
.editorial-news-tools { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:16px; }
.editorial-news-tools .editorial-filter-bar { flex:1; margin-bottom:0; }
.editorial-lead-art,.editorial-detail-art { width:100%; aspect-ratio:16/9; object-fit:cover; border-radius:16px; margin-bottom:18px; }
.editorial-story-row { display:grid; grid-template-columns:minmax(0,1fr); }
.editorial-story-row:has(.editorial-story-art) { grid-template-columns:132px minmax(0,1fr); gap:16px; align-items:start; }
.editorial-story-art { width:132px; height:74px; aspect-ratio:16/9; object-fit:cover; border-radius:10px; }
.editorial-image { object-fit:cover; object-position:var(--image-focal-x,50%) var(--image-focal-y,50%); }
.editorial-story-copy { min-width:0; }
.editorial-news-page { width:min(1320px,100%); margin:0 auto; }
.news-page-heading { display:flex; justify-content:space-between; gap:24px; margin-bottom:18px; }
.news-page-heading h1 { max-width:900px; margin:3px 0 5px; font-size:clamp(30px,3.4vw,48px); line-height:1.02; letter-spacing:-.035em; }
.news-page-heading>div>p:last-child { margin:0; color:var(--muted); font-size:15px; }
.news-feature-grid { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(300px,.82fr) minmax(230px,.58fr); gap:12px; min-height:402px; }
.news-feature-lead.editorial-story-row { position:relative; display:block; min-height:402px; overflow:hidden; padding:0; border:1px solid var(--line); border-radius:12px; background:#06192b; color:white; }
.news-feature-art,.news-feature-image { position:absolute; inset:0; display:block; width:100%; height:100%; overflow:hidden; }
.news-feature-art::after { position:absolute; inset:0; content:""; background:linear-gradient(90deg,rgba(2,13,28,.98) 0,rgba(2,13,28,.92) 28%,rgba(2,13,28,.7) 43%,rgba(2,13,28,.22) 60%,transparent 72%); }
.news-feature-copy { position:relative; z-index:1; display:flex; width:min(58%,520px); min-height:402px; padding:clamp(24px,3vw,42px); flex-direction:column; justify-content:center; }
.news-feature-copy h2 { margin:11px 0; font-size:clamp(27px,2.8vw,42px); line-height:1.03; }
.news-feature-copy h2 a { color:white; text-decoration:none; }
.news-feature-copy>p { display:-webkit-box; margin:0 0 16px; overflow:hidden; color:#d1dde7; font-size:14px; line-height:1.5; -webkit-box-orient:vertical; -webkit-line-clamp:4; }
.news-feature-copy .editorial-byline { color:#c0cfdb; flex-wrap:wrap; }
.news-feature-copy .editorial-byline strong { color:white; }
.news-feature-lead:has(.editorial-image[data-safe-zone="right"]) .news-feature-art::after { background:linear-gradient(270deg,rgba(2,13,28,.98) 0,rgba(2,13,28,.92) 28%,rgba(2,13,28,.7) 43%,rgba(2,13,28,.22) 60%,transparent 72%); }
.news-feature-lead:has(.editorial-image[data-safe-zone="right"]) .news-feature-copy { margin-left:auto; text-align:right; }
.news-feature-lead:has(.editorial-image[data-safe-zone="right"]) .news-story-label { align-self:flex-end; }
.news-story-label { display:inline-flex; width:max-content; padding:4px 7px; color:#0752b1; border-radius:5px; background:#e8f2ff; font-size:8px; font-weight:950; letter-spacing:.08em; text-transform:uppercase; }
.news-feature-copy .news-story-label { color:#001622; background:#19c8f4; }
.news-priority-list { display:grid; grid-template-rows:repeat(3,minmax(0,1fr)); gap:9px; }
.news-priority-story.editorial-story-row { display:grid; grid-template-columns:132px minmax(0,1fr); min-height:128px; overflow:hidden; padding:0; border:1px solid var(--line); border-radius:10px; background:var(--surface); }
.news-priority-art { display:block; width:132px; height:100%; min-height:126px; overflow:hidden; background:var(--surface-soft); }
.news-priority-image { width:100%; height:100%; transform:scale(1.28); transform-origin:var(--image-focal-x,50%) var(--image-focal-y,50%); }
.news-priority-story>div { align-self:center; min-width:0; padding:11px 12px; }
.news-priority-story h3 { margin:7px 0 5px; font-size:13px; line-height:1.18; }
.news-priority-story h3 a { display:-webkit-box; overflow:hidden; color:var(--ink); text-decoration:none; -webkit-box-orient:vertical; -webkit-line-clamp:3; }
.news-priority-story time,.news-latest-story time { color:var(--muted); font-size:9px; }
.news-trending { overflow:hidden; border:1px solid var(--line); border-radius:10px; background:var(--surface); }
.news-trending>p { margin:0; padding:15px; border-bottom:1px solid var(--line); font-size:11px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.news-trending>p span { color:var(--orange); }
.news-trending ol { margin:0; padding:6px 14px 10px; list-style:none; counter-reset:news-trending; }
.news-trending li { counter-increment:news-trending; }
.news-trending li a { display:grid; grid-template-columns:25px minmax(0,1fr) auto; gap:8px; min-height:54px; align-items:center; border-bottom:1px solid var(--line); color:var(--ink); font-size:10px; line-height:1.25; text-decoration:none; }
.news-trending li a::before { display:grid; width:23px; height:23px; place-items:center; border-radius:50%; color:#425270; background:#edf1f6; content:counter(news-trending); font-weight:850; }
.news-trending li a>span { color:var(--blue); }
.news-latest { margin-top:24px; }
.news-latest .section-heading { margin-bottom:12px; }
.news-latest-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.news-latest-story.editorial-story-row { display:block; overflow:hidden; padding:0; border:1px solid var(--line); border-radius:11px; background:var(--surface); }
.news-latest-art { display:block; width:100%; aspect-ratio:16/9; overflow:hidden; background:var(--surface-soft); }
.news-latest-image { display:block; width:100%; height:100%; transform:scale(1.1); transform-origin:var(--image-focal-x,50%) var(--image-focal-y,50%); }
.news-latest-story>div { padding:13px 14px 15px; }
.news-latest-story h3 { margin:8px 0 6px; font-size:16px; line-height:1.18; }
.news-latest-story h3 a { color:var(--ink); text-decoration:none; }
.news-latest-story p { display:-webkit-box; min-height:42px; margin:0 0 10px; overflow:hidden; color:var(--muted); font-size:11px; line-height:1.4; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.editorial-search { display:grid; gap:4px; min-width:260px; color:var(--muted); font-size:10px; font-weight:800; text-transform:uppercase; }
.editorial-byline strong { color:var(--ink); }
.editorial-byline .badge { font-size:9px; }
.editorial-correction-note { margin:8px 0 0; padding:8px 10px; border-left:3px solid var(--orange); background:#fff5ec; color:var(--ink); font-size:12px; }
.editorial-detail .editorial-byline,.editorial-lead .editorial-byline { margin-top:12px; flex-wrap:wrap; }
.editorial-lead .editorial-byline { color:#d8e0f0; }
.for-your-team small { display:block; margin-top:6px; color:var(--muted); font-size:10px; }
.editorial-inline-disclosure { display:inline-block; margin-left:7px; vertical-align:middle; }
.editorial-inline-disclosure>summary { display:inline-flex; align-items:center; gap:4px; color:var(--blue); font-size:10px; font-weight:850; cursor:pointer; list-style:none; white-space:nowrap; }
.editorial-inline-disclosure>summary::-webkit-details-marker { display:none; }
.editorial-inline-disclosure>summary:focus-visible { outline:2px solid var(--blue); outline-offset:3px; border-radius:3px; }
.editorial-inline-disclosure>div { width:min(360px,70vw); margin:7px 0 5px; padding:11px 12px; border:1px solid var(--line); border-left:3px solid var(--blue); border-radius:8px; background:var(--surface); box-shadow:0 8px 24px rgba(17,27,54,.12); color:var(--ink); font-size:12px; font-weight:500; white-space:normal; }
.editorial-inline-disclosure>div>strong,.editorial-inline-disclosure>div>a { display:block; }
.editorial-inline-disclosure>div>p { margin:6px 0; color:var(--muted); }
.editorial-inline-disclosure>div>a { margin-top:8px; color:var(--blue); font-weight:800; }
.editorial-inline-take span { display:block; margin-bottom:2px; color:var(--ink); font-size:9px; font-weight:900; text-transform:uppercase; }
.editorial-inline-disclosure .for-your-team { margin-top:9px; padding:9px; }
.editorial-popover { display:inline-block; vertical-align:middle; }
.editorial-popover-trigger { display:inline-flex; align-items:center; gap:4px; padding:0; border:0; background:transparent; color:var(--blue); font:inherit; font-size:10px; font-weight:850; cursor:pointer; white-space:nowrap; }
.editorial-popover-trigger:hover,.editorial-popover-trigger:focus-visible,.editorial-popover.open .editorial-popover-trigger { text-decoration:underline; }
.editorial-popover-trigger:focus-visible { outline:2px solid var(--blue); outline-offset:3px; border-radius:3px; }
.editorial-popover-panel { position:fixed; z-index:1200; display:block; max-height:calc(100vh - 24px); overflow:auto; padding:15px 38px 15px 16px; border:1px solid var(--line); border-top:3px solid var(--blue); border-radius:10px; background:var(--surface); box-shadow:0 14px 38px rgba(17,27,54,.22); color:var(--ink); font-size:12px; font-weight:500; line-height:1.45; white-space:normal; }
.editorial-popover-panel[hidden] { display:none; }
.editorial-popover-panel>strong,.editorial-popover-panel>a,.editorial-popover-kicker { display:block; }
.editorial-popover-kicker { margin-bottom:4px; color:var(--blue); font-size:9px; font-weight:900; letter-spacing:.07em; text-transform:uppercase; }
.editorial-popover-panel>p { margin:7px 0; color:var(--muted); }
.editorial-popover-panel>a { margin-top:10px; color:var(--blue); font-weight:850; }
.editorial-popover-panel .for-your-team { margin-top:10px; padding:10px; }
.editorial-popover-close { position:absolute; top:8px; right:8px; display:grid; width:26px; height:26px; place-items:center; padding:0; border:0; border-radius:50%; background:var(--surface-soft); color:var(--muted); font-size:18px; line-height:1; cursor:pointer; }
.editorial-popover-close:hover,.editorial-popover-close:focus-visible { color:var(--ink); background:var(--blue-soft); }
.editorial-timeline-entry[hidden] { display:none; }
.editorial-show-older { margin-top:14px; }
.editorial-filter-empty { margin:20px; }

/* Approved desktop intelligence system */
.league-intelligence-dek { margin:-14px 0 18px; color:var(--muted); font-size:16px; }
.league-analysis-filters { display:flex; align-items:end; gap:10px; }
.league-analysis-filters label { display:grid; gap:4px; color:var(--muted); font-size:9px; font-weight:850; letter-spacing:.05em; text-transform:uppercase; }
.league-analysis-filters .input { min-width:126px; }
.league-analysis-filters .season-label { display:inline-flex; min-width:110px; align-items:center; justify-content:center; font-weight:800; }
.intelligence-tabs { margin-top:0; border-width:0 0 1px; border-radius:0; background:transparent; }
.intelligence-tabs a { border-radius:0; border-bottom:3px solid transparent; }
.intelligence-tabs a[aria-current="page"] { border-bottom-color:var(--orange); background:transparent; }
.league-team-summary { display:grid; grid-template-columns:auto minmax(190px,.8fr) repeat(3,minmax(170px,1fr)) auto; align-items:center; gap:0; margin-bottom:14px; padding:14px 18px; }
.league-summary-logo { width:70px; height:70px; margin-right:14px; border:1px solid var(--line); border-radius:50%; object-fit:contain; background:white; }
.league-summary-logo.fallback { display:grid; place-items:center; color:var(--blue); background:var(--blue-soft); font-weight:900; }
.league-summary-identity { display:grid; gap:4px; }
.league-summary-identity h2 { margin:0; font-size:22px; }
.league-summary-identity .badge { width:max-content; }
.category-summary,.schedule-summary-stat { min-height:74px; padding:7px 18px; border-left:1px solid var(--line); }
.category-summary>strong,.schedule-summary-stat>strong { display:flex; align-items:center; gap:7px; margin-bottom:8px; }
.category-summary>div { display:flex; gap:6px; flex-wrap:wrap; }
.category-summary small { display:block; margin-top:7px; color:var(--muted); }
.category-summary-icon { display:grid; width:20px; height:20px; place-items:center; border-radius:50%; font-style:normal; font-size:12px; }
.category-summary.strong .category-summary-icon { color:#087a54; background:#dff8ee; }
.category-summary.strong .category-summary-icon::before { content:'★'; }
.category-summary.middle .category-summary-icon { color:#346ccb; background:#e8f0ff; }
.category-summary.middle .category-summary-icon::before { content:'↔'; }
.category-summary.needs .category-summary-icon { color:#bd3232; background:#ffe6e6; }
.category-summary.needs .category-summary-icon::before { content:'!'; }
.intelligence-pill { display:inline-flex; min-width:54px; min-height:24px; align-items:center; justify-content:center; padding:3px 10px; border-radius:7px; font-size:10px; font-weight:850; white-space:nowrap; }
.intelligence-pill.strong,.category-cell.strong { color:#087a54; background:#dff8ee; }
.intelligence-pill.middle,.category-cell.middle { color:#485873; background:#e8edf3; }
.intelligence-pill.needs,.category-cell.needs { color:#a52a34; background:#ffe6e6; }
.league-intelligence-grid { display:grid; grid-template-columns:minmax(0,2fr) minmax(330px,.92fr); gap:14px; align-items:start; }
.intelligence-map table { min-width:780px; }
.intelligence-map :is(th,td) { padding:7px 10px; }
.intelligence-map th:not(:nth-child(2)),.intelligence-map td:not(:nth-child(2)) { text-align:center; }
.intelligence-map th small { display:block; margin-top:3px; color:var(--muted); font-size:8px; font-weight:650; text-transform:none; }
.intelligence-map tr.mine { background:#e5fbf4; box-shadow:inset 3px 0 0 #0a9b6b; }
.intelligence-map tr.category-team-row,.intelligence-map tr.schedule-team-row { cursor:pointer; }
.intelligence-map tr.category-team-row:hover,.intelligence-map tr.schedule-team-row:hover { background:#f2f7ff; }
.intelligence-map tr.category-team-row.selected,.intelligence-map tr.schedule-team-row.selected { background:#e5fbf4; box-shadow:inset 3px 0 0 #0a9b6b; }
.intelligence-team { display:flex; min-width:170px; align-items:center; gap:8px; color:var(--ink); text-decoration:none; }
.intelligence-team-select { width:100%; padding:0; border:0; background:transparent; font:inherit; text-align:left; cursor:pointer; }
.intelligence-team-select:focus-visible { border-radius:5px; outline:3px solid var(--focus-ring); outline-offset:2px; }
.intelligence-team-logo { display:grid; width:26px; height:26px; flex:0 0 26px; place-items:center; border:1px solid var(--line); border-radius:50%; object-fit:contain; background:white; }
.intelligence-team-logo.fallback { color:var(--blue); background:var(--blue-soft); font-size:8px; font-weight:900; }
.category-cell { display:inline-block; width:42px; height:17px; border-radius:5px; }
.map-legend { display:flex; align-items:center; gap:12px; color:var(--muted); font-size:10px; }
.map-legend>span { display:inline-flex; align-items:center; gap:5px; white-space:nowrap; }
.map-legend i { width:11px; height:11px; border-radius:50%; }
.map-legend i.strong { background:#62d6b1; }
.map-legend i.middle { background:#cbd3dd; }
.map-legend i.needs { background:#ffb8b8; }
.intelligence-side-card .card-header { min-height:48px; }
.depth-summary-row { display:grid; grid-template-columns:76px minmax(110px,1fr) auto; align-items:center; gap:4px 10px; padding:12px 16px; border-bottom:1px solid var(--line); }
.depth-summary-row>small { grid-column:2/-1; color:var(--muted); font-size:9px; line-height:1.35; }
.depth-blocks { display:flex; gap:3px; }
.depth-blocks i { width:100%; max-width:48px; height:14px; border-radius:4px; background:#e8edf3; }
.depth-blocks i.filled.strong { background:linear-gradient(90deg,#12bd85,#62d6b1); }
.depth-blocks i.filled.middle { background:linear-gradient(90deg,#327be9,#8bb5f5); }
.depth-blocks i.filled.needs { background:#ffc6c6; }
.takeaway-list article { display:grid; grid-template-columns:42px 1fr; gap:12px; padding:13px 16px; border-bottom:1px solid var(--line); }
.takeaway-list article>span { display:grid; width:39px; height:39px; place-items:center; border-radius:50%; color:var(--blue); background:var(--blue-soft); font-size:20px; }
.takeaway-list article.positive>span { color:#078158; background:#ddf9ee; }
.takeaway-list article.negative>span { color:#bd3232; background:#ffe7e7; }
.takeaway-list p { margin:4px 0 0; color:var(--muted); font-size:11px; line-height:1.4; }
.schedule-summary { grid-template-columns:auto minmax(180px,1fr) repeat(3,minmax(130px,.8fr)) auto; }
.schedule-summary-stat { display:grid; gap:5px; }
.week-navigation { display:flex; align-items:center; justify-content:center; gap:24px; margin:8px 0 12px; text-align:center; }
.week-navigation>div { display:grid; }
.week-navigation span { color:var(--muted); font-size:10px; }
.schedule-dots { display:inline-flex; min-width:44px; justify-content:center; gap:3px; }
.schedule-dots i,.upcoming-weeks i { width:9px; height:9px; border-radius:50%; background:#b7c2cf; }
.schedule-dots i.strong,.upcoming-weeks i.strong { background:#27be8a; }
.schedule-dots i.needs,.upcoming-weeks i.needs { background:#ff6847; }
.week-glance-row { display:grid; grid-template-columns:1fr 24px 62px; align-items:center; gap:8px; padding:8px 16px; border-bottom:1px solid var(--line); }
.week-glance-row .category-cell { width:12px; height:12px; border-radius:50%; }
.card-note { margin:0; padding:12px 16px; color:var(--muted); font-size:11px; }
.upcoming-weeks { margin-top:14px; }
.upcoming-weeks>.card-header+div { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; padding:12px; }
.upcoming-weeks article { padding:10px 14px; border:1px solid var(--line); border-radius:8px; }
.upcoming-weeks article>strong { display:block; }
.upcoming-week-matchup { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; gap:10px; min-height:58px; margin-top:10px; padding:9px 10px; border-radius:7px; background:var(--surface-soft); }
.upcoming-week-matchup span { display:grid; gap:2px; font-size:11px; font-weight:850; }
.upcoming-week-matchup span:last-child { text-align:right; }
.upcoming-week-matchup small { color:var(--muted); font-size:8px; font-weight:750; text-transform:uppercase; letter-spacing:.05em; }
.upcoming-week-matchup b { color:var(--muted); font-size:9px; text-transform:uppercase; }
.upcoming-week-dots { display:flex; justify-content:space-between; margin-top:10px; }

.home-team-snapshot .card-header { align-items:center; }
.home-team-title { display:flex; align-items:center; gap:14px; }
.home-team-title h2 { font-size:24px; }
.home-team-title>span:not(.badge) { color:var(--muted); }
.home-roster-toggle { display:flex; padding:3px; border-radius:8px; background:#edf2fa; }
.home-roster-toggle button { min-width:86px; padding:7px 12px; border:0; border-radius:6px; color:var(--muted); background:transparent; font-weight:800; cursor:pointer; }
.home-roster-toggle button.active { color:white; background:var(--blue); }
.home-roster-strip { display:grid; grid-template-columns:repeat(8,minmax(105px,1fr)); gap:6px; padding:12px 14px 8px; overflow-x:auto; }
.home-roster-player { position:relative; min-height:104px; padding:10px; border:1px solid var(--line); border-radius:9px; background:linear-gradient(180deg,#fff,#f8faff); }
.home-roster-player>div { display:grid; grid-template-columns:30px 1fr; align-items:center; gap:7px; }
.home-roster-player img,.home-roster-player>div>span { display:grid; width:30px; height:30px; place-items:center; border-radius:50%; object-fit:contain; background:#f2f5f9; font-size:8px; }
.home-roster-player .team-mark { width:30px; height:30px; }
.home-roster-player a { color:var(--ink); font-size:11px; font-weight:850; text-decoration:none; }
.home-roster-player>small { display:inline-flex; margin:8px 0; padding:2px 7px; border-radius:4px; color:var(--blue); background:var(--blue-soft); font-weight:800; }
.home-roster-player>strong { float:right; margin-top:8px; font-size:13px; }
.home-roster-player .roster-injury { clear:both; }
.home-team-actions { display:flex; align-items:center; gap:10px; padding:0 14px 13px; }
.home-team-actions>span { margin-left:auto; color:var(--muted); font-size:11px; }

.lineup-check { display:grid; grid-template-columns:auto auto minmax(0,1fr) auto; align-items:center; gap:14px; padding:12px 16px; border-bottom:1px solid #bed2fa; background:#eef5ff; }
.lineup-check.clear { border-color:#bfe7d6; background:#ecfbf5; }
.lineup-check-icon { display:grid; width:30px; height:30px; place-items:center; border-radius:7px; color:var(--blue); background:white; font-size:18px; }
.lineup-check>span { color:#365889; font-size:12px; }
.lineup-check>div:last-child { display:flex; gap:8px; }
.lineup-quick-actions { margin:0; padding:0; border:0; justify-content:flex-end; }
.autosave-status { color:#168a53; font-size:10px; white-space:nowrap; }
.construction-heading { display:flex; align-items:end; justify-content:space-between; gap:18px; padding:17px; border-bottom:1px solid var(--line); }
.construction-heading p { margin:4px 0 0; color:var(--muted); }
.construction-summary { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; border-bottom:8px solid var(--canvas); background:var(--line); }
.construction-summary>div { display:grid; grid-template-columns:auto auto 1fr auto; align-items:center; gap:10px; padding:14px; background:white; }
.construction-summary>div>span:first-child { color:var(--blue); font-size:16px; font-weight:850; }
.construction-summary .depth-blocks { min-width:120px; }
.construction-grid { display:grid; grid-template-columns:minmax(0,2fr) minmax(330px,.82fr); gap:12px; padding:0 12px 12px; background:var(--canvas); }
.position-groups>.card-header { min-height:50px; }
.position-groups>.card-header+div { display:grid; grid-template-columns:repeat(3,1fr); }
.position-groups section { padding:12px; border-right:1px solid var(--line); }
.position-groups section:last-child { border-right:0; }
.position-groups section>header { display:flex; justify-content:space-between; align-items:center; margin-bottom:9px; }
.position-groups section>header>div { display:flex; align-items:baseline; gap:9px; }
.position-groups h3 { margin:0; }
.position-groups header span { color:var(--muted); font-size:10px; }
.position-player { display:grid; grid-template-columns:minmax(0,1fr) 82px; align-items:center; gap:8px; padding:7px 0; }
.position-player>.player-list-identity .player-list-logo { width:27px; height:27px; flex-basis:27px; }
.position-player>div:last-child { display:grid; gap:4px; text-align:right; }
.depth-meter { display:block; height:8px; border-radius:5px; background:#e6ebf1; overflow:hidden; }
.depth-meter i { display:block; width:var(--depth); height:100%; border-radius:inherit; background:linear-gradient(90deg,#14b77f,#61d8b0); }

.player-dialog { width:min(1120px,calc(100% - 24px)); }
.player-hero-redesign { position:relative; overflow:hidden; display:flex; align-items:center; gap:14px; min-height:108px; padding-block:17px; background:radial-gradient(circle at 90% 25%,rgba(0,190,196,.28),transparent 31%),linear-gradient(125deg,#0d2850,#064a60); }
.player-hero-redesign:after { content:''; position:absolute; right:25px; width:210px; height:210px; border:18px solid rgba(255,255,255,.035); border-radius:50%; pointer-events:none; }
.player-hero-redesign h2 { margin:0 0 3px; font-size:22px; line-height:1.05; }
.player-hero-redesign .team-identity { gap:0; }
.player-hero-redesign .team-identity strong { font-size:13px; }
.player-hero-redesign .position-line { margin-top:7px; font-size:12px; }
.player-hero-mark { display:grid; width:62px; height:62px; flex:0 0 62px; place-items:center; border:3px solid rgba(255,255,255,.75); border-radius:50%; background:white; overflow:hidden; }
.player-hero-mark img { width:100%; height:100%; padding:6px; object-fit:contain; }
.player-hero-mark .team-mark { width:100%; height:100%; }
.player-hero-mark span { color:var(--blue); font-weight:900; }
.player-content-redesign { position:relative; }
.player-content-redesign { padding:14px 16px 20px; }
.player-metric-strip { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin:0 0 10px; }
.player-metric-strip>div { display:grid; grid-template-columns:30px 1fr; grid-template-rows:auto auto; column-gap:9px; min-height:54px; align-content:center; padding:8px 12px; border:1px solid #cfdbef; border-radius:7px; background:linear-gradient(145deg,#f7faff,#edf4ff); text-align:left; }
.player-metric-strip>div>span:not(.player-metric-icon) { color:var(--muted); font-size:10px; }
.player-metric-strip strong { color:var(--navy); font-size:18px; line-height:1.1; }
.player-metric-icon { display:grid; grid-row:1/3; width:30px; height:30px; place-items:center; align-self:center; color:var(--blue); font-size:21px; font-weight:900; }
.player-content-redesign>.action-panel { position:relative; top:auto; }
.player-detail-action-panel { display:block; margin-bottom:10px; padding:10px 12px 11px; }
.player-action-copy { display:grid; gap:3px; align-content:center; }
.player-action-copy strong { font-size:13px; }
.player-action-copy span { color:var(--muted); font-size:10px; line-height:1.35; }
.player-action-controls { display:grid; grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); gap:9px; align-items:end; margin-top:8px; }
.player-action-controls .input,.player-action-controls .button { width:100%; min-width:0; }
.player-action-controls label { display:grid; gap:3px; color:var(--muted); font-size:9px; font-weight:800; text-transform:uppercase; }
.player-primary-action,.player-watch-action { display:inline-flex; align-items:center; justify-content:center; gap:7px; white-space:nowrap; }
.player-watch-action[aria-pressed="true"] { background:var(--accent-soft); }
.player-data-toolbar { margin:8px 0 10px; }
.player-stat-controls { position:relative; padding-bottom:7px; }
.player-stat-controls>summary { color:var(--muted); font-size:11px; font-weight:800; cursor:pointer; list-style:none; }
.player-stat-controls>summary::-webkit-details-marker { display:none; }
.player-stat-controls[open] .phase-filter { position:absolute; z-index:8; top:29px; right:0; min-width:350px; padding:10px; border:1px solid var(--line); border-radius:8px; background:var(--surface); box-shadow:var(--shadow); }
.player-outlook-feature,.recent-splits { margin-bottom:10px; padding:11px 12px; border:1px solid var(--line); border-radius:9px; background:linear-gradient(145deg,#fff,#f7faff); }
.player-outlook-feature .section-heading { display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; }
.player-outlook-feature h2 { font-size:17px; }
.outlook-feature-grid { display:grid; grid-template-columns:minmax(250px,.72fr) minmax(0,1.55fr); gap:16px; }
.outlook-feature-grid dl { margin:0; padding:4px 10px; border-radius:8px; background:#f0f5fd; }
.outlook-feature-grid dl>div { display:grid; grid-template-columns:20px 92px 1fr; gap:8px; align-items:center; padding:7px 0; border-bottom:1px solid var(--line); }
.outlook-feature-grid dl>div:last-child { border-bottom:0; }
.outlook-trait-icon { color:var(--blue); font-size:16px; font-weight:900; }
.outlook-feature-grid dt { color:var(--muted); font-size:11px; }
.outlook-feature-grid dd { margin:0; font-size:12px; font-weight:850; line-height:1.25; }
.outlook-narrative { padding:10px 12px; border:1px solid var(--line); border-radius:8px; background:white; }
.outlook-narrative>strong { font-size:13px; line-height:1.3; }
.outlook-narrative p { margin:7px 0; color:#425575; font-size:11px; line-height:1.4; }
.player-dialog :is(.projection-comparison,.recent-splits) .split-table :is(th,td) { padding:7px 9px; font-size:10px; }
.player-dialog .projection-comparison { margin-bottom:10px; padding:11px 12px; border-radius:9px; }
.player-dialog .projection-comparison .section-heading { margin-bottom:7px; }
.player-dialog .projection-comparison h3,.player-dialog .recent-splits h3 { font-size:14px; }
.recent-splits .section-heading { margin-bottom:10px; }

.trade-review-sides { display:grid; grid-template-columns:1fr auto 1fr; gap:18px; align-items:stretch; padding:12px; }
.trade-review-sides>section { overflow:hidden; border:1px solid var(--line); border-radius:10px; }
.trade-review-sides>section>header { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:69px; padding:12px 16px; border-bottom:1px solid var(--line); background:linear-gradient(145deg,#edf4ff,#fff); }
.trade-review-sides>section:last-child>header { background:linear-gradient(145deg,#effbf7,#fff7ef); }
.trade-review-sides h3 { margin:0; }
.trade-review-sides header span { color:var(--muted); font-size:11px; }
.trade-review-team { display:flex; align-items:center; gap:12px; min-width:0; }
.trade-review-team h3 { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.trade-review-signals { display:flex; flex:0 0 auto; flex-direction:column; align-items:flex-end; gap:5px; }
.trade-review-signals>span { font-size:9px; font-weight:850; letter-spacing:.03em; text-transform:uppercase; }
.trade-review-signals>div { display:flex; gap:5px; }
.trade-review-signals b { padding:4px 8px; border-radius:999px; color:#174a8a; background:#e4edff; font-size:9px; }
.trade-review-sides>section:last-child .trade-review-signals b { color:#08735e; background:#dcf7ef; }
.trade-review-logo { display:grid; width:44px; height:44px; place-items:center; border-radius:50%; object-fit:contain; background:var(--navy); color:white; font-size:10px; font-weight:900; }
.trade-review-logo.fallback { border:4px solid rgba(255,255,255,.25); }
.trade-swap { align-self:center; color:#7889a8; font-size:28px; }
.trade-review-columns { display:grid; grid-template-columns:1fr auto; gap:10px; padding:7px 16px; border-bottom:1px solid var(--line); color:var(--muted); background:#fbfcff; font-size:10px; font-weight:850; letter-spacing:.04em; text-transform:uppercase; }
.trade-review-asset { display:grid; grid-template-columns:36px 1fr auto; align-items:center; gap:10px; padding:11px 16px; border-bottom:1px solid var(--line); }
.trade-review-asset:last-child { border-bottom:0; }
.trade-review-asset img,.asset-fallback { display:grid; width:34px; height:34px; place-items:center; border-radius:50%; object-fit:contain; background:#edf1f5; color:#65738a; font-size:9px; font-weight:900; }
.trade-review-asset .team-mark { width:34px; height:34px; }
.trade-review-asset small { color:var(--muted); }
.trade-review-empty { padding:25px; color:var(--muted); text-align:center; }
.trade-impact { margin:0 12px 12px; padding:12px; border:1px solid var(--line); border-radius:10px; }
.trade-impact>header { display:grid; margin-bottom:9px; }
.trade-impact>header span { color:var(--muted); font-size:11px; }
.trade-impact>div { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.trade-impact article { display:grid; grid-template-columns:35px 1fr; gap:9px; padding:12px; border-radius:8px; background:#edf4ff; }
.trade-impact article.positive { background:#e5f8f0; }
.trade-impact article.negative { background:#fff0ed; }
.trade-impact article>span { font-size:24px; }
.trade-impact p { margin:3px 0 0; color:var(--muted); font-size:11px; }
.trade-owner-note { display:grid; grid-template-columns:auto 1fr; align-items:start; gap:12px; margin:12px; }
.trade-owner-note strong { padding-top:10px; }
.trade-owner-note strong span { color:var(--muted); font-weight:500; }
.trade-builder .offer-tray { top:auto; bottom:0; margin:0; border-radius:0 0 12px 12px; grid-template-columns:minmax(0,1fr) auto auto; }
.offer-tray .offer-tray-contents { white-space:nowrap; }
.offer-tray .offer-tray-actions { display:flex; flex-direction:row; gap:8px; align-items:center; }

@media (max-width: 1180px) {
  .news-feature-grid { grid-template-columns:minmax(0,1.45fr) minmax(300px,.8fr); }
  .news-trending { grid-column:1/-1; }
  .news-trending ol { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0 14px; }
  .news-latest-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}

@media (max-width: 900px) {
  .news-feature-grid { grid-template-columns:1fr; }
  .news-feature-lead.editorial-story-row { min-height:370px; }
  .news-feature-copy { min-height:370px; }
  .news-priority-list { grid-template-columns:repeat(3,minmax(0,1fr)); grid-template-rows:none; }
  .news-priority-story.editorial-story-row { grid-template-columns:1fr; }
  .news-priority-art { width:100%; min-height:0; aspect-ratio:16/9; }
  .news-latest-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width: 760px) {
  .editorial-news-tools { display:block; }
  .editorial-news-tools .editorial-filter-bar { margin-bottom:12px; }
  .editorial-search { min-width:0; }
  .editorial-inline-disclosure>div { width:min(300px,76vw); box-shadow:none; }
  .editorial-detail { padding:20px 16px; }
  .news-page-heading h1 { font-size:32px; }
  .news-feature-lead.editorial-story-row { min-height:0; color:var(--ink); background:var(--surface); }
  .news-feature-art { position:relative; inset:auto; aspect-ratio:16/9; }
  .news-feature-image { position:absolute; }
  .news-feature-art::after { display:none; }
  .news-feature-copy,.news-feature-lead:has(.editorial-image[data-safe-zone="right"]) .news-feature-copy { width:100%; min-height:0; margin:0; padding:20px; text-align:left; }
  .news-feature-lead:has(.editorial-image[data-safe-zone="right"]) .news-story-label { align-self:flex-start; }
  .news-feature-copy h2 { font-size:27px; }
  .news-feature-copy h2 a,.news-feature-copy .editorial-byline strong { color:var(--ink); }
  .news-feature-copy>p,.news-feature-copy .editorial-byline { color:var(--muted); }
  .news-priority-list { grid-template-columns:1fr; }
  .news-priority-story.editorial-story-row { grid-template-columns:112px minmax(0,1fr); min-height:104px; }
  .news-priority-art { width:112px; height:100%; min-height:102px; aspect-ratio:auto; }
  .news-trending ol { display:block; }
  .news-latest-grid { grid-template-columns:1fr; }
}
.matchup-watch { margin-bottom:16px; }
.league-personalized { border-bottom:1px solid var(--line); }

@media (max-width: 1180px) {
  .league-team-summary { grid-template-columns:auto minmax(180px,1fr) repeat(3,minmax(135px,1fr)); }
  .league-team-summary>.card-link { grid-column:2/-1; justify-self:end; margin-top:8px; }
  .league-intelligence-grid,.construction-grid { grid-template-columns:1fr; }
  .league-intelligence-grid>aside { display:grid; grid-template-columns:1fr 1fr; }
  .home-roster-strip { grid-template-columns:repeat(8,minmax(112px,1fr)); }
  .lineup-check { grid-template-columns:auto auto 1fr; }
  .lineup-check>div:last-child { grid-column:2/-1; }
  .team-toolbar { align-items:flex-start; flex-direction:column; }
  .lineup-quick-actions { justify-content:flex-start; }
}

@media (max-width: 900px) {
  .league-team-summary,.schedule-summary { grid-template-columns:auto 1fr; }
  .category-summary,.schedule-summary-stat { border-left:0; border-top:1px solid var(--line); }
  .league-team-summary>.card-link { grid-column:1/-1; }
  .league-intelligence-grid>aside,.position-groups>.card-header+div,.upcoming-weeks>.card-header+div,.construction-summary { grid-template-columns:1fr; }
  .position-groups section { border-right:0; border-bottom:1px solid var(--line); }
  .home-team-snapshot .card-header { align-items:flex-start; flex-wrap:wrap; }
  .home-roster-toggle { order:3; }
  .home-team-actions { align-items:stretch; flex-wrap:wrap; }
  .home-team-actions>span { width:100%; margin-left:0; }
  .player-metric-strip { grid-template-columns:repeat(2,1fr); }
  .outlook-feature-grid,.trade-review-sides,.trade-impact>div { grid-template-columns:1fr; }
  .trade-swap { transform:rotate(90deg); justify-self:center; }
  .trade-builder .offer-tray { grid-template-columns:1fr auto; }
  .trade-builder .offer-tray-contents { grid-column:1/-1; grid-row:2; white-space:normal; }
  .trade-builder .offer-tray-actions { grid-column:2; grid-row:1; }
}

/* Moorph Sports product landing */
.landing-mode { color-scheme:light; color:#10283b; background:#fff; }
.landing-mode .app-shell { color:#f7fbff; background:#fff; }
.landing-mode .topbar { position:sticky; top:0; z-index:40; height:64px; padding-inline:clamp(22px,4vw,62px); border-bottom:1px solid rgba(127,188,230,.18); background:rgba(2,14,28,.94); box-shadow:none; backdrop-filter:blur(14px); }
.landing-mode .league-context { display:flex; margin:0 auto 0 24px; }
.landing-header-nav { display:flex; align-items:center; gap:26px; }
.landing-header-nav :is(a,button) { padding:8px 0; color:#e5f4ff; border:0; background:transparent; font-size:15px; font-weight:900; letter-spacing:.015em; text-decoration:none; cursor:pointer; }
.landing-header-nav :is(a,button):hover { color:var(--landing-cyan); }
.landing-header-nav a[aria-current="page"] { color:#fff; font-size:12px; font-weight:750; }
.landing-mode .account-controls { color:#d8e8f6; }
.landing-mode .account-controls :is(.account-name,.link-button,.mode-switch) { color:#edf8ff; }
.landing-mode .account-controls :is(select,.mode-switch,.notification-button) { border-color:rgba(119,184,226,.32); background:#071b31; }
.landing-mode main { width:100%; padding:0; }
.platform-landing { overflow:hidden; color:#f7fbff; }
.platform-landing a { color:inherit; }
.landing-carousel { position:relative; height:clamp(440px,38vw,500px); min-height:clamp(440px,38vw,500px); max-height:clamp(440px,38vw,500px); border-bottom:1px solid var(--landing-line); background:radial-gradient(circle at 72% 42%,rgba(0,196,250,.18),transparent 33%),linear-gradient(100deg,#020e1c,#061a2d 62%,#08253a); overflow:hidden; }
.landing-slide { display:grid; grid-template-columns:minmax(0,1fr) minmax(440px,.9fr); gap:clamp(30px,5vw,86px); align-items:center; width:min(1360px,calc(100% - 120px)); height:100%; min-height:100%; max-height:100%; margin:auto; padding:42px 30px 48px; overflow:hidden; animation:landing-fade .45s ease both; }
.landing-slide[hidden] { display:none; }
@keyframes landing-fade { from { opacity:.25; transform:translateY(7px); } to { opacity:1; transform:none; } }
.landing-hero-copy { position:relative; z-index:2; max-width:680px; }
.landing-hero-copy .eyebrow,.landing-news .eyebrow { color:var(--landing-cyan); }
.landing-hero-copy h1 { max-width:720px; margin:2px 0 9px; color:#fff; font-size:clamp(45px,6.2vw,82px); font-weight:950; line-height:.92; letter-spacing:-.055em; text-transform:uppercase; }
.landing-hero-copy h1 em { color:var(--landing-cyan); font-style:italic; }
.landing-slide.front-office .landing-hero-copy h1 em { color:var(--landing-gold); }
.landing-hero-copy h2 { max-width:620px; margin:0 0 11px; color:#fff; font-size:clamp(21px,2.4vw,31px); line-height:1.03; }
.landing-hero-copy>p:not(.eyebrow) { max-width:620px; margin-bottom:20px; color:#c5d7e6; font-size:16px; line-height:1.5; }
.landing-primary { display:inline-flex; min-height:47px; align-items:center; justify-content:center; gap:16px; padding:0 23px; color:#001525 !important; border:0; border-radius:8px; background:linear-gradient(135deg,#04cdf9,#17bfea); box-shadow:0 10px 30px rgba(0,189,244,.22); font-weight:900; text-decoration:none; cursor:pointer; }
.landing-primary.gold { background:linear-gradient(135deg,#ffca59,#ffad23); box-shadow:0 10px 30px rgba(255,181,47,.18); }
.landing-primary:hover { filter:brightness(1.08); transform:translateY(-1px); }
.landing-returning-teams { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 18px; }
.landing-returning-teams span { display:grid; min-width:150px; padding:9px 12px; border:1px solid var(--landing-line); border-radius:8px; background:rgba(7,30,51,.75); }
.landing-returning-teams strong { font-size:12px; }
.landing-returning-teams small { margin-top:2px; color:#8faac0; font-size:9px; text-transform:uppercase; }
.landing-hero-visual { position:relative; min-height:330px; }
.landing-play-visual { display:grid; place-items:center; }
.landing-court-ring { position:absolute; width:340px; height:340px; border:34px solid rgba(0,196,250,.08); border-radius:50%; box-shadow:0 0 0 2px rgba(0,196,250,.12),0 0 80px rgba(0,196,250,.11); }
.landing-court-ring::before,.landing-court-ring::after { position:absolute; content:""; background:rgba(0,196,250,.11); }
.landing-court-ring::before { left:50%; top:-36px; width:2px; height:410px; }
.landing-court-ring::after { top:50%; left:-36px; width:410px; height:2px; }
.landing-hero-mark { position:relative; z-index:1; display:grid; width:128px; height:128px; place-items:center; color:#031426; border-radius:32px; background:linear-gradient(135deg,var(--landing-cyan),var(--landing-teal)); box-shadow:0 22px 70px rgba(0,196,250,.28); font-size:78px; font-weight:1000; font-style:italic; transform:rotate(-4deg); }
.landing-play-visual strong { position:absolute; z-index:2; right:0; bottom:16px; color:var(--landing-cyan); font-size:clamp(21px,2.4vw,34px); font-style:italic; line-height:1.05; text-align:right; text-transform:uppercase; transform:rotate(-5deg); }
.landing-intelligence-demo { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; padding:22px; border:1px solid var(--landing-line); border-radius:18px; background:rgba(3,17,31,.72); box-shadow:0 24px 70px rgba(0,0,0,.25); transform:perspective(900px) rotateY(-5deg); }
.landing-intelligence-demo>div { display:grid; gap:7px; padding:17px; border:1px solid rgba(100,172,219,.18); border-radius:10px; background:#09243d; }
.landing-intelligence-demo small { color:#72a7cb; font-size:9px; font-weight:850; letter-spacing:.08em; text-transform:uppercase; }
.landing-intelligence-demo strong { font-size:14px; }
.landing-intelligence-demo div>span { display:flex; gap:4px; }
.landing-intelligence-demo i { width:18%; height:7px; border-radius:5px; background:var(--landing-teal); }
.landing-intelligence-demo div:nth-child(2) i:nth-last-child(-n+2),.landing-intelligence-demo div:nth-child(3) i:nth-child(3) { background:#45647d; }
.landing-intelligence-demo div:nth-child(4) i { background:var(--landing-pink); }
.landing-front-office-mark { display:grid; grid-template-columns:clamp(125px,15vw,205px) minmax(0,1fr); gap:20px; align-items:center; width:min(100%,540px); margin:auto; padding:24px 30px; border:1px solid rgba(255,189,66,.48); border-radius:18px; background:radial-gradient(circle at 12% 50%,rgba(255,189,66,.13),transparent 38%),linear-gradient(135deg,#050708,#101922); box-shadow:0 22px 75px rgba(0,0,0,.42),inset 0 1px rgba(255,240,188,.09); }
.landing-front-office-mark>img { width:100%; max-height:245px; object-fit:contain; filter:drop-shadow(0 14px 20px rgba(0,0,0,.55)); }
.landing-front-office-mark>div { display:grid; gap:9px; }
.landing-front-office-mark strong { color:#eef1f3; font-size:clamp(29px,3.4vw,48px); font-weight:950; line-height:.92; letter-spacing:-.045em; text-transform:uppercase; white-space:nowrap; }
.landing-front-office-mark strong em { color:#e9b94e; font-style:normal; }
.landing-front-office-mark small { color:#d9dee2; font-size:10px; font-weight:850; letter-spacing:.18em; text-transform:uppercase; }
.landing-front-office-mark span { padding-top:10px; color:#9a8053; border-top:1px solid rgba(234,185,79,.23); font-size:8px; font-weight:800; letter-spacing:.18em; text-transform:uppercase; }
.landing-slide.front-office-art-slide { position:relative; display:block; height:100%; padding:0; overflow:hidden; border-inline:1px solid rgba(227,178,71,.2); background:#070a0c; }
.landing-slide.front-office-art-slide[hidden] { display:none; }
.landing-front-office-art { display:block; width:100%; height:100%; object-fit:cover; object-position:center; }
.landing-front-office-cta { position:absolute; z-index:2; left:30%; bottom:22px; min-height:40px; padding-inline:18px; font-size:12px; }
.front-office-mobile-suite { display:none; }
.landing-ai-board { display:grid; grid-template-columns:repeat(5,1fr); gap:9px; align-items:end; min-height:265px; padding:28px; border:1px solid var(--landing-line); border-radius:18px; background:linear-gradient(180deg,rgba(8,38,64,.65),rgba(3,17,30,.95)); }
.landing-ai-board span { display:grid; min-height:130px; place-items:end center; padding:14px 5px; color:#9bb7cc; border:1px solid rgba(111,177,219,.18); border-radius:60px 60px 10px 10px; background:linear-gradient(180deg,#17486b,#071d33); font-size:9px; font-weight:900; }
.landing-ai-board span:nth-child(3) { min-height:215px; color:#001522; background:linear-gradient(180deg,var(--landing-cyan),var(--landing-teal)); box-shadow:0 0 38px rgba(0,196,250,.25); }
.landing-carousel-arrow { position:absolute; z-index:5; top:50%; display:grid; width:42px; height:42px; place-items:center; color:white; border:1px solid rgba(198,229,248,.7); border-radius:50%; background:rgba(2,15,29,.55); font-size:29px; cursor:pointer; transform:translateY(-50%); }
.landing-carousel-arrow:hover { color:#001522; background:var(--landing-cyan); }
.landing-carousel-arrow.prev { left:20px; }
.landing-carousel-arrow.next { right:20px; }
.landing-carousel-status { position:absolute; z-index:5; right:clamp(60px,6vw,100px); bottom:19px; display:flex; align-items:center; gap:25px; color:#d8e8f5; font-size:12px; }
.landing-carousel-status>div { display:flex; gap:7px; }
.landing-carousel-status button { width:9px; height:9px; padding:0; border:0; border-radius:50%; background:#587287; cursor:pointer; }
.landing-carousel-status button[aria-current="true"] { width:22px; border-radius:7px; background:var(--landing-cyan); }
.managed-home-carousel .managed-slide { display:grid; grid-template-columns:minmax(0,1fr) minmax(320px,.8fr); width:min(1220px,calc(100% - 110px)); margin:auto; align-items:center; }
.managed-home-carousel .managed-slide[hidden] { display:none; }
.managed-home-carousel .managed-slide>img { width:100%; height:100%; max-height:430px; grid-column:2; grid-row:1; object-fit:cover; border-radius:18px; }
.managed-home-carousel .managed-slide-copy { z-index:1; grid-column:1; grid-row:1; padding:42px 24px; }
.managed-home-carousel .managed-slide-copy h2 { max-width:760px; margin:.35rem 0 .7rem; color:white; font-size:clamp(34px,4.5vw,64px); line-height:.97; }
.managed-home-carousel .managed-slide-copy>p:not(.eyebrow) { max-width:56ch; color:#c7d8e5; line-height:1.55; }
.managed-carousel-empty { display:grid; place-items:center; color:#9fb5c6; }
.fantasy-campaign { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:22px; width:min(1360px,calc(100% - 84px)); margin:28px auto 0; padding:18px 22px; align-items:center; color:#eaf9f5; border:1px solid rgba(62,255,218,.42); border-radius:14px; background:linear-gradient(115deg,#06332d,#07504a); box-shadow:0 13px 35px rgba(0,20,18,.2); }
.fantasy-campaign>img { width:88px; height:68px; object-fit:cover; border-radius:9px; }
.fantasy-campaign h2 { margin:.15rem 0 .3rem; color:white; font-size:1.35rem; }
.fantasy-campaign p { margin:0; color:#c5e3dd; font-size:.78rem; line-height:1.45; }
.fantasy-campaign .button { white-space:nowrap; color:#03221e; background:#40f0ce; text-decoration:none; }
.landing-value { width:min(1360px,calc(100% - 84px)); margin:2rem auto; padding:2rem 0; border-top:1px solid var(--landing-line); border-bottom:1px solid var(--landing-line); }
.landing-value>header { max-width:720px; margin-bottom:1.25rem; }
.landing-value>header h2 { margin:.2rem 0 0; color:#fff; font-size:clamp(1.55rem,3vw,2.45rem); }
.landing-value>header .eyebrow,.landing-fantasy-promo .eyebrow { color:var(--landing-cyan); }
.landing-proof { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); }
.landing-proof article { display:grid; grid-template-columns:44px 1fr; gap:12px; min-height:76px; align-items:start; padding:5px 24px; border-right:1px solid var(--landing-line); }
.landing-proof article:last-child { border:0; }
.landing-proof article>span { color:var(--landing-cyan); font-size:30px; font-weight:900; }
.landing-proof strong { display:block; margin-bottom:3px; font-size:14px; }
.landing-proof p { margin:0; color:#9eb4c7; font-size:11px; line-height:1.4; }
.landing-modes,.landing-news { width:min(1360px,calc(100% - 84px)); margin:auto; padding:18px 0 20px; }
.landing-section-heading { display:flex; justify-content:space-between; gap:24px; align-items:end; margin-bottom:14px; }
.landing-section-heading h2 { color:#10283b; font-size:23px; text-transform:uppercase; }
.landing-section-heading p { margin:3px 0 0; color:#476174; font-size:13px; }
.landing-news .landing-section-heading .eyebrow { color:#476174; }
.landing-section-heading>a { color:#476174; font-size:11px; text-decoration:none; }
.landing-section-heading>a span,.landing-news .landing-section-heading>a { color:#006b78; font-weight:850; }
.landing-mode-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.landing-mode-card { position:relative; display:grid; grid-template-columns:48px minmax(0,1fr) auto; gap:12px; min-height:88px; align-items:center; padding:13px; overflow:hidden; color:#fff; border:1px solid; border-radius:9px; text-align:left; text-decoration:none; cursor:pointer; }
.landing-mode-card .game-mode-icon { width:48px; height:48px; margin:0; border-radius:8px; }
.landing-mode-card strong { display:block; font-size:15px; }
.landing-mode-card small { display:block; margin-top:3px; color:#bdd0df; font-size:10px; }
.landing-mode-card>b { color:var(--landing-cyan); font-size:20px; }
.landing-mode-card>em { position:absolute; right:10px; bottom:5px; color:rgba(255,255,255,.52); font-size:8px; font-style:normal; text-transform:uppercase; }
.landing-mode-card.dynasty { border-color:#02a98c; background:linear-gradient(110deg,#05271f,#006c61); }
.landing-mode-card.redraft { border-color:#087df2; background:linear-gradient(110deg,#06182d,#075bb1); }
.landing-mode-card.keeper { border-color:#d4008c; background:linear-gradient(110deg,#26051e,#87005b); }
.landing-mode-card.mock { border-color:#485da2; background:linear-gradient(110deg,#09172b,#18366b); }
.landing-mode-card:hover { filter:brightness(1.12); transform:translateY(-2px); }
.landing-fantasy-promo { display:flex; width:min(1240px,calc(100% - 84px)); min-height:150px; margin:1rem auto 3rem; padding:1.75rem 2rem; align-items:center; justify-content:space-between; gap:2rem; border:1px solid rgba(0,218,169,.45); border-radius:16px; background:radial-gradient(circle at 80% 10%,rgba(0,218,169,.18),transparent 35%),linear-gradient(120deg,#05271f,#073a38); }
.landing-fantasy-promo h2 { margin:.15rem 0 .45rem; color:#fff; font-size:clamp(1.6rem,3vw,2.5rem); }
.landing-fantasy-promo p { margin:0; color:#bfddd6; }
.landing-pulse { display:grid; grid-template-columns:auto repeat(4,minmax(0,1fr)) auto; gap:18px; align-items:center; width:min(1520px,calc(100% - 48px)); min-height:51px; margin:34px auto 8px; padding:8px 16px; border:1px solid rgba(62,255,218,.54); border-radius:8px; background:linear-gradient(90deg,#007f75,#009a82 58%,#00756f); box-shadow:0 8px 28px rgba(0,218,169,.13); }
.landing-pulse strong { display:flex; gap:8px; align-items:center; font-size:10px; letter-spacing:.1em; text-transform:uppercase; }
.landing-pulse strong span { color:#b9fff0; font-size:20px; }
.landing-pulse a { color:#d6e6f3; font-size:10px; text-decoration:none; white-space:nowrap; }
.landing-pulse a::before { margin-right:8px; color:#b9fff0; content:"•"; }
.landing-pulse .landing-pulse-all { color:#fff; font-weight:900; text-align:right; }
.landing-news { padding-top:34px; padding-bottom:32px; }
.landing-news .landing-section-heading h2 { font-size:25px; text-transform:none; }
.landing-editorial-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(250px,.24fr); gap:14px; align-items:stretch; }
.landing-news { width:min(1520px,calc(100% - 48px)); }
.landing-sport-news-stack { display:grid; grid-auto-rows:1fr; gap:20px; min-width:0; }
.landing-sport-news { --sport-card:#102541; --sport-accent:var(--landing-cyan); display:grid; grid-template-rows:auto 1fr; gap:10px; padding:15px; border:1px solid color-mix(in srgb,var(--sport-accent) 38%,var(--landing-line)); border-radius:12px; background:color-mix(in srgb,var(--sport-card) 82%,#020e1b); }
.landing-sport-news.nba,.landing-sport-news.wnba { --sport-card:#102541; --sport-accent:#00daa9; }
.landing-sport-news.football { --sport-card:#102541; --sport-accent:#4a9cff; }
.landing-sport-news.baseball { --sport-card:#102541; --sport-accent:#ff9f43; }
.landing-sport-news>header { display:flex; align-items:end; justify-content:space-between; gap:18px; padding:0 2px; }
.landing-sport-news>header p { margin:0 0 2px; color:var(--sport-accent); font-size:9px; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.landing-sport-news>header h3 { margin:0; color:#fff; font-size:clamp(22px,2.5vw,34px); line-height:1; text-transform:uppercase; }
.landing-sport-news>header>a { color:var(--sport-accent); font-size:10px; font-weight:900; text-decoration:none; }
.landing-sport-story-grid { display:grid; grid-template-rows:1fr; grid-template-columns:minmax(0,1.6fr) minmax(300px,.8fr); gap:10px; min-height:330px; }
.landing-sport-news :is(.landing-news-lead,.landing-news-secondary article,.landing-news-fill) { background:var(--sport-card); }
.landing-sport-news .landing-story-label { background:var(--sport-accent); }
.landing-news-lead { position:relative; display:grid; grid-template-rows:auto 1fr; min-width:0; overflow:hidden; border:1px solid var(--landing-line); border-radius:10px; background:#071b2f; }
.landing-news-lead-art { position:relative; display:block; width:100%; aspect-ratio:16 / 9; overflow:hidden; }
.landing-news-image { position:absolute; inset:0; width:100%; height:100%; }
.landing-news-image { object-fit:cover; }
.landing-news-lead-art::after { position:absolute; inset:0; content:""; background:linear-gradient(90deg,rgba(2,12,24,.95) 0,rgba(2,12,24,.75) 48%,rgba(2,12,24,.06) 78%),linear-gradient(0deg,rgba(2,12,24,.7),transparent 45%); }
.landing-news-lead:has(.editorial-image[data-safe-zone="right"]) .landing-news-lead-art::after { background:linear-gradient(270deg,rgba(2,12,24,.95) 0,rgba(2,12,24,.75) 48%,rgba(2,12,24,.06) 78%),linear-gradient(0deg,rgba(2,12,24,.7),transparent 45%); }
.landing-news-lead:has(.editorial-image[data-safe-zone="right"]) .landing-news-lead-copy { margin-left:auto; text-align:right; }
.landing-news-lead-copy { position:relative; z-index:1; display:flex; width:100%; min-width:0; padding:28px; flex-direction:column; justify-content:center; }
.landing-story-label,.sport-badge { display:inline-flex; width:max-content; padding:4px 7px; color:#001622; border-radius:4px; background:var(--landing-cyan); font-size:9px; font-weight:950; letter-spacing:.08em; text-transform:uppercase; }
.sport-badge--nba { color:#fff; background:#c71f68; }
.sport-badge--wnba { color:#14100b; background:#f57c22; }
.sport-badge--nfl { color:#fff; background:#1769aa; }
.sport-badge--mlb { color:#fff; background:#b3262d; }
.landing-news-lead h3 { margin:10px 0; font-size:clamp(25px,2.8vw,39px); line-height:1.03; }
.landing-news-lead h3 a,.landing-news-secondary h3 a { text-decoration:none; }
.landing-news-lead-copy>p { color:#c4d4df; font-size:14px; line-height:1.45; }
.landing-story-byline { display:flex; gap:10px; margin-top:auto; color:#adc1cf; font-size:10px; }
.landing-story-byline strong { color:white; }
.landing-news-secondary { display:grid; grid-template-rows:repeat(3,minmax(0,1fr)); gap:9px; }
.landing-news-secondary article { display:grid; grid-template-columns:112px minmax(0,1fr); min-height:100px; overflow:hidden; border:1px solid var(--landing-line); border-radius:9px; background:#071b30; }
.landing-secondary-art,.landing-secondary-image { display:block; width:112px; height:100%; min-height:98px; }
.landing-secondary-image { object-fit:cover; }
.landing-news-secondary article>div { align-self:center; padding:10px 12px; }
.landing-news-secondary article.landing-news-fill { grid-template-columns:1fr; place-items:center; }
.landing-news-secondary .landing-story-label { padding:3px 5px; font-size:7px; }
.landing-news-secondary h3 { margin:6px 0 4px; font-size:13px; line-height:1.12; }
.landing-news-secondary time { color:#91a9bb; font-size:9px; }
.landing-news-fill { display:grid; height:100%; min-height:100px; place-items:center; padding:16px; color:#b2c4d2; border:1px solid var(--landing-line); border-radius:9px; background:#071b30; font-size:12px; }
.landing-trending { contain:size; display:flex; flex-direction:column; min-height:0; overflow:hidden; color:#f1f6fa; border:1px solid #263e50; border-radius:16px; background:linear-gradient(155deg,#102333,#0b1926); box-shadow:0 15px 38px rgba(0,12,27,.2); }
.landing-trending-head { flex:none; border-bottom:1px solid #2a4051; background:rgba(255,255,255,.02); }
.landing-trending-title { margin:0; padding:18px 15px 12px; color:#f1f6fa; font-size:13px; font-weight:900; letter-spacing:.04em; text-transform:uppercase; }
.landing-trending-title span { color:#42d8bb; }
.landing-trending-filters { display:flex; gap:5px; padding:0 12px 13px; flex-wrap:wrap; }
.landing-trending-filters button { min-height:30px; padding:5px 9px; color:#d9e5ed; border:1px solid #415463; border-radius:999px; background:#213443; font-size:9px; font-weight:800; cursor:pointer; }
.landing-trending-filters button[aria-selected="true"] { color:#e7fff9; border-color:#2e9e8c; background:#164b43; }
.landing-trending ol { margin:0; padding:4px 14px 12px; list-style:none; flex:1; min-height:0; height:0; overflow-y:auto; overflow-x:hidden; scrollbar-width:none; -ms-overflow-style:none; }
.landing-trending ol::-webkit-scrollbar { display:none; }
.landing-trending ol:focus-visible { outline:2px solid #65e8cc; outline-offset:-3px; }
.landing-trending li[hidden] { display:none; }
.landing-trending li button { display:grid; width:100%; grid-template-columns:64px minmax(0,1fr) auto; gap:12px; align-items:center; min-height:104px; padding:18px 0; color:#f1f6fa; border:0; border-bottom:1px solid #2a4051; background:transparent; font:inherit; font-size:12px; line-height:1.4; text-align:left; cursor:pointer; }
.landing-trending li:last-child button { border-bottom:0; }
.landing-trending li button:hover strong,.landing-trending li button:focus-visible strong { color:#65e8cc; }
.landing-trending button:focus-visible { outline:2px solid #65e8cc; outline-offset:3px; }
.landing-trending-copy { display:grid; gap:5px; min-width:0; overflow-wrap:anywhere; }
.landing-trending-art { display:block; width:64px; height:64px; overflow:hidden; border-radius:12px; background:#1c3d54; }
.landing-trending-thumb { display:block; width:100%; height:100%; object-fit:cover; }
.landing-trending-art .sport-story-art-fallback { display:grid; place-items:center; min-height:0; aspect-ratio:auto; }
.landing-trending-art svg { object-fit:contain; }
.landing-trending li strong { color:#f1f6fa; font-size:14px; font-weight:850; transition:color .15s ease; }
.landing-trending-metadata { color:#aebdca; font-size:11px; }
.landing-trending-headline { color:#e4edf3; font-size:12px; }
.landing-trending li b { color:#aebdca; font-size:20px; font-weight:400; }
.landing-trending-empty { padding:18px 4px; color:#aebdca; font-size:12px; line-height:1.5; }
.landing-quick-hit { width:min(520px,calc(100% - 32px)); padding:27px; color:#10283b; border:1px solid #91bbc9; border-radius:16px; background:#f4fbfd; box-shadow:0 24px 80px rgba(0,10,24,.5); }
.landing-quick-hit::backdrop { background:rgba(1,10,20,.72); backdrop-filter:blur(3px); }
.landing-quick-hit form { position:absolute; top:10px; right:11px; }
.landing-quick-hit-close { display:grid; width:34px; height:34px; place-items:center; color:#173247; border:1px solid #b8d0da; border-radius:50%; background:#e5f1f5; font-size:23px; cursor:pointer; }
.landing-quick-hit h3 { margin:13px 36px 7px 0; color:#071d30; font-size:clamp(22px,4vw,31px); line-height:1.08; }
.landing-quick-hit time { color:#547286; font-size:10px; font-weight:800; }
.landing-quick-hit p { white-space:pre-wrap; margin:20px 0; color:#27465a; font-size:14px; line-height:1.65; }
.landing-quick-hit>a { color:#007f75; font-size:11px; font-weight:900; text-decoration:none; }
.landing-art-fallback { display:grid; place-items:center; background:radial-gradient(circle at 65% 30%,rgba(0,196,250,.3),transparent 30%),linear-gradient(145deg,#092b48,#041526); }
.landing-art-fallback span { color:rgba(255,255,255,.13); font-size:90px; font-style:italic; font-weight:1000; }
.landing-news-empty { display:grid; grid-template-columns:80px 1fr; gap:20px; min-height:180px; align-items:center; padding:30px; border:1px solid var(--landing-line); border-radius:10px; background:#071b30; }
.landing-news-empty>span { display:grid; width:72px; height:72px; place-items:center; color:#021321; border-radius:18px; background:linear-gradient(135deg,var(--landing-cyan),var(--landing-teal)); font-size:42px; font-weight:1000; font-style:italic; }
.landing-news-empty p { margin:5px 0 0; color:#9fb5c6; }
.landing-footer { display:flex; align-items:center; justify-content:center; min-height:72px; padding:20px max(42px,calc((100% - 1360px)/2)); border-top:1px solid var(--landing-line); background:#020d19; }
.landing-footer nav { display:flex; gap:24px; }
.landing-footer nav a { color:#b8cbd9; font-size:10px; text-decoration:none; }
.landing-footer>span { color:#7e97aa; font-size:9px; }

@media (max-width:1100px) {
  .landing-slide { grid-template-columns:1fr 390px; width:calc(100% - 78px); }
  .landing-proof { grid-template-columns:repeat(2,1fr); }
  .landing-proof article:nth-child(2) { border-right:0; }
  .landing-proof article:nth-child(-n+2) { border-bottom:1px solid var(--landing-line); }
  .landing-mode-grid { grid-template-columns:repeat(2,1fr); }
  .landing-pulse { grid-template-columns:auto repeat(2,1fr) auto; }
  .landing-pulse a:nth-of-type(3),.landing-pulse a:nth-of-type(4) { display:none; }
  .landing-editorial-layout { grid-template-columns:1fr; }
  .landing-trending { contain:none; }
  .landing-trending ol { flex:none; height:min(1248px,70vh); display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr)); gap:10px; }
  .landing-trending li button { grid-template-columns:64px minmax(0,1fr); }
  .landing-trending li button>b { display:none; }
}

@media (max-width:760px) {
  .landing-mode .topbar { height:auto; min-height:62px; flex-wrap:wrap; gap:10px; padding-block:11px; }
  .landing-mode .account-controls { width:100%; margin:0; overflow-x:auto; }
  .landing-mode .league-context { display:flex; order:3; width:100%; margin:0; overflow-x:auto; scrollbar-width:none; }
  .landing-mode .league-context::-webkit-scrollbar { display:none; }
  .landing-header-nav { min-width:max-content; gap:22px; }
  .landing-slide { grid-template-columns:1fr; width:100%; height:100%; padding:38px 28px 65px; }
  .managed-home-carousel .managed-slide { display:flex; width:100%; padding:28px 25px 70px; flex-direction:column-reverse; justify-content:center; }
  .managed-home-carousel .managed-slide[hidden] { display:none; }
  .managed-home-carousel .managed-slide>img { width:100%; max-height:245px; }
  .managed-home-carousel .managed-slide-copy { padding:18px 0 0; }
  .managed-home-carousel .managed-slide-copy h2 { font-size:36px; }
  .fantasy-campaign { width:calc(100% - 36px); grid-template-columns:1fr; align-items:start; }
  .fantasy-campaign>img { width:100%; height:130px; }
  .landing-carousel { height:640px; min-height:640px; max-height:640px; }
  .landing-fantasy-promo { width:calc(100% - 36px); align-items:flex-start; flex-direction:column; margin-bottom:2rem; }
  .landing-value { width:calc(100% - 36px); }
  .landing-hero-copy h1 { font-size:44px; }
  .landing-hero-visual,.landing-intelligence-demo,.landing-front-office-mark,.landing-ai-board { min-height:220px; max-height:255px; }
  .landing-slide.front-office-art-slide { display:flex; min-height:610px; padding:0 22px 66px; flex-direction:column; background:linear-gradient(180deg,#080b0d,#11100d); }
  .landing-slide.front-office-art-slide[hidden] { display:none; }
  .landing-front-office-art { width:calc(100% + 44px); height:235px; margin:0 -22px 22px; flex:0 0 235px; object-fit:cover; object-position:left center; }
  .front-office-mobile-suite { display:grid; grid-template-columns:1fr 1fr; gap:9px; margin:0; padding:0; list-style:none; }
  .front-office-mobile-suite li { display:grid; gap:3px; min-height:78px; align-content:center; padding:12px; border:1px solid rgba(229,184,87,.3); border-radius:9px; background:rgba(255,255,255,.035); }
  .front-office-mobile-suite strong { color:#f4f5f6; font-size:13px; text-transform:uppercase; }
  .front-office-mobile-suite span { color:#b4bbc0; font-size:9px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
  .front-office-mobile-suite li:nth-child(2) { border-color:rgba(39,153,238,.4); }
  .front-office-mobile-suite li:nth-child(3) { border-color:rgba(61,204,127,.4); }
  .front-office-mobile-suite li:nth-child(4) { border-color:rgba(180,83,235,.4); }
  .landing-front-office-cta { position:static; align-self:flex-start; margin-top:18px; }
  .landing-court-ring { width:220px; height:220px; border-width:23px; }
  .landing-play-visual strong { right:15px; }
  .landing-carousel-arrow { top:auto; bottom:13px; transform:none; }
  .landing-carousel-arrow.prev { left:22px; }
  .landing-carousel-arrow.next { right:22px; }
  .landing-carousel-status { right:50%; bottom:24px; transform:translateX(50%); }
  .landing-carousel-status>span { display:none; }
  .landing-proof,.landing-modes,.landing-news,.landing-pulse { width:calc(100% - 32px); }
  .landing-proof { grid-template-columns:1fr; padding:12px 0; }
  .landing-proof article { border-right:0; border-bottom:1px solid var(--landing-line); }
  .landing-mode-grid { grid-template-columns:1fr; }
  .landing-section-heading { align-items:start; flex-direction:column; }
  .landing-pulse { display:flex; overflow-x:auto; }
  .landing-pulse a { flex:0 0 auto; }
  .landing-pulse .landing-pulse-all { margin-left:auto; }
  .landing-sport-story-grid { grid-template-columns:1fr; grid-template-rows:minmax(0,1fr) auto; }
  .landing-sport-news { padding:11px; }
  .landing-sport-news>header { align-items:flex-start; flex-direction:column; gap:7px; }
  .landing-news-lead-copy { width:100%; background:linear-gradient(90deg,rgba(2,12,24,.95),rgba(2,12,24,.63)); }
  .landing-news-secondary article { grid-template-columns:96px 1fr; }
  .landing-secondary-art,.landing-secondary-image { width:96px; }
  .landing-trending ol { display:block; }
  .landing-footer { grid-template-columns:1fr; gap:15px; padding:24px; }
  .landing-footer nav { flex-wrap:wrap; }
}

@media (prefers-reduced-motion:reduce) {
  .landing-slide { animation:none; }
  .landing-primary,.landing-mode-card { transition:none; }
}

/* Front Office identity is shared across landing surfaces without implying a live tool. */
.front-office-ribbon { position:relative; display:grid; grid-template-columns:64px minmax(220px,auto) 1fr; gap:15px; align-items:center; min-height:82px; margin:0 0 18px; padding:10px 22px 10px 14px; overflow:hidden; color:var(--front-office-text); border:1px solid var(--front-office-border); border-radius:12px; background:radial-gradient(circle at 8% 45%,color-mix(in srgb,var(--front-office-gold) 18%,transparent),transparent 23%),linear-gradient(112deg,var(--front-office-surface),var(--front-office-surface-elevated) 58%,#19130a); box-shadow:0 9px 24px rgba(13,20,29,.16),inset 0 1px rgba(255,240,187,.1); }
.front-office-ribbon::after { position:absolute; right:-20px; top:-90px; width:250px; height:250px; border:1px solid rgba(226,178,73,.12); border-radius:50%; content:""; }
.front-office-ribbon>img { position:relative; z-index:1; width:60px; height:68px; object-fit:contain; filter:drop-shadow(0 6px 8px rgba(0,0,0,.45)); }
.front-office-ribbon>div { position:relative; z-index:1; display:grid; gap:2px; padding-right:22px; border-right:1px solid rgba(230,188,96,.25); }
.front-office-ribbon>div>span { color:var(--front-office-gold); font-size:8px; font-weight:900; letter-spacing:.13em; text-transform:uppercase; }
.front-office-ribbon strong { font-size:24px; font-weight:950; line-height:1; letter-spacing:-.025em; text-transform:uppercase; }
.front-office-ribbon strong em { color:var(--front-office-gold); font-style:normal; }
.front-office-ribbon small { color:var(--front-office-muted); font-size:8px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.front-office-ribbon>p { position:relative; z-index:1; justify-self:end; margin:0; color:#dbc891; font-size:11px; font-weight:800; letter-spacing:.05em; text-align:right; text-transform:uppercase; }

/* Dynasty mode portal: real capabilities first, roadmap explicitly separated. */
.dynasty-mode-page { width:min(1360px,100%); margin:auto; }
.dynasty-mode-hero { position:relative; display:grid; grid-template-columns:minmax(0,1fr) 310px; gap:40px; min-height:300px; align-items:center; margin:-28px calc(clamp(18px,4vw,56px) * -1) 24px; padding:42px clamp(32px,6vw,82px); overflow:hidden; color:white; background:radial-gradient(circle at 64% 45%,rgba(0,218,169,.26),transparent 27%),linear-gradient(110deg,#021714,#003d3a 58%,#006f69); }
.dynasty-mode-hero::after { position:absolute; right:22%; bottom:-180px; width:390px; height:390px; border:45px solid rgba(0,218,169,.08); border-radius:50%; content:""; }
.dynasty-mode-hero h1 { position:relative; z-index:1; margin:5px 0 12px; color:white; font-size:clamp(40px,5vw,68px); font-weight:950; line-height:.92; text-transform:uppercase; }
.dynasty-mode-hero h1 em { color:#00e0bd; font-style:italic; }
.dynasty-mode-hero>div>p:not(.eyebrow) { position:relative; z-index:1; max-width:650px; color:#cbe2df; font-size:14px; line-height:1.55; }
.dynasty-mode-hero .mode-hero-actions { position:relative; z-index:1; justify-content:flex-start; }
.dynasty-mode-hero .button { border-color:rgba(177,255,239,.5); }
.dynasty-hero-system { position:relative; z-index:1; display:grid; gap:10px; padding:18px; border-left:1px solid rgba(163,255,235,.32); }
.dynasty-hero-system span { display:flex; gap:11px; align-items:center; color:#e3faf5; font-size:12px; font-weight:750; }
.dynasty-hero-system span::before { display:grid; width:26px; height:26px; place-items:center; color:#001f1a; border-radius:7px; background:#00d9ae; content:"✓"; font-weight:950; }
.dynasty-mode-layout { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(320px,.65fr); gap:18px; }
.dynasty-league-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; padding:12px; }
.dynasty-league-card { display:flex; min-height:205px; padding:13px; flex-direction:column; border:1px solid var(--line); border-radius:var(--radius-md); background:linear-gradient(145deg,#fff,#f5fbfa); }
.dynasty-league-card header { display:grid; grid-template-columns:46px minmax(0,1fr); gap:10px; align-items:center; }
.dynasty-league-logo { display:grid; width:46px; height:46px; place-items:center; overflow:hidden; border:1px solid var(--line); border-radius:9px; background:#071d1a; color:#baf7e8; font-weight:900; }
.dynasty-league-logo img { width:100%; height:100%; object-fit:contain; }
.dynasty-league-card header strong { display:block; font-size:13px; }
.dynasty-league-card header small { display:block; margin-top:3px; color:var(--muted); font-size:9px; }
.dynasty-league-state { display:grid; grid-template-columns:repeat(3,1fr); gap:5px; margin:14px 0 9px; }
.dynasty-league-state span { color:var(--muted); font-size:8px; text-transform:uppercase; }
.dynasty-league-state strong { display:block; color:var(--ink); font-size:18px; text-transform:none; }
.dynasty-league-card>p { margin:0 0 10px; font-size:9px; }
.dynasty-league-card>p.ready { color:var(--green); }
.dynasty-league-card>p.attention { color:var(--orange); }
.dynasty-league-card>.button { width:100%; margin-top:auto; }
.dynasty-coming { overflow:hidden; border:1px dashed #91a8bd; border-radius:var(--radius-lg); background:#f8fafc; }
.dynasty-coming>div:last-child { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); }
.dynasty-coming article { padding:17px; background:white; }
.dynasty-coming article>span { display:inline-flex; padding:3px 6px; color:#50627a; border-radius:4px; background:#e9eef4; font-size:8px; font-weight:900; letter-spacing:.06em; text-transform:uppercase; }
.dynasty-coming article strong { display:block; margin:8px 0 4px; font-size:13px; }
.dynasty-coming article p { margin:0; color:var(--muted); font-size:10px; line-height:1.45; }
.schedule-widget--wide { grid-template-columns:repeat(4,minmax(0,1fr)); }
.schedule-widget--wide .portal-game { grid-template-columns:minmax(0,1fr); grid-template-rows:auto 34px; gap:6px; align-items:center; min-width:0; padding:12px 14px; }
.schedule-widget--wide .portal-game time { grid-column:1; grid-row:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.schedule-widget--wide .portal-game>.badge { display:none; }
.schedule-widget--wide .portal-game-teams { display:grid; grid-column:1; grid-row:2; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); gap:5px; width:100%; }
.schedule-widget--wide .portal-game-team { gap:5px; }
.schedule-widget--wide .portal-game-team:last-child { justify-content:flex-end; }
.schedule-widget--wide .portal-game-team img,.schedule-widget--wide .portal-game-logo { width:26px; height:26px; flex-basis:26px; }
.schedule-widget--wide .portal-game-team strong { font-size:11px; }
.dynasty-tools { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:1px; background:var(--line); }
.dynasty-tool { display:flex; min-height:120px; padding:16px 10px; align-items:center; flex-direction:column; border:0; background:white; text-align:center; cursor:pointer; }
.dynasty-tool:hover { background:#effbf8; }
.dynasty-tool>span { color:#007866; font-size:25px; }
.dynasty-tool strong { margin:7px 0 4px; font-size:11px; }
.dynasty-tool small { color:var(--muted); font-size:8px; line-height:1.35; }
.dynasty-news { overflow:hidden; }
.dynasty-news .league-news-lead { min-height:205px; }
.dynasty-news .league-news-lead.no-art { min-height:165px; }
.dynasty-news .league-news-row { min-height:68px; }
.dynasty-news .league-news-thumb { height:68px; }
.dynasty-mode-schedule,.dynasty-mode-page>.dynasty-coming { margin-top:18px; }
.dynasty-player-status { overflow:hidden; }
.dynasty-status-list { display:grid; }
.dynasty-status-row { display:grid; grid-template-columns:38px minmax(0,1fr) auto; gap:10px; min-height:62px; align-items:center; padding:10px 13px; border-bottom:1px solid var(--line); }
.dynasty-status-row:last-child { border-bottom:0; }
.dynasty-status-logo { display:grid; width:38px; height:38px; place-items:center; overflow:hidden; color:var(--brand-accent); border:1px solid var(--line); border-radius:50%; background:rgba(255,255,255,.94); font-size:9px; font-weight:900; }
.dynasty-status-logo img { width:100%; height:100%; padding:3px; object-fit:contain; }
.dynasty-status-logo .team-mark { width:100%; height:100%; }
.dynasty-status-row strong,.dynasty-status-row small { display:block; }
.dynasty-status-row strong { font-size:12px; }
.dynasty-status-row small { display:-webkit-box; margin-top:3px; overflow:hidden; color:var(--muted); font-size:9px; line-height:1.3; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.dynasty-status-row>.badge { max-width:94px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.player-status-widget__more { width:100%; padding:12px 14px; color:var(--link); border:0; border-top:1px solid var(--surface-border); background:transparent; font-size:11px; font-weight:850; text-align:left; cursor:pointer; }
.player-status-widget__more:hover { background:var(--surface-soft); }

@media (max-width:1050px) {
  .dynasty-mode-layout { grid-template-columns:1fr; }
  .dynasty-mode-layout>aside { grid-template-columns:1fr 1fr; }
  .schedule-widget--wide { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:760px) {
  .front-office-ribbon { grid-template-columns:50px 1fr; padding:9px 13px; }
  .front-office-ribbon>img { width:46px; height:54px; }
  .front-office-ribbon>div { padding-right:0; border-right:0; }
  .front-office-ribbon strong { font-size:19px; }
  .front-office-ribbon>p { display:none; }
  .dynasty-mode-hero { grid-template-columns:1fr; margin-top:-28px; }
  .dynasty-hero-system { grid-template-columns:1fr 1fr; border-left:0; border-top:1px solid rgba(163,255,235,.32); }
  .dynasty-league-grid,.dynasty-coming>div:last-child,.dynasty-mode-layout>aside { grid-template-columns:1fr; }
  .dynasty-tools { grid-template-columns:repeat(2,1fr); }
  .schedule-widget--wide { grid-template-columns:1fr; }
}

/* League command-center landing */
.league-command-hero { position:relative; display:grid; grid-template-columns:minmax(0,1fr) minmax(300px,.8fr) 150px; gap:30px; align-items:center; min-height:205px; margin:-28px calc(clamp(18px,4vw,56px) * -1) 18px; padding:30px clamp(28px,4vw,56px); overflow:hidden; color:white; background:linear-gradient(100deg,#031326,#092d50 60%,#041524); }
.league-command-hero h1 { margin:4px 0 5px; color:white; font-size:clamp(36px,4vw,58px); }
.league-command-hero>div:first-child>strong { color:#8fe8dc; font-size:14px; }
.league-command-hero>div:first-child>p:last-child { margin:8px 0 0; color:#b6ccdc; font-size:12px; }
.league-command-hero-art { position:relative; min-height:160px; }
.league-command-hero-art>span { position:absolute; left:20px; top:-100px; width:310px; height:310px; border:48px solid rgba(190,103,50,.34); border-radius:50%; transform:rotate(-20deg); }
.league-command-hero-art>span::before,.league-command-hero-art>span::after { position:absolute; content:""; background:rgba(255,154,82,.25); }
.league-command-hero-art>span::before { left:50%; top:-50px; width:3px; height:390px; }
.league-command-hero-art>span::after { top:50%; left:-50px; width:390px; height:3px; }
.league-command-hero-art>strong { position:absolute; z-index:1; right:10px; top:35px; color:#02d7f6; font-size:25px; font-style:italic; line-height:1.02; text-align:right; text-transform:uppercase; transform:rotate(-6deg); }
.league-command-hero>aside { position:relative; z-index:2; display:grid; justify-items:start; gap:7px; padding-left:18px; border-left:1px solid rgba(161,206,235,.25); }
.league-command-hero>aside>strong { font-size:20px; }
.league-command-hero>aside>small { color:#a8bfd0; font-size:9px; }
.league-command-page { display:grid; gap:16px; }
body[data-surface="home"] main { padding-bottom:82px; }
body[data-surface="home"] .league-command-hero { min-height:260px; margin-right:calc(50% - 50vw); margin-left:calc(50% - 50vw); padding-right:max(clamp(30px,5vw,72px),calc((100vw - 1328px)/2)); padding-left:max(clamp(30px,5vw,72px),calc((100vw - 1328px)/2)); box-shadow:0 18px 45px rgba(0,0,0,.25); }
body[data-surface="home"] .card { border-color:var(--league-line); background:var(--league-panel); box-shadow:0 12px 28px rgba(0,0,0,.16); }
body[data-surface="home"] .card-header { border-color:var(--league-line); }
body[data-surface="home"] :is(.league-command-row,.league-team-metrics,.league-tonight-counts,.portal-game,.league-pulse-row,.league-deadline-row,.league-news-row) { border-color:var(--league-line); }
body[data-surface="home"] .league-division-heading { background:var(--league-panel-soft); }
body[data-surface="home"] .home-roster-toggle { background:var(--league-panel-soft); }
body[data-surface="home"] .home-roster-player { border-color:var(--league-line); background:linear-gradient(180deg,var(--league-panel-soft),var(--league-panel)); }
body[data-surface="home"] .home-roster-player :is(img,div>span) { background:rgba(255,255,255,.9); }
body[data-surface="home"] .home-standings-table th { color:#aac0ce; border-color:var(--league-line); background:var(--league-panel-soft); }
body[data-surface="home"] .home-standings-table td { border-color:var(--league-line); }
body[data-surface="home"] .home-standings-table tbody tr:hover { background:var(--league-panel-soft); }
body[data-surface="home"] .home-standings-table tr.mine { background:rgba(0,204,177,.13); }
body[data-surface="home"] .league-chatter-card { color:var(--conversation-text); border-color:var(--conversation-border); background:var(--conversation-surface); }
body[data-surface="home"] .league-chatter-card span,body[data-surface="home"] .league-chatter-card small { color:var(--conversation-muted); }
body[data-surface="home"] .league-chatter-card:hover,body[data-surface="home"] .league-chatter-card:focus-visible { border-color:var(--link); background:var(--conversation-surface-hover); }
body[data-surface="home"] .league-news-lead.no-art { background:var(--league-panel-soft); }
body[data-surface="home"] .league-panel-link,body[data-surface="home"] .card-link,body[data-surface="home"] .league-command-row>b,body[data-surface="home"] .league-deadline-row>b { color:#59c9f0; }
.league-command-top { display:grid; grid-template-columns:minmax(280px,.85fr) minmax(430px,1.35fr) minmax(245px,.72fr); gap:12px; align-items:stretch; }
.league-command-top>.card { min-width:0; }
.league-command-center .card-header>div,.league-tonight .card-header>div,.league-activity-panel .card-header>div { display:grid; grid-template-columns:auto 1fr; gap:1px 9px; align-items:center; }
.league-command-center .card-header h2,.league-tonight .card-header h2,.league-activity-panel .card-header h2 { grid-column:2; font-size:17px; }
.league-command-center .card-header small,.league-tonight .card-header small,.league-activity-panel .card-header small { grid-column:2; color:var(--muted); font-size:9px; }
.league-panel-icon { grid-row:1/3; color:var(--blue); font-size:27px; font-weight:950; }
.league-command-row { display:grid; grid-template-columns:28px minmax(0,1fr) auto; gap:9px; min-height:55px; align-items:center; padding:9px 13px; border-bottom:1px solid var(--line); color:var(--ink); text-decoration:none; }
.league-command-row:last-child { border:0; }
.league-command-row>span { display:grid; width:27px; height:27px; place-items:center; color:white; border-radius:50%; background:#4f6f91; font-weight:900; }
.league-command-row.clear>span { background:var(--green); }
.league-command-row.warning>span { background:var(--orange); }
.league-command-row strong,.league-command-row small { display:block; }
.league-command-row strong { font-size:11px; }
.league-command-row small { margin-top:2px; color:var(--muted); font-size:8px; }
.league-command-row>b { color:var(--blue); font-size:9px; }
.league-command-row:hover { background:var(--surface-soft); }
.league-command-team .card-header { min-height:59px; }
.league-team-metrics { display:grid; grid-template-columns:repeat(4,1fr); border-bottom:1px solid var(--line); }
.league-team-metrics span { padding:12px 8px; color:var(--muted); border-right:1px solid var(--line); font-size:8px; text-align:center; text-transform:uppercase; }
.league-team-metrics span:last-child { border:0; }
.league-team-metrics strong { display:block; margin-bottom:2px; color:var(--ink); font-size:19px; text-transform:none; }
.league-command-team .home-roster-toggle { width:max-content; margin:8px 12px 3px; }
.league-command-team .home-roster-strip { grid-template-columns:repeat(5,minmax(86px,1fr)); padding:5px 9px 9px; overflow-x:auto; }
.league-command-team .home-roster-player:nth-child(n+6) { display:none; }
.league-command-team .home-roster-player { min-width:86px; padding:8px 5px; }
.league-command-team .home-roster-player>div { grid-template-columns:30px 1fr; }
.league-command-team .home-roster-player img,.league-command-team .home-roster-player>div>span { width:30px; height:30px; }
.league-command-team .home-roster-player a { font-size:8px; }
.league-command-team .home-team-actions { padding:9px 12px; }
.league-command-team .home-team-actions .button { min-height:34px; padding:7px 11px; font-size:9px; }
.league-tonight-counts { display:grid; grid-template-columns:repeat(3,1fr); border-bottom:1px solid var(--line); }
.league-tonight-counts span { padding:12px 4px; color:var(--muted); font-size:8px; text-align:center; }
.league-tonight-counts strong { display:block; color:var(--ink); font-size:20px; }
.league-tonight .portal-game { grid-template-columns:1fr; padding:8px 11px; }
.league-tonight .portal-game>.badge { display:none; }
.league-tonight .portal-game time { grid-column:1; }
.league-panel-link { display:block; padding:12px 15px; color:var(--blue); font-size:10px; font-weight:850; text-decoration:none; }
.league-command-content { display:grid; grid-template-columns:minmax(0,2.35fr) minmax(300px,.82fr); gap:12px; align-items:start; }
.league-command-content>* { min-width:0; }
.league-standings-panel { grid-column:1; grid-row:1; }
.league-player-status-panel { grid-column:2; grid-row:1; overflow:hidden; }
.league-news-panel { grid-column:2; grid-row:2; }
.league-command-split { display:grid; grid-column:1; grid-row:2; grid-template-columns:1.15fr .85fr; gap:12px; }
.league-deadlines-panel { grid-column:1; grid-row:3; }
.league-command-split>.card { min-width:0; }
.league-command-content .home-standings-table { font-size:10px; }
.league-command-content .home-standings-table th,.league-command-content .home-standings-table td { padding:8px 10px; }
.league-command-content .home-standings-table .transaction-team-logo { width:22px; height:22px; }
.league-command-content .standings-team { gap:8px; }
.league-command-content .standings-team strong { white-space:nowrap; }
.league-division-standings { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
.league-division { min-width:0; }
.league-division+.league-division { border-left:1px solid var(--line); }
.league-division-heading { display:flex; align-items:center; justify-content:space-between; min-height:42px; padding:9px 12px; border-bottom:1px solid var(--line); background:var(--surface-soft); }
.league-division-heading h3 { margin:0; font-size:13px; }
.league-division-heading span { color:var(--muted); font-size:9px; text-transform:uppercase; }
.league-division .table-wrap { overflow-x:auto; }
.league-news-panel { overflow:hidden; }
.league-news-lead { position:relative; display:grid; min-height:190px; overflow:hidden; color:white; background:#06192b; }
.league-news-lead-art { grid-area:1/1; width:100%; height:100%; min-height:190px; object-fit:cover; opacity:.72; }
.league-news-lead::after { grid-area:1/1; content:""; background:linear-gradient(90deg,rgba(1,12,27,.96),rgba(1,12,27,.42) 75%,transparent); }
.league-news-lead>div { position:relative; z-index:1; grid-area:1/1; align-self:end; width:75%; padding:16px; }
.league-news-lead:has(.editorial-image[data-safe-zone="right"])::after { background:linear-gradient(270deg,rgba(1,12,27,.96),rgba(1,12,27,.42) 75%,transparent); }
.league-news-lead:has(.editorial-image[data-safe-zone="right"])>div { margin-left:auto; text-align:right; }
.league-news-lead:has(.editorial-image[data-safe-zone="right"])>div>span { margin-left:auto; }
.league-news-lead span,.league-news-row span { display:block; width:max-content; margin-bottom:5px; color:#0074d9; font-size:8px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.league-news-lead span { color:#60d9ff; }
.league-news-lead a { color:white; font-size:16px; font-weight:900; line-height:1.08; text-decoration:none; }
.league-news-lead p { display:-webkit-box; margin:7px 0; overflow:hidden; color:#d9e5ef; font-size:9px; line-height:1.35; -webkit-box-orient:vertical; -webkit-line-clamp:3; }
.league-news-lead small { color:#b8cad7; font-size:8px; }
.league-news-lead.no-art { min-height:154px; color:var(--ink); background:linear-gradient(135deg,#eef7ff,#f4fbff 62%,#e5f2ff); }
.league-news-lead.no-art::before { position:absolute; right:-42px; bottom:-58px; width:165px; height:165px; content:""; border:24px solid rgba(0,116,217,.08); border-radius:50%; }
.league-news-lead.no-art::after { background:linear-gradient(90deg,rgba(238,247,255,.2),rgba(255,255,255,.08)); }
.league-news-lead.no-art>div { align-self:center; width:100%; padding:17px; }
.league-news-lead.no-art span { color:var(--blue); }
.league-news-lead.no-art a { color:var(--ink); }
.league-news-lead.no-art p,.league-news-lead.no-art small { color:var(--muted); }
.league-news-panel .league-news-lead.image-only { display:block; min-height:0; aspect-ratio:16/9; background:#06192b; }
.league-news-panel .league-news-lead.image-only::after { display:none; }
.league-news-panel .league-news-lead.image-only .league-news-lead-art { display:block; width:100%; height:100%; min-height:0; object-fit:cover; opacity:1; }
.league-news-row { display:grid; grid-template-columns:68px minmax(0,1fr); min-height:67px; border-bottom:1px solid var(--line); }
.league-news-row.no-art { grid-template-columns:1fr; min-height:74px; background:var(--surface); }
.league-news-thumb { width:68px; height:67px; object-fit:cover; }
.league-news-row>div { align-self:center; min-width:0; padding:7px 9px; }
.league-news-row.no-art>div { padding:10px 12px; }
.league-news-row a { display:-webkit-box; overflow:hidden; color:var(--ink); font-size:10px; font-weight:850; line-height:1.15; text-decoration:none; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.league-news-row small { display:block; margin-top:4px; overflow:hidden; color:var(--muted); font-size:8px; text-overflow:ellipsis; white-space:nowrap; }
.league-pulse-list { padding:2px 13px 4px; }
.league-pulse-row { display:grid; grid-template-columns:25px minmax(0,1fr); gap:9px; align-items:center; min-height:55px; padding:8px 0; color:var(--ink); border-bottom:1px solid var(--line); text-decoration:none; }
.league-pulse-row:last-child { border:0; }
.league-pulse-row>span { color:var(--green); font-size:23px; font-weight:900; text-align:center; }
.league-pulse-row strong,.league-pulse-row small { display:block; }
.league-pulse-row strong { overflow:hidden; font-size:10px; line-height:1.2; text-overflow:ellipsis; white-space:nowrap; }
.league-pulse-row small { margin-top:2px; overflow:hidden; color:var(--muted); font-size:8px; text-overflow:ellipsis; white-space:nowrap; }
.league-deadlines-panel { grid-column:2; }
.league-deadline-row { display:grid; grid-template-columns:auto minmax(0,1fr) auto 8px; gap:8px; align-items:start; min-height:62px; padding:10px 12px; color:var(--ink); border-bottom:1px solid var(--line); text-decoration:none; }
.league-deadline-row:last-child { border:0; }
.league-deadline-row>div { min-width:0; }
.league-deadline-row strong,.league-deadline-row small { display:block; }
.league-deadline-row strong { overflow:hidden; font-size:10px; line-height:1.2; text-overflow:ellipsis; white-space:nowrap; }
.league-deadline-row small { display:-webkit-box; margin-top:3px; overflow:hidden; color:var(--muted); font-size:8px; line-height:1.25; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.league-deadline-row time { color:var(--muted); font-size:8px; white-space:nowrap; }
.league-deadline-row>b { align-self:center; color:var(--blue); font-size:17px; }
.league-deadline-row .badge { padding:4px 6px; font-size:7px; white-space:nowrap; }
.league-chatter { grid-column:1/-1; grid-row:4; }
.league-chatter-actions { display:flex; align-items:center; gap:14px; }
.league-chatter-preview { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; padding:12px; }
.league-chatter-card { display:grid; align-content:start; min-height:92px; padding:11px; color:var(--ink); border:1px solid var(--line); border-radius:var(--radius-md); background:var(--surface); font:inherit; text-align:left; cursor:pointer; }
.league-chatter-card:hover,.league-chatter-card:focus-visible { border-color:var(--blue); background:var(--blue-soft); box-shadow:0 5px 16px rgba(17,27,54,.08); }
.league-chatter-card strong { display:-webkit-box; min-height:31px; overflow:hidden; font-size:10px; line-height:1.35; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.league-chatter-card span,.league-chatter-card small { color:var(--muted); font-size:8px; }
.league-chatter-card span { margin-top:9px; }
.league-chatter [data-chatter-composer] { padding:0 12px 12px; }
.league-chatter-dialog { width:min(680px,calc(100% - 24px)); max-height:calc(100vh - 36px); padding:0; overflow:hidden; border:0; border-radius:var(--radius-lg); background:var(--surface); box-shadow:var(--elevation-dialog); }
.league-chatter-dialog::backdrop { background:rgba(10,17,35,.55); backdrop-filter:blur(2px); }
.league-chatter-dialog-shell { max-height:calc(100vh - 36px); overflow:auto; }
.league-chatter-dialog header { position:sticky; z-index:2; top:0; display:flex; align-items:flex-start; justify-content:space-between; gap:20px; padding:18px 20px; border-bottom:1px solid var(--line); background:var(--surface); }
.league-chatter-dialog h2 { margin:3px 0 0; font-size:18px; line-height:1.2; }
.league-chatter-root { padding:20px; background:var(--surface-soft); }
.league-chatter-root>p { margin:0; font-size:15px; line-height:1.55; white-space:pre-wrap; }
.league-chatter-dialog footer { display:flex; gap:8px; margin-top:12px; color:var(--muted); font-size:10px; }
.league-chatter-dialog footer strong { color:var(--ink); }
.league-chatter-replies { padding:16px 20px; }
.league-chatter-replies h3 { margin:0 0 8px; font-size:13px; }
.league-chatter-replies article { padding:12px 0; border-bottom:1px solid var(--line); }
.league-chatter-replies article:last-of-type { border-bottom:0; }
.league-chatter-replies article>p { margin:0; line-height:1.5; white-space:pre-wrap; }
.league-chatter-reply-form { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px; align-items:end; padding:16px 20px 20px; border-top:1px solid var(--line); background:var(--surface-soft); }
.league-chatter-reply-form label { display:grid; gap:6px; color:var(--muted); font-size:10px; font-weight:850; text-transform:uppercase; }
.league-chatter-reply-form textarea { min-height:76px; resize:vertical; text-transform:none; }
body[data-surface="home"] .league-chatter-dialog { background:var(--league-panel); }
body[data-surface="home"] .league-chatter-root,body[data-surface="home"] .league-chatter-replies article { margin:10px 20px; padding:14px; color:var(--conversation-text); border:1px solid var(--conversation-border); border-radius:var(--radius-md); background:var(--conversation-surface); }
body[data-surface="home"] .league-chatter-root footer,body[data-surface="home"] .league-chatter-replies article footer { color:var(--conversation-muted); }
body[data-surface="home"] .league-chatter-root footer strong,body[data-surface="home"] .league-chatter-replies article footer strong { color:var(--conversation-text); }

@media (max-width:1180px) {
  .league-command-top { grid-template-columns:1fr 1.4fr; }
  .league-command-top>.league-tonight { grid-column:1/-1; }
  .league-command-content { grid-template-columns:minmax(0,1.75fr) minmax(280px,.8fr); }
  .league-command-split { grid-template-columns:1fr; }
}
@media (max-width:820px) {
  .league-command-hero { grid-template-columns:1fr; }
  .league-command-hero-art { display:none; }
  .league-command-hero>aside { position:absolute; right:22px; top:30px; }
  .league-command-top,.league-command-split,.league-command-content { grid-template-columns:1fr; }
  .league-command-top>.league-tonight { grid-column:auto; }
  .league-standings-panel,.league-player-status-panel,.league-news-panel,.league-command-split,.league-deadlines-panel,.league-chatter { grid-column:1; grid-row:auto; }
  .league-division-standings { grid-template-columns:1fr; }
  .league-division+.league-division { border-top:1px solid var(--line); border-left:0; }
  .league-team-metrics { grid-template-columns:repeat(2,1fr); }
  .league-command-team .home-roster-strip { grid-template-columns:repeat(5,96px); }
  .league-chatter-preview { grid-template-columns:1fr 1fr; }
  .league-chatter-actions { align-items:flex-end; flex-direction:column; gap:6px; }
}
@media (max-width:520px) {
  .league-chatter-preview { grid-template-columns:1fr; }
  .league-chatter-reply-form { grid-template-columns:1fr; }
}

.landing-trending-credit { padding:0 12px 12px; color:#aebdca; font-size:10px; overflow-wrap:anywhere; }
.landing-trending-credit summary { cursor:pointer; width:fit-content; }
.landing-trending-credit small { display:block; padding-top:6px; line-height:1.5; }
.landing-trending-credit a { color:#83dfcc; }
.landing-trending-credit span { display:block; }
.landing-trending-credit summary:focus-visible,.landing-trending-credit a:focus-visible { outline:2px solid #65e8cc; outline-offset:3px; }

/* Shared promotional hero strip; editorial article heroes are untouched. */
.hero-auto-collapse { transition:height 180ms ease,min-height 180ms ease,max-height 180ms ease; }
.hero-collapse-toggle { position:absolute; z-index:8; top:8px; right:12px; min-height:44px; padding:8px 14px; border:1px solid #8dabbf; border-radius:8px; background:#071a29; color:#fff; cursor:pointer; font:inherit; font-size:12px; }
.hero-collapse-toggle:focus-visible { outline:3px solid #35dfbd; outline-offset:3px; }
.hero-auto-collapse.hero-is-collapsed { height:76px; min-height:76px; max-height:76px; }
.hero-compact-brand { position:absolute; left:24px; top:26px; color:white; font-size:18px; }
.hero-auto-collapse [hidden] { display:none !important; }
.sport-template-hero.hero-is-collapsed { display:block; height:auto; min-height:120px; max-height:none; padding:18px 24px; }
.sport-template-hero.hero-is-collapsed .sport-template-hero-copy { max-width:none; }
.sport-template-hero.hero-is-collapsed .sport-template-hero-copy h1 { font-size:26px; line-height:1.1; margin:0; padding-right:150px; letter-spacing:-.03em; }
.sport-template-hero.hero-is-collapsed .sport-template-hero-copy .eyebrow { margin:0 150px 4px 0; font-size:10px; }
.sport-template-hero.hero-is-collapsed .sport-competition-filters { margin-top:12px; flex-wrap:wrap; }
@media(max-width:420px) {
 .hero-collapse-toggle { right:8px; padding:8px; font-size:11px; }
 .hero-compact-brand { left:16px; font-size:16px; }
 .sport-template-hero.hero-is-collapsed { padding:18px 16px; }
 .sport-template-hero.hero-is-collapsed .sport-template-hero-copy h1 { font-size:23px; padding-right:122px; }
}
@media(prefers-reduced-motion:reduce) { .hero-auto-collapse { transition:none; } }

.landing-carousel.hero-is-collapsed > :not(.hero-collapse-toggle):not(.hero-compact-brand) { display:none !important; }

/* UAT-029: one shared column grid; existing card styling remains authoritative. */
.league-command-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; align-items:stretch; }
.league-command-grid>.card { min-width:0; }
.league-command-grid>.league-command-center { grid-column:1; grid-row:1; }
.league-command-grid>.league-tonight { grid-column:2/4; grid-row:1; }
.league-command-grid>.league-standings-panel { grid-column:1/3; grid-row:2; }
.league-command-grid>.league-matchups-panel { grid-column:3; grid-row:2; }
.league-command-grid>.league-news-panel { grid-column:1/3; grid-row:3; }
.league-command-grid>.league-player-status-panel { grid-column:3; grid-row:3; }
.league-command-grid>.league-deadlines-panel { grid-column:1/3; grid-row:4; }
.league-command-grid>.league-activity-panel { grid-column:3; grid-row:4; }
.league-command-grid>.league-chatter { grid-column:1/4; grid-row:5; }
.league-command-grid .home-standings-table { font-size:10px; }
.league-command-grid .home-standings-table th,.league-command-grid .home-standings-table td { padding:8px 10px; }
.league-command-grid .home-standings-table .transaction-team-logo { width:22px; height:22px; }
.league-command-grid .standings-team { gap:8px; }
.league-command-grid .standings-team strong { white-space:nowrap; }
.league-command-grid .matchup-card-header { flex-wrap:wrap; gap:8px; }
.league-tonight-games { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
.league-tonight-game { min-width:0; padding:12px; border-bottom:1px solid var(--line); }
.league-tonight-game header { display:flex; flex-wrap:wrap; gap:6px 12px; align-items:center; }
.league-tonight-game header strong { width:100%; font-size:12px; }
.league-tonight-game header time { font-size:11px; font-weight:800; }
.league-tonight-game header small { color:var(--muted); font-size:9px; }
.league-tonight-game ul { display:grid; gap:8px; padding:0; margin:10px 0 0; list-style:none; }
.league-tonight-game li { display:flex; align-items:center; gap:8px; min-width:0; }
.league-tonight-game li>a { color:var(--ink); font-size:11px; font-weight:800; overflow-wrap:anywhere; }
.league-tonight-player-image { flex:0 0 44px; width:44px; }
.league-tonight-player-image img,.league-tonight-player-image svg { display:block; width:44px; height:44px; object-fit:cover; object-position:center 25%; border-radius:8px; }
.league-tonight-player-image details { width:140px; font-size:9px; }
.league-tonight-note { margin:0; padding:10px 12px; color:var(--muted); font-size:10px; }
@media (max-width:1000px) {
 .league-command-grid { grid-template-columns:minmax(0,1fr); }
 .league-command-grid>.card { grid-column:1; grid-row:auto; }
}
@media (max-width:520px) { .league-tonight-games { grid-template-columns:minmax(0,1fr); } }

.league-tonight-player-image:has(img)>.league-tonight-image-fallback { display:none; }

.quick-hit-media { margin: 1rem 0; text-align: center; }
.quick-hit-media img { display: block; width: 100%; max-height: 320px; object-fit: contain; border-radius: 8px; }
.quick-hit-media figcaption { margin-top: .5rem; font-size: .75rem; line-height: 1.5; text-align: left; }
.quick-hit-media figcaption span { display: block; }

/* Licensed lead photography keeps the whole subject outside the copy column. */
.landing-news-lead.licensed-feature-lead .landing-news-lead-art { left:0; width:100%; aspect-ratio:16 / 9; }
.landing-news-lead.licensed-feature-lead .landing-news-lead-copy { margin-left:0; text-align:left; }
.landing-news-lead.licensed-feature-lead .landing-news-image { object-fit:contain; object-position:center; }
.landing-news-lead.licensed-feature-lead .landing-news-lead-art::after { display:none; }
@media (max-width:760px) {
  .landing-news-lead.licensed-feature-lead .landing-news-lead-art { position:relative; display:block; left:0; width:100%; height:auto; aspect-ratio:16 / 9; }
  .landing-news-lead.licensed-feature-lead .landing-news-lead-copy { min-height:0; }
}

/* Finished-art upload controls must fit inside both review cards and mobile desks. */
.editorial-art-upload.form-grid { grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; }
.editorial-art-upload > * { min-width:0; max-width:100%; }
.editorial-art-upload > label:first-child,
.editorial-art-upload > .editorial-focal-fields,
.editorial-art-upload > p { grid-column:1 / -1; }
.editorial-art-upload .input { min-width:0; width:100%; max-width:100%; }
.editorial-art-upload small,
.editorial-art-upload > p { overflow-wrap:anywhere; }
.editorial-art-upload > .editorial-focal-fields { grid-template-columns:repeat(3,minmax(0,1fr)); }
.editorial-art-upload .button { white-space:normal; }
@media (max-width:720px) {
  .editorial-art-upload.form-grid { grid-template-columns:minmax(0,1fr); }
}

/* Player fallback is a square portrait; unrelated circular team marks retain their styling. */
.player-hero-mark.player-portrait-fallback { border:0; border-radius:6px; background:transparent; }
.player-portrait-fallback svg { display:block; width:100%; height:100%; }

/* Real player cutouts keep their own full-frame geometry, never the small fallback bust geometry. */
.landing-trending-art img[data-sidebar-player-photo] { object-fit:contain; object-position:center bottom; }

[data-league-rules-root] .league-rules-search{padding:20px;margin-bottom:18px;min-width:0}
[data-league-rules-root] .league-rules-search form>label{font-size:18px;font-weight:750;color:var(--ink)}
[data-league-rules-root] .league-rules-search p{color:var(--muted);font-size:14px;line-height:1.5}
[data-league-rules-root] .league-rules-search-controls{display:flex;gap:10px;min-width:0}
[data-league-rules-root] .league-rules-search input{flex:1;min-width:0;min-height:44px;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink);font:inherit}
[data-league-rules-root] .league-rules-search button{min-height:44px;padding:10px 14px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink);font:inherit;cursor:pointer}
[data-league-rules-root] .league-rules-search button:disabled{opacity:.55;cursor:default}
[data-league-rules-root] .league-rules-search :is(input,button):focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px}
[data-league-rules-root] .league-rules-search ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
[data-league-rules-root] .league-rules-search ul[hidden]{display:none}
[data-league-rules-root] .league-rules-search li button{display:grid;gap:6px;width:100%;text-align:left;overflow-wrap:anywhere}
[data-league-rules-root] .league-rules-search li button span{color:var(--muted);font-size:13px;line-height:1.5}
[data-league-rules-root] .league-rules-search-selected{outline:2px solid var(--focus-ring);outline-offset:3px}

/* League accents belong only to the shared header, including its responsive menu. */
[data-processed-media-intake] .form-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
[data-processed-media-intake] :is(label,input,select) { min-width:0; max-width:100%; }
[data-processed-media-intake] [data-processed-expiry], .processed-media-actions { grid-column:1/-1; }
.processed-media-actions, .processed-media-previews { display:flex; flex-wrap:wrap; gap:10px; }
[data-processed-receipt] { overflow-wrap:anywhere; }
.processed-media-previews figure { margin:0; max-width:180px; }
.processed-media-previews img { display:block; max-width:100%; max-height:240px; object-fit:contain; background:#f4f7fb; border:1px solid var(--line); }
@media (max-width:620px) { [data-processed-media-intake] .form-grid { grid-template-columns:minmax(0,1fr); } }
[data-league-intelligence-view] { min-width:0; margin-block:18px; }
[data-league-intelligence-view] .league-intelligence-grid>*, [data-league-intelligence-view] .intelligence-map { min-width:0; }
@media (max-width:1180px) { [data-league-intelligence-view] .league-intelligence-grid { grid-template-columns:minmax(0,1fr); } }
.league-reference-body { padding:24px; min-width:0; }
.league-reference-dialog .page-heading { padding-right:32px; }
.league-reference-dialog .table-wrap { max-width:100%; overflow:auto; }
@media (max-width:620px) { .league-reference-body { padding:18px 12px; } }
:is(#league-context .landing-header-nav, #primary-nav .responsive-sport-navigation) :is([data-sport-nav], [data-moorphies-link]) {
  position:relative; display:inline-block; width:fit-content; padding-block:8px;
  color:#e5f4ff; font-size:15px; font-weight:900; line-height:1.4; text-decoration:none;
}
:is(#league-context .landing-header-nav, #primary-nav .responsive-sport-navigation) [data-sport-nav="NBA"] { --league-underline:linear-gradient(90deg,#ff3158 0 50%,#2677ff 50% 100%); }
:is(#league-context .landing-header-nav, #primary-nav .responsive-sport-navigation) :is([data-sport-nav="NFL"], [data-sport-nav="MLB"]) { --league-underline:linear-gradient(90deg,#2677ff 0 50%,#ff3158 50% 100%); }
:is(#league-context .landing-header-nav, #primary-nav .responsive-sport-navigation) [data-sport-nav="WNBA"] { --league-underline:linear-gradient(#ff7a22,#ff7a22); }
:is(#league-context .landing-header-nav, #primary-nav .responsive-sport-navigation) [data-sport-nav="NHL"] { --league-underline:linear-gradient(#bcc4cf,#bcc4cf); color:#bcc4cf; cursor:pointer; }
:is(#league-context .landing-header-nav, #primary-nav .responsive-sport-navigation) :is([data-sport-nav], [data-moorphies-link])::after {
  content:""; position:absolute; inset:auto 0 1px; height:2px; border-radius:2px;
  background:var(--league-underline); pointer-events:none;
}
:is(#league-context .landing-header-nav, #primary-nav .responsive-sport-navigation) [data-moorphies-link] {
  --league-underline:linear-gradient(90deg,#bd913d,#ffe6a3 50%,#bd913d);
  color:#fff;
}
:is(#league-context .landing-header-nav, #primary-nav .responsive-sport-navigation) [data-moorphies-link]:is(:hover,:focus-visible) { color:#f4d58e; }
:is(#league-context .landing-header-nav, #primary-nav .responsive-sport-navigation) [data-moorphies-link]::after { box-shadow:0 1px 7px #e9bd6266; }
:is(#league-context .landing-header-nav, #primary-nav .responsive-sport-navigation) [data-moorphies-link]::before {
  content:""; position:absolute; inset:auto 0 0; height:4px; pointer-events:none; opacity:0;
  background:linear-gradient(100deg,transparent 35%,#fff4cf 50%,transparent 65%) 100% 0 / 300% 100%;
}
:is(#league-context .landing-header-nav, #primary-nav .responsive-sport-navigation) [data-moorphies-link]:is(:hover,:focus-visible)::before { animation:header-moorphies-shine 850ms ease-out 1; }
:is(#league-context .landing-header-nav, #primary-nav .responsive-sport-navigation) a:focus-visible { outline:2px solid #8ce9ff; outline-offset:4px; border-radius:2px; }
/* The existing league menu uses a white surface, unlike the dark top bar. */
#primary-nav .responsive-sport-navigation :is([data-sport-nav], [data-moorphies-link], [data-fantasy-teams-link]) { color:#111b36; }
#primary-nav .responsive-sport-navigation [data-sport-nav="NHL"] { color:#63708a; }
#primary-nav .responsive-sport-navigation [data-moorphies-link]:is(:hover,:focus-visible) { color:#805b13; }
#primary-nav .responsive-sport-navigation a:focus-visible { outline-color:#174ea6; }
@keyframes header-moorphies-shine { 0% { background-position:100% 0; opacity:0; } 25% { opacity:1; } 100% { background-position:0 0; opacity:0; } }
@media (prefers-reduced-motion:reduce) {
  :is(#league-context .landing-header-nav, #primary-nav .responsive-sport-navigation) [data-moorphies-link]:is(:hover,:focus-visible)::before { animation:none; }
}

.admin-content-browser{padding:20px;min-width:0}
.admin-content-browser h2{margin-top:0;font-size:21px}
.admin-content-browser p{color:var(--muted);line-height:1.5;font-size:14px}
.admin-content-browser form>label{display:block;margin-bottom:8px;font-weight:700}
.admin-content-browser-controls{display:flex;align-items:end;flex-wrap:wrap;gap:10px;min-width:0}
.admin-content-browser-controls>input{flex:1;min-width:min(100%,180px)}
.admin-content-browser-controls label{display:grid;gap:5px;font-size:13px}
.admin-content-browser :is(input,select,button){font:inherit;min-height:44px;border:1px solid var(--line);border-radius:8px;padding:10px;color:var(--ink);background:var(--paper);max-width:100%;box-sizing:border-box}
.admin-content-browser button{cursor:pointer}
.admin-content-browser :is(input,select,button):focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px}
.admin-content-browser ul{list-style:none;padding:0;margin:0;display:grid;gap:8px}
.admin-content-browser li button{width:100%;display:grid;gap:6px;text-align:left;overflow-wrap:anywhere}
.admin-content-browser li :is(span,code){font-size:12px;color:var(--muted);white-space:normal;overflow-wrap:anywhere}
.admin-content-browser-selected{outline:2px solid var(--focus-ring);outline-offset:3px;scroll-margin-top:160px}
/* Game-specific official NBA notice; source credit stays within player profiles. */
.official-injury-notice {margin:16px 0;padding:16px 18px;border:1px solid #829bb1;border-left:4px solid #e94394;border-radius:10px;background:#eef5fb;color:#123047;}
.official-injury-notice p {margin:6px 0;font-size:.9rem;}
.official-injury-notice a {color:#006879;text-decoration:underline;}

/* Keep attribution available on demand through the native disclosure. */
summary.photo-credit-toggle {
  display: grid;
  place-items: center;
  min-inline-size: 24px;
  min-block-size: 24px;
  list-style: none;
  cursor: pointer;
}
summary.photo-credit-toggle::-webkit-details-marker { display: none; }
summary.photo-credit-toggle::before { content: "ⓘ" / ""; font-size: 16px; line-height: 1; }
summary.photo-credit-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

/* Moorph account access */
.firebase-social{display:grid;gap:12px;margin:20px 0}
.firebase-social .button{width:100%;justify-content:center;min-height:46px}
.auth-divider{display:flex;align-items:center;gap:12px;margin:22px 0;color:var(--muted,#8795aa);font-size:.85rem}
.auth-divider:before,.auth-divider:after{content:"";height:1px;background:currentColor;opacity:.25;flex:1}
.auth-links{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:20px}
.auth-remember{display:flex!important;align-items:center;gap:10px;font-weight:400!important}
.auth-remember input{width:auto!important}
.moorph-auth .auth-card{width:min(100%,460px)}
.moorph-account-dialog{width:min(94vw,540px);max-height:90dvh;padding:0;border:1px solid #394253;border-radius:16px;background:var(--paper,#fff);color:var(--ink,#111b36)}
.moorph-account-dialog::backdrop{background:rgba(0,0,0,.65)}
.moorph-account-dialog .auth-card{width:100%;box-sizing:border-box;border:0;box-shadow:none}
.moorph-account-dialog form{margin:18px 0}.moorph-account-dialog h2{margin-top:24px}
.moorph-account-dialog .account-close{float:right}.moorph-account-dialog details{margin:20px 0}

.moorph-auth .auth-card,.moorph-account-dialog{--ink:#111b36;--muted:#63708a;--line:#dce2eb;--blue:#1d5dd7;--surface:#fff;--surface-soft:#f5f7fb;--paper:#fff;--accent-strong:#1d5dd7;--accent-soft:#edf3ff;color:var(--ink);color-scheme:light}
.moorph-auth .link-button,.moorph-account-dialog .link-button{color:var(--blue);min-height:44px}
.moorph-auth .link-button:hover,.moorph-account-dialog .link-button:hover{text-decoration:underline}

/* Dedicated championship authentication surface. Account dialogs retain their own theme. */
body.authentication-mode { background:#021522; }
.authentication-mode .app-shell > :not(#main),
.authentication-mode .moorph-footer { display:none !important; }
.authentication-mode #main { width:100%; max-width:none; padding:0; margin:0; }
.moorph-auth.auth-shell { position:relative; isolation:isolate; min-height:100svh; padding:126px max(5vw,24px) 72px; display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); gap:5vw; align-items:center; background:#021522 url('./assets/brand/auth-championship-v1.webp') left center / cover no-repeat; color:#fff; }
.moorph-auth .auth-brand { position:absolute; left:5vw; top:12px; width:158px; height:112px; overflow:hidden; }
.moorph-auth .auth-brand img { width:158px; height:158px; object-fit:contain; transform:translateY(-23px); mix-blend-mode:screen; }
.auth-championship-copy { justify-self:stretch; align-self:start; padding-top:20px; }
.auth-championship-copy > p { display:flex; align-items:center; gap:20px; margin:0 0 12px; color:#43f4c6; font-size:clamp(14px,1.6vw,23px); font-weight:800; font-style:italic; letter-spacing:.2em; }
.auth-championship-copy > p span { height:2px; flex:1; max-width:210px; background:linear-gradient(90deg,#00e5b1,transparent); }
.auth-championship-copy h2 { font-family:'Barlow Condensed','Arial Narrow','Segoe UI',sans-serif; font-size:clamp(42px,5.9vw,90px); font-weight:800; font-style:italic; letter-spacing:-.025em; line-height:1.02; margin:0; color:white; text-shadow:0 3px 20px #00131e; }
.auth-panel { width:100%; max-width:510px; justify-self:end; }
.moorph-auth .auth-card { width:100%; padding:36px; border:1px solid #e6ebf1; border-radius:22px; background:#fff; box-shadow:0 20px 70px #0005; --blue:#b60078; --accent-strong:#b60078; --focus-ring:#086a56; }
.moorph-auth .auth-card h1 { font-size:clamp(27px,3vw,42px); line-height:1.1; letter-spacing:-.035em; margin:0 0 10px; }
.moorph-auth .auth-card .subtle { font-size:16px; line-height:1.5; color:#515a6b; margin:0 0 24px; }
.moorph-auth .firebase-social { margin:24px 0; }
.moorph-auth .button { min-height:48px; width:100%; justify-content:center; border-radius:9px; background:#00e5aa; color:#052522; border:1px solid transparent; font-size:17px; font-weight:800; box-shadow:none; }
.moorph-auth .button:hover { background:#00cf9a; }
.moorph-auth .button.secondary { background:white; color:#121b2c; border:1px solid #b8bec9; display:flex; gap:12px; }
.moorph-auth .button.secondary:hover { background:#f3f6f8; }
.moorph-auth .auth-divider { color:#515a6b; margin:0 0 24px; }
.moorph-auth .auth-card label { font-size:14px; font-weight:700; color:#182233; gap:8px; }
.moorph-auth .stack { gap:18px; }
.moorph-auth .input { min-height:46px; border:1px solid #bbc3d0; background:white; color:#111b36; border-radius:8px; font-size:16px; padding:10px 12px; }
.auth-password { position:relative; }
.auth-password .input { width:100%; padding-right:48px; }
.auth-password-toggle { position:absolute; right:1px; top:1px; height:44px; width:44px; background:transparent; color:#515a6b; border:0; border-radius:7px; cursor:pointer; display:grid; place-items:center; }
.auth-options { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; }
.moorph-auth .auth-remember { font-size:12px !important; font-weight:400 !important; gap:8px !important; }
.moorph-auth .auth-remember input { width:18px !important; height:18px; accent-color:#08785d; }
.moorph-auth .link-button { color:#b60078; font-size:13px; font-weight:750; text-decoration:none; padding:4px 0; }
.moorph-auth .link-button:hover { text-decoration:underline; }
.moorph-auth .auth-links { justify-content:center; align-items:center; gap:6px; font-size:14px; margin-top:18px; }
.moorph-auth #firebase-message { font-size:14px; line-height:1.5; margin:16px 0 0; }
.moorph-auth #firebase-message:empty { display:none; }
.auth-legal { display:flex; justify-content:center; gap:20px; margin-top:26px; font-size:13px; color:#d9e2e9; }
.auth-legal a { color:#fff; padding:10px 2px; }
.moorph-auth :is(button,a,input):focus-visible { outline:3px solid #167fbd; outline-offset:3px; }
@media(min-width:1600px) { .moorph-auth.auth-shell { padding-left:calc((100vw - 1440px)/2); padding-right:calc((100vw - 1440px)/2); } }
@media(max-width:900px) {
 .moorph-auth.auth-shell { padding:110px 24px 34px; gap:32px; grid-template-columns:1fr; background-position:left top; background-size:auto 620px; background-color:#021522; }
 .auth-championship-copy { padding:0 0 280px; }
 .auth-championship-copy h2 { font-size:48px; }
 .auth-championship-copy > p { font-size:13px; }
 .auth-panel { max-width:510px; justify-self:center; }
 .moorph-auth .auth-brand { left:24px; }
 .moorph-auth .auth-card { padding:28px; }
}
@media(max-width:420px) {
 .moorph-auth.auth-shell { padding:100px 16px 24px; gap:20px; background-position:left 30px; background-size:180% auto; }
 .auth-championship-copy { padding-bottom:230px; }
 .auth-championship-copy h2 { font-size:40px; }
 .moorph-auth .auth-card { padding:25px 20px; border-radius:18px; }
 .moorph-auth .auth-brand { left:16px; }
 .moorph-auth .auth-card h1 { font-size:30px; }
}

@media(max-width:900px) { .moorph-auth .auth-brand { width:114px;height:80px;top:8px; } .moorph-auth .auth-brand img { width:114px;height:114px;transform:translateY(-16px); } }

.landing-quick-hit .quick-hit-photo-credit{font-size:11px;line-height:1.4;margin:8px 0 18px;color:#536b7f}
.landing-quick-hit .quick-hit-photo-credit a{color:#226b91}
.quick-hit-fantasy-impact{margin-top:20px;padding:16px 18px;border-left:3px solid #0b9eb0;border-radius:0 8px 8px 0;background:#e7f4f7}
.quick-hit-fantasy-impact h4{margin:0 0 8px;font-size:16px;color:#103b50}
.quick-hit-fantasy-impact p{margin:0}

/* Shared editorial identity and publication metadata. */
.editorial-card-footer{display:flex;align-items:center;gap:10px;margin-top:auto;padding-top:12px;color:inherit;font-size:12px;min-width:0;text-align:left}
.editorial-card-avatar{position:relative;display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;overflow:hidden;border-radius:50%;background:var(--surface-muted);color:var(--ink);font-weight:700}
.editorial-card-avatar img{position:absolute;inset:0;width:32px;height:32px;pointer-events:none;object-fit:cover;object-position:53% 55%}
.editorial-card-author{min-width:0;line-height:1.5}.editorial-card-author strong{display:block;font-size:12px;overflow-wrap:anywhere}.editorial-card-metadata{font-size:11px;overflow-wrap:anywhere}
.home-suite-image{display:block;width:100%;height:auto;border-radius:var(--radius,12px)}
.home-intelligence-header:has(.home-suite-image){display:flex;flex-wrap:wrap}.home-intelligence-header .home-suite-image{flex:0 0 100%}.home-intelligence-header [hidden]{display:none}
.home-story-copy,.home-story-support article>div,.sport-feature-photo-copy,.sport-story-copy{display:flex;flex-direction:column}

[data-author-id="moorphx-research"] .editorial-card-avatar img{object-fit:contain;background:#071522}

.editorial-card-footer-compact{gap:8px;font-size:11px}.editorial-card-footer-compact .editorial-card-author{display:flex;align-items:center;flex-wrap:wrap;column-gap:10px;row-gap:2px}.editorial-card-footer-compact .editorial-card-author strong{font-size:11px;font-weight:700}.editorial-card-by{font-weight:400}.editorial-card-footer-compact .editorial-card-metadata{font-size:11px}.editorial-card-footer-compact .editorial-card-metadata time{display:block;font-size:10px;opacity:.8}.editorial-card-footer-compact .editorial-card-metadata>span{display:block}

[data-author-id="moorphx-research"] .editorial-card-avatar{color:#29dafa;background:#062936;border:1px solid #24859d}
