/* SEO-first game recap hero */
.recap-hero--seo {
  padding: 1.5rem 1.75rem 1.75rem;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(0, 0, 0, 0.45), transparent 55%),
    linear-gradient(180deg, #0b1f3a 0%, #0a1628 100%);
  color: #f8fafc;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.recap-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 1.25rem;
}

.recap-hero-meta-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cbd5e1;
}

.recap-hero-meta-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: contain;
}

.recap-hero-meta-line {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #94a3b8;
}

.recap-hero-h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #f8fafc;
}

.recap-hero-headline {
  margin: 0 0 0.5rem;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
  color: #e2e8f0;
}

.recap-hero-summary {
  margin: 0 0 1.25rem;
  max-width: 62ch;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #94a3b8;
}

.recap-hero-quick-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.5rem 1.25rem;
  margin: 0 0 1.5rem;
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  width: 100%;
}

.recap-hero-quick-row {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 0.45rem;
  align-items: baseline;
}

.recap-hero-quick-row dt {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.recap-hero-quick-row dd {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: #e2e8f0;
}

.recap-hero-score-text {
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #cbd5e1;
}

.recap-hero-scoreboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 1.75rem;
  padding: 1.25rem 1rem;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.recap-hero-score-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  padding-top: 8px;
  border-top: 3px solid transparent;
}

.recap-hero-score-col--away {
  border-top-color: var(--recap-away-color, #97233f);
}

.recap-hero-score-col--home {
  border-top-color: var(--recap-home-color, #002244);
}

.recap-hero-score-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  padding: 10px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.96) 0%, rgba(241, 245, 249, 0.92) 70%, rgba(226, 232, 240, 0.88) 100%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 10px 28px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(15, 23, 42, 0.2);
  filter: none;
}

.recap-hero-score-team {
  font-size: 0.92rem;
  font-weight: 800;
  color: #f1f5f9;
  line-height: 1.25;
}

.recap-hero-score-num {
  font-size: clamp(3rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.82);
}

.recap-hero-score-num--win {
  color: #fbbf24;
}

.recap-hero-score-record {
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
}

.recap-hero-winner-badge {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fbbf24;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.35);
}

.recap-hero-score-mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 100px;
  padding: 0 8px;
}

.recap-hero-final-pill {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(15, 23, 42, 0.55);
}

.recap-hero-score-combined {
  font-size: 1.1rem;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: 0.04em;
}

.recap-hero-score-date {
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
}

.recap-hero-performers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 1.5rem;
}

.recap-hero-performer-title {
  margin: 0 0 10px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7dd3fc;
}

.recap-hero-performer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.recap-hero-performer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.45);
}

.recap-hero-performer-photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.85);
}

.recap-hero-performer-photo--placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  background: #334155;
  color: #fff;
}

.recap-hero-performer-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.recap-hero-performer-name {
  font-size: 0.82rem;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.2;
}

.recap-hero-performer-stats {
  font-size: 0.68rem;
  font-weight: 600;
  color: #94a3b8;
}

.recap-hero-performer-impact {
  font-size: 0.68rem;
  font-weight: 700;
  color: #38bdf8;
}

.recap-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

.recap-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
  font-family: inherit;
}

.recap-hero-btn:hover {
  transform: translateY(-1px);
}

.recap-hero-btn--primary {
  background: #0284c7;
  color: #fff;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.35);
}

.recap-hero-btn--primary:hover {
  background: #0369a1;
  color: #fff;
}

.recap-hero-btn--ghost {
  background: rgba(255, 255, 255, 0.07);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.recap-hero--simple {
  padding: 2rem 1.5rem 1.75rem;
  background: linear-gradient(180deg, #0b1f3a 0%, #0f172a 100%);
  color: #f8fafc;
  text-align: center;
}

/* Inline share strip */
.recap-share-strip {
  margin: 2rem 0 2.25rem;
  padding: 1.35rem 0 0.25rem;
  border-top: 1px solid var(--ff-border, #e2e8f0);
  text-align: center;
}

.recap-share-strip-title {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ff-text, #0f172a);
  line-height: 1.4;
}

.recap-share-strip-title strong {
  font-weight: 800;
}

.recap-share-strip-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.recap-share-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.recap-share-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.recap-share-icon:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.18);
}

.recap-share-icon:disabled,
.recap-share-icon[aria-busy="true"] {
  opacity: 0.65;
  cursor: wait;
}

.recap-share-icon--copy { background: #21759b; }
.recap-share-icon--facebook { background: #1877f2; }
.recap-share-icon--linkedin { background: #0a66c2; }
.recap-share-icon--x { background: #1da1f2; }
.recap-share-icon--reddit { background: #ff4500; }
.recap-share-icon--pinterest { background: #e60023; }
.recap-share-icon--whatsapp { background: #25d366; }
.recap-share-icon--email { background: #5a5a5a; }
.recap-share-icon--print {
  background: #d1d5db;
  color: #1f2937;
}

.recap-share-strip-status {
  margin: 0.85rem 0 0;
  min-height: 1.2em;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ff-text-muted, #64748b);
}

/* Share card (off-screen capture — never shown to users) */
.recap-share-card {
  position: fixed;
  left: -10000px;
  top: 0;
  width: 1200px;
  height: 630px;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  z-index: -1;
  overflow: hidden;
}

.recap-share-card.is-capturing {
  visibility: visible;
  opacity: 1;
  /* Stay off-screen while html2canvas captures */
  left: -10000px;
  top: 0;
  transform: none;
  z-index: -1;
  box-shadow: none;
}

.recap-share-card-inner {
  width: 100%;
  height: 100%;
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(145deg, #0b1f3a 0%, #132f52 50%, #0f172a 100%);
  color: #fff;
  border-radius: 20px;
  box-sizing: border-box;
}

.recap-share-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.recap-share-kicker {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #7dd3fc;
}

.recap-share-matchup {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.recap-share-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.recap-share-team-name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #cbd5e1;
}

.recap-share-team-score {
  font-size: 88px;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.75);
}

.recap-share-team-score--win {
  color: #fbbf24;
}

.recap-share-top {
  text-align: center;
  padding: 16px 20px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
}

.recap-share-top-label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7dd3fc;
  margin-bottom: 6px;
}

.recap-share-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #94a3b8;
}

@media (max-width: 900px) {
  .recap-hero-performers {
    grid-template-columns: 1fr;
  }

  .recap-share-strip-title {
    font-size: 0.98rem;
  }

  .recap-share-icon {
    width: 40px;
    height: 40px;
  }

  .recap-share-icon svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 640px) {
  .recap-hero--seo {
    padding: 1.15rem 1rem 1.25rem;
  }

  .recap-hero-scoreboard {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .recap-hero-score-logo {
    width: 76px;
    height: 76px;
    padding: 8px;
    border-radius: 14px;
  }

  .recap-hero-score-mid {
    order: -1;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .recap-hero-actions {
    flex-direction: column;
  }

  .recap-hero-btn {
    width: 100%;
  }
}
