/* Game Day — events, stadium map, tailgate on one page */
.gd-page.app-shell { padding-bottom: 36px; }
.gd-page .sp-tabbar { display: none !important; }

.gd-main { padding: 22px 16px 56px; }
.gd {
  --gold: #f4c443;
  --field: #7dce6a;
  --line: rgba(255,255,255,.09);
  --muted: #a9bad3;
  --panel: rgba(16,36,64,.92);
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 20px;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  color: #fff;
  letter-spacing: normal;
}
.gd *, .gd *::before, .gd *::after { box-sizing: border-box; word-spacing: normal; }
.gd button, .gd input { font-family: inherit; }
.gd h1, .gd h2, .gd h3 { font-family: Inter, system-ui, sans-serif; letter-spacing: normal; text-transform: none; margin: 0; }
.gd a { color: var(--gold); font-weight: 800; }

.gd-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 120% at 100% 0%, rgba(125,206,106,.28), transparent 55%),
    linear-gradient(150deg, #1c3d63, #12263f 58%, #0c1c30);
  box-shadow: 0 0 0 4px #6e4b2a, 0 0 0 6px #3d2918, 0 18px 40px rgba(0,0,0,.4);
}
.gd-kicker { margin: 0; font-size: 12px; font-weight: 900; letter-spacing: .24em; text-transform: uppercase; color: var(--field); }
.gd-hero h1 {
  margin: 4px 0 8px;
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 900;
  line-height: .95;
  letter-spacing: .03em !important;
  text-transform: uppercase !important;
  color: var(--gold);
  text-shadow: 0 0 22px rgba(242,190,58,.35), 0 2px 0 #7a5214;
}
.gd-sub { margin: 0; max-width: 520px; color: #e4ebf3; font-size: 16px; line-height: 1.5; }
.gd-stats { display: flex; gap: 10px; flex: none; }
.gd-stats div {
  min-width: 96px;
  padding: 12px 10px;
  border-radius: 14px;
  text-align: center;
  background: rgba(8,20,38,.55);
  box-shadow: inset 0 0 0 1px rgba(125,206,106,.28);
}
.gd-stats b { display: block; font-size: 26px; font-weight: 900; color: var(--gold); line-height: 1; }
.gd-stats em { display: block; margin-top: 5px; font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.gd-stage { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); gap: 20px; align-items: start; }
.gd-side { display: grid; gap: 16px; position: sticky; top: 84px; }
.gd-col, .gd-panel {
  padding: 18px 18px 20px;
  border-radius: 22px;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line), 0 16px 34px rgba(0,0,0,.28);
}
.gd-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.gd-head h2 { font-size: 20px; font-weight: 900; }
.gd-head a { font-size: 13px; white-space: nowrap; }

.gd-seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(8,20,38,.6); }
.gd-seg button {
  padding: 7px 14px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}
.gd-seg button[aria-selected="true"] { color: #1a1204; background: var(--gold); }

.gd-events { display: grid; gap: 10px; max-height: calc(100dvh - 240px); overflow: auto; padding-right: 2px; }
.gd-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 12px;
  border: 0;
  border-radius: 16px;
  text-align: left;
  color: #fff;
  cursor: pointer;
  background: rgba(8,20,38,.55);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.gd-card:hover { box-shadow: inset 0 0 0 1px rgba(244,196,67,.45); }
.gd-card[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--gold), 0 0 16px rgba(244,196,67,.18); }
.gd-when { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 64px; border-radius: 12px; background: #132b4c; }
.gd-when b { font-size: 11px; letter-spacing: .14em; color: var(--gold); }
.gd-when strong { font-size: 22px; font-weight: 900; line-height: 1; }
.gd-mid { min-width: 0; }
.gd-kind { display: inline-block; margin-bottom: 3px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--field); }
.gd-mid strong { display: block; font-size: 16px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gd-mid small { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gd-logos { display: flex; gap: 6px; }
.gd-logos img { width: 36px; height: 36px; object-fit: contain; }

.gd-empty { margin: 0; padding: 18px 8px; color: var(--muted); line-height: 1.45; }
.gd-empty a { color: var(--gold); }

#gd-map { height: 380px; border-radius: 16px; overflow: hidden; background: #0b1c30; }
.gd-cap { margin: 10px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.gd-icon { background: transparent; border: 0; }
.gd-pin, .gd-near {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.45);
}
.gd-pin { background: #f4c443; }
.gd-near { background: #3d8bfd; width: 12px; height: 12px; }
.leaflet-container { font-family: Inter, system-ui, sans-serif; }

.gd-tail { display: grid; gap: 10px; }
.gd-tcard {
  padding: 14px;
  border-radius: 16px;
  background: rgba(8,20,38,.55);
  box-shadow: inset 0 0 0 1px rgba(125,206,106,.28);
}
.gd-tcard header { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.gd-tcard strong { font-size: 16px; }
.gd-tcard em { font-style: normal; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--field); }
.gd-tcard p { margin: 6px 0 0; color: #d5e2f2; font-size: 14px; line-height: 1.4; }
.gd-tmeta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.gd-tmeta span { padding: 4px 8px; border-radius: 999px; font-size: 12px; font-weight: 800; color: #d5e2f2; background: rgba(255,255,255,.06); }
.gd-join { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.gd-join label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 800; }
.gd-join div { display: flex; gap: 8px; }
.gd-join input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border: 0;
  border-radius: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
  outline: none;
}
.gd-join input:focus { box-shadow: inset 0 0 0 2px var(--field); }
.gd-join button {
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  font-weight: 900;
  color: #10210c;
  background: var(--field);
  cursor: pointer;
}
.gd-join small { display: block; margin-top: 8px; color: var(--muted); font-size: 12.5px; }
.gd-join small.err { color: #ff9a9a; }

@media (max-width: 980px) {
  .gd-hero { flex-direction: column; align-items: flex-start; padding: 22px; }
  .gd-stats { width: 100%; }
  .gd-stats div { flex: 1; }
  .gd-stage { grid-template-columns: 1fr; }
  .gd-side { position: static; }
  .gd-events { max-height: none; }
  .gd-head { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  #gd-map { height: 280px; }
  .gd-card { grid-template-columns: 56px minmax(0, 1fr); }
  .gd-logos { display: none; }
}
