/* Sponsor placements — horizontal banner desktop, square mobile */

.ad-slot {
  position: relative;
  margin: 0.85rem 0;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-md, 10px);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.ad-slot-label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted, #94a3b8);
  margin-bottom: 0.45rem;
}

.ad-slot-creative-mobile {
  display: none;
}

.ad-slot-creative-desktop,
.ad-slot-creative-mobile {
  width: 100%;
}

.ad-slot-banner .sponsor-creative-img,
.ad-slot-banner .sponsor-creative-video,
.ad-slot-banner .sponsor-creative-embed {
  width: 100%;
  max-width: 100%;
}

.ad-slot-banner .sponsor-creative-img img {
  width: 100%;
  max-height: 90px;
  object-fit: cover;
  border-radius: 8px;
}

.ad-slot-square .sponsor-creative-img img,
.ad-slot-creative-mobile .sponsor-creative-square img {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  margin: 0 auto;
  display: block;
}

.sponsor-creative-video {
  width: 100%;
  max-height: 120px;
  border-radius: 8px;
  object-fit: cover;
}

.sponsor-creative-youtube iframe,
.sponsor-creative-instagram {
  width: 100%;
  max-width: 560px;
  min-height: 180px;
  border: 0;
  border-radius: 8px;
}

.sponsor-creative-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.sponsor-house-pro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.ad-slot-footer {
  margin-top: 1rem;
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .ad-slot-creative-desktop {
    display: none;
  }

  .ad-slot-creative-mobile {
    display: block;
  }

  .ad-slot-banner .sponsor-creative-img img {
    max-height: none;
  }
}

/* Loading screen — larger responsive panel + sponsor placeholders */

.loading-screen .bg-slow-load-panel,
.loading-screen-panel {
  gap: 1.35rem;
  max-width: min(44rem, 94vw) !important;
  width: 100%;
}

.loading-screen-logo {
  width: auto;
  height: auto;
  max-width: min(12.5rem, 72vw);
  max-height: 2.75rem;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

.loading-screen .bg-slow-load-bar.page-load-bar,
.loading-screen-bar {
  width: min(28rem, 86vw);
  height: 7px;
}

.loading-screen-sponsor {
  margin-top: 0.35rem;
  max-width: min(40rem, 94vw);
  width: 100%;
  padding: 0.85rem 1rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(224, 176, 64, 0.18);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.loading-screen-sponsor-mobile {
  display: none;
}

.loading-screen-sponsor-inner {
  width: 100%;
}

.loading-screen-sponsor-desktop .sponsor-creative-img img,
.loading-screen-placeholder-banner {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 100px;
  max-height: min(180px, 24vw);
  aspect-ratio: 728 / 120;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.loading-screen-sponsor-desktop .sponsor-creative-video {
  width: 100%;
  max-height: min(180px, 24vw);
  aspect-ratio: 728 / 120;
  object-fit: cover;
  border-radius: 12px;
}

.loading-screen-sponsor-desktop .sponsor-creative-youtube iframe {
  width: 100%;
  min-height: min(180px, 24vw);
  aspect-ratio: 728 / 120;
  border-radius: 12px;
}

.loading-screen-sponsor-mobile .sponsor-creative-img img,
.loading-screen-placeholder-square {
  display: block;
  width: min(360px, 88vw);
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.loading-screen-sponsor-mobile .sponsor-creative-video {
  width: min(360px, 88vw);
  margin: 0 auto;
  display: block;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
}

.loading-screen-sponsor .sponsor-house-pro {
  padding: 0.5rem 0;
  font-size: 1rem;
}

.loading-screen.is-hiding {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 640px) {
  .loading-screen .bg-slow-load-panel,
  .loading-screen-panel {
    max-width: min(24rem, 96vw) !important;
    gap: 1.1rem;
  }

  .loading-screen-sponsor {
    max-width: 100%;
    padding: 0.75rem 0.65rem 0.85rem;
  }

  .loading-screen-sponsor-desktop {
    display: none;
  }

  .loading-screen-sponsor-mobile {
    display: block;
  }

  .loading-screen-sponsor-mobile .sponsor-creative-img img,
  .loading-screen-placeholder-square {
    width: min(340px, 92vw);
    min-height: min(340px, 92vw);
  }
}

@media (min-width: 900px) {
  .loading-screen-sponsor-desktop .sponsor-creative-img img,
  .loading-screen-placeholder-banner {
    max-height: 200px;
  }
}

