/* Compact tools: the live tile carries the section; indicators and the
   journal sit below it as two small tiles under an "Also free" label. */
:root[data-ui-theme] .tools-label {
  grid-column: 1 / -1;
  margin: 26px 0 2px;
  font: 500 12px/1 var(--f-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  scroll-margin-top: 150px;
}
:root[data-ui-theme] .bento-compact {
  --bento-pad: 20px;
  border-radius: 18px;
}
:root[data-ui-theme] .bento-compact .bento-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}
:root[data-ui-theme] .bento-compact .bento-title {
  margin: 0;
  font-size: 17px;
}
:root[data-ui-theme] .bento-compact .indicators-lede {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* Indicators: names only, as small pills that still open the viewer. */
:root[data-ui-theme] #indicators.bento-compact .indicator-browser {
  margin: 14px 0 0;
  border-top: 0;
}
:root[data-ui-theme] #indicators.bento-compact .indicator-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
:root[data-ui-theme] #indicators.bento-compact .indicator-tab,
:root[data-ui-theme] #indicators.bento-compact .indicator-tab[hidden] {
  display: inline-flex;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
:root[data-ui-theme] #indicators.bento-compact .indicator-tab::before,
:root[data-ui-theme] #indicators.bento-compact .indicator-glyph,
:root[data-ui-theme] #indicators.bento-compact .indicator-num,
:root[data-ui-theme] #indicators.bento-compact .indicator-blurb,
:root[data-ui-theme] #indicators.bento-compact .indicator-open,
:root[data-ui-theme] #indicators.bento-compact .indicator-more {
  display: none !important;
}
:root[data-ui-theme] #indicators.bento-compact .indicator-text {
  display: block;
}
:root[data-ui-theme] #indicators.bento-compact .indicator-tab-name {
  font-size: 13px;
}
:root[data-ui-theme] #indicators.bento-compact .indicator-tab:hover {
  border-color: var(--ict-line-hover);
}

/* Journal: one line and a link. */
:root[data-ui-theme] .bento-journal.bento-compact {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
:root[data-ui-theme] .bento-journal.bento-compact .bento-body {
  margin-top: 14px;
}
:root[data-ui-theme] .bento-journal.bento-compact .journal-link {
  min-height: 36px;
  font-size: 13px;
}

@media (min-width: 701px) {
  :root[data-ui-theme] .bento-compact.bento-indicators {
    grid-column: span 8;
  }
  :root[data-ui-theme] .bento-compact.bento-journal {
    grid-column: span 4;
  }
}
@media (min-width: 701px) and (max-width: 1000px) {
  :root[data-ui-theme] .bento-compact.bento-indicators,
  :root[data-ui-theme] .bento-compact.bento-journal {
    grid-column: 1 / -1;
  }
  :root[data-ui-theme] .bento-journal.bento-compact {
    display: flex;
  }
}

/* Journal link stays quiet so the Discord button is the only loud one. */
:root[data-ui-theme] .bento-journal.bento-compact .journal-link {
  justify-content: flex-start;
  width: auto;
  padding: 0;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: var(--ink) !important;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--line);
}

/* Streamers + Discord in one section; tools sit in their own small section below. */
:root[data-ui-theme] .streamers-combined .combined-live {
  margin-top: 18px;
}
:root[data-ui-theme] .tools-section {
  padding: 8px 0 72px;
}
:root[data-ui-theme] .tools-section .tools-label {
  margin-top: 0;
}

/* Condensed streamers on phones and tablets: one slim row per streamer
   (avatar, name and handle, icons on the right), then a tighter live tile. */
@media (max-width: 1099px) {
  :root .streamers-combined .streamer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    max-width: 640px;
  }
  :root .streamers-combined .streamer-card {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    grid-template-areas: "avatar text links";
    justify-items: start;
    text-align: left;
    column-gap: 12px;
    row-gap: 0;
    padding: 10px 12px;
    border-radius: 16px;
  }
  :root .streamers-combined .streamer-avatar {
    width: 44px;
    height: 44px;
  }
  :root .streamers-combined .streamer-name {
    justify-content: flex-start;
    font-size: 15px;
  }
  :root .streamers-combined .streamer-handle {
    margin-top: 2px;
    font-size: 11.5px;
  }
  :root .streamers-combined .streamer-links {
    justify-content: flex-end;
    gap: 6px;
  }
  :root .streamers-combined .streamer-link {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }
  :root[data-ui-theme] .streamers-combined .combined-live {
    max-width: 640px;
    margin: 12px auto 0;
  }
  :root[data-ui-theme] .streamers-combined .bento-live {
    --bento-pad: 18px;
  }
  :root[data-ui-theme] .streamers-combined .bento-live .bento-title {
    font-size: 22px;
  }
  :root[data-ui-theme] .streamers-combined .bento-live .bento-shot,
  :root[data-ui-theme] .streamers-combined .bento-live .bento-body {
    margin-top: 14px;
  }
}

/* Smaller live tile: short title, no bullet list, compact button. */
:root[data-ui-theme] .streamers-combined .bento-live {
  --bento-pad: 20px;
}
:root[data-ui-theme] .streamers-combined .bento-live .bento-label {
  margin-bottom: 8px;
  font-size: 12px;
}
:root[data-ui-theme] .streamers-combined .bento-live .bento-title {
  font-size: 20px !important;
  line-height: 1.2;
}
:root[data-ui-theme] .streamers-combined .bento-live .bento-shot,
:root[data-ui-theme] .streamers-combined .bento-live .bento-body {
  margin-top: 14px;
}
:root[data-ui-theme] .streamers-combined .bento-live .bento-discord {
  min-height: 46px;
  font-size: 15px;
}
:root[data-ui-theme] .streamers-combined .bento-live .streamer-invite {
  margin-top: 10px;
  font-size: 13px;
}
@media (min-width: 1001px) {
  :root[data-ui-theme] .streamers-combined .bento-live {
    --bento-pad: 24px;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    column-gap: 28px;
  }
  :root[data-ui-theme] .streamers-combined .bento-live .bento-title {
    font-size: 24px !important;
  }
}
/* Compact hero (2026-11-08): less scroll before the shop. */
@media (min-width: 901px) {
  :root[data-ui-theme] .hero > .ict-hero { height: min(24vw, 30vh); }
}
@media (max-width: 900px) {
  :root[data-ui-theme] .hero > .ict-hero { aspect-ratio: 2.4 / 1; }
}
@media (max-width: 700px) {
  :root[data-ui-theme] .hero > .ict-hero { aspect-ratio: 390 / 210; }
  :root[data-ui-theme] .hero { padding-bottom: 28px !important; }
  :root[data-ui-theme] .hero-copy { padding-top: 4px; }
  :root[data-ui-theme] .hero h1 { font-size: clamp(34px, 10vw, 44px) !important; }
  :root[data-ui-theme] .hero .hero-lede { margin-top: 8px !important; font-size: 15px !important; }
  :root[data-ui-theme] .hero .hero-actions { margin-top: 18px !important; }
  :root[data-ui-theme] .hero .hero-actions .hero-discord,
  :root[data-ui-theme] .hero .hero-actions .hero-discord.cd-wrapped {
    padding-top: 12px !important;
    font-size: 15px !important;
  }
}

/* Streamers heading: smaller than the hero headline, less gap above. */
:root[data-ui-theme] .streamers-combined #streamers-title {
  font-size: clamp(24px, 3vw, 34px) !important;
  line-height: 1.1 !important;
}
:root[data-ui-theme] .streamers-combined .streamers-sub {
  margin-top: 6px;
  font-size: 14px;
}
:root[data-ui-theme] .streamers-combined .section-heading {
  margin-bottom: 18px !important;
}
:root[data-ui-theme] .streamers-combined .ict-eyebrow {
  margin-bottom: 8px;
  font-size: 10.5px;
}
@media (max-width: 700px) {
  :root[data-ui-theme] .streamers-section.streamers-combined {
    padding-top: 28px;
  }
}

/* Desktop live tile: copy and button sit together, centred beside the screenshot. */
@media (min-width: 1001px) {
  :root[data-ui-theme] .streamers-combined .bento-live {
    grid-template-rows: 1fr auto auto 1fr;
    grid-template-areas:
      ".    shot"
      "head shot"
      "body shot"
      ".    shot";
    align-items: start;
  }
  :root[data-ui-theme] .streamers-combined .bento-live .bento-body {
    align-self: start;
    margin-top: 22px;
  }
}

/* Sound toggle: small, top right of the hero. */
.ict-hero__sound {
  top: 10px !important;
  bottom: auto !important;
  right: 10px !important;
  height: 20px !important;
  gap: 4px !important;
  padding: 0 7px 0 6px !important;
  font-size: 9px !important;
}
.ict-hero__sound svg, .ict-hero__eq { transform: scale(0.7); }

/* Sound toggle: icon only, tiny round button. */
.ict-hero__sound {
  width: 26px !important;
  height: 26px !important;
  padding: 0 !important;
  justify-content: center !important;
  opacity: 0.7;
}
.ict-hero__sound:hover { opacity: 1; }
.ict-hero__sound-label { display: none !important; }
.ict-hero__sound svg, .ict-hero__eq { transform: none; }

/* Narrow phones: streamer names wrap at word breaks, smaller icons. */
@media (max-width: 420px) {
  :root .streamers-combined .streamer-card { grid-template-columns: 38px minmax(0, 1fr) auto; column-gap: 10px; }
  :root .streamers-combined .streamer-avatar { width: 38px; height: 38px; }
  :root .streamers-combined .streamer-name { font-size: 14px; overflow-wrap: normal; word-break: normal; }
  :root .streamers-combined .streamer-handle { font-size: 11px; overflow-wrap: anywhere; }
  :root .streamers-combined .streamer-link { width: 30px; height: 30px; }
}
