/* FOOTYUP · sixth style sheet — Live match strip, Season Year-in-Review */

/* ════════════════════════════════════════════════════════════
   LIVE MATCH STRIP (above header)
   ════════════════════════════════════════════════════════════ */
.live-strip {
  position: sticky;
  top: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: auto auto 1fr auto auto;
  align-items: center;
  gap: 18px;
  padding: 9px var(--pad-x);
  background: var(--ink);
  border-bottom: 1px solid var(--bone-faint);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone);
  overflow: hidden;
  animation: liveSlideIn 0.45s cubic-bezier(.2,.7,.3,1);
}
@keyframes liveSlideIn {
  from { transform: translateY(-100%); opacity: 0; }
}
.live-strip.glow {
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--accent) 12%, var(--ink)),
    var(--ink) 30%,
    var(--ink) 70%,
    color-mix(in srgb, var(--accent) 12%, var(--ink)));
}
.live-strip .badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 3px 8px;
  background: var(--accent);
  color: var(--accent-text);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 10px;
  letter-spacing: 0.22em;
}
.live-strip .badge .led {
  width: 6px; height: 6px;
  background: var(--ink);
  border-radius: 50%;
  animation: ledPulse 1.2s ease-in-out infinite;
}
@keyframes ledPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.25; }
}
.live-strip .venue {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: -0.005em;
}
.live-strip .vs {
  display: flex; align-items: center; gap: 12px;
  color: var(--bone-dim);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  justify-self: end;
}
.live-strip .vs .team-name { color: var(--bone); font-weight: 900; }
.live-strip .vs .score {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--bone);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0 8px;
}
.live-strip .vs .score b { color: var(--accent); }
.live-strip .clock {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--accent);
  padding: 4px 10px;
  border: 1px solid var(--accent);
  font-variant-numeric: tabular-nums;
}
.live-strip .open-btn {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 6px 10px;
  background: transparent;
  border: 1px solid var(--bone-faint);
  color: var(--bone);
  cursor: pointer;
}
.live-strip .open-btn:hover { border-color: var(--accent); color: var(--accent); }
.live-strip .close-btn {
  width: 22px; height: 22px;
  border: 0;
  background: transparent;
  color: var(--bone-dim);
  cursor: pointer;
  display: grid; place-items: center;
}
.live-strip .close-btn:hover { color: var(--bone); }

@media (max-width: 900px) {
  .live-strip { grid-template-columns: auto 1fr auto; gap: 10px; padding: 8px 16px; font-size: 10px; }
  .live-strip .vs { display: none; }
  .live-strip .open-btn { display: none; }
  .live-strip .venue { font-size: 11px; }
}

/* ════════════════════════════════════════════════════════════
   YEAR-IN-REVIEW (/season/26)
   ════════════════════════════════════════════════════════════ */
.yir-scroller {
  scroll-snap-type: y mandatory;
  overflow-y: auto;
  height: calc(100vh - 73px);
  scrollbar-width: none;
  background: var(--ink);
}
.yir-scroller::-webkit-scrollbar { display: none; }

.yir-slide {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-height: calc(100vh - 73px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px var(--pad-x);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--bone-faint);
}
.yir-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* slide nav strip */
.yir-nav {
  position: fixed;
  top: 90px; right: var(--pad-x);
  z-index: 50;
  display: flex; flex-direction: column;
  gap: 8px;
}
.yir-nav .dot {
  width: 16px; height: 2px;
  background: var(--bone-faint);
  border: 0;
  cursor: pointer;
  transition: background 0.2s, width 0.2s;
}
.yir-nav .dot:hover { background: var(--bone-dim); }
.yir-nav .dot.on {
  background: var(--accent);
  width: 28px;
}

/* slide number badge top-left */
.yir-slide-no {
  position: absolute;
  top: 32px; left: var(--pad-x);
  z-index: 4;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.yir-slide-no b { color: var(--accent); font-weight: 900; }

/* slide eyebrow */
.yir-eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
}
.yir-eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--accent);
}

/* common slide title */
.yir-title {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 125%;
  font-size: clamp(64px, 9vw, 160px);
  line-height: 0.88;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}
.yir-title .italic { font-style: italic; color: var(--accent); font-weight: 800; }
.yir-title .outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--bone);
}

.yir-sub {
  position: relative;
  z-index: 2;
  margin-top: 28px;
  max-width: 520px;
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.55;
  color: var(--bone-dim);
}
.yir-sub b { color: var(--bone); font-weight: 600; }

/* HUGE number slide */
.yir-mega {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 125%;
  font-size: clamp(160px, 24vw, 480px);
  line-height: 0.82;
  letter-spacing: -0.06em;
  color: var(--accent);
  font-style: italic;
}
.yir-mega .lbl {
  display: block;
  font-style: normal;
  font-size: 0.16em;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin-top: 12px;
  font-weight: 700;
}

/* slide 1 intro — watermark */
.yir-slide.intro {
  background:
    radial-gradient(80% 100% at 30% 30%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%);
}
.yir-slide.intro .name-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 32px;
  position: relative; z-index: 2;
}
.yir-slide.intro .meta-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--bone-faint);
  border-left: 1px solid var(--bone-faint);
  margin-top: 32px;
}
.yir-slide.intro .meta-cards .c {
  padding: 24px;
  border-right: 1px solid var(--bone-faint);
  border-bottom: 1px solid var(--bone-faint);
}
.yir-slide.intro .meta-cards .c .l {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.yir-slide.intro .meta-cards .c .v {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 32px;
  letter-spacing: -0.025em;
  margin-top: 8px;
}
.yir-slide.intro .meta-cards .c .v .o { color: var(--accent); }

/* slide stat-grid layouts */
.yir-stat-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.yir-stat-grid .right { display: flex; flex-direction: column; gap: 16px; }
.yir-side-stat {
  padding: 20px 0;
  border-top: 1px solid var(--bone-faint);
  display: flex; justify-content: space-between; align-items: center;
}
.yir-side-stat:last-child { border-bottom: 1px solid var(--bone-faint); }
.yir-side-stat .lbl {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.yir-side-stat .val {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.02em;
}
.yir-side-stat .val .o { color: var(--accent); }

/* venue slide */
.yir-slide.venue {
  background: radial-gradient(70% 100% at 70% 50%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%);
}
.yir-pitch-mock {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--bone-faint);
  background: #0F1A14;
  overflow: hidden;
}

/* photo collage */
.yir-collage {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 120px;
  gap: 12px;
  margin-top: 48px;
}
.yir-collage > div {
  background: var(--cell-bg, linear-gradient(135deg, #2A2030, #1F2233));
  position: relative;
  overflow: hidden;
}
.yir-collage > div::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--accent) 25%, transparent), transparent 55%);
  mix-blend-mode: screen;
}
.yir-collage > div span {
  position: absolute;
  bottom: 8px; left: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244,241,235,0.55);
  z-index: 2;
}
.yir-collage .span-2 { grid-column: span 2; }
.yir-collage .span-3 { grid-column: span 3; }
.yir-collage .row-2 { grid-row: span 2; }

/* monthly bars */
.yir-months {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
  align-items: end;
  height: 220px;
  margin-top: 48px;
  position: relative; z-index: 2;
}
.yir-months .month {
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  height: 100%;
  justify-content: flex-end;
}
.yir-months .month .bar {
  width: 100%;
  background: var(--bone-faint);
  position: relative;
  min-height: 4px;
}
.yir-months .month.peak .bar { background: var(--accent); }
.yir-months .month .v {
  position: absolute;
  top: -22px; left: 50%;
  transform: translateX(-50%);
  font-family: 'JetBrains Mono';
  font-size: 11px;
  color: var(--bone-dim);
}
.yir-months .month.peak .v { color: var(--accent); font-weight: 700; }
.yir-months .month .lbl {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.yir-months .month.peak .lbl { color: var(--bone); }

/* end slide CTA */
.yir-slide.end {
  background: radial-gradient(80% 100% at 50% 100%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 70%);
  text-align: center;
  align-items: center;
}
.yir-slide.end .yir-title { text-align: center; }
.yir-slide.end .ctas { margin-top: 36px; display: inline-flex; gap: 12px; position: relative; z-index: 2; }

/* progress bar at bottom of scroller */
.yir-progress {
  position: fixed;
  left: 0; right: 0;
  top: 73px;
  height: 2px;
  background: rgba(244, 241, 235, 0.06);
  z-index: 60;
}
.yir-progress span {
  display: block;
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.18s linear;
}

@media (max-width: 900px) {
  .yir-slide.intro .name-block { grid-template-columns: 1fr; gap: 16px; }
  .yir-slide.intro .meta-cards { grid-template-columns: 1fr; }
  .yir-stat-grid { grid-template-columns: 1fr; gap: 24px; }
  .yir-collage { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 100px; }
  .yir-collage .span-2 { grid-column: span 1; }
  .yir-collage .span-3 { grid-column: span 2; }
  .yir-months { gap: 4px; height: 160px; }
  .yir-months .month .lbl { font-size: 8px; }
  .yir-nav { display: none; }
}
