/* S1 homepage visual R11 — isolated candidate, not published.
   Linked last, after s1-home-visual-r10.css (and the frozen R9 /
   streamers CSS). Those earlier files are not rewritten.
   Hero right slot is an official لُولُو (70705575) live preview
   card. Featured platforms keep official logos and CTAs with
   more distinctive official taglines. Featured Streamers play
   official muted clips when in view. No invented online / viewer
   counts. No mock faces. No camera-icon placeholder. */

/* ---------- Hero: live preview card (replaces Kiss logo card) ---------- */
@media (min-width: 761px) {
  main > section.rh.first {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 400px);
    gap: 28px 36px;
    align-items: center;
    padding-top: 28px;
    padding-bottom: 18px;
  }
  main > section.rh.first .lead {
    max-width: none;
    min-width: 0;
  }
}

.s1-hero-live {
  position: relative;
  min-width: 0;
  box-sizing: border-box;
}

.s1-hero-live-frame {
  position: relative;
  box-sizing: border-box;
  padding: 3px;
  border-radius: 26px;
  background: linear-gradient(
    160deg,
    #ff8fb8 0%,
    #f0b45a 42%,
    #ff7e9a 72%,
    #e8a0ff 100%
  );
  box-shadow:
    0 0 0 1px rgba(240, 180, 90, 0.25),
    0 0 36px rgba(224, 105, 143, 0.42),
    0 18px 44px rgba(80, 20, 40, 0.35);
}

.s1-hero-live-inner {
  position: relative;
  box-sizing: border-box;
  padding: 12px 12px 14px;
  border-radius: 23px;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(224, 105, 143, 0.22), transparent 58%),
    linear-gradient(180deg, #24151c 0%, #120e14 100%);
  color: var(--txt, #f1eef4);
}

.s1-hero-live-video {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: min(56vh, 520px);
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  background: #0b0a0c;
}

.s1-hero-live-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  background: #0b0a0c;
}

.s1-hero-live-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px 4px 7px;
  border-radius: 999px;
  background: #166534;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.s1-hero-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: s1-live-pulse 1.8s ease-out infinite;
}

.s1-hero-live-label {
  margin: 10px 0 0;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.s1-hero-live-name {
  margin: 4px 0 12px;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
}

.s1-hero-live-name bdi {
  unicode-bidi: isolate;
}

.s1-hero-live-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px;
}

.s1-hero-live-cta {
  flex: 1 1 160px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, var(--rose, #e0698f), var(--berry, #b2416c));
  border: 0;
}

.s1-hero-live-cta:hover,
.s1-hero-live-cta:focus-visible {
  filter: brightness(1.06);
  color: #fff;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.s1-hero-live-details {
  flex: 0 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  text-decoration: none;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(241, 238, 244, 0.45);
}

.s1-hero-live-details:hover,
.s1-hero-live-details:focus-visible {
  border-color: #fff;
  color: #fff;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (max-width: 760px) {
  html.s1-mobile-ui-ready main > section.rh.first,
  html.s1-mobile-ui-ready main > .rh.first {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  html.s1-mobile-ui-ready main > section.rh.first .lead,
  html.s1-mobile-ui-ready main > .rh.first .lead {
    order: 1;
  }
  /* Preview card is the main first-screen visual, immediately
     under the short title. Hide the mobile lead / kicker / about
     copy so 320–430 show one complete card (video + CTA). */
  html.s1-mobile-ui-ready .s1-m-title {
    margin: 0 0 10px;
  }
  html.s1-mobile-ui-ready .s1-m-lead,
  html.s1-mobile-ui-ready main > section.rh.first .kicker,
  html.s1-mobile-ui-ready main > .rh.first .kicker,
  html.s1-mobile-ui-ready #s1-mobile-hero-copy,
  html.s1-mobile-ui-ready #s1-mobile-hero-copy[data-open="true"],
  html.s1-mobile-ui-ready #s1-mobile-hero-copy[data-open="false"] {
    display: none;
  }
  html.s1-mobile-ui-ready .s1-hero-actions {
    display: none;
  }
  html.s1-mobile-ui-ready .s1-hero-live {
    order: 2;
    margin: 0 0 8px;
    width: 100%;
  }
  html.s1-mobile-ui-ready .s1-hero-live-video {
    width: min(100%, calc(46vh * 3 / 4));
    max-height: 46vh;
    aspect-ratio: 3 / 4;
  }
  html.s1-mobile-ui-ready .s1-hero-live-actions {
    flex-direction: column;
  }
  html.s1-mobile-ui-ready .s1-hero-live-cta,
  html.s1-mobile-ui-ready .s1-hero-live-details {
    flex: 1 1 auto;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .s1-hero-live-dot {
    animation: none;
  }
}

/* ---------- Featured platforms: distinctive official taglines ---------- */
.s1-top3-card {
  padding: 24px 18px 20px;
}

.s1-top3-card.is-kiss {
  border-color: rgba(224, 105, 143, 0.7);
  box-shadow:
    0 0 0 1px rgba(224, 105, 143, 0.25),
    0 0 36px rgba(224, 105, 143, 0.38);
}

.s1-top3-card.is-livego {
  border-color: rgba(232, 186, 70, 0.7);
  box-shadow:
    0 0 0 1px rgba(232, 186, 70, 0.22),
    0 0 36px rgba(212, 175, 55, 0.32);
}

.s1-top3-card.is-yoyo {
  border-color: rgba(96, 160, 230, 0.62);
  box-shadow:
    0 0 0 1px rgba(96, 160, 230, 0.22),
    0 0 36px rgba(80, 140, 220, 0.3);
}

.s1-top3-logo {
  width: 96px;
  height: 96px;
  margin: 0 0 12px;
  border-radius: 28px;
}

.s1-top3-card.is-kiss .s1-top3-logo {
  box-shadow: 0 0 24px rgba(224, 105, 143, 0.45);
  border-color: rgba(224, 105, 143, 0.35);
}

.s1-top3-card.is-livego .s1-top3-logo {
  box-shadow: 0 0 24px rgba(232, 186, 70, 0.4);
  border-color: rgba(232, 186, 70, 0.35);
}

.s1-top3-card.is-yoyo .s1-top3-logo {
  box-shadow: 0 0 24px rgba(96, 160, 230, 0.4);
  border-color: rgba(96, 160, 230, 0.35);
}

.s1-top3-logo img {
  width: 70px;
  height: 70px;
}

.s1-top3-name {
  margin: 0 0 8px;
  font-size: 1.28rem;
}

.s1-top3-tag {
  display: inline-block;
  margin: 0 0 10px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: #fff;
}

.s1-top3-card.is-kiss .s1-top3-tag {
  background: rgba(178, 65, 108, 0.95);
}

.s1-top3-card.is-livego .s1-top3-tag {
  background: rgba(150, 110, 24, 0.95);
}

.s1-top3-card.is-yoyo .s1-top3-tag {
  background: rgba(40, 90, 160, 0.95);
}

.s1-top3-sell {
  margin: 0 0 6px;
  font-size: 14.5px;
  color: var(--txt, #f1eef4);
}

/* ---------- Featured Streamers: tighter live cards + official video ---------- */
#s1-home-streamers .sd-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

#s1-home-streamers .sc {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
}

#s1-home-streamers .sc .main {
  aspect-ratio: 3 / 4;
  border-radius: 16px 16px 0 0;
}

#s1-home-streamers .sc .main video.s1-sc-video,
#s1-home-streamers .sc .main img.m {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #111;
}

/* shofiy official stills/clips are full-body; crop toward the face
   without inventing a new photo. */
#s1-home-streamers .sc[data-streamer-id="78910357"] .s1-sc-video,
#s1-home-streamers .sc[data-streamer-id="78910357"] img.m {
  object-position: 50% 16%;
  transform: scale(1.85);
  transform-origin: 50% 16%;
}

#s1-home-streamers .sc[data-streamer-id="70705575"] .s1-sc-video,
#s1-home-streamers .sc[data-streamer-id="70705575"] img.m {
  object-position: 50% 18%;
}

#s1-home-streamers .sc[data-streamer-id="77449887"] .s1-sc-video,
#s1-home-streamers .sc[data-streamer-id="77449887"] img.m {
  object-position: 50% 30%;
}

#s1-home-streamers .sc[data-streamer-id="76537816"] .s1-sc-video,
#s1-home-streamers .sc[data-streamer-id="76537816"] img.m {
  object-position: 50% 20%;
}

@media (max-width: 1099px) and (min-width: 761px) {
  #s1-home-streamers .sd-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 760px) {
  #s1-home-streamers .sd-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
  }
  #s1-home-streamers .sc {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  #s1-home-streamers .sc .name {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }
}

@media (prefers-reduced-motion: reduce) {
  #s1-home-streamers .s1-sc-live-dot {
    animation: none;
  }
  #s1-home-streamers .sc:hover {
    transform: none;
  }
}
