/* ── Kickoff! — World Cup 2026 ──────────────────────────────────── */
:root {
  --cream: #FDF8EE;
  --cream-2: #F7EFDD;
  --card: #FFFFFF;
  --ink: #2E2A23;
  --ink-soft: #7A7264;
  --line: #EDE3CC;
  --green: #2F7D4F;
  --green-soft: #E3F1E7;
  --sun: #F6C445;
  --sun-soft: #FCF0CF;
  --coral: #F0685C;
  --coral-soft: #FDE4E1;
  --sky: #4D9DD8;
  --sky-soft: #E2F0FA;
  --gold: #D9A514;
  --radius: 18px;
  --shadow: 0 2px 10px rgba(96, 78, 40, .08);
  --shadow-lift: 0 8px 24px rgba(96, 78, 40, .14);
  --sidebar-w: 280px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  background:
    radial-gradient(1200px 500px at 110% -10%, var(--sun-soft) 0%, transparent 60%),
    radial-gradient(900px 500px at -10% 110%, var(--green-soft) 0%, transparent 55%),
    var(--cream);
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.45;
}
h1, h2, h3, .display { font-family: "EB Garamond", Georgia, serif; }
button { font-family: inherit; cursor: pointer; }
.hidden { display: none !important; }

/* ── Sidebar (desktop nav) ─────────────────────────────────────── */
.sidebar {
  position: fixed; inset: 0 auto 0 0; width: var(--sidebar-w);
  padding: 28px 20px 20px;
  display: flex; flex-direction: column; gap: 26px;
  border-right: 1px solid var(--line);
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(6px);
  z-index: 500;
}
.brand { display: flex; gap: 12px; align-items: center; }
.brand-ball {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--sun-soft); border: 2px solid var(--sun);
  display: grid; place-items: center; font-size: 24px;
  box-shadow: var(--shadow);
}
.brand h1 { margin: 0; font-size: 28px; font-weight: 700; font-style: italic; letter-spacing: .3px; }
.tagline { margin: 1px 0 0; font-size: 11.5px; color: var(--ink-soft); }

.main-nav { display: flex; flex-direction: column; gap: 6px; }
.nav-btn {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 14px; border-radius: 13px;
  border: none; background: transparent;
  font-size: 14.5px; font-weight: 600; color: var(--ink-soft);
  text-align: left; transition: background .15s, color .15s, transform .1s;
}
.nav-btn:hover { background: var(--cream-2); color: var(--ink); }
.nav-btn.active {
  background: var(--green); color: #fff;
  box-shadow: 0 4px 12px rgba(47,125,79,.3);
}
.nav-ico { font-size: 17px; }

.sidebar-city { margin-top: auto; }
.picker-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.city-btn {
  width: 100%; margin-top: 7px;
  display: flex; align-items: center; gap: 7px;
  padding: 11px 14px; border-radius: 13px;
  border: 1.5px solid var(--line); background: var(--card);
  font-size: 14px; font-weight: 600; color: var(--ink);
  box-shadow: var(--shadow); transition: border-color .15s;
}
.city-btn:hover { border-color: var(--sun); }
.city-btn .chev { margin-left: auto; color: var(--ink-soft); }
.city-now { margin: 8px 2px 0; font-size: 12px; color: var(--ink-soft); }

.sidebar-foot { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--ink-soft); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #C9BFA9; flex: none; }
.live-dot.on { background: var(--green); box-shadow: 0 0 0 3px rgba(47,125,79,.18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(47,125,79,.06); } }

/* ── Mobile header + bottom nav ────────────────────────────────── */
.mobile-header { display: none; }
.bottom-nav { display: none; }

/* ── Main column ───────────────────────────────────────────────── */
.main {
  margin-left: var(--sidebar-w);
  padding: 26px 30px 60px;
  max-width: 1180px;
}
.view-blurb { margin: 0 0 16px; font-size: 14.5px; color: var(--ink-soft); max-width: 640px; }
.rank-hint { font-size: 12.5px; background: var(--sun-soft); border-radius: 99px; padding: 2px 9px; white-space: nowrap; }

/* ── Team filter (chips — deliberately lighter than the nav) ───── */
.filter-bar {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 13px 16px; margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.filter-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.filter-title { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.filter-picked { display: flex; gap: 5px; flex-wrap: wrap; }
.filter-picked .mini-flag { width: 24px; height: 18px; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,.18); }
.filter-toggle, .filter-clear {
  border: 1.5px dashed var(--line); background: transparent;
  border-radius: 99px; padding: 5px 13px; font-size: 12.5px; font-weight: 600;
  color: var(--ink-soft); margin-left: auto;
}
.filter-clear { margin-left: 0; border-style: solid; color: var(--coral); border-color: var(--coral-soft); }
.team-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 7px; margin-top: 13px; padding-top: 13px; border-top: 1px dashed var(--line);
}
.team-chip {
  display: flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--line); border-radius: 99px;
  padding: 6px 11px; background: var(--cream);
  font-size: 12.5px; font-weight: 600; color: var(--ink);
  transition: all .12s;
}
.team-chip:hover { border-color: var(--green); }
.team-chip.on { background: var(--green-soft); border-color: var(--green); }
.team-chip img { width: 22px; height: 16.5px; border-radius: 3px; box-shadow: 0 1px 2px rgba(0,0,0,.15); flex: none; }
.team-chip .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* rank badge */
.rank {
  font-size: 10px; font-weight: 700; color: var(--ink-soft);
  background: var(--cream-2); border-radius: 99px; padding: 1.5px 6px;
  margin-left: auto; flex: none; letter-spacing: .02em;
}
.rank.r1 { background: var(--gold); color: #fff; }
.rank.r2 { background: #B9BdC6; color: #fff; }
.rank.r3 { background: #C98D5E; color: #fff; }
.rank.top10 { background: var(--sun-soft); color: #9A7710; }

/* ── Quick chips ───────────────────────────────────────────────── */
.quick-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chip {
  border: 1.5px solid var(--line); background: var(--card);
  border-radius: 99px; padding: 7px 16px;
  font-size: 13px; font-weight: 600; color: var(--ink-soft);
  transition: all .12s;
}
.chip:hover { border-color: var(--sun); color: var(--ink); }
.chip.active { background: var(--sun); border-color: var(--sun); color: var(--ink); box-shadow: 0 3px 10px rgba(246,196,69,.4); }

/* ── Next up banner ────────────────────────────────────────────── */
.next-up { margin-bottom: 18px; }
.next-up-card {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: linear-gradient(100deg, var(--green) 0%, #3E9663 100%);
  color: #fff; border-radius: var(--radius); padding: 14px 20px;
  box-shadow: 0 6px 18px rgba(47,125,79,.3);
}
.next-up-card .nu-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.next-up-card .nu-teams { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; }
.next-up-card img { width: 26px; height: 19.5px; border-radius: 3px; }
.next-up-card .nu-when { margin-left: auto; text-align: right; font-size: 13px; opacity: .95; }
.next-up-card .nu-count { font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ── Calendar ──────────────────────────────────────────────────── */
.cal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.cal-months { display: flex; flex-direction: column; gap: 22px; }
.cal-month {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 16px 14px; box-shadow: var(--shadow);
}
.cal-month h3 { margin: 0 0 12px 4px; font-size: 21px; font-weight: 700; font-style: italic; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal-dow { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); text-align: center; padding-bottom: 4px; }
.cal-day {
  min-height: 64px; border-radius: 11px; padding: 5px 6px;
  border: 1.5px solid transparent; background: var(--cream);
  display: flex; flex-direction: column; gap: 3px; align-items: stretch;
  font-size: 11px; position: relative; cursor: default;
}
.cal-day.empty { background: transparent; }
.cal-day .dnum { font-size: 11px; font-weight: 700; color: var(--ink-soft); }
.cal-day.has-m { background: #fff; border-color: var(--line); cursor: pointer; transition: all .12s; }
.cal-day.has-m:hover { border-color: var(--sun); transform: translateY(-1px); box-shadow: var(--shadow); }
.cal-day.selected { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.cal-day.today .dnum { color: #fff; background: var(--coral); border-radius: 99px; padding: 0 6px; align-self: flex-start; }
.cal-day.dim { opacity: .35; }
.cal-pair { display: flex; align-items: center; gap: 2.5px; }
.cal-pair img { width: 15px; height: 11px; border-radius: 2px; box-shadow: 0 .5px 1.5px rgba(0,0,0,.2); }
.cal-pair .vs { font-size: 8.5px; color: var(--ink-soft); }
.cal-more { font-size: 9.5px; font-weight: 700; color: var(--green); }
.cal-day .knock-dot { font-size: 9.5px; font-weight: 700; color: var(--sky); }

/* detail panel */
.cal-detail { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 12px; }
.detail-date {
  font-family: "EB Garamond", serif; font-style: italic;
  font-size: 22px; font-weight: 700; margin: 2px 2px 0;
}
.detail-sub { font-size: 12.5px; color: var(--ink-soft); margin: -6px 2px 2px; }
.no-match {
  background: var(--card); border: 1.5px dashed var(--line); border-radius: var(--radius);
  padding: 26px 20px; text-align: center; color: var(--ink-soft); font-size: 14px;
}

/* ── Match card ────────────────────────────────────────────────── */
.match-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 13px 15px;
  box-shadow: var(--shadow); transition: box-shadow .15s, transform .15s;
}
.match-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-1px); }
.mc-top { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.stage-tag {
  font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  border-radius: 99px; padding: 2.5px 9px;
  background: var(--green-soft); color: var(--green);
}
.stage-tag.knockout { background: var(--sky-soft); color: #2C76AC; }
.stage-tag.final-tag { background: var(--sun); color: var(--ink); }
.mc-live {
  font-size: 10.5px; font-weight: 700; color: var(--coral);
  display: flex; align-items: center; gap: 4px;
}
.mc-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); animation: pulse 1.4s infinite; }
.mc-time { margin-left: auto; text-align: right; }
.mc-time .t { font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.mc-time .moon { font-size: 12px; }
.mc-time .d { display: block; font-size: 10.5px; color: var(--ink-soft); }
.mc-teams { display: flex; flex-direction: column; gap: 6px; }
.mc-team { display: flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 600; }
.mc-team img { width: 27px; height: 20px; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,.18); flex: none; }
.mc-team .ph-flag {
  width: 27px; height: 20px; border-radius: 4px; background: var(--cream-2);
  display: grid; place-items: center; font-size: 9px; font-weight: 700; color: var(--ink-soft); flex: none;
  border: 1px dashed var(--line);
}
.mc-team .score { margin-left: auto; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.mc-team.winner .score, .mc-team.winner .nm { color: var(--green); }
.mc-venue { margin-top: 9px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 12px; color: var(--ink-soft); }

/* ── Maps ──────────────────────────────────────────────────────── */
.map-wrap {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  background: var(--card);
}
#bigMap { height: 560px; }
#roadMap { height: 430px; }
#baliMap { height: 380px; }
.leaflet-container { font-family: "DM Sans", sans-serif; background: #DDEAF3; }
.city-marker {
  background: var(--card); border: 2px solid var(--green);
  border-radius: 99px; padding: 3px 10px 3px 8px;
  font-size: 11.5px; font-weight: 700; color: var(--ink);
  box-shadow: 0 3px 8px rgba(0,0,0,.18); white-space: nowrap;
  display: flex; align-items: center; gap: 5px; width: max-content !important;
}
.city-marker .cnt {
  background: var(--green); color: #fff; border-radius: 99px;
  font-size: 10px; padding: 0 5.5px;
}
.city-marker.muted { border-color: #C9BFA9; opacity: .65; }
.city-marker.muted .cnt { background: #C9BFA9; }
.road-stop {
  width: 30px !important; height: 30px !important; border-radius: 50%;
  background: var(--coral); color: #fff; border: 2.5px solid #fff;
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
  box-shadow: 0 3px 8px rgba(0,0,0,.25);
}
.road-stop.trophy { background: var(--gold); font-size: 15px; }
.bali-pin {
  width: 30px !important; height: 30px !important; border-radius: 50% 50% 50% 4px;
  background: var(--coral); border: 2.5px solid #fff;
  display: grid; place-items: center; font-size: 14px;
  box-shadow: 0 3px 8px rgba(0,0,0,.25); transform: rotate(0deg);
}
.leaflet-popup-content-wrapper { border-radius: 14px; box-shadow: var(--shadow-lift); }
.leaflet-popup-content { margin: 13px 16px; }
.pop-city { font-weight: 700; font-size: 14px; margin-bottom: 2px; }
.pop-stadium { font-size: 11.5px; color: var(--ink-soft); margin-bottom: 9px; }
.pop-match { display: flex; align-items: center; gap: 6px; font-size: 12px; padding: 4px 0; border-top: 1px dashed var(--line); }
.pop-match img { width: 18px; height: 13.5px; border-radius: 2px; }
.pop-match .pm-when { margin-left: auto; color: var(--ink-soft); font-size: 11px; white-space: nowrap; padding-left: 8px; }
.pop-more { font-size: 11px; color: var(--green); font-weight: 700; padding-top: 5px; }

/* ── Road to the final ─────────────────────────────────────────── */
.road-picker { margin-bottom: 16px; }
.road-select-wrap { display: flex; gap: 10px; align-items: center; }
.road-select {
  font-family: inherit; font-size: 15px; font-weight: 600;
  padding: 11px 14px; border-radius: 13px;
  border: 1.5px solid var(--line); background: var(--card); color: var(--ink);
  box-shadow: var(--shadow); min-width: 260px; max-width: 100%;
}
.road-timeline { margin-top: 20px; display: flex; flex-direction: column; gap: 0; }
.road-note { font-size: 12.5px; color: var(--ink-soft); margin: 12px 2px; }
.road-step { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 14px; }
.road-step .rs-rail { display: flex; flex-direction: column; align-items: center; }
.rs-dot {
  width: 32px; height: 32px; border-radius: 50%; flex: none;
  background: var(--coral); color: #fff; display: grid; place-items: center;
  font-size: 13.5px; font-weight: 700; border: 2.5px solid #fff;
  box-shadow: 0 2px 7px rgba(0,0,0,.2);
}
.rs-dot.trophy { background: var(--gold); font-size: 16px; }
.rs-dot.done { background: var(--green); }
.rs-line { width: 3px; flex: 1; background: var(--line); border-radius: 2px; margin: 4px 0; min-height: 18px; }
.road-step .match-card { margin-bottom: 14px; }
.proj { font-size: 10.5px; font-weight: 700; color: var(--sky); background: var(--sky-soft); border-radius: 99px; padding: 2px 8px; }

/* ── Groups ────────────────────────────────────────────────────── */
.groups-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; }
.group-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow);
}
.group-card h3 { margin: 0 0 10px; font-size: 19px; font-style: italic; }
.group-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.group-table th { font-size: 10px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); font-weight: 700; text-align: center; padding: 3px 2px; }
.group-table th:first-child { text-align: left; }
.group-table td { padding: 6px 2px; text-align: center; border-top: 1px dashed var(--line); font-variant-numeric: tabular-nums; }
.group-table td.gt-team { text-align: left; }
.gt-team { display: flex; align-items: center; gap: 7px; font-weight: 600; }
.gt-team img { width: 21px; height: 15.5px; border-radius: 3px; box-shadow: 0 1px 2px rgba(0,0,0,.15); }
.group-table tr.q1 td { background: var(--green-soft); }
.group-table tr.q1 td:first-child { border-radius: 8px 0 0 8px; }
.group-table tr.q1 td:last-child { border-radius: 0 8px 8px 0; }
.group-table tr.q3 td { background: var(--sun-soft); }
.group-table tr.q3 td:first-child { border-radius: 8px 0 0 8px; }
.group-table tr.q3 td:last-child { border-radius: 0 8px 8px 0; }
.group-table td.pos { width: 26px; padding-right: 4px; }
.pos-dot {
  display: inline-grid; place-items: center;
  width: 20px; height: 20px; border-radius: 50%;
  font-size: 11px; font-weight: 700; color: #fff;
  background: var(--green); box-shadow: 0 1px 3px rgba(0,0,0,.15);
}
.pos-dot.p3 { background: var(--sun); color: var(--ink); }
.pos-dot.p4 { background: transparent; color: var(--ink-soft); box-shadow: inset 0 0 0 1.5px var(--line); }
.groups-legend {
  display: flex; gap: 18px; flex-wrap: wrap;
  margin: -4px 0 16px; font-size: 12.5px; color: var(--ink-soft);
}
.groups-legend .leg { display: inline-flex; align-items: center; gap: 5px; }
.group-table .pts { font-weight: 700; }

/* ── Bali ──────────────────────────────────────────────────────── */
.bali-hero {
  background: linear-gradient(110deg, #FFF7E0, #FFEFEA);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 24px; margin-bottom: 18px; box-shadow: var(--shadow);
}
.bali-hero h2 { margin: 0 0 6px; font-size: 26px; font-style: italic; }
.bali-hero p { margin: 0; font-size: 14px; color: var(--ink-soft); max-width: 620px; }
.badge { font-size: 10.5px; font-weight: 700; border-radius: 99px; padding: 2px 8px; }
.badge-247 { background: var(--coral); color: #fff; }
.badge-early { background: var(--sun); color: var(--ink); }
.bali-tonight { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.bt-pill {
  background: #fff; border: 1px solid var(--line); border-radius: 99px;
  font-size: 12px; font-weight: 600; padding: 5px 12px;
  display: flex; align-items: center; gap: 6px;
}
.bt-pill img { width: 18px; height: 13.5px; border-radius: 2px; }
.bt-pill .t { color: var(--green); font-weight: 700; }
.bali-cards { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.bali-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 7px;
  transition: box-shadow .15s, transform .15s;
}
.bali-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.bali-card h3 { margin: 0; font-size: 18px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bc-area { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--coral); }
.bc-vibe { font-size: 13px; color: var(--ink-soft); margin: 0; }
.bc-meta { font-size: 12px; color: var(--ink-soft); display: flex; flex-direction: column; gap: 3px; }
.bc-meta strong { color: var(--ink); font-weight: 600; }
.bc-link {
  margin-top: auto; align-self: flex-start;
  font-size: 12.5px; font-weight: 700; color: var(--green); text-decoration: none;
  border: 1.5px solid var(--green-soft); border-radius: 99px; padding: 6px 14px;
  transition: background .12s;
}
.bc-link:hover { background: var(--green-soft); }

/* ── City overlay ──────────────────────────────────────────────── */
.overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(46,42,35,.4); backdrop-filter: blur(3px);
  display: grid; place-items: center; padding: 18px;
}
.overlay-card {
  background: var(--cream); border-radius: 22px; box-shadow: var(--shadow-lift);
  width: min(420px, 100%); max-height: min(640px, 86vh);
  display: flex; flex-direction: column; padding: 20px;
}
.overlay-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.overlay-head h3 { margin: 0; font-size: 22px; font-style: italic; }
.overlay-close { border: none; background: var(--cream-2); border-radius: 99px; width: 32px; height: 32px; font-size: 14px; }
.city-search {
  font-family: inherit; font-size: 15px; padding: 11px 14px;
  border-radius: 13px; border: 1.5px solid var(--line); background: #fff;
  outline: none; margin-bottom: 10px;
}
.city-search:focus { border-color: var(--sun); }
.city-list { overflow-y: auto; display: flex; flex-direction: column; gap: 3px; }
.city-item {
  display: flex; align-items: baseline; gap: 8px;
  border: none; background: transparent; text-align: left;
  padding: 9px 12px; border-radius: 11px; font-size: 14.5px; font-weight: 600; color: var(--ink);
}
.city-item:hover { background: #fff; }
.city-item.on { background: var(--green-soft); }
.city-item .cc { font-size: 11.5px; color: var(--ink-soft); font-weight: 400; }
.city-item .ct { margin-left: auto; font-size: 11.5px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 1060px) {
  .cal-layout { grid-template-columns: 1fr; }
  .cal-detail { position: static; }
}
@media (max-width: 920px) {
  .sidebar { display: none; }
  .main { margin-left: 0; padding: 14px 14px 90px; }
  .mobile-header {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 12px 16px; position: sticky; top: 0; z-index: 900;
    background: rgba(253,248,238,.92); backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
  }
  .brand-sm .brand-ball { width: 38px; height: 38px; font-size: 19px; }
  .brand-sm h1 { font-size: 21px; }
  .brand-sm .tagline { font-size: 10px; }
  .city-btn-sm { width: auto; margin-top: 0; padding: 8px 13px; font-size: 13px; flex: none; }
  .bottom-nav {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
    background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  .bnav-btn {
    flex: 1; border: none; background: transparent;
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    font-size: 10px; font-weight: 700; color: var(--ink-soft);
    padding: 5px 2px; border-radius: 12px;
  }
  .bnav-btn span { font-size: 19px; }
  .bnav-btn.active { color: var(--green); background: var(--green-soft); }
  #bigMap { height: 64vh; }
  #roadMap { height: 44vh; }
  .cal-day { min-height: 52px; padding: 4px; }
  .cal-pair img { width: 12px; height: 9px; }
  .cal-pair .vs { display: none; }
  .next-up-card .nu-when { margin-left: 0; text-align: left; width: 100%; }
  .road-select { width: 100%; min-width: 0; }
  .groups-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(auto-fill, minmax(146px, 1fr)); }
}
@media (max-width: 400px) {
  .cal-grid { gap: 3px; }
  .cal-day { min-height: 46px; }
}
