/* S2 homepage featured streamers T11e — tighter two-up mobile photo cards.
   Desktop keeps the accepted T11 three-card layout. Mobile only: two
   nearly complete narrow 4/5 photo cards, tighter spacing, and paging
   by the two real scroll positions (not a fake 3/3). Name + platform
   and one View Profile stay on the face; ID/Copy/Watch/languages stay
   in More. No photo-count, thumbs, Explore Photos, or status badge. */

.sd .count,
.sd .thumbs,
.sd .go {
  display: none;
}

/* Desktop / tablet card chrome (unchanged T11 crop and contrast). */
.sd .main {
  aspect-ratio: 4 / 3;
  cursor: default;
}

.sd .sc {
  padding: 8px;
}

.sd .info {
  display: block;
  padding: 10px 6px 2px;
  min-height: 0;
}

.sd .name {
  font-size: 18px;
  color: var(--txt, #f1eef4);
}

.sd .meta {
  color: var(--mute, #a49eae);
  font-size: 13px;
  margin-top: 2px;
  white-space: normal;
}

.sd .sc .pfl {
  color: var(--mute, #a49eae);
  margin-top: 8px;
  font-size: 13px;
  gap: 6px 10px;
}

.sd .sc .pfl b,
.sd .sc .uid code,
.sd .sc .cp {
  color: var(--txt, #f1eef4);
}

.sd .sc .uid code {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.32);
  padding: 5px 7px;
}

.sd .sc .cp {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.10);
  padding: 6px 10px;
  min-height: 32px;
}

.sd .sc .cp:hover,
.sd .sc .cp:focus-visible {
  color: #fff;
  border-color: #e8e2ef;
  background: rgba(255, 255, 255, 0.18);
}

.sd .cta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 6px 6px;
}

.sd .btn {
  flex: 1 1 140px;
  min-height: 44px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--txt, #f1eef4);
}

.sd .btn.pri {
  background: #efeaf2;
  color: #19161c;
  border-color: #efeaf2;
  font-weight: 700;
}

.sd .sc .cp:focus-visible,
.sd .btn:focus-visible,
.sd .btn.pri:focus-visible,
.sd-more:focus-visible,
.s2-hosts-nav:focus-visible,
.s2-hosts-more > summary:focus-visible {
  outline: 3px solid #e0698f;
  outline-offset: 2px;
}

.sd .btn:not(.pri):hover,
.sd .btn:not(.pri):focus-visible {
  color: var(--txt, #f1eef4);
  border-color: #c5bdd0;
  background: rgba(255, 255, 255, 0.10);
}

.sd .btn.pri:hover,
.sd .btn.pri:focus-visible {
  background: #fff;
  color: #19161c;
}

/* Desktop keeps the full card; More is a mobile-only disclosure. */
.s2-hosts-controls,
.s2-hosts-more {
  display: none;
}

@media (max-width: 1020px) {
  .sd .name {
    font-size: 17px;
  }
}

/* Mobile only: two nearly complete narrow photo cards, compact chrome. */
@media (max-width: 640px) {
  .sd .sd-top,
  .sd .sd-brand {
    display: none;
  }

  .sd .sd-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin: 0 0 8px;
  }

  .sd .sd-head > div {
    min-width: 0;
    flex: 1 1 auto;
  }

  .sd .sd-head h2 {
    font-size: 18px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sd .sd-head p {
    display: none;
  }

  .sd .sd-more {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 13px;
  }

  .sd .s2-hosts-rail {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    padding: 0;
  }

  .sd .s2-hosts-rail::-webkit-scrollbar {
    display: none;
  }

  /* Two almost-complete cards: (100% - gap) / 2. Photo capped at 200px tall. */
  .sd .s2-hosts-rail > .sc {
    flex: 0 0 calc((100% - 8px) / 2);
    max-width: calc((100% - 8px) / 2);
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto auto;
    align-items: start;
    gap: 4px 8px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
  }

  .sd .s2-hosts-rail > .sc:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
  }

  .sd .s2-hosts-rail .main {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 4 / 5;
    max-height: 200px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    cursor: default;
  }

  .sd .s2-hosts-rail .main:after {
    height: 18%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.3));
  }

  .sd .s2-hosts-rail .info,
  .sd .s2-hosts-rail .info > div,
  .sd .s2-hosts-rail .pfl,
  .sd .s2-hosts-rail .cta {
    display: contents;
  }

  .sd .s2-hosts-rail .name {
    grid-column: 1 / -1;
    grid-row: 2;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    font-size: 15px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Platform name as a light tag; "Platform:" label is visually dropped. */
  .sd .s2-hosts-rail .pf {
    grid-column: 1;
    grid-row: 3;
    align-self: center;
    min-width: 0;
    font-size: 0;
    line-height: 0;
  }

  .sd .s2-hosts-rail .pf b {
    font-size: 12px;
    line-height: 1.3;
    font-weight: 600;
    color: var(--mute, #a49eae);
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    padding: 3px 8px;
    overflow-wrap: anywhere;
  }

  .sd .s2-hosts-rail .meta,
  .sd .s2-hosts-rail .uid {
    display: none;
  }

  .sd .s2-hosts-rail .btn.pri {
    grid-column: 1 / -1;
    grid-row: 4;
    flex: none;
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    font-size: 13px;
    padding: 8px 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sd .s2-hosts-rail .cta .btn:not(.pri) {
    display: none;
  }

  /* More sits on the platform row so it does not add a tall extra band. */
  .sd .s2-hosts-rail .s2-hosts-more {
    display: block;
    grid-column: 2;
    grid-row: 3;
    align-self: center;
    margin: 0;
    padding: 0;
    justify-self: end;
  }

  .sd .s2-hosts-rail .s2-hosts-more > summary {
    list-style: none;
    cursor: pointer;
    box-sizing: border-box;
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    color: var(--mute, #a49eae);
    font-size: 13px;
    font-weight: 600;
    padding: 0 2px;
    white-space: nowrap;
  }

  .sd .s2-hosts-rail .s2-hosts-more > summary::-webkit-details-marker {
    display: none;
  }

  .sd .s2-hosts-rail .s2-hosts-more > summary::after {
    content: "+";
    font-weight: 500;
    font-size: 15px;
  }

  .sd .s2-hosts-rail .s2-hosts-more[open] > summary::after {
    content: "–";
  }

  .sd .s2-hosts-rail > .sc:has(.s2-hosts-more[open]) .meta {
    display: block;
    grid-column: 1 / -1;
    grid-row: 5;
    min-width: 0;
    font-size: 13px;
    line-height: 1.35;
    margin: 0;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    overflow-wrap: break-word;
  }

  .sd .s2-hosts-rail > .sc:has(.s2-hosts-more[open]) .uid {
    display: inline-flex;
    grid-column: 1 / -1;
    grid-row: 6;
    flex: 0 1 auto;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0;
    min-width: 0;
    max-width: 100%;
  }

  .sd .s2-hosts-rail > .sc:has(.s2-hosts-more[open]) .uid code {
    font-size: 12.5px;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sd .s2-hosts-rail > .sc:has(.s2-hosts-more[open]) .cp {
    font-size: 13px;
    flex: 0 0 auto;
    min-height: 44px;
    padding: 8px 12px;
  }

  .sd .s2-hosts-rail > .sc:has(.s2-hosts-more[open]) .cta .btn:not(.pri) {
    display: inline-flex;
    grid-column: 1 / -1;
    grid-row: 7;
    flex: none;
    width: 100%;
    min-height: 44px;
    font-size: 13px;
    white-space: nowrap;
  }

  .s2-hosts-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 4px;
  }

  .s2-hosts-nav {
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: transparent;
    color: #f1eef4;
    font-size: 26px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .s2-hosts-nav:hover,
  .s2-hosts-nav:focus-visible {
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
  }

  .s2-hosts-nav:disabled,
  .s2-hosts-nav[aria-disabled="true"] {
    opacity: 0.38;
    cursor: default;
    pointer-events: none;
  }

  .s2-hosts-status {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 2.5em;
  }

  .s2-hosts-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.28);
  }

  .s2-hosts-dot.is-active {
    background: #f1eef4;
  }
}

@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  .sd .s2-hosts-rail {
    scroll-behavior: auto;
  }
}

/* FAQ title and answers left-aligned; copy unchanged. */
.s2-faq {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
}

.s2-faq h2,
.s2-faq details.card,
.s2-faq details.card summary,
.s2-faq details.card p {
  text-align: left;
}

.s2-faq details.card summary {
  display: block;
  list-style-position: outside;
}
