/* Fight-night schedule pages. Scoped to avoid changing the Boxing-wide UI. */
.schedule-page-shell {
  --fn-red: #d3202f;
  --fn-red-dark: #730914;
  --fn-gold: #f2c14e;
  --fn-ink: #09090d;
  --fn-panel: #14141b;
  --fn-line: rgba(255,255,255,.13);
  padding-bottom: 64px;
}

.fn-hero {
  min-height: 380px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
  padding: clamp(28px, 5vw, 64px);
  margin: 18px 0 28px;
  overflow: hidden;
  position: relative;
  color: #fff;
  border: 1px solid rgba(242,193,78,.45);
  border-radius: 22px;
  background:
    radial-gradient(circle at 82% 30%, rgba(242,193,78,.22), transparent 23%),
    linear-gradient(120deg, rgba(8,8,12,.98) 5%, rgba(115,9,20,.96) 58%, rgba(211,32,47,.9));
  box-shadow: 0 24px 70px rgba(0,0,0,.35);
}
.fn-hero::before,
.fn-hero::after {
  content: '';
  position: absolute;
  width: 240px;
  height: 600px;
  top: -130px;
  right: 16%;
  transform: rotate(24deg);
  border-left: 1px solid rgba(255,255,255,.08);
  border-right: 1px solid rgba(255,255,255,.08);
}
.fn-hero::after { right: 27%; }
.fn-hero__copy,
.fn-hero__stamp { position: relative; z-index: 1; }
.fn-kicker {
  margin-bottom: 14px;
  color: var(--fn-gold);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.fn-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.25rem, 6vw, 5.5rem);
  line-height: .94;
  letter-spacing: -.055em;
  text-transform: uppercase;
}
.fn-hero h1 span { color: var(--fn-gold); font-size: .5em; letter-spacing: 0; }
.fn-hero__meta { margin: 22px 0 8px; color: rgba(255,255,255,.86); line-height: 1.7; }
.fn-hero__viewing { font-weight: 750; color: #fff; }
.fn-hero__calendar {
  margin-top: 20px;
  padding: 12px 18px;
  border: 1px solid var(--fn-gold);
  border-radius: 999px;
  background: var(--fn-gold);
  color: #171006;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}
.fn-hero__calendar:hover,
.fn-hero__calendar:focus-visible { background: #fff0bd; }
.fn-hero__stamp {
  width: 160px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  text-align: center;
  transform: rotate(-5deg);
  border: 3px double var(--fn-gold);
  border-radius: 50%;
  color: var(--fn-gold);
  text-transform: uppercase;
}
.fn-hero__stamp span,
.fn-hero__stamp small { letter-spacing: .18em; font-size: .62rem; }
.fn-hero__stamp strong { font-size: 1.9rem; line-height: 1; }

.fn-status {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin: 0 0 24px;
  padding: 13px 16px;
  border: 1px solid var(--fn-line);
  border-left: 4px solid #4dbb80;
  border-radius: 9px;
  background: rgba(77,187,128,.08);
  color: var(--text-secondary);
  font-size: .86rem;
}
.fn-status a { color: var(--fn-gold); white-space: nowrap; }
.fn-status--stale { border-left-color: var(--fn-gold); background: rgba(242,193,78,.08); }
.fn-status--error { border-left-color: var(--fn-red); background: rgba(211,32,47,.1); }
.fn-status--empty { border-left-color: #7fa9e6; background: rgba(127,169,230,.08); }

.fn-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .45fr);
  gap: 24px;
  align-items: end;
  margin: 42px 0 22px;
}
.fn-intro h2 { margin: 0 0 8px; font-size: clamp(1.55rem, 3vw, 2.4rem); color: var(--text-white); }
.fn-intro p { color: var(--text-secondary); line-height: 1.65; }
.fn-uncertainty { padding: 14px 16px; border-left: 3px solid var(--fn-gold); background: rgba(242,193,78,.07); font-size: .82rem; }

.fn-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1.6fr) repeat(3, minmax(145px, .7fr));
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--fn-line);
  border-radius: 14px;
  background: var(--fn-panel);
}
.fn-field { display: grid; gap: 6px; }
.fn-field label,
.fn-checkbox span { color: var(--text-secondary); font-size: .72rem; font-weight: 700; letter-spacing: .04em; }
.fn-field input,
.fn-field select {
  min-width: 0;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--fn-line);
  border-radius: 8px;
  background: var(--fn-ink);
  color: var(--text-primary);
  font: inherit;
}
.fn-filter-footer {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 5px;
}
.fn-checkbox { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; }
.fn-checkbox input { width: 18px; height: 18px; accent-color: var(--fn-red); }
.fn-filter-meta { display: flex; gap: 14px; align-items: center; color: var(--text-muted); font-size: .8rem; }
.fn-filter-meta button,
.fn-empty button {
  border: 0;
  background: transparent;
  color: var(--fn-gold);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fn-month { margin-top: 42px; }
.fn-month__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--fn-red);
}
.fn-month__heading h2 { margin: 0; color: var(--text-white); font-size: 1.45rem; }
.fn-month__heading span { color: var(--text-muted); font-size: .78rem; }
.fn-month__events { border-bottom: 1px solid var(--fn-line); }

.fn-event {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) minmax(220px, .44fr);
  gap: 22px;
  align-items: start;
  padding: 26px 8px;
  border-top: 1px solid var(--fn-line);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.015), transparent);
}
.fn-event:first-child { border-top: 0; }
.fn-event:target { outline: 2px solid var(--fn-gold); outline-offset: 4px; }
.fn-event__date time {
  width: 62px;
  height: 70px;
  display: grid;
  place-content: center;
  text-align: center;
  border: 1px solid rgba(242,193,78,.55);
  border-radius: 8px;
  background: rgba(242,193,78,.06);
  color: var(--fn-gold);
}
.fn-event__date strong { font-size: 1.55rem; line-height: 1; }
.fn-event__date span { margin-top: 5px; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.fn-event__eyebrow { margin: 0 0 6px; color: var(--fn-gold); font-size: .7rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.fn-event h3 { margin: 0; color: var(--text-white); font-size: clamp(1.12rem, 2vw, 1.5rem); line-height: 1.25; }
.fn-event h3 > span { margin: 0 .28em; color: var(--fn-red); font-size: .72em; text-transform: uppercase; }
.fn-fighter-link { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.fn-fighter-link:hover { color: var(--fn-gold); }
.fn-event__facts { display: flex; flex-wrap: wrap; gap: 7px 15px; margin-top: 12px; color: var(--text-secondary); font-size: .83rem; }
.fn-event__facts span + span::before { content: '•'; margin-right: 15px; color: var(--text-muted); }
.fn-event__facts .is-unverified { color: #d9ab75; }
.fn-event__facts .is-verified { color: #80d8a5; }
.fn-event__note { margin: 12px 0 0; color: var(--text-muted); font-size: .8rem; }
.fn-titles { display: flex; flex-wrap: wrap; gap: 6px; margin: 13px 0 0; padding: 0; list-style: none; }
.fn-titles li { padding: 4px 8px; border: 1px solid rgba(242,193,78,.3); border-radius: 999px; color: var(--fn-gold); font-size: .68rem; }
.fn-event__side { display: grid; justify-items: end; gap: 13px; }
.fn-source { color: var(--text-muted); font-size: .72rem; text-align: right; }
.fn-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.fn-action {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--fn-line);
  border-radius: 7px;
  background: rgba(255,255,255,.035);
  color: var(--text-secondary);
  cursor: pointer;
  font: inherit;
  font-size: .72rem;
  font-weight: 700;
  text-decoration: none;
}
.fn-action:hover,
.fn-action:focus-visible { border-color: var(--fn-gold); color: #fff; }
.fn-action--primary { background: var(--fn-red); color: #fff; border-color: var(--fn-red); }

.fn-comparison { margin-top: 15px; }
.fn-disclosure { padding: 0; border: 0; background: transparent; color: var(--fn-gold); cursor: pointer; font: inherit; font-size: .78rem; }
.fn-disclosure::after { content: ' +'; }
.fn-disclosure[aria-expanded='true']::after { content: ' −'; }
.fn-comparison__panel { margin-top: 10px; border: 1px solid var(--fn-line); border-radius: 8px; }
.fn-comparison__panel > div { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; padding: 8px 10px; font-size: .78rem; }

.fn-empty {
  padding: 52px 24px;
  margin-top: 28px;
  text-align: center;
  border: 1px dashed var(--fn-line);
  border-radius: 14px;
  color: var(--text-secondary);
}
.fn-empty h2 { margin-bottom: 8px; color: var(--text-white); }
.fn-tv-group__empty { padding: 24px 0; color: var(--text-muted); }

.fn-skeleton { display: grid; gap: 12px; margin-top: 28px; }
.fn-skeleton span { display: block; height: 116px; border-radius: 12px; background: linear-gradient(90deg, rgba(255,255,255,.035), rgba(255,255,255,.08), rgba(255,255,255,.035)); background-size: 200% 100%; animation: fn-shimmer 1.4s infinite linear; }
@keyframes fn-shimmer { to { background-position: -200% 0; } }
.is-ready .fn-skeleton { display: none; }

.fn-tsg {
  margin-top: 56px;
  padding: 24px;
  border-top: 2px solid var(--fn-red);
  background: var(--fn-panel);
}
.fn-tsg h2 { margin: 0 0 15px; color: var(--text-white); font-size: 1.15rem; }
.fn-tsg > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fn-tsg > div a { display: grid; gap: 6px; color: var(--text-primary); text-decoration: none; font-size: .86rem; line-height: 1.4; }
.fn-tsg > div span { color: var(--fn-gold); font-size: .68rem; text-transform: uppercase; }
.fn-tsg__cta { margin: 16px 0 0; color: var(--text-secondary); font-size: .82rem; }
.fn-tsg__cta a { color: var(--fn-gold); }

@media (max-width: 1024px) {
  .fn-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fn-event { grid-template-columns: 68px minmax(0, 1fr); }
  .fn-event__side { grid-column: 2; justify-items: start; }
  .fn-source { text-align: left; }
  .fn-actions { justify-content: flex-start; }
}

@media (max-width: 768px) {
  .fn-hero { min-height: 340px; grid-template-columns: 1fr; align-items: end; }
  .fn-hero__stamp { display: none; }
  .fn-intro { grid-template-columns: 1fr; }
  .fn-tsg > div { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .schedule-page-shell { padding-bottom: 36px; }
  .fn-hero { min-height: 390px; margin-left: -8px; margin-right: -8px; border-radius: 14px; }
  .fn-status { align-items: flex-start; flex-direction: column; }
  .fn-filters { grid-template-columns: 1fr; padding: 14px; }
  .fn-filter-footer { align-items: flex-start; flex-direction: column; }
  .fn-event { grid-template-columns: 1fr; gap: 14px; padding: 24px 0; }
  .fn-event__date time { width: auto; height: auto; display: flex; justify-content: flex-start; gap: 6px; border: 0; background: none; }
  .fn-event__date strong { font-size: .8rem; }
  .fn-event__date span { margin: 0; font-size: .8rem; }
  .fn-event__side { grid-column: 1; }
  .fn-event__facts { display: grid; }
  .fn-event__facts span + span::before { content: none; }
  .fn-action { min-height: 40px; }
  .fn-comparison__panel > div { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .fn-skeleton span { animation: none; }
}
