:root {
  --paper: #f6f1e6;
  --card: #fffcf5;
  --card-dim: #f3ecdb;
  --line: #e2d8c0;
  --ink: #191510;
  --ink-2: #4a4336;
  --ink-3: #2b2620;
  --muted: #8d8065;
  --sand: #c9b998;
  --sand-2: #efe7d4;
  --sand-3: #e9dfc9;
  --orange: #ff6b35;
  --orange-2: #e0501f;
  --orange-3: #b53e14;
  --peach: #ffb08a;
  --peach-2: #ffd9c4;
  /* the cooler half of the palette: blues, greens, plums, darker pastels */
  --navy: #22344f;
  --navy-2: #2f5d8a;
  --sky: #cfdcea;
  --teal: #1f7a8c;
  --teal-2: #cde6ea;
  --moss: #3f7d55;
  --mint: #d3e9d8;
  --plum: #6b4c7a;
  --lilac: #e3d9ee;
  --slate: #5b7f9e;
  --blue: #3e5f8a;
  --blue-2: #cfd6e2;
  --green: #2f8f4e;
  --green-2: #7fd692;
  --red: #ff3b3b;
  --anton: 'Anton', Impact, sans-serif;
  --cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); -webkit-text-size-adjust: 100%; }
a { color: var(--navy-2); }
::selection { background: var(--orange); color: #fff; }
button { font-family: inherit; }
img { display: block; }

.app { min-height: 100vh; display: flex; flex-direction: column; }

/* ---------------------------------------------------------------- masthead
   Two pinned rows: nav + next lock on top, the week strip always beneath it.
   The league emblem spans both rows. */
.masthead { background: var(--ink); color: var(--paper); padding: 12px 32px 12px; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 30px; row-gap: 8px; align-items: center; flex: none; }
.brand { grid-row: 1 / span 2; display: flex; align-items: center; gap: 16px; color: inherit; text-decoration: none; }
.brand-mark { width: 108px; height: 108px; display: flex; align-items: center; justify-content: center; flex: none; filter: drop-shadow(0 2px 4px rgba(0,0,0,.55)); }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-title { font-family: var(--anton); font-size: 22px; letter-spacing: .5px; }
.brand-sub { font-family: var(--cond); font-weight: 600; font-size: 12px; letter-spacing: 2.5px; color: var(--sand); margin-top: 4px; }
.mast-row { display: flex; align-items: center; gap: 16px 22px; flex-wrap: wrap; min-width: 0; }
.mast-row.weeks-row { align-self: start; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab { font-family: var(--cond); font-weight: 700; font-size: 17px; letter-spacing: 1.5px; padding: 9px 20px; border-radius: 6px; border: 1px solid var(--ink-2); background: transparent; color: var(--sand); cursor: pointer; transition: border-color .12s, color .12s; }
.tab:hover { border-color: var(--orange); color: var(--peach); }
.tab.on { background: var(--orange); color: #1d0d04; border-color: var(--orange); }
.tab .caret { font-size: 12px; margin-left: 6px; opacity: .8; }
.tab-menu { position: relative; }
.menu { position: absolute; top: calc(100% + 8px); left: 0; z-index: 40; min-width: 300px; background: var(--ink-3); border: 1px solid var(--ink-2); border-radius: 10px; padding: 8px; display: none; box-shadow: 0 24px 50px -16px rgba(0,0,0,.7); }
.tab-menu.open .menu { display: block; }
.menu .mi { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 7px; cursor: pointer; color: var(--paper); text-decoration: none; }
.menu .mi:hover { background: #3a332a; }
.menu .mi.on { background: var(--tc, var(--orange)); color: #fff; }
.menu .mi img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: #fff; flex: none; }
.menu .mi .chip { width: 10px; height: 26px; border-radius: 3px; background: var(--tc); flex: none; }
.menu .mi .t { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.menu .mi .t b { font-family: var(--anton); font-weight: 400; font-size: 15px; letter-spacing: .4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menu .mi .t span { font-family: var(--cond); font-weight: 600; font-size: 12px; letter-spacing: 1.5px; color: var(--sand); }
.menu .mi.on .t span { color: rgba(255,255,255,.85); }
.menu .mi .you { margin-left: auto; font-family: var(--cond); font-weight: 700; font-size: 11px; letter-spacing: 1.5px; color: var(--peach); }
.spacer { flex: 1; }
.nextlock { font-family: var(--cond); font-weight: 700; font-size: 13px; letter-spacing: 1.5px; color: var(--peach); display: flex; align-items: center; gap: 8px; }
.nextlock .lbl { color: var(--muted); letter-spacing: 2px; }
.nextlock .when { background: var(--navy); padding: 4px 9px; border-radius: 4px; color: var(--paper); }
.weeks { display: flex; align-items: center; gap: 5px; overflow-x: auto; max-width: 100%; }
.weeks-label { font-family: var(--cond); font-weight: 600; font-size: 13px; letter-spacing: 2px; color: var(--muted); margin-right: 4px; }
.weeks-list { display: flex; gap: 5px; }
.wk { font-family: var(--cond); font-weight: 700; font-size: 14px; width: 34px; height: 30px; border-radius: 5px; border: 1px solid var(--ink-2); background: transparent; color: var(--sand); cursor: pointer; flex: none; }
.wk:hover { border-color: var(--orange); }
.wk.past { background: var(--ink-3); color: var(--muted); }
.wk.on { background: var(--orange); color: #1d0d04; border-color: var(--orange); }

/* ------------------------------------------------------------------ ticker */
.ticker { background: var(--navy); color: var(--paper); overflow: hidden; height: 38px; display: flex; align-items: center; flex: none; border-bottom: 3px solid var(--ink); }
.ticker-tag { flex: none; background: var(--ink); color: var(--sky); height: 100%; display: flex; align-items: center; gap: 8px; padding: 0 18px; z-index: 2; font-family: var(--anton); font-size: 15px; letter-spacing: 1.5px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); animation: livepulse 1.4s infinite; display: none; }
.live .live-dot { display: inline-block; }
.ticker-track { display: flex; width: max-content; animation: tickmove 40s linear infinite; white-space: nowrap; }
.ticker-track:hover { animation-play-state: paused; }
.tk { display: flex; align-items: center; gap: 10px; padding: 0; font-family: var(--cond); font-weight: 600; font-size: 16.5px; letter-spacing: .8px; }
.tk b { font-family: var(--anton); font-weight: 400; font-size: 16px; color: var(--peach); }
.tk .dash { opacity: .55; }
.tksep { opacity: .45; margin: 0 24px; font-size: 12px; color: var(--sky); align-self: center; }
@keyframes tickmove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes livepulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------------------------------------------------------- team links
   Every mention of a league team: condensed caps, that team's accent as an
   underline, linked to the team's page. */
.tmlink { font-family: var(--cond); font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--ink); text-decoration: none; border-bottom: 2.5px solid var(--tc, var(--orange)); padding-bottom: 0; white-space: nowrap; transition: color .12s, background .12s; }
.tmlink:hover { color: var(--tc, var(--orange)); }
.on-dark .tmlink, .tmlink.light { color: var(--paper); }
.on-dark .tmlink:hover, .tmlink.light:hover { color: #fff; background: rgba(255,255,255,.08); }
p .tmlink, .q .tmlink, .tx .tmlink { font-size: .95em; }

/* -------------------------------------------------------------------- page */
.page { flex: 1; width: 100%; max-width: 1720px; margin: 0 auto; padding: 30px 32px 60px; display: flex; flex-wrap: wrap; gap: 30px; align-items: flex-start; }
.main { flex: 1 1 560px; min-width: 0; }
.aside { position: sticky; top: 20px; flex: 1 1 300px; max-width: 420px; display: flex; flex-direction: column; gap: 18px; }
.page.wide .aside { display: none; }
.page.wide .main { flex-basis: 100%; }

h1, h2 { margin: 0; font-family: var(--anton); font-weight: 400; letter-spacing: .5px; }
.sec-head { display: flex; align-items: baseline; gap: 14px; margin: 26px 0 14px; flex-wrap: wrap; }
.sec-head h2 { font-size: 28px; }
.sec-head h2.dim { font-size: 22px; color: var(--muted); }
.sec-sub { font-family: var(--cond); font-weight: 600; font-size: 14px; letter-spacing: 1.5px; color: var(--muted); }
.kicker { font-family: var(--cond); font-weight: 700; font-size: 15px; letter-spacing: 3px; color: var(--orange-2); }
.kicker.navy { color: var(--navy-2); }
.kicker.teal { color: var(--teal); }
.kicker.plum { color: var(--plum); }
.kicker.moss { color: var(--moss); }

/* ----------------------------------------------------------- hero images */
.hero { position: relative; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); background: #fff; box-shadow: 0 18px 40px -20px rgba(25,21,16,.35); }
.hero .bg { position: absolute; inset: 0; background: linear-gradient(160deg, var(--c1, #3a332a) 0%, var(--c2, #191510) 100%); }
.hero .bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 110%, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 60%); }
.hero .logo { position: absolute; right: -8%; top: -6%; width: 62%; opacity: .16; filter: grayscale(1) brightness(3); pointer-events: none; }
.hero .shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero .shot.headshot { object-fit: cover; object-position: center 12%; filter: drop-shadow(0 22px 26px rgba(0,0,0,.45)); }
.hero .shot.dst { object-fit: contain; padding: 14%; }
.hero.tower .shot.headshot { object-position: center 0; }
.hero.tower .logo { display: none; }
.hero.tower::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0)); pointer-events: none; }
.hero.dropping { outline: 3px dashed var(--orange); outline-offset: -6px; }
.hero .tag { position: absolute; top: 14px; left: 14px; background: var(--ink); color: var(--orange); font-family: var(--cond); font-weight: 700; font-size: 13px; letter-spacing: 2.5px; padding: 6px 12px; border-radius: 5px; pointer-events: none; }
.hero .tag.cool { color: var(--sky); }
.hero .bar { position: absolute; bottom: 0; left: 0; right: 0; padding: 9px 14px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 10px; pointer-events: none; background: var(--tc, var(--ink)); color: #fff; }
.hero .bar .nm { font-family: var(--anton); font-size: 18px; }
.hero .bar .meta { font-family: var(--cond); font-weight: 700; font-size: 14px; letter-spacing: 1px; }

/* ---------------------------------------------------------- cover story */
.cover { display: flex; flex-wrap: wrap; gap: 34px; margin-bottom: 14px; }
.cover .hero { flex: 1 1 300px; max-width: 430px; height: 470px; }
.cover article { flex: 1.4 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; padding-top: 6px; }
.cover h1 { font-size: clamp(40px, 5.2vw, 76px); line-height: .95; }
.cover p { font-size: 18px; line-height: 1.55; margin: 0; max-width: 56ch; text-wrap: pretty; }
.cover p.pending { color: var(--muted); font-style: italic; }
.cover .facts { display: flex; flex-wrap: wrap; gap: 8px; }
.cover .facts span { font-family: var(--cond); font-weight: 700; font-size: 13px; letter-spacing: 1.2px; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 5px 10px; color: var(--ink-2); }
.cover .facts span b { color: var(--navy-2); margin-right: 4px; }
.byline { display: flex; align-items: center; gap: 10px; margin-top: 2px; flex-wrap: wrap; }
.mark { border-radius: 50%; background: var(--ink-3); overflow: hidden; flex: none; display: flex; align-items: center; justify-content: center; }
.mark img { width: 100%; height: 100%; object-fit: cover; }
.mark.coach { background: var(--ink-3); padding: 4px; }
.mark.coach img { object-fit: contain; }
.byline .mark { width: 34px; height: 34px; }
.byline .by { font-family: var(--cond); font-weight: 700; font-size: 15px; letter-spacing: 1.5px; }
.byline .model { color: var(--muted); font-size: 14px; font-style: italic; }
.byline .regen { margin-left: auto; font-family: var(--cond); font-weight: 700; font-size: 12px; letter-spacing: 1.5px; border: 1px solid var(--sand); background: transparent; color: var(--muted); padding: 5px 10px; border-radius: 5px; cursor: pointer; }
.byline .regen:hover { border-color: var(--ink); color: var(--ink); }

/* ------------------------------------------------------------- deadlines */
.deadlines { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; }
.dl { display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px 6px 8px; font-family: var(--cond); font-weight: 700; font-size: 13px; letter-spacing: 1px; }
.dl .when { background: var(--navy); color: var(--sky); padding: 3px 8px; border-radius: 4px; letter-spacing: 1.5px; }
.dl.passed { opacity: .5; }
.dl.passed .when { background: var(--sand-2); color: var(--muted); }
.dl .who { color: var(--ink-2); }

/* ----------------------------------------------------------------- cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px; }
.grid.bench { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
.pc { background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; cursor: pointer; transition: transform .15s, box-shadow .15s, border-color .15s, opacity .15s; position: relative; }
.pc:hover, .pc.hov { transform: translateY(-5px); box-shadow: 0 16px 28px -14px rgba(25,21,16,.45); border-color: var(--tc, var(--orange)); }
.pc.dropping { outline: 3px dashed var(--orange); outline-offset: -4px; }
.bench .pc { background: var(--card-dim); opacity: .82; }
.bench .pc:hover, .bench .pc.hov { opacity: 1; }
.pc .ph { height: 128px; position: relative; overflow: hidden; background: linear-gradient(160deg, var(--c1, #3a332a), var(--c2, #191510)); }
.bench .pc .ph { height: 104px; }
.pc .ph img.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; padding: 10% 6% 0; filter: drop-shadow(0 10px 12px rgba(0,0,0,.45)); }
/* headshots run ~20% larger and slide left so the player's right shoulder clips
   the frame, leaving the team-color hero background showing on the right. The box
   is shaped to ESPN's landscape headshot ratio so odd square/portrait sources
   (some rookies) scale to the same figure height instead of shrinking. */
.pc .ph img.shot:not(.cover):not(.dst) { width: 124%; height: 86%; inset: auto auto 0 -26%; padding: 0; }
.pc .ph img.shot.cover { object-fit: cover; padding: 0; }
.pc .ph img.tl { position: absolute; right: -14%; top: -10%; width: 70%; opacity: .16; filter: grayscale(1) brightness(3); }
.pc .ph img.dst { object-fit: contain; padding: 14%; filter: drop-shadow(0 10px 12px rgba(0,0,0,.45)); }
.pc .badge, .badge { font-family: var(--cond); font-weight: 700; font-size: 11px; letter-spacing: 1px; padding: 3px 6px; border-radius: 4px; background: var(--red); color: #fff; }
.pc .badge { position: absolute; top: 7px; left: 7px; }
.badge.q { background: #e5a415; color: #1d0d04; }
.badge.bye { background: var(--ink); color: var(--sand); }
.pc .lockchip { position: absolute; top: 7px; right: 7px; font-family: var(--cond); font-weight: 700; font-size: 10.5px; letter-spacing: 1px; padding: 3px 6px; border-radius: 4px; background: rgba(25,21,16,.75); color: var(--peach); }
.pc .lockchip.locked { background: rgba(25,21,16,.75); color: var(--sand); }
.pc .lockchip.live { background: var(--red); color: #fff; }
.pc .info { padding: 8px 9px 9px; display: flex; flex-direction: column; gap: 4px; }
.pc .nm { font-family: var(--anton); font-size: 14.5px; line-height: 1.05; letter-spacing: .3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc .row { display: flex; justify-content: space-between; align-items: center; gap: 6px; min-width: 0; }
.pc .pos { font-family: var(--cond); font-weight: 700; font-size: 12px; letter-spacing: 1px; color: var(--navy-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.bench .pc .pos { color: var(--muted); }
.pc .pts { font-family: var(--anton); font-size: 13px; flex: none; white-space: nowrap; }
.pc .pts.proj { color: var(--muted); font-size: 12px; }
.pc .pts.proj::after { content: "P"; font-family: var(--cond); font-weight: 700; font-size: 9px; letter-spacing: 1px; margin-left: 2px; vertical-align: top; }

/* game-log cards (player profile) */
.pc.game .ph { height: 96px; display: flex; align-items: center; justify-content: center; }
.pc.game .ph img.opp { width: 62%; height: 80%; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(0,0,0,.45)); position: relative; }
.pc.game .res { position: absolute; top: 7px; left: 7px; font-family: var(--cond); font-weight: 700; font-size: 11px; letter-spacing: 1px; padding: 3px 6px; border-radius: 4px; background: rgba(25,21,16,.8); color: var(--paper); }
.pc.game .res.w { color: var(--green-2); }
.pc.game .res.l { color: var(--peach); }
.pc.game .ssn { position: absolute; top: 12px; right: -30px; transform: rotate(38deg); background: var(--navy); color: #fff; font-family: var(--cond); font-weight: 800; font-size: 10.5px; letter-spacing: 2.5px; padding: 3px 34px; box-shadow: 0 2px 8px rgba(0,0,0,.4); pointer-events: none; z-index: 2; }
.pc.game .stat { display: flex; justify-content: space-between; font-family: var(--cond); font-weight: 600; font-size: 12.5px; letter-spacing: .6px; color: var(--ink-2); }
.pc.game .stat b { font-family: var(--anton); font-weight: 400; color: var(--ink); }

/* ------------------------------------------------------------ lower third */
.lt { margin-top: 16px; background: var(--ink); color: var(--paper); border-radius: 12px; display: flex; flex-wrap: wrap; align-items: stretch; overflow: hidden; min-height: 92px; box-shadow: 0 14px 30px -16px rgba(25,21,16,.5); }
.lt .name { flex: 0 1 auto; background: var(--tc, var(--orange)); color: #fff; display: flex; flex-direction: column; justify-content: center; padding: 0 22px; gap: 2px; min-width: 200px; }
.lt .name b { font-family: var(--anton); font-weight: 400; font-size: 26px; letter-spacing: .5px; }
.lt .name span { font-family: var(--cond); font-weight: 700; font-size: 14px; letter-spacing: 1.5px; opacity: .92; }
.lt .body { flex: 1 1 300px; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 12px 24px; font-size: 16px; }
.lt .body .lbl { font-family: var(--cond); font-weight: 700; letter-spacing: 1.5px; font-size: 13px; color: var(--sky); margin-right: 8px; }
.lt .body .coach { font-style: italic; color: var(--peach-2); }
.lt.numbers .body { flex-direction: row; flex-wrap: wrap; gap: 6px 26px; justify-content: flex-start; align-content: flex-start; }
.lt.numbers .n { display: flex; flex-direction: column; line-height: 1.1; align-items: center; }
.lt.numbers .n b { font-family: var(--anton); font-weight: 400; font-size: 22px; }
.lt.numbers .n span { font-family: var(--cond); font-weight: 700; font-size: 11.5px; letter-spacing: 1.5px; color: var(--sand); }

/* --------------------------------------------------------------- matchup */
.mu-top { display: flex; flex-wrap: wrap; gap: 22px; align-items: stretch; margin-bottom: 26px; }
.mu-top .hero { flex: 1 1 240px; min-height: 360px; }
.board { flex: 1.3 1 340px; background: var(--navy); color: var(--paper); border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px 22px; box-shadow: 0 22px 48px -20px rgba(25,21,16,.55); text-align: center; }
.board .lbl { font-family: var(--cond); font-weight: 700; font-size: 15px; letter-spacing: 3px; color: var(--sky); }
.board .sides { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: stretch; width: 100%; }
.board .sides .vs { align-self: center; }
.board .side .score { margin-top: auto; }
.board .side { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 10px 16px; border-radius: 12px; background: rgba(0,0,0,.22); border-top: 6px solid var(--tc, var(--orange)); min-width: 0; }
.board .side img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; background: #fff; }
.board .side .tm { font-family: var(--anton); font-size: 19px; letter-spacing: .8px; line-height: 1.1; }
.board .side .tm .tmlink { white-space: normal; font-family: var(--anton); font-weight: 400; letter-spacing: .8px; }
.board .side .rec { font-family: var(--cond); font-weight: 700; font-size: 12.5px; letter-spacing: 1.5px; color: var(--sand); }
.board .side .score { font-family: var(--anton); font-size: clamp(44px, 4.6vw, 72px); line-height: 1; color: var(--tc, var(--peach)); filter: brightness(1.5) saturate(.85); }
.board .side .sub { font-family: var(--cond); font-weight: 600; font-size: 12px; letter-spacing: 1.8px; color: var(--sand); }
.board .vs { font-family: var(--anton); font-size: 20px; color: var(--sand); opacity: .7; }
.board .pace { font-family: var(--cond); font-weight: 600; font-size: 14px; letter-spacing: 1.5px; color: var(--sand); }
.wp { width: 100%; display: flex; flex-direction: column; gap: 7px; }
.wp .row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; font-family: var(--cond); font-weight: 700; font-size: 14px; letter-spacing: 1.5px; align-items: baseline; }
.wp .row .l { text-align: left; } .wp .row .r { text-align: right; }
.wp .row .mid { color: var(--sky); font-size: 12px; letter-spacing: 2.5px; }
.wp .row b { font-family: var(--anton); font-weight: 400; font-size: 22px; }
.wp .track { height: 14px; border-radius: 7px; background: rgba(0,0,0,.3); overflow: hidden; display: flex; }
.wp .track .a { height: 100%; transition: width .6s; }
.wp .track .b { height: 100%; flex: 1; }
.tug { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px 26px; display: flex; flex-direction: column; gap: 11px; }
.tug .r { display: grid; grid-template-columns: minmax(90px, 170px) 1fr 54px 1fr minmax(90px, 170px); gap: 12px; align-items: center; }
.tug .nm { display: flex; flex-direction: column; line-height: 1.15; }
.tug .nm.you { align-items: flex-end; }
.tug .nm b { font-family: var(--anton); font-weight: 400; font-size: 15px; }
.tug .nm span { font-family: var(--cond); font-weight: 700; font-size: 13px; color: var(--muted); }
.tug .track { display: flex; background: var(--sand-2); border-radius: 5px; height: 20px; overflow: hidden; }
.tug .track.you { justify-content: flex-end; }
.tug .track div { height: 100%; transition: width .6s; }
.tug .track.you div { border-radius: 5px 0 0 5px; }
.tug .track.them div { border-radius: 0 5px 5px 0; }
.tug .pos { text-align: center; font-family: var(--cond); font-weight: 700; font-size: 14px; letter-spacing: 1px; background: var(--sand-2); border-radius: 5px; padding: 3px 0; }
.legend { display: flex; justify-content: center; gap: 26px; margin-top: 8px; font-family: var(--cond); font-weight: 700; font-size: 13px; letter-spacing: 1.5px; color: var(--muted); flex-wrap: wrap; }
.legend span { display: flex; align-items: center; gap: 6px; }
.legend i { width: 14px; height: 10px; border-radius: 3px; display: inline-block; }

/* -------------------------------------------------------------- skyline */
.skyline { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; min-height: 420px; }
.tower { flex: 1 1 120px; min-width: 120px; display: flex; flex-direction: column; cursor: pointer; transition: transform .15s; }
.tower:hover { transform: translateY(-6px); }
.tower .crown { text-align: center; font-size: 22px; height: 30px; }
.tower .crown .rankchip { font-family: var(--cond); font-weight: 800; font-size: 13px; letter-spacing: 1px; background: var(--ink); color: var(--paper); border-radius: 4px; padding: 2px 8px; vertical-align: middle; }
.tower .hero { border-radius: 12px 12px 0 0; border-bottom: none; border-width: 2px; box-shadow: 0 16px 34px -18px rgba(25,21,16,.4); }
.tower.sel .hero { border-color: var(--ink); }
.tower .base { color: #fff; border-radius: 0 0 10px 10px; padding: 10px 10px 12px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; border: 2px solid transparent; border-top: none; }
.tower.sel .base { border-color: var(--ink); }
.tower .base img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: #fff; }
.tower .base .nm { font-family: var(--anton); font-size: 14px; letter-spacing: .5px; line-height: 1.1; }
.tower .base .nm a { color: #fff; text-decoration: none; border-bottom: 2px solid rgba(255,255,255,.55); }
.tower .base .nm a:hover { border-color: #fff; }
.tower .base .rec { font-family: var(--cond); font-weight: 700; font-size: 14px; letter-spacing: 1.5px; opacity: .9; }
.tower .star { position: absolute; z-index: 2; bottom: 8px; left: 0; right: 0; text-align: center; font-family: var(--cond); font-weight: 700; font-size: 11px; letter-spacing: 1.5px; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.7); }
.roast { margin-top: 22px; background: var(--ink); color: var(--paper); border-radius: 12px; display: flex; align-items: center; gap: 18px; padding: 16px 24px; box-shadow: 0 14px 30px -16px rgba(25,21,16,.5); }
.roast .mark { width: 46px; height: 46px; }
.roast .t { display: flex; flex-direction: column; gap: 2px; }
.roast .lbl { font-family: var(--cond); font-weight: 700; font-size: 13px; letter-spacing: 2.5px; color: var(--peach); }
.roast .q { font-size: 19px; font-style: italic; line-height: 1.4; }

/* --------------------------------------------------------------- players */
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.search { position: relative; flex: 1 1 280px; max-width: 460px; }
.search input { width: 100%; font-family: var(--cond); font-weight: 600; font-size: 18px; letter-spacing: .5px; padding: 10px 14px 10px 40px; border-radius: 8px; border: 1.5px solid var(--sand); background: var(--card); color: var(--ink); outline: none; }
.search input:focus { border-color: var(--navy-2); box-shadow: 0 0 0 3px var(--sky); }
.search::before { content: "⌕"; position: absolute; left: 13px; top: 50%; transform: translateY(-60%); font-size: 22px; color: var(--muted); pointer-events: none; }
.suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--ink-3); color: var(--paper); border-radius: 10px; z-index: 30; box-shadow: 0 20px 40px -14px rgba(0,0,0,.6); overflow: hidden; display: none; }
.search.open .suggest { display: block; }
.suggest .si { display: flex; align-items: center; gap: 10px; padding: 8px 12px; cursor: pointer; }
.suggest .si:hover, .suggest .si.on { background: var(--navy); }
.suggest .si img { width: 36px; height: 28px; object-fit: contain; object-position: bottom; background: rgba(255,255,255,.08); border-radius: 5px; }
.suggest .si b { font-family: var(--anton); font-weight: 400; font-size: 15px; letter-spacing: .3px; }
.suggest .si span { font-family: var(--cond); font-weight: 600; font-size: 12px; letter-spacing: 1.5px; color: var(--sand); margin-left: auto; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font-family: var(--cond); font-weight: 700; font-size: 13.5px; letter-spacing: 1.5px; padding: 7px 12px; border-radius: 6px; border: 1px solid var(--sand); background: transparent; color: var(--ink-2); cursor: pointer; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.toolbar select { font-family: var(--cond); font-weight: 700; font-size: 14px; letter-spacing: 1px; padding: 8px 10px; border-radius: 6px; border: 1px solid var(--sand); background: var(--card); color: var(--ink); }
.count { font-family: var(--cond); font-weight: 600; font-size: 13.5px; letter-spacing: 1.5px; color: var(--muted); margin-left: auto; }
.ptable { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 16px 36px -20px rgba(25,21,16,.35); }
.ptable .hd, .ptable .pr { display: grid; grid-template-columns: 100px minmax(170px, 1.6fr) minmax(120px, 1fr) 70px 70px 70px 64px 64px 64px minmax(200px, 1.4fr); gap: 12px; align-items: center; }
.ptable .hd { background: var(--navy); color: var(--sky); font-family: var(--cond); font-weight: 700; font-size: 12px; letter-spacing: 2px; padding: 10px 16px; }
.ptable .hd span { white-space: nowrap; }
.ptable .hd span[data-sort] { cursor: pointer; transition: color .12s; }
.ptable .hd span[data-sort]:hover, .ptable .hd span[data-sort].on { color: #fff; }
.ptable .pr { padding: 8px 16px; border-bottom: 1px solid var(--sand-2); cursor: pointer; transition: background .12s; text-decoration: none; color: inherit; }
.ptable .pr:hover { background: var(--sand-2); }
.ptable .av { width: 100px; height: 100px; border-radius: 12px; overflow: hidden; position: relative; background: linear-gradient(160deg, var(--c1, #3a332a), var(--c2, #191510)); }
.ptable .av img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.ptable .av img.dst { object-fit: contain; padding: 14%; }
.ptable .who { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ptable .who b { font-family: var(--anton); font-weight: 400; font-size: 18px; letter-spacing: .3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ptable .who span { font-family: var(--cond); font-weight: 700; font-size: 13px; letter-spacing: 1.2px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.pos-tag { font-family: var(--cond); font-weight: 800; font-size: 11.5px; letter-spacing: 1.2px; padding: 2px 6px; border-radius: 4px; color: #fff; background: var(--slate); }
.pos-tag.QB { background: var(--plum); } .pos-tag.RB { background: var(--moss); } .pos-tag.WR { background: var(--navy-2); } .pos-tag.TE { background: var(--teal); } .pos-tag.K { background: var(--slate); } .pos-tag.DST { background: var(--orange-2); }
.ptable .num { font-family: var(--anton); font-size: 17px; text-align: right; }
.ptable .num small { display: none; font-family: var(--cond); font-weight: 600; font-size: 10.5px; letter-spacing: 1.5px; color: var(--muted); }
.ptable .num.dim { color: var(--muted); }
.ptable .line { display: flex; gap: 14px; flex-wrap: wrap; }
.ptable .line .n { display: flex; flex-direction: column; line-height: 1.1; }
.ptable .line .n b { font-family: var(--anton); font-weight: 400; font-size: 15px; }
.ptable .line .n span { font-family: var(--cond); font-weight: 700; font-size: 10.5px; letter-spacing: 1.2px; color: var(--muted); }
.ptable .fa { font-family: var(--cond); font-weight: 700; letter-spacing: 1.2px; color: var(--moss); }
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 16px; flex-wrap: wrap; }
.pager button { font-family: var(--cond); font-weight: 700; font-size: 14px; letter-spacing: 1px; min-width: 36px; height: 34px; padding: 0 10px; border-radius: 6px; border: 1px solid var(--sand); background: var(--card); color: var(--ink-2); cursor: pointer; }
.pager button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.pager button[disabled] { opacity: .4; cursor: default; }
.pager .gap { color: var(--muted); }
@media (max-width: 1100px) {
  .ptable .hd { display: none; }
  /* stat header row is gone, so each number carries its own label and the six
     stats pack three-up beside the avatar */
  .ptable .pr { grid-template-columns: 80px repeat(3, 1fr); grid-auto-rows: auto; gap: 6px 12px; }
  .ptable .av { width: 80px; height: 80px; grid-row: 1 / span 3; }
  .ptable .num { text-align: left; font-size: 15px; }
  .ptable .num small { display: block; }
  .ptable .pr > .who, .ptable .pr > div:nth-child(3), .ptable .pr > .line { grid-column: 2 / -1; }
}

/* ------------------------------------------------------------ news file */
.file { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 12px; }
.story { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; transition: transform .15s, border-color .15s; }
.story:hover { transform: translateY(-3px); border-color: var(--teal); }
.story .when { font-family: var(--cond); font-weight: 700; font-size: 12px; letter-spacing: 1.8px; color: var(--teal); }
.story b { font-family: var(--anton); font-weight: 400; font-size: 17px; line-height: 1.15; }
.story p { margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }

/* ------------------------------------------------------- decision calendar */
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.cal .cd { background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; min-height: 96px; }
.cal .cd.today { border-color: var(--teal); box-shadow: 0 10px 24px -14px rgba(31,122,140,.55); }
.cal .dh { background: var(--navy); color: var(--sky); padding: 6px 9px; display: flex; justify-content: space-between; align-items: baseline; }
.cal .cd.today .dh { background: var(--teal); color: #fff; }
.cal .dh b { font-family: var(--anton); font-weight: 400; font-size: 13.5px; letter-spacing: 1px; }
.cal .dh span { font-family: var(--cond); font-weight: 700; font-size: 11px; letter-spacing: 1.2px; opacity: .85; }
.cal .ci { padding: 7px 9px; border-bottom: 1px solid var(--sand-2); display: flex; flex-direction: column; gap: 2px; }
.cal .ci:last-child { border-bottom: none; }
.cal .ci .t { font-family: var(--cond); font-weight: 800; font-size: 11.5px; letter-spacing: 1.2px; color: var(--orange-2); }
.cal .ci.passed .t { color: var(--muted); }
.cal .ci.passed { opacity: .55; }
.cal .ci .w { font-family: var(--cond); font-weight: 600; font-size: 12.5px; line-height: 1.25; color: var(--ink-2); }
.cal .ci.none { color: var(--sand); text-align: center; font-family: var(--cond); flex: 1; justify-content: center; }
.cal .ci.call { background: var(--peach-2); border-left: 4px solid var(--orange); font-family: var(--cond); font-weight: 700; font-size: 12.5px; line-height: 1.3; color: var(--ink); letter-spacing: .3px; }
.cal .ci.waivers { border-left: 4px solid var(--plum); }
.cal .ci.waivers .t { color: var(--plum); }
@media (max-width: 1100px) { .cal { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 700px) { .cal { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------------------------------------------------------- team header */
.panel.teamhead { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: linear-gradient(135deg, var(--tc, var(--navy)) 0%, color-mix(in srgb, var(--tc, var(--navy)) 55%, #14100c) 100%); color: #fff; border: none; }
.panel.teamhead img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: #fff; flex: none; box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.panel.teamhead .noimg { font-size: 40px; }
.panel.teamhead .t { display: flex; flex-direction: column; line-height: 1.02; min-width: 0; }
.panel.teamhead .t b { font-family: var(--anton); font-weight: 400; font-size: 24px; letter-spacing: .6px; text-shadow: 0 2px 8px rgba(0,0,0,.35); }
.panel.teamhead .t span { font-family: var(--cond); font-weight: 700; font-size: 13px; letter-spacing: 2px; margin-top: 6px; color: rgba(255,255,255,.85); }

/* ------------------------------------------------------------ coach's desk */
.desk { background: var(--card); border: 1px solid var(--line); border-left: 6px solid var(--plum); border-radius: 12px; padding: 16px 22px; margin: 18px 0 6px; box-shadow: 0 16px 36px -20px rgba(25,21,16,.35); }
.desk.pending { border-left-color: var(--sand); }
.dk-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.dk-sub { font-family: var(--cond); font-weight: 600; font-size: 12.5px; letter-spacing: 1.8px; color: var(--muted); }
.dk-toggle { font-family: var(--cond); font-weight: 700; font-size: 12.5px; letter-spacing: 1.5px; border: 1px solid var(--plum); background: transparent; color: var(--plum); padding: 6px 12px; border-radius: 6px; cursor: pointer; }
.dk-toggle:hover { background: var(--lilac); }
.dk-quote { font-size: 18px; font-style: italic; line-height: 1.5; margin-top: 10px; color: var(--ink-2); max-width: 90ch; }
.dk-body { margin-top: 14px; border-top: 1px solid var(--sand-2); padding-top: 6px; columns: 2 380px; column-gap: 40px; column-rule: 1px solid var(--sand-2); }
.dk-body h4 { font-family: var(--anton); font-weight: 400; font-size: 19px; letter-spacing: .5px; margin: 16px 0 6px; column-span: none; color: var(--plum); }
.dk-body h4:first-child { margin-top: 4px; }
.dk-body p { font-size: 15.5px; line-height: 1.55; margin: 0 0 10px; }
.dk-body ul { margin: 0 0 10px; padding-left: 20px; }
.dk-body li { font-size: 15px; line-height: 1.5; margin-bottom: 4px; }
.dk-body hr { border: none; border-top: 1px solid var(--sand-2); margin: 12px 0; }
.badge-v { font-family: var(--cond); font-weight: 800; font-size: 11.5px; letter-spacing: 1.5px; padding: 3px 8px; border-radius: 4px; color: #fff; background: var(--slate); }
.badge-v.OVERRIDE { background: var(--orange-2); }
.badge-v.ENDORSE { background: var(--moss); }
.badge-v.CONDITIONAL { background: var(--plum); }
.pc .coachchip { position: absolute; bottom: 6px; right: 6px; font-family: var(--cond); font-weight: 800; font-size: 10.5px; letter-spacing: 1px; padding: 3px 7px; border-radius: 4px; background: var(--moss); color: #fff; box-shadow: 0 3px 8px rgba(0,0,0,.4); }
.pc .coachchip.SIT { background: var(--slate); }
.pc .coachchip.WATCH { background: #b98a1c; }
.cal .ci.watch { border-left: 4px solid var(--teal); background: var(--teal-2); }
.cal .ci.watch .t { color: var(--teal); }
.cal .ci.watch.resolved { opacity: .75; background: var(--mint); border-left-color: var(--moss); }
.cal .ci.watch.resolved .t { color: var(--moss); }
.board .posture { font-family: var(--cond); font-weight: 700; font-size: 13px; letter-spacing: 1.2px; color: var(--sky); max-width: 90%; line-height: 1.4; }
.cmove { display: flex; flex-direction: column; gap: 3px; background: var(--mint); border-left: 4px solid var(--moss); border-radius: 6px; padding: 9px 12px; }
.cmove .hdr { font-family: var(--cond); font-weight: 800; font-size: 11px; letter-spacing: 1.8px; color: var(--moss); }
.cmove .what { font-family: var(--anton); font-size: 14.5px; letter-spacing: .4px; }
.cmove .why { font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }

/* ----------------------------------------------------------------- aside */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 16px 36px -20px rgba(25,21,16,.35); }
.panel .head { background: var(--teal); color: #fff; padding: 14px 18px; display: flex; align-items: center; gap: 12px; }
.panel .head.plum { background: var(--plum); }
.panel .head.navy { background: var(--navy); }
.panel .head.moss { background: var(--moss); }
.panel .head .mark { width: 40px; height: 40px; }
.panel .head .t { display: flex; flex-direction: column; line-height: 1.15; }
.panel .head .t b { font-family: var(--anton); font-weight: 400; font-size: 18px; letter-spacing: .5px; }
.panel .head .t span { font-family: var(--cond); font-weight: 600; font-size: 12px; letter-spacing: 2px; color: rgba(255,255,255,.8); }
.panel .body { padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.panel .kicker { font-size: 13px; letter-spacing: 2.5px; }
.panel p { margin: 0; font-size: 16.5px; line-height: 1.5; text-wrap: pretty; }
.panel p.dim { color: var(--muted); font-size: 14px; }
.bean { display: flex; flex-direction: column; gap: 2px; background: var(--sand-2); border-left: 4px solid var(--slate); border-radius: 6px; padding: 8px 12px; }
.bean .b-lbl { font-family: var(--cond); font-weight: 800; font-size: 10.5px; letter-spacing: 2px; color: var(--slate); }
.bean span:last-child { font-family: var(--cond); font-weight: 600; font-size: 13.5px; line-height: 1.35; color: var(--ink-2); }
.veg { display: flex; align-items: baseline; gap: 7px; border-bottom: 1px solid var(--sand-2); padding-bottom: 7px; font-family: var(--cond); min-width: 0; }
.veg b { font-weight: 800; font-size: 14px; letter-spacing: .6px; white-space: nowrap; }
.veg > span { font-weight: 700; font-size: 11.5px; letter-spacing: 1px; color: var(--muted); white-space: nowrap; }
.veg .who { margin-left: auto; text-align: right; font-weight: 600; font-size: 11.5px; color: var(--ink-2); white-space: normal; }
.veg .who a { color: inherit; text-decoration: none; border-bottom: 1.5px solid var(--sand); }
.veg .who a:hover { color: var(--navy-2); border-color: var(--navy-2); }
.moves { display: flex; flex-direction: column; gap: 4px; font-family: var(--cond); font-weight: 600; font-size: 14px; letter-spacing: .5px; color: var(--ink-2); }
.moves .in::before { content: "▲ "; color: var(--green); }
.moves .out::before { content: "▼ "; color: var(--orange-2); }
.btns { display: flex; gap: 10px; }
.btn { flex: 1; font-family: var(--cond); font-weight: 700; font-size: 16px; letter-spacing: 1.5px; padding: 11px 0; border-radius: 8px; cursor: pointer; border: none; }
.btn.go { background: var(--green); color: #fff; }
.btn.go:hover { background: #257a40; }
.btn.pass { background: transparent; color: var(--ink); border: 1.5px solid var(--sand); }
.btn.pass:hover { border-color: var(--ink); background: var(--sand-2); }
.btn[disabled] { opacity: .5; cursor: wait; }
.done { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-radius: 8px; padding: 10px 14px; font-family: var(--cond); font-weight: 700; font-size: 15px; letter-spacing: 1px; }
.done.ok { background: var(--mint); color: var(--green); }
.done.no { background: var(--sand-2); color: var(--ink); }
.done.ro { background: var(--sky); color: var(--navy); font-size: 13.5px; }
.done button { font-family: var(--cond); font-weight: 700; font-size: 13px; letter-spacing: 1px; border: none; background: transparent; color: var(--muted); cursor: pointer; text-decoration: underline; }
.panel.plain { padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; box-shadow: none; }
.panel.plain .kicker { color: var(--muted); }
.news { display: flex; gap: 10px; align-items: baseline; border-bottom: 1px solid var(--sand-2); padding-bottom: 10px; }
.news .tag { flex: none; font-family: var(--anton); font-size: 12px; color: var(--navy-2); min-width: 32px; }
.news .tag.INJ, .news .tag.OUT { color: var(--orange-2); }
.news .tag.USG, .news .tag.OPP { color: var(--teal); }
.news .tag.WIRE, .news .tag.ADD { color: var(--moss); }
.news .tag.BYE { color: var(--slate); }
.news .tag.TRD, .news .tag.ROOK { color: var(--plum); }
.news .tx { font-size: 14.5px; line-height: 1.45; }
.foot { font-size: 13px; color: var(--muted); font-style: italic; }
.wire { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--sand-2); padding-bottom: 8px; cursor: pointer; text-decoration: none; color: inherit; border-radius: 6px; transition: background .12s; }
.wire:hover { background: var(--sand-2); }
.wire img { width: 44px; height: 32px; object-fit: contain; object-position: bottom; background: var(--sand-2); border-radius: 6px; }
.wire .t { display: flex; flex-direction: column; line-height: 1.15; flex: 1; }
.wire .t b { font-family: var(--anton); font-weight: 400; font-size: 14px; }
.wire .t span { font-family: var(--cond); font-weight: 700; font-size: 12px; letter-spacing: 1px; color: var(--muted); }
.wire .v { font-family: var(--anton); font-size: 14px; color: var(--moss); }
.scout { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.scout .s { display: flex; flex-direction: column; line-height: 1.1; border-bottom: 1px solid var(--sand-2); padding-bottom: 6px; }
.scout .s b { font-family: var(--anton); font-weight: 400; font-size: 22px; color: var(--ink); }
.scout .s span { font-family: var(--cond); font-weight: 700; font-size: 11px; letter-spacing: 1.5px; color: var(--muted); }
.scout .s.hi b { color: var(--plum); }

/* ----------------------------------------------------- league home: the wire */
.ngrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 14px; margin-bottom: 8px; }
.ngrid.small { grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr)); }
.ncard { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; cursor: pointer; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s, border-color .15s; }
.ncard:hover { transform: translateY(-4px); box-shadow: 0 16px 28px -14px rgba(25,21,16,.45); border-color: var(--tc, var(--orange)); }
.ncard .nimg { position: relative; height: 150px; background: linear-gradient(160deg, var(--c1, #3a332a), var(--c2, #191510)); flex: none; overflow: hidden; }
.ncard .nimg img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.ncard .npin { position: absolute; left: 0; right: 0; bottom: 0; background: var(--tc, var(--ink)); color: #fff; font-family: var(--cond); font-weight: 800; font-size: 12.5px; letter-spacing: 1.2px; padding: 5px 10px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; cursor: pointer; }
.ncard .npin i { font-style: normal; font-weight: 700; opacity: .85; font-size: 11px; letter-spacing: 1.5px; flex: none; }
.ncard .npin:hover { filter: brightness(1.15); }
.ncard .nbody { padding: 11px 13px 12px; display: flex; flex-direction: column; gap: 7px; flex: 1; min-width: 0; }
.ncard .nbody b { font-family: var(--anton); font-weight: 400; font-size: 16px; line-height: 1.22; letter-spacing: .2px; }
.ncard .nmeta { display: flex; align-items: baseline; gap: 10px; margin-top: auto; min-width: 0; flex-wrap: wrap; }
.nsrc { display: flex; align-items: center; gap: 6px; font-family: var(--cond); font-weight: 700; font-size: 12px; letter-spacing: 1.2px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nsrc .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tc, var(--orange)); display: inline-block; flex: none; }
.nwhen { font-family: var(--cond); font-weight: 600; font-size: 11.5px; letter-spacing: 1.2px; color: var(--muted); margin-left: auto; flex: none; }
.nown { font-size: 12px; }
.ncard.sm { flex-direction: row; align-items: stretch; }
.ncard.sm .nimg { width: 96px; height: auto; min-height: 92px; }
.ncard.sm .nbody b { font-size: 15px; }
.pchip { font-family: var(--cond); font-weight: 800; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; border-bottom: 2.5px solid var(--tc, var(--orange)); cursor: pointer; white-space: nowrap; }
.pchip:hover { color: var(--tc, var(--orange)); }
.sec-head.hteam { align-items: center; gap: 12px; margin-top: 34px; }
.sec-head.hteam img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 3px 8px rgba(0,0,0,.25); flex: none; }
.sec-head.hteam h2 { font-size: 24px; }
.sec-head.hteam h2 a { color: inherit; text-decoration: none; box-shadow: inset 0 -9px 0 color-mix(in srgb, var(--tc, var(--orange)) 38%, transparent); padding: 0 3px; transition: box-shadow .15s; }
.sec-head.hteam h2 a:hover { box-shadow: inset 0 -28px 0 color-mix(in srgb, var(--tc, var(--orange)) 30%, transparent); }
.sec-head.hteam .visit { color: var(--navy-2); text-decoration: none; font-weight: 700; }
.sec-head.hteam .visit:hover { color: var(--ink); }
.nquiet { color: var(--muted); font-style: italic; font-size: 14px; margin: 0; font-family: var(--cond); letter-spacing: .5px; }

/* -------------------------------------------------- league home: front page */
.fp { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(280px, 1fr); gap: 28px; align-items: start; }
.fp-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
/* newspaper cards: flat on the paper, thin rules, scraped article art */
.nw-card { display: flex; flex-direction: column; gap: 7px; cursor: pointer; min-width: 0; }
.nw-card .nw-img { overflow: hidden; border-radius: 4px; background: var(--sand-2); aspect-ratio: 16 / 10; }
.nw-card .nw-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.nw-card:hover .nw-img img { transform: scale(1.03); }
.nw-card.noimg .nw-img { display: none; }
.nw-card.noimg { border-top: 1px solid var(--line); padding-top: 12px; }
.nw-kick { display: flex; align-items: baseline; gap: 7px; font-family: var(--cond); font-weight: 800; font-size: 11.5px; letter-spacing: 1.5px; min-width: 0; flex-wrap: wrap; }
.nw-kick .pchip { font-size: 11.5px; }
.nw-kick .nw-sep { color: var(--sand); }
.nw-kick .tmlink { font-size: 11px; color: var(--muted); border-bottom-width: 2px; }
.nw-hl { font-family: var(--anton); font-weight: 400; font-size: 18px; line-height: 1.2; letter-spacing: .2px; }
.nw-card:hover .nw-hl { color: var(--orange-2); }
.nw-meta { font-family: var(--cond); font-weight: 600; font-size: 11.5px; letter-spacing: 1.2px; color: var(--muted); }
.nw-lead { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 22px; align-items: center; }
.nw-lead .nw-img { aspect-ratio: 16 / 10; }
.nw-lead .nw-txt { display: flex; flex-direction: column; gap: 10px; }
.nw-lead .nw-hl { font-size: clamp(24px, 2.3vw, 34px); line-height: 1.1; }
.nw-lead.noimg { grid-template-columns: 1fr; border-top: none; padding-top: 0; }
.nw-sec { display: flex; align-items: center; gap: 10px; font-family: var(--anton); font-size: 20px; letter-spacing: .5px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.nw-sec i { width: 26px; height: 4px; background: var(--orange); display: inline-block; }
.nw-grid { display: grid; gap: 22px; }
.nw-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nw-grid.two .nw-hl { font-size: 21px; }
.nw-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nw-grid.three .nw-hl { font-size: 15.5px; }
/* art-less stories sit in the same cells but as compact listings, rail-style */
.nw-grid .nw-card.noimg { border-top: 1px solid var(--line); padding-top: 10px; gap: 5px; }
.nw-grid .nw-card.noimg .nw-hl { font-size: 15px; line-height: 1.3; }
.fp-rail { display: flex; flex-direction: column; gap: 16px; border-left: 1px solid var(--line); padding-left: 24px; min-width: 0; }
.rt-railhead { font-family: var(--cond); font-weight: 700; font-size: 13px; letter-spacing: 3px; color: var(--muted); border-bottom: 3px double var(--sand); padding-bottom: 8px; }
.rteam { display: flex; flex-direction: column; gap: 7px; border-bottom: 1px solid var(--line); padding-bottom: 15px; }
.rteam:last-child { border-bottom: none; }
.rt-head { display: flex; align-items: center; gap: 11px; margin-bottom: 3px; }
.rt-head img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.25); flex: none; }
.rt-noimg { font-size: 36px; flex: none; }
.rt-head .t { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.rt-head .t > a { font-family: var(--anton); font-size: 17px; letter-spacing: .5px; color: var(--ink); text-decoration: none; box-shadow: inset 0 -8px 0 color-mix(in srgb, var(--tc, var(--orange)) 35%, transparent); align-self: flex-start; padding: 0 2px; }
.rt-head .t > a:hover { box-shadow: inset 0 -22px 0 color-mix(in srgb, var(--tc, var(--orange)) 28%, transparent); }
.rt-head .t span { font-family: var(--cond); font-weight: 700; font-size: 11.5px; letter-spacing: 1.5px; color: var(--muted); margin-top: 4px; }
.rt-story { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: inherit; padding: 3px 0; }
.rt-story b { font-family: var(--anton); font-weight: 400; font-size: 14.5px; line-height: 1.25; }
.rt-story:hover b { color: var(--tc, var(--orange-2)); }
.rt-meta { font-family: var(--cond); font-weight: 600; font-size: 11px; letter-spacing: 1.2px; color: var(--muted); }
.rt-more { align-self: flex-start; font-family: var(--cond); font-weight: 700; font-size: 12px; letter-spacing: 1.5px; border: none; background: transparent; color: var(--navy-2); cursor: pointer; padding: 2px 0; }
.rt-more:hover { color: var(--ink); }
@media (max-width: 980px) {
  .fp { grid-template-columns: 1fr; gap: 22px; }
  .fp-rail { border-left: none; padding-left: 0; border-top: 3px double var(--sand); padding-top: 16px; }
  .nw-lead { grid-template-columns: 1fr; gap: 12px; }
  .nw-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .nw-grid.two, .nw-grid.three { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------- matchups overview */
.mogrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(380px, 100%), 1fr)); gap: 18px; }
.board.mo { cursor: pointer; padding: 20px 18px 16px; gap: 12px; outline: 2px solid transparent; transition: transform .15s, box-shadow .15s, outline-color .15s; }
.board.mo:hover { transform: translateY(-5px); box-shadow: 0 26px 52px -20px rgba(25,21,16,.65); outline-color: var(--orange); }
.board.mo .side .score { font-size: clamp(34px, 3vw, 52px); }
.board.mo .open { font-family: var(--cond); font-weight: 700; font-size: 12px; letter-spacing: 2.5px; color: var(--peach); opacity: 0; transition: opacity .15s; }
.board.mo:hover .open { opacity: 1; }

/* ----------------------------------------------------- matchup carousel */
.mcar { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.mnav { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--sand); background: var(--card); color: var(--ink-2); font-size: 20px; cursor: pointer; line-height: 1; padding: 0 0 3px; }
.mnav:hover { border-color: var(--ink); color: var(--ink); }
.mpills { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; justify-content: center; }
.mpill { display: flex; align-items: center; gap: 7px; font-family: var(--cond); font-weight: 800; font-size: 13px; letter-spacing: 1.2px; padding: 8px 13px; border-radius: 20px; border: 1px solid var(--sand); background: var(--card); color: var(--ink-2); cursor: pointer; transition: border-color .12s, transform .12s; }
.mpill:hover { border-color: var(--ink); transform: translateY(-2px); }
.mpill.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.mpill i { width: 9px; height: 9px; border-radius: 2px; display: inline-block; flex: none; }
.mpill .d { opacity: .45; font-size: 10px; }
.slide-out-l { transform: translateX(-70px); opacity: 0; transition: transform .17s ease-in, opacity .17s ease-in; }
.slide-out-r { transform: translateX(70px); opacity: 0; transition: transform .17s ease-in, opacity .17s ease-in; }
@keyframes slidein-l { from { transform: translateX(-70px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes slidein-r { from { transform: translateX(70px); opacity: 0; } to { transform: none; opacity: 1; } }
section.slide-in-l { animation: slidein-l .26s ease-out; }
section.slide-in-r { animation: slidein-r .26s ease-out; }

/* ------------------------------------------- matchup board: per-team notes */
.mu-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.mu-notes .mn { background: rgba(0,0,0,.22); border-top: 4px solid var(--tc, var(--orange)); border-radius: 8px; padding: 9px 12px; font-family: var(--cond); font-weight: 600; font-size: 12.5px; letter-spacing: .6px; color: var(--sky); text-align: left; line-height: 1.45; }
.mu-notes .mn b { display: block; font-weight: 800; letter-spacing: 1.6px; color: #fff; margin-bottom: 2px; }
.mu-notes .mn.dim { opacity: .65; }

/* ----------------------------------------------------------------- misc */
.empty { padding: 40px; text-align: center; color: var(--muted); font-style: italic; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--paper); padding: 12px 20px; border-radius: 10px; font-family: var(--cond); font-weight: 700; letter-spacing: 1px; font-size: 15px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 50; box-shadow: 0 14px 30px -10px rgba(0,0,0,.5); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.err { background: var(--orange-3); }
@media (max-width: 900px) {
  .masthead { padding: 12px 16px; column-gap: 16px; }
  .brand-mark { width: 84px; height: 84px; }
  .brand-title { font-size: 17px; }
  .page { padding: 20px 16px 40px; }
  .cover .hero { height: 380px; max-width: none; }
}

/* live typing */
.typing::after { content: "▍"; color: var(--orange); animation: livepulse 1s infinite; margin-left: 2px; font-family: var(--body); }

/* -------------------------------------------------------------- phones
   Everything below only applies under 700px; desktop rules stay untouched. */
@media (max-width: 700px) {
  /* masthead restacks into a single column: brand, tabs, week strip */
  .masthead { grid-template-columns: 1fr; padding: 10px 14px; row-gap: 9px; column-gap: 0; }
  .brand { grid-row: auto; gap: 12px; }
  .brand-mark { width: 72px; height: 72px; }
  .brand-title { font-size: 18px; }
  .brand-sub { font-size: 10.5px; letter-spacing: 1.8px; margin-top: 4px; }
  .mast-row { gap: 8px 10px; }
  .tab { font-size: 13.5px; letter-spacing: 1px; padding: 7px 12px; }
  .nextlock { font-size: 11px; letter-spacing: 1px; gap: 6px; }
  .nextlock .when { padding: 3px 7px; }
  .wk { width: 30px; height: 27px; font-size: 12.5px; }
  .weeks-label { font-size: 11px; }
  /* the teams dropdown becomes a bottom sheet instead of overflowing the edge */
  .tab-menu .menu { position: fixed; top: auto; left: 10px; right: 10px; bottom: 10px; min-width: 0; max-height: 62vh; overflow-y: auto; }

  .page { padding: 16px 14px 40px; gap: 20px; }
  .sec-head { margin: 20px 0 12px; gap: 8px 12px; }
  .sec-head h2 { font-size: 22px; }
  .sec-head h2.dim { font-size: 18px; }
  .sec-sub { font-size: 12px; letter-spacing: 1.2px; }

  .cover { gap: 18px; }
  .cover .hero { height: 330px; flex-basis: 100%; }
  .cover h1 { font-size: clamp(32px, 9.5vw, 44px); }
  .cover p { font-size: 16px; }

  .grid, .grid.bench { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
  .pc .ph { height: 110px; }
  .bench .pc .ph { height: 96px; }
  .pc .nm { font-size: 13px; }

  .lt .name { flex: 1 1 100%; min-width: 0; padding: 10px 16px; }
  .lt .name b { font-size: 21px; }
  .lt .body { padding: 10px 16px 12px; font-size: 14.5px; }

  /* matchup: scoreboard first, the two hero shots share one row beneath it */
  .mu-top { gap: 12px; }
  .mu-top .board { order: -1; flex-basis: 100%; }
  .mu-top .hero { flex: 1 1 calc(50% - 6px); min-height: 220px; }
  /* small boxes: show the full bust instead of a zoomed face crop, tighten the bar */
  .mu-top .hero .shot.headshot { object-fit: contain; object-position: center bottom; padding: 14% 4% 0; filter: drop-shadow(0 14px 16px rgba(0,0,0,.45)); }
  .mu-top .hero .bar { padding: 7px 10px; gap: 1px 8px; }
  .mu-top .hero .bar .nm { font-size: 14px; }
  .mu-top .hero .bar .meta { font-size: 10.5px; letter-spacing: .6px; }
  .board { padding: 18px 14px; }
  .mu-notes { grid-template-columns: 1fr; }

  /* tug-of-war: names above their bars, slot label bridging the middle */
  .tug { padding: 14px; }
  .tug .r { grid-template-columns: 1fr 42px 1fr; grid-template-areas: "ny pos nt" "ty pos tt"; gap: 3px 8px; }
  .tug .nm.you { grid-area: ny; align-items: flex-start; }
  .tug .nm:not(.you) { grid-area: nt; align-items: flex-end; text-align: right; }
  .tug .track.you { grid-area: ty; }
  .tug .track.them { grid-area: tt; }
  .tug .pos { grid-area: pos; align-self: center; font-size: 12px; }
  .tug .nm b { font-size: 13.5px; }

  .skyline { min-height: 0; gap: 10px; }
  .roast { padding: 13px 15px; gap: 12px; }
  .roast .q { font-size: 16px; }

  .desk { padding: 13px 15px; }
  .dk-quote { font-size: 16px; }
  .panel .body { padding: 14px; }
  .panel.plain { padding: 14px; }

  .toolbar select { font-size: 16px; } /* keeps iOS from zooming on focus */
  .mcar { gap: 6px; }
  .mnav { width: 32px; height: 32px; font-size: 17px; }
}

@media (max-width: 420px) {
  .brand-title { font-size: 16px; }
  .cover h1 { font-size: clamp(28px, 10vw, 38px); }
  .cover .hero { height: 290px; }
  .mu-top .hero { min-height: 190px; }
  .board .side .tm { font-size: 16px; }
  .board .side img { width: 42px; height: 42px; }
}
