/* Streamers: one quiet card per streamer, rendered by streamers.js. Mobile first. */
.streamers-section[hidden] {
  display: none !important;
}
:root[data-ui-theme] .streamers-section .section-heading {
  margin-bottom: 44px !important;
}
:root[data-ui-theme] .streamers-sub {
  max-width: 560px;
  margin: 18px auto 26px;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.012em;
  color: var(--body-text);
  text-wrap: balance;
}
@media (min-width: 701px) {
  :root[data-ui-theme] .streamers-sub {
    font-size: 20px;
  }
}
/* The shared stream is the main call to action: same chrome pill as the live tile. */
:root[data-ui-theme] #streamers .button.streamers-discord,
:root[data-ui-theme] #streamers .button.streamers-discord:hover {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  gap: 11px;
  border: 1px solid var(--ict-chrome-edge) !important;
  border-radius: 999px;
  background: var(--ict-chrome) !important;
  color: var(--ict-chrome-ink) !important;
  font: 600 16px var(--f-body);
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), var(--ict-chrome-glow) !important;
}
:root[data-ui-theme] #streamers .button.streamers-discord:hover {
  background: var(--ict-chrome-hover) !important;
  transform: translateY(-2px);
}
:root[data-ui-theme] #streamers .streamers-discord .fa-discord {
  font-size: 18px;
  color: var(--ict-discord-icon) !important;
}
.streamer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  max-width: 1040px;
  margin: 0 auto;
}
.streamer-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  grid-template-areas:
    "avatar text"
    "avatar links";
  column-gap: 16px;
  row-gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(110% 70% at 50% 0%, rgba(255, 255, 255, 0.035), transparent 62%),
    linear-gradient(180deg, #0d0d10 0%, #070708 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: border-color 200ms ease;
}
.streamer-card:hover {
  border-color: var(--ict-line-hover, #34343c);
}
.streamer-card.is-placeholder {
  border-style: dashed;
  opacity: 0.6;
}
.streamer-avatar {
  grid-area: avatar;
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border: 1px solid #24242b;
  border-radius: 50%;
  background: #111114;
  color: var(--muted);
  font: 600 22px/1 var(--f-body, sans-serif);
}
.streamer-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.15);
}
.streamer-text {
  grid-area: text;
  min-width: 0;
}
.streamer-name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  margin: 0;
  font: 600 18px/1.2 var(--f-body, sans-serif);
  letter-spacing: -0.02em;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.streamer-role {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: 500 10px/1 var(--f-mono, monospace);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.streamer-handle {
  margin: 4px 0 0;
  font: 400 12px/1.3 var(--f-mono, monospace);
  color: var(--muted);
  overflow-wrap: anywhere;
}
.streamer-line {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--body-text);
}
.streamer-links {
  grid-area: links;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.streamer-link {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--body-text);
  font-size: 14px;
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}
.streamer-link:hover {
  color: var(--ink);
  border-color: var(--ict-line-hover, #34343c);
  background: rgba(255, 255, 255, 0.04);
}
/* X: bright white glyph on a slightly lifted chip. YouTube: brand red. */
.streamer-link--x {
  color: #fff;
  border-color: #3a3a42;
  background: rgba(255, 255, 255, 0.07);
}
.streamer-link--x:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #55555e;
}
.streamer-link--youtube {
  color: #d9464f;
  border-color: #3a3a42;
  background: rgba(255, 255, 255, 0.07);
}
/* White play triangle like the real logo: a white block sits behind the glyph's cut-out. */
.streamer-link--youtube i {
  position: relative;
  isolation: isolate;
}
.streamer-link--youtube i::after {
  content: "";
  position: absolute;
  inset: 30% 28%;
  background: #cfcfd4;
  z-index: -1;
}
.streamer-link--youtube:hover {
  color: #e5555d;
  border-color: #55555e;
  background: rgba(255, 255, 255, 0.14);
}
.streamer-cta {
  margin: 32px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
.streamer-cta a {
  color: var(--ink);
  text-underline-offset: 3px;
}

@media (min-width: 640px) {
  .streamer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .streamer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .streamer-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "avatar"
      "text"
      "links";
    align-content: start;
    justify-items: center;
    text-align: center;
    row-gap: 16px;
    padding: 28px 22px 24px;
  }
  .streamer-avatar {
    width: 84px;
    height: 84px;
  }
  .streamer-name {
    justify-content: center;
  }
  .streamer-links {
    justify-content: center;
    align-self: end;
  }
}
/* Phones: two compact centered cards per row. */
@media (max-width: 640px) {
  .streamer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .streamer-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "avatar"
      "text"
      "links";
    justify-items: center;
    text-align: center;
    row-gap: 10px;
    padding: 16px 10px 14px;
    border-radius: 18px;
  }
  .streamer-avatar {
    width: 52px;
    height: 52px;
  }
  .streamer-name {
    justify-content: center;
    font-size: 15px;
  }
  .streamer-handle {
    font-size: 11px;
  }
  .streamer-links {
    justify-content: center;
    gap: 6px;
  }
  .streamer-link {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .streamer-card,
  .streamer-link {
    transition: none;
  }
}
