.results-page {
  background: linear-gradient(180deg, #eaf0f9 0%, #f8fafc 45%, #eef2ff 100%);
}

.results-page.results-canvas2 {
  background:
    radial-gradient(ellipse 90% 60% at 10% 0%, rgba(37, 99, 235, 0.2), transparent 56%),
    radial-gradient(ellipse 78% 55% at 95% 5%, rgba(124, 58, 237, 0.16), transparent 52%),
    linear-gradient(180deg, #eaf0f9 0%, #f8fafc 45%, #eef2ff 100%);
}

/* Logo left, “Back to welcome” top-right (no center section nav on this page) */
body.results-page .header--welcome.header--actions-end .header-inner,
.header--welcome.header--actions-end .header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem 1rem;
}

body.results-page .header--welcome.header--actions-end .header-inner > .logo,
.header--welcome.header--actions-end .header-inner > .logo {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  min-width: 0;
}

body.results-page .header--welcome.header--actions-end .header-inner > .nav,
.header--welcome.header--actions-end .header-inner > .nav {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: center;
  width: auto;
  max-width: 100%;
}

body.results-page .header--welcome.header--actions-end .header-inner .auth-buttons,
.header--welcome.header--actions-end .header-inner .auth-buttons {
  justify-content: flex-end;
  flex-wrap: nowrap;
  margin-left: auto;
}

body.results-page .header--welcome.header--actions-end .header-inner .auth-buttons .btn,
.header--welcome.header--actions-end .header-inner .auth-buttons .btn {
  white-space: nowrap;
}

.results-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: 3rem;
}

.results-hero {
  padding: 2.2rem 1rem 1rem;
}

.results-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #475569;
  font-weight: 700;
}

.results-hero h1 {
  margin-top: 0.35rem;
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  line-height: 1.2;
}

.results-subtitle {
  margin-top: 0.6rem;
  color: #475569;
  font-size: 0.96rem;
}

.results-hero-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 14px;
  padding: 1rem;
}

.results-hero-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.results-hero-logo {
  width: 132px;
  height: 132px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
  background: #fff;
}

.results-hero-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.7rem;
}

.results-meta-item {
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
}

.results-meta-item span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-bottom: 0.2rem;
  font-weight: 700;
}

.results-meta-item strong {
  color: #0f172a;
  font-size: 0.92rem;
}

.results-section {
  padding: 0 1rem;
}

.results-section--alt .container-xl {
  background: rgba(255, 255, 255, 0.82);
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  padding: 1.15rem;
}

.results-section-title {
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.results-section-sub {
  color: #64748b;
  margin-bottom: 0.9rem;
  font-size: 0.9rem;
}

.results-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
}

.results-detail-card {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 12px;
  padding: 0.85rem;
}

.results-detail-card h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-bottom: 0.35rem;
}

.results-detail-card p {
  color: #0f172a;
  font-size: 0.92rem;
  white-space: pre-line;
}

.results-winners-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.results-event-card {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 14px;
  padding: 0.9rem;
}

.results-event-card h3 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.results-podium-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.7rem;
}

.results-podium-card {
  background: #f8fafc;
  border-radius: 12px;
  padding: 0.55rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.results-podium-rank {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
}

.results-podium-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 0.35rem;
  cursor: pointer;
}

.results-page.results-photo-xl .results-podium-card img {
  aspect-ratio: 3 / 4;
  min-height: clamp(220px, 36vw, 340px);
}

.results-podium-name {
  margin-top: 0.3rem;
  font-size: 0.84rem;
  color: #334155;
  font-weight: 600;
}

.results-players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
}

.results-player-card {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 12px;
  padding: 0.8rem;
}

.results-player-head {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.results-player-avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(135deg, #dbeafe, #e9d5ff);
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.results-player-info strong {
  display: block;
  font-size: 0.92rem;
}

.results-player-info span {
  font-size: 0.78rem;
  color: #64748b;
}

.results-player-meta {
  margin-top: 0.5rem;
  display: grid;
  gap: 0.25rem;
  font-size: 0.82rem;
  color: #334155;
}

.results-media-wall {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.8rem;
}

.results-media-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  overflow: hidden;
  grid-column: span 3;
}

.results-media-card--featured {
  grid-column: span 6;
}

.results-media-card--tall {
  grid-row: span 2;
}

.results-media-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  cursor: pointer;
}

.results-media-card video {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  background: #0f172a;
}

.results-page.results-photo-xl .results-media-card img {
  aspect-ratio: 4 / 3;
  min-height: 220px;
}

.results-media-card p {
  padding: 0.5rem 0.65rem 0.7rem;
  font-size: 0.82rem;
  color: #475569;
}

.results-interviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.85rem;
}

.results-interview-card {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 12px;
  padding: 0.85rem;
}

.results-interview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.45rem;
}

.results-interview-media {
  margin: 0.3rem 0 0.55rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: #f8fafc;
}

.results-interview-media img,
.results-interview-media video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.results-stars {
  color: #d97706;
  font-size: 0.84rem;
}

.results-sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}

.results-sponsor-card {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 12px;
  padding: 0.85rem;
}

.results-sponsor-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.results-sponsor-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
}

.results-page.results-photo-xl .results-sponsor-gallery img {
  aspect-ratio: 3 / 2;
  min-height: 130px;
}

.results-empty {
  background: #fff;
  border: 1px dashed rgba(148, 163, 184, 0.5);
  color: #64748b;
  border-radius: 10px;
  padding: 0.8rem;
}

@media (max-width: 720px) {
  .results-hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .results-section {
    padding: 0 0.8rem;
  }
  .results-hero {
    padding: 1.4rem 0.8rem 0.8rem;
  }
  .results-podium-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
  .results-media-wall {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .results-media-card {
    grid-column: span 3;
  }
  .results-media-card--featured {
    grid-column: span 6;
  }
}

@media (max-width: 768px) {
  body.results-page .header--welcome.header--actions-end .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  body.results-page .header--welcome.header--actions-end .header-inner > .logo {
    grid-column: 1;
    grid-row: 1;
  }

  body.results-page .header--welcome.header--actions-end .header-inner > .nav {
    grid-column: 2;
    grid-row: 1;
    flex: 0 0 auto;
    width: auto;
    max-width: 52%;
    justify-content: flex-end;
  }

  body.pt-native-app.results-page .header--welcome.header--actions-end .header-inner > .nav {
    max-width: none;
  }

  body.results-page .header--welcome.header--actions-end .header-inner .auth-buttons {
    justify-content: flex-end;
  }

  .results-hero-meta {
    grid-template-columns: 1fr;
  }
  .results-hero-logo {
    width: 108px;
    height: 108px;
  }
  .results-section-title {
    font-size: 1.08rem;
  }
  .results-subtitle,
  .results-section-sub {
    font-size: 0.86rem;
  }
  .results-page.results-photo-xl .results-podium-card img {
    min-height: 240px;
  }
  .results-page.results-photo-xl .results-media-card img {
    min-height: 180px;
  }
}

@media (max-width: 480px) {
  .results-main {
    gap: 1rem;
    padding-bottom: 2rem;
  }
  .results-kicker {
    font-size: 0.72rem;
  }
  .results-hero h1 {
    font-size: 1.3rem;
  }
  .results-hero-grid,
  .results-section--alt .container-xl,
  .results-detail-card,
  .results-event-card,
  .results-player-card,
  .results-interview-card,
  .results-sponsor-card {
    border-radius: 10px;
  }
  .results-podium-grid,
  .results-players-grid,
  .results-interviews-grid,
  .results-sponsors-grid {
    grid-template-columns: 1fr;
  }
  .results-media-wall {
    grid-template-columns: 1fr;
  }
  .results-media-card,
  .results-media-card--featured {
    grid-column: 1 / -1;
  }
  .results-media-card--tall {
    grid-row: auto;
  }
  .results-page.results-photo-xl .results-podium-card img {
    min-height: 200px;
  }
}
