/* The staging homepage uses the live layout with the two caption previews. */
html:root body.landing-caption-preview :is(#gb-how, .apartment-portal-page) .setup-paste .setup-card-links a {
  color: #a96012 !important;
}
html:root[data-control-theme=night] body.landing-caption-preview :is(#gb-how, .apartment-portal-page) .setup-paste .setup-card-links a {
  color: #ffc46b !important;
}
.landing-caption-preview .setup-connect-options a {
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.landing-caption-preview #video-discovery-notice,
.landing-caption-preview #irlHubLaunchBanner {
  display: none !important;
}
.landing-caption-preview .stream-pass-quantity select[hidden] {
  display: none !important;
}
.landing-caption-preview .stream-pass-quantity {
  display: flex;
  flex-wrap: wrap;
}
.landing-caption-preview .stream-pass-choices {
  display: flex;
  gap: 5px;
}
.landing-caption-preview .stream-pass-choices button {
  appearance: none;
  border: 1px solid currentColor;
  border-radius: 9px;
  padding: 8px 12px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.landing-caption-preview .stream-pass-choices button[aria-pressed="true"] {
  background: #111;
  color: #fff;
}
.landing-caption-preview .stream-pass-quantity input {
  width: 80px;
  flex: 0 0 80px;
}
.landing-caption-preview .stream-pass-quantity output {
  flex-basis: 100%;
}
html:root .landing-caption-preview :is(#gb-how, .apartment-portal-page) .software-static .software-category .ll-item {
  background: #fff !important;
  color: #111 !important;
  border-color: #aaa !important;
}
html:root .landing-caption-preview :is(#gb-how, .apartment-portal-page) .software-static .software-category .ll-item:hover {
  background: #f4f4f4 !important;
  border-color: #111 !important;
}
.landing-caption-preview #apartment-website-portal.portal-expanding .ll-item[data-portal-link][href] {
  pointer-events: auto;
  cursor: pointer;
}
html:root body.landing-caption-preview .hero-title > .hero-video-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 660px);
  gap: clamp(4px, 1vw, 7px);
  margin-inline: auto;
  transform: none;
}
html:root body.landing-caption-preview .hero-title > .hero-video-links > .extension-badge {
  grid-column: auto;
  justify-self: stretch;
  width: 100% !important;
}
.landing-caption-preview .hero-title .caption-launch-pills {
  margin-bottom: 12px;
}
.landing-caption-preview .hero-title .caption-launch-pills .extension-badge {
  background: #d4f5e5;
  border-color: #d4f5e5;
}
.landing-caption-preview .hero-title .caption-launch-pills .native-cc-launch-pill {
  background: #eadfff;
  border-color: #eadfff;
}
.landing-caption-preview .hero-title .caption-launch-pills .audience-map-launch-pill {
  background: #fff0d9;
  border-color: #fff0d9;
}
.landing-caption-preview .hero-title .caption-launch-pills .extension-badge:hover {
  text-decoration: underline;
}
html:root body.landing-caption-preview :is(#gb-how, .apartment-portal-page) .setup-live-sample .setup-go-preview {
  background: #fff !important;
  border: 2px solid #111 !important;
  border-radius: 8px;
  color: #111 !important;
  cursor: default;
  transform: none !important;
  box-shadow: none !important;
  transition: none !important;
}
html:root .landing-caption-preview :is(#gb-how, .apartment-portal-page) .setup-secondary-grid > .setup-twitch-callout {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch;
}
html:root .landing-caption-preview .setup-twitch-callout .viewer-caption-option {
  container-type: inline-size;
}
html:root .landing-caption-preview .setup-twitch-callout .viewer-caption-option h3 {
  font-size: 14px !important;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: clamp(9px, 3.7cqi, 15px) !important;
}
.landing-caption-preview .viewer-caption-help {
  position: relative;
  isolation: isolate;
  display: inline-grid;
  place-items: center;
  flex: 0 0 24px;
  min-height: 24px;
  color: #171717;
  font: 700 11px/1 system-ui, sans-serif;
  text-decoration: none;
}
.landing-caption-preview .viewer-caption-help::before {
  position: absolute;
  inset: 3px;
  z-index: -1;
  border: 1px solid #171717;
  border-radius: 50%;
  background: #fff;
  content: "";
}
.landing-caption-preview .viewer-caption-help:hover,
.landing-caption-preview .viewer-caption-help:focus-visible {
  color: #fff;
}
.landing-caption-preview .viewer-caption-help:hover::before,
.landing-caption-preview .viewer-caption-help:focus-visible::before {
  background: #171717;
}
html:root .landing-caption-preview .setup-twitch-callout .viewer-caption-option .setup-extension-cover {
  min-height: 84px;
  margin-block: 0;
}
html:root .landing-caption-preview .setup-twitch-callout .setup-extension-cover > span {
  font-size: clamp(11px, 4cqi, 16px) !important;
  line-height: 1.35;
}
@media (min-width: 851px) {
  html:root .landing-caption-preview .setup-twitch-callout .viewer-caption-option {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    height: auto;
    row-gap: 12px;
  }
}
.landing-caption-preview .native-cc-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 36px;
  flex: 0 0 44px;
  border: 2px solid #111;
  border-radius: 6px;
  color: #111;
}
html:root .landing-caption-preview .viewer-caption-option.native-cc-option .setup-install {
  background: #fff !important;
  border-color: #171717 !important;
  color: #111 !important;
}
@media (min-width: 1001px) {
  .landing-caption-preview .setup-secondary-grid > .setup-twitch-callout {
    margin-inline: -16px;
  }
}
@media (max-width: 850px) {
  html:root .landing-caption-preview :is(#gb-how, .apartment-portal-page) .setup-secondary-grid > .setup-twitch-callout {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
@media (max-width: 700px) {
  html:root body.landing-caption-preview .hero-title > .hero-video-links > .extension-badge {
    height: auto !important;
    max-height: none !important;
    font-size: 7.5px;
    white-space: normal;
  }
}
@media (1001px <= width < 1100px) {
  .landing-caption-preview #gb-features .cap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
html:root body.landing-caption-preview #gb-features {
  padding-bottom: 24px !important;
}
.landing-caption-preview #gb-features .gb-section-eyebrow {
  margin: 0 0 20px;
  font-size: clamp(24px, 2.56vw, 35.2px);
}
.landing-caption-preview #gb-features .cap-grid {
  margin-top: 12px;
}
.landing-caption-preview #gb-features .cap-realtime {
  --feature-color: #2469bd;
}
.landing-caption-preview #gb-features .cap-languages {
  --feature-color: #22613b;
}
.landing-caption-preview .landing-world-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(190px, 34%, 255px);
  align-items: center;
  gap: 12px;
  max-width: 828px;
  margin-inline: auto;
  padding: 8px 8px 8px 16px;
  border-radius: 16px;
  background: #fff;
  color: #000;
}
.landing-caption-preview .landing-world h3 {
  margin: 4px 0;
  font: clamp(13px, 2.2vw, 20px)/1.2 Bungee, sans-serif;
}
html:root .landing-caption-preview #product-world .landing-world :is(.landing-world-brand span, .landing-world-example *) {
  font-family: Inter, system-ui, sans-serif !important;
}
.landing-caption-preview .landing-world-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin-top: 5px;
  padding: 6px 12px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: #000;
  font-size: 11px;
  line-height: 1.2;
  text-decoration: none;
}
.landing-caption-preview .landing-world-action:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.landing-caption-preview .landing-world-action:focus-visible {
  outline: 2px solid #111;
  outline-offset: 3px;
}
.landing-caption-preview .landing-world-preview {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  min-height: 70px;
  padding: 5px;
  border: 1px solid #33353a;
  border-radius: 10px;
  background: #090909;
  color: #fff;
}
.landing-caption-preview .landing-world-brand {
  display: grid;
  justify-items: center;
  padding-inline: 4px;
  text-align: center;
}
.landing-caption-preview .landing-world-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.landing-caption-preview .landing-world-brand span {
  font: 650 9px/1.15 system-ui, sans-serif;
}
.landing-caption-preview .landing-world-brand strong {
  display: block;
  margin-block: 2px 3px;
  font: 14px/1 Bungee, sans-serif;
}
.landing-caption-preview .landing-world-example {
  min-width: 0;
  text-align: center;
}
.landing-caption-preview .landing-world-count {
  padding-bottom: 5px;
  border-bottom: 1px solid #35353a;
  font-size: 10px;
}
.landing-caption-preview .landing-world-count strong {
  font-size: 14px;
}
.landing-caption-preview .landing-world-count span {
  color: #c3bdcc;
}
.landing-caption-preview .landing-world-countries {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  padding-top: 5px;
  font-size: 10px;
}
.landing-caption-preview .landing-world-countries > span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.landing-caption-preview .landing-world-countries img {
  border-radius: 2px;
}
@media (max-width: 620px) {
  .landing-caption-preview .landing-world-inner {
    grid-template-columns: minmax(0, 1fr) clamp(96px, 28vw, 120px);
    gap: 8px;
    padding: 8px;
  }
  .landing-caption-preview .landing-world-preview {
    grid-template-columns: minmax(0, 1fr);
    gap: 1px;
    padding: 4px;
  }
  .landing-caption-preview .landing-world-brand img {
    width: 30px;
    height: 30px;
  }
  .landing-caption-preview .landing-world-brand strong {
    margin-block: 0 1px;
    font-size: 12px;
  }
  .landing-caption-preview .landing-world-count {
    font-size: 9px;
  }
  .landing-caption-preview .landing-world-countries {
    gap: 2px 5px;
    font-size: 9px;
  }
  .landing-caption-preview .landing-world-countries img {
    width: 12px;
    height: auto;
  }
}
html:root .landing-caption-preview footer.st-public-footer .st-footer-content nav {
  gap: 7px clamp(8px, 1.05vw, 16px) !important;
}
html:root .landing-caption-preview footer.st-public-footer .st-footer-content nav a {
  color: #55377f !important;
}
html:root .landing-caption-preview footer.st-public-footer nav a:nth-child(3n+2) {
  color: #175f57 !important;
}
html:root .landing-caption-preview footer.st-public-footer nav a:nth-child(3n) {
  color: #28538b !important;
}
html:root .landing-caption-preview footer.st-public-footer nav a.landing-footer-feature {
  border: 1px solid currentColor !important;
  border-radius: 5px;
  padding: 2px 5px !important;
  color: #176644 !important;
  background: #edf9f0 !important;
}
html:root .landing-caption-preview footer.st-public-footer nav a.landing-footer-feature[href="/native-twitch-cc"] {
  color: #55377f !important;
  background: #f5efff !important;
}
html:root .landing-caption-preview footer.st-public-footer nav a.landing-footer-feature[href="/twitch-audience-map"] {
  color: #28538b !important;
  background: #edf4ff !important;
}
@media (min-width: 1100px) {
  html:root .landing-caption-preview footer.st-public-footer .st-footer-content nav {
    flex-wrap: nowrap !important;
  }
}

html:root .landing-caption-preview footer.st-public-footer .st-footer-layout {
  row-gap: 7px;
}
.landing-caption-preview .st-footer-copyright {
  color: #595961;
  font: 11px/1.5 Inter, system-ui, sans-serif;
}
@media (min-width: 1000px) {
  html:root .landing-caption-preview footer.st-public-footer .st-footer-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
  }
  .landing-caption-preview .st-footer-copyright {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1360px) {
  html:root .landing-caption-preview footer.st-public-footer .st-footer-layout {
    grid-template-columns: auto minmax(0, 1fr);
  }
}

html:root .landing-caption-preview #gb-pricing .ap-pricing-inner {
  max-width: 1280px !important;
}
html:root .landing-caption-preview #gb-pricing .ap-pricing-inner > :is(.ap-pricing-heading, .ap-pass, .ap-pricing-billing) {
  max-width: 1152px;
  margin-inline: auto;
}
html:root body.landing-caption-preview #gb-streams {
  padding-top: 18px !important;
}
html:root body.landing-caption-preview #gb-streams .landing-channels-title h2 {
  font-size: clamp(18px, 2.07vw, 27px) !important;
}
.landing-caption-preview .landing-channels-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-bottom: 16px;
  text-align: center;
}
body.apartment-landing.landing-caption-preview #gb-streams .landing-channels-status,
body.apartment-landing.landing-caption-preview #gb-streams .landing-channels-cta-wrap {
  margin: 0;
}
body.apartment-landing.landing-caption-preview #gb-streams .landing-channels-cta {
  min-height: 30px;
  padding-inline: 9px;
  border-radius: 7px;
  font-size: 9px !important;
}
.landing-caption-preview .landing-channels-cta .landing-arrow {
  margin-inline-start: 4px;
}
.landing-caption-preview #gb-streams .landing-world {
  margin-top: 20px;
}
.landing-caption-preview #gb-streams .landing-world-inner {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 280px);
  gap: 18px;
  max-width: 800px;
  padding: 12px 18px;
  border: 1px solid #c7d6e9;
  border-radius: 16px;
  background: #edf4ff;
  color: #111;
}
.landing-caption-preview #gb-streams .landing-world h3 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.4;
}
.landing-caption-preview #gb-streams .landing-world-copy {
  text-align: center;
}
.landing-caption-preview #gb-streams .landing-world-preview {
  min-height: 80px;
  padding: 8px;
  gap: 8px;
}
.landing-caption-preview #gb-streams .landing-world-brand img {
  width: 36px;
  height: 36px;
}
.landing-caption-preview #gb-streams .landing-world-count {
  font-size: 10px;
}
.landing-caption-preview #gb-streams .landing-world-countries {
  font-size: 12px;
}
.landing-caption-preview #gb-streams .landing-world-count strong {
  font-size: 16px;
}
html:root[data-control-theme=night] .landing-caption-preview #gb-streams .landing-world-inner {
  background: #161b24;
  border-color: #46516a;
  color: #f5f5f5;
}
html:root[data-control-theme=night] .landing-caption-preview #gb-streams .landing-world-action {
  color: #f5f5f5;
}
@media (max-width: 650px) {
  .landing-caption-preview #gb-streams .landing-world-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }
  .landing-caption-preview #gb-streams .landing-world-preview {
    grid-template-columns: auto minmax(0, 1fr);
    width: 100%;
    max-width: 340px;
    justify-self: center;
  }
}
.landing-caption-preview #gb-pricing .stream-pass-buy {
  grid-template-columns: minmax(0, 1fr);
}
.landing-caption-preview #gb-pricing .stream-pass-buy > .ap-pricing-action {
  grid-column: 1;
}

html:root .landing-caption-preview #gb-pricing .ap-pass.ap-video {
  background: #fff;
}
html:root .landing-caption-preview .landing-arrow {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.12em;
  flex: none;
}
.landing-caption-preview #gb-features .cap-browser-source {
  --feature-color: #7133bd;
}
.landing-caption-preview #gb-features .cap-audio-inputs {
  --feature-color: #167b83;
}
html:root .landing-caption-preview #gb-features .cap-two-speakers {
  --feature-color: #946014;
  --cap-accent: #946014;
  background: #fff7e9;
  border-color: #ead7b9 !important;
}
@media (min-width: 1100px) {
  .landing-caption-preview #gb-features .cap-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
  }
  .landing-caption-preview #gb-features .cap {
    min-height: 0;
    padding: 18px;
  }
  .landing-caption-preview #gb-features .cap-title {
    font-size: 17px;
  }
  .landing-caption-preview #gb-features .cap-top {
    margin-bottom: 14px;
  }
}

html:root body.landing-caption-preview #gb-pricing .ap-free .ap-pass-features li {
  font-size: 10px !important;
}
@supports (grid-template-rows: subgrid) {
  @media (min-width: 901px) {
    .landing-caption-preview #gb-pricing .ap-pricing-board > article {
      display: grid;
      grid-row: span 5;
      grid-template-columns: minmax(0, 1fr);
      grid-template-rows: subgrid;
      row-gap: 0;
    }
    .landing-caption-preview #gb-pricing .ap-pricing-board :is(.ap-offer-facts, .ap-plan-facts) {
      grid-row: 4;
      align-content: start;
      grid-auto-rows: minmax(24px, auto);
    }
    .landing-caption-preview #gb-pricing .ap-pricing-board .ap-plan-bottom {
      grid-row: 5;
    }
  }
}

@media (901px <= width <= 1050px) {
  html:root body.landing-caption-preview #gb-pricing :is(.ap-plan-price, .ap-offer-price strong) {
    font-size: 35px !important;
  }
  .landing-caption-preview #gb-pricing .plan-reference-price {
    margin-inline-start: 6px;
  }
}

/* Align the offer details and dividers across the three homepage rows. */
html:root body.landing-caption-preview #gb-pricing .ap-pricing-inner > .ap-pass {
  padding-inline: 20px;
}
@media (min-width: 761px) {
  html:root body.landing-caption-preview #gb-pricing .ap-pricing-inner > .ap-pass {
    grid-template-columns: minmax(0, 1fr) minmax(112px, 14%) minmax(0, 1.2fr) minmax(156px, 23%) !important;
    column-gap: 14px;
  }
  html:root body.landing-caption-preview #gb-pricing .ap-pass > * {
    grid-column: auto;
    grid-row: 1;
    min-width: 0;
  }
  html:root body.landing-caption-preview #gb-pricing .ap-pass .ap-pass-price {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-inline-end: 10px;
    border-inline-end: 1px dashed #919198;
    text-align: start;
  }
}
@media (761px <= width <= 1100px) {
  html:root body.landing-caption-preview #gb-pricing .ap-pass.card-pass .ap-pass-features {
    grid-area: 1 / 3 !important;
  }
  html:root body.landing-caption-preview #gb-pricing .ap-pass.card-pass .stream-pass-buy {
    grid-area: 1 / 4 !important;
  }
  html:root body.landing-caption-preview #gb-pricing .card-pass .stream-pass-quantity {
    flex-wrap: wrap !important;
  }
}
@media (max-width: 760px) {
  html:root body.landing-caption-preview #gb-pricing .ap-pricing-inner > .ap-pass {
    grid-template-columns: minmax(0, 1fr) 106px !important;
  }
  html:root body.landing-caption-preview #gb-pricing .ap-pass > .ap-pass-price {
    grid-column: 2;
    grid-row: 1;
    padding: 0;
    text-align: end;
  }
  .landing-caption-preview #gb-pricing .card-pass .price-row {
    justify-content: flex-end;
  }
  html:root body.landing-caption-preview #gb-pricing .ap-pass > :is(.ap-pass-features, .ap-pricing-action, .stream-pass-buy) {
    grid-column: 1 / -1;
  }
}

/* Compact the three monthly plan cards without reducing body-copy size. */
@media (min-width: 901px) {
  .landing-caption-preview #gb-pricing .ap-pricing-board { width:90%;margin-inline:auto;gap:17px; }
}
.landing-caption-preview #gb-pricing .ap-pricing-board > article { padding:17px;border-radius:15px; }
html:root body.landing-caption-preview #gb-pricing .ap-pricing-board :is(.ap-offer-price,.ap-plan-price) { height:65px;flex-basis:65px;margin-top:6px!important; }
.landing-caption-preview #gb-pricing .ap-pricing-board .ap-plan-intro { min-height:33px;padding-bottom:7px; }
html:root body.landing-caption-preview #gb-pricing .ap-pricing-board :is(.ap-offer-facts,.ap-plan-facts) { min-height:90px;grid-auto-rows:minmax(21px,auto);gap:5px!important;padding-block:7px!important;margin-block:8px!important; }
.landing-caption-preview #gb-pricing .ap-pricing-board :is(.ap-offer-features,.ap-plan-perks) { gap:5px;margin-bottom:13px; }
@media (max-width:900px) {
  .landing-caption-preview #gb-pricing .ap-pricing-board .ap-plan-intro { min-height:0; }
  .landing-caption-preview #gb-pricing .ap-pricing-board :is(.ap-offer-facts,.ap-plan-facts) { min-height:0; }
}
