/* The website's bar on every page (the week sheets too, which link this file): home, the leagues, and inside a
   season a row of its pages to swipe through. It slides away while you scroll down and comes back when you scroll
   up. Colors come from each page's own tokens (website.css, pick_sheet.html). */
:root{ --sitebar-offset:var(--sitebar-h, 0px); }  /* how far below the top other sticky bars sit */
html.sitebar-hidden{ --sitebar-offset:0px; }
.sitebar{ position:sticky; top:0; z-index:20; border-bottom:1px solid var(--line);
  background:color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter:blur(14px) saturate(1.3); backdrop-filter:blur(14px) saturate(1.3);
  transition:transform .32s cubic-bezier(.2,.7,.2,1); }
html.sitebar-hidden .sitebar{ transform:translateY(-100%); }
.sitebar-in{ width:min(1080px, 100% - 32px); margin-inline:auto; }
.sitebar-row{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding-block:10px; }
.sitebar a{ text-decoration:none; }
.sitebar a:focus-visible{ outline:2px solid var(--turf); outline-offset:2px; border-radius:4px; }
.sitebar-brand{ display:inline-flex; align-items:center; gap:9px; color:var(--ink); font:700 18px/1 var(--display); letter-spacing:.12em; text-transform:uppercase; white-space:nowrap; }
.sitebar-brand svg{ width:26px; height:26px; flex:none; }
.sitebar .mark-bg{ fill:var(--turf); } .sitebar .mark-ball{ fill:var(--bg); }
.sitebar .mark-laces{ stroke:var(--turf); stroke-width:1.5; stroke-linecap:round; fill:none; }
.sitebar-leagues{ display:flex; gap:4px; }
.sitebar-leagues a{ font:700 14px/1 var(--display); letter-spacing:.08em; text-transform:uppercase; color:var(--muted); padding:8px 11px; border-radius:999px; }
.sitebar-leagues a[aria-current]{ background:var(--ink); color:var(--bg); }
.sitebar .abbr{ display:none; }
@media (max-width:420px){ .sitebar .full{ display:none; } .sitebar .abbr{ display:inline; } }  /* "CFB" on phones */
/* The season's pages: one row you swipe, the current one marked */
.sitebar-strip{ display:flex; gap:6px; overflow-x:auto; scrollbar-width:none; padding-block:0 10px; scroll-padding-inline:16px; }
.sitebar-strip::-webkit-scrollbar{ display:none; }
.sitebar-strip a{ flex:none; font:600 14px/1 var(--display); letter-spacing:.07em; text-transform:uppercase; color:var(--ink);
  border:1px solid var(--line); background:var(--surface); border-radius:999px; padding:8px 13px; }
.sitebar-strip a[aria-current="page"]{ background:var(--board, var(--ink)); color:var(--lamp, var(--bg)); border-color:var(--board, var(--ink)); }
.sitebar-strip .rec{ margin-left:7px; font-variant-numeric:tabular-nums; letter-spacing:.02em; color:var(--muted); }
.sitebar-strip .rec.good{ color:var(--turf); } .sitebar-strip .rec.bad{ color:var(--clay); }  /* our pick that week */
.sitebar-strip a[aria-current="page"] .rec.good{ color:var(--lit, var(--turf)); }
.sitebar-strip a[aria-current="page"] .rec.bad{ color:var(--unlit, var(--clay)); }
.sitebar-strip .gap{ flex:none; width:1px; margin-inline:4px; background:var(--line); }  /* between the season pages and its weeks */
@media (hover:hover) and (pointer:fine){ .sitebar-leagues a:hover, .sitebar-strip a:hover{ color:var(--turf); } }
@media (prefers-reduced-motion:reduce){ .sitebar{ transition:none; } }
