/* ---- Game Day tracker (events.html) ---- */
body.v2 main > .section.gameday-section, body.v2:not([class*="page-"]) main > .section.gameday-section {
  position: relative; overflow: hidden; color: #14110f;
  background: linear-gradient(180deg, #f5ece0 0%, #efe3d3 100%) !important;
}
.gameday-section > .container { position: relative; z-index: 1; }
body.v2 .gameday-section .section-kicker { background: #c8102e !important; color: #faf6ee !important; }
body.v2 .gameday-section .section-head h2 { color: #14110f; text-shadow: 3px 3px 0 #ffb3d1; }
body.v2 .gameday-section .section-head p { color: #4a4540; }

.gd {
  --red: #c8102e; --red-deep: #8e0a21; --ink: #14110f; --muted: #6a6157; --line: rgba(20,17,15,.12); --paper: #fffdf8; --wash: #f6efe3;
  --ui: var(--font-ui, "Space Grotesk", "Helvetica Neue", Arial, sans-serif);
  --display: var(--font-display, "Fraunces", Georgia, serif);
  --body: var(--font-body, "Lora", Georgia, serif);
  display: flex; flex-direction: column; gap: 20px; font-family: var(--ui);
}
.gd *, .gd *::before, .gd *::after { box-sizing: border-box; }
.gd__ico { width: 18px; height: 18px; flex: none; }

/* sport switcher */
.gd__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.gd__tabs { display: inline-flex; gap: 2px; padding: 4px; max-width: 100%; overflow-x: auto; scrollbar-width: none; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 1px 2px rgba(20,17,15,.06); }
.gd__tabs::-webkit-scrollbar { display: none; }
.gd__chip { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 9px 16px 9px 13px; border: 0; border-radius: 999px; background: transparent; color: var(--ink);
  font: 600 14px/1 var(--ui); cursor: pointer; transition: background .15s, color .15s; }
.gd__chip .gd__ico { color: var(--ic, var(--ink)); }
.gd__chip:hover { background: var(--wash); }
.gd__chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.gd__chip[aria-pressed="true"] .gd__ico { color: #fff; }
.gd__chip:focus-visible, .gd__btn:focus-visible, .gd__cal:focus-visible, .gd__more:focus-visible { outline: 3px solid #1d2b64; outline-offset: 2px; }
.gd__asof { margin: 0; font: 500 13px var(--ui); color: var(--muted); }

/* shared bits */
.gd__tag { display: inline-block; padding: 5px 11px; border-radius: 999px; background: var(--sc, var(--ink)); color: var(--tc, #fff); font: 700 11px/1.1 var(--ui); letter-spacing: .1em; text-transform: uppercase; }
.gd__home { display: inline-block; padding: 4px 10px; border-radius: 999px; border: 1px solid currentColor; font: 700 11px/1.1 var(--ui); letter-spacing: .1em; text-transform: uppercase; }
.gd__home--away { opacity: .8; border-style: dashed; }
.gd__home--sm { padding: 2px 8px; font-size: 10px; color: var(--red); }
.gd__crest { display: inline-grid; place-items: center; flex: none; border-radius: 50%; background: color-mix(in srgb, var(--sc, #888) 16%, #fff); color: color-mix(in srgb, var(--sc, #444) 80%, #000); font: 800 13px/1 var(--ui); letter-spacing: .02em; }
.gd__crest--sm { width: 40px; height: 40px; }
.gd__crest--sm.is-long { font-size: 10px; }
.gd__crest--xl { width: clamp(64px, 9vw, 92px); height: clamp(64px, 9vw, 92px); font-size: clamp(22px, 3vw, 30px); background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); }
.gd__crest--xl.is-long { font-size: clamp(15px, 2vw, 20px); }
.gd__crest--utah { background: #fff; color: var(--red); font-family: var(--display); font-weight: 900; box-shadow: 0 6px 18px rgba(0,0,0,.25); }

/* hero */
.gd__board { position: relative; overflow: hidden; border-radius: 24px; padding: clamp(22px, 3.4vw, 40px); color: #fff;
  background:
    var(--court, none) center / cover no-repeat,
    radial-gradient(90% 120% at 12% 0%, #e0233f 0%, transparent 60%),
    linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  box-shadow: 0 2px 4px rgba(20,17,15,.08), 0 24px 48px -20px rgba(142,10,33,.6); }
.gd__top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.gd__board .gd__tag { background: rgba(255,255,255,.95); color: #14110f; }
.gd__kick { display: inline-flex; align-items: center; gap: 8px; font: 700 12px var(--ui); letter-spacing: .16em; text-transform: uppercase; color: #ffe27a; }
.gd__theme { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 5px 12px 5px 9px; border-radius: 999px; background: rgba(20,17,15,.28); font: 600 13px var(--ui); }
.gd__theme .gd__ico { width: 15px; height: 15px; color: #ffe27a; }
.gd__dot { width: 9px; height: 9px; border-radius: 50%; background: #ffe27a; animation: gd-ping 1.4s ease-out infinite; }
@keyframes gd-ping { 0% { box-shadow: 0 0 0 0 rgba(255,226,122,.7); } 100% { box-shadow: 0 0 0 12px rgba(255,226,122,0); } }

.gd__teamsrow { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: clamp(10px, 3vw, 40px); margin: clamp(20px, 3vw, 32px) 0 clamp(18px, 2.4vw, 26px); }
.gd__side-team { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; min-width: 0; }
.gd__tn { margin-top: 8px; font: 900 clamp(22px, 3.6vw, 40px)/1.05 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.gd__tsub { font: 500 14px/1.3 var(--ui); color: rgba(255,255,255,.78); }
.gd__vsmark { align-self: center; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); font: italic 600 18px var(--display); text-transform: lowercase; color: #ffe27a; }
.gd__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 clamp(18px, 2.4vw, 26px); padding: 0; list-style: none; }
.gd__chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(20,17,15,.28); font: 600 14px var(--ui); }
.gd__chips .gd__ico { width: 16px; height: 16px; color: #ffe27a; }

.gd__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding-top: clamp(16px, 2vw, 22px); border-top: 1px solid rgba(255,255,255,.28); }
.gd__clock { display: flex; gap: 10px; }
.gd__unit { position: relative; min-width: 72px; padding: 10px 8px 8px; border-radius: 14px; background: rgba(20,17,15,.3); text-align: center; }
.gd__unit b { display: block; font: 700 clamp(26px, 3.4vw, 34px)/1 var(--ui); font-variant-numeric: tabular-nums; }
.gd__unit span { display: block; margin-top: 4px; font: 600 10px var(--ui); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.gd__livepill { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; background: #ffe27a; color: var(--ink); font: 800 20px var(--ui); letter-spacing: .06em; text-transform: uppercase; }
.gd__livepill .gd__dot { background: var(--red); }
.gd__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.gd__btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; border: 2px solid transparent; font: 700 14px/1 var(--ui); text-decoration: none; cursor: pointer; transition: transform .15s, background .15s; }
.gd__btn .gd__ico { width: 16px; height: 16px; }
.gd__btn:hover { transform: translateY(-1px); }
.gd__btn--solid { background: #fff; color: var(--red-deep); }
.gd__btn--line { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.gd__btn--line:hover { background: rgba(255,255,255,.14); }
.gd__board--rest { background: var(--court, none) center / cover no-repeat, linear-gradient(135deg, #4d2b66 0%, #2a1740 100%); box-shadow: 0 2px 4px rgba(20,17,15,.08), 0 24px 48px -20px rgba(42,23,64,.6); }
.gd__rest { display: flex; align-items: center; gap: clamp(18px, 3vw, 32px); }
.gd__bigico { display: grid; place-items: center; flex: none; width: 96px; height: 96px; border-radius: 50%; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 2px rgba(255,255,255,.4); }
.gd__bigico .gd__ico { width: 46px; height: 46px; }
.gd__rest h3 { margin: 12px 0 6px; font: 900 clamp(26px, 3.6vw, 40px)/1.05 var(--display); letter-spacing: -.02em; }
.gd__rest p { margin: 0 0 18px; max-width: 58ch; font: 500 17px/1.55 var(--body); color: rgba(255,255,255,.88); }
.gd__rest .gd__tag { background: rgba(255,255,255,.95); color: var(--ink); }

/* cards */
.gd__card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: clamp(18px, 2.2vw, 26px); box-shadow: 0 1px 2px rgba(20,17,15,.05), 0 14px 32px -18px rgba(20,17,15,.25); min-width: 0; }
.gd__cardhead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.gd__h { margin: 0; font: 800 20px/1.2 var(--display); letter-spacing: -.01em; }
.gd__sub { font: 500 13px var(--ui); color: var(--muted); }

/* week strip */
.gd__days { display: grid; grid-template-columns: repeat(7, minmax(112px, 1fr)); gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: thin; }
.gd__day { display: flex; flex-direction: column; gap: 8px; min-height: 120px; padding: 10px; border-radius: 14px; background: var(--wash); }
.gd__day.is-today { background: #fff; box-shadow: inset 0 0 0 2px var(--red); }
.gd__dayhead { display: flex; align-items: baseline; justify-content: space-between; font: 600 12px var(--ui); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.gd__dayhead b { font: 800 20px var(--display); color: var(--ink); letter-spacing: 0; }
.gd__day.is-today .gd__dayhead span { color: var(--red); }
.gd__ev { display: flex; gap: 8px; padding: 7px 8px; border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(20,17,15,.08); }
.gd__ev i { width: 4px; flex: none; border-radius: 4px; background: var(--sc); }
.gd__ev strong { display: block; font: 700 12px var(--ui); }
.gd__ev span { display: block; font: 500 12px/1.3 var(--ui); color: var(--muted); }
.gd__none { margin: auto 0; font: 500 12px var(--ui); color: rgba(106,97,87,.7); }

/* schedule */
.gd__cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.gd__side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.gd__list { margin: 0; padding: 0; list-style: none; }
.gd__month { display: flex; align-items: baseline; justify-content: space-between; padding: 18px 0 8px; font: 700 12px var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.gd__month:first-child { padding-top: 0; }
.gd__month em { font-style: normal; font-weight: 500; letter-spacing: 0; text-transform: none; }
.gd__row { display: grid; grid-template-columns: 38px 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.gd__date { text-align: center; line-height: 1; }
.gd__date b { display: block; font: 800 22px var(--display); }
.gd__date span { display: block; margin-top: 4px; font: 600 11px var(--ui); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.gd__line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.gd__line strong { font: 700 16px/1.25 var(--ui); }
.gd__spt { display: inline-flex; align-items: center; gap: 6px; font: 600 12px var(--ui); color: var(--muted); }
.gd__spt::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sc); }
.gd__meta { margin-top: 2px; font: 500 13px/1.4 var(--ui); color: var(--muted); }
.gd__meta em { font-style: normal; font-weight: 600; color: #a1124d; }
.gd__when { display: flex; align-items: center; gap: 12px; }
.gd__when b { font: 700 14px var(--ui); white-space: nowrap; }
.gd__cal { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; transition: background .15s, color .15s; }
.gd__cal .gd__ico { width: 16px; height: 16px; }
.gd__cal:hover { background: var(--ink); color: #fff; }
.gd__more { margin-top: 16px; padding: 10px 18px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font: 700 13px var(--ui); cursor: pointer; }
.gd__more:hover { background: var(--ink); color: #fff; }
.gd__more[hidden] { display: none; }
.gd__empty { padding: 4px 0; font: 500 15px/1.5 var(--ui); color: var(--muted); }
.gd__empty a { color: var(--ink); }

/* standings and results */
.gd__teamgrid { display: grid; gap: 16px; }
.gd__team { padding-top: 16px; border-top: 1px solid var(--line); }
.gd__team:first-child { padding-top: 0; border-top: 0; }
.gd__teamtop { display: flex; align-items: center; gap: 10px; }
.gd__teamico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sc); color: #fff; }
.gd__teamico .gd__ico { width: 16px; height: 16px; }
.gd__teamname { font: 700 15px var(--ui); }
.gd__rec { display: flex; align-items: baseline; gap: 10px; margin-top: 10px; }
.gd__rec b { font: 800 clamp(30px, 3.6vw, 38px)/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.gd__rec span { font: 600 11px var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.gd__conf { margin-top: 4px; font: 500 14px var(--ui); color: var(--muted); }
.gd__form { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.gd__form > span { font: 600 11px var(--ui); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.gd__form > div { display: flex; gap: 4px; }
.gd__fd { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: #e4dccd; color: #fff; font: 800 11px var(--ui); font-style: normal; }
.gd__fd--W { background: #1f8a5b; } .gd__fd--L { background: #c8102e; } .gd__fd--T { background: #b98a12; }
.gd__blurb { margin: 12px 0 0; font: 500 15px/1.55 var(--body); color: #3c352f; }
.gd__results { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.gd__r { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.gd__r strong { font: 700 14px/1.25 var(--ui); }
.gd__pill { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; font: 800 13px var(--ui); background: #e4dccd; }
.gd__pill--W { background: #cdeedd; color: #12633f; } .gd__pill--L { background: #fbd5da; color: #9c0d24; } .gd__pill--T { background: #f6e6b3; color: #6d5008; }
.gd__score { font: 700 14px var(--ui); font-variant-numeric: tabular-nums; white-space: nowrap; }
.gd__src { margin: 0; font: 500 13px/1.5 var(--ui); color: var(--muted); }
.gd__src a { color: var(--ink); }

@media (max-width: 900px) {
  .gd__cols { grid-template-columns: 1fr; }
  .gd__rest { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 620px) {
  .gd__board { border-radius: 20px; }
  .gd__theme { margin-left: 0; }
  .gd__vsmark { width: 40px; height: 40px; font-size: 15px; }
  .gd__foot { flex-direction: column; align-items: stretch; }
  .gd__clock { justify-content: space-between; }
  .gd__unit { flex: 1; min-width: 0; }
  .gd__btn { flex: 1; justify-content: center; }
  .gd__row { grid-template-columns: 34px 36px minmax(0, 1fr); gap: 10px; }
  .gd__crest--sm { width: 36px; height: 36px; }
  .gd__when { grid-column: 3; justify-content: space-between; }
  .gd__days { grid-template-columns: repeat(7, 128px); }
}
@media (prefers-reduced-motion: reduce) { .gd__dot { animation: none; } .gd__btn, .gd__chip, .gd__cal { transition: none; } }
