/* TV PLAY V1.92 — Lectura más cómoda en las 5 páginas informativas.
   Los contenidos legales y comerciales completos se conservan. */

/* Scroll discreto, visible y compatible con Chrome, Firefox y Edge. */
html {
  scrollbar-width: thin;
  scrollbar-color: #4d7496 #0b1b2d;
  scroll-behavior: smooth;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: #0b1b2d;
}
html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background: #496f90;
  border: 2px solid #0b1b2d;
  border-radius: 999px;
}
html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
  background: #6e9fbf;
}

/* Priorizar la longitud de línea y el espaciado por encima del peso visual. */
.hero h1 {
  font-weight: 775;
  letter-spacing: -.031em;
  line-height: 1.13;
}
.stack > article.card {
  overflow-wrap: break-word;
}
.stack > article.card h2,
.stack > article.card h3 {
  max-width: 72ch;
  font-weight: 735;
  letter-spacing: -.019em;
  line-height: 1.35;
}
.stack > article.card h2 {
  margin-bottom: 19px;
}
.stack > article.card h3 {
  margin-top: 35px;
  margin-bottom: 13px;
}
.stack > article.card p,
.stack > article.card li {
  max-width: 74ch;
  line-height: 1.86;
}
.stack > article.card p {
  margin-top: 16px;
  margin-bottom: 20px;
}
.stack > article.card li+li {
  margin-top: 16px;
}

/* Dentro del panel la lectura es más estrecha, sin barra gris gruesa. */
html.tvplay-legal-embedded main.shell {
  width: min(765px,calc(100% - 48px));
}
html.tvplay-legal-embedded .hero {
  padding: 32px 0 23px;
}
html.tvplay-legal-embedded .hero h1 {
  font-size: clamp(29px,3.1vw,38px);
  font-weight: 750;
  letter-spacing: -.027em;
  line-height: 1.14;
}
html.tvplay-legal-embedded .hero p {
  max-width: 70ch;
  font-size: 14.5px;
  line-height: 1.72;
}
html.tvplay-legal-embedded .stack > article.card h2 {
  font-size: 21px;
  font-weight: 745;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}
html.tvplay-legal-embedded .stack > article.card h3 {
  font-size: 17.5px;
  font-weight: 735;
  letter-spacing: -.014em;
  margin-top: 34px;
  margin-bottom: 13px;
}
html.tvplay-legal-embedded .stack > article.card p,
html.tvplay-legal-embedded .stack > article.card li {
  font-size: 14.4px;
  line-height: 1.85;
  max-width: 72ch;
}
html.tvplay-legal-embedded .stack > article.card p {
  margin: 15px 0 21px;
}
html.tvplay-legal-embedded .stack > article.card ol {
  padding-left: 26px;
}
html.tvplay-legal-embedded .stack > article.card li+li {
  margin-top: 17px;
}

/* Condiciones: índice visual compacto, navegable sin ocultar cláusulas. */
.conditions-toc {
  margin: 0 0 30px;
  padding: 20px 21px;
  border: 1px solid rgba(84,151,201,.48);
  border-radius: 14px;
  background: linear-gradient(150deg,#142f4d 0%,#10253d 100%);
}
.conditions-toc-heading {
  color: #eaf8ff;
  font-size: 14px;
  font-weight: 770;
  line-height: 1.4;
  letter-spacing: -.015em;
  margin: 0 0 13px;
}
.conditions-toc-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}
.conditions-toc-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(90,147,190,.48);
  border-radius: 10px;
  background: #0c2540;
  color: #c5e9f8;
  font-size: 12.3px;
  font-weight: 670;
  line-height: 1.35;
  text-decoration: none;
  transition: background .16s ease,border-color .16s ease;
}
.conditions-toc-list a:hover {
  color: #fff;
  background: #1a486e;
  border-color: #78d0ee;
}
.conditions-toc-list a:focus-visible {
  outline: 3px solid #61dff2;
  outline-offset: 3px;
}
.conditions-toc-list a[aria-current="location"] {
  color: #fff;
  background: #1b507c;
  border-color: #72d9ed;
}
.stack > article.card h2[id],
.stack > article.card h3[id] {
  scroll-margin-top: 110px;
}
html.tvplay-legal-embedded .stack > article.card h2[id],
html.tvplay-legal-embedded .stack > article.card h3[id] {
  scroll-margin-top: 20px;
}
html.tvplay-legal-embedded .conditions-toc {
  padding: 17px 18px;
  margin-bottom: 28px;
}
html.tvplay-legal-embedded .conditions-toc-list a {
  min-height: 37px;
  font-size: 12.2px;
}

/* Móvil: márgenes más contenidos y navegación fácil de tocar. */
@media(max-width:600px) {
  .hero h1 {
    font-weight: 770;
    letter-spacing: -.026em;
  }
  html.tvplay-legal-embedded main.shell {
    width: calc(100% - 32px);
  }
  html.tvplay-legal-embedded .hero {
    padding-top: 25px;
    padding-bottom: 18px;
  }
  html.tvplay-legal-embedded .hero h1 {
    font-size: clamp(27px,7.4vw,33px);
  }
  html.tvplay-legal-embedded .hero p {
    font-size: 13.6px;
  }
  html.tvplay-legal-embedded .stack > article.card h2 {
    font-size: 20px;
  }
  html.tvplay-legal-embedded .stack > article.card h3 {
    font-size: 16.7px;
    margin-top: 28px;
  }
  html.tvplay-legal-embedded .stack > article.card p,
  html.tvplay-legal-embedded .stack > article.card li {
    font-size: 13.7px;
    line-height: 1.78;
  }
  html.tvplay-legal-embedded .stack > article.card p {
    margin-top: 12px;
    margin-bottom: 17px;
  }
  .conditions-toc {
    padding: 16px;
  }
  .conditions-toc-list {
    gap: 8px;
  }
  .conditions-toc-list a {
    font-size: 12px;
    min-height: 40px;
  }
  html.tvplay-legal-embedded .conditions-toc {
    padding: 15px;
  }
  html.tvplay-legal-embedded .conditions-toc-list a {
    font-size: 12px;
    min-height: 40px;
  }
}
@media(prefers-reduced-motion:reduce) {
  html {scroll-behavior:auto;}
  .conditions-toc-list a {transition:none;}
}
