  /* ── DFS Command Center hub (scoped) ───────────────────────────── */
  .dfsx { --dfsx-radius: 16px; font-family: var(--font, sans-serif);
    margin-top: calc(var(--ticker-h) + var(--topbar-h) + var(--header-h)); }
  .dfsx-hero {
    position: relative; overflow: hidden; border-bottom: 1px solid var(--border);
    min-height: 280px; display: flex; align-items: center;
  }
  .dfsx-hero-bg { position: absolute; inset: 0; background: center/cover no-repeat; transform: scale(1.03); }
  .dfsx-hero::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(105deg, rgba(6,12,26,.94) 0%, rgba(6,12,26,.82) 42%, rgba(6,12,26,.45) 100%);
  }
  :root[data-theme="light"] .dfsx-hero::after {
    background: linear-gradient(105deg, rgba(9,16,34,.92) 0%, rgba(12,22,46,.78) 45%, rgba(20,40,90,.35) 100%);
  }
  .dfsx-hero-inner { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; padding: 54px 24px; width: 100%; }
  .dfsx-eyebrow {
    display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase; color: #7fb0ff; margin-bottom: 16px;
  }
  .dfsx-eyebrow::before { content: ''; width: 26px; height: 2px; background: #3b82f6; }
  .dfsx-hero h1 {
    font-size: clamp(2rem, 1rem + 3.6vw, 3.5rem); line-height: 1.03; font-weight: 800;
    letter-spacing: -.025em; color: #fff; margin: 0 0 16px; max-width: 15ch;
  }
  .dfsx-hero h1 em { font-style: normal; color: #60a5fa; }
  .dfsx-hero p { font-size: clamp(1rem, 1.4vw, 1.15rem); color: #c5d2ea; max-width: 52ch; margin: 0 0 24px; line-height: 1.5; }

  .dfsx-wrap { max-width: 1180px; margin: 0 auto; padding: 44px 24px 20px; }
  .dfsx-sec-hd { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; gap: 12px; flex-wrap: wrap; }
  .dfsx-sec-hd h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; color: var(--text-1); margin: 0; }
  .dfsx-sec-hd p { font-size: .9rem; color: var(--text-2); margin: 0; }

  .dfsx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
  .dfsx-card {
    position: relative; border: 1px solid var(--border-card); border-radius: var(--dfsx-radius);
    overflow: hidden; background: var(--bg-card); display: flex; flex-direction: column;
    transition: transform .18s cubic-bezier(.16,1,.3,1), box-shadow .18s, border-color .18s;
  }
  .dfsx-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(0,0,0,.55); border-color: var(--accent); }
  .dfsx-card-media {
    position: relative; height: 132px; background: center/cover no-repeat;
    display: flex; align-items: flex-end; padding: 14px 16px;
  }
  .dfsx-card-media::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.72)),
                linear-gradient(115deg, var(--accent) -10%, transparent 62%);
    mix-blend-mode: normal; opacity: .92;
  }
  .dfsx-card-media.grad { background: radial-gradient(120% 120% at 12% -10%, var(--accent) 0%, #0b1524 78%); }
  .dfsx-card-media.grad::after { background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.5)); opacity: 1; }
  .dfsx-card-badge {
    position: absolute; top: 12px; right: 12px; z-index: 3; display: inline-flex; align-items: center; gap: 6px;
    background: rgba(10,20,36,.72); backdrop-filter: blur(4px); color: #fff; font-size: 10.5px; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase; padding: 5px 9px; border-radius: 20px; border: 1px solid rgba(255,255,255,.15);
  }
  .dfsx-card-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.25); }
  .dfsx-card-wm { position: relative; z-index: 2; }
  .dfsx-card-wm .abbr { display: block; font-size: 2.1rem; font-weight: 800; letter-spacing: -.02em; color: #fff; line-height: 1; }
  .dfsx-card-wm .full { display: block; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.82); text-transform: uppercase; letter-spacing: .1em; margin-top: 3px; }
  .dfsx-card-body { padding: 16px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
  .dfsx-roster { font-size: 12px; color: var(--text-2); font-family: 'JetBrains Mono', ui-monospace, monospace; line-height: 1.5; }
  .dfsx-roster b { color: var(--text-1); font-weight: 700; }
  .dfsx-cta {
    display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none;
    background: var(--accent); color: #fff; font-weight: 700; font-size: 14px; padding: 11px 14px;
    border-radius: 10px; transition: filter .15s, transform .15s;
  }
  .dfsx-cta:hover { filter: brightness(1.12); }
  .dfsx-cta .arr { transition: transform .15s; }
  .dfsx-card:hover .dfsx-cta .arr { transform: translateX(4px); }
  .dfsx-links { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-top: auto; padding-top: 4px; }
  .dfsx-links a {
    font-size: 12px; font-weight: 600; color: var(--text-2); text-decoration: none;
    padding: 5px 10px; border: 1px solid var(--border); border-radius: 7px; transition: color .12s, border-color .12s, background .12s;
  }
  .dfsx-links a:hover { color: var(--accent); border-color: var(--accent); }

  /* ── Slate-activity states ───────────────────────────────────────── */
  /* Cards are hidden until /api/dfs-status.php sorts them, so the grid never
     paints in the wrong order. A timer un-hides regardless if the call fails. */
  .dfsx-grid.is-pending { opacity: 0; }
  .dfsx-grid { transition: opacity .22s ease; }

  .dfsx-card-badge .dot.soon { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,.25); }
  .dfsx-card-badge .dot.off  { background: #64748b; box-shadow: 0 0 0 3px rgba(100,116,139,.22); }

  /* Offseason shelf — a dark, deliberately recessed panel below the live sports. */
  .dfsx-off-rule {
    display: flex; align-items: center; gap: 14px; margin: 42px 0 0;
    font-size: 11.5px; font-weight: 700; letter-spacing: .14em;
    text-transform: uppercase; color: var(--text-2);
  }
  .dfsx-off-rule::before, .dfsx-off-rule::after { content: ''; flex: 1; height: 1px; background: var(--border); }

  .dfsx-off {
    margin-top: 18px; padding: 24px 22px 28px; border-radius: 20px;
    background: linear-gradient(180deg, #0b1424 0%, #070d19 100%);
    border: 1px solid rgba(255,255,255,.07);
  }
  .dfsx-off .dfsx-sec-hd { margin-bottom: 18px; }
  .dfsx-off .dfsx-sec-hd h2 { font-size: 1.15rem; color: #93a4c2; }
  .dfsx-off .dfsx-sec-hd p { color: #5d6d89; }
  .dfsx-off .dfsx-card { background: rgba(255,255,255,.035); border-color: rgba(255,255,255,.08); }
  .dfsx-off .dfsx-card:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.2); box-shadow: none; }
  .dfsx-off .dfsx-card-media { height: 104px; filter: grayscale(.85) brightness(.5); }
  .dfsx-off .dfsx-card-wm .abbr { font-size: 1.7rem; }
  .dfsx-off .dfsx-roster { color: #6e7f9b; }
  .dfsx-off .dfsx-cta { background: rgba(255,255,255,.08); color: #c2cee2; }
  .dfsx-off .dfsx-cta:hover { background: rgba(255,255,255,.14); filter: none; }
  .dfsx-off .dfsx-links a { color: #7a8aa6; border-color: rgba(255,255,255,.11); }
  .dfsx-off .dfsx-links a:hover { color: #cbd6e8; border-color: rgba(255,255,255,.28); }

  .dfsx-tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px,1fr)); gap: 14px; margin-top: 6px; }
  .dfsx-tool {
    display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--border-card);
    border-radius: 12px; background: var(--bg-card); text-decoration: none; transition: border-color .15s, transform .15s;
  }
  .dfsx-tool:hover { border-color: var(--brand); transform: translateY(-2px); }
  .dfsx-tool-ic { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
    background: var(--brand-dim); color: var(--brand); font-size: 18px; }
  .dfsx-tool b { display: block; font-size: 13.5px; color: var(--text-1); font-weight: 700; }
  .dfsx-tool span { font-size: 11.5px; color: var(--text-2); }

  @media (max-width: 640px) {
    .dfsx-hero { min-height: 240px; }
    .dfsx-hero-inner { padding: 36px 18px; }
    .dfsx-wrap { padding: 30px 18px 16px; }
    .dfsx-grid { grid-template-columns: 1fr; }
  }

/* ── Tool directory ─────────────────────────────────────────────
   Each card is a list of that sport's actual tools, not roster shorthand.
   A leading arrow marks each row as a destination; the Premium pill on the
   right flags that the data behind it needs an active membership. */
.dfsx-tools { list-style: none; margin: 0; padding: 0; }
.dfsx-tools li + li { border-top: 1px solid var(--border-card, rgba(0,0,0,.08)); }
.dfsx-tools a {
  display: flex; align-items: center; gap: 10px; padding: 11px 2px;
  color: inherit; text-decoration: none;
  transition: padding-left .15s ease, color .15s ease;
}
.dfsx-tools a::before {
  content: '\2192';                 /* → */
  flex: none; font-weight: 700; line-height: 1;
  color: var(--accent); opacity: .55;
  transition: transform .15s ease, opacity .15s ease;
}
.dfsx-tools a:hover, .dfsx-tools a:focus-visible { padding-left: 6px; color: var(--accent); }
.dfsx-tools a:hover::before, .dfsx-tools a:focus-visible::before { opacity: 1; transform: translateX(3px); }
.dfsx-tools .t-name { flex: 1 1 auto; font-weight: 600; font-size: .95rem; line-height: 1.25; }
.dfsx-tools .t-premium {
  flex: none; font-size: .6rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; padding: 3px 7px; border-radius: 999px;
  color: #8a6100; background: rgba(214,158,46,.16);
  border: 1px solid rgba(214,158,46,.35); white-space: nowrap;
}
html[data-theme="dark"] .dfsx-tools .t-premium { color: #e8c37a; background: rgba(214,158,46,.14); }

/* Offseason: dim the CARD itself and sort it last — no separate shelf. */
.dfsx-card.is-off { opacity: .48; filter: saturate(.35); transition: opacity .2s ease, filter .2s ease; }
.dfsx-card.is-off:hover,
.dfsx-card.is-off:focus-within { opacity: 1; filter: none; }
