/* Shared stylesheet for every page. Injected into each page's <head> after
   the page's own <style> (see _SITE_ASSETS in app.py), so on a tie these
   rules win. Put site-wide styling here, not in 13 copies. */

/* Nav: wraps instead of forcing the page wider than the screen (its 10
   links are ~790px on one line). */
.nav { flex-wrap: wrap; }

/* Auto-linked "nflverse" mentions (site.js): same look as the text around
   them, just underlined, so nothing shifts when the links appear. */
a.nflverse-link { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ---- Site banner (built by _site_nav_html in app.py) ---------------------
   This Week | Teams | Odds & Ratings | Nerd Stats | About. Computers: each
   group drops down (hover or click). Phones: the Menu button opens the
   groups as tap-to-expand sections. Selectors are two classes deep so they
   beat each page's own ".nav a" rules. */
.site-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.site-nav .nav-group { position: relative; }
.site-nav .nav-top {
  font: inherit; font-size: 13.5px; font-weight: 600; letter-spacing: .3px; color: #b7c9bf;
  background: none; border: 0; padding: 6px 14px; border-radius: 6px; cursor: pointer;
}
.site-nav .nav-top:hover, .site-nav .nav-group.open > .nav-top { color: var(--chalk, #f5f3ec); background: rgba(255,255,255,.08); }
.site-nav .nav-group.active > .nav-top, .site-nav > a.nav-link.active { color: var(--field, #0b3d2e); background: var(--accent, #e8a33d); }
.site-nav .nav-caret { font-size: 10px; opacity: .8; margin-left: 2px; }
/* The Simulator link's sparkle (Jonny, 2026-10-22: "a little sparkle or motion to catch the eye"). Every 6 s a gold
   shine runs across the word; the star before it flares as the shine sets off and a tiny one winks above the end as it
   leaves. Still the rest of the time; none of it on the simulator's own page (lit) or under reduced motion. */
.site-nav > a.nav-sim { position: relative; display: inline-flex; align-items: center; gap: 5px; }
.nav-sim .sim-spark { width: 11px; height: 11px; flex: none; fill: var(--accent, #e8a33d);
  filter: drop-shadow(0 0 3px rgba(232,163,61,.65)); animation: simTwinkle 6s ease-in-out infinite; }
.nav-sim .sim-spark2 { position: absolute; top: 1px; right: 7px; width: 7px; height: 7px; fill: #ffe2a6;
  filter: drop-shadow(0 0 3px rgba(255,214,140,.9)); opacity: 0; animation: simWink 6s ease-in-out infinite; }
.site-nav > a.nav-sim:not(.active) .sim-word {
  background: linear-gradient(100deg, var(--sim-ink, #b7c9bf) 0 40%, #fff1cf 48%, #ffd27f 52%, var(--sim-ink, #b7c9bf) 60% 100%);
  background-size: 260% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: simShine 6s ease-in-out infinite; }
.site-nav > a.nav-sim:not(.active):hover .sim-word { animation: none; background: none; color: var(--chalk, #f5f3ec); }
.site-nav > a.nav-sim.active .sim-spark { fill: currentColor; filter: none; animation: none; }
.site-nav > a.nav-sim.active .sim-spark2 { display: none; }
@keyframes simShine { 0%, 60% { background-position: 100% 0; } 82%, 100% { background-position: 0 0; } }
@keyframes simTwinkle {
  0%, 56%, 100% { transform: scale(.85) rotate(0); }
  64% { transform: scale(1.45) rotate(45deg); filter: drop-shadow(0 0 7px rgba(255,214,140,1)); }
  74% { transform: scale(.9) rotate(90deg); }
}
@keyframes simWink { 0%, 76%, 100% { opacity: 0; transform: scale(0); } 82% { opacity: 1; transform: scale(1) rotate(45deg); } 90% { opacity: 0; transform: scale(.2) rotate(90deg); } }
@media (prefers-reduced-motion: reduce) {
  .nav-sim .sim-spark, .nav-sim .sim-spark2, .site-nav > a.nav-sim .sim-word { animation: none !important; }
}
.site-nav .nav-panel {
  display: none; position: absolute; top: 100%; left: 0; z-index: 60; margin-top: 6px;
  background: #fff; color: var(--ink, #14201b); border-radius: 12px; padding: 14px 16px; min-width: 220px;
  box-shadow: 0 16px 40px rgba(0,0,0,.28);
}
.site-nav .nav-group.open > .nav-panel { display: block; }
.site-nav .nav-group:last-child .nav-panel { left: auto; right: 0; }
/* The Teams grid anchors to the banner's left edge (not its button) and
   never gets wider than the window, so narrow laptop windows don't clip it. */
.site-nav { position: relative; }
.site-nav .nav-wide { position: static; }
.site-nav .nav-wide.open > .nav-panel {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; width: min(880px, calc(100vw - 48px));
}
.site-nav .nav-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 18px; }
.site-nav .nav-side { border-left: 1px solid #eee9dc; padding-left: 18px; min-width: 150px; }
.site-nav .nav-head {
  font-size: 11px; font-weight: 700; color: #7c8a83; text-transform: uppercase; letter-spacing: .5px;
  border-bottom: 1px solid #e4e0d5; padding-bottom: 4px; margin-bottom: 4px; white-space: nowrap;
}
/* A second or third group in one menu (Nerd Stats: League Stats, then Fantasy, then Super Nerd) starts
   after a clear gap, so its heading reads as a heading and not as a footer of the group above. */
.site-nav .nav-panel a + .nav-head, .site-nav .nav-panel .nav-fantasy:not(:first-child), .site-nav .nav-panel .nav-fantasy + .nav-head { margin-top: 14px; }
.site-nav .nav-panel a {
  display: block; color: var(--ink, #14201b); background: none; padding: 5px 6px; border-radius: 6px;
  font-size: 14px; font-weight: 600; letter-spacing: 0; text-decoration: none; white-space: nowrap;
}
/* Division headings in the Teams menu link to that division on Standings. */
.site-nav .nav-panel a.nav-head {
  display: block; font-size: 11px; font-weight: 700; color: #7c8a83; padding: 0 0 4px; border-radius: 0;
  letter-spacing: .5px;
}
.site-nav .nav-panel a.nav-head:hover { color: var(--accent-deep, #b9741f); background: none; }
.site-nav .nav-panel a:hover { background: #f2f5f2; color: var(--accent-deep, #b9741f); }
.site-nav .nav-panel a.nav-team { display: flex; align-items: center; gap: 8px; }
.site-nav .nav-team span { white-space: nowrap; }
.site-nav .nav-sheet-bar { display: none; }   /* phone full-screen sheet only */
/* "My team" pinned next to This Week (set via the star on a team's Overview). */
.site-nav a.nav-myteam { display: inline-flex; align-items: center; gap: 6px; }
.site-nav a.nav-myteam[hidden] { display: none !important; }   /* beats the phone menu's display:flex */
.site-nav a.nav-myteam img { width: 20px; height: 20px; object-fit: contain; }
.site-nav .nav-team img.lg-dark { display: none; }   /* dark-background logos: phone sheet only */
.site-nav .nav-team img { width: 22px; height: 22px; object-fit: contain; flex: none; }

/* Universal search: right end of the banner on computers; first item in
   the phone menu. Results drop below the box. */
.site-nav .nav-search { position: relative; margin-left: auto; }
.site-nav .nav-search input {
  font: inherit; font-size: 14px; width: 250px; padding: 7px 11px; border-radius: 8px;
  color: var(--chalk, #f5f3ec); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
}
.site-nav .nav-search input::placeholder { color: #b7c9bf; }
.site-nav .nav-search input:focus { outline: none; border-color: var(--accent, #e8a33d); background: rgba(255,255,255,.14); }
.site-nav .nav-results {
  position: absolute; right: 0; top: 100%; margin-top: 6px; z-index: 70; width: 360px; max-height: 70vh; overflow-y: auto;
  background: #fff; color: #14201b; border-radius: 12px; box-shadow: 0 16px 40px rgba(0,0,0,.28); padding: 6px;
}
/* The list is white on every look, so its ink is fixed: the dark looks re-point
   --ink to near-white and the names vanished on them (Jonny, 2026-10-13). */
.site-nav .nav-results[hidden] { display: none; }
.site-nav .nav-hit {
  display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 8px;
  color: #14201b; text-decoration: none;
}
.site-nav .nav-hit.sel, .site-nav .nav-hit:hover { background: #f2f5f2; }
.site-nav .nav-hit img, .site-nav .nav-hit .ph {
  width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none; background: #eef1ee;
}
.site-nav .nav-hit.team img { object-fit: contain; border-radius: 0; background: none; }
.site-nav .nav-hit.page .ph { display: grid; place-items: center; background: var(--accent, #e8a33d); color: var(--field, #0b3d2e); font-size: 22px; font-weight: 800; line-height: 1; padding-bottom: 3px; }
.site-nav .nav-hit .t { font-size: 14px; font-weight: 700; line-height: 1.2; }
.site-nav .nav-hit .m { font-size: 12px; color: #7c8a83; }
.site-nav .nav-noresults { padding: 10px; font-size: 13px; color: #7c8a83; }

/* The ☰ Menu button only exists on phones. */
.nav-toggle { display: none; }

/* Wide tables scroll inside this box (site.js wraps any table that doesn't
   fit its container), so the page itself never gets wider than the screen. */
.tscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }

/* Charts: reserve each canvas's final shape before Chart.js draws it, so
   nothing below jumps when the data arrives (CLS). Matches Chart.js's own
   2:1 default, and the 1.1 phone default set in site.js. Charts with a
   fixed-height box (maintainAspectRatio: false) get inline sizes from
   Chart.js, which override this. */
canvas { display: block; width: 100%; aspect-ratio: 2; }

@media (max-width: 640px) {
  canvas { aspect-ratio: 1.1; }
  header { padding: 14px 16px 16px; }
  .wrap { padding-left: 14px; padding-right: 14px; }
  h1 { flex-wrap: wrap; }

  .nav-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    font: inherit; font-size: 15px; font-weight: 700; letter-spacing: .3px;
    color: var(--chalk); background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2); border-radius: 8px;
    padding: 8px 14px; min-height: 42px; margin-bottom: 12px; cursor: pointer;
  }
  .nav-toggle .bars { font-size: 18px; line-height: 1; }
  /* Phone menu: This Week, then each group as a full-width row that
     expands in place (accordion); panels become part of the dark menu. */
  .nav { display: none; }
  header.nav-open .site-nav { display: flex; flex-direction: column; align-items: stretch; gap: 6px; margin-bottom: 14px; }
  header.nav-open .site-nav > a.nav-link.nav-myteam:not([hidden]) { justify-content: flex-start; gap: 10px; }
  header.nav-open .site-nav > a.nav-link.nav-sim { justify-content: flex-start; gap: 8px; --sim-ink: var(--chalk, #f5f3ec); }
  header.nav-open .site-nav > a.nav-sim .sim-spark2 { right: auto; left: 104px; top: 6px; }
  .site-nav .nav-search { order: -1; margin: 0 0 4px; }
  .site-nav .nav-search input { width: 100%; font-size: 16px; padding: 11px 12px; }   /* 16px: no iOS zoom */
  .site-nav .nav-results { position: static; width: auto; max-height: none; margin-top: 6px; }
  header.nav-open .site-nav > a.nav-link,
  header.nav-open .site-nav .nav-top {
    display: flex; justify-content: space-between; align-items: center; width: 100%; text-align: left;
    padding: 11px 12px; font-size: 15px; border-radius: 8px;
  }
  header.nav-open .site-nav > a.nav-link:not(.active),
  header.nav-open .site-nav .nav-group:not(.active) > .nav-top { background: rgba(255,255,255,.07); color: var(--chalk, #f5f3ec); }
  header.nav-open .site-nav .nav-group.open .nav-caret { transform: rotate(180deg); }
  .site-nav .nav-panel, .site-nav .nav-wide.open > .nav-panel {
    position: static; width: auto; min-width: 0; margin: 4px 0 2px; padding: 8px 10px;
    background: rgba(255,255,255,.05); color: var(--chalk, #f5f3ec); box-shadow: none; border-radius: 8px;
  }
  /* Teams on a phone: a full-screen sheet, like an app, instead of an
     inline list -- room for logos WITH names, one division per row. The
     bar at the top stays put while it scrolls; ✕ (or Esc) closes it. */
  .site-nav .nav-wide.open > .nav-panel {
    display: block; position: fixed; inset: 0; z-index: 200; margin: 0; border-radius: 0;
    overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 0 16px 32px;
    background: linear-gradient(160deg, var(--field, #0b3d2e), var(--field-deep, #072418));
  }
  html:has(.site-nav .nav-wide.open) body { overflow: hidden; }
  .site-nav .nav-sheet-bar {
    display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 1;
    margin: 0 -16px 10px; padding: 14px 16px; background: var(--field, #0b3d2e); border-bottom: 2px solid var(--accent, #e8a33d);
    font-size: 18px; font-weight: 700; color: var(--chalk, #f5f3ec);
  }
  .site-nav .nav-sheet-close {
    font: inherit; font-size: 26px; line-height: 1; color: var(--chalk, #f5f3ec); background: rgba(255,255,255,.1);
    border: 0; border-radius: 8px; width: 42px; height: 42px; cursor: pointer;
  }
  .site-nav .nav-grid { grid-template-columns: 1fr; gap: 12px; }
  .site-nav .nav-div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px 4px; }
  .site-nav .nav-div .nav-head { grid-column: 1 / -1; }
  .site-nav .nav-panel a.nav-team {
    flex-direction: column; justify-content: center; gap: 5px; padding: 8px 0;
    font-size: 12px; letter-spacing: -.1px; text-align: center;
  }
  .site-nav .nav-team span { white-space: nowrap; }   /* "Commanders" fits at 360px */
  .site-nav .nav-team img { width: 42px; height: 42px; }
  .site-nav .nav-team img.lg-light { display: none; }
  .site-nav .nav-team img.lg-dark { display: block; }
  .site-nav .nav-side { border-left: 0; padding-left: 0; margin-top: 10px; }
  .site-nav .nav-head { color: #b7c9bf; border-bottom-color: rgba(255,255,255,.15); }
  .site-nav .nav-panel a.nav-head { color: #b7c9bf; }
  .site-nav .nav-panel a { color: var(--chalk, #f5f3ec); font-size: 15px; padding: 8px 6px; }
  .site-nav .nav-panel a:hover { background: rgba(255,255,255,.08); color: var(--accent, #e8a33d); }

  /* Team pills (Overview / Roster / Schedule / History / Coaches): one
     row that swipes sideways when it doesn't fit (beside a team logo it
     can't); site.js scrolls the current page's pill into view. */
  .team-nav { gap: 4px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
  .team-nav::-webkit-scrollbar { display: none; }
  /* The column holding the pills (beside the logo) must be allowed to
     shrink, or the one-row nav widens the whole page instead of swiping. */
  *:has(> .team-nav) { min-width: 0; }
  .team-nav a, .team-nav span { padding: 4px 8px; font-size: 12px; flex: none; }

  /* iOS zooms the whole page in when you tap a control under 16px. */
  select, input, textarea, button { font-size: 16px; }
}

/* ---- Zoom views: shared by This Week (live overview) and Standings
   (division zoom). The round zoom button, the gear and its menu, the
   self-hosted scoreboard fonts (OFL, static/fonts) and the page
   backgrounds of the four looks (body classes lk-*; zv-on while zoomed,
   zv-dark for the three dark looks; tl-on / tl-dark for This Week's
   game cards, which take the same look). Page-specific parts stay in each
   page's own <style>. ---- */
  @font-face { font-family:"Teko"; src:url(/static/fonts/teko.woff2) format("woff2"); font-weight:300 700; font-display:swap; }
  @font-face { font-family:"Barlow Semi Condensed"; src:url(/static/fonts/barlow-sc-700.woff2) format("woff2"); font-weight:700; font-display:swap; }
  @font-face { font-family:"Barlow Semi Condensed"; src:url(/static/fonts/barlow-sc-700i.woff2) format("woff2"); font-weight:700; font-style:italic; font-display:swap; }
  :root { --zv-fg:var(--chalk); --zv-dim:#a9bdb3; --field-deep:#072418; }
  body { transition:background-color .35s; }
  body.zv-on.zv-dark, body.tl-dark { color:var(--chalk); }
  body.zv-on.lk-original, body.tl-on.lk-original { --zv-fg:var(--ink); --zv-dim:var(--muted); }
  body.zv-on.lk-stadium, body.tl-on.lk-stadium { background:
      repeating-linear-gradient(90deg, transparent 0 79px, rgba(255,255,255,.04) 79px 80px),
      radial-gradient(120% 40% at 50% 0%, rgba(255,236,190,.08), transparent 60%), var(--field-deep); }
  body.zv-on.lk-broadcast, body.tl-on.lk-broadcast { background:var(--field-deep); }
  body.zv-on.lk-night, body.tl-on.lk-night { background:
      radial-gradient(60% 30% at 0% 0%, rgba(255,222,160,.11), transparent 70%),
      radial-gradient(60% 30% at 100% 0%, rgba(255,222,160,.11), transparent 70%), var(--tm-ink, #03160e); }
  .zv-gear { width:32px; height:32px; border-radius:50%; flex:none; display:inline-flex; align-items:center; justify-content:center; padding:0;
    background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.18); color:var(--zv-fg); cursor:pointer;
    transition:transform .35s cubic-bezier(.3,.8,.3,1), background .2s; }
  .zv-gear.solo { margin-left:auto; }
  .lk-original .zv-gear { background:#fff; border-color:#ddd7c8; color:var(--field); }
  .zv-gear svg { width:18px; height:18px; }
  .zv-gear[aria-expanded="true"] { transform:rotate(60deg); background:rgba(var(--accent-rgb, 232,163,61),.22); border-color:var(--accent); }
  .zv-pop { position:absolute; right:0; top:calc(100% + 8px); z-index:30; width:236px; padding:8px; border-radius:14px;
    background:rgba(var(--tm-pop-rgb, 8,32,23),.95); border:1px solid rgba(var(--accent-rgb, 232,163,61),.3); color:var(--chalk);
    -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px); box-shadow:0 18px 40px rgba(0,0,0,.45);
    transform-origin:top right; animation:zvPop .22s cubic-bezier(.3,.8,.3,1); }
  @keyframes zvPop { from { opacity:0; transform:scale(.92) translateY(-4px); } }
  .lk-original .zv-pop { background:#fff; color:var(--ink); border-color:#e4e0d5; box-shadow:0 18px 40px rgba(11,61,46,.18); }
  .zv-pop .zv-ph { font-size:10.5px; font-weight:800; letter-spacing:1.3px; text-transform:uppercase; color:var(--accent); padding:4px 8px 6px; }
  .zv-pop button { display:flex; align-items:center; gap:10px; width:100%; font:inherit; font-size:14px; font-weight:700; color:inherit;
    background:none; border:0; border-radius:10px; padding:7px 8px; cursor:pointer; text-align:left; }
  .zv-pop button:hover { background:rgba(255,255,255,.07); }
  .lk-original .zv-pop button:hover { background:#f4f1e6; }
  .zv-pop button[aria-checked="true"] { background:rgba(var(--accent-rgb, 232,163,61),.16); }
  .zv-sw { width:38px; height:24px; border-radius:6px; flex:none; box-shadow:inset 0 0 0 1px rgba(255,255,255,.25); }
  .zv-sw.original { background:linear-gradient(135deg, #fbfaf6 0 58%, #e8a33d 58% 66%, #fff 66%); box-shadow:inset 0 0 0 1px #d9d4c6; }
  .zv-sw.stadium { background:linear-gradient(135deg, #c0503f 0 28%, #0f4232 28% 72%, #4495d2 72%); }
  .zv-sw.broadcast { background:linear-gradient(90deg, #e8a33d 0 30%, #155039 30%); border-bottom:5px solid #04170f; }
  .zv-sw.night { background:radial-gradient(circle at 18% 15%, rgba(255,222,160,.75), transparent 55%), #03160e; }
  .zv-pop .zv-nm { flex:1; }
  .zv-pop .zv-ck { width:16px; color:var(--accent); font-size:15px; }
  .zv-pop .zv-note { margin:6px 8px 2px; padding-top:8px; border-top:1px solid rgba(255,255,255,.12); font-size:12px; line-height:1.4; font-weight:500; opacity:.75; }
  .lk-original .zv-pop .zv-note { border-top-color:#ece8dc; }
  /* The zoom button: a small frosted circle, bottom right */
  .zv-fab { position:fixed; z-index:40; right:18px; bottom:calc(20px + env(safe-area-inset-bottom, 0px));
    width:54px; height:54px; border-radius:50%; display:flex; align-items:center; justify-content:center; cursor:pointer;
    border:1px solid rgba(255,255,255,.55); background:rgba(11,61,46,.55); color:var(--chalk);
    -webkit-backdrop-filter:blur(14px) saturate(1.4); backdrop-filter:blur(14px) saturate(1.4);
    box-shadow:0 8px 24px rgba(7,36,24,.35); view-transition-name:zv-fab; transition:transform .15s, background .2s; }
  .zv-fab:active { transform:scale(.92); }
  body.zv-on.zv-dark .zv-fab, body.tl-dark .zv-fab { background:rgba(245,243,236,.18); border-color:rgba(255,255,255,.35); }
  .zv-fab svg { width:24px; height:24px; }
  .zv-fab.zv-intro::before { content:""; position:absolute; inset:-2px; border-radius:50%; border:2px solid var(--accent); animation:zvRing 1.6s ease-out 3; }
  @keyframes zvRing { 0% { transform:scale(1); opacity:.9; } 100% { transform:scale(1.7); opacity:0; } }
  .zv-hint { position:fixed; z-index:39; right:82px; bottom:calc(32px + env(safe-area-inset-bottom, 0px));
    background:var(--ink); color:var(--chalk); font-size:12.5px; font-weight:700; padding:7px 11px; border-radius:8px;
    box-shadow:0 6px 18px rgba(0,0,0,.25); opacity:0; transform:translateX(8px); pointer-events:none; transition:opacity .35s, transform .35s; }
  .zv-hint.show { opacity:1; transform:none; }
  ::view-transition-group(*) { animation-duration:.5s; animation-timing-function:cubic-bezier(.2,.85,.25,1); }
  ::view-transition-old(*.card), ::view-transition-new(*.card) { height:100%; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration:.35s; }

/* ---- The look, site-wide (stage 1). Every page but This Week (which styles
   its own cards) follows nerdfl.siteLook: html.sl-dark plus sl-stadium /
   sl-broadcast / sl-night, set before the first paint (_SITE_ASSETS). The
   pages' own colour variables are re-pointed here; their light lines and
   tints are var(--ln-*, ...) / var(--tint-*, ...) with Daytime's colour as
   the fallback, so Daytime is untouched. Charts: muted labels (site.js). ---- */
html.sl-dark {
  color-scheme: dark;
  --paper:#072418; --row:#0f3a2b; --ink:#f5f3ec; --muted:#a9bdb3; --accent-deep:#e8a33d;
  --field-ink:#f5f3ec; --field-line:rgba(255,255,255,.22); --neutral:#5f7a6d; --row-alt:rgba(255,255,255,.04);
  --ln-1:rgba(255,255,255,.08); --ln-1b:rgba(255,255,255,.05); --ln-1c:rgba(255,255,255,.07);
  --ln-2:rgba(255,255,255,.16); --ln-2b:rgba(255,255,255,.12); --ln-2c:rgba(255,255,255,.14);
  --ln-3:rgba(255,255,255,.12); --ln-3b:rgba(255,255,255,.12); --ln-3c:rgba(255,255,255,.1); --ln-3d:rgba(255,255,255,.1);
  --ln-4:rgba(var(--accent-rgb, 232,163,61),.3); --ln-5:rgba(255,255,255,.2); --ln-5b:rgba(255,255,255,.2);
  --tint-1:rgba(var(--accent-rgb, 232,163,61),.16); --tint-2:rgba(var(--accent-rgb, 232,163,61),.1); --tint-3:rgba(var(--accent-rgb, 232,163,61),.12); --tint-4:rgba(255,255,255,.04); --tint-5:rgba(255,255,255,.06);
  --bg-soft:rgba(255,255,255,.05); --bg-warm:rgba(var(--accent-rgb, 232,163,61),.1); --ln-soft:rgba(255,255,255,.12);
  --tx-1:#eef2ee; --tx-2:#c3d2ca;
  --up:#5fd08f; --win:#5fd08f; --td:#5fd08f; --down:#ff8a74; --loss:#ff8a74; --bad:#ff8a74; --live:#ff8a74;
}
html.sl-stadium { --row:#0f4232; }
html.sl-broadcast { --row:#0e3326; --paper:#04170f; }
html.sl-night { --row:#082b1f; --paper:#03160e; }
html.sl-stadium body { background:
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(255,255,255,.035) 79px 80px),
    radial-gradient(120% 40% at 50% 0%, rgba(255,236,190,.07), transparent 60%), var(--field-deep, #072418); }
html.sl-broadcast body { background:var(--tm-ink, #04170f); }
html.sl-night body { background:
    radial-gradient(60% 30% at 0% 0%, rgba(255,222,160,.1), transparent 70%),
    radial-gradient(60% 30% at 100% 0%, rgba(255,222,160,.1), transparent 70%), var(--tm-ink, #03160e); background-attachment:fixed; }
html.sl-dark body { color:var(--ink); }
html.sl-dark select, html.sl-dark input:not([type=checkbox]):not([type=radio]):not([type=range]), html.sl-dark textarea {
  background-color:rgba(255,255,255,.07); color:var(--chalk, #f5f3ec); border-color:rgba(255,255,255,.22); }
html.sl-dark select option { background:var(--tm-pop, #0b2f22); color:#f5f3ec; }
html.sl-dark a { color:inherit; }
html.sl-dark ::selection { background:rgba(var(--accent-rgb, 232,163,61),.35); }
/* Desktop dropdowns: dark panels. */
html.sl-dark .site-nav .nav-panel { background:var(--tm-pop, #0b2f22); color:#f5f3ec; box-shadow:0 16px 40px rgba(0,0,0,.5); border:1px solid rgba(var(--accent-rgb, 232,163,61),.25); }
html.sl-dark .site-nav .nav-panel a { color:#f5f3ec; }
html.sl-dark .site-nav .nav-panel a:hover { background:rgba(255,255,255,.07); color:var(--accent, #e8a33d); }
html.sl-dark .site-nav .nav-head, html.sl-dark .site-nav .nav-panel a.nav-head { color:#a9bdb3; border-bottom-color:rgba(255,255,255,.12); }
html.sl-dark .site-nav .nav-side { border-left-color:rgba(255,255,255,.12); }
html.sl-dark .site-nav .nav-team img.lg-light { display:none; }
html.sl-dark .site-nav .nav-team img.lg-dark { display:block; }
/* Look-specific touches on the big surfaces. */
html.sl-night header { background:linear-gradient(160deg, #062a1d, #021209); }
html.sl-broadcast header { background:var(--tm-ink, #04170f); }

/* ---- Each look's own character (stage 2). Cards are tagged .sl-card by
   site.js (any rounded panel in the card colour); tables and headings are
   the pages' own. ---- */
/* Stadium: the scoreboard -- condensed scoreboard type for titles and
   column heads, a gold rail under every card, a faint floodlit top edge. */
html.sl-stadium :is(h1, .wrap h2) { font-family:"Teko","Arial Narrow",sans-serif; font-weight:600; letter-spacing:1px; text-transform:uppercase; }
html.sl-stadium .wrap h2 { font-size:24px; line-height:1.1; }
html.sl-stadium .sl-card { border:0 !important; border-bottom:2px solid rgba(var(--accent-rgb, 232,163,61),.6) !important; border-radius:10px;
  background:linear-gradient(180deg, rgba(255,236,190,.06), transparent 38%), var(--tm-card, #0f4232) !important; box-shadow:0 10px 24px rgba(0,0,0,.28) !important; }
html.sl-stadium table th { font-family:"Teko","Arial Narrow",sans-serif; font-size:16px; font-weight:500; letter-spacing:1px; text-transform:uppercase; }
html.sl-stadium :is(.mc-score, .score, .num, .res, .big, .stat-big, .kpi b) { font-family:"Teko","Arial Narrow",sans-serif; font-weight:600; letter-spacing:.5px; text-shadow:0 0 14px rgba(255,255,255,.18); }

/* Broadcast: TV graphics -- section titles become black lower-third bars
   with a gold edge, cards get a gold top strip, tables a black header and
   striped rows, the leader marked in gold. */
html.sl-broadcast :is(h1, .wrap h2) { font-family:"Barlow Semi Condensed","Arial Narrow",sans-serif; font-style:italic; font-weight:700; text-transform:uppercase; letter-spacing:.5px; }
html.sl-broadcast .wrap h2 { background:var(--tm-ink, #04170f); color:#f5f3ec; border-left:4px solid var(--accent, #e8a33d); padding:6px 12px 5px; border-radius:2px; }
html.sl-broadcast .sl-card { border:0 !important; border-top:3px solid var(--accent, #e8a33d) !important; border-radius:4px; background:#0e3326 !important; box-shadow:none !important; }
html.sl-broadcast table th { background:var(--tm-ink, #04170f) !important; color:var(--accent, #e8a33d) !important; font-family:"Barlow Semi Condensed","Arial Narrow",sans-serif; font-style:italic; font-weight:700; text-transform:uppercase; border-bottom:2px solid rgba(var(--accent-rgb, 232,163,61),.5) !important; }
html.sl-broadcast table tbody tr:nth-child(even) td { background-color:rgba(255,255,255,.035); }
html.sl-broadcast table tbody tr:first-child td:first-child { box-shadow:inset 4px 0 0 var(--accent, #e8a33d); }

/* Night game: under the lights -- frosted-glass cards that catch a passing
   floodlight as the page opens, glowing logos and titles, glowing chart lines. */
html.sl-night .sl-card { background:linear-gradient(105deg, transparent 40%, rgba(255,214,140,.13) 50%, transparent 60%) no-repeat, rgba(var(--tm-lift-rgb, 22,90,68),.22) !important;
  background-size:250% 100%, auto !important; border:1px solid rgba(var(--accent-rgb, 232,163,61),.2) !important; border-radius:16px;
  -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); box-shadow:0 12px 30px rgba(0,0,0,.4) !important;
  animation:slSweep 1.6s ease-out .15s both; }
@keyframes slSweep { from { background-position:160% 0, 0 0; } to { background-position:-60% 0, 0 0; } }
html.sl-night :is(h1, .wrap h2) { text-shadow:0 0 18px rgba(var(--accent-rgb, 232,163,61),.35); }
html.sl-night img[src*="teamlogos"] { filter:drop-shadow(0 0 7px rgba(255,214,140,.35)); }
html.sl-night table th { color:var(--accent, #e8a33d); background:transparent !important; border-bottom:1px solid rgba(var(--accent-rgb, 232,163,61),.3) !important; }
html.sl-night table tbody tr:hover td { background-color:rgba(255,214,140,.06); }
@media (prefers-reduced-motion: reduce) { html.sl-night .sl-card { animation:none; } }
/* Team colours where a page offers them (the team page's header: --tc1/--tc2). */
html.sl-stadium .team-head { background:linear-gradient(115deg, color-mix(in srgb, var(--tc1) 55%, transparent), transparent 55%, color-mix(in srgb, var(--tc2) 35%, transparent)); border-radius:12px; padding:14px 16px; border-bottom:2px solid rgba(var(--accent-rgb, 232,163,61),.6); }
html.sl-stadium .num { font-size:2.1em; line-height:1; }
html.sl-broadcast .team-head { background:linear-gradient(90deg, var(--tc1) 0 120px, var(--tm-ink, #04170f) 120px); border-radius:4px; padding:12px 16px; border-bottom:3px solid var(--accent, #e8a33d); }
html.sl-broadcast :is(.num, .res, .mc-score, .score) { font-family:"Barlow Semi Condensed","Arial Narrow",sans-serif; font-style:italic; font-weight:700; }
html.sl-night .team-head { background:radial-gradient(70% 140% at 0% 50%, color-mix(in srgb, var(--tc1) 45%, transparent), transparent 70%); border-radius:18px; padding:14px 16px; }
html.sl-night .team-head img { filter:drop-shadow(0 0 14px color-mix(in srgb, var(--tc2) 70%, transparent)); }
html.sl-night :is(.num, .res, .mc-score, .score) { text-shadow:0 0 16px rgba(var(--accent-rgb, 232,163,61),.5); }
/* ---- The game page's team-colour wash, look by look (the card's own
   ::before; --ca away colour, --ch home colour, --split where they meet). */
/* Stadium: a smooth diagonal blend, dark through the middle where the score sits. */
html.sl-stadium .matchup-card.wash::before { background:linear-gradient(110deg,
    color-mix(in srgb, var(--ca) 55%, transparent) 0%, color-mix(in srgb, var(--ca) 30%, transparent) calc(var(--split) - 22%),
    transparent var(--split),
    color-mix(in srgb, var(--ch) 30%, transparent) calc(var(--split) + 22%), color-mix(in srgb, var(--ch) 55%, transparent) 100%); }
html.sl-stadium .matchup-card.wash { background:var(--tm-card, #0f4232) !important; }
/* Broadcast: two solid team slabs meeting at a hard angled seam (a gold
   stripe), the score on black chips like a TV matchup graphic. */
html.sl-broadcast .matchup-card.wash::before { background:
    linear-gradient(105deg, transparent calc(var(--split) - .5%), var(--accent, #e8a33d) calc(var(--split) - .5%), var(--accent, #e8a33d) calc(var(--split) + .5%), transparent calc(var(--split) + .5%)),
    linear-gradient(105deg, color-mix(in srgb, var(--ca) 62%, #0e3326) var(--split), color-mix(in srgb, var(--ch) 62%, #0e3326) var(--split)); }
html.sl-broadcast .matchup-card.wash { background:#0e3326 !important; }
html.sl-broadcast .matchup-card.wash .mc-score { background:var(--tm-ink, #04170f); border-radius:4px; padding:2px 12px; box-shadow:0 2px 0 var(--accent, #e8a33d); }
html.sl-broadcast .matchup-card.wash :is(.mc-dateline, .mc-top) { text-shadow:0 1px 3px rgba(0,0,0,.6); }
/* Night game: two floodlights in the teams' colours shining down from the
   top corners; the leader's light reaches further. */
html.sl-night .matchup-card.wash::before { background:
    radial-gradient(calc(var(--split) * 1.5) 130% at 0% 0%, color-mix(in srgb, var(--ca) 60%, transparent), transparent 70%),
    radial-gradient(calc((100% - var(--split)) * 1.5) 130% at 100% 0%, color-mix(in srgb, var(--ch) 60%, transparent), transparent 70%); }
html.sl-night .matchup-card.wash .mc-team img { filter:drop-shadow(0 0 12px rgba(255,255,255,.25)); }
html.sl-broadcast .matchup-card.wash .mc-abbr { color:#fff !important; text-shadow:0 2px 4px rgba(0,0,0,.55); }
html.sl-broadcast .matchup-card.wash :is(.mc-recs, .mc-date-sub, .mc-lines) { text-shadow:0 1px 3px rgba(0,0,0,.6); }
@media (max-width:640px) { html.sl-broadcast .matchup-card.wash .mc-score { padding:2px 7px; } }

/* Pressable toggles (2026-10-03, after the game page's EPA buttons): the
   choices stand up on a thick edge and the chosen one is pushed in (lower,
   shadowed inside, gold rim). On the dark looks the old chosen fill matched
   the page and vanished, so there it's a dark well with gold text.
   Separate pills get the edge; joined segments (.view-toggle, .mode-toggle,
   framed with overflow:hidden) just sink the chosen segment. */
html :is(.wx-pills, .fgc-pills, .team-nav) { padding-bottom: 5px; }
html :is(.wx-pills button, .fgc-pills button, .team-nav a, .team-nav .current) {
  box-shadow: 0 3px 0 var(--field-line, #165a44), 0 5px 9px rgba(0,0,0,.12);
  transition: transform .12s ease, box-shadow .12s ease, background-color .15s, color .15s, border-color .15s;
}
html :is(.wx-pills button:not(.on), .fgc-pills button:not(.on), .team-nav a):active {
  transform: translateY(2px); box-shadow: 0 1px 0 var(--field-line, #165a44), 0 2px 4px rgba(0,0,0,.12);
}
html :is(.wx-pills button.on, .fgc-pills button.on, .team-nav .current) {
  transform: translateY(3px); border-color: var(--accent, #e8a33d);
  box-shadow: inset 0 3px 7px rgba(0,0,0,.45), 0 0 0 1px rgba(var(--accent-rgb, 232,163,61),.25);
}
html :is(.view-toggle button, .mode-toggle button) { transition: background-color .15s, color .15s, box-shadow .12s; }
html :is(.view-toggle button, .mode-toggle button):active { box-shadow: inset 0 2px 5px rgba(0,0,0,.25); }
html :is(.view-toggle button.active, .mode-toggle button.active) { box-shadow: inset 0 3px 8px rgba(0,0,0,.5); }

html.sl-dark :is(.wx-pills button, .fgc-pills button, .team-nav a) {
  border-color: rgba(255,255,255,.16); box-shadow: 0 3px 0 rgba(0,0,0,.55), 0 5px 10px rgba(0,0,0,.35);
}
html.sl-dark :is(.wx-pills button.on, .fgc-pills button.on, .team-nav .current, .view-toggle button.active, .mode-toggle button.active) {
  background: rgba(0,0,0,.38); color: var(--accent, #e8a33d); border-color: var(--accent, #e8a33d);
  box-shadow: inset 0 3px 8px rgba(0,0,0,.6), 0 0 12px rgba(var(--accent-rgb, 232,163,61),.22);
}
@media (prefers-reduced-motion: reduce) {
  html :is(.wx-pills button, .fgc-pills button, .team-nav a, .team-nav .current) { transition: none; }
}

/* "Get the app" card + steps (site.js). Brand-dark in every look; the
   pictures inside keep iOS's own light look so they match the phone. */
html.is-app .nav-getapp, html.is-app #site-getapp { display: none; }
/* The footer's gentle way in: a small pill with a phone-and-football icon. */
.ft-getapp { display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px 5px 10px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; color: inherit; text-decoration: none; opacity: .85;
  border: 1px solid rgba(232,163,61,.55); transition: opacity .15s, border-color .15s; }
.ft-getapp:hover { opacity: 1; border-color: #e8a33d; }
.ft-getapp svg { color: #e8a33d; flex: none; }
.a2-card { position: fixed; z-index: 2147482000; left: 12px; right: 12px; bottom: calc(14px + env(safe-area-inset-bottom));
  max-width: 440px; margin: 0 auto; display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 12px;
  background: #0e2a20; color: #f5f3ec; border: 1px solid rgba(232,163,61,.45); border-radius: 16px;
  box-shadow: 0 14px 40px rgba(0,0,0,.45); transform: translateY(140%); opacity: 0;
  transition: transform .45s cubic-bezier(.2,.9,.3,1.1), opacity .3s; }
.a2-card.in { transform: none; opacity: 1; }
.a2-card img { width: 42px; height: 42px; border-radius: 10px; flex: none; }
.a2-txt { flex: 1; min-width: 0; line-height: 1.25; }
.a2-txt b { display: block; font-size: 14px; }
.a2-txt span { font-size: 12.5px; color: rgba(245,243,236,.72); }
.a2-go { flex: none; font: inherit; font-size: 13px; font-weight: 800; padding: 8px 12px; border: 0; border-radius: 999px;
  background: #e8a33d; color: #0b3d2e; cursor: pointer; box-shadow: 0 3px 0 #b9741f; }
.a2-go:active { transform: translateY(2px); box-shadow: 0 1px 0 #b9741f; }
.a2-x { flex: none; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(255,255,255,.08);
  color: rgba(245,243,236,.8); font-size: 20px; line-height: 1; cursor: pointer; }

.a2-wrap { position: fixed; inset: 0; z-index: 2147483000; background: rgba(0,0,0,.55); display: flex; align-items: center;
  justify-content: center; padding: 16px; opacity: 0; transition: opacity .25s; }
.a2-wrap.in { opacity: 1; }
.a2-sheet { position: relative; width: 100%; max-width: 400px; max-height: calc(100vh - 32px); overflow: auto;
  background: #0e2a20; color: #f5f3ec; border: 1px solid rgba(232,163,61,.4); border-radius: 18px; padding: 18px 18px 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5); transform: translateY(16px) scale(.98); transition: transform .3s cubic-bezier(.2,.9,.3,1.1); }
.a2-wrap.in .a2-sheet { transform: none; }
.a2-close { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.08); color: rgba(245,243,236,.85); font-size: 22px; line-height: 1; cursor: pointer; }
.a2-n { font-size: 11px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: #e8a33d; }
.a2-step h3 { margin: 4px 36px 12px 0; font-size: 19px; line-height: 1.2; }
.a2-step p { margin: 12px 0 0; font-size: 14.5px; line-height: 1.45; color: rgba(245,243,236,.85); }
.a2-pic { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.a2-hl { fill: none; stroke: #e8a33d; stroke-width: 3; animation: a2Pulse 1.4s ease-in-out infinite; }
@keyframes a2Pulse { 0%,100% { stroke-opacity: 1; } 50% { stroke-opacity: .25; } }
.a2-dots { display: flex; justify-content: center; gap: 6px; margin: 14px 0 10px; }
.a2-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.22); }
.a2-dots i.on { background: #e8a33d; }
.a2-nav { display: flex; justify-content: space-between; gap: 10px; }
.a2-nav button { font: inherit; font-size: 15px; font-weight: 800; padding: 10px 18px; border-radius: 999px; cursor: pointer; border: 0; }
.a2-back { background: rgba(255,255,255,.1); color: #f5f3ec; }
.a2-next { background: #e8a33d; color: #0b3d2e; box-shadow: 0 3px 0 #b9741f; }
.a2-next:active { transform: translateY(2px); box-shadow: 0 1px 0 #b9741f; }
.a2-note { margin: 12px 0 0; font-size: 12.5px; color: rgba(245,243,236,.7); }
/* Step 1 on the phone: an arrow off the bottom edge of the page, right above
   Safari's real ... button (the page ends just above Safari's floating bar). */
.a2-arrow { display: none; position: fixed; right: 34px; bottom: 10px; width: 34px; height: 46px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 46'%3E%3Cpath d='M17 2v34M5 26l12 14 12-14' fill='none' stroke='%23e8a33d' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.6)); animation: a2Bob 1s ease-in-out infinite; }
.a2-wrap.point .a2-arrow { display: block; }
@keyframes a2Bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) {
  .a2-card, .a2-wrap, .a2-sheet { transition: none; }
  .a2-hl, .a2-arrow { animation: none; }
}

/* Number picker (site.js nerdflPicker): quick-pick pills + a - / + stepper,
   pressable like the other toggles. Big enough for thumbs. */
.pk { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-bottom: 5px; }
.pk-picks { display: flex; flex-wrap: wrap; gap: 6px; }
.pk button { font: inherit; font-weight: 800; cursor: pointer; color: var(--field-ink, var(--field, #0b3d2e));
  border: 1.5px solid var(--ln-2, #d6e0d6); background: var(--row, #fff);
  box-shadow: 0 3px 0 var(--field-line, #165a44), 0 5px 9px rgba(0,0,0,.12);
  transition: transform .1s ease, box-shadow .1s ease, background-color .15s, color .15s;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.pk-picks button { min-width: 44px; height: 36px; padding: 0 12px; border-radius: 999px; font-size: 13.5px; }
.pk button:active:not(:disabled):not(.on) { transform: translateY(2px); box-shadow: 0 1px 0 var(--field-line, #165a44); }
.pk-picks button.on { transform: translateY(3px); background: var(--field, #0b3d2e); color: var(--chalk, #f5f3ec);
  border-color: var(--accent, #e8a33d); box-shadow: inset 0 3px 7px rgba(0,0,0,.45), 0 0 0 1px rgba(var(--accent-rgb, 232,163,61),.25); }
.pk-step { display: inline-flex; align-items: center; gap: 8px; }
.pk-step button { width: 42px; height: 42px; border-radius: 12px; font-size: 24px; line-height: 1; padding: 0; }
.pk-step button:disabled { opacity: .35; cursor: default; box-shadow: none; }
.pk-val { min-width: 92px; text-align: center; font-size: 15px; font-weight: 800; color: var(--tx-1, #14201b);
  font-variant-numeric: tabular-nums; }
html.sl-dark .pk button { border-color: rgba(255,255,255,.16); box-shadow: 0 3px 0 rgba(0,0,0,.55), 0 5px 10px rgba(0,0,0,.35); }
html.sl-dark .pk-picks button.on { background: rgba(0,0,0,.38); color: var(--accent, #e8a33d); border-color: var(--accent, #e8a33d);
  box-shadow: inset 0 3px 8px rgba(0,0,0,.6), 0 0 12px rgba(var(--accent-rgb, 232,163,61),.22); }
@media (prefers-reduced-motion: reduce) { .pk button { transition: none; } }

/* The scoreboard picker (nerdflPicker board:true): centred, big targets,
   the number flips like a stadium board. */
.pk.pk-board { display: block; max-width: 440px; margin: 0 auto; padding-bottom: 2px; }
.pk-dial { display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; gap: 12px; }
.pk-board .pk-minus, .pk-board .pk-plus { width: 56px; height: 56px; padding: 0; border-radius: 16px; font-size: 32px; line-height: 1; }
.pk-num { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.pk-digits { position: relative; display: block; width: 100%; height: 50px; overflow: hidden; }
.pk-d { position: absolute; inset: 0; display: block; font-family: "Teko", "Arial Narrow", sans-serif; font-weight: 600;
  font-size: 58px; line-height: 58px; color: var(--accent-deep, #b9741f); font-variant-numeric: tabular-nums; }
html.sl-dark .pk-d { color: var(--accent, #e8a33d); text-shadow: 0 0 16px rgba(var(--accent-rgb, 232,163,61),.35); }
.pk-d.in-up { animation: pkInUp .3s cubic-bezier(.2,.8,.3,1.2) both; }
.pk-d.in-down { animation: pkInDown .3s cubic-bezier(.2,.8,.3,1.2) both; }
.pk-d.out-up { animation: pkOutUp .28s ease-in both; }
.pk-d.out-down { animation: pkOutDown .28s ease-in both; }
@keyframes pkInUp { from { transform: translateY(70%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pkInDown { from { transform: translateY(-70%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pkOutUp { to { transform: translateY(-70%); opacity: 0; } }
@keyframes pkOutDown { to { transform: translateY(70%); opacity: 0; } }
.pk-unit { font-size: 11.5px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; color: var(--tx-1, #14201b); margin-top: 2px; }
.pk-sub { font-size: 12.5px; color: var(--muted, #7c8a83); margin-top: 2px; min-height: 1.3em; }
/* The quick picks: one joined bar across the width. */
.pk-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; margin-top: 14px; border-radius: 13px; overflow: hidden;
  border: 1.5px solid var(--ln-2, #d6e0d6); box-shadow: 0 3px 0 var(--field-line, #165a44), 0 5px 9px rgba(0,0,0,.12); }
.pk-seg button { height: 44px; padding: 0 4px; border: 0; border-left: 1px solid var(--ln-2, #d6e0d6); border-radius: 0; box-shadow: none;
  font-size: 15px; white-space: nowrap; }
.pk-seg button:first-child { border-left: 0; }
.pk .pk-seg button:active:not(:disabled):not(.on) { transform: none; box-shadow: inset 0 2px 5px rgba(0,0,0,.2); }
.pk-seg button.on { background: var(--field, #0b3d2e); color: var(--chalk, #f5f3ec); box-shadow: inset 0 3px 8px rgba(0,0,0,.5); }
html.sl-dark .pk-seg { border-color: rgba(255,255,255,.16); box-shadow: 0 3px 0 rgba(0,0,0,.55), 0 5px 10px rgba(0,0,0,.35); }
html.sl-dark .pk-seg button { border-left-color: rgba(255,255,255,.12); box-shadow: none; }
html.sl-dark .pk-seg button.on { background: rgba(0,0,0,.38); color: var(--accent, #e8a33d); box-shadow: inset 0 3px 8px rgba(0,0,0,.6); }
@media (prefers-reduced-motion: reduce) { .pk-d { animation: none !important; } }

/* Team Colors (html.sl-team, on top of sl-dark): the page, cards, header and
   accent come from the starred team (inline vars from _team_look_script);
   gold tints become the team accent; the header gets a jersey-sleeve
   stripe (accent / white / accent). */
html.sl-team {
  --ln-4: rgba(var(--tm-rgb), .3); --tint-1: rgba(var(--tm-rgb), .16); --tint-2: rgba(var(--tm-rgb), .1);
  --tint-3: rgba(var(--tm-rgb), .12); --bg-warm: rgba(var(--tm-rgb), .1);
}
html.sl-team body { background:
    radial-gradient(120% 45% at 50% 0%, color-mix(in srgb, var(--tm-lift) 38%, transparent), transparent 65%), var(--paper); }
html.sl-team header { background: linear-gradient(160deg, var(--field), var(--paper));
  border-bottom: 3px solid var(--accent); box-shadow: 0 3px 0 rgba(255,255,255,.85), 0 6px 0 var(--accent); margin-bottom: 6px; }
html.sl-team ::selection { background: rgba(var(--tm-rgb), .35); }
html.sl-team .site-nav .nav-panel { background: var(--row); border-color: rgba(var(--tm-rgb), .35); }
html.sl-team .site-nav .nav-panel a:hover { color: var(--accent); }
html.sl-team select option { background: var(--row); }
html.sl-team :is(.pk-d, .eff-tab.active, .pk-picks button.on, .pk-seg button.on, .wx-pills button.on, .fgc-pills button.on,
  .team-nav .current, .view-toggle button.active, .mode-toggle button.active) { color: var(--accent); }
html.sl-team :is(.eff-tab.active, .pk-picks button.on, .wx-pills button.on, .fgc-pills button.on, .team-nav .current) { border-color: var(--accent); }
html.sl-team .pk-d { text-shadow: 0 0 16px rgba(var(--tm-rgb), .35); }

/* ---- The uniforms, completed (2026-10-03). Home Uniform = html.sl-team
   (site pages) / body.lk-team (This Week, division zoom); Road Uniform =
   html.sl-teamlight / body.lk-teamlight. Colours come in as variables from
   nerdflTeamLook (page head); everything that was hardcoded Nerdfl gold or
   green is a variable falling back to it, so these only set variables. ---- */
html.sl-teamlight, body.lk-teamlight {
  --tint-1: rgba(var(--accent-rgb), .13); --tint-2: rgba(var(--accent-rgb), .08); --tint-3: rgba(var(--accent-rgb), .1);
  --bg-warm: rgba(var(--accent-rgb), .08); --ln-4: rgba(var(--accent-rgb), .35);
}
html.sl-teamlight ::selection { background: rgba(var(--accent-rgb), .3); }
/* The jersey-sleeve stripe under the header: accent / white / accent at home,
   accent / team colour / accent on the road. */
body.lk-team header { border-bottom: 3px solid var(--accent); box-shadow: 0 3px 0 rgba(255,255,255,.85), 0 6px 0 var(--accent); margin-bottom: 6px; }
html.sl-teamlight header, body.lk-teamlight header { background: linear-gradient(160deg, var(--field), var(--field-deep));
  border-bottom: 3px solid var(--accent); box-shadow: 0 3px 0 var(--field), 0 6px 0 var(--accent); margin-bottom: 6px; }
/* This Week / division zoom pages in the Home Uniform: the team-coloured glow. */
body.zv-on.lk-team, body.tl-on.lk-team { background:
    radial-gradient(120% 45% at 50% 0%, color-mix(in srgb, var(--tm-lift) 38%, transparent), transparent 65%), var(--field-deep); }
body.lk-team .zv-fab { background: rgba(var(--tm-pop-rgb), .6); }
/* The team picker (a uniform chosen with no team starred yet). */
.tm-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; max-height: 260px; overflow-y: auto; padding: 2px; }
.zv-pop .tm-pick button { flex-direction: column; gap: 2px; padding: 6px 2px; justify-content: center; text-align: center; font-size: 11px; letter-spacing: .3px; }
.tm-pick img { width: 30px; height: 30px; object-fit: contain; }
.zv-pop:has(.tm-pick) { width: 268px; }

/* ---- Idioma / Language (static/i18n.js): a row at the foot of every gear menu ---- */
/* Compact rows (Jonny, 2026-10-05): a menu's options sit as tiles in a grid,
   three to a row (two for a pair), the icon or swatch over a short name, the
   chosen one lit -- half the height of a list, site-wide. */
.zv-pop .zv-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 0 4px 4px; }
.zv-pop .zv-tiles.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.zv-pop .zv-tiles button { flex-direction: column; gap: 5px; padding: 8px 3px 7px; border-radius: 10px; font-size: 11.5px; line-height: 1.15;
  text-align: center; justify-content: center; white-space: normal; }
.zv-pop .zv-tiles .zv-nm { flex: none; }
.zv-pop .zv-tiles .zv-ck { display: none; }
.zv-pop .zv-tiles button[aria-checked="true"] { box-shadow: inset 0 0 0 1.5px var(--accent, #e8a33d); }
/* A labelled row with a two-way switch (a setting, not more tiles): "Swipe  [Cube | Slide]". */
.zv-pop .zv-row { display: flex; align-items: center; gap: 10px; padding: 4px 8px 6px; }
.zv-pop .zv-lbl { font-size: 10.5px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase; color: var(--accent, #e8a33d); opacity: .85; }
.zv-pop .zv-seg { display: inline-flex; margin-left: auto; border: 1px solid rgba(127,127,127,.4); border-radius: 999px; overflow: hidden; }
.zv-pop .zv-seg button { width: auto; gap: 6px; padding: 4px 11px 4px 9px; border-radius: 0; font-size: 11.5px; }
.zv-pop .zv-seg button + button { border-left: 1px solid rgba(127,127,127,.4); }
.zv-pop .zv-seg button[aria-checked="true"] { background: var(--accent, #e8a33d); color: #0b2f22; }
.zv-pop .zv-seg .dz-lw { display: inline-flex; width: auto; height: auto; }
.zv-pop .zv-seg .dz-lw svg { width: 22px; height: 14px; fill: currentColor; stroke: currentColor; }
.zv-pop .zv-seg .zv-nm { flex: none; }
/* The language pair belongs to the same section as the conditions: no rule between. */
.zv-pop .i18n-row { margin-top: 2px; padding-top: 0; border-top: 0; }
.lk-original .zv-pop .i18n-row, html:not(.sl-dark) .lf-pop .i18n-row { border-top-color: #ece8dc; }
.i18n-pick { display: flex; gap: 6px; padding: 0 6px 4px; }
.zv-pop .i18n-pick button { flex: 1; width: auto; justify-content: center; padding: 7px 8px; border: 1px solid rgba(255,255,255,.18); }
.lk-original .zv-pop .i18n-pick button, html:not(.sl-dark) .lf-pop .i18n-pick button { border-color: #ddd7c8; }
.zv-pop .i18n-pick button[aria-pressed="true"] { background: rgba(var(--accent-rgb, 232,163,61),.18); border-color: var(--accent); }

/* ---- The floating This Week button (static/site.js) ---- */
.tw-fab { position: fixed; z-index: 40; right: 18px; bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #f5f3ec; text-decoration: none; border: 1px solid rgba(255,255,255,.55); background: rgba(11,61,46,.6);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 8px 22px rgba(0,0,0,.28); transition: transform .15s; -webkit-tap-highlight-color: transparent; }
.tw-fab[hidden] { display: none; }
.tw-fab:hover { background: rgba(11,61,46,.78); }
.tw-fab:active { transform: scale(.94); }
.tw-fab:focus-visible { outline: 2px solid var(--accent, #e8a33d); outline-offset: 2px; }
.tw-fab svg { width: 28px; height: 28px; }
html.sl-dark .tw-fab { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.4); }
@media print { .tw-fab, .zv-fab, .zv-hint, .ns-sheet, .a2-card { display: none !important; } }
/* The round return button: the game page's way back to This Week, and a player page's way back to
   the game it was opened from (2026-10-07). The This Week button above steps aside while it shows. */
.gm-back { position: fixed; z-index: 40; right: 18px; bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%;
  text-decoration: none; color: #f5f3ec; border: 1px solid rgba(255,255,255,.55); background: rgba(11,61,46,.6);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 8px 24px rgba(7,36,24,.35); transition: transform .15s, background .2s; -webkit-tap-highlight-color: transparent; }
.gm-back[hidden] { display: none; }
.gm-back:hover { background: rgba(11,61,46,.78); }
.gm-back:active { transform: scale(.94); }
.gm-back:focus-visible { outline: 2px solid var(--accent, #e8a33d); outline-offset: 2px; }
.gm-back svg { width: 25px; height: 25px; flex: none; }
body.from-week .wrap, body.from-game .wrap { padding-bottom: 96px; }
@media print { .gm-back { display: none; } }

/* ---- No Spoilers (site.js; the mode itself: _NS_HEAD in app.py) ---- */
.ns-btn { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 13.5px; font-weight: 800; letter-spacing: .3px;
  color: #f5f3ec; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.28); border-radius: 999px;
  padding: 6px 13px 6px 10px; cursor: pointer; white-space: nowrap; }
.ns-btn svg { width: 17px; height: 17px; flex: none; }
.ns-btn .ns-tick, .ns-btn .ns-l-on { display: none; }
html.ns-on .ns-btn { background: var(--accent, #e8a33d); border-color: var(--accent, #e8a33d); color: #0b2f22; }
html.ns-on .ns-btn .ns-tick, html.ns-on .ns-btn .ns-l-on { display: inline; }
html.ns-on .ns-btn .ns-l-off { display: none; }
.ns-btn.ns-phone { display: none; }
.site-nav .ns-btn.ns-desk { margin-left: auto; }
.site-nav .ns-btn.ns-desk + .nav-search { margin-left: 10px; }
@media (max-width: 640px) {
  header { position: relative; }
  .ns-btn.ns-phone { display: inline-flex; position: absolute; top: 14px; right: 16px; min-height: 42px; padding: 0 14px 0 11px; font-size: 14px; }
  /* A page's back link ("← Back to This Week") goes under the Menu row, clear of the No Spoilers button. */
  header > a.back { display: block; width: max-content; margin: -4px 0 10px; }
  .site-nav .ns-btn.ns-desk { display: none; }
}
/* The picker and the curtain: opaque, the page behind out of sight. */
.ns-sheet, .ns-curtain { position: fixed; inset: 0; z-index: 200; display: flex; align-items: flex-start; justify-content: center;
  overflow-y: auto; padding: max(18px, env(safe-area-inset-top)) 14px calc(30px + env(safe-area-inset-bottom, 0px)); background: #072418; color: #f5f3ec; }
html.ns-sheet-open, html.ns-sheet-open body { overflow: hidden; }
.ns-panel { width: 100%; max-width: 520px; }
.ns-head { display: flex; align-items: center; gap: 10px; font-size: 22px; margin: 8px 0 6px; color: var(--accent, #e8a33d); }
.ns-head svg { width: 30px; height: 30px; }
.ns-head b { color: #f5f3ec; }
.ns-lead { font-size: 15px; line-height: 1.5; color: #c3d2ca; margin: 0 0 14px; }
.ns-quick { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
@media (max-width: 560px) {   /* phones: the off switch on its own line under the three (a zero-height break before it) */
  .ns-quick::after { content: ""; flex-basis: 100%; height: 0; order: 8; margin-top: -8px; }
  .ns-quick .ns-off-top { order: 9; }
}
.ns-quick .ns-done-top { margin-left: auto; font-size: 14px; font-weight: 800; padding: 6px 20px; border-radius: 999px; color: #0b2f22; background: var(--accent, #e8a33d); border: 0; }
.ns-quick button, .ns-offbtn { font: inherit; font-size: 13px; font-weight: 700; color: #c3d2ca; background: none; border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px; padding: 6px 14px; cursor: pointer; text-decoration: none; }
.ns-wk { font-size: 11.5px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--accent, #e8a33d); margin: 4px 2px 6px; }
.ns-wait { color: #a9bdb3; font-size: 14px; }
.ns-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
  padding: 10px 12px; margin: 0 0 6px; border-radius: 12px; background: rgba(255,255,255,.06); cursor: pointer; }
.ns-row input { position: absolute; opacity: 0; pointer-events: none; }
.ns-teams { display: flex; align-items: center; gap: 7px; font-size: 16px; }
.ns-teams img { width: 28px; height: 28px; object-fit: contain; }
.ns-teams i { font-style: normal; color: #a9bdb3; font-size: 13px; }
.ns-when { grid-column: 1; font-size: 12.5px; color: #a9bdb3; margin-top: 2px; }
.ns-sw { grid-column: 2; grid-row: 1 / 3; display: inline-flex; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); overflow: hidden; font-size: 12px; font-weight: 800; }
.ns-sw span { padding: 6px 10px; color: #a9bdb3; }
.ns-row input:not(:checked) ~ .ns-sw .ns-sw-h { background: var(--accent, #e8a33d); color: #0b2f22; }
.ns-row input:checked ~ .ns-sw .ns-sw-s { background: #f5f3ec; color: #0b2f22; }
.ns-row input:focus-visible ~ .ns-sw { outline: 2px solid var(--accent, #e8a33d); outline-offset: 2px; }
.ns-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 16px 0 10px; }
.ns-done { font: inherit; font-size: 16px; font-weight: 800; color: #0b2f22; background: var(--accent, #e8a33d); border: 0; border-radius: 12px;
  padding: 12px 26px; cursor: pointer; }
.ns-tip { font-size: 12.5px; color: #a9bdb3; line-height: 1.5; }
/* Stars (fantasy): a small star beside a player's line, a pill on his page. */
.pstar { font: inherit; font-size: 16px; line-height: 1; width: 28px; height: 28px; border-radius: 50%; border: 0; background: none; color: var(--muted, #8a948c); cursor: pointer; padding: 0; }
.pstar.on { color: var(--accent, #e8a33d); }
.pstar:hover { background: rgba(127,127,127,.12); }
.pstar:focus-visible { outline: 2px solid var(--accent, #e8a33d); outline-offset: 1px; }
.star-btn { font: inherit; font-size: 13px; font-weight: 700; margin-top: 8px; padding: 5px 12px; border-radius: 999px; cursor: pointer;
  color: var(--accent-deep, #b9741f); background: none; border: 1px solid var(--accent, #e8a33d); }
.star-btn.on { background: var(--accent, #e8a33d); color: #0b2f22; }
.star-btn:focus-visible { outline: 2px solid var(--accent, #e8a33d); outline-offset: 2px; }
.star-link { margin-left: 10px; font-size: 13px; font-weight: 700; color: var(--accent-deep, #b9741f); text-decoration: none; white-space: nowrap; }
.star-link:hover { text-decoration: underline; }
/* ---- My Players chips (site.js nerdflMP): This Week's card and the My Fantasy Players page ---- */
.mp-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 4px 14px; }
.mp-chip { display: grid; grid-template-columns: 44px minmax(0,1fr) auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center;
  text-decoration: none; color: var(--ink, #14201b); padding: 6px 8px; border-radius: 10px; border: 1px solid transparent; }
a.mp-chip:hover { background: rgba(127,127,127,.08); border-color: rgba(127,127,127,.18); }
.mp-chip.live { border-color: rgba(194,65,12,.3); }
.mp-head { grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: top; background: rgba(127,127,127,.15); }
span.mp-head { display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: var(--muted, #7c8a83); }
.mp-name { grid-column: 2; grid-row: 1; font-weight: 800; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-name small { font-weight: 600; font-size: 11.5px; color: var(--muted, #7c8a83); margin-left: 6px; }
.mp-line, .mp-shield { grid-column: 2; grid-row: 2; font-size: 12.5px; color: var(--muted, #7c8a83); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 1.2em; }
.mp-shield { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; }
.mp-shield svg { width: 15px; height: 15px; flex: none; }
.mp-pts { grid-column: 3; grid-row: 1; font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; line-height: 1; }
.mp-pts.tick { animation: mpTick .9s ease-out; }
@keyframes mpTick { 0% { color: var(--accent-deep, #b9741f); transform: scale(1.2); } 100% { transform: scale(1); } }
.mp-st { grid-column: 3; grid-row: 2; font-size: 11px; font-weight: 700; color: var(--muted, #7c8a83); text-align: right; white-space: nowrap; justify-self: end; }
.mp-st.live { color: #c2410c; display: inline-flex; align-items: center; gap: 5px; }
.mp-st .live-dot, .mp-livetag .live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--live, #ff6a52); margin: 0; animation: mpPulse 1.4s ease-in-out infinite; }
@keyframes mpPulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.tl-dark .mp-chip, html.sl-dark .mp-chip { color: #f5f3ec; }
.tl-dark .mp-line, .tl-dark .mp-shield, .tl-dark .mp-name small, .tl-dark .mp-st:not(.live), .tl-dark span.mp-head,
html.sl-dark .mp-line, html.sl-dark .mp-shield, html.sl-dark .mp-name small, html.sl-dark .mp-st:not(.live), html.sl-dark span.mp-head { color: var(--zv-dim, #9fb3a8); }
@media (prefers-reduced-motion: reduce) { .mp-pts.tick, .mp-st .live-dot, .mp-livetag .live-dot { animation: none; } }
@media (max-width: 520px) { .mp-chips { grid-template-columns: 1fr; gap: 2px; } }
/* Standings' curtain: "as of last week", the way in that can't spoil anything. */
.ns-asof::after { content: "\203A"; position: absolute; right: 16px; top: 50%; transform: translateY(-52%); font-size: 30px; font-weight: 700; }
.ns-asof { position: relative; display: block; margin: 4px 0 0; padding: 14px 44px 14px 18px; border-radius: 14px; background: var(--accent, #e8a33d); color: #0b2f22; text-decoration: none; }
.ns-asof[hidden] { display: none; }
.ns-asof b { display: block; font-size: 17px; }
.ns-asof small { display: block; font-size: 13px; font-weight: 600; opacity: .8; margin-top: 2px; }
.ns-done.ns-ghost { background: none; color: #f5f3ec; border: 1px solid rgba(255,255,255,.35); font-size: 14px; padding: 10px 18px; }
/* A saved game on This Week, and on its own page. */
.tile.ns-saved { position: relative; overflow: hidden; isolation: isolate; }
.tile.ns-saved .ns-plate { filter: blur(7px); opacity: .85; user-select: none; }
.tile.ns-saved .ns-mark { position: absolute; left: calc(50% + 53px); top: calc(50% - 5px); width: 113px; height: 113px; transform: translate(-50%, -50%); z-index: 0; pointer-events: none;
  color: var(--accent, #e8a33d); opacity: .68; }
.tile.ns-saved .ns-mark svg { width: 100%; height: 100%; display: block; }
body.tl-dark .tile.ns-saved .ns-mark { opacity: .8; }
.tile.ns-saved > :not(.ns-mark) { position: relative; z-index: 1; }
.tile.ns-saved .ns-tag { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; font-size: 11px; font-weight: 800; letter-spacing: .5px;
  color: var(--accent-deep, #b9741f); text-transform: uppercase; }
.tile.ns-saved .ns-tag svg { width: 13px; height: 13px; }
.tile.ns-saved .ns-note { font-size: 12px; color: var(--muted); }
.zv-cell.ns-saved .ns-kick { display: inline-flex; align-items: center; gap: 5px; }
.zv-cell.ns-saved .ns-kick svg { width: 14px; height: 14px; }
.ns-game { text-align: center; max-width: 520px; margin: 26px auto 10px; padding: 26px 18px; border-radius: 16px; background: var(--row, #fff);
  box-shadow: 0 6px 22px rgba(11,61,46,.08); }
.ns-game-date { font-size: 13px; color: var(--muted); }
.ns-game-teams { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 16px 0 8px; font-size: 22px; font-weight: 800; }
.ns-game-teams img { width: 64px; height: 64px; object-fit: contain; }
.ns-game-teams i { font-style: normal; color: var(--muted); font-size: 16px; }
.ns-game-shield svg { width: 44px; height: 44px; color: var(--accent, #e8a33d); margin: 6px 0 2px; }
.ns-game h2 { margin: 4px 0 6px; font-size: 20px; }
.ns-game p { color: var(--muted); font-size: 14.5px; line-height: 1.5; margin: 0 0 16px; }
.ns-reveal { font: inherit; font-size: 16px; font-weight: 800; color: #0b2f22; background: var(--accent, #e8a33d); border: 0; border-radius: 12px; padding: 12px 24px; cursor: pointer; }
.ns-back { display: block; margin-top: 14px; color: var(--muted); font-size: 13.5px; }

/* ---- The poof (static/site.js nerdflPoof): a greeting that grows into the middle of the screen and
   evaporates in about a second. The Lab's "Hi, Jonny!" and the team pages' greetings for Jonny's friends (2026-10-11). ---- */
.nerd-poof { position: fixed; inset: 0; z-index: 999; display: grid; place-items: center; pointer-events: none; font-size: clamp(34px, 9vw, 104px); font-weight: 900; letter-spacing: -.02em; text-align: center; line-height: 1.05; padding: 0 14px; overflow-wrap: anywhere;
  color: var(--accent, #e8a33d); text-shadow: 0 2px 0 rgba(0,0,0,.25), 0 10px 40px rgba(0,0,0,.35); animation: nerdPoof 1.15s cubic-bezier(.2,.8,.3,1) both; }
@keyframes nerdPoof { 0% { opacity: 0; transform: scale(.6); } 18% { opacity: 1; transform: scale(1); } 70% { opacity: 1; transform: scale(1.04); filter: blur(0); } 100% { opacity: 0; transform: scale(1.7); filter: blur(8px); } }
@media (prefers-reduced-motion: reduce) { .nerd-poof { animation: nerdFade 1.15s linear both; } }
@keyframes nerdFade { 0% { opacity: 0; } 15% { opacity: 1; } 75% { opacity: 1; } 100% { opacity: 0; } }
.nerd-door { cursor: default; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }

/* ---- Pull to refresh (static/site.js; the installed app only, 2026-10-17): the badge that follows the finger
   from above the page, turns over when the pull is enough, spins while the page refetches; then a toast. ---- */
.nf-pull { position: fixed; top: 0; left: 50%; width: 40px; height: 40px; border-radius: 50%; background: var(--row, #fff); border: 1.5px solid var(--accent, #e8a33d);
  color: var(--accent-deep, #b45309); display: grid; place-items: center; z-index: 1000; transform: translate(-50%, -48px); opacity: 0; pointer-events: none;
  box-shadow: 0 4px 14px rgba(0,0,0,.18); transition: opacity .15s; }
.nf-pull.show { opacity: 1; }
.nf-pull.ready { background: var(--accent, #e8a33d); color: #0b2f22; }
.nf-pull.busy, .nf-pull:not(.show) { transition: transform .25s, opacity .15s; }
.nf-pull i { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-top-color: transparent; animation: nfSpin .7s linear infinite; }
.nf-pull.busy svg { display: none; }
.nf-pull.busy i { display: block; }
@keyframes nfSpin { to { transform: rotate(360deg); } }
.nf-pull-toast { position: fixed; top: 70px; left: 50%; transform: translate(-50%, -24px); background: var(--field, #0b3d2e); color: var(--chalk, #fff); font-size: 13.5px; font-weight: 700;
  padding: 7px 14px; border-radius: 999px; opacity: 0; z-index: 1000; pointer-events: none; transition: opacity .25s, transform .25s; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.nf-pull-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* The °F|°C switch (site.js nerdflTempSwitch): inside a table header, a label or a line of text. */
.temp-unit { display:inline-flex; margin-left:5px; border:1px solid var(--ln-2, #d6e0d6); border-radius:999px; overflow:hidden; vertical-align:middle; text-transform:none; letter-spacing:0; }
.temp-unit button { font:inherit; font-size:10.5px; font-weight:700; line-height:1; padding:3px 6px; border:0; background:transparent; color:var(--muted); cursor:pointer; }
.temp-unit button:hover { color:var(--ink); }
.temp-unit button.on { background:var(--field, #0b2f22); color:var(--chalk, #fff); }
