/* ==========================================================================
   Mountainside PAL Basketball
   Design tokens first — sample exact greens off the logo when it arrives.
   ========================================================================== */

:root {
  --pal-green:        #004818;   /* sampled from the PAL bulldog mark */
  --pal-green-dark:   #00300F;
  --pal-green-light:  #1C7A3B;
  --pal-green-pale:   #E6F0E9;
  --pal-white:        #FFFFFF;

  --ink:              #1A1A1A;
  --ink-soft:         #3D453F;
  --muted:            #5C6660;
  --surface:          #FFFFFF;
  --surface-alt:      #F4F7F4;
  --page:             #FFFFFF;
  --line:             #DDE3DE;

  --alert:            #C1272D;
  --alert-pale:       #FBE9EA;
  --warn:             #B26A00;

  --radius:    10px;
  --radius-lg: 16px;
  --shadow:    0 1px 2px rgba(18,53,32,.06), 0 4px 16px rgba(18,53,32,.08);
  --shadow-lg: 0 2px 4px rgba(18,53,32,.08), 0 12px 32px rgba(18,53,32,.14);

  --wrap: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --pal-green:      #4FB073;
    --pal-green-dark: #00250B;
    --pal-green-light:#77C994;
    --pal-green-pale: #12241A;
    --ink:            #ECF1EE;
    --ink-soft:       #C3CCC6;
    --muted:          #93A099;
    --surface:        #16211A;
    --surface-alt:    #101A14;
    --page:           #0C130F;
    --line:           #26332B;
    --alert:          #F07076;
    --alert-pale:     #2C1618;
    --shadow:         0 1px 2px rgba(0,0,0,.4), 0 4px 16px rgba(0,0,0,.4);
    --shadow-lg:      0 2px 4px rgba(0,0,0,.5), 0 12px 32px rgba(0,0,0,.5);
  }
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(1.9rem, 5vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3.2vw, 1.9rem); }
h3 { font-size: 1.15rem; }
p  { margin: 0 0 1em; }
a  { color: var(--pal-green); }
img { max-width: 100%; height: auto; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 48px 0; }
.section--alt { background: var(--surface-alt); }
.center { text-align: center; }
.lede { font-size: 1.1rem; color: var(--ink-soft); max-width: 62ch; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: .78rem;
  font-weight: 700; color: var(--pal-green); margin-bottom: .5em;
}

/* placeholder content awaiting real values from PAL */
.tbd {
  background: #FFF4CC; color: #7A5B00; border-radius: 4px;
  padding: 0 .35em; font-weight: 600; font-size: .95em;
  border: 1px dashed #D9B94A;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tbd {
    background: #2E2611; color: #E3C55F; border-color: #6A5720;
  }
}

/* ---------- header / nav ---------- */

.site-header {
  background: var(--pal-green-dark);
  color: #fff;
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 16px;
  min-height: 68px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  color: #fff; text-decoration: none; font-weight: 800;
  letter-spacing: -.01em; margin-right: auto;
}
.brand-logo { display: block; width: 46px; height: 46px; flex: 0 0 46px; }
.brand-logo img { width: 46px; height: 46px; object-fit: contain; display: block; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--pal-green); color: #fff;
  display: none; place-items: center;
  font-size: .82rem; font-weight: 800; letter-spacing: .04em;
  border: 2px solid rgba(255,255,255,.55);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font-size: 1.02rem; }
.brand-text span { font-size: .74rem; font-weight: 600; opacity: .8; letter-spacing: .06em; text-transform: uppercase; }

.nav-toggle {
  display: none; background: none; border: 1px solid rgba(255,255,255,.35);
  color: #fff; border-radius: 8px; padding: 8px 12px; font-size: 1rem;
  cursor: pointer;
}
.site-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.site-nav a {
  color: rgba(255,255,255,.86); text-decoration: none;
  padding: 8px 12px; border-radius: 8px;
  font-size: .93rem; font-weight: 600; white-space: nowrap;
}
.site-nav a:hover { background: rgba(255,255,255,.12); color: #fff; }
.site-nav a[aria-current="page"] { background: var(--pal-green); color: #fff; }
.site-nav a.soon { opacity: .5; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--pal-green-dark); flex-direction: column; gap: 0;
    padding: 8px 20px 16px; border-top: 1px solid rgba(255,255,255,.12);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 8px; border-radius: 6px; }
}

/* ---------- alert banner ---------- */

.alert-banner {
  background: var(--alert); color: #fff;
  padding: 12px 0; font-weight: 600; text-align: center;
}
.alert-banner a { color: #fff; text-decoration: underline; }
.alert-banner--info { background: var(--pal-green-light); }

/* ---------- hero ---------- */

.hero {
  background:
    linear-gradient(160deg, var(--pal-green-dark), var(--pal-green) 70%, var(--pal-green-light));
  color: #fff; padding: 56px 0 64px; text-align: center;
}
.hero h1 { color: #fff; margin-bottom: .3em; }
.hero p { color: rgba(255,255,255,.9); font-size: 1.12rem; max-width: 56ch; margin: 0 auto 1.6em; }
.hero .grades {
  display: inline-block; background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.3); border-radius: 999px;
  padding: 5px 16px; font-weight: 700; font-size: .9rem;
  letter-spacing: .04em; margin-bottom: 1.1em;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: var(--radius);
  font-weight: 700; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--pal-green); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--pal-green-light); box-shadow: var(--shadow-lg); }
.btn--ghost { background: transparent; color: var(--pal-green); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--pal-green); background: var(--pal-green-pale); }
.btn--onhero { background: #fff; color: var(--pal-green-dark); }
.btn--onhero:hover { background: #fff; box-shadow: var(--shadow-lg); }
.btn--lg { padding: 16px 30px; font-size: 1.06rem; }

/* three big home buttons */
.big-actions {
  display: grid; gap: 14px; max-width: 720px; margin: 0 auto;
  grid-template-columns: repeat(3, 1fr);
}
.big-action {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: #fff; color: var(--pal-green-dark);
  padding: 22px 14px; border-radius: var(--radius-lg);
  text-decoration: none; font-weight: 800; font-size: 1.05rem;
  box-shadow: var(--shadow); transition: transform .12s ease, box-shadow .12s ease;
}
.big-action:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.big-action .ico { font-size: 1.7rem; line-height: 1; }
.big-action small { font-weight: 600; font-size: .8rem; color: var(--muted); }
@media (max-width: 560px) { .big-actions { grid-template-columns: 1fr; } }

/* ---------- cards & grids ---------- */

.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 22px;
}
.card h3 { margin-top: 0; color: var(--pal-green); }
.card--accent { border-left: 4px solid var(--pal-green); }

.fact-list { list-style: none; margin: 0; padding: 0; }
.fact-list li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 11px 0; border-bottom: 1px solid var(--line);
}
.fact-list li:last-child { border-bottom: 0; }
.fact-list dt, .fact-list .k { font-weight: 700; color: var(--ink); }
.fact-list .v { color: var(--ink-soft); text-align: right; }

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { padding: 7px 0 7px 30px; position: relative; }
.checklist li::before {
  content: "\2713"; position: absolute; left: 0; top: 7px;
  color: var(--pal-green); font-weight: 800;
}

/* ---------- FAQ ---------- */

.faq details {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0 18px; margin-bottom: 10px; background: var(--surface);
}
.faq summary {
  cursor: pointer; font-weight: 700; padding: 15px 0;
  list-style: none; display: flex; justify-content: space-between; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "\002B"; color: var(--pal-green); font-weight: 800; font-size: 1.25rem; }
.faq details[open] summary::after { content: "\2212"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq details > *:not(summary) { padding-top: 12px; }
.faq details p:last-child { padding-bottom: 16px; margin-bottom: 0; }

/* ---------- misc ---------- */

.notice {
  background: var(--pal-green-pale); border-left: 4px solid var(--pal-green);
  border-radius: var(--radius); padding: 16px 18px; margin: 22px 0;
}
.notice p:last-child { margin-bottom: 0; }

.stub {
  text-align: center; padding: 80px 20px; max-width: 560px; margin: 0 auto;
}
.stub .ico { font-size: 3rem; }

.hidden { display: none !important; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--pal-green-dark); color: rgba(255,255,255,.78);
  padding: 36px 0 28px; margin-top: 56px; font-size: .9rem;
}
.site-footer a { color: #fff; }
.site-footer .foot-grid {
  display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 24px;
}
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 3px 0; }
.site-footer .foot-bottom {
  border-top: 1px solid rgba(255,255,255,.15); padding-top: 18px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: .82rem; opacity: .75;
}

/* footer contacts */
.site-footer .foot-contact { margin-bottom: 14px; line-height: 1.5; }
.site-footer .foot-contact:last-child { margin-bottom: 0; }
.site-footer .foot-contact .role { opacity: .7; font-size: .85em; }

/* ==========================================================================
   Phase 2 — schedule, admin, forms
   ========================================================================== */

/* ---- setup / gate notices ---- */
.setup-notice {
  max-width: 640px; margin: 40px auto; text-align: left;
  border: 1px solid var(--line); border-left: 4px solid var(--warn);
  border-radius: var(--radius-lg); padding: 22px 24px; background: var(--surface);
}
.setup-notice h3 { color: var(--warn); margin-top: 0; }
.setup-notice code {
  background: var(--surface-alt); padding: 1px 5px; border-radius: 4px;
  font-size: .9em; border: 1px solid var(--line);
}
.setup-notice ol { padding-left: 20px; }
.setup-notice li { margin-bottom: 6px; }

.auth-gate { max-width: 460px; margin: 60px auto; text-align: center; }

/* ---- forms ---- */
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.field > label { font-weight: 700; font-size: .85rem; color: var(--ink-soft); }
.field .hint { font-size: .78rem; color: var(--muted); }

input[type="text"], input[type="date"], input[type="time"], input[type="number"],
input[type="email"], select, textarea {
  font: inherit; font-size: .95rem; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 9px 11px; width: 100%;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--pal-green);
  box-shadow: 0 0 0 3px var(--pal-green-pale);
}
textarea { min-height: 120px; resize: vertical; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .86rem; }
.form-grid { display: grid; gap: 0 14px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.check { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; }
.check input { width: auto; }

.btn--sm { padding: 7px 13px; font-size: .85rem; border-radius: 8px; }
.btn--danger { background: var(--alert); color: #fff; }
.btn--danger:hover { background: #A61F25; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ---- messages ---- */
.msg { border-radius: var(--radius); padding: 11px 14px; margin: 14px 0; font-size: .92rem; }
.msg--ok   { background: var(--pal-green-pale); border-left: 4px solid var(--pal-green); }
.msg--err  { background: var(--alert-pale);     border-left: 4px solid var(--alert); }
.msg--warn { background: #FFF4CC;               border-left: 4px solid var(--warn); color: #6B4E00; }

/* ---- admin chrome ---- */
.admin-bar {
  background: var(--surface-alt); border-bottom: 1px solid var(--line);
  padding: 10px 0; font-size: .88rem;
}
.admin-bar .wrap { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.admin-bar .who { margin-right: auto; color: var(--muted); }
.admin-bar a { font-weight: 600; text-decoration: none; padding: 5px 10px; border-radius: 7px; }
.admin-bar a:hover { background: var(--pal-green-pale); }
.admin-bar a[aria-current="page"] { background: var(--pal-green); color: #fff; }

/* ---- filter toolbar ---- */
.toolbar {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end;
  background: var(--surface-alt); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 14px 16px; margin-bottom: 22px;
}
.toolbar .field { margin-bottom: 0; min-width: 150px; flex: 1 1 150px; }
.toolbar .spacer { flex: 1 1 auto; }
.viewtoggle { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.viewtoggle button {
  font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer;
  background: var(--surface); color: var(--ink-soft); border: 0; padding: 9px 16px;
}
.viewtoggle button[aria-pressed="true"] { background: var(--pal-green); color: #fff; }

/* ---- badges ---- */
.badge {
  display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; padding: 3px 8px; border-radius: 999px;
  background: var(--surface-alt); color: var(--ink-soft); border: 1px solid var(--line);
  white-space: nowrap;
}
.badge--game       { background: var(--pal-green);    color: #fff; border-color: transparent; }
.badge--practice   { background: var(--pal-green-pale); color: var(--pal-green); border-color: transparent; }
.badge--tryout     { background: #EAF0FA; color: #2C5AA0; border-color: transparent; }
.badge--tournament { background: #F5E9FB; color: #7A3E9D; border-color: transparent; }
.badge--deadline   { background: #FFF4CC; color: #7A5B00; border-color: transparent; }
.badge--cancelled  { background: var(--alert); color: #fff; border-color: transparent; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .badge--tryout     { background: #17233A; color: #8FB4E8; }
  :root:not([data-theme="light"]) .badge--tournament { background: #2A1B33; color: #C79AE0; }
  :root:not([data-theme="light"]) .badge--deadline   { background: #2E2611; color: #E3C55F; }
}

/* ---- event list ---- */
.daygroup { margin-bottom: 26px; }
.daygroup h3 {
  font-size: .82rem; text-transform: uppercase; letter-spacing: .09em;
  color: var(--muted); border-bottom: 1px solid var(--line);
  padding-bottom: 7px; margin-bottom: 0;
}
.event {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 14px; align-items: center;
  padding: 14px 4px; border-bottom: 1px solid var(--line);
}
.event:last-child { border-bottom: 0; }
.event .when { font-weight: 800; color: var(--pal-green); font-size: .95rem; }
.event .what { min-width: 0; }
.event .title { font-weight: 700; }
.event .meta { color: var(--muted); font-size: .87rem; }
.event .meta a { color: var(--muted); }
.event .side { text-align: right; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.event--cancelled .title, .event--cancelled .when { text-decoration: line-through; opacity: .6; }
@media (max-width: 620px) {
  .event { grid-template-columns: 1fr; gap: 5px; }
  .event .side { justify-content: flex-start; text-align: left; }
}

.empty { text-align: center; padding: 50px 20px; color: var(--muted); }

/* ---- month calendar ---- */
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.cal-head h3 { margin: 0; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cal .dow { background: var(--surface-alt); padding: 8px 4px; text-align: center; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cal .day { background: var(--surface); min-height: 92px; padding: 6px; font-size: .8rem; }
.cal .day.out { background: var(--surface-alt); opacity: .5; }
.cal .day.today .daynum { background: var(--pal-green); color: #fff; border-radius: 50%; }
.cal .daynum { display: inline-grid; place-items: center; width: 22px; height: 22px; font-weight: 700; margin-bottom: 3px; }
.cal .ev {
  display: block; border-left: 3px solid var(--pal-green); padding: 2px 4px; margin-bottom: 2px;
  background: var(--surface-alt); border-radius: 3px; font-size: .72rem; line-height: 1.25;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: default;
}
.cal .ev.practice   { border-left-color: var(--pal-green-light); }
.cal .ev.tryout     { border-left-color: #2C5AA0; }
.cal .ev.tournament { border-left-color: #7A3E9D; }
.cal .ev.deadline   { border-left-color: var(--warn); }
.cal .ev.cancelled  { text-decoration: line-through; opacity: .55; }
@media (max-width: 700px) { .cal .day { min-height: 62px; } .cal .ev { font-size: .62rem; } }

/* ---- data table (import preview) ---- */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.data { border-collapse: collapse; width: 100%; font-size: .88rem; }
table.data th, table.data td { padding: 8px 11px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data th { background: var(--surface-alt); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
table.data tr:last-child td { border-bottom: 0; }
table.data tr.bad { background: var(--alert-pale) !important; }
table.data tr.bad td { background: transparent !important; }

/* ---- team cards & team page ---- */
.teamcard {
  display: block; text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 24px 22px;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.teamcard:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--pal-green); }
.teamcard .grade {
  font-size: 2.1rem; font-weight: 800; color: var(--pal-green);
  line-height: 1; letter-spacing: -.03em;
}
.teamcard .name { font-weight: 700; margin: 6px 0 2px; }
.teamcard .sub { color: var(--muted); font-size: .87rem; }

.team-hero { background: var(--pal-green-dark); color: #fff; padding: 34px 0 38px; }
.team-hero h1 { color: #fff; margin-bottom: .15em; }
.team-hero .sub { color: rgba(255,255,255,.82); margin: 0; }
.team-switch { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 18px; }
.team-switch a {
  color: rgba(255,255,255,.85); text-decoration: none; font-weight: 700; font-size: .85rem;
  padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3);
}
.team-switch a:hover { background: rgba(255,255,255,.14); color: #fff; }
.team-switch a[aria-current="page"] { background: #fff; color: var(--pal-green-dark); border-color: #fff; }

.coachcard { display: flex; gap: 14px; align-items: flex-start; }
.coachcard .avatar {
  width: 52px; height: 52px; flex: 0 0 52px; border-radius: 50%;
  background: var(--pal-green-pale); color: var(--pal-green);
  display: grid; place-items: center; font-weight: 800; font-size: 1.05rem;
}
.coachcard .role { color: var(--muted); font-size: .85rem; }

.roster { list-style: none; margin: 0; padding: 0; }
.roster li {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid var(--line);
}
.roster li:last-child { border-bottom: 0; }
.roster .num {
  min-width: 30px; height: 30px; border-radius: 7px;
  background: var(--pal-green-pale); color: var(--pal-green);
  display: grid; place-items: center; font-weight: 800; font-size: .82rem;
}

.locked {
  text-align: center; padding: 34px 20px;
  border: 1px dashed var(--line); border-radius: var(--radius-lg);
  background: var(--surface-alt);
}
.locked .ico { font-size: 1.9rem; }

/* ---- announcements ---- */
.ann {
  border: 1px solid var(--line); border-left: 4px solid var(--pal-green);
  border-radius: var(--radius-lg); padding: 20px 22px; margin-bottom: 14px;
  background: var(--surface);
}
.ann--urgent { border-left-color: var(--alert); }
.ann .head { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; margin-bottom: 6px; }
.ann h3 { margin: 0; }
.ann .date { color: var(--muted); font-size: .84rem; margin-left: auto; }
.ann p:last-child { margin-bottom: 0; }

/* ---- header auth chip ---- */
.auth-chip {
  color: rgba(255,255,255,.9); text-decoration: none;
  font-size: .85rem; font-weight: 700; white-space: nowrap;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  margin-left: 6px;
}
.auth-chip:hover { background: rgba(255,255,255,.14); color: #fff; }
.auth-chip.in { background: rgba(255,255,255,.16); border-color: transparent; }
.auth-chip.in::before { content: "\25CF"; color: #7BE8A0; font-size: .6em; margin-right: 6px; vertical-align: middle; }
@media (max-width: 860px) { .auth-chip { order: -1; margin-left: 0; } }

/* ---- home page live sections ---- */
.upnext { display: grid; gap: 10px; }
.upnext .row {
  display: grid; grid-template-columns: 62px 1fr auto; gap: 14px; align-items: center;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 13px 16px;
}
.upnext .d { text-align: center; line-height: 1.1; }
.upnext .d .mo { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 800; }
.upnext .d .dy { font-size: 1.3rem; font-weight: 800; color: var(--pal-green); }
.upnext .row.cancelled .t { text-decoration: line-through; opacity: .6; }
.upnext .t { font-weight: 700; }
.upnext .m { color: var(--muted); font-size: .85rem; }
@media (max-width: 560px) {
  .upnext .row { grid-template-columns: 52px 1fr; }
  .upnext .row .side { grid-column: 2; }
}
