/* Game-day travel weather (2026-09-25): the "Going to the game" section on
   NFL game pages, the TRAVEL tag on scorebugs, the CFB team-page line and the
   Game travel tab on /hazards/. Its own file rather than style.css so it can
   be read (and reverted) as one piece; every colour comes from style.css's
   tokens, so dark mode follows without a second palette here. */

/* ── status chips: shared by every surface ───────────────────────── */
.gt-st{ display:inline-block; font-family:var(--font-bug); font-weight:700; font-size:12px; letter-spacing:.1em;
  text-transform:uppercase; padding:2px 7px; border-radius:6px; margin-right:6px; white-space:nowrap; vertical-align:1px; }
.gt-st.ok{ color:var(--good); background:color-mix(in srgb, var(--good) 11%, transparent); }
.gt-st.watch{ color:var(--warn); background:color-mix(in srgb, var(--warn) 13%, transparent); }
:root:not([data-theme="dark"]) .gt-st.watch{ color:#924c16; }   /* --warn on its own 13% tint read 4.26:1 (clean sweep 2026-10-07) */
.gt-st.trouble{ color:var(--bad); background:color-mix(in srgb, var(--bad) 12%, transparent); }
.gt-st.pending{ color:var(--ink-3); background:var(--panel-2); }

/* ── NFL game page: Going to the game ───────────────────────────── */
.gt-sec{ display:grid; gap:18px; }
.gt-sec[hidden]{ display:none; }   /* display:grid beats the default [hidden] rule */
.gt-sec > *{ min-width:0; }
.gt-h{ display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:4px 14px; }
.gt-h .nt-h{ margin:0; }
.gt-meta{ font-size:13px; color:var(--ink-3); }
.gt-summary{ font-size:16px; line-height:1.5; margin:0; max-width:64ch; color:var(--ink); }
.gt-sub{ font-family:var(--font-bug); font-weight:700; font-size:13px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--ink-3); margin:0 0 10px; }
.gt-timeline{ display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); border:1px solid var(--line); border-radius:12px; overflow:hidden; }
.gt-tl{ padding:12px 12px 14px; display:grid; gap:2px; align-content:start; }
.gt-tl + .gt-tl{ border-left:1px solid var(--line); }
.gt-tl-k{ font-family:var(--font-bug); font-weight:700; font-size:13px; letter-spacing:.12em; text-transform:uppercase; color:var(--ink-2); }
.gt-tl-t{ font-size:12.5px; color:var(--ink-3); font-variant-numeric:tabular-nums; }
.gt-tl-v{ font-family:var(--font-display); font-weight:600; font-size:28px; line-height:1.15; margin-top:6px; font-variant-numeric:tabular-nums; color:var(--ink); }
.gt-tl-v.word{ font-size:20px; }
.gt-tl-d{ font-size:13px; color:var(--ink-2); line-height:1.4; }
.gt-rain{ margin:10px 0 0; font-size:14px; color:var(--ink-2); }
.gt-two{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.gt-two:empty{ display:none; }
.gt-card{ border:1px solid var(--line); border-radius:12px; padding:14px 16px; }
.gt-card .gt-sub{ margin-bottom:6px; }
.gt-card p{ margin:0; font-size:14.5px; line-height:1.5; color:var(--ink); }
.gt-sun{ display:grid; grid-template-columns:auto 1fr; gap:6px 10px; align-items:baseline; font-size:14.5px; line-height:1.45; color:var(--ink); }
.gt-sun-lead{ margin:0 0 8px !important; font-size:14.5px; color:var(--ink); }
.gt-dot{ width:10px; height:10px; border-radius:50%; display:inline-block; }
.gt-dot.sun{ background:#d9a21f; }
.gt-dot.shade{ background:var(--ink-3); }
.gt-note{ margin:0; font-size:14px; color:var(--ink-2); }
.gt-src{ margin:0; font-size:12.5px; color:var(--ink-3); line-height:1.5; }
.gt-src a{ color:var(--sky-deep); font-weight:600; text-decoration:none; white-space:nowrap; }
@media (hover:hover){ .gt-src a:hover{ text-decoration:underline; } }

/* the roads-and-airports table, also used inside the hazards tab rows */
.gt-routes{ border:1px solid var(--line); border-radius:12px; overflow:hidden; }
.gt-routes table{ width:100%; border-collapse:collapse; font-size:14px; }
.gt-routes th{ font-family:var(--font-bug); font-weight:700; font-size:12.5px; letter-spacing:.12em; text-transform:uppercase;
  color:var(--ink-3); text-align:left; padding:9px 14px; background:var(--panel); }
.gt-routes td{ padding:10px 14px; border-top:1px solid var(--line); vertical-align:top; color:var(--ink); }
.gt-routes td:first-child{ font-weight:600; width:30%; }
.gt-kind{ display:block; font-weight:400; font-size:12.5px; color:var(--ink-3); }
.gt-cell-t{ color:var(--ink-2); line-height:1.45; }

@media (max-width:640px){
  .gt-timeline{ grid-template-columns:1fr 1fr; }
  .gt-tl:nth-child(3){ border-left:0; }
  .gt-tl:nth-child(n+3){ border-top:1px solid var(--line); }
  .gt-two{ grid-template-columns:1fr; }
  .gt-routes thead{ display:none; }
  .gt-routes tr{ display:grid; gap:4px; padding:10px 14px; border-top:1px solid var(--line); }
  .gt-routes tr:first-child{ border-top:0; }
  .gt-routes td{ border:0; padding:0; width:auto !important; }
  .gt-routes td[data-l]::before{ content:attr(data-l); font-family:var(--font-bug); font-weight:700; font-size:12px;
    letter-spacing:.12em; text-transform:uppercase; color:var(--ink-3); margin-right:8px; }
}

/* ── the TRAVEL tag on a scorebug (trouble weeks only) ──────────── */
.sb-act.sb-travel{ color:#ff8a80; border-color:rgba(255,138,128,.55); text-decoration:none; }
@media (hover:hover){ .sb-act.sb-travel:hover{ color:#ffb3ab; border-color:currentColor; } }
/* Narrow phones: with a third button in the row the WQB LINE was squeezed to
   "GIANT…" (360px, the hourly check). Only a bug that carries the tag wraps,
   putting the line on its own row; every other card is untouched. */
@media (max-width:520px){
  .sb-strip:has(.sb-travel){ flex-wrap:wrap; row-gap:8px; }
  .sb-strip:has(.sb-travel) .sb-strip-line{ flex:1 0 100%; order:2; }
}

/* ── CFB team page line ─────────────────────────────────────────── */
.gt-team{ margin:8px 0 0; font-size:14.5px; line-height:1.5; color:var(--ink-2); max-width:72ch; }
.gt-team b{ color:var(--ink); font-weight:600; }
.gt-team a{ color:var(--sky-deep); font-weight:600; text-decoration:none; white-space:nowrap; }
@media (hover:hover){ .gt-team a:hover{ text-decoration:underline; } }

/* ── /hazards/ Game travel tab ──────────────────────────────────── */
.trv-stands{ margin:14px 14px 0; }
.trv-sub{ font-family:var(--font-bug); font-weight:700; font-size:13px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--ink-3); margin:14px 14px 0; }
.trv-mini{ width:100%; }
.trv-mini > summary{ cursor:pointer; }
.trv-mini[open]{ border:1px solid var(--line); border-radius:12px; padding:10px 0 4px; margin:4px 0; background:var(--bg); }
.trv-mini[open] > summary{ padding:0 14px 8px; }
.trv-mini .trv-link{ display:inline-block; margin:10px 14px 8px; font-size:13.5px; font-weight:600; color:var(--sky-deep); text-decoration:none; }
.hz.trv{ stroke:var(--bg, #fff); stroke-width:.12; }
circle.trv-trouble{ fill:var(--bad); }
circle.trv-watch{ fill:var(--warn); }
circle.trv-ok, circle.trv-pending{ fill:var(--ink-3); opacity:.75; }
.trv-key{ display:grid; gap:8px; font-size:13.5px; color:var(--ink-2); }
.trv-key span{ display:flex; align-items:center; gap:10px; }
.trv-key svg{ flex:none; }
.trv-grp{ font-family:var(--font-bug); font-weight:700; font-size:13px; letter-spacing:.14em; text-transform:uppercase; margin:14px 0 8px; }
.trv-grp:first-child{ margin-top:0; }
.trv-grp.trouble{ color:var(--bad); }
.trv-grp.watch{ color:var(--warn); }
.trv-list{ display:grid; gap:8px; }
.trv-row{ border:1px solid var(--line); border-radius:12px; padding:0; background:var(--bg); }
.trv-row > summary{ list-style:none; cursor:pointer; padding:12px 14px; display:grid; grid-template-columns:auto 1fr; gap:3px 12px; }
.trv-row > summary::-webkit-details-marker{ display:none; }
.trv-row > summary:focus-visible{ outline:2px solid var(--sky-deep); outline-offset:2px; border-radius:12px; }
.trv-row[open] > summary{ border-bottom:1px solid var(--line); }
.trv-row .gt-routes{ margin:12px 14px 0; }
.trv-row .trv-link{ display:inline-block; margin:10px 14px 12px; font-size:13.5px; font-weight:600; color:var(--sky-deep); text-decoration:none; }
.trv-row:not(:has(.trv-link)) .gt-routes{ margin-bottom:14px; }
.trv-lg{ font-family:var(--font-bug); font-weight:700; font-size:12.5px; letter-spacing:.1em; color:var(--ink-3); padding-top:2px; }
.trv-g{ font-weight:600; color:var(--ink); }
.trv-when{ font-weight:400; color:var(--ink-3); font-size:13px; margin-left:6px; white-space:nowrap; }
.trv-p{ grid-column:2; color:var(--ink-2); font-size:14px; line-height:1.45; }
.trv-hit{ box-shadow:0 0 0 2px var(--sky-deep); }
.trv-empty{ margin:0; color:var(--ink-2); font-size:14.5px; }
.trv-quiet{ margin-top:14px; font-size:14px; color:var(--ink-2); }
.trv-quiet > summary{ cursor:pointer; }
.trv-quiet ul{ margin:10px 0 0; padding-left:0; list-style:none; display:grid; gap:4px; }
.trv-quiet li{ display:flex; flex-wrap:wrap; gap:4px 6px; align-items:baseline; }
@media (hover:hover){ .trv-row .trv-link:hover{ text-decoration:underline; } }

/* Evening sweep 10/7: the pink Travel chip read 1.5:1 on the light scorebug strip; a deeper red there. */
:root:not([data-theme="dark"]) .sb-act.sb-travel{ color:#991b16; border-color:rgba(153,27,22,.5); }
