/* ===================================================================
   Heating Up: the desktop chrome, shared by every page.
   Added October 30, 2026.

   The 90s-desktop treatment (brushed title bar, glossy Aqua tabs) only
   existed on HQ. Every other page carried a plain text nav, so moving
   between them felt like leaving the site. This file is the one copy of
   that chrome. It is linked AFTER each page's inline <style>, so where a
   page already had its own version of these rules this file wins.

   Three things it does:
     1. the same bar on all seven pages
     2. the bar runs the full width of the window, not the 1140px column
     3. the bar, and the news tickers above it, stay put while you scroll

   Desktop only. Under 820px the nav is hidden and the fixed bottom tab bar
   takes over, so nothing here sticks and nothing reserves space.
   =================================================================== */

.topdock{ position:relative; z-index:90; }

@media (min-width:821px){
  /* The whole block freezes as one: tickers first, then the title bar, then
     the tabs. Sticky rather than fixed, so the page below it is not pushed
     under the bar and no padding has to be kept in sync with the bar height. */
  .topdock{
    position:sticky; top:0;
    background:#0B0A0E;
    box-shadow:0 10px 24px rgba(0,0,0,.55);
  }

  /* --- the tickers --- */
  .topdock .rails{ z-index:auto; }

  /* --- the title bar --- */
  .topdock .winbar{
    max-width:none; width:100%; margin:0;
    height:30px; display:flex; align-items:center; gap:10px; padding:0 16px;
    position:relative; z-index:3; overflow:hidden;
    background:url(/heatingup/img/brushed-metal.png) center/300px 300px;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.45), inset 0 -2px 0 rgba(0,0,0,.75);
  }
  .topdock .winbar::before{ content:""; position:absolute; inset:0;
    background:linear-gradient(180deg, rgba(120,124,138,.55), rgba(24,22,28,.88)); }
  .topdock .winbar .orbs{ position:relative; display:flex; gap:7px; }
  .topdock .winbar .orb{ width:13px; height:13px; border-radius:50%;
    box-shadow:inset 0 1px 1px rgba(255,255,255,.75), 0 1px 1px rgba(0,0,0,.8); }
  .topdock .winbar .orb.r{ background:radial-gradient(circle at 34% 28%, #ff9a9e, #cb2027 46%, #6d0f14); }
  .topdock .winbar .orb.g{ background:radial-gradient(circle at 34% 28%, #ffe89a, #c9a227 48%, #6b5410); }
  .topdock .winbar .orb.c{ background:radial-gradient(circle at 34% 28%, #b6f3fb, #2fc2d4 48%, #0c5b66); }
  .topdock .winbar .pin{ position:relative; flex:1; height:11px;
    background:repeating-linear-gradient(180deg, rgba(255,255,255,.20) 0 1px, transparent 1px 3px); }
  .topdock .winbar .ttl{ position:relative; white-space:nowrap;
    font-family:var(--f-arcade), var(--f-mono), monospace; font-size:13px; color:#E6E0D2;
    font-palette:--SixBone; font-variation-settings:"BLED" 8,"SCAN" -44,"XELA" 0,"YELA" 0; }
  .topdock .winbar .box{ position:relative; width:15px; height:15px;
    background:linear-gradient(180deg,#6a6675,#332f3b);
    box-shadow:inset 1px 1px 0 rgba(255,255,255,.35), inset -1px -1px 0 rgba(0,0,0,.85); }

  /* --- the tabs --- */
  .topdock nav{
    display:flex; align-items:flex-end; gap:0; flex-wrap:wrap;
    margin:0; padding:0 16px; width:100%; max-width:none;
    background:#100F13; border-bottom:3px solid var(--red);
  }
  .topdock nav .brand{ align-self:center; margin-right:18px; }
  .topdock nav a{
    position:relative; overflow:hidden; text-decoration:none;
    border:0; border-radius:9px 9px 0 0; margin:0 2px -3px; padding:11px 18px 9px;
    font-family:var(--f-mono); font-size:.72rem; font-weight:600;
    letter-spacing:.14em; text-transform:uppercase; white-space:nowrap;
    background:linear-gradient(180deg,#5d5a67 0%,#3c3944 46%,#282530 52%,#3f3c47 100%);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.32); color:#C6BFB2;
  }
  .topdock nav a::before{ content:""; position:absolute; left:3px; right:3px; top:2px;
    height:11px; border-radius:6px;
    background:linear-gradient(180deg, rgba(255,255,255,.32), rgba(255,255,255,.01)); }
  .topdock nav a:hover{ color:var(--bone); }
  .topdock nav a:focus-visible{ outline:3px solid var(--brass); outline-offset:-3px; }
  .topdock nav a[aria-current]{
    background:linear-gradient(180deg,#ef5a60 0%,#cb2027 46%,#8d1218 52%,#c8252c 100%);
    color:#FFF4E8; box-shadow:inset 0 1px 0 rgba(255,255,255,.75); padding-bottom:12px;
  }

  /* HQ used to hang the bar over the page with a negative bottom margin and
     an 18px top margin. In the dock it is flush. */
  .topdock + .shell{ padding-top:26px; }

  /* The account chip is pinned to the ticker on some pages; it must not end
     up under the dock now that the dock is the top of the window. */
  .topdock .rail > .win{ padding-right:186px; }
}

@media (max-width:820px){
  /* The bottom tab bar is the navigation on a phone. */
  .topdock{ position:static; box-shadow:none; }
  .topdock .winbar{ display:none; }
  .topdock nav{ display:none; }
}

@media (prefers-reduced-motion:reduce){
  .topdock .rail .trk{ animation:none; }
}

/* ===================================================================
   The wire, added October 30, 2026.

   One ticker, the same on all seven pages, above the menu and frozen with
   it. It used to exist on HQ and News only (two rails there, Wiretap and
   Chicago) with a third, different one on the Bulls page. Those are gone:
   one rail, one look, everywhere.

   These rules live here because four of the seven pages never carried any
   .rail styling at all, so the markup alone would have rendered unstyled.
   Pages that have their own copy are overridden by this file, which is
   linked after their inline <style>.
   =================================================================== */
.rails{ position:relative; z-index:3; }
.rail{ display:flex; align-items:stretch; overflow:hidden;
  background:var(--deck); border-bottom:1px solid var(--rule); }
.rail:first-child{ border-top:3px solid var(--red); }
.rail .tag{ flex:none; display:flex; align-items:center; gap:8px; padding:8px 13px 6px;
  font-family:var(--f-disp); font-weight:900; font-size:.95rem;
  letter-spacing:.07em; text-transform:uppercase;
  background:var(--bone); color:var(--night); }
/* Dropped once real stories land; see js/wire.js. */
.rail .tag .smp{ font-family:var(--f-mono); font-size:.5rem; font-weight:600;
  letter-spacing:.12em; padding:2px 5px; border:1px solid currentColor; opacity:.75; }
.rail .win{ flex:1; overflow:hidden; white-space:nowrap; }
.rail .trk{ display:inline-flex; gap:34px; padding:9px 20px;
  animation:slide 62s linear infinite; }
.rail .trk span{ flex:none; font-family:var(--f-mono); font-size:.76rem;
  letter-spacing:.06em; color:var(--dim); text-transform:uppercase; }
.rail .trk span b{ color:var(--brass); font-weight:600; }
.rail .trk a{ color:inherit; text-decoration:none; }
.rail .trk a:hover{ text-decoration:underline; }
@keyframes slide{ from{ transform:translateX(0) } to{ transform:translateX(-50%) } }
@media (prefers-reduced-motion:reduce){ .rail .trk{ animation:none; } }
/* The account chip is pinned top right; keep the headlines out from under it. */
.rail > .win{ padding-right:186px; }
@media (max-width:820px){ .rail > .win{ padding-right:52px; } }
