/* BUILD 789: THE FRONT OFFICE CONSOLE — the website's own look.
 *
 * Marquis: "make the site feel more like a super computer's tool for the
 * diehards ... the app and the site stand apart visually and depth" — then,
 * on the first stats-wall reference: "intriguing, not overwhelming. Try
 * blending aspects from our current and a technical evolution of it."
 *
 * So nothing here adds data to the screen. It changes what the screen is MADE
 * of: molded instrument plates instead of flat cards, a faint engineering
 * grid behind everything, corner markers, mono readouts, status lights — the
 * high-contrast clean skeuomorphic system. The app keeps its own tactile
 * tiles; this applies only inside the desktop Supercenter frame (.sc), so the
 * phone-width site and the app are untouched.
 */
@media (min-width: 1280px) {
  :root { --fo-plate: #0B1120; --fo-plate2: #070B16; --fo-edge: rgba(255,255,255,.07); --fo-lit: rgba(255,255,255,.16);
          --fo-sap: #2F6BFF; --fo-sap-soft: #8FB0FF; --fo-gold: #FFD98A; --fo-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }

  /* the room: a deep shell with a faint engineering grid */
  body:has(.sc) { background:
      radial-gradient(1200px 600px at 70% -10%, rgba(47,107,255,.10), transparent 60%),
      linear-gradient(rgba(143,176,255,.035) 1px, transparent 1px) 0 0 / 100% 32px,
      linear-gradient(90deg, rgba(143,176,255,.035) 1px, transparent 1px) 0 0 / 32px 100%,
      #04070E; }

  /* every plate in the frame is molded: lit top edge, inner shade, soft drop */
  .sc .panel, .sc .sch-hero, .sc .sch-pulse, .sc .sch-res, .sc .sch-more3 a, .sc .wb-panel, .sc .gn-card {
    background: linear-gradient(180deg, var(--fo-plate) 0%, var(--fo-plate2) 100%) !important;
    border: 1px solid var(--fo-edge) !important; border-top-color: var(--fo-lit) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), inset 0 -18px 30px -24px rgba(0,0,0,.9), 0 18px 40px -26px rgba(0,0,0,.9);
    border-radius: 14px; position: relative; }

  /* section headings read like instrument labels */
  .sc .sch-pulse h2, .sc .sch-res h2, .sc .panel > h2:first-child, .sc .panel > .kicker:first-child {
    font-family: var(--fo-mono) !important; font-style: normal !important; font-weight: 600; font-size: 12px !important;
    letter-spacing: .2em; color: var(--fo-sap-soft) !important; text-transform: uppercase; }
  .sc .sch-pulse h2::before, .sc .sch-res h2::before { content: "› "; color: var(--fo-sap); }

  /* corner markers on the hero and the instruments */
  .sc .sch-hero::before, .sc .sch-hero::after, .ins .cm { content: ""; position: absolute; width: 12px; height: 12px; pointer-events: none;
    border-color: rgba(143,176,255,.45); border-style: solid; z-index: 2; }
  .sc .sch-hero::before, .ins .cm.tl { top: 7px; left: 7px; border-width: 1px 0 0 1px; }
  .sc .sch-hero::after, .ins .cm.br { bottom: 7px; right: 7px; border-width: 0 1px 1px 0; }

  /* ---------------------------------------------------- the instruments -- */
  .ins-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
  /* reference: emblem and name side by side, the ONE reading in a bracketed chip below */
  .ins { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; align-items: center; gap: 12px 12px;
    padding: 16px 14px 14px; text-decoration: none; border-radius: 16px; background: linear-gradient(180deg, #0E1528 0%, #080C18 100%);
    border: 1px solid var(--fo-edge); border-top-color: rgba(255,255,255,.18); border-bottom-color: rgba(0,0,0,.7);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 16px 36px -22px rgba(0,0,0,.95);
    transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s ease, border-color .22s ease; }
  .ins::after { content: ""; position: absolute; left: 22%; right: 22%; top: -1px; height: 2px; border-radius: 2px; opacity: .85; }
  .ins.t-green::after { background: linear-gradient(90deg, transparent, #5BD38A, transparent); }
  .ins.t-gold::after { background: linear-gradient(90deg, transparent, #FFD98A, transparent); }
  .ins.t-violet::after { background: linear-gradient(90deg, transparent, #B98CFF, transparent); }
  .ins.t-blue::after { background: linear-gradient(90deg, transparent, #2F6BFF, transparent); }
  .ins:hover { transform: translateY(-3px); border-color: rgba(143,176,255,.32);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 22px 44px -22px rgba(0,0,0,.95), 0 0 0 1px rgba(47,107,255,.18); }
  .ins-sock { grid-row: 1; grid-column: 1; position: relative; width: 78px; height: 78px; border-radius: 18px; display: grid; place-items: center; overflow: hidden;
    background: radial-gradient(circle at 50% 35%, #0A1020, #03060C 75%);
    border: 1px solid rgba(0,0,0,.75); border-bottom-color: rgba(255,255,255,.10);
    box-shadow: inset 0 6px 14px rgba(0,0,0,.85), inset 0 -2px 6px rgba(255,255,255,.03); }
  .ins-sock img { position: relative; width: 62px; height: 62px; filter: drop-shadow(0 6px 10px rgba(0,0,0,.7)); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
  .ins:hover .ins-sock img { transform: scale(1.07) rotate(-2deg); }
  .ins-glow { position: absolute; inset: 18%; border-radius: 50%; filter: blur(14px); opacity: .32; animation: ins-breathe 4s ease-in-out infinite; }
  .ins.t-green .ins-glow { background: #5BD38A; } .ins.t-gold .ins-glow { background: #FFD98A; }
  .ins.t-violet .ins-glow { background: #B98CFF; } .ins.t-blue .ins-glow { background: #2F6BFF; }
  @keyframes ins-breathe { 50% { opacity: .5; transform: scale(1.08); } }
  .ins-body { display: contents; }
  /* BUILD 987: the name wraps instead of "FANT…" / "THE B…" on a 1440 screen */
  .ins-k { grid-row: 1; grid-column: 2; min-width: 0; white-space: normal; font: 700 clamp(15px, 1.15vw, 21px)/1.0 "Barlow Condensed", system-ui, sans-serif; font-style: italic; letter-spacing: .01em; color: #FFF; }
  .ins-k::before { content: "» "; color: var(--fo-sap); font-style: normal; }
  .ins-read { grid-row: 2; grid-column: 1 / -1; position: relative; text-align: center; padding: 8px 10px; border-radius: 8px;
    font: 700 15px/1.2 var(--fo-mono); letter-spacing: .06em; color: #E8EEFC; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    background: linear-gradient(180deg, #070B15, #04070E); border: 1px solid rgba(255,255,255,.05);
    box-shadow: inset 0 2px 6px rgba(0,0,0,.7); }
  .ins-read::before, .ins-read::after { content: ""; position: absolute; top: 5px; bottom: 5px; width: 7px; border: 1.5px solid currentColor; opacity: .7; }
  .ins-read::before { left: 6px; border-right: 0; } .ins-read::after { right: 6px; border-left: 0; }
  .ins.t-green .ins-read { color: #6BDB8F; } .ins.t-gold .ins-read { color: var(--fo-gold); }
  .ins.t-violet .ins-read { color: #C9A8FF; } .ins.t-blue .ins-read { color: #C3D4FF; }
  .ins-sub { display: none; }

  /* ---------------------------------------------- the status strip (bar) -- */
  .sc-strip { display: flex; align-items: center; gap: 16px; margin-left: auto; margin-right: 10px; padding: 6px 12px; border-radius: 10px;
    font: 600 11px/1 var(--fo-mono); letter-spacing: .14em; color: #7E8BAD; white-space: nowrap;
    background: linear-gradient(180deg, #0A0F1D, #060912); border: 1px solid var(--fo-edge); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
  .sc-strip b { color: #E8EEFC; font-weight: 700; } .sc-strip span { display: inline-flex; align-items: center; gap: 6px; }
  .sc-strip .live b { color: #FF8A8A; }

  /* ------------------------------------------------ the system lights ----- */
  .sc-sys { margin: 14px 12px 6px; padding: 10px 10px 8px; border-radius: 12px; background: linear-gradient(180deg, #090E1B, #05080F);
    border: 1px solid var(--fo-edge); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
  .sc-sys-h { font: 600 10.5px/1 var(--fo-mono); letter-spacing: .24em; color: var(--fo-sap-soft); margin-bottom: 8px; }
  .sc-sys-r { display: flex; align-items: center; gap: 7px; font: 600 10px/2 var(--fo-mono); letter-spacing: .06em; color: #93A0BE; white-space: nowrap; }
  .sc-sys-r span { overflow: hidden; text-overflow: ellipsis; }
  .sc-sys-r b { margin-left: auto; padding-left: 6px; color: #C6D2EE; font-weight: 600; letter-spacing: 0; font-size: 10px; }
  .led { width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto; background: #3A4562; box-shadow: inset 0 -1px 1px rgba(0,0,0,.5); display: inline-block; }
  .led.ok { background: #4BE07F; box-shadow: 0 0 8px rgba(75,224,127,.7); }
  .led.warn { background: #FFB86B; box-shadow: 0 0 8px rgba(255,184,107,.6); }
  .led.bad, .led.hot { background: #FF5A5A; box-shadow: 0 0 8px rgba(255,90,90,.7); animation: led-pulse 1.4s ease-in-out infinite; }
  @keyframes led-pulse { 50% { opacity: .45; } }

  /* the left nav, machined */
  .sc-left { background: linear-gradient(180deg, rgba(10,15,29,.92), rgba(5,8,15,.96)) !important; border-right: 1px solid var(--fo-edge); }
  .sc-p.on { background: linear-gradient(180deg, #13214A, #0B1430) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 6px 18px -8px rgba(47,107,255,.6); }

  /* tables: mono numbers, quiet rules */
  .sc table td, .sc table th { font-variant-numeric: tabular-nums; }
  .sc table th { font-family: var(--fo-mono); font-size: 11px; letter-spacing: .14em; color: #7E8BAD; }
}

@media (prefers-reduced-motion: reduce) { .ins-glow, .led.bad, .led.hot { animation: none !important; } }

/* ===================================================================
   BUILD 790: THE HEADQUARTERS — catch-up, the big board, advisors, and
   Around the League as a reel of games worth caring about.
   =================================================================== */
@media (min-width: 1280px) {
  /* the Front Office IS the home on desktop: the older home below it (its
     availability grid, its tiles and emblems, its long scroll) steps aside.
     Phones and narrow windows still get that home, unchanged. */
  body:has(.sch) .sc-mid > :not(.sch):not(.sc-bar):not(.sc-dock):not(script):not(style):not(link):not(template) { display: none !important; }

  .hq-tag { display: inline-block; font: 700 10px/1 var(--fo-mono); letter-spacing: .18em; color: var(--fo-sap-soft); }
  .t-gold .hq-tag, .hq-tag.t-gold { color: var(--fo-gold); } .t-hot .hq-tag { color: #FF8A8A; } .t-green .hq-tag { color: #6BDB8F; }
  .t-violet .hq-tag, .hq-tag.t-violet { color: #C9A8FF; } .t-dim .hq-tag { color: #7E8BAD; }
  .hq-empty { padding: 14px 2px; font-size: 14px; }

  /* catch-up: one calm line of chips under the headline */
  .hq-catch { display: flex; align-items: stretch; gap: 10px; margin: 6px 0 16px; flex-wrap: wrap; }
  .hq-catch-k { align-self: center; font: 700 10.5px/1.3 var(--fo-mono); letter-spacing: .22em; color: #7E8BAD; width: 108px; }
  .hq-chip { display: flex; flex-direction: column; gap: 3px; min-width: 150px; padding: 10px 14px; border-radius: 12px; text-decoration: none;
    background: linear-gradient(180deg, #0D1427, #070B16); border: 1px solid var(--fo-edge); border-top-color: var(--fo-lit);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05); transition: transform .2s ease, border-color .2s ease; }
  .hq-chip:hover { transform: translateY(-2px); border-color: rgba(143,176,255,.3); }
  .hq-chip .k { font: 600 10px/1 var(--fo-mono); letter-spacing: .18em; color: #7E8BAD; }
  .hq-chip b { font: 700 20px/1.1 var(--fo-mono); color: #FFF; }
  .hq-chip .s { font-size: 12.5px; color: #93A0BE; }
  .hq-chip.t-green b { color: #6BDB8F; } .hq-chip.t-hot b { color: #FF8A8A; } .hq-chip.t-gold b { color: var(--fo-gold); } .hq-chip.t-blue b { color: #C3D4FF; }

  /* the two desks */
  .hq-2 { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; margin: 16px 0; }
  .hq-moves, .hq-adv { position: relative; padding: 16px 18px; border-radius: 14px; background: linear-gradient(180deg, var(--fo-plate), var(--fo-plate2));
    border: 1px solid var(--fo-edge); border-top-color: var(--fo-lit); box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 18px 40px -26px rgba(0,0,0,.9); }
  .hq-moves h2, .hq-adv h2, .hq-th-h h2 { margin: 0 0 10px; font: 600 12px/1 var(--fo-mono) !important; font-style: normal !important; letter-spacing: .22em; color: var(--fo-sap-soft); }
  .hq-moves h2::before, .hq-adv h2::before, .hq-th-h h2::before { content: "› "; color: var(--fo-sap); }
  .hq-moves h2 span, .hq-adv h2 span { margin-left: 10px; letter-spacing: .06em; color: #5E6C8E; text-transform: none; font-weight: 500; }
  .hq-move { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 10px 6px; border-top: 1px solid rgba(255,255,255,.04);
    text-decoration: none; border-radius: 10px; transition: background-color .2s ease; }
  .hq-move:first-of-type { border-top: 0; }
  .hq-move:hover { background: rgba(47,107,255,.06); }
  .hq-move img { width: 40px; height: 40px; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(0,0,0,.6)); }
  .hq-mv-dot { width: 10px; height: 10px; margin: 0 auto; border-radius: 50%; background: var(--fo-sap); box-shadow: 0 0 10px rgba(47,107,255,.7); }
  .t-gold .hq-mv-dot { background: var(--fo-gold); box-shadow: 0 0 10px rgba(255,217,138,.6); } .t-hot .hq-mv-dot { background: #FF5A5A; box-shadow: 0 0 10px rgba(255,90,90,.6); }
  .hq-mv-b { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
  .hq-mv-b b { color: #FFF; font: 700 17px/1.2 "Barlow Condensed", system-ui, sans-serif; font-style: italic; letter-spacing: .01em; }
  .hq-mv-s { font-size: 12.5px; color: #8A97B6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hq-ago { font: 600 10.5px/1 var(--fo-mono); color: #5E6C8E; align-self: start; padding-top: 4px; }
  .hq-pulse { margin-top: 8px; padding-top: 10px; border-top: 1px dashed rgba(143,176,255,.14); font-size: 13px; }
  .hq-pulse a { color: #C6D2EE; text-decoration: none; }

  .hq-idea { position: relative; padding: 12px 12px 10px; margin-top: 10px; border-radius: 12px; background: linear-gradient(180deg, #0A1122, #060A14);
    border: 1px solid rgba(255,255,255,.05); box-shadow: inset 0 2px 8px rgba(0,0,0,.5); }
  .hq-idea:first-of-type { margin-top: 0; }
  .hq-idea-h { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
  .hq-idea-h img { width: 22px; height: 22px; object-fit: contain; } .hq-idea-h b { color: #FFF; font-size: 14px; }
  .hq-swap { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: start; }
  .hq-swap .k { display: block; font: 600 9.5px/1 var(--fo-mono); letter-spacing: .2em; color: #5E6C8E; margin-bottom: 5px; }
  .hq-swap .pl { display: block; font-size: 13.5px; color: #E8EEFC; line-height: 1.5; } .hq-swap .pl em { font-style: normal; font-family: var(--fo-mono); color: var(--fo-gold); margin-left: 4px; }
  .hq-swap .arw { align-self: center; color: var(--fo-sap); font-size: 18px; }
  .hq-why { margin-top: 8px; font-size: 12.5px; color: #93A0BE; line-height: 1.5; }
  .hq-cta { display: inline-block; margin-top: 8px; font: 600 12.5px/1 system-ui, sans-serif; color: #8FB0FF; text-decoration: none; }
  .hq-cta:hover { color: #FFF; }

  /* Around the League: a reel of games, each lit in its two clubs' colours */
  .hq-theater { margin: 18px 0 16px; }
  .hq-th-h { display: flex; align-items: baseline; gap: 14px; margin-bottom: 10px; }
  .hq-th-h h2 { margin: 0 !important; font-size: 13px !important; color: #FFF !important; }
  .hq-th-h span { font: 600 10.5px/1 var(--fo-mono); letter-spacing: .14em; color: #5E6C8E; }
  .hq-th-h a { margin-left: auto; font-size: 12.5px; color: #8FB0FF; text-decoration: none; }
  .hq-reel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 12px; overflow-x: auto; padding: 4px 2px 12px;
    scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .hq-game { scroll-snap-align: start; position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 176px; padding: 14px 16px; border-radius: 16px; text-decoration: none; overflow: hidden;
    background:
      radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--ac) 38%, transparent), transparent 55%),
      radial-gradient(120% 140% at 100% 100%, color-mix(in srgb, var(--hc) 34%, transparent), transparent 55%),
      linear-gradient(180deg, #0C1324, #060A14);
    border: 1px solid rgba(255,255,255,.07); border-top-color: rgba(255,255,255,.18);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 18px 40px -24px rgba(0,0,0,.95);
    transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease; }
  .hq-game::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.06) 50%, transparent 60%);
    transform: translateX(-100%); transition: transform .8s ease; pointer-events: none; }
  .hq-game:hover { transform: translateY(-4px) scale(1.01); box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 28px 50px -24px rgba(0,0,0,.95), 0 0 0 1px rgba(143,176,255,.25); }
  .hq-game:hover::after { transform: translateX(100%); }
  .hq-game.feat { grid-column: span 2; min-height: 200px; }
  .hq-game.is-live { box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 0 0 1px rgba(255,90,90,.45), 0 0 34px -10px rgba(255,90,90,.45); }
  .hq-g-state { display: flex; align-items: center; gap: 8px; font: 700 10.5px/1 var(--fo-mono); letter-spacing: .2em; color: #C6D2EE; }
  .hq-g-state em { font-style: normal; padding: 3px 6px; border-radius: 5px; background: rgba(255,90,90,.18); color: #FF8A8A; letter-spacing: .14em; }
  .hq-g-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
  .hq-g-team { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
  .hq-g-team.r { align-items: flex-end; text-align: right; }
  .hq-g-team img { width: 54px; height: 54px; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(0,0,0,.7)); transition: transform .3s ease; }
  .feat .hq-g-team img { width: 72px; height: 72px; }
  .hq-game:hover .hq-g-team img { transform: scale(1.06); }
  .hq-g-team b { color: #FFF; font: 700 19px/1.05 "Barlow Condensed", system-ui, sans-serif; font-style: italic; text-transform: uppercase; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .feat .hq-g-team b { font-size: 26px; }
  .hq-g-team span { font: 600 11px/1 var(--fo-mono); color: #93A0BE; }
  .hq-g-mid .at { font: 700 14px/1 var(--fo-mono); letter-spacing: .2em; color: #5E6C8E; }
  .hq-g-mid .hq-sc { display: flex; align-items: center; gap: 8px; font: 700 30px/1 var(--fo-mono); color: #93A0BE; }
  .feat .hq-g-mid .hq-sc { font-size: 40px; }
  .hq-g-mid .hq-sc b.w { color: #FFF; text-shadow: 0 0 16px rgba(143,176,255,.45); } .hq-g-mid .hq-sc i { font-style: normal; color: #3A4562; }
  .hq-g-stakes { display: flex; flex-wrap: wrap; gap: 6px; }
  .hq-g-stakes span { padding: 4px 8px; border-radius: 6px; font: 600 10.5px/1 var(--fo-mono); letter-spacing: .06em; color: #E8EEFC;
    background: rgba(5,8,15,.55); border: 1px solid rgba(255,255,255,.08); }
  .hq-g-go { margin-top: auto; font-size: 12.5px; color: #8FB0FF; }

  .ins-sock.sm { width: 58px; height: 58px; border-radius: 14px; }
  .ins-sock.sm img { width: 46px; height: 46px; }
  .sch-more3 a { align-items: center; }
}
@media (min-width: 1280px) and (max-width: 1599px) { .hq-2 { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .hq-game, .hq-game::after { transition: none !important; } }

/* ---------------------------------------------------------------- BUILD 791 --
   Around the League kept the console's own `.sc` class on its score, and the
   console frame's `.sc` rules stretched every card to the height of the page
   (the streaks were the hover sheen drawn down 1,500 px). The score is
   .hq-sc now, and the reel never stretches a card past its content. */
@media (min-width: 1280px) {
  .hq-reel { align-items: stretch; grid-auto-rows: auto; }
  .hq-game { height: auto; max-height: 460px; }
  .hq-g-mid { display: flex; flex-direction: column; align-items: center; gap: 4px; }
  .hq-g-stats { display: flex; flex-direction: column; gap: 6px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.07); position: relative; z-index: 1; }
  .hq-g-k { font: 700 9.5px/1 var(--fo-mono); letter-spacing: .22em; color: #6F7EA3; }
  .hq-star { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .hq-star b { color: #EAF0FF; font-size: 12.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hq-star span { font: 500 11px/1.25 var(--fo-mono); color: #9FB0D6; }
  .hq-keys { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hq-star.r { text-align: right; align-items: flex-end; }
  .hq-tape { display: flex; flex-direction: column; gap: 3px; }
  .hq-tape .tr { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
  .hq-tape .tr b { font: 700 13px/1 var(--fo-mono); color: #93A0BE; }
  .hq-tape .tr b:last-child { text-align: right; }
  .hq-tape .tr b.up { color: #FFF; text-shadow: 0 0 10px rgba(143,176,255,.5); }
  .hq-tape .tr i { font: 600 9px/1 var(--fo-mono); font-style: normal; letter-spacing: .18em; color: #5E6C8E; text-align: center; }
  .hq-lineup { display: flex; align-items: center; gap: 10px; margin: 2px 0 12px; padding: 9px 12px; border-radius: 10px; font-size: 12.5px; color: #E8C978;
    background: rgba(231,194,102,.07); border: 1px solid rgba(231,194,102,.28); text-decoration: none; }
  .hq-lineup.set { color: #9FB0D6; background: rgba(107,219,143,.05); border-color: rgba(107,219,143,.22); }
  .hq-lineup span { margin-left: auto; color: #8FB0FF; white-space: nowrap; font-weight: 700; }
}

/* ---------------------------------------------------------------- BUILD 798 --
   The playoff race and the league leaders on the Front Office home. */
@media (min-width: 1280px) {
  .hq-2b { grid-template-columns: 1fr 1fr; }
  .hq-race h2, .hq-lead h2 { margin: 0 0 10px; font: 700 12px/1 var(--fo-mono); letter-spacing: .24em; color: #8FB0FF; }
  .hq-race h2 span, .hq-lead h2 span { margin-left: 8px; color: #5E6C8E; letter-spacing: .08em; font-weight: 500; text-transform: none; }
  .hq-race, .hq-lead { display: flex; flex-direction: column; }
  .hq-race-c { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .hq-conf-h { font: 800 italic 18px/1 "Barlow Condensed", system-ui, sans-serif; color: #fff; margin-bottom: 6px; }
  .hq-rr { display: grid; grid-template-columns: 18px 22px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 5px 6px; border-radius: 7px;
    text-decoration: none; color: #93A0BE; font-size: 13px; border-bottom: 1px solid rgba(255,255,255,.04); }
  .hq-rr img { width: 22px; height: 22px; object-fit: contain; grid-column: 2; }
  .hq-rr .sd { grid-column: 1; } .hq-rr b { grid-column: 3; } .hq-rr .rec { grid-column: 4; }
  .hq-rr b { color: #C6D2EE; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hq-rr.in b { color: #fff; }
  .hq-rr .sd { font: 700 11px/1 var(--fo-mono); color: #E7C266; text-align: center; }
  .hq-rr em { display: inline-block; vertical-align: 2px; margin-left: 4px; font: 700 9px/1 var(--fo-mono); font-style: normal; letter-spacing: .1em; color: #6BDB8F; border: 1px solid rgba(107,219,143,.4); border-radius: 4px; padding: 2px 4px; }
  .hq-rr .rec { font: 600 12px/1 var(--fo-mono); color: #C6D2EE; text-align: right; min-width: 44px; }
  .hq-rr.mine { background: rgba(47,107,255,.14); }
  .hq-rr.cut { border-bottom: 1px dashed rgba(231,194,102,.6); }
  .hq-rr:hover { background: rgba(143,176,255,.08); }
  .hq-lead-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .hq-lb { border: 1px solid rgba(143,176,255,.12); border-radius: 10px; padding: 9px 10px; background: rgba(6,11,24,.5); min-width: 0; }
  .hq-lb-k { font: 700 9.5px/1 var(--fo-mono); letter-spacing: .18em; color: #6F7EA3; margin-bottom: 6px; }
  .hq-lr { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 6px; align-items: center; padding: 3px 0; text-decoration: none; color: #93A0BE; font-size: 12px; }
  .hq-lr img { width: 18px; height: 18px; object-fit: contain; grid-column: 1; }
  .hq-lr .n { grid-column: 2; } .hq-lr b { grid-column: 3; }
  .hq-lr .n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hq-lr b { font: 700 12px/1 var(--fo-mono); color: #C6D2EE; }
  .hq-lr.top .n { color: #fff; font-weight: 700; } .hq-lr.top b { color: #E7C266; }
}
@media (min-width: 1280px) and (max-width: 1599px) { .hq-2b { grid-template-columns: 1fr; } }
