
:root { --gold:#ffb81c; --gold-deep:#d99a00; --gold-wash:#fff8e6; --black:#111; --red:#c60c30; --ink:#111;
        --ink-2:#444; --muted:#6b6b6b; --line:#e4e1da; --page:#f4f3ef; --card:#fff; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font: 15px/1.45 system-ui, -apple-system, "Segoe UI",
       Roboto, sans-serif; }
a { color: var(--ink); text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 2px; }
a:hover { color: #9a6c00; }
h1, h2, h3, .os-stat-v, .os-tab, .os-nav-a, .os-menu summary, .os-side-head { font-family: Montserrat, system-ui, sans-serif; }

/* bar */
.os-bar { background: var(--black); border-bottom: 4px solid var(--gold); position: relative; z-index: 30; }
.os-bar-in { max-width: 1480px; margin: 0 auto; padding: 6px 16px; display: flex; align-items: center; gap: 14px; }
.os-brand img { height: 48px; width: auto; display: block; }
.os-nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.os-nav-a, .os-menu summary { color: #d4d4d4; text-decoration: none; font-weight: 700; font-size: .69rem;
  text-transform: uppercase; letter-spacing: .03em; padding: 10px 8px; cursor: pointer; list-style: none;
  white-space: nowrap; display: block; }
.os-menu summary::-webkit-details-marker { display: none; }
.os-menu summary::after { content: " ▾"; font-size: .6rem; }
.os-nav-a:hover, .os-menu summary:hover { color: #fff; }
.os-nav-a.on, .os-menu.on > summary { color: var(--gold); box-shadow: inset 0 -3px 0 var(--gold); }
.os-menu { position: relative; }
.os-menu-list { position: absolute; top: 100%; left: 0; background: #111; border: 1px solid #333;
  border-top: 3px solid var(--gold); min-width: 220px; padding: 6px 0; z-index: 40; }
.os-menu-list a { display: block; color: #d4d4d4; text-decoration: none; padding: 7px 14px;
  font: 600 .82rem Montserrat, system-ui, sans-serif; }
.os-menu-list a:hover, .os-menu-list a.on { background: #222; color: var(--gold); }
.os-burger { display: none; margin-left: auto; background: none; border: 1px solid #555; color: #fff; border-radius: 6px;
  font-size: 1.1rem; padding: 2px 10px; }
.os-search { margin-left: auto; position: relative; }
.os-suggest { position: absolute; right: 0; top: calc(100% + 4px); width: 340px; max-width: 92vw; background: #fff;
  border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 0 0 8px 8px; z-index: 60;
  box-shadow: 0 8px 24px rgba(0,0,0,.18); padding: 4px 0; }
.os-sug { display: grid; grid-template-columns: 52px 22px 1fr; grid-template-rows: auto auto; column-gap: 8px;
  padding: 6px 12px; text-decoration: none; color: var(--black); }
.os-sug:hover, .os-sug.on { background: var(--gold-wash); }
.os-sug .os-kind { grid-row: 1 / span 2; align-self: center; }
.os-sug-i { grid-row: 1 / span 2; grid-column: 2; align-self: center; width: 22px; height: 22px; display: grid;
  place-items: center; }
.os-sug-i img { width: 20px; height: 20px; display: block; }
.os-sug-l, .os-sug-s { grid-column: 3; }
.os-sug-l { font-weight: 700; font-size: .88rem; }
.os-sug-s { font-size: .76rem; color: var(--muted); }
.os-sug-all, .os-sug-empty { font-size: .74rem; color: var(--muted); padding: 6px 12px 4px; border-top: 1px solid var(--line); }
.os-sug-empty { border-top: 0; }
/* what kind a result is (the suggestions and the search page) */
.os-kind { display: inline-block; font: 800 .6rem Montserrat, system-ui, sans-serif; letter-spacing: .06em;
  text-transform: uppercase; border-radius: 4px; padding: 3px 6px; text-align: center; margin-right: 6px; }
.os-kind-player { background: var(--gold); color: var(--black); }
.os-kind-club { background: var(--black); color: #fff; }
.os-kind-team { background: var(--red); color: #fff; }
.os-kind-union { background: #fff; color: var(--black); box-shadow: inset 0 0 0 1.5px var(--black); }
dialog.os-news li a, dialog.os-news li button.os-linkbtn { font: inherit; color: inherit; text-decoration: underline;
  text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 2px; }
.os-search input { width: 250px; max-width: 100%; border: 1px solid #444; background: #1d1d1d; color: #fff;
  border-radius: 6px; padding: 6px 10px; font: inherit; }
.os-search input:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
/* the account menu (3.0.0) */
.os-acct { margin-left: 4px; }
.os-home .os-acct { margin-left: auto; }
.os-acct > summary { padding: 4px; }
.os-acct > summary::after { content: none; }
.os-avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--gold);
  color: var(--black); font: 800 .9rem Montserrat, system-ui, sans-serif; text-transform: none; letter-spacing: 0; }
.os-acct.on .os-avatar, .os-acct[open] .os-avatar { box-shadow: 0 0 0 2px var(--black), 0 0 0 4px var(--gold); }
.os-acct.on > summary { box-shadow: none; }
.os-acct-list { left: auto; right: 0; }
.os-acct-email { display: block; padding: 6px 14px 8px; color: #9a9a9a; font-size: .76rem; border-bottom: 1px solid #333;
  margin-bottom: 4px; overflow-wrap: anywhere; }
.os-menu-list a.os-acct-out { border-top: 1px solid #333; margin-top: 4px; }
.os-dev .os-avatar { background: var(--black); color: var(--gold); }
.os-dev .os-acct.on .os-avatar, .os-dev .os-acct[open] .os-avatar { box-shadow: 0 0 0 2px var(--gold), 0 0 0 4px var(--black); }
.os-dev .os-acct-email { color: #5a4a20; border-color: #d9c48f; }
.os-dev .os-menu-list a.os-acct-out { border-color: #d9c48f; }
/* DevSide (the staging app): a Forge gold bar with #111111 lettering (Zim, Oct 23, 2026) */
.os-dev .os-bar { background: var(--gold); border-bottom-color: var(--black); }
.os-dev .os-nav-a, .os-dev .os-menu summary { color: var(--black); }
.os-dev .os-nav-a:hover, .os-dev .os-menu summary:hover { color: #000; text-decoration: underline; }
.os-dev .os-nav-a.on, .os-dev .os-menu.on > summary { color: var(--black); box-shadow: inset 0 -3px 0 var(--black); }
.os-dev .os-menu-list { background: #fff; border-color: #d9c48f; border-top-color: var(--black); }
.os-dev .os-menu-list a { color: var(--black); }
.os-dev .os-menu-list a:hover, .os-dev .os-menu-list a.on { background: var(--gold-wash); color: var(--black); }
.os-dev .os-burger { border-color: var(--black); color: var(--black); }
.os-dev .os-search input { background: #fff; border-color: var(--black); color: var(--black); }
.os-dev .os-search input::placeholder { color: #5a4a20; }
.os-dev .os-search input:focus { outline-color: var(--black); border-color: var(--black); }

/* page */
.os-main { max-width: 1120px; margin: 0 auto; padding: 14px 16px 40px; position: relative; }
.os-wide .os-main { max-width: 1480px; }
.os-tools { display: flex; justify-content: flex-end; margin-bottom: 2px; }
.os-copy, .os-btn { font: 700 .72rem Montserrat, system-ui, sans-serif; text-transform: uppercase; letter-spacing: .03em;
  border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 6px 10px; cursor: pointer;
  text-decoration: none; color: var(--ink); display: inline-block; }
.os-copy:hover, .os-btn:hover { border-color: var(--gold); }
.os-copy.done { background: var(--gold); border-color: var(--gold); }
/* main section headings that stay (Season Snapshots, Season Stats, Player Stats) and the headings inside them */
.os-h2.os-sec { display: block; font-size: 1.25rem; letter-spacing: .06em; margin: 30px 0 10px; padding-bottom: 6px;
  border-bottom: 4px solid var(--gold); }
.os-h3s { display: flex; align-items: center; gap: 10px; font: 800 1.15rem Montserrat, system-ui, sans-serif;
  margin: 22px 0 8px; }
.os-h3s img { display: block; }
.os-fold-title { display: inline-flex; align-items: center; gap: 8px; }
.os-bar-logos { display: inline-flex; gap: 4px; }
.os-bar-logos img { background: #fff; border-radius: 4px; padding: 2px; display: block; }
.os-h1 { font-size: 1.6rem; font-weight: 800; margin: 0 0 4px; letter-spacing: -.01em; }
.os-h2 { font-size: .95rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; margin: 26px 0 8px;
  border-bottom: 3px solid var(--gold); padding-bottom: 4px; display: inline-block; }
.os-sub { margin: 0; color: var(--ink-2); font-weight: 600; }
.os-sub2 { margin: 2px 0 0; color: var(--muted); font-size: .9rem; }
.os-muted { color: var(--muted); }
.os-small { font-size: .82rem; }
.os-note { background: var(--gold-wash); border: 1px solid #f1d89a; border-radius: 6px; padding: 8px 12px;
  margin: 10px 0; font-size: .88rem; }
.os-hero { display: flex; align-items: center; gap: 16px; }
/* team, club and player pages: the header is a card with a gold rule under it, so the page body starts clearly */
.os-hero.os-hero-card { background: var(--card); border: 1px solid var(--line); border-bottom: 4px solid var(--gold);
  border-radius: 10px; padding: 16px 18px; margin: 0 0 22px; align-items: flex-start; }
/* player pages: a bigger header, with the player's photo when there is one (Zim, Oct 23) */
.os-hero.os-hero-player { padding: 22px 26px; gap: 24px; align-items: center; }
.os-hero-player .os-h1 { font-size: 2.15rem; margin-bottom: 6px; }
.os-hero-player .os-sub { font-size: 1.08rem; }
.os-hero-player .os-sub2 { font-size: .98rem; margin-top: 4px; }
.os-headshot { width: 176px; height: 176px; object-fit: cover; object-position: center 30%; border-radius: 14px;
  border: 3px solid var(--gold); background: #eee; flex: none; display: block; }
.os-hero-side { align-self: flex-start; margin-left: auto; }
.os-hero-side img { width: 64px; height: 64px; }
@media (max-width: 640px) {
  .os-hero.os-hero-player { padding: 16px; gap: 14px; flex-wrap: wrap; }
  .os-headshot { width: 112px; height: 112px; }
  .os-hero-player .os-h1 { font-size: 1.6rem; }
  .os-hero-player .os-hero-side { display: none; }
}
.os-hero-rule { border: 0; border-top: 1px solid var(--line); margin: 10px 0 6px; }
.os-season-tabs .os-acts { align-self: center; margin-left: 4px; }
.os-season-titles { margin: 6px 0 2px; }
.os-exp { background: none; border: 0; padding: 0 6px 0 0; cursor: pointer; font-size: .9rem; color: var(--ink-2); }
tr.os-exp-row { cursor: pointer; }
tr.os-exp-row.open td { border-bottom-color: transparent; }
tr.os-sub-row td { background: var(--gold-wash) !important; font-size: .82rem; }
tr.os-sub-row td:first-child { border-left: 3px solid var(--gold); }
.os-hero-logo { display: flex; gap: 8px; }
/* the header's clubs (3.0.0, Oct 24): the current club's logo big, earlier clubs' logos in a row under it */
.os-logo-stack { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.os-logo-main { display: flex; align-items: center; gap: 8px; }
.os-hero-player .os-logo-main img { width: 104px; height: 104px; }
.os-hero-player .os-logo-main .os-logo-txt { --px: 104px; }
.os-logo-prev { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 150px; }
.os-hero-player .os-logo-prev img { width: 30px; height: 30px; }
.os-logo-prev a { line-height: 0; }
.os-logo-txt { display: inline-grid; place-items: center; width: var(--px); height: var(--px); border-radius: 50%;
  background: var(--black); color: var(--gold); font: 800 calc(var(--px) * .3) Montserrat, system-ui, sans-serif;
  letter-spacing: -.02em; line-height: 1; flex: none; }
.os-affil { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.os-affil-row { display: flex; gap: 6px 12px; align-items: center; flex-wrap: wrap; min-height: 26px; }
.os-affil dt { font: 700 .7rem/1.2 Montserrat, system-ui, sans-serif; text-transform: uppercase; letter-spacing: .04em;
  color: var(--muted); min-width: 6.5rem; display: flex; align-items: center; }
.os-affil dd > i { margin-right: 8px; }
.os-affil dd { margin: 0; font-size: .95rem; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 0; line-height: 1.2; }
.os-affil dd > i { font-style: normal; color: var(--muted); }
.os-affil-i { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; text-decoration: none;
  color: var(--ink); }
a.os-affil-i b { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px;
  text-underline-offset: 2px; }
.os-affil-i span { color: var(--ink-2); }
.os-affil-i img { width: 20px; height: 20px; display: block; }
/* sections that fold inside a fold: a division in a season, a season's chart, "Read this first" */
details.os-subfold { margin: 8px 0; }
details.os-subfold > summary.os-subfold-bar { display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none;
  background: var(--gold-wash); border: 1px solid #f1d58c; border-left: 4px solid var(--gold); border-radius: 6px;
  padding: 6px 10px; font-size: .9rem; }
details.os-subfold > summary::-webkit-details-marker { display: none; }
details.os-subfold > summary .os-div-name { font: 800 .9rem Montserrat, system-ui, sans-serif; }
details.os-subfold > summary .os-div-recap { color: var(--ink-2); font-size: .82rem; }
details.os-subfold > summary .os-snap-tog::after { color: var(--ink-2); }
details.os-subfold:not([open]) > summary .os-snap-tog::after { content: "Show ▾"; }
.os-subfold-body { padding-top: 6px; }
details.os-caution-fold > summary.caution-head { display: flex; align-items: center; cursor: pointer; list-style: none; }
details.os-caution-fold > summary::-webkit-details-marker { display: none; }
details.os-caution-fold > summary .os-snap-tog::after { color: var(--ink-2); }
details.os-caution-fold:not([open]) > summary .os-snap-tog::after { content: "Show ▾"; }
details.os-caution-fold:not([open]) { padding-bottom: 6px; }
.os-key-h { margin: 22px 0 6px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .95rem; }
.os-hero-logo img { display: block; }
.os-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.os-stat { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.os-stat-v { font-size: 1.3rem; font-weight: 800; }
.os-stat-l { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.os-switches { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 14px 0 0; }
.os-record { font-weight: 700; margin: 12px 0 0; }
.os-season { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; margin: 22px 0 6px; }
.os-div-head { display: flex; align-items: baseline; gap: 12px; margin: 10px 0 4px; }
.os-div-name { font: 800 1rem Montserrat, system-ui, sans-serif; }
.os-div-recap { color: var(--muted); font-size: .85rem; }
.os-season-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; }
.os-season-tab { border: 1px solid var(--line); background: #fff; border-radius: 16px; padding: 4px 12px;
  text-decoration: none; font: 700 .8rem Montserrat, system-ui, sans-serif; }
.os-season-tab.on { background: var(--black); color: var(--gold); border-color: var(--black); }
.os-plain { padding-left: 18px; }
.os-correct { margin-top: 28px; color: var(--muted); font-size: .88rem; }
.os-linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); cursor: pointer;
  text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }

/* switches */
.os-toggle, .os-switch { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600;
  text-decoration: none; color: var(--ink); cursor: pointer; }
.os-knob { width: 32px; height: 18px; border-radius: 9px; background: #cfccc4; position: relative; flex: none;
  transition: background .15s; }
.os-knob::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%;
  background: #fff; transition: left .15s; }
.os-toggle.on .os-knob, .os-switch input:checked + .os-knob { background: var(--black); }
.os-toggle.on .os-knob::after, .os-switch input:checked + .os-knob::after { left: 16px; background: var(--gold); }
.os-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.os-switch input:focus-visible + .os-knob { outline: 2px solid var(--gold); outline-offset: 2px; }

/* tables */
.os-table-wrap { overflow: auto; background: var(--card); border: 1px solid #d9d5cc; border-radius: 10px;
  max-width: 100%; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.os-grid { max-height: 72vh; }
.os-tall { max-height: 420px; }
.os-table { border-collapse: separate; border-spacing: 0; width: 100%; font-size: .86rem;
  font-variant-numeric: tabular-nums; }
.os-table th { font: 700 .68rem Montserrat, system-ui, sans-serif; text-transform: uppercase; letter-spacing: .04em;
  text-align: center; padding: 9px 8px 8px; white-space: nowrap; background: var(--black); color: #fff;
  border-bottom: 3px solid var(--gold); position: sticky; top: 0; z-index: 2; }
.os-table th a { text-decoration: none; color: inherit; display: block; }
.os-table th a:hover { color: var(--gold); }
.os-table th.os-sorted { color: var(--gold); background: #222; }
.os-table td { text-align: center; padding: 6px 8px; border-bottom: 1px solid #eeebe4; white-space: nowrap;
  background: #fff; }
.os-table tbody tr:nth-child(even) td { background: #faf8f3; }
.os-table th.os-left, .os-table td.os-left { text-align: left; }
.os-table td.os-b { font-weight: 700; }
.os-table tbody tr:hover td { background: var(--gold-wash); }
.os-table tbody tr.sel td { background: #ffe7a3; }
.os-table tr[data-open], .os-table tr[data-sub], .os-table tr[data-href] { cursor: pointer; }
.os-table tr[data-open]:focus-visible, .os-table tr[data-sub]:focus-visible { outline: 2px solid var(--black);
  outline-offset: -2px; }
.os-table .os-frozen { position: sticky; z-index: 1; }
.os-table th.os-frozen { z-index: 3; }
.os-table .os-frozen-last { box-shadow: 2px 0 0 #d9d5cc; }
.os-table .split-thin { border-right: 2px solid #c9c5bb; }
.os-table th.split-thin { border-right-color: #5a5a5a; }
.os-table .split-after { border-right: 3px solid var(--black); }
.os-table th.split-after { border-right-color: var(--gold); }
.os-table .split-hair { border-right: 1px solid #ddd; }
.os-table th.split-hair { border-right-color: #3a3a3a; }
.os-rx { font: 700 .72rem Montserrat, system-ui, sans-serif; color: var(--ink); text-decoration: none;
  border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; white-space: nowrap; }
.os-rx:hover { background: var(--gold); border-color: var(--gold); }
.os-edited { display: inline-block; color: #8a5a00; background: #fff4d6; border-radius: 4px; padding: 0 5px;
  font-weight: 700; cursor: help; }
.os-match-src { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: .4rem 0 .2rem;
  font-size: .82rem; }
.os-match-edits { margin: .3rem 0 .6rem; padding: .45rem .7rem; background: #fff8e6; border-left: 4px solid var(--gold);
  border-radius: 4px; font-size: .82rem; }
.os-match-edits b { font-family: Montserrat, system-ui, sans-serif; }
.os-match-edits ul { margin: .2rem 0 0; padding-left: 1.1rem; }
.os-team { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink); }
.os-team img { flex: none; }
.os-u, a.os-name { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px;
  text-underline-offset: 2px; }
a.os-team:hover .os-u, a.os-name:hover { text-decoration-color: var(--black); }
.os-pager { display: flex; gap: 14px; align-items: center; justify-content: flex-end; margin: 8px 0; font-size: .86rem; }
.os-pager a { font-weight: 700; }
.os-defs { margin-top: 12px; font-size: .84rem; }
.os-defs summary { cursor: pointer; font-weight: 700; }
.os-defs dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; margin: 8px 0; }
.os-defs dt { font-weight: 700; }
.os-defs dd { margin: 0; color: var(--ink-2); }
img.logo-ink { background: #fff; border-radius: 50%; }
/* small tables in panels and pages */
.os-mini-wrap { display: inline-block; max-width: 100%; vertical-align: top; }
.os-mini { border-collapse: separate; border-spacing: 0; font-size: .84rem; font-variant-numeric: tabular-nums; }
.os-mini th { background: var(--black); color: #fff; font: 700 .66rem Montserrat, system-ui, sans-serif;
  text-transform: uppercase; letter-spacing: .04em; padding: 7px 10px; text-align: left; white-space: nowrap;
  border-bottom: 3px solid var(--gold); }
.os-mini td { padding: 5px 10px; border-bottom: 1px solid #eeebe4; white-space: nowrap; background: #fff; }
.os-mini tbody tr:nth-child(even) td { background: #faf8f3; }
.os-mini tr.os-mark td { background: #ffe7a3; font-weight: 700; }
.os-pick tbody tr { cursor: pointer; }
.os-pick tbody tr:hover td { background: var(--gold-wash); }
.os-pick tbody tr.sel td { background: #ffe7a3; }
.elig-table { width: 100%; }
.elig-table td { white-space: normal; }
.elig-table td:last-child { text-align: right; white-space: nowrap; }
.elig-table tr.elig-sep td { border-top: 3px solid #111; }
.elig-table tr.elig-total td { font-weight: 700; }

/* stats pages */
.os-stats-page { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 18px; align-items: start; }
.os-stats-page.side-hidden { grid-template-columns: minmax(0, 1fr); }
.os-stats-page.side-hidden .os-side { display: none; }
.os-show-filters { display: none; font: 700 .72rem Montserrat, system-ui, sans-serif; text-transform: uppercase;
  border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 6px 10px; cursor: pointer; }
.os-stats-page.side-hidden .os-show-filters { display: inline-block; }
.os-content { min-width: 0; }
.os-side { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px 14px;
  position: sticky; top: 8px; max-height: calc(100vh - 16px); overflow: auto; font-size: .86rem; }
.os-side-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.os-hide { font: 700 .66rem Montserrat, system-ui, sans-serif; text-transform: uppercase; border: 0; background: none;
  color: var(--ink-2); cursor: pointer; padding: 4px 0; }
.os-hide:hover { color: var(--ink); }
.os-phone-only { display: none; }
@media (max-width: 980px) { .os-phone-only { display: inline; } }
.os-filters-toggle { display: none; }
.os-restore { display: inline-block; font: 700 .7rem Montserrat, system-ui, sans-serif; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 6px; padding: 5px 9px; text-decoration: none; }
.os-side-head { font-weight: 800; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase;
  border-bottom: 3px solid var(--gold); padding-bottom: 3px; margin: 14px 0 6px; }
.os-ctl { margin: 8px 0 10px; min-width: 0; }
.os-ctl-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 3px; }
.os-label { font-weight: 700; color: var(--red); font-size: .84rem; }
.os-acts { font-size: .7rem; white-space: nowrap; }
.os-acts a, .os-dd-acts a { color: var(--ink-2); text-decoration: none; border-bottom: 1px dotted #a8a8a8; margin-left: 8px; }
.os-dd-acts { display: flex; gap: 12px; font-size: .72rem; margin: 2px 0 4px; }
.os-dd-acts a { margin: 0; }
.os-inline { display: flex; flex-wrap: wrap; gap: 2px 12px; }
.os-stack { display: flex; flex-direction: column; gap: 1px; }
.os-trio { display: grid; grid-template-columns: auto minmax(0, .9fr) minmax(0, 1.1fr); gap: 10px; align-items: start; }
.os-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: start; }
.os-pair-pos { grid-template-columns: auto minmax(0, 1fr); }
.os-trio .os-ctl, .os-pair .os-ctl { margin-top: 4px; }
.os-level { flex-direction: column; align-items: flex-start; gap: 3px; font-size: .78rem; line-height: 1.15; }
.os-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; }
.os-opt { display: flex; align-items: center; gap: 6px; padding: 2px 0; cursor: pointer; }
.os-opt > span { display: inline-flex; align-items: center; gap: 6px; }
.os-opt input { accent-color: #111; margin: 0; flex: none; }
.os-opt img { flex: none; display: block; }
.os-empty { color: #aaa; cursor: default; }
.os-empty img { filter: grayscale(1); opacity: .4; }
.os-staticval { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.os-help { font-size: .74rem; color: var(--muted); margin: 3px 0 0; line-height: 1.3; }
.os-dates { display: flex; align-items: center; gap: 6px; }
.os-dates input, .os-num, .os-pick-find, .os-dd-find { border: 1px solid var(--line); border-radius: 6px;
  padding: 4px 6px; font: inherit; background: #fff; min-width: 0; }
.os-dates input[type=date] { width: 100%; }
.os-num { width: 5.2rem; }
.os-num-s { width: 4.2rem; }
.os-ss { display: flex; align-items: center; gap: 5px; margin: 3px 0; }
.os-ss .os-opt { min-width: 5.6rem; }
.os-off { opacity: .45; border: 0; padding: 0; margin: 0; min-width: 0; }
.os-off * { cursor: not-allowed !important; }
.os-off-head { color: #888; border-bottom-color: #e8d7a6; }
.os-off-note { margin-top: -4px; font-style: italic; }
/* dropdowns: open over the page, close on a click elsewhere */
.os-dd { border: 1px solid var(--line); border-radius: 6px; background: #fff; position: relative; }
.os-dd[open] { border-color: var(--black); }
.os-dd summary { cursor: pointer; padding: 5px 8px; list-style: none; display: flex; justify-content: space-between;
  gap: 6px; }
.os-dd summary::-webkit-details-marker { display: none; }
.os-dd summary::after { content: "▾"; color: var(--muted); }
.os-dd summary span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.os-dd-menu { position: absolute; z-index: 25; left: -1px; top: calc(100% + 3px); min-width: calc(100% + 2px);
  width: max-content; max-width: 300px; background: #fff; border: 1px solid var(--black); border-radius: 6px;
  padding: 6px 8px; max-height: 320px; overflow: auto; box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.os-pair > .os-ctl:last-child .os-dd-menu, .os-trio > .os-ctl:last-child .os-dd-menu { left: auto; right: -1px; }
.os-dd-find { width: 100%; margin-bottom: 4px; }
.os-dd-sub.os-dd-none { color: #a39c8a; font-weight: 600; }
.os-dd-sub.os-dd-none img { opacity: .45; }
.os-dd-sub { display: flex; align-items: center; gap: 6px; font-weight: 700; margin-top: 6px; font-size: .74rem;
  color: var(--ink-2); text-transform: uppercase; letter-spacing: .03em; }
/* union crests */
.gu-crests { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 2px 0 0; }
.os-crest-row { margin-bottom: 0; }
.gu-grp { display: inline-flex; flex-wrap: wrap; gap: 2px; }
.gu-crest { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 30px;
  height: 30px; border: 1px solid transparent; border-radius: 6px; background: none; padding: 0; cursor: pointer; }
.gu-crest img { width: 24px; height: 24px; }
button.gu-crest:hover { border-color: #d9d5cc; background: #faf8f3; }
button.gu-crest:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.gu-crest.off img { filter: grayscale(1); opacity: .45; }
.gu-crest.off::after { content: ""; position: absolute; left: 3px; right: 3px; top: 50%; height: 2px;
  background: var(--red); transform: rotate(-35deg); }
.gu-crest.gu-empty { cursor: not-allowed; border: 1px dashed #c9c5bc; }
.gu-crest.gu-empty img { filter: grayscale(1); opacity: .22; }
.gu-txt { font-size: .6rem; font-weight: 700; color: #555; }
.gu-sep { width: 1px; align-self: stretch; min-height: 24px; background: #b9b5ac; margin: 0 4px; }
/* match minutes slider */
.os-range-vals { display: flex; gap: 6px; font-weight: 700; font-variant-numeric: tabular-nums; margin-bottom: 2px; }
.os-range-track { position: relative; height: 22px; }
.os-range-track::before { content: ""; position: absolute; left: 8px; right: 8px; top: 9px; height: 4px; border-radius: 2px;
  background: #ddd8cd; }
.os-range-fill { position: absolute; top: 9px; height: 4px; background: var(--black); border-radius: 2px; }
.os-range input[type=range] { position: absolute; left: 0; width: 100%; top: 0; height: 22px; margin: 0;
  background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.os-range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 16px;
  height: 16px; border-radius: 50%; background: var(--gold); border: 2px solid var(--black); cursor: pointer; }
.os-range input[type=range]::-moz-range-thumb { pointer-events: auto; width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold); border: 2px solid var(--black); cursor: pointer; }
.os-range input[type=range]::-moz-range-track { background: none; }
.os-range-ticks { display: flex; justify-content: space-between; font-size: .68rem; color: var(--muted); padding: 0 2px; }
.os-picker { display: flex; flex-wrap: wrap; gap: 4px; border: 1px solid var(--line); border-radius: 6px; padding: 4px;
  position: relative; background: #fff; }
.os-pick-find { border: 0; flex: 1; min-width: 8rem; padding: 3px; }
.os-pick-find:focus { outline: none; }
.os-chip { display: inline-flex; align-items: center; gap: 4px; background: var(--gold-wash); border: 1px solid #f1d89a;
  border-radius: 12px; padding: 1px 4px 1px 8px; font-size: .8rem; }
.os-chip button { border: 0; background: none; cursor: pointer; font-size: .9rem; padding: 0 2px; }
.os-pick-list { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border: 1px solid var(--line);
  border-radius: 6px; z-index: 10; max-height: 260px; overflow: auto; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.os-pick-list button { display: block; width: 100%; text-align: left; border: 0; background: #fff; padding: 6px 8px;
  cursor: pointer; font: inherit; }
.os-pick-list button:hover, .os-pick-list button:focus { background: var(--gold-wash); }
.os-pick-list .os-muted { font-size: .78rem; }
.os-tabs { display: flex; gap: 4px; margin-bottom: 10px; border-bottom: 1px solid var(--line); overflow-x: auto;
  scrollbar-width: none; align-items: center; }
.os-tab { white-space: nowrap; }
.os-tabrow { display: flex; align-items: center; gap: 10px; }
.os-tabrow .os-tabs { flex: 1; min-width: 0; }
.os-tab { text-decoration: none; font-weight: 700; font-size: .74rem; text-transform: uppercase; letter-spacing: .03em;
  padding: 7px 10px; border-bottom: 3px solid transparent; color: var(--ink-2); }
.os-tab.on { border-bottom-color: var(--gold); color: var(--ink); }
.os-tablebar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin: 6px 0; }
.os-tablebar-tools { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.os-hint { margin: 0; color: var(--muted); font-size: .82rem; }
.os-summary { margin: 2px 0 6px; font-size: .8rem; color: var(--muted); }
.os-empty-msg { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 18px; }
.os-busy .os-content, .os-busy .os-page { opacity: .55; transition: opacity .15s; }
.os-busy-note { position: fixed; top: 60px; left: 50%; transform: translateX(-50%); background: var(--black);
  color: var(--gold); padding: 5px 14px; border-radius: 14px; font: 700 .75rem Montserrat, system-ui, sans-serif;
  z-index: 50; display: none; }
.os-busy .os-busy-note { display: block; }

/* the panel under a table, and the same pieces on team and player pages */
.os-panel { margin-top: 16px; background: #fff; border: 1px solid #d9d5cc; border-top: 4px solid var(--gold);
  border-radius: 10px; padding: 12px 16px 16px; }
.os-panel-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.os-panel-label { font: 800 .7rem Montserrat, system-ui, sans-serif; text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); }
.os-panel-loading { opacity: .5; }
.os-phead { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 6px 0 10px; }
.os-phead > div { flex: 1; min-width: 180px; }
.os-h3 { font: 800 1.3rem Montserrat, system-ui, sans-serif; margin: 0; }
.os-h4 { font: 800 1rem Montserrat, system-ui, sans-serif; margin: 14px 0 6px; }
.os-h5 { display: flex; align-items: center; gap: 6px; font: 800 .9rem Montserrat, system-ui, sans-serif; margin: 12px 0 5px; }
.os-ptitle { display: flex; align-items: center; gap: 8px; font: 800 1rem Montserrat, system-ui, sans-serif;
  margin: 18px 0 6px; }
.os-btn-gold { background: var(--gold); border-color: var(--gold); }
.os-btn-gold:hover { background: var(--black); color: var(--gold); border-color: var(--black); }
.os-season-bar { display: flex; align-items: center; gap: 8px; background: var(--black); color: #fff;
  border-left: 8px solid var(--gold); border-radius: 6px; padding: 6px 12px; margin: 18px 0 8px;
  font: 800 1.05rem Montserrat, system-ui, sans-serif; }
.os-season-bar img { background: #fff; border-radius: 4px; padding: 2px; }
.os-season-extra { font-weight: 600; font-size: .82rem; color: #d8d2c4; }
/* team pages: Season Snapshot / Season Stats sections that fold away */
details.os-snap > summary.os-season-bar { cursor: pointer; list-style: none; flex-wrap: wrap; }
details.os-snap > summary::-webkit-details-marker { display: none; }
.os-snap-line { font-weight: 600; font-size: .92rem; color: #f1ead8; }
.os-snap-tog { margin-left: auto; font-size: .8rem; color: var(--gold); }
.os-snap-tog::after { content: "Hide ▴"; font: 700 .7rem Montserrat, system-ui, sans-serif; letter-spacing: .04em;
  text-transform: uppercase; }
details.os-snap:not([open]) .os-snap-tog::after { content: "Show ▾"; }
details.os-snap:not([open]) > summary.os-season-bar { margin-bottom: 4px; }
.os-snap-body { padding: 0 2px 6px; }
.os-mchart-all { margin-top: 26px; }
.os-chart-season { font: 800 1rem Montserrat, system-ui, sans-serif; margin: 22px 0 6px; padding-top: 12px;
  border-top: 2px solid var(--line); }
/* tables that sort in the browser (a team page's player stats) */
table.os-sortable th { cursor: pointer; user-select: none; }
table.os-sortable th.os-sorted-desc::after { content: " ▾"; color: var(--gold); }
table.os-sortable th.os-sorted-asc::after { content: " ▴"; color: var(--gold); }
/* the wild-card table on a team's Playoff picture tab */
.os-mini tr.os-cutline td { border-top: 3px solid var(--red); }
.os-mini tr.os-out td { color: var(--muted); }
/* 3.0.1: block lines in the playoff tables, as on Season Stats */
.os-mini .split-thin { border-right: 2px solid #c9c5bb; }
.os-mini th.split-thin { border-right-color: #5a5a5a; }
.os-gloss { font-size: .78rem; color: var(--ink-2); margin: 4px 0 8px; }
.os-gloss p { margin: 0 0 5px; }
.os-subdetail { border-left: 4px solid var(--gold); padding: 4px 0 4px 12px; margin: 10px 0 14px; }
.os-hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0 4px; }
.os-two { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.os-two-even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.os-match { margin: 4px 0; }
.match-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 6px 0 8px; }
.match-head .sc { font: 800 1.35rem Montserrat, system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.match-head .side { font-weight: 700; font-size: 1.02rem; }
.match-head .when { flex-basis: 100%; color: var(--muted); font-size: .88rem; }
.score-after { display: inline-flex; align-items: center; gap: 6px; }
.os-opp-compare { max-width: 860px; }
.roster-list { columns: 2; column-gap: 2rem; font-size: .85rem; padding-left: 1.1rem; margin: 4px 0 6px; }
.roster-list li { break-inside: avoid; margin-bottom: 2px; }
.elig-section { background: #fff; border: 1px solid var(--line); border-left: 4px solid #111; border-radius: 4px;
  padding: 8px 12px 6px; margin-bottom: 10px; }
.elig-head { margin: 0 0 2px; font: 800 .86rem Montserrat, system-ui, sans-serif; }
.elig-name { font-weight: 600; }
.elig-tag { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 3px; font-size: .72rem;
  font-weight: 700; background: #ffe7a3; border: 1px solid #efc865; }
.elig-note { font-size: .76rem; color: var(--ink-2); }
bslib-layout-columns { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; }
bslib-layout-columns[col-widths-sm="6,6"] { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.text-muted { color: var(--muted); }
.small { font-size: .82rem; }
.glossary { font-size: .78rem; color: var(--ink-2); }
.glossary p { margin: 0 0 5px; }
.panel-title { display: flex; align-items: center; gap: 8px; font: 800 1rem Montserrat, system-ui, sans-serif; }
.hscroll { overflow-x: auto; }
/* charts (the same drawings as the Shiny app's) */
.mchart { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px 10px; margin: 16px 0; }
.chart-title { font: 800 1.02rem Montserrat, system-ui, sans-serif; margin: 0 0 2px; display: flex; align-items: center; gap: 8px; }
.chart-sub { font-size: .8rem; color: var(--ink-2); margin: 0 0 10px; }
.chart-legend { margin-bottom: 8px; }
.legend-row { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 13px; font-size: .75rem; margin-bottom: 4px; }
.legend-title { font-weight: 700; }
.key { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.sw { width: 14px; height: 10px; border-radius: 2px; display: inline-block; }
.sw-track { width: 20px; height: 6px; background: #e2ded5; border-radius: 3px; }
.sw-piece { width: 20px; background: linear-gradient(90deg, #c60c30, #c9c6bf, #f29d00); }
.sw-mine { width: 11px; height: 11px; border-radius: 50%; background: #111; }
.sw-other { width: 10px; height: 10px; border-radius: 50%; background: #b9b5ac; }
.sw-avg { width: 2px; height: 13px; background: #555; border-radius: 1px; }
.chart-note { font-size: .74rem; color: var(--muted); margin: 6px 0 0; }
.mchart-svg { display: block; overflow: visible; }
.mchart-svg text { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.mchart-svg .tick { font-size: 11px; fill: #5f5f5f; }
.mchart-svg .tick2 { font-size: 10px; fill: #8a8a8a; }
.mchart-svg .axis-label { font-size: 11.5px; fill: #333; font-weight: 600; }
.mchart-svg .grid { stroke: #efece6; stroke-width: 1; }
.mchart-svg .base { stroke: #b9b5ac; stroke-width: 1; }
.mchart-svg .hit { fill: transparent; }
.mchart-svg .bar { outline: none; }
.mchart-svg .bar:hover .hit, .mchart-svg .bar:focus .hit { fill: rgba(17, 17, 17, .05); }
.mchart-svg .bar:hover .mark, .mchart-svg .bar:focus .mark { filter: brightness(.9); }
.mchart-svg .bar:focus-visible .hit { stroke: var(--gold); stroke-width: 2; }
.mchart-svg .band { fill: #faf8f3; }
.mchart-svg .spell { fill: #e2ded5; }
.mchart-svg .ht, .mchart-svg .zero { stroke: #9a958b; stroke-width: 1; }
.mchart-svg .rowlab { font-size: 11.5px; font-weight: 600; fill: #111; }
.mchart-svg .rowlab2 { font-size: 10.5px; fill: #6b6b6b; }
.mchart-svg .rowclub { fill: #333; font-weight: 600; }
.os-more { margin: 0 0 12px; padding: 10px 14px; background: #fffaf0; border-left: 4px solid var(--gold);
           border-radius: 6px; font-size: .95rem; }
.mchart-club { font-size: .85rem; margin: 8px 0 4px; line-height: 1.9; }
.mchart-club .os-team { display: inline-flex; align-items: center; gap: 5px; margin: 0 2px; font-weight: 700;
                        vertical-align: middle; white-space: nowrap; }
.mchart-club .os-team + .os-team, .mchart-club .os-team:last-child { margin-right: 0; }
.mchart-svg .colhead { font-size: 10.5px; font-weight: 700; fill: #333; }
.mchart-svg .cell { font-size: 11.5px; fill: #111; }
.mchart-svg .cell-muted { fill: #8a8a8a; font-style: italic; }
.mchart-svg .dot-other { fill: #b9b5ac; stroke: #fff; stroke-width: 2; }
.mchart-svg .dot-mine { fill: #111; stroke: #fff; stroke-width: 2; }
.mchart-svg .avg-tick { stroke: #555; stroke-width: 2; stroke-linecap: round; }
.mchart-svg .mrow:hover .hit, .mchart-svg .mrow:focus .hit { fill: rgba(17, 17, 17, .035); }
.mchart details { margin-top: 6px; font-size: .78rem; }
.mchart summary { cursor: pointer; color: var(--ink-2); }
.tiles { display: flex; flex-wrap: wrap; gap: 10px; margin: 5px 0 12px; }
.tile { flex: 1 1 190px; background: #fffdf7; border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: 4px; padding: 7px 12px; }
.tile-label { font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
.tile-value { font: 700 1.3rem Montserrat, system-ui, sans-serif; color: #111; }
.tile-sub { font-size: .74rem; color: var(--muted); }
.range-bar { display: block; margin: 2px 0; }
.range-bar .axis { stroke: #d8d4cb; stroke-width: 2; stroke-linecap: round; }
.range-bar .zero { stroke: #8a857b; stroke-width: 1; }
.range-bar .whisker { stroke: #111; stroke-width: 2.5; stroke-linecap: round; }
.range-bar .dot { fill: var(--gold); stroke: #111; stroke-width: 2; }
.range-bar text { font-size: 9.5px; fill: #777; }
.range-label { margin-top: 2px; color: var(--ink-2); }
.caution-box { background: #fff8e6; border: 2px solid #111; border-left: 8px solid var(--gold); border-radius: 6px;
  padding: 11px 15px 10px; margin: 8px 0 14px; font-size: .9rem; line-height: 1.45; }
.caution-box p { margin: 0 0 7px; }
.caution-box p:last-child { margin-bottom: 0; }
.caution-head { font: 800 .74rem Montserrat, system-ui, sans-serif; letter-spacing: .09em; text-transform: uppercase;
  margin-bottom: 5px; }
.explainer { border: 1.5px solid #111; border-radius: 6px; background: #fff; margin: 3px 0 14px; font-size: .8rem;
  color: var(--ink-2); }
.explainer > summary { cursor: pointer; list-style: none; padding: 8px 13px; font: 700 .8rem Montserrat, system-ui, sans-serif;
  color: #111; background: var(--gold-wash); border-radius: 4px; }
.explainer > summary::-webkit-details-marker { display: none; }
.explainer > summary::before { content: "\25B8"; display: inline-block; width: 1rem; }
.explainer[open] > summary::before { content: "\25BE"; }
.explainer > p, .explainer > ul { margin: 8px 14px; }
#chart-tip { position: fixed; z-index: 2000; pointer-events: none; display: none; max-width: 320px; background: #111;
  color: #fff; border-top: 3px solid var(--gold); border-radius: 6px; padding: 7px 10px; font-size: .78rem;
  line-height: 1.4; box-shadow: 0 6px 18px rgba(0, 0, 0, .28); }
#chart-tip .t1 { font-weight: 700; font-size: .84rem; }
#chart-tip .t2 { color: #d2d2d2; }
#chart-tip .tip-logos { display: flex; align-items: center; gap: 6px; }

/* team and player pages */
.os-hero-text { flex: 1; min-width: 0; }
.os-hero-act { align-self: flex-start; }
/* 3.0.1: clubs with teams of their own: the teams' logos on the club page, the club's on a team page */
.os-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.os-hero-act:has(.os-hero-club) { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.os-hero-club, .os-hero-teams a { display: inline-flex; border-radius: 8px; padding: 3px; }
.os-hero-club:hover, .os-hero-teams a:hover { background: var(--gold-wash); }
.os-hero-club img { width: 56px; height: 56px; }
.os-hero-teams { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; max-width: 34%; }
.os-hero-teams img { width: 48px; height: 48px; }
.os-links-k { font-weight: 700; color: var(--muted, #555); margin-right: 2px; }
.os-links-k { display: inline-flex; align-items: center; gap: 5px; }
.os-links-k0 { margin-right: 0; }
.os-side-logo { width: 20px; height: 20px; display: block; }
@media (max-width: 720px) {
  .os-hero.os-hero-card { flex-wrap: wrap; }
  .os-hero-teams { order: 3; max-width: none; width: 100%; justify-content: flex-start; }
  .os-hero-teams img, .os-hero-club img { width: 40px; height: 40px; }
}
.os-page-tabs { margin: 14px 0 6px; }
/* filter menus on team and player pages: Forge gold, so they read as controls, not content (Zim, Oct 23) */
.os-ctxbar { background: var(--gold-wash); border: 1px solid #f1d89a; border-left: 6px solid var(--gold);
  border-radius: 10px; margin: 12px 0 6px; }
.os-ctxbar > summary { cursor: pointer; list-style: none; padding: 9px 14px; font: 700 .8rem Montserrat, system-ui, sans-serif;
  display: flex; align-items: center; gap: 8px; }
.os-ctxbar > summary::-webkit-details-marker { display: none; }
.os-ctxbar > summary::before { content: "⚙"; color: var(--black); }
.os-ctxbar > summary { background: var(--gold); border-radius: 0 8px 8px 0; color: var(--black); }
.os-ctxbar[open] > summary { border-radius: 0 8px 0 0; }
.os-ctxbar > summary::after { content: "▾"; margin-left: auto; color: var(--black); }
.os-ctxbar[open] > summary { border-bottom: 1px solid #e3b84a; }
/* the charts' own menu (player pages): Division always in view, the rest in "More filters" */
.os-chartbar { padding: 0; margin: 14px 0 10px; }
.os-chartdivs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 9px 14px;
  font: 700 .82rem Montserrat, system-ui, sans-serif; }
.os-chartdivs .os-label { color: var(--black); }
.os-chartbar details > summary { cursor: pointer; list-style: none; padding: 8px 14px; border-top: 1px solid #e3b84a;
  font: 700 .78rem Montserrat, system-ui, sans-serif; display: flex; gap: 8px; }
.os-chartbar details > summary::-webkit-details-marker { display: none; }
.os-chartbar details > summary::after { content: "▾"; margin-left: auto; }
.os-ctxform { display: flex; flex-wrap: wrap; gap: 6px 26px; padding: 8px 14px 10px; font-size: .86rem; align-items: flex-start; }
.os-ctxform .os-ctl { margin: 4px 0; }
.os-ctl-range { width: 220px; }
.os-ctl-sw .os-ctl { margin: 0 0 6px; }
.os-ctx-reset { align-self: center; font-size: .8rem; font-weight: 700; }
/* the charts' filters, set apart from the season bars around them (Zim, Oct 24): a white box with a black title */
.os-ctxbar.os-chartbar { background: #fff; border: 2px solid var(--black); border-radius: 10px; overflow: hidden;
  margin: 16px 0 14px; }
.os-ctxbar.os-chartbar::before { content: "⚙ Filters for these charts"; display: block; background: var(--black);
  color: var(--gold); font: 800 .74rem Montserrat, system-ui, sans-serif; letter-spacing: .05em; text-transform: uppercase;
  padding: 7px 14px; }
.os-chartbar details > summary { background: #f4f3ef; border-top: 1px solid #d9d5cc; }
.os-chartbar details[open] > summary { border-bottom: 1px solid #d9d5cc; }
/* "Read this first" on player pages: a light shade of the red, so it stands out (Zim, Oct 24) */
details.os-caution-fold.caution-box { background: #fdecef; border-color: var(--red); border-left-color: var(--red); }
details.os-caution-fold > summary.caution-head { color: var(--red); }

.bracket .br-title { display: flex; align-items: center; gap: 8px; font: 800 .98rem Montserrat, system-ui, sans-serif; }
.bracket .br-title img { display: block; }

/* club pages */
.os-card-season { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px 4px;
  margin: 8px 0 12px; }
.os-card-year { font: 800 1.1rem Montserrat, system-ui, sans-serif; text-align: center; margin: 2px 0 8px;
  letter-spacing: .02em; }
.os-card-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; align-items: stretch; margin: 0 0 8px; }
.os-card-side { flex: 0 0 100%; text-align: center; font: 700 .72rem system-ui, sans-serif; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted, #666); margin-bottom: -2px; }
.os-card { display: flex; align-items: center; gap: 10px; background: #faf8f3; border: 1px solid var(--line);
  border-radius: 8px; padding: 8px 12px; text-decoration: none; min-width: 210px; }
.os-card:hover { border-color: var(--gold); background: var(--gold-wash); }
.os-card-text { flex: 1 1 auto; text-align: center; }
.os-card-where { display: block; font-size: .78rem; line-height: 1.3; color: var(--muted); margin-top: 2px; }   /* round 7b */     /* 3.0.1: centred in the space beside the logo (Zim, Oct 26) */
.os-card-name { font: 800 .98rem Montserrat, system-ui, sans-serif; text-decoration: underline;
  text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 2px; }
.os-orgs { margin: 4px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-weight: 600;
  color: var(--ink-2); }
.os-org { display: inline-flex; align-items: center; gap: 5px; }
.os-org img { display: block; }
a.os-org { text-decoration: none; color: inherit; }
.os-unconf { font-size: .78rem; font-weight: 500; color: var(--muted); font-style: italic; }
.os-abbr { font-weight: 600; color: var(--ink-2); }
.os-founded { font: 400 .9rem system-ui, sans-serif; color: var(--muted); margin-left: 6px; white-space: nowrap;
  letter-spacing: 0; vertical-align: middle; }
.os-links { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 6px; margin: 6px 0 0; font-size: .78rem; }
/* 3.0.1 (Zim, Oct 26): smaller link chips, each with its platform's color behind a white mark */
.os-link { display: inline-flex; align-items: center; gap: 5px; text-decoration: none; color: var(--ink-2);
  font-weight: 600; border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px 2px 2px; background: #fff;
  line-height: 1.2; }
.os-link:hover { border-color: var(--gold); color: var(--ink); background: var(--gold-wash); }
.os-li { width: 18px; height: 18px; border-radius: 50%; display: inline-grid; place-items: center; color: #fff;
  background: #6b6457; flex: none; }
.os-li svg { width: 11px; height: 11px; display: block; }
.os-link-website .os-li { background: #8a6d1f; }
.os-link-instagram .os-li { background: linear-gradient(45deg, #f09433, #dc2743 55%, #bc1888); }
.os-link-facebook .os-li { background: #1877f2; }
.os-link-youtube .os-li { background: #e62117; }
.os-link-tiktok .os-li { background: #111; }
.os-hero-text > .os-hero-sec { margin-top: 8px; }
.os-hero-text > .os-hero-sec ~ .os-hero-sec { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 10px; }
.os-hero-linkset .os-links { margin: 4px 0 0; }
.os-hero-linkset .os-links:first-child { margin-top: 0; }
.os-hero-right { align-self: flex-start; display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
  max-width: 45%; }
.os-hero-right .os-hero-teams { max-width: none; }
.os-hero-orgs { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-weight: 600; font-size: .86rem;
  color: var(--ink-2); text-align: right; }
.os-hero-orgs .os-hero-rule { width: 100%; margin: 4px 0; }
.os-hero-org { display: flex; align-items: center; justify-content: flex-end; white-space: nowrap; }
@media (max-width: 720px) {
  .os-hero-right { order: 3; max-width: none; width: 100%; align-items: flex-start; }
  .os-hero-right .os-hero-teams { order: 0; width: auto; }
  .os-hero-orgs { align-items: flex-start; text-align: left; }
  .os-hero-org { justify-content: flex-start; white-space: normal; }
  .os-hero-text { flex-basis: calc(100% - 100px); }
}
.os-dot { color: var(--muted); }
.os-now { margin: 6px 0 0; }
.os-now a { font-weight: 700; }
.os-titles { list-style: none; padding: 0; margin: 8px 0 0; font-size: .92rem; }
.os-titles li { display: flex; align-items: center; gap: 8px; padding: 2px 0; }
.os-hon-logo { width: 22px; flex: none; display: inline-flex; justify-content: center; }
.os-cup { flex: none; margin-left: -2px; }
.os-cup-gap { width: 14px; flex: none; }
.os-hon-logo img { display: block; }
.os-trophy { font-size: .85rem; }

/* search */
.os-results { list-style: none; padding: 0; margin: 8px 0; }
.os-results li { padding: 8px 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 6px;
  flex-wrap: wrap; }
.os-results a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.os-logo-slot { width: 20px; height: 20px; flex: none; display: inline-block; }

/* ---- the Playoff & Eligibility Projector (3.0.1 round 7: a page, pages_projector.py) ---- */
.proj-intro p { margin: 0 0 6px; }
.proj-tools { display: flex; align-items: center; gap: 12px; margin: 12px 0; }
.proj-div { margin: 18px 0 8px; }
.proj-sec { margin: 6px 0 12px; }
.proj-sr { border-left: 3px solid var(--gold); padding-left: 10px; }
.proj-head { display: flex; align-items: center; justify-content: space-between; gap: 6px 14px; flex-wrap: wrap;
  margin: 8px 0 6px; }
.proj-head h3, .proj-head h4, .proj-head .pp-pool-name { margin: 0; display: inline-flex; align-items: center; gap: 6px; }
.proj-sr-h { font: 800 1.05rem Montserrat, system-ui, sans-serif; }
.proj-gu { font: 700 .95rem Montserrat, system-ui, sans-serif; }
.os-btn.proj-calc { background: var(--gold); color: var(--black); border-color: var(--gold); font-weight: 700; }
.os-btn.proj-calc:hover { filter: brightness(.95); }
.proj-table td { vertical-align: middle; white-space: nowrap; }
.mchart-club .os-team + .os-team, .mchart-club .os-team:last-child { margin-right: 0; }
.proj-club { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.proj-sc { white-space: nowrap; }
.proj-table .proj-n { width: 3.4rem; padding: 3px 4px; border: 1px solid #bbb; border-radius: 5px; text-align: center;
  font: inherit; }
.proj-table .proj-u { font-size: .74rem; color: var(--muted); margin: 0 6px 0 3px; }
.proj-table select { font: inherit; font-size: .8rem; padding: 3px; border: 1px solid #bbb; border-radius: 5px; }
.proj-table tr.proj-set td { background: #fbf4dc; }
.proj-table tr.proj-bad td { background: #fbe1e1; }
.proj-np { font-size: .82rem; }
.os-btn.proj-lu-btn.active { background: var(--black); color: #fff; }
.proj-lu-row td { background: #faf8f3; white-space: normal; }
.proj-lu { display: inline-block; vertical-align: top; min-width: 15rem; margin: 4px 24px 6px 0; }
.proj-lu label { display: block; font-size: .82rem; white-space: nowrap; }
.proj-lu-head { font-weight: 700; margin-bottom: 3px; }
.proj-lu-why { font-size: .8rem; color: var(--ink-2); margin: 2px 0 6px; }
.proj-why { color: #a11; font-size: .8rem; }
.proj-why.proj-res { color: var(--black); font-weight: 700; }
.proj-result { border: 2px solid var(--gold); border-radius: 10px; padding: 10px 14px 16px; margin: 10px 0 18px;
  background: #fff; }
.proj-result-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.proj-result-head h3 { margin: 0; font: 800 1.05rem Montserrat, system-ui, sans-serif; }
.proj-summary { font-weight: 600; margin: 6px 0; }
.proj-bad-note { color: #a11; font-size: .85rem; }
.proj-mv { font-size: .72rem; font-weight: 700; }
.proj-mv.up { color: #1a7f37; }
.proj-mv.down { color: #b42318; }
.proj-elig-club { margin: 10px 0 14px; }
.proj-elig-more > summary { cursor: pointer; font-size: .85rem; font-weight: 600; margin: 3px 0 6px; }
.proj-loading { color: var(--muted); font-style: italic; }

/* the admins' Inbox (3.0.1 round 7: a page) */
.ib-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ib-wrap { max-height: 520px; width: fit-content; max-width: 100%; }   /* round 7b: as wide as the table, no wider */
.ib-table td { white-space: nowrap; vertical-align: top; }
.ib-table td.ib-long { white-space: normal; min-width: 16rem; max-width: 30rem; }
/* round 7b: "Sent to you" and "What you're tracking", a Done box per row */
.ib-group { margin-top: 18px; }
.ib-group-track { margin-top: 40px; padding-top: 22px; border-top: 4px solid var(--black); }
.ib-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border-bottom: 2px solid var(--gold); padding-bottom: 4px; margin-bottom: 4px; }
.ib-group-head h2 { font: 800 1.15rem Montserrat, system-ui, sans-serif; text-transform: uppercase; letter-spacing: .05em;
  margin: 0; }
.ib-hide { font-size: .85rem; cursor: pointer; white-space: nowrap; }
.ib-h { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.ib-count { font: 600 .78rem system-ui, sans-serif; color: var(--ink-2); background: var(--gold-wash);
  border-radius: 999px; padding: 1px 9px; text-transform: none; letter-spacing: 0; }
.ib-table td.ib-done-cell { text-align: center; }
.ib-table tbody tr:not(.ib-resolved) td.ib-done-cell { box-shadow: inset 4px 0 0 var(--gold); }
.ib-table tbody tr.ib-resolved td { color: #8a877f; background: #eef2ea; }
.ib-check { width: 17px; height: 17px; cursor: pointer; accent-color: #3d7a3a; }
.ib-page.ib-hiding tr.ib-resolved { display: none; }

/* footer, feedback */
.os-fine { font-size: .72rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 560px) { .os-fine { display: block; margin-top: 3px; } .os-fine .fp-dot { display: none; } }
.os-foot { max-width: 1480px; margin: 0 auto; padding: 14px 16px 72px; display: flex; flex-wrap: wrap; gap: 6px 18px;
  font-size: .78rem; color: var(--muted); border-top: 1px solid var(--line); }
.os-fb-btn { position: fixed; right: 16px; bottom: 16px; z-index: 45; background: var(--black); color: var(--gold);
  border: 0; border-radius: 20px; padding: 9px 16px; font: 700 .78rem Montserrat, system-ui, sans-serif;
  box-shadow: 0 4px 14px rgba(0,0,0,.25); cursor: pointer; }
.os-fb { border: 0; border-radius: 10px; padding: 0; width: min(560px, calc(100vw - 32px));
  box-shadow: 0 10px 40px rgba(0,0,0,.3); }
.os-fb::backdrop { background: rgba(0,0,0,.35); }
.os-fb-form { padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.os-fb-form h2 { margin: 0; font-size: 1.15rem; }
.os-fb-form label { display: flex; flex-direction: column; gap: 3px; font-weight: 600; font-size: .85rem; flex: 1; }
.os-fb-form input, .os-fb-form select, .os-fb-form textarea { font: inherit; font-weight: 400; border: 1px solid #ccc;
  border-radius: 6px; padding: 6px 8px; }
.os-fb-row { display: flex; gap: 10px; }
.os-fb-acts { display: flex; justify-content: flex-end; gap: 8px; }
.os-fb-acts button { font: 700 .8rem Montserrat, system-ui, sans-serif; border-radius: 6px; padding: 7px 14px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; }
.os-fb-acts .os-fb-send { background: var(--black); color: var(--gold); border-color: var(--black); }
.os-fb-problems { color: var(--red); font-size: .85rem; }
.os-toast { position: fixed; bottom: 70px; right: 16px; background: var(--black); color: #fff; padding: 8px 14px;
  border-radius: 8px; z-index: 60; font-size: .85rem; }

@media (max-width: 980px) {
  .os-stats-page, .os-stats-page.side-hidden { grid-template-columns: minmax(0, 1fr); }
  .os-side, .os-stats-page.side-hidden .os-side { position: fixed; top: 0; left: 0; bottom: 0; width: min(360px, 92vw);
    max-height: none; border-radius: 0; z-index: 60; display: block; transform: translateX(-105%);
    transition: transform .2s; box-shadow: 4px 0 24px rgba(0,0,0,.25); }
  .os-stats-page.filters-open .os-side { transform: none; }
  .os-stats-page.filters-open::before { content: ""; position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 55; }
  .os-filters-toggle { display: inline-block; font: 700 .75rem Montserrat, system-ui, sans-serif; border: 1px solid
    var(--black); background: var(--gold); border-radius: 6px; padding: 7px 12px; justify-self: start; }
  .os-wide-only { display: none; }
  .os-show-filters, .os-stats-page.side-hidden .os-show-filters { display: none; }
  .os-two, .os-two-even, bslib-layout-columns { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .os-burger { display: block; }
  .os-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; }
  .os-bar-in { flex-wrap: wrap; }
  .os-bar.menu-open .os-nav { display: flex; }
  .os-menu-list { position: static; border: 0; padding-left: 12px; }
  .os-search { margin-left: 0; width: 100%; order: 5; }
  .os-search input { width: 100%; }
  .os-acct { order: 2; margin-left: auto; }
  .os-burger { order: 3; margin-left: 6px; }
  .os-nav { order: 4; }
  .os-acct .os-acct-list { position: absolute; border: 1px solid #333; border-top: 3px solid var(--gold); padding-left: 0; }
}
@media (max-width: 720px) {
  .os-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .os-h1 { font-size: 1.3rem; }
  .os-hero-logo img { width: 52px; height: 52px; }
  .os-hero-player .os-logo-main img { width: 72px; height: 72px; }
  .os-hero-player .os-logo-main .os-logo-txt { --px: 72px; }
  .os-hero-player .os-logo-prev img { width: 24px; height: 24px; }
  .os-affil dt { min-width: 0; width: 100%; }
  .os-fb-row { flex-direction: column; }
  .os-card { min-width: 0; flex: 1 1 100%; }
}
/* ---- the home page (3.0.0, pages_home.py): a pitch from above, the search box on the halfway line ---- */
.os-home .os-main { max-width: none; padding: 0 0 40px; }
.hm-hero { position: relative; z-index: 5; background: var(--black); color: #fff;
  border-bottom: 4px solid var(--gold); overflow-x: clip; }   /* 3.2.0: the logo's ball flies in from off the right */
.hm-pitch-wrap { position: absolute; inset: 0; overflow: hidden; }
.hm-pitch { position: absolute; inset: 0; width: 100%; height: 100%; }
.hm-pitch .ln { stroke: #fff; stroke-opacity: .16; stroke-width: 2; fill: none; }
.hm-pitch .post { fill: #fff; fill-opacity: .3; }
.hm-pitch > path.ln, .hm-pitch > rect.ln { stroke-dasharray: 1200; stroke-dashoffset: 0;
  animation: hm-draw 1.6s ease-out both; }
@keyframes hm-draw { from { stroke-dashoffset: 1200; } }
@media (prefers-reduced-motion: reduce) { .hm-pitch * { animation: none !important; } }
.hm-hero-in { position: relative; max-width: 1120px; margin: 0 auto; padding: 64px 24px 56px; }
.hm-hero h1 { margin: 0 0 26px; max-width: 17ch; font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.04;
  font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.hm-hero .hm-search { margin: 0; width: min(640px, 100%); display: flex; position: relative; order: 0; }
.hm-hero .hm-search input { flex: 1; min-width: 0; width: auto; height: 58px; padding: 0 18px; font: 600 1.05rem system-ui,
  -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: #fff; border: 0; border-radius: 8px 0 0 8px; }
.hm-hero .hm-search input::placeholder { color: #777; }
.hm-hero .hm-search input:focus { outline: 3px solid var(--gold); outline-offset: 2px; }
.hm-hero .hm-search button { height: 58px; padding: 0 22px; border: 0; border-radius: 0 8px 8px 0; cursor: pointer;
  background: var(--gold); color: var(--black); font: 800 1rem Montserrat, system-ui, sans-serif; }
.hm-hero .hm-search button:hover, .hm-hero .hm-search button:focus-visible { background: #fff; outline: none; }
.hm-hero .hm-search .os-suggest { left: 0; right: auto; width: 100%; max-width: none; color: var(--ink); }
.hm-count { margin: 18px 0 0; font-size: .92rem; color: rgba(255, 255, 255, .72); }
.hm-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hm-body { max-width: 1120px; margin: 0 auto; padding: 8px 24px 0; }
.hm-body h2 { margin: 34px 0 4px; font-size: 1.4rem; font-weight: 800; letter-spacing: -0.01em; }
.hm-sub { margin: 0 0 12px; color: var(--muted); font-size: .9rem; }
.hm-recent ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hm-recent a { display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 12px; background: #fff;
  border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .9rem; }
.hm-recent a:hover, .hm-recent a:focus-visible { border-color: var(--black); }
.hm-recent small { color: var(--muted); font-weight: 500; font-size: .74rem; }
.hm-week h2 { display: flex; align-items: baseline; gap: 12px; }
.hm-regions { margin: 0 0 6px; font-size: .86rem; color: var(--ink-2); }
.hm-empty { color: var(--muted); margin: 6px 0 0; }
.hm-days { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; margin-top: 6px; }
.hm-dayt { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  display: flex; flex-direction: column; }
.hm-dayt h3 { margin: 0; padding: 10px 14px 8px; font-size: .98rem; font-weight: 800; display: flex; align-items: baseline;
  gap: 6px; background: var(--black); color: #fff; }
.hm-dayt h3 span { color: var(--gold); }
.hm-dayt h3 small { margin-left: auto; font: 600 .76rem system-ui, sans-serif; color: #bdbdbd; }
.hm-cols { display: grid; grid-template-columns: 1fr 5.4em 1fr; column-gap: 14px; padding: 6px 12px 5px;
  font: 700 .66rem Montserrat, system-ui, sans-serif; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2);
  border-bottom: 2px solid var(--gold); background: var(--gold-wash); }
.hm-cols span:first-child { text-align: right; }
.hm-cols span:nth-child(2) { text-align: center; color: var(--muted); }
.hm-list { list-style: none; margin: 0; padding: 0; height: 21.5rem; overflow-y: auto; overscroll-behavior: contain; }
.hm-list:focus-visible { outline: 2px solid var(--black); outline-offset: -2px; }
.hm-match { display: grid; grid-template-columns: 1fr 5.4em 1fr; align-items: center; column-gap: 14px;
  padding: 10px 12px 8px; border-bottom: 1px solid #eeebe4; color: var(--ink); text-decoration: none; }
.hm-linked { position: relative; cursor: pointer; }
.hm-linked:hover, .hm-linked:focus-within { background: var(--gold-wash); }
.hm-rowlink { position: absolute; inset: 0; z-index: 1; }
.hm-rowlink:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--black); }
.hm-tlink { position: relative; z-index: 2; color: inherit; text-decoration: none; }
.hm-tlink:hover, .hm-tlink:focus-visible { text-decoration: underline; text-decoration-color: var(--gold);
  text-decoration-thickness: 2px; text-underline-offset: 2px; }
.hm-match.hm-fav { box-shadow: inset 5px 0 0 var(--gold); background: #fff3cf; }
.hm-match.hm-follow { box-shadow: inset 3px 0 0 #b9b2a0; background: #faf8f3; }
.hm-star { color: #c48a00; margin-left: 4px; font-size: .9em; }
.hm-dot { color: #8e8676; margin-left: 4px; font-size: .75em; }
.hm-key { margin: 22px 0 -16px; font-size: .86rem; color: var(--ink-2); }
.hm-key-fav, .hm-key-fol { display: inline-block; padding: 1px 8px 1px 4px; border-radius: 4px; }
.hm-key-fav { box-shadow: inset 4px 0 0 var(--gold); background: #fff3cf; }
.hm-key-fol { box-shadow: inset 3px 0 0 #b9b2a0; background: #faf8f3; }
a.hm-cl-div { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--gold);
  text-underline-offset: 2px; }
.hm-weeks { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 28px; }
/* both columns on one grid of four rows (title, line, tables, link), so the tables start level (round 17) */
.hm-week { display: grid; grid-row: span 4; grid-template-rows: subgrid; align-content: start; }
.hm-week > .hm-sub, .hm-week > .hm-empty { align-self: end; }
@media (min-width: 1100px) {
  .hm-weeks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-weeks .hm-days { grid-template-columns: minmax(0, 1fr); }
}
.hm-regions { margin-top: 22px; }
.hm-recent a { align-items: center; }
.hm-recent img { width: 24px; height: 24px; object-fit: contain; flex: none; }
.hm-recent img.hm-rc-face { object-fit: cover; border-radius: 50%; }
.hm-you-sub { margin: 16px 0 6px; font: 800 .78rem Montserrat, system-ui, sans-serif; text-transform: uppercase;
  letter-spacing: .06em; color: var(--ink-2); border-bottom: 2px solid var(--gold); padding-bottom: 4px; }
.hm-group { margin: 8px 0 14px; }
.hm-group h4 { margin: 0 0 6px; font-size: .9rem; font-weight: 800; color: var(--ink); }
.hm-clubline { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-weight: 800; font-size: 1.02rem; }
.hm-clubline a { text-decoration: none; }
.hm-clubline .hm-pill { margin: 0; }
.hm-club .hm-yt-k { width: 4.4em; }
.hm-cl-last { margin: 0 0 4px; font-size: .86rem; }
.hm-cl-last .hm-yt-k { width: auto; display: block; margin-bottom: 2px; }
.hm-cl-last ul { list-style: none; margin: 0; padding: 0; }
.hm-cl-last li { margin: 0 0 3px; }
.hm-cl-last li small:last-child { color: var(--muted); margin-left: 6px; }
/* "Want your brand displayed here?" above the footer (round 20) */
.os-brandspot { max-width: 1120px; margin: 28px auto 0; padding: 0 24px; }
.os-brandspot-in { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; border: 2px dashed #cfc6ae;
  border-radius: 10px; background: #fffaf0; padding: 14px 18px; }
.os-brandspot-tag { font: 800 .64rem Montserrat, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-2); border: 1.5px solid var(--ink-2); border-radius: 4px; padding: 3px 7px; flex: none; }
.os-brandspot p { margin: 0; flex: 1 1 320px; font-size: .92rem; }
.os-brandspot .os-btn { text-decoration: none; flex: none; }
@media (max-width: 600px) { .os-brandspot { padding: 0 16px; } .os-brandspot-in { flex-direction: column; align-items: stretch; text-align: center; } }
.ac-locked { border-left: 4px solid #c9c4b8; }
.hm-cl-div { color: var(--ink-2); font-weight: 700; font-size: .76rem; }
.hm-pill.hm-pill-quiet { background: #e6e3dc; color: #5f5a4f; }
.hm-yt-quiet { border-top-color: #c9c4b8; }
.hm-following img { flex: none; }
.hm-chip small { color: var(--muted); font-weight: 500; font-size: .72rem; margin-left: 2px; }
.hm-nudge { margin-top: 26px; display: flex; gap: 24px; align-items: center; background: var(--black); color: #fff;
  border-left: 6px solid var(--gold); border-radius: 10px; padding: 18px 22px; }
.hm-nudge h2 { margin: 0 0 6px; color: var(--gold); }
.hm-nudge p { margin: 0 0 8px; color: #e9e6df; max-width: 70ch; font-size: .94rem; }
.hm-nudge ol { margin: 0; padding-left: 1.2rem; font-size: .92rem; }
.hm-nudge li { margin: 3px 0; }
.hm-nudge a { color: #fff; }
.hm-nudge-acts { display: flex; flex-direction: column; gap: 8px; flex: none; }
.hm-nudge .hm-nudge-go { background: var(--gold); color: var(--black); border-color: var(--gold); font-weight: 800;
  text-decoration: none; text-align: center; }
.hm-nudge-x { background: none; border: 0; color: #bdb8ad; cursor: pointer; font: 600 .86rem system-ui, sans-serif;
  text-decoration: underline; }
@media (max-width: 760px) { .hm-nudge { flex-direction: column; align-items: stretch; } }
.hm-pill { display: inline-block; font: 800 .64rem Montserrat, system-ui, sans-serif; text-transform: uppercase;
  letter-spacing: .05em; background: var(--gold); color: var(--black); border-radius: 4px; padding: 2px 6px; margin-bottom: 4px; }
.hm-following { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 12px 0 0; font-size: .86rem; }
.hm-following > span { font-weight: 700; color: var(--ink-2); margin-right: 4px; }
.hm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; }
.hm-chip { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .86rem; color: var(--ink); }
.hm-chip:hover, .hm-chip:focus-visible { border-color: var(--black); }
.hm-chip-more { background: var(--gold-wash); border-color: #f1d58c; }
.hm-player { margin-top: 30px; }
.hm-ps { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--line);
  border-top: 4px solid var(--gold); border-radius: 0 0 10px 10px; padding: 16px 18px; }
.hm-ps > img, .hm-ps > .hm-me-i { width: 88px; height: 88px; border-radius: 12px; object-fit: cover; flex: none; }
.hm-ps-body { flex: 1; min-width: 0; }
.hm-ps-body h3 { margin: 0 0 6px; font-size: 1.15rem; font-weight: 800; }
.hm-ps-body h3 a { text-decoration: none; }
.hm-ps-l { margin: 8px 0 4px; font: 700 .72rem Montserrat, system-ui, sans-serif; text-transform: uppercase;
  letter-spacing: .05em; color: var(--muted); }
.hm-ps-strip { display: flex; flex-wrap: wrap; gap: 8px; }
.hm-ps-t { background: var(--gold-wash); border-radius: 8px; padding: 6px 12px; min-width: 76px; }
.hm-ps-t b { display: block; font: 800 1.2rem Montserrat, system-ui, sans-serif; }
.hm-ps-t span { font-size: .74rem; color: var(--ink-2); }
.hm-ps-last { list-style: none; margin: 0; padding: 0; }
.hm-ps-last li { padding: 4px 0; border-bottom: 1px solid #eeebe4; font-size: .9rem; }
.hm-ps-last small { color: var(--muted); margin-left: 8px; }
.hm-ps-d { color: var(--ink-2); display: inline-block; min-width: 6.5em; }
.hm-watch { margin-top: 30px; }
.wt-cards { list-style: none; padding: 0; margin: 8px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.wt-cards a { display: block; height: 100%; padding: 12px 14px; background: #fff; border: 1px solid var(--line);
  border-top: 4px solid var(--red); border-radius: 0 0 8px 8px; text-decoration: none; color: var(--ink); }
.wt-cards a:hover, .wt-cards a:focus-visible { border-color: var(--black); }
.wt-cards b { display: block; font: 800 .98rem Montserrat, system-ui, sans-serif; margin-bottom: 4px; }
.wt-cards span { font-size: .86rem; color: var(--ink-2); }
.wt-cards small { display: block; margin-top: 6px; font-weight: 700; font-size: .74rem; color: #1a8c46; }
.wt-pods a { border-top-color: #1a8c46; }
.og-links { padding-left: 1.1rem; }
.og-links li { margin: 4px 0; }
.wt-cols { columns: 3 220px; }
.wt-cols li { break-inside: avoid; }
@media (max-width: 600px) { .hm-ps { flex-direction: column; } }
.hm-team { display: flex; align-items: center; gap: 9px; min-width: 0; font-weight: 600; font-size: .9rem; }
.hm-team img { flex: none; }
.hm-name { line-height: 1.2; overflow-wrap: anywhere; text-wrap: balance; }
.hm-h { flex-direction: row-reverse; text-align: right; }
.hm-score { font: 800 1.15rem Montserrat, system-ui, sans-serif; font-variant-numeric: tabular-nums; text-align: center; }
.hm-score i { font-style: normal; color: var(--muted); padding: 0 .12em; }
.hm-ko { font: 700 .8rem Montserrat, system-ui, sans-serif; background: var(--gold-wash); border: 1px solid #f1d58c;
  border-radius: 6px; padding: 3px 4px; text-align: center; }
.hm-ko.hm-wait { background: #f4f3ef; border-color: var(--line); color: var(--muted); font-size: .66rem; line-height: 1.15; }
.hm-comp { grid-column: 1 / -1; text-align: center; font-size: .74rem; color: var(--muted); margin-top: 3px; }
.hm-comp.hm-po { color: var(--red); font-weight: 700; }
.hm-more { display: inline-block; margin-top: 10px; font-weight: 700; font-size: .9rem; }
/* "Your teams" (account settings) */
.hm-you { margin-top: 26px; }
.hm-you h2 { display: flex; align-items: baseline; gap: 12px; margin-top: 0; }
.hm-edit { font: 600 .82rem system-ui, sans-serif; }
.hm-you-empty { background: #fff; border: 1px dashed #cfcabd; border-radius: 10px; padding: 12px 16px; }
.hm-you-empty p { margin: 0; }
.hm-me { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 18px 5px 5px; margin: 6px 0 12px; }
.hm-me:hover, .hm-me:focus-visible { border-color: var(--black); }
.hm-me img, .hm-me-i { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.hm-me-i { display: grid; place-items: center; background: var(--gold); font: 800 1.4rem Montserrat, system-ui, sans-serif; }
.hm-me small { display: block; color: var(--muted); font-size: .76rem; }
.hm-me b { font: 800 1.05rem Montserrat, system-ui, sans-serif; }
.hm-yts { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hm-yt { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line);
  border-top: 4px solid var(--gold); border-radius: 0 0 10px 10px; padding: 12px 14px; }
.hm-yt h3 { margin: 0 0 6px; font-size: .98rem; font-weight: 800; }
.hm-yt h3 a { text-decoration: none; }
.hm-yt h3 small { color: var(--muted); font-weight: 600; font-size: .78rem; }
.hm-yt p { margin: 0 0 4px; font-size: .86rem; }
.hm-yt p small { color: var(--muted); margin-left: 6px; }
.hm-yt-k { display: inline-block; width: 2.7em; color: var(--muted); font-size: .74rem; font-weight: 700; }
.hm-w { color: #146c2e; } .hm-l { color: var(--red); } .hm-d { color: var(--ink-2); }
/* the logo with the goal posts beside the headline (3.2.0; animated by osLogoAnim, logo_anim.py) */
.hm-hero-in { display: flex; align-items: center; gap: 28px; }
.hm-hero-text { flex: 1; min-width: 0; }
.hm-logo { flex: none; width: clamp(300px, 36vw, 470px); height: auto; overflow: visible; margin-right: -8px; }
@media (max-width: 980px) { .hm-yts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .hm-days, .hm-yts { grid-template-columns: minmax(0, 1fr); }
  .hm-hero-in { flex-direction: column-reverse; align-items: flex-start; gap: 4px; }
  .hm-logo { width: min(340px, 86vw); margin: 0 0 18px -4px; }
  .hm-list { height: 19rem; }
}
.hm-quiet p { color: var(--muted); max-width: 60ch; }
.hm-ways ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 22px; }
.hm-way { border-top: 4px solid var(--black); padding-top: 12px; display: flex; flex-direction: column; }
.hm-way h3 { margin: 0 0 6px; font-size: 1.05rem; font-weight: 800; }
.hm-way p { margin: 0 0 10px; color: var(--ink-2); font-size: .9rem; flex: 1; }
.hm-go { font-weight: 700; font-size: .9rem; align-self: flex-start; }
.hm-faces ul { list-style: none; margin: 0; padding: 0 0 6px; display: flex; gap: 16px; overflow-x: auto; }
.hm-faces li { flex: none; width: 140px; }
.hm-face { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.hm-face img { width: 140px; height: 140px; object-fit: cover; border-radius: 8px; border-bottom: 4px solid var(--gold);
  background: #ddd; }
.hm-face:hover img, .hm-face:focus-visible img { border-bottom-color: var(--black); }
.hm-face-n { margin-top: 7px; font-weight: 700; font-size: .88rem; line-height: 1.25; }
.hm-face-c { font-size: .78rem; color: var(--muted); }
.hm-new { margin-top: 36px; padding: 14px 18px; background: var(--gold-wash); border-left: 5px solid var(--gold);
  border-radius: 0 8px 8px 0; }
.hm-new p { margin: 0; }
@media (max-width: 980px) {
  .hm-ways ul { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .hm-hero-in { padding: 40px 16px 36px; }
  .hm-body { padding: 4px 16px 0; }
  .hm-hero .hm-search input, .hm-hero .hm-search button { height: 52px; }
  .hm-hero .hm-search button { padding: 0 16px; }
}
@media (max-width: 520px) {
  .hm-ways ul { grid-template-columns: 1fr; }
  .hm-team { font-size: .84rem; gap: 6px; line-height: 1.2; }
  .hm-hero .hm-search input { font-size: 1rem; padding: 0 12px; }
  .hm-team img { width: 22px; height: 22px; }
  .hm-match, .hm-cols { column-gap: 8px; grid-template-columns: 1fr 4.8em 1fr; padding-left: 8px; padding-right: 8px; }
}

/* ---- the account pages (3.0.0, pages_account.py) ---- */
.ac-page { max-width: 760px; }
.ac-page.ac-wide { max-width: 1120px; }
.ac-tabs { margin: 10px 0 14px; }
.ac-msg { background: var(--gold-wash); border-left: 4px solid var(--gold); padding: 9px 12px; border-radius: 0 6px 6px 0;
  margin: 0 0 12px; }
.ac-card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; margin: 0 0 14px; }
.ac-card h2 { font-size: 1rem; margin: 0 0 8px; }
.ac-card.ac-ok { border-left: 4px solid var(--gold); }
.ac-dl { display: grid; grid-template-columns: 11rem 1fr; gap: 8px 14px; margin: 0 0 14px; }
.ac-dl dt { color: var(--muted); font-size: .84rem; }
.ac-dl dd { margin: 0; }
.ac-help { display: block; color: var(--muted); font-size: .8rem; margin-top: 2px; }
p.ac-help { margin: 6px 0; }
.ac-steps { padding-left: 1.2rem; margin: 0 0 12px; }
.ac-steps li { margin-bottom: 4px; }
.ac-form label, .ac-field legend { display: block; font: 700 .8rem Montserrat, system-ui, sans-serif; margin: 12px 0 5px; }
.ac-form input:not([type=checkbox]):not([type=radio]):not([type=hidden]), .ac-form textarea, .ac-decide input {
  width: 100%; border: 1px solid #cfcabd; border-radius: 6px; padding: 8px 10px; font: inherit; background: #fff; }
.ac-form input:focus, .ac-form textarea:focus, .ac-decide input:focus { outline: 2px solid var(--gold); border-color: var(--gold-deep); }
.ac-primary { background: var(--gold); border-color: var(--gold); margin-top: 14px; }
.ac-quiet { background: #fff; }
.ac-signout { text-decoration: none; display: inline-block; }
.ac-field { border: 0; padding: 0; margin: 0 0 6px; }
.ac-row { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.ac-form label.ac-check { display: inline-flex; align-items: center; gap: 6px; font: 500 .88rem system-ui, sans-serif;
  padding: 3px 0; margin: 0; }
.ac-form label.ac-check[hidden] { display: none; }
.ac-check input { width: 17px; height: 17px; accent-color: var(--gold-deep); }
.ac-gu { margin: 4px 0 10px; }
.ac-gu > b { display: block; font-size: .78rem; color: var(--ink-2); margin-bottom: 2px; }
.ac-gu > div { display: flex; flex-wrap: wrap; gap: 2px 16px; }
.ac-form label.ac-all { font-weight: 700; }
.ac-pick { position: relative; }
.ac-chips { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ac-chips:empty { display: none; }
.ac-chips li { display: inline-flex; align-items: center; gap: 4px; background: var(--black); color: #fff;
  border-radius: 16px; padding: 4px 4px 4px 12px; font-size: .84rem; }
.ac-chips button { border: 0; background: #333; color: #fff; border-radius: 50%; width: 22px; height: 22px;
  cursor: pointer; font-size: .9rem; line-height: 1; }
.ac-chips button:hover, .ac-chips button:focus { background: var(--red); }
.ac-pick.full .ac-pick-in { display: none; }
.ac-pick-list { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border: 1px solid var(--line);
  border-top: 3px solid var(--gold); border-radius: 0 0 8px 8px; z-index: 20; max-height: 260px; overflow: auto;
  box-shadow: 0 8px 24px rgba(0,0,0,.14); }
.ac-pick-list button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 7px 12px;
  font: inherit; cursor: pointer; }
.ac-pick-list button:hover, .ac-pick-list button.on { background: var(--gold-wash); }
.ac-pick-list small { color: var(--muted); margin-left: 6px; }
.ac-pick-list p { margin: 0; padding: 8px 12px; color: var(--muted); font-size: .82rem; }
.ac-tip { background: var(--gold-wash); border-left: 4px solid var(--gold); border-radius: 0 6px 6px 0; padding: 8px 12px;
  margin-top: 10px; }
.ac-tip p { margin: 0; font-size: .88rem; }
.ac-form label.ac-check-block { display: flex; align-items: flex-start; margin-top: 12px; }
.ac-form label.ac-check-block input { margin-top: 2px; flex: none; }
.ac-form select { width: 100%; border: 1px solid #cfcabd; border-radius: 6px; padding: 8px 10px; font: inherit; background: #fff; }
.ac-inline { display: inline-flex; gap: 6px; align-items: center; }
.ac-inline input:not([type=checkbox]) { border: 1px solid #cfcabd; border-radius: 6px; padding: 4px 8px; font: inherit;
  width: 9rem; }
.ac-acts { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; white-space: normal; }
/* round 17: names, profile photo, player page details, photo review */
.ac-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
@media (max-width: 600px) { .ac-two { grid-template-columns: minmax(0, 1fr); } }
.ac-h3 { font-size: .92rem; margin: 18px 0 4px; padding-top: 12px; border-top: 1px solid var(--line); }
.ac-photo-row { display: flex; gap: 16px; align-items: flex-start; }
.ac-confirm { border: 1px solid #c0392b; background: #fdf3f2; border-radius: 8px; padding: 10px 12px; margin-top: 8px; }
.ac-confirm-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 6px; }
.ac-file { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ac-file input[type=file] { max-width: 100%; }
.ac-file-prev { width: 72px; height: 90px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.ac-photo { width: 120px; height: 150px; object-fit: cover; border-radius: 8px; border-bottom: 4px solid var(--gold);
  background: #eee; flex: none; }
.ac-photo-none { display: grid; place-items: center; color: var(--muted); font-size: .8rem; border-bottom-color: #ccc; }
.ac-pend { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.ac-pend img { width: 60px; height: 75px; object-fit: cover; border-radius: 6px; opacity: .85; }
.ac-pend p { margin: 0; }
.ac-warn { background: #fdecee; border-left: 4px solid var(--red); border-radius: 0 6px 6px 0; padding: 8px 12px;
  margin-top: 10px; }
.ac-warn p { margin: 0 0 6px; font-size: .86rem; }
.ac-warn p:last-child { margin: 0; }
.ac-warn-line { color: var(--red); font-size: .88rem; }
.ac-danger { color: var(--red); border-color: var(--red); }
.ac-photo-claim { display: flex; gap: 16px; align-items: flex-start; }
.ac-photo-claim > img { width: 120px; height: 150px; object-fit: cover; border-radius: 8px; flex: none; }
.ac-photo-claim > div { flex: 1; min-width: 0; }
.ac-form input[type=file] { padding: 6px; }
.ac-acts form { margin: 0; }
.ac-list { width: 100%; border: 1px solid #cfcabd; border-radius: 6px; padding: 8px 10px; font: .85rem ui-monospace, monospace; }
.ac-page h2 { font-size: 1.05rem; margin: 18px 0 8px; }
.ac-card h2:first-child { margin-top: 0; }
.ac-claims { list-style: none; padding: 0; margin: 0; }
.ac-note { background: #faf8f3; border-radius: 6px; padding: 8px 10px; white-space: pre-wrap; }
.ac-decide { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ac-decide input { flex: 1 1 220px; width: auto; }
.ac-decide .os-btn { margin-top: 0; }
@media (max-width: 600px) { .ac-dl { grid-template-columns: 1fr; gap: 2px; } .ac-dl dd { margin-bottom: 8px; } }

/* ---- Playoff Pictures (3.0.0 round 14, pages_playoffs.py): season > division > super region > union > pool ---- */
.pp-intro { max-width: 90ch; }
.os-scope-gu { display: flex; gap: 6px 10px; align-items: baseline; flex-wrap: wrap; margin: 2px 0 6px; }
.os-scope-gu > b { font-size: .76rem; color: var(--ink-2); min-width: 6rem; }
.os-ctl-wide { flex-basis: 100%; }

/* 3.0.1 (Zim, Oct 26): the gold filter menus inside pages, laid out as cards of chips */
.os-ctxform { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; padding: 12px;
  align-items: start; }
.os-ctxform > .os-ctl, .os-ctxform > .os-ctl-sw, .os-ctxform > div:not(.os-ctl):not([hidden]) { margin: 0;
  background: #fff; border: 1px solid #f0dca6; border-radius: 10px; padding: 9px 11px 10px;
  box-shadow: 0 1px 2px rgba(60, 45, 0, .06); min-width: 0; }
.os-ctxform > input[type=hidden] { display: none; }
.os-ctxform > .os-ctl-wide { grid-column: 1 / -1; }
.os-ctxform .os-ctl-head { margin-bottom: 7px; align-items: center; }
.os-ctxform .os-ctl-head { flex-wrap: wrap; row-gap: 4px; }   /* round 7: the Conference head's search box and links wrap on a phone */
.os-ctxform .os-label { font: 800 .68rem Montserrat, system-ui, sans-serif; letter-spacing: .07em;
  text-transform: uppercase; color: #6b5414; }
.os-ctxform .os-acts a { border: 0; color: var(--ink-2); font-weight: 600; padding: 1px 7px; border-radius: 999px;
  background: #f6f2e6; margin-left: 4px; }
.os-ctxform .os-acts a:hover { background: var(--gold-wash); color: var(--ink); }
.os-ctxform .os-inline { gap: 6px; }
.os-ctxform .os-opt { position: relative; gap: 6px; padding: 4px 11px 4px 9px; border: 1px solid #ddd5c2;
  border-radius: 999px; background: #fff; font-size: .82rem; font-weight: 600; color: var(--ink-2); line-height: 1.2;
  transition: background .12s, border-color .12s; }
.os-ctxform .os-opt:hover { border-color: var(--gold); }
.os-ctxform .os-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.os-ctxform .os-opt::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid #b9ad8f;
  background: #fff; flex: none; box-sizing: border-box; }
.os-ctxform .os-opt:has(input[type=radio])::before { border-radius: 50%; }
.os-ctxform .os-opt:has(input:checked) { background: #fff3cf; border-color: var(--gold); color: var(--black); }
.os-ctxform .os-opt:has(input:checked)::before { content: "✓"; background: var(--black); border-color: var(--black);
  color: var(--gold); font: 900 10px/11px system-ui, sans-serif; text-align: center; }
.os-ctxform .os-opt:has(input[type=radio]:checked)::before { content: ""; box-shadow: inset 0 0 0 3px #fff3cf; }
.os-ctxform .os-dates input[type=date] { min-width: 0; flex: 1; font-size: .8rem; }
.os-ctxform .os-opt:has(input:focus-visible) { outline: 2px solid var(--black); outline-offset: 1px; }
.os-ctxform .os-opt.os-empty { border-style: dashed; color: #9a927f; background: #fbfaf6; }
.os-ctxform .os-opt.os-empty:has(input:checked) { background: #fbf6e6; color: #8f8670; border-color: #e3cf96; }
.os-ctxform .os-scope-gu { display: grid; grid-template-columns: 9.5rem 1fr; gap: 6px 10px; align-items: start;
  padding: 7px 0; margin: 0; border-top: 1px solid #f3ead3; }
.os-ctxform .os-scope-gu:first-of-type { border-top: 0; padding-top: 0; }
.os-scope-gu-h { display: flex; flex-direction: column; gap: 4px; }
.os-scope-gu-h b { display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; color: var(--ink); }
.os-scope-gu-h b img { display: block; }
.os-scope-gu-h .os-acts a { margin: 0 4px 0 0; }
.os-chip-find { border: 1px solid #ddd5c2; border-radius: 999px; padding: 3px 10px; font: 500 .76rem system-ui, sans-serif;
  width: 11rem; max-width: 45%; margin-left: auto; background: #fffdf7; }
.os-chip-find:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.os-ctxform .os-ctl-head .os-chip-find + .os-acts { margin-left: 6px; }
.os-ctxform .os-ctx-reset { grid-column: 1 / -1; justify-self: end; font-size: .76rem; border: 1px solid var(--black);
  border-radius: 999px; padding: 4px 12px; background: #fff; text-decoration: none; color: var(--black); }
.os-ctxform .os-ctx-reset:hover { background: var(--black); color: var(--gold); }
@media (max-width: 720px) {
  .os-ctxform { grid-template-columns: 1fr; padding: 10px; }
  .os-ctxform .os-scope-gu { grid-template-columns: 1fr; }
  .os-scope-gu-h { flex-direction: row; align-items: center; justify-content: space-between; }
}
details.pp-div { margin: 14px 0 22px; }
details.pp-div > summary.pp-div-bar { display: flex; align-items: baseline; gap: 12px; cursor: pointer; list-style: none;
  background: var(--black); color: #fff; border-radius: 8px; padding: 12px 16px; border-bottom: 4px solid var(--gold); }
details.pp-div > summary::-webkit-details-marker { display: none; }
.pp-div-name { font: 800 1.35rem Montserrat, system-ui, sans-serif; color: var(--gold); letter-spacing: -.01em; }
.pp-div-line { color: #cfcfcf; font-size: .86rem; }
.pp-div-body { padding: 4px 0 0 14px; border-left: 3px solid var(--black); margin-left: 6px; }
details.pp-sr { margin: 14px 0; border: 1px solid #d3cfc4; border-left: 6px solid #3a3a3a; border-radius: 8px;
  background: #fbfaf7; }
details.pp-sr > summary.pp-sr-bar { display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none;
  background: #2e2e2e; color: #fff; padding: 9px 14px; border-radius: 0 6px 0 0; }
details.pp-sr:not([open]) > summary.pp-sr-bar { border-radius: 0 6px 6px 0; }
details.pp-sr > summary::-webkit-details-marker { display: none; }
.pp-sr-bar img { background: #fff; border-radius: 50%; padding: 2px; }
.pp-sr-name { font: 800 1.08rem Montserrat, system-ui, sans-serif; }
.pp-sr-line { color: #cfcfcf; font-size: .82rem; }
.pp-sr-body { padding: 6px 14px 10px; }
.pp-sr-end { text-align: center; font: 700 .7rem Montserrat, system-ui, sans-serif; letter-spacing: .05em;
  text-transform: uppercase; color: var(--muted); margin: 14px 0 2px; display: flex; align-items: center; gap: 10px; }
.pp-sr-end::before, .pp-sr-end::after { content: ""; flex: 1; border-top: 1px solid #cfcabd; }
details.pp-gu { margin: 10px 0 12px; }
details.pp-gu > summary.os-subfold-bar { padding: 8px 12px; }
details.pp-gu > .os-subfold-body { padding: 6px 4px 4px 12px; border-left: 2px solid #f1d58c; margin-left: 6px; }
details.pp-pool > summary.os-subfold-bar { background: #fff; border-color: var(--line); border-left: 3px solid #cfcabd;
  padding: 5px 10px; }
.pp-pool-name { font: 700 .82rem Montserrat, system-ui, sans-serif; margin: 10px 0 4px; }
.pp-how { margin: 4px 0 8px; font-size: .84rem; }
.pp-how > summary { cursor: pointer; color: var(--ink-2); font-weight: 600; }
.pp-ubracket { margin: 12px 0 4px; padding: 8px 12px; background: #fff; border: 1px dashed #cfcabd; border-radius: 8px; }
.pp-empty { color: var(--muted); font-size: .88rem; margin: 6px 0; }
.pp-srbracket, .pp-nc { margin: 18px 0 8px; background: #fff; border: 2px solid var(--black); border-radius: 10px;
  overflow: hidden; }
.pp-srbracket > header, .pp-nc > header { display: flex; align-items: center; gap: 12px; padding: 10px 14px;
  background: var(--gold); color: var(--black); }
.pp-srbracket > header b, .pp-nc > header b { display: block; font: 800 1.1rem Montserrat, system-ui, sans-serif; }
.pp-srbracket > header span, .pp-nc > header span { display: block; font-size: .84rem; }
.pp-srbracket > .bracket, .pp-srbracket > .os-table-wrap, .pp-srbracket > h5 { margin-left: 14px; margin-right: 14px; }
.pp-srbracket .br-title:empty { display: none; }
.pp-nc { border-color: var(--red); margin: 22px 0 6px; }
.pp-nc > header { background: var(--red); color: #fff; }
.pp-nc > header img { background: #fff; border-radius: 50%; padding: 2px; }
.pp-nc > p, .pp-nc > ul, .pp-nc > h5, .pp-nc > .os-table-wrap { margin-left: 16px; margin-right: 16px; }
.pp-nc-who { list-style: none; padding: 0; }
.pp-nc-who li { display: flex; align-items: center; gap: 8px; margin: 4px 0; }
.pp-res-h { font: 700 .86rem Montserrat, system-ui, sans-serif; margin: 12px 0 4px; }
.pp-sources { margin-top: 10px; }
@media (max-width: 760px) {
  .pp-div-body { padding-left: 6px; margin-left: 2px; }
  .pp-sr-body { padding: 6px 8px 8px; }
  details.pp-gu > .os-subfold-body { padding-left: 6px; margin-left: 2px; }
  .pp-div-name { font-size: 1.15rem; }
  .pp-div-line, .pp-sr-line { display: none; }
}
.os-snap-tog { white-space: nowrap; }

/* ---- About, How to Get Involved, TouchLine Tagging, Version History as pages (round 14, pages_info.py) ---- */
  .version-history { max-width: 900px; }
  .version-card { background: #fff; border: 1px solid var(--line); border-left: 5px solid #111; border-radius: 6px;
                  padding: .9rem 1.1rem .6rem; margin-bottom: 1rem; font-size: .88rem; }
  .version-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem .8rem; }
  .version-title { margin: 0; font-size: 1.2rem; }
  .version-current { font-family: Montserrat, system-ui, sans-serif; font-size: .66rem; font-weight: 800;
                     letter-spacing: .08em; text-transform: uppercase; background: var(--gold); color: #111;
                     padding: .1rem .45rem; border-radius: 3px; }
  .version-date { color: var(--muted); font-size: .8rem; }
  .version-summary { margin: .3rem 0 .5rem; color: var(--ink-2); }
  .version-card h6 { margin: .7rem 0 .25rem; font-size: .76rem; text-transform: uppercase;
                     letter-spacing: .07em; border-bottom: 2px solid var(--gold); display: inline-block;
                     padding-bottom: .1rem; }
  .version-card ul { margin: 0 0 .3rem; padding-left: 1.15rem; }
  .vh-hls { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: .7rem;
            margin: .7rem 0 .4rem; }
  .vh-hl { background: #fffaf0; border: 1px solid #f3dca3; border-top: 4px solid var(--gold);
           border-radius: 6px; padding: .65rem .8rem .7rem; display: flex; flex-direction: column; }
  .vh-hl p { margin: .25rem 0 .45rem; font-size: .84rem; color: var(--ink-2); flex: 1; }
  .version-card h6.vh-hl-title { margin: 0; font-size: .95rem; text-transform: none; letter-spacing: 0;
                                 border: 0; padding: 0; display: block; }
  .vh-try { align-self: flex-start; font: 700 .74rem Montserrat, system-ui, sans-serif; text-transform: uppercase;
            letter-spacing: .04em; color: #111; background: var(--gold); border-radius: 5px;
            padding: .3rem .6rem; text-decoration: none; }
  .vh-try:hover { background: #111; color: var(--gold); }
  .vh-more { margin: .9rem 0 0; padding-top: .5rem; border-top: 1px solid var(--line); font: 800 .8rem Montserrat,
             system-ui, sans-serif; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
  .version-card li { margin-bottom: .2rem; }
  .vh-section { margin: 1.4rem 0 .7rem; padding-bottom: .25rem; border-bottom: 3px solid #111; scroll-margin-top: 80px; }
  .vh-jump { font-size: .85rem; margin-bottom: .2rem; }
  .vh-jump a { color: #111; text-decoration: underline; text-decoration-color: var(--gold);
               text-decoration-thickness: 2px; text-underline-offset: 3px; }

.version-card h5, .version-card h6 { font-family: Montserrat, system-ui, sans-serif; }
/* 3.1.1: each version folds; the newest of each section is open (leaderboards.version_cards) */
details.version-card > summary.version-head { cursor: pointer; list-style: none; position: relative; padding-left: 22px; }
details.version-card > summary.version-head::-webkit-details-marker { display: none; }
details.version-card > summary.version-head::before { content: ""; position: absolute; left: 2px; top: .55em;
  border: 6px solid transparent; border-left: 8px solid #111; border-right: 0; transition: transform .15s; }
details.version-card[open] > summary.version-head::before { transform: rotate(90deg); }
details.version-card:not([open]) { padding-bottom: .9rem; }
details.version-card > summary.version-head:hover .version-title { text-decoration: underline;
  text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.version-body { padding-left: 22px; }
/* 3.1.1: Shoutouts beside the version breakdowns (pages_info.SHOUTOUTS); under them on a narrow screen */
.vh-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 28px; align-items: start; }
.vh-layout .version-history { max-width: none; }
.vh-shoutouts { position: sticky; top: 76px; background: #fffaf0; border: 1px solid #f3dca3;
  border-top: 5px solid var(--gold); border-radius: 8px; padding: 12px 14px 4px; scroll-margin-top: 80px; }
.vh-shoutouts h2 { font: 800 .9rem Montserrat, system-ui, sans-serif; text-transform: uppercase; letter-spacing: .07em;
  margin: 0 0 8px; }
.vh-shoutouts ul { list-style: none; margin: 0; padding: 0; }
.vh-shoutouts li { padding: 8px 0 6px; border-top: 1px solid #f3dca3; }
.vh-shoutouts li:first-child { border-top: 0; padding-top: 0; }
.vh-so-name { font-family: Montserrat, system-ui, sans-serif; font-size: .92rem; }
.vh-so-name a { color: #111; text-decoration: underline; text-decoration-color: var(--gold);
  text-decoration-thickness: 2px; text-underline-offset: 3px; }
.vh-shoutouts p { margin: .25rem 0 .3rem; font-size: .86rem; line-height: 1.45; color: var(--ink-2); }
@media (max-width: 900px) {
  .vh-layout { grid-template-columns: minmax(0, 1fr); }
  .vh-shoutouts { position: static; }
}
.vh-jump a { text-decoration-thickness: 2px; }
.touchline-frame { display: block; width: 100%; height: min(940px, 84vh); min-height: 560px; border: 2px solid #111;
  border-radius: 8px; background: #f5f4f0; margin: 14px 0; }
.caution-head { font: 800 .74rem Montserrat, system-ui, sans-serif; letter-spacing: .09em; text-transform: uppercase;
  margin-bottom: 4px; }
.os-tl-v { font-size: .9rem; font-weight: 600; }
.os-tl-fb { margin: 4px 0 8px; }
/* 3.1.2: the TouchLine Tagging page opens touchlinetagging.com (pages_info.touchline_page) */
.tl-page { max-width: 760px; }
.tl-card { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--gold); border-radius: 8px;
  padding: 16px 18px; margin: 10px 0 18px; }
.tl-lede { margin: 0 0 14px; line-height: 1.5; }
.tl-open { display: inline-block; font-size: 1rem; padding: 10px 18px; text-decoration: none; }
.tl-note { margin: 12px 0 0; color: var(--muted); font-size: .88rem; }
.tl-list { padding-left: 1.2rem; line-height: 1.5; }
.tl-list li { margin: 6px 0; }
.inv-form label { display: block; font: 700 .82rem Montserrat, system-ui, sans-serif; margin: 10px 0 0; }
.inv-form input:not([type=checkbox]), .inv-form textarea { display: block; width: 100%; margin-top: 4px; font: inherit;
  font-weight: 400; border: 1px solid #cfcabd; border-radius: 6px; padding: 8px 10px; }
.inv-form input:focus, .inv-form textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold-deep); }
.inv-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.inv-ways { border: 0; padding: 0; margin: 12px 0 0; }
.inv-ways legend { font: 700 .82rem Montserrat, system-ui, sans-serif; margin-bottom: 4px; }
.inv-form label.inv-check { display: flex; align-items: center; gap: 8px; font: 400 .92rem system-ui, sans-serif; margin: 4px 0; }
.inv-check input { width: 17px; height: 17px; accent-color: var(--gold-deep); }
.inv-form .os-btn { margin-top: 14px; }
.fb-problems { background: #fdecef; border-left: 4px solid var(--red); padding: 8px 12px; margin: 12px 0 0; border-radius: 0 6px 6px 0; }
.fb-problems ul { margin: 0; padding-left: 1.1rem; }
.fb-done { background: var(--gold-wash); border-left: 4px solid var(--gold); padding: 8px 12px; margin: 12px 0 0;
  border-radius: 0 6px 6px 0; }
@media (max-width: 600px) { .inv-row { grid-template-columns: 1fr; } }

/* ---- Data Quality and Schedule-Adjusted Margins as pages (round 14, pages_quality.py) ---- */
.dq-scroll { max-height: 620px; overflow: auto; border-radius: 10px; }
.dq-scroll .os-table-wrap { overflow: visible; }
.dq-scroll thead th { position: sticky; top: 0; z-index: 2; }
.dq-table td, .dq-table th { white-space: nowrap; }
.dq-team th { white-space: normal; min-width: 4.6em; vertical-align: bottom; }
.dq-flag { color: var(--red); font-weight: 700; }
.dq-hints { margin: 6px 0; padding-left: 1.1rem; font-size: .85rem; }
.dq-filters { display: flex; flex-direction: column; gap: 6px; margin: 10px 0 4px; }
.dq-filters .dq-top { margin: 0; }
.dq-said { margin-top: 0; }
.dq-wtform { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px 16px; margin: 6px 0 8px; }
.dq-club { font: 700 .82rem Montserrat, system-ui, sans-serif; display: flex; align-items: center; gap: 8px; }
.dq-club select { font: inherit; font-weight: 500; padding: 6px 8px; border: 1px solid #cfcabd; border-radius: 6px;
  background: #fff; min-width: 220px; }
.dq-more { flex: 1 1 320px; background: var(--gold-wash); border: 1px solid #f1d89a; border-radius: 8px; }
.dq-more > summary { cursor: pointer; padding: 7px 12px; font: 700 .8rem Montserrat, system-ui, sans-serif; }
.dq-more .os-ctl { padding: 4px 12px 8px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.dq-how { max-width: 90ch; margin-top: 14px; }
.os-beta { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }

/* ---- union, local union and select side pages (round 14, pages_orgs.py) ---- */
.og-hero { align-items: flex-start; }
.og-logo img { width: 84px; height: 84px; }
.og-note { color: var(--ink-2); font-size: .9rem; max-width: 80ch; margin: 6px 0 0; }
.og-quick { margin: 14px 0; }
.og-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin: 8px 0 6px; }
.og-card { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: #fff; border: 1px solid var(--line);
  border-left: 4px solid var(--gold); border-radius: 8px; text-decoration: none; color: var(--ink); }
.og-card:hover, .og-card:focus-visible { border-color: var(--black); }
.og-card img { width: 44px; height: 44px; flex: none; }
.og-card b { display: block; font: 800 .95rem Montserrat, system-ui, sans-serif; }
.og-card small { color: var(--muted); }
.og-div { display: flex; gap: 14px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid #eeebe4; }
.og-div > b { min-width: 2.5rem; font: 800 .9rem Montserrat, system-ui, sans-serif; }
.og-div ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.og-members { columns: 2 260px; padding-left: 1.1rem; }
.og-members li { margin: 3px 0; break-inside: avoid; }
.og-members .og-sub { margin: 2px 0 6px; padding-left: 1.1rem; font-size: .9rem; list-style: circle; }
.og-members .og-sub li { margin: 1px 0; }
.og-sides { color: var(--muted); font-size: .88rem; }

/* the home-screen tip (3.1.1, from 2.1.7): phones only, from the second visit (pages.js) */
#home-hint { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--black); color: #fff;
  border-top: 3px solid var(--gold); padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  font-size: .9rem; line-height: 1.35; box-shadow: 0 -6px 18px rgba(0, 0, 0, .25); }
#home-hint b { color: var(--gold); }
#home-hint .hh-steps { color: #ddd; margin: 3px 0 9px; }
#home-hint .hh-btns { display: flex; gap: 8px; flex-wrap: wrap; }
#home-hint button { border: 0; border-radius: 4px; padding: 6px 13px; font: 700 .85rem system-ui, sans-serif;
  cursor: pointer; }
#home-hint .hh-later { background: var(--gold); color: var(--black); }
#home-hint .hh-never { background: transparent; color: #fff; border: 1px solid #777; }
body.home-hint-on .os-fb-btn { bottom: calc(var(--hh-h, 140px) + 12px); }

/* the "what's new" announcement (pages.news_dialog) */
dialog.os-news { border: 0; border-radius: 14px; padding: 0; max-width: 520px; width: calc(100% - 32px);
  box-shadow: 0 20px 60px rgba(0,0,0,.35); border-top: 6px solid var(--gold); }
dialog.os-news::backdrop { background: rgba(17,17,17,.55); }
.os-news-top { background: var(--black); color: var(--gold); font: 800 .72rem Montserrat, system-ui, sans-serif;
  letter-spacing: .06em; text-transform: uppercase; padding: 8px 18px; }
dialog.os-news h2 { margin: 16px 18px 6px; font: 800 1.45rem Montserrat, system-ui, sans-serif; }
dialog.os-news ul { margin: 0 18px; padding-left: 1.1rem; }
dialog.os-news li { margin: 6px 0; line-height: 1.4; }
dialog.os-news p { margin: 8px 18px; line-height: 1.45; }      /* 3.1.1: the TouchLine announcement's paragraphs */
.os-news-acts { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; padding: 16px 18px 18px; }
.os-news-acts .os-btn { text-decoration: none; }
/* 3.3.0: breadcrumbs, the Clubs directory, Players A-Z, rosters and a player's clubs on previews */
.os-crumbs { margin: 0 0 12px; font-size: .82rem; }
.os-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; row-gap: 2px; }
.os-crumbs li { display: inline-flex; align-items: center; color: var(--muted); }
.os-crumbs li + li::before { content: "\203A"; margin: 0 7px; color: var(--muted); }
.os-crumbs a { color: var(--ink-2); text-decoration-color: var(--gold); text-underline-offset: 2px; }
.os-crumbs [aria-current] { color: var(--muted); }
.os-dir-intro { max-width: 760px; color: var(--ink-2); margin: 4px 0 14px; }
.os-dir-h3 { font: 800 .9rem Montserrat, system-ui, sans-serif; margin: 16px 0 6px; }
.os-dir-list { list-style: none; padding: 0; margin: 0 0 10px; columns: 2 300px; column-gap: 28px; }
.os-dir-list li { break-inside: avoid; padding: 3px 0; }
.os-dir-region { margin: 4px 0 10px; line-height: 1.65; }
.os-az-jump { display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0 12px; }
.os-az-jump a { min-width: 2.1em; text-align: center; padding: 3px 6px; border: 1px solid var(--line);
                border-radius: 4px; text-decoration: none; color: var(--ink); font-weight: 700; background: var(--card); }
.os-az-jump a.on, .os-az-jump a:hover { background: var(--gold); border-color: var(--gold); }
.os-az-grid { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 8px;
              grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }
.os-az-grid a { display: flex; flex-direction: column; align-items: center; padding: 10px 6px; border: 1px solid var(--line);
                border-radius: 6px; background: var(--card); text-decoration: none; color: var(--ink); }
.os-az-grid a:hover { border-color: var(--gold); }
.os-az-grid b { font: 800 1.3rem Montserrat, system-ui, sans-serif; }
.os-az-grid span { font-size: .78rem; color: var(--muted); }
.os-pager { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; align-items: center; }
.os-pager a, .os-pager span { padding: 3px 9px; border: 1px solid var(--line); border-radius: 4px; text-decoration: none;
                              color: var(--ink); background: var(--card); }
.os-pager .on { background: var(--gold); border-color: var(--gold); font-weight: 700; }
.os-nav-a.os-nav-in { font-weight: 800; }
.os-history td, .os-dir-table td { vertical-align: top; }
.os-seasons li { margin: 3px 0; }


  .bracket { margin: 0.6rem 0 1.6rem; }
  .br-title { font-weight: 700; margin-bottom: 0.4rem; }
  .br-grid { display: flex; gap: 22px; align-items: stretch; padding-bottom: 4px; }
  .br-round { display: flex; flex-direction: column; min-width: 190px; flex: 0 0 auto; }
  .br-end { min-width: 170px; }
  .br-rh { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #555;
           display: flex; flex-direction: column; margin-bottom: 6px; min-height: 2.2em; }
  .br-rh .br-d { font-weight: 500; letter-spacing: 0; text-transform: none; color: #777; }
  .br-rh .br-site { align-self: flex-start; margin-top: 3px; font-size: 0.68rem; letter-spacing: 0.04em;
                    background: var(--gold); color: #111; border-radius: 999px; padding: 1px 8px; }
  .br-ms { border-top: 1px dashed var(--line); padding: 3px 8px; font-size: 0.72rem; color: #555; text-align: center;
           background: #fbfaf6; border-radius: 0 0 6px 6px; }
  .br-col { display: flex; flex-direction: column; justify-content: space-around; gap: 10px; flex: 1; }
  .br-m { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 6px; font-size: 0.84rem; }
  .br-round:not(.br-end) .br-m::after {
      content: ""; position: absolute; right: -23px; top: 50%; width: 22px; border-top: 1.5px solid #bbb; }
  .br-s { display: flex; align-items: center; gap: 6px; padding: 5px 8px; min-height: 30px; }
  .br-s + .br-s { border-top: 1px solid var(--line); }
  .br-seed { font-size: 0.72rem; color: #777; white-space: nowrap; }
  .br-n { flex: 1; white-space: nowrap; }
  .br-h { font-size: 0.72rem; color: #777; }
  .br-sc { min-width: 1.6em; text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
  .br-s.ph .br-n { color: #888; font-style: italic; }
  .br-s.proj .br-n { font-style: italic; }
  .br-s.win { font-weight: 700; box-shadow: inset 3px 0 0 var(--gold); }
  .br-s.lose .br-n { color: #777; }
  .br-out { background: #f6f5f1; border: 1px dashed #bbb; border-radius: 6px; padding: 6px 8px; font-size: 0.82rem; }
  .br-note { max-width: 70rem; }
  .br-sr { border-top: 2px solid #ddd; padding-top: 0.8rem; margin-top: 0.4rem; }
  .br-sr .br-title { font-size: 1.02rem; }

/* 3.2.0: signing in, the prompt and the previews */
.os-bar-auth { display: flex; gap: 6px; align-items: center; margin-left: 6px; }
.os-bar-auth a { font: 700 .7rem Montserrat, system-ui, sans-serif; text-transform: uppercase; letter-spacing: .03em;
  text-decoration: none; border-radius: 6px; padding: 6px 10px; white-space: nowrap; }
.os-bar-in-btn { color: #fff; border: 1px solid #555; }
.os-bar-in-btn:hover { border-color: var(--gold); color: var(--gold); }
.os-bar-up-btn { background: var(--gold); color: var(--black); border: 1px solid var(--gold); }
.os-bar-who { color: #bdbdbd; font-size: .74rem; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.os-home .os-bar-auth { margin-left: auto; }
.os-dev .os-bar-in-btn { color: var(--black); border-color: var(--black); }
.os-dev .os-bar-up-btn { background: var(--black); color: var(--gold); border-color: var(--black); }
.os-dev .os-bar-who { color: #5a4a20; }
.os-gate { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 8px;
  padding: 18px 20px; margin: 14px 0 18px; }
.os-gate h2 { font: 800 1.05rem Montserrat, system-ui, sans-serif; margin: 0 0 4px; }
.os-gate p { margin: 6px 0; }
.os-gate-preview { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.os-gate-preview > div:first-child { flex: 1 1 360px; }
.os-gate-page { max-width: 640px; margin: 28px auto; }
.os-gate-lede { font: 700 1.1rem Montserrat, system-ui, sans-serif; color: var(--black); }
.os-gate-acts { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 6px; }
.os-gate-acts .os-btn { font-size: .8rem; padding: 9px 16px; text-decoration: none; color: var(--black); }
.os-gate-form { display: grid; gap: 10px; margin: 12px 0; }
.os-gate-form label { display: grid; gap: 4px; font-weight: 600; font-size: .9rem; }
.os-gate-form input:not([type=checkbox]), .os-gate-form textarea { font: inherit; border: 1px solid #b9b5aa;
  border-radius: 6px; padding: 7px 9px; }
.os-gate-form .os-check { display: flex; gap: 8px; align-items: flex-start; font-weight: 500; }
.os-gate-form .os-check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.os-gate-form .os-btn { justify-self: start; font-size: .8rem; padding: 9px 16px; }
.os-signin { max-width: 480px; margin: 24px auto; text-align: center; }
.os-clerk { display: flex; justify-content: center; min-height: 340px; margin-top: 12px; }
.os-preview .os-pv-table { width: 100%; }
.os-soon { background: #fff; border: 1px dashed #c9c5b8; border-radius: 8px; padding: 18px 20px; text-align: center; }
.os-soon p { margin: 4px 0; }
/* round 3: the locked sections on previews */
.os-lk .os-h2 { color: #7a7a7a; }
.os-lk-box { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px;
  overflow: hidden; }
.os-lk-bars { filter: blur(1.5px); opacity: .55; }
.os-lk-row { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid #eee; }
.os-lk-row span, .os-lk-chips span, .os-lk-line { display: block; height: 10px; border-radius: 5px; background: #d9d6cc; }
.os-lk-head span { background: #111; opacity: .7; }
.os-lk-chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 6px 0; }
.os-lk-chips span { height: 54px; border-radius: 8px; }
.os-lk-line { margin: 12px 0; height: 12px; }
.os-lk-chart { display: flex; align-items: flex-end; gap: 6%; height: 120px; padding: 6px 4px 0; }
.os-lk-chart span { flex: 1; background: #d9d6cc; border-radius: 4px 4px 0 0; }
.os-lk-cta { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 16px; text-align: center; font: 700 .85rem Montserrat, system-ui, sans-serif; color: var(--black);
  text-decoration: none; background: rgba(246, 245, 241, .35); }
.os-lk-cta:hover { background: rgba(255, 248, 230, .6); text-decoration: underline; text-decoration-color: var(--gold);
  text-decoration-thickness: 2px; }
.os-preview .os-pv-table td { white-space: nowrap; }
@media (max-width: 860px) { .os-bar-auth { order: 2; margin-left: auto; } .os-bar-who { display: none; } }
