/* Game Openings — the same family as Coaching Openings and SchoolSportsAD:
   white paper, navy ink, Big Shoulders headings. Its own accent is amber, and
   every listing reads like a line on a schedule: the date first, in big type. */
:root{
  --paper:#ffffff;
  --paper-dim:#f5f5f3;
  --ink:#101c28;
  --ink-soft:#3b4c5a;
  --ink-faint:#6b7d8b;
  --navy-950:#0b1826;
  --navy-800:#12293e;
  --line:rgba(16,28,40,.14);
  --line-strong:rgba(16,28,40,.28);
  --teal:#2f8f7d;
  --teal-ink:#0d3b32;
  --teal-tint:#e1efe9;
  --amber:#e8a13c;
  --amber-ink:#5c3c0c;
  --amber-tint:#faedd6;
  --red:#a8432f;
  --red-tint:#f6e2dd;
  --card:#ffffff;
  --shadow:0 18px 40px -22px rgba(11,24,38,.35);
}
*{ box-sizing:border-box; }
[hidden]{ display:none !important; }
html{ -webkit-text-size-adjust:100%; }
body{ margin:0; background:var(--paper); color:var(--ink); font:16px/1.55 'IBM Plex Sans',system-ui,-apple-system,sans-serif; -webkit-font-smoothing:antialiased; }
h1,h2,h3,.display{ font-family:'Big Shoulders Display',system-ui,sans-serif; text-transform:uppercase; letter-spacing:.01em; font-weight:800; margin:0; text-wrap:balance; }
a{ color:inherit; }
button,input,select,textarea{ font:inherit; color:inherit; }
:focus-visible{ outline:2px solid var(--amber); outline-offset:2px; }
.sr{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.muted{ color:var(--ink-soft); }
.wrap{ max-width:1120px; margin:0 auto; padding:0 24px; }
@media (max-width:600px){ .wrap{ padding:0 16px; } }

/* --- header & footer ---------------------------------------------------------------- */
header.site{ position:sticky; top:0; z-index:40; background:rgba(255,255,255,.94); backdrop-filter:blur(10px); border-bottom:1px solid var(--line); }
nav.main{ display:flex; align-items:center; gap:22px; padding:12px 24px; max-width:1120px; margin:0 auto; }
.brand{ display:flex; align-items:center; gap:10px; font-weight:700; font-size:1.08rem; text-decoration:none; white-space:nowrap; }
.brand .mark{ width:34px; height:34px; border-radius:8px; background:var(--navy-950); color:var(--amber); display:flex; align-items:center; justify-content:center; font:800 1rem 'Big Shoulders Display',sans-serif; }
.navlinks{ display:flex; gap:4px; list-style:none; margin:0; padding:0; flex:1; }
.navlinks a{ display:inline-flex; align-items:center; gap:6px; padding:8px 12px; border-radius:8px; text-decoration:none; font-size:.92rem; font-weight:500; color:var(--ink-soft); min-height:40px; }
.navlinks a:hover{ color:var(--ink); background:var(--paper-dim); }
.navlinks a[aria-current="page"]{ color:var(--ink); font-weight:600; box-shadow:inset 0 -2px 0 var(--amber); border-radius:8px 8px 0 0; }
.count{ min-width:20px; height:20px; padding:0 6px; border-radius:99px; background:var(--amber); color:var(--navy-950); font:600 .72rem/20px 'IBM Plex Mono',monospace; text-align:center; }
.navcta{ display:flex; gap:8px; align-items:center; margin-left:auto; }
.navtoggle{ display:none; align-items:center; gap:8px; background:none; border:1px solid var(--line-strong); border-radius:8px; padding:8px 12px; min-height:40px; cursor:pointer; font-weight:600; font-size:.88rem; }
.navtoggle .bars{ display:inline-flex; flex-direction:column; gap:3px; }
.navtoggle .bars i{ display:block; width:16px; height:2px; background:var(--ink); border-radius:2px; }
.mobilenav{ display:none; border-top:1px solid var(--line); padding:6px 0 12px; }
.mobilenav.open{ display:block; }
.mobilenav a,.mobilenav button{ display:flex; width:100%; align-items:center; min-height:46px; padding:0; border:0; border-bottom:1px solid var(--line); background:none; text-align:left; text-decoration:none; font-weight:500; cursor:pointer; gap:8px; }
.mobilenav a:last-child,.mobilenav button:last-child{ border-bottom:0; }
@media (max-width:860px){ .navlinks,.navcta .hide-sm{ display:none; } .navtoggle{ display:inline-flex; } nav.main{ gap:12px; } }
@media (max-width:480px){ .navcta .hide-xs{ display:none; } nav.main{ padding:12px 16px; gap:10px; } }
@media (max-width:400px){ .navtoggle-label{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); } .navtoggle{ padding:8px 10px; min-width:44px; justify-content:center; } } .navcta .btn-sm{ white-space:nowrap; }
@media (max-width:360px){ .navcta .hide-xxs{ display:none; } }

.me{ position:relative; }
.me > button{ display:flex; align-items:center; gap:8px; background:none; border:1px solid var(--line); border-radius:99px; padding:4px 12px 4px 4px; cursor:pointer; min-height:40px; }
.avatar{ width:30px; height:30px; border-radius:50%; background:var(--navy-950); color:#fff; display:flex; align-items:center; justify-content:center; font-size:.76rem; font-weight:700; }
.me .who{ font-size:.86rem; font-weight:600; max-width:180px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.menu{ position:absolute; right:0; top:calc(100% + 6px); min-width:240px; background:var(--card); border:1px solid var(--line); border-radius:12px; box-shadow:var(--shadow); padding:6px; z-index:50; }
.menu a,.menu button{ display:block; width:100%; text-align:left; padding:10px 12px; border-radius:8px; border:0; background:none; text-decoration:none; font-size:.9rem; cursor:pointer; }
.menu a:hover,.menu button:hover{ background:var(--paper-dim); }
.menu .label{ padding:8px 12px 4px; font-size:.76rem; color:var(--ink-faint); font-weight:600; }
.menu hr{ border:0; border-top:1px solid var(--line); margin:6px 0; }
@media (max-width:600px){ .me .who{ display:none; } .me > button{ padding:4px; } }

footer.site{ background:var(--navy-950); color:#b7c4cf; padding:44px 0 24px; margin-top:56px; }
.foot-grid{ display:grid; grid-template-columns:1.5fr 1fr 1fr; gap:28px; padding-bottom:28px; border-bottom:1px solid rgba(255,255,255,.12); }
.foot-grid h4{ color:#fff; font-size:.86rem; margin:0 0 10px; }
.foot-grid ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:4px; font-size:.9rem; }
.foot-grid a{ text-decoration:none; display:inline-flex; min-height:32px; align-items:center; }
.foot-grid a:hover{ color:#fff; }
.foot-grid .brand{ color:#fff; }
.foot-bottom{ display:flex; justify-content:space-between; padding-top:18px; font-size:.8rem; color:#8fa2b1; flex-wrap:wrap; gap:8px; }
@media (max-width:700px){ .foot-grid{ grid-template-columns:1fr 1fr; } .foot-grid > div:first-child{ grid-column:1 / -1; } }

/* --- buttons, forms, bits --------------------------------------------------------------- */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:7px; padding:10px 18px; min-height:42px; border-radius:8px; font-weight:600; font-size:.92rem; border:1px solid var(--line-strong); background:var(--card); color:var(--ink); cursor:pointer; text-decoration:none; transition:transform .12s ease, background .12s ease; }
.btn:hover{ transform:translateY(-1px); }
.btn:active{ transform:none; }
.btn-primary{ background:var(--navy-950); border-color:var(--navy-950); color:#fff; }
.btn-primary:hover{ background:var(--navy-800); }
.btn-amber{ background:var(--amber); border-color:var(--amber); color:var(--navy-950); }
.btn-danger{ color:var(--red); }
.btn-sm{ padding:6px 12px; min-height:36px; font-size:.84rem; }
.btn:disabled{ opacity:.55; cursor:default; transform:none; }
.btn-link{ background:none; border:0; padding:0; color:var(--ink); font-weight:600; text-decoration:underline; cursor:pointer; }
@media (prefers-reduced-motion:reduce){ .btn{ transition:none; } .btn:hover{ transform:none; } }

input,select,textarea{ width:100%; padding:10px 12px; min-height:44px; border:1px solid var(--line-strong); border-radius:8px; background:#fff; font-size:16px; }
textarea{ min-height:auto; resize:vertical; }
label.f{ display:flex; flex-direction:column; gap:5px; font-size:.86rem; font-weight:600; }
label.f small{ font-weight:400; color:var(--ink-faint); }
.check{ display:flex; gap:10px; align-items:center; font-size:.9rem; cursor:pointer; }
.check input{ width:20px; height:20px; min-height:0; flex:none; accent-color:var(--navy-950); }
.grid{ display:grid; gap:14px; }
.g2{ grid-template-columns:1fr 1fr; } .g3{ grid-template-columns:repeat(3,1fr); }
.span2{ grid-column:1 / -1; }
@media (max-width:560px){ .g2,.g3{ grid-template-columns:1fr; } }
.err{ background:var(--red-tint); color:var(--red); border-radius:8px; padding:10px 12px; font-size:.88rem; }
.note{ background:var(--amber-tint); color:var(--amber-ink); border-radius:8px; padding:10px 14px; font-size:.9rem; }
.pill{ display:inline-block; font-size:.76rem; font-weight:600; padding:3px 10px; border-radius:99px; white-space:nowrap; background:var(--paper-dim); color:var(--ink-soft); }
.pill.ok{ background:var(--teal-tint); color:var(--teal-ink); }
.pill.warn{ background:var(--red-tint); color:var(--red); }
.pill.info{ background:var(--amber-tint); color:var(--amber-ink); }
.seg{ display:inline-flex; border:1px solid var(--line-strong); border-radius:9px; overflow:hidden; background:var(--card); flex-wrap:wrap; }
.seg button{ border:0; background:none; padding:7px 14px; font-size:.86rem; font-weight:600; cursor:pointer; color:var(--ink-soft); min-height:40px; }
.seg button + button{ border-left:1px solid var(--line); }
.seg button[aria-pressed="true"]{ background:var(--navy-950); color:#fff; }
.segbtn{ display:inline-flex; align-items:center; min-height:40px; padding:0 14px; font-size:.88rem; font-weight:600; cursor:pointer; color:var(--ink-soft); border-right:1px solid var(--line); }
.segbtn.on{ background:var(--navy-950); color:#fff; }
.seg label:last-child .segbtn{ border-right:0; }
.seg input:focus-visible + .segbtn{ outline:2px solid var(--amber); outline-offset:-2px; }

.card{ background:var(--card); border:1px solid var(--line); border-radius:14px; }
.card-head{ display:flex; justify-content:space-between; align-items:baseline; gap:12px; padding:16px 20px; border-bottom:1px solid var(--line); flex-wrap:wrap; }
.card-head h2{ font-size:1.25rem; }
.card-body{ padding:18px 20px; }
.empty{ padding:36px 20px; text-align:center; color:var(--ink-soft); display:flex; flex-direction:column; gap:8px; align-items:center; }
.empty b{ color:var(--ink); font-size:1.02rem; }

/* --- page heads ----------------------------------------------------------------------- */
.page{ padding-top:34px; padding-bottom:10px; }
.pair{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.page-head{ display:flex; justify-content:space-between; align-items:flex-end; gap:16px; flex-wrap:wrap; margin-bottom:22px; }
.page-head h1{ font-size:clamp(2rem,4.4vw,2.9rem); line-height:.95; }
.page-head .sub{ color:var(--ink-soft); margin-top:8px; max-width:62ch; }

/* --- the board: filters + schedule lines ------------------------------------------------- */
.board{ display:grid; grid-template-columns:250px 1fr; gap:28px; align-items:start; }
@media (max-width:900px){ .board{ grid-template-columns:1fr; } }
.filters-col{ position:sticky; top:84px; display:flex; flex-direction:column; gap:14px; }
.filters-col h3{ font-family:'IBM Plex Sans',sans-serif; text-transform:none; font-size:.86rem; font-weight:600; letter-spacing:0; }
.filters-col .kinds{ display:flex; flex-direction:column; gap:4px; }
.kindbtn{ display:flex; justify-content:space-between; align-items:center; padding:10px 12px; border-radius:8px; border:1px solid transparent; background:none; text-align:left; cursor:pointer; font-weight:600; font-size:.92rem; min-height:44px; }
.kindbtn:hover{ background:var(--paper-dim); }
.kindbtn[aria-pressed="true"]{ background:var(--navy-950); color:#fff; }
@media (max-width:900px){
  .filters-col{ position:static; }
  .filters-col .kinds{ flex-direction:row; flex-wrap:wrap; }
  .filters-col[data-collapsed] .more{ display:none; }
}
.filters-toggle{ display:none; }
@media (max-width:900px){ .filters-toggle{ display:inline-flex; } }

.resbar{ display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; margin-bottom:12px; font-size:.9rem; color:var(--ink-soft); }
.lines{ display:flex; flex-direction:column; border-top:2px solid var(--navy-950); }
.line{ display:grid; grid-template-columns:86px 1fr auto; gap:18px; padding:18px 4px; border-bottom:1px solid var(--line); align-items:start; }
.line.done{ opacity:.6; }
.date{ font-family:'Big Shoulders Display',sans-serif; text-transform:uppercase; line-height:.9; }
.date .mo{ display:block; font-size:.95rem; font-weight:700; color:var(--ink-soft); letter-spacing:.04em; }
.date .d{ display:block; font-size:2.4rem; font-weight:800; }
.date .to{ display:block; font-size:.92rem; font-weight:700; color:var(--ink-soft); margin-top:4px; }
.line .what{ display:flex; flex-direction:column; gap:5px; min-width:0; }
.line .kind{ font:600 .74rem 'IBM Plex Mono',monospace; letter-spacing:.04em; color:var(--amber-ink); }
.line .kind.tournament{ color:var(--teal-ink); }
.line .kind.venue{ color:var(--ink-soft); }
.line h3{ font-family:'IBM Plex Sans',sans-serif; text-transform:none; letter-spacing:0; font-size:1.1rem; font-weight:700; }
.line .school{ font-size:.92rem; }
.line .school b{ font-weight:600; }
.facts{ display:flex; flex-wrap:wrap; gap:6px; margin-top:2px; }
.facts span{ font-size:.8rem; font-weight:600; padding:3px 9px; border-radius:6px; background:var(--paper-dim); color:var(--ink-soft); }
.facts span.good{ background:var(--teal-tint); color:var(--teal-ink); }
.line .note-text{ margin:2px 0 0; font-size:.9rem; color:var(--ink-soft); white-space:pre-wrap; max-width:68ch; }
.line .act{ display:flex; flex-direction:column; gap:8px; align-items:flex-end; min-width:150px; }
@media (max-width:640px){
  .line{ grid-template-columns:62px 1fr; gap:12px; }
  .date .d{ font-size:1.9rem; }
  .line .act{ grid-column:2; align-items:flex-start; min-width:0; flex-direction:row; flex-wrap:wrap; }
}

/* --- open weeks (from the Dashboard) --------------------------------------------------- */
.weeks{ display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:10px; padding:16px 20px; }
.week{ border:1px dashed var(--line-strong); border-radius:10px; padding:12px; display:flex; flex-direction:column; gap:8px; font-size:.9rem; }
.week b{ font-weight:600; }

/* --- requests --------------------------------------------------------------------------- */
.cols{ display:grid; grid-template-columns:1fr 1fr; gap:20px; align-items:start; }
@media (max-width:900px){ .cols{ grid-template-columns:1fr; } }
.req{ display:grid; gap:6px; padding:14px 20px; border-bottom:1px solid var(--line); font-size:.92rem; }
.req:last-child{ border-bottom:0; }
.req .row{ display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.req .quote{ margin:0; color:var(--ink-soft); white-space:pre-wrap; }

/* --- landing (signed out) --------------------------------------------------------------- */
.hero{ padding:56px 0 48px; border-bottom:1px solid var(--line); }
.hero-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:48px; align-items:center; }
@media (max-width:900px){ .hero-grid{ grid-template-columns:1fr; gap:32px; } }
.hero h1{ font-size:clamp(2.6rem,6.4vw,4.6rem); line-height:.92; }
.hero .lede{ font-size:1.12rem; color:var(--ink-soft); max-width:50ch; margin:18px 0 0; }
.hero-ctas{ display:flex; gap:10px; margin-top:24px; flex-wrap:wrap; }
.scoreboard{ background:var(--navy-950); color:#fff; border-radius:16px; padding:22px; box-shadow:var(--shadow); }
.scoreboard .sb-head{ display:flex; justify-content:space-between; font:600 .78rem 'IBM Plex Mono',monospace; color:#9fb2c1; padding-bottom:14px; border-bottom:1px solid rgba(255,255,255,.14); }
.scoreboard .sb-row{ display:flex; justify-content:space-between; align-items:baseline; padding:12px 0; border-bottom:1px solid rgba(255,255,255,.08); }
.scoreboard .sb-row:last-of-type{ border-bottom:0; }
.scoreboard .sb-row span{ font-size:1rem; color:#d4dee6; }
.scoreboard .sb-row b{ font:800 2.6rem/1 'Big Shoulders Display',sans-serif; color:var(--amber); font-variant-numeric:tabular-nums; }
.scoreboard .sb-foot{ margin-top:12px; font-size:.84rem; color:#9fb2c1; }
.how{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; padding:44px 0 8px; }
@media (max-width:800px){ .how{ grid-template-columns:1fr; } }
.how h2{ font-size:1.5rem; margin-bottom:6px; }
.how p{ margin:0; color:var(--ink-soft); }

/* --- sign in ------------------------------------------------------------------------- */
.auth-card{ max-width:480px; margin:44px auto 0; padding:28px; }
.auth-card h1{ font-size:2rem; }
.auth-card .alt{ color:var(--ink-soft); font-size:.92rem; margin:10px 0 0; }
.auth-card form{ margin-top:18px; }

/* --- modal & toast --------------------------------------------------------------------- */
dialog#modal{ border:0; padding:0; border-radius:16px; width:min(640px, calc(100vw - 24px)); max-height:calc(100vh - 32px); background:var(--card); color:var(--ink); box-shadow:var(--shadow); }
dialog#modal::backdrop{ background:rgba(5,10,16,.55); }
dialog#modal form{ display:flex; flex-direction:column; max-height:calc(100vh - 32px); }
.m-head{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:16px 20px; border-bottom:1px solid var(--line); }
.m-head h2{ font-size:1.35rem; }
.m-head .x{ background:none; border:0; width:40px; height:40px; border-radius:8px; cursor:pointer; display:flex; align-items:center; justify-content:center; }
.m-head .x:hover{ background:var(--paper-dim); }
.m-body{ padding:18px 20px; overflow:auto; display:flex; flex-direction:column; gap:14px; }
.m-foot{ display:flex; gap:10px; justify-content:flex-end; padding:14px 20px; border-top:1px solid var(--line); flex-wrap:wrap; }
.i{ width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; flex:none; }
.toast{ position:fixed; left:50%; bottom:24px; transform:translateX(-50%); background:var(--navy-950); color:#fff; padding:12px 18px; border-radius:10px; font-size:.92rem; box-shadow:var(--shadow); z-index:100; max-width:calc(100vw - 32px); }
table.data{ width:100%; border-collapse:collapse; font-size:.9rem; }
table.data th,table.data td{ text-align:left; padding:10px 12px; border-bottom:1px solid var(--line); vertical-align:top; }
table.data th{ font-size:.8rem; color:var(--ink-soft); font-weight:600; }
.table-wrap{ overflow-x:auto; }
.nowrap{ white-space:nowrap; }

/* --- report link: quiet, never competes with the main action ------------------------------ */
.report{ background:none; border:0; padding:6px 0; min-height:32px; font-size:.8rem; font-weight:500; color:var(--ink-faint); text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.report:hover{ color:var(--red); }
.reported{ font-size:.8rem; color:var(--ink-faint); padding:6px 0; }
.reasons{ border:0; padding:0; margin:0; display:grid; gap:10px; }
.reasons legend{ font-weight:600; font-size:.86rem; margin-bottom:8px; }

/* --- alerts -------------------------------------------------------------------------------- */
.resbar-tools{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.alert-what{ background:var(--paper-dim); border:0; }
.alert-row{ display:flex; justify-content:space-between; align-items:center; gap:16px; padding:16px 20px; border-bottom:1px solid var(--line); flex-wrap:wrap; }
.alert-row:last-child{ border-bottom:0; }
.alert-row.paused .alert-name b{ color:var(--ink-faint); }
.alert-name{ display:flex; flex-direction:column; gap:2px; min-width:0; flex:1 1 280px; }
.alert-name .muted{ font-size:.84rem; }
.alert-act{ display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.alert-act select{ width:auto; min-height:36px; padding:6px 10px; font-size:.86rem; }

/* --- tip jar: the scoreboard from the home page, with the amounts as the score ----------------- */
.tipjar{ display:flex; justify-content:center; padding:12px 0 8px; }
.tip-board{ width:100%; max-width:560px; background:var(--navy-950); color:#fff; border-radius:16px; padding:32px 28px; box-shadow:var(--shadow); display:flex; flex-direction:column; gap:16px; }
.tip-board h1{ font-size:clamp(2.2rem,6vw,3rem); line-height:.95; color:#fff; }
.tip-lede{ margin:0; color:#c9d5df; max-width:46ch; }
.tip-amounts{ display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin-top:4px; }
.tip-amt{ background:none; border:1px solid rgba(255,255,255,.22); border-radius:10px; min-height:72px; color:var(--amber); font:800 2rem/1 'Big Shoulders Display',sans-serif; cursor:pointer; font-variant-numeric:tabular-nums; }
.tip-amt:hover{ border-color:var(--amber); }
.tip-amt[aria-pressed="true"]{ background:var(--amber); color:var(--navy-950); border-color:var(--amber); }
.tip-amt.tip-other{ font:600 1rem 'IBM Plex Sans',sans-serif; color:#fff; }
.tip-amt.tip-other[aria-pressed="true"]{ color:var(--navy-950); }
.tip-custom{ color:#fff; }
.tip-custom small{ color:#9fb2c1; }
.tip-go{ min-height:50px; font-size:1rem; }
.tip-fine{ margin:0; font-size:.84rem; color:#9fb2c1; }
.tip-board .btn-amber{ align-self:flex-start; }
.tip-board .tip-go{ align-self:stretch; }
@media (max-width:480px){ .tip-board{ padding:24px 18px; } .tip-amounts{ grid-template-columns:repeat(2,1fr); } }
.tipnudge{ display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; border:1px dashed var(--line-strong); border-radius:12px; padding:12px 16px; margin-bottom:20px; }
.tipnudge p{ margin:0; font-size:.92rem; color:var(--ink-soft); }

/* --- owner: reports and school search ------------------------------------------------------------ */
.rep{ display:flex; justify-content:space-between; gap:16px; padding:16px 20px; border-bottom:1px solid var(--line); flex-wrap:wrap; }
.rep:last-child{ border-bottom:0; }
.rep-main{ display:grid; gap:6px; font-size:.92rem; flex:1 1 360px; min-width:0; }
.rep-main .row{ display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.rep-main .quote{ margin:0; color:var(--ink-soft); white-space:pre-wrap; }
.rep-act{ display:flex; gap:8px; align-items:flex-start; flex-wrap:wrap; }
.hits{ display:flex; flex-direction:column; border:1px solid var(--line); border-radius:10px; }
.hit{ display:flex; justify-content:space-between; align-items:center; gap:12px; padding:10px 14px; border-bottom:1px solid var(--line); flex-wrap:wrap; font-size:.92rem; }
.hit:last-child{ border-bottom:0; }
.settings-sub{ font-family:'IBM Plex Sans',sans-serif; text-transform:none; letter-spacing:0; font-size:1rem; font-weight:700; margin-top:8px; }

/* --- ads: top banner, side column, home "Sponsored by" row ---------------------------------
   Quiet on purpose: white card, hairline border, a small "Sponsored" tag. Empty spots take no room. */
.adtopwrap{ margin-top:14px; }
.adtop:empty{ display:none; }
.adtop .ad{ max-width:728px; margin:0 auto; }
.ad{ position:relative; display:block; border:1px solid var(--line); border-radius:10px; overflow:hidden; background:var(--card); text-decoration:none; }
.ad img{ display:block; width:100%; height:auto; }
.adlabel{ position:absolute; top:6px; right:6px; z-index:1; font-size:.7rem; font-weight:600; padding:2px 7px; border-radius:5px;
  background:rgba(255,255,255,.92); color:var(--ink-soft); }
.ad-house{ padding:16px 14px 14px; font-size:.86rem; color:var(--ink-soft); text-align:center; border-style:dashed; border-color:var(--line-strong); }
.ad-house .adlabel{ position:static; display:block; margin:0 auto 6px; width:max-content; background:var(--amber-tint); color:var(--amber-ink); }
.ad-house strong{ color:var(--ink); font-weight:600; overflow-wrap:anywhere; }
.ad-house:hover{ border-color:var(--amber); }
.ad-adsense{ display:block; min-height:90px; text-align:center; }
.adside .ad-adsense{ min-height:250px; }

/* Side column: under the filters on Find games, beside the page on the signed-in pages. */
.leftcol{ display:flex; flex-direction:column; gap:20px; }
.leftcol .filters-col{ position:static; }
.adside{ display:flex; flex-direction:column; gap:14px; }
.adside:empty{ display:none; }
.withside{ display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:28px; align-items:start; }
.withside > .adside{ position:sticky; top:84px; }
.ad-inline{ display:none; margin:14px 0; }
@media (max-width:1060px){
  .withside{ grid-template-columns:minmax(0,1fr); }
  .withside > .adside{ position:static; max-width:336px; width:100%; margin:0 auto; }
}
@media (max-width:900px){
  .leftcol .adside{ display:none; }
  .ad-inline{ display:block; max-width:336px; }
}

/* Home page row of sponsor logos. */
.sponsors{ border-top:1px solid var(--line); margin-top:8px; padding:26px 0 30px; }
.sponsors:has(> div:empty){ display:none; }
.sponsorlabel{ display:block; text-align:center; font-size:.86rem; font-weight:600; color:var(--ink-soft); margin-bottom:14px; }
.sponsorrow{ display:flex; flex-wrap:wrap; justify-content:center; gap:14px; }
.sponsorrow .ad{ width:200px; }
.sponsorrow .adlabel{ display:none; }
@media (max-width:480px){ .sponsorrow .ad{ width:calc(50% - 7px); } }

/* Owner → Ads */
.adspot + .adspot, .adform{ border-top:1px solid var(--line); margin-top:18px; padding-top:6px; }
.adthumb{ display:block; width:70px; height:auto; border:1px solid var(--line); border-radius:4px; }
.adthumb-top{ width:140px; }

/* --- Owner page: Stats, Listings, People, Money (2026-10-22, the same layout as Coaching Openings) --- */
.otabs{ display:flex; gap:4px; margin:0 0 20px; border-bottom:1px solid var(--line); overflow-x:auto; scrollbar-width:none; }
.otabs::-webkit-scrollbar{ display:none; }
.otabs a{ flex:none; display:inline-flex; align-items:center; gap:6px; padding:10px 14px; min-height:44px; text-decoration:none; font-weight:600; font-size:.92rem; color:var(--ink-soft); border-bottom:3px solid transparent; margin-bottom:-1px; }
.otabs a:hover{ color:var(--ink); }
.otabs a[aria-current="page"]{ color:var(--ink); border-bottom-color:var(--amber); }
.obar{ display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; margin:0 0 14px; }
.onote{ font-size:.84rem; margin:0 0 14px; max-width:80ch; }
.osearch{ display:block; margin:0 0 12px; }
.segchips{ display:flex; flex-wrap:wrap; gap:7px; margin:0 0 12px; }
.segchip{ border:1px solid var(--line-strong); background:var(--card); border-radius:99px; padding:8px 14px; min-height:42px; font-weight:600; font-size:.86rem; color:var(--ink-soft); cursor:pointer; }
.segchip span{ font:500 .74rem 'IBM Plex Mono',monospace; color:var(--ink-faint); margin-left:3px; }
.segchip:hover{ color:var(--ink); border-color:var(--ink-faint); }
.segchip[aria-pressed="true"]{ background:var(--navy-950); border-color:var(--navy-950); color:#fff; }
.segchip[aria-pressed="true"] span{ color:rgba(255,255,255,.72); }
.ofilters{ display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:12px; align-items:end; margin:0 0 16px; }
.ofilters > *{ min-width:0; }
.ofold > summary{ cursor:pointer; font-weight:600; display:list-item; padding:10px 0; margin:0 0 4px; }
@media (min-width:561px){ .ofold > summary{ display:none; } }

.statgrid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:12px; margin:0 0 14px; }
.stat{ border:1px solid var(--line); border-radius:14px; padding:16px 16px 12px; background:var(--card); min-width:0; }
.stat h3{ font:600 .86rem 'IBM Plex Sans',system-ui,sans-serif; text-transform:none; letter-spacing:0; color:var(--ink-soft); }
.stat-num{ font-size:2.7rem; line-height:1; margin:8px 0; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.stat-cmp{ margin:0 0 12px; font-size:.8rem; color:var(--ink-soft); line-height:1.6; }
.money3 .stat-cmp{ margin:0; }
.delta{ font-weight:700; font-size:.76rem; padding:2px 7px; border-radius:6px; background:var(--paper-dim); color:var(--ink-soft); white-space:nowrap; }
.delta.up{ background:var(--teal-tint); color:var(--teal-ink); }
.delta.down{ background:var(--red-tint); color:var(--red); }
.minibars{ display:block; width:100%; height:56px; }
.minibars rect{ fill:#f0d3a6; }
.minibars rect.now{ fill:var(--amber); }
.stat-axis{ display:flex; justify-content:space-between; font-size:.72rem; color:var(--ink-faint); margin:4px 0 0; }
.statnums summary{ cursor:pointer; font-weight:600; padding:8px 0; min-height:44px; display:flex; align-items:center; }
.stattable{ min-width:760px; }
.stattable td,.stattable th{ white-space:nowrap; }

.olist{ display:grid; gap:12px; }
.olisting{ padding:16px 18px; display:grid; gap:10px; }
.olisting-top{ display:flex; justify-content:space-between; gap:12px; align-items:flex-start; }
.olisting h3{ font:700 1rem 'IBM Plex Sans',system-ui,sans-serif; text-transform:none; letter-spacing:0; }
.olisting .meta,.person .meta{ display:block; margin:2px 0 0; font-size:.86rem; color:var(--ink-soft); overflow-wrap:anywhere; }
.warn-text{ color:var(--red); }
.rowbtns{ display:flex; gap:8px; flex-wrap:wrap; }
.oedit{ border-top:1px solid var(--line); padding-top:14px; }
.pager{ display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; margin:16px 0 4px; font-size:.88rem; }
.pager-btns{ display:flex; gap:8px; }

.people{ list-style:none; margin:0; padding:0 20px; }
.person{ display:flex; justify-content:space-between; gap:12px; align-items:flex-start; flex-wrap:wrap; padding:14px 0; border-bottom:1px solid var(--line); }
.person:last-child{ border-bottom:0; }
.person-main{ flex:1 1 16rem; min-width:0; }
.person-main .pill{ margin-left:2px; }
.person a{ color:inherit; }
.person-act{ display:flex; gap:6px; flex-wrap:wrap; }

.osection{ margin:0 0 16px; }
.legend{ display:flex; gap:16px; font-size:.82rem; color:var(--ink-soft); margin:0; }
.legend i{ display:inline-block; width:11px; height:11px; border-radius:3px; margin-right:6px; vertical-align:-1px; }
.lg-tips,.mb-tips{ background:var(--navy-800); }
.lg-ads,.mb-ads{ background:var(--amber); }
.moneybars{ display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); gap:6px; margin:0 0 16px; }
.mb-stack{ height:150px; display:flex; flex-direction:column; justify-content:flex-end; border-bottom:1px solid var(--line-strong); }
.mb-ads{ border-radius:3px 3px 0 0; }
.mb-label{ display:block; text-align:center; font-size:.7rem; color:var(--ink-faint); margin-top:5px; }
.moneytable{ font-variant-numeric:tabular-nums; }
.moneytable th:not(:first-child),.moneytable td:not(:first-child){ text-align:right; }
.moneytable tfoot td{ font-weight:700; border-bottom:0; }
.paylist{ list-style:none; margin:12px 0 0; padding:0; }
.paylist li{ display:flex; align-items:baseline; gap:12px; padding:10px 0; border-bottom:1px solid var(--line); }
.paylist li:last-child{ border-bottom:0; }
.paywhen{ flex:none; width:5.6rem; font-size:.84rem; color:var(--ink-soft); }
.paywho{ flex:1 1 auto; min-width:0; overflow-wrap:anywhere; }
.paywho .meta{ display:block; font-size:.82rem; color:var(--ink-soft); }
.payamt{ flex:none; font-variant-numeric:tabular-nums; }
@media (max-width:560px){
  .statgrid{ grid-template-columns:1fr 1fr; gap:8px; }
  .stat{ padding:12px 12px 10px; }
  .stat:last-child:nth-child(odd){ grid-column:1 / -1; }
  .stat-num{ font-size:2.1rem; }
  .stat-cmp{ font-size:.74rem; }
  .stat-cmp > span:last-child{ display:block; margin-top:3px; }
  .money3{ grid-template-columns:1fr; }
  .olisting-top{ flex-direction:column-reverse; gap:6px; }
  .moneybars{ gap:3px; }
  .moneybars > div:nth-child(odd) .mb-label{ visibility:hidden; }
  .paylist li{ flex-wrap:wrap; }
  .paywhen{ width:auto; }
  .people{ padding:0 16px; }
  .ofilters{ grid-template-columns:1fr 1fr; }
}

/* --- public board (2026-10-23) --- */
.line h3 a{ color:inherit; text-decoration:none; }
.line h3 a:hover{ text-decoration:underline; text-underline-offset:3px; }
.pubnote{ font-size:.9rem; margin:16px 0 0; }
.sharebar{ display:flex; gap:12px; align-items:center; flex-wrap:wrap; margin-top:14px; font-size:.9rem; }

/* --- districts (2026-10-24) --- */
.orgpick{ border:0; padding:0; margin:0; display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.orgpick legend{ font-weight:600; font-size:.86rem; margin-bottom:6px; }
.orgpick .check{ align-items:flex-start; border:1px solid var(--line-strong); border-radius:10px; padding:12px; }
.orgpick .check:has(input:checked){ border-color:var(--navy-950); box-shadow:inset 0 0 0 1px var(--navy-950); }
.orgpick small{ color:var(--ink-soft); font-size:.8rem; }
.pickhits{ margin-top:8px; }
@media (max-width:420px){ .orgpick{ grid-template-columns:1fr; } }

/* --- contact and outside link on listings the owner posted for a school (2026-10-29) --- */
.contact-line{ margin:4px 0 0; font-size:.9rem; overflow-wrap:anywhere; }
.contact-line a{ text-decoration:underline; text-underline-offset:3px; }
.more-link{ display:inline-flex; align-items:center; gap:4px; font-size:.88rem; font-weight:600; text-decoration:underline; text-underline-offset:3px; min-height:32px; }
.more-link .i{ width:14px; height:14px; }

/* --- staff permissions (2026-10-29) --- */
.permgrid{ display:grid; grid-template-columns:1fr 1fr; gap:10px 18px; margin-top:10px; }
.permgrid fieldset{ border:0; padding:0; margin:0; display:grid; gap:6px; }
.permgrid legend{ font-size:.8rem; font-weight:600; color:var(--ink-soft); margin-bottom:4px; }
.permgrid .check{ font-size:.9rem; min-height:32px; }
#permBox .people{ padding:0; }
@media (max-width:560px){ .permgrid{ grid-template-columns:1fr; } }

/* --- Owner -> Queue (2026-11-18): openings waiting for approval. Each card reads like a schedule line, the
   first date big on the left; anything that couldn't be confirmed is marked in amber. ----------------------- */
.qsrc{ border:1px solid var(--line); border-radius:10px; padding:0 14px; margin-top:14px; }
.qsrc > summary{ cursor:pointer; font-weight:600; font-size:.92rem; padding:12px 0; }
.qsrc > summary small{ font-weight:400; color:var(--ink-faint); margin-left:4px; }
.qsrc > .grid{ padding:0 0 14px; }
.qitem{ display:grid; grid-template-columns:64px minmax(0,1fr); gap:16px; padding:16px 18px; }
.qdate{ text-align:center; border-right:1px solid var(--line); padding-right:14px; line-height:1; }
.qdate span{ display:block; font-size:.78rem; font-weight:600; color:var(--ink-soft); text-transform:uppercase; letter-spacing:.06em; margin-bottom:4px; }
.qdate b{ font-size:2.4rem; }
.qdate.miss b{ color:var(--amber-ink); }
.qmain{ display:grid; gap:10px; min-width:0; }
.qitem h3{ font:700 1rem 'IBM Plex Sans',system-ui,sans-serif; text-transform:none; letter-spacing:0; }
.qfields{ display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:6px 14px; margin:0; }
.qf{ padding:6px 8px; border-radius:6px; min-width:0; }
.qf dt{ font-size:.74rem; font-weight:600; color:var(--ink-faint); }
.qf dd{ margin:1px 0 0; font-size:.9rem; overflow-wrap:anywhere; }
.qf.miss{ background:var(--amber-tint); box-shadow:inset 3px 0 0 var(--amber); }
.qf.miss dt,.qcheck{ color:var(--amber-ink); }
.qcheck{ font-size:.76rem; font-weight:600; }
.qblank{ color:var(--ink-faint); font-style:italic; }
.qf.miss .qblank{ color:var(--amber-ink); }
.qmissing{ margin:0; font-size:.86rem; color:var(--amber-ink); }
.qmissing span{ display:inline-block; background:var(--amber-tint); border:1px solid var(--amber); border-radius:99px; padding:1px 9px; margin:2px 2px 0 0; font-size:.8rem; }
.qdup{ margin:0; padding:8px 12px; border-radius:8px; background:var(--red-tint); color:var(--red); font-size:.88rem; }
.qdup a{ color:inherit; font-weight:600; }
.pill.src{ background:var(--navy-950); color:#fff; margin-right:4px; }
.qfold > summary{ cursor:pointer; font-weight:600; font-size:.88rem; padding:4px 0; min-height:32px; }
.qfold blockquote{ margin:6px 0; padding:10px 14px; border-left:3px solid var(--line-strong); background:var(--paper-dim); white-space:pre-wrap; font-size:.9rem; overflow-wrap:anywhere; }
.qfold a{ display:inline-flex; align-items:center; gap:4px; font-size:.88rem; }
.qnotes{ margin:6px 0; white-space:pre-wrap; font-size:.9rem; color:var(--ink-soft); overflow-wrap:anywhere; }
@media (max-width:560px){
  .qitem{ grid-template-columns:1fr; gap:10px; padding:14px; }
  .qdate{ display:flex; align-items:baseline; gap:6px; text-align:left; border-right:0; border-bottom:1px solid var(--line); padding:0 0 8px; }
  .qdate span{ margin:0; }
  .qdate b{ font-size:1.6rem; }
  .qfields{ grid-template-columns:1fr 1fr; }
}
@media (max-width:560px){ .m-foot [data-via]{ order:3; flex-basis:100%; } }
