/* TV PLAY V1.93 — Documentos más equilibrados en pantalla.
   Se conserva el contenido completo y la navegación original.
   Esta hoja se carga al final de info-v1.92.css. */

/* Titulares legibles y una línea de lectura consistente. */
html.tvplay-legal-embedded main.shell {
  width: min(804px,calc(100% - 50px));
  margin-inline: auto;
}
html.tvplay-legal-embedded .hero {
  padding: 27px 0 20px;
}
html.tvplay-legal-embedded .hero h1 {
  max-width: 100%;
  font-size: clamp(29px,3.15vw,39px);
  font-weight: 765;
  letter-spacing: -.028em;
  line-height: 1.16;
  margin: 13px 0 12px;
}
html.tvplay-legal-embedded .hero p {
  max-width: 100%;
  font-size: 14.6px;
  line-height: 1.69;
  margin: 0;
}
html.tvplay-legal-embedded .stack {
  padding-bottom: 18px;
}
html.tvplay-legal-embedded .stack > article.card {
  width: 100%;
  min-width: 0;
  padding-bottom: 13px;
}
html.tvplay-legal-embedded .stack > article.card > p,
html.tvplay-legal-embedded .stack > article.card > ol,
html.tvplay-legal-embedded .stack > article.card > ul,
html.tvplay-legal-embedded .stack > article.card > h2,
html.tvplay-legal-embedded .stack > article.card > h3,
html.tvplay-legal-embedded .stack > article.card > .callout {
  max-width: 100%;
}
html.tvplay-legal-embedded .stack > article.card h2 {
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -.016em;
  line-height: 1.32;
  margin: 18px 0 17px;
}
html.tvplay-legal-embedded .stack > article.card h3 {
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -.012em;
  line-height: 1.34;
  margin: 31px 0 12px;
}
html.tvplay-legal-embedded .stack > article.card p,
html.tvplay-legal-embedded .stack > article.card li {
  max-width: 100%;
  font-size: 14.6px;
  line-height: 1.77;
  color: #caddef;
}
html.tvplay-legal-embedded .stack > article.card p {
  margin: 13px 0 18px;
}
html.tvplay-legal-embedded .stack > article.card > .callout {
  margin: 23px 0 24px;
}
html.tvplay-legal-embedded .stack > article.card > :last-child {
  margin-bottom: 4px;
}

/* Las páginas independientes conservan dos columnas; el texto deja de
   parecer tan apretado y los subtítulos se distinguen del cuerpo. */
.stack > article.card h2,
.stack > article.card h3 {
  font-weight: 755;
  letter-spacing: -.018em;
}
.stack > article.card h3 {
  margin-top: 32px;
}
.stack > article.card p,
.stack > article.card li {
  line-height: 1.78;
}

/* Condiciones: índice 4 + 3 sin una última opción aislada.
   Cada elemento muestra su número con el color celeste de la marca. */
.conditions-toc {
  margin-bottom: 27px;
  padding: 18px 18px 19px;
}
.conditions-toc-heading {
  margin-bottom: 13px;
  font-size: 14px;
}
.conditions-toc-list {
  display: grid;
  grid-template-columns: repeat(12,minmax(0,1fr));
  gap: 9px;
  counter-reset: tvplay-toc;
  align-items: stretch;
}
.conditions-toc-list a {
  grid-column: span 3;
  min-width: 0;
  min-height: 44px;
  padding: 11px 10px;
  gap: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  font-size: 12.7px;
  line-height: 1.3;
  font-weight: 680;
  overflow-wrap: anywhere;
  counter-increment: tvplay-toc;
}
.conditions-toc-list a:nth-child(n+5) {
  grid-column: span 4;
}
.conditions-toc-list a::before {
  content: counter(tvplay-toc,decimal-leading-zero);
  display: inline-block;
  flex: 0 0 auto;
  color: #74e2f1;
  font-size: 11px;
  font-weight: 830;
  letter-spacing: .025em;
}

/* Números existentes en los títulos de Condiciones, sin alterar la oración. */
.stack > article.card .legal-heading-number {
  display: inline-block;
  color: #75e5f2;
  font-weight: 820;
  margin-right: 3px;
}

/* Entrega digital: cuatro pasos con números, títulos y descripciones
   en una secuencia. <ol> y el texto original permanecen semánticos. */
.stack > article.card .delivery-flow {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 11px;
  list-style: none;
  counter-reset: delivery-flow;
  padding: 0;
  margin: 22px 0 27px;
  max-width: 100%;
}
.stack > article.card .delivery-flow > li {
  position: relative;
  counter-increment: delivery-flow;
  padding: 16px 18px 16px 76px;
  min-height: 73px;
  margin: 0;
  border: 1px solid rgba(73,125,169,.53);
  border-radius: 13px;
  background: linear-gradient(130deg,rgba(21,51,81,.80),rgba(13,37,61,.85));
  color: #c9dbed;
  font-size: 14px;
  line-height: 1.66;
}
.stack > article.card .delivery-flow > li::before {
  content: counter(delivery-flow,decimal-leading-zero);
  position: absolute;
  left: 17px;
  top: 16px;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(76,158,208,.55);
  background: #15415f;
  color: #78e6f4;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 820;
}
.stack > article.card .delivery-flow > li strong {
  display: block;
  color: #f4faff;
  font-size: 14.8px;
  line-height: 1.42;
  font-weight: 760;
  margin: 0 0 4px;
}
html.tvplay-legal-embedded .stack > article.card .delivery-flow > li {
  font-size: 14px;
  line-height: 1.65;
}
html.tvplay-legal-embedded .stack > article.card .delivery-flow > li strong {
  font-size: 14.8px;
}

/* Tablet y móvil: índice en 2 columnas con el último acceso ocupando
   ambas, evitando un botón suelto visualmente. */
@media(max-width:800px) {
  .conditions-toc-list {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px;
  }
  .conditions-toc-list a,
  .conditions-toc-list a:nth-child(n+5) {
    grid-column: span 1;
  }
  .conditions-toc-list a:last-child {
    grid-column: 1/-1;
  }
}
@media(max-width:600px) {
  html.tvplay-legal-embedded main.shell {
    width: calc(100% - 34px);
  }
  html.tvplay-legal-embedded .hero {
    padding: 23px 0 16px;
  }
  html.tvplay-legal-embedded .hero h1 {
    font-size: clamp(27px,7.4vw,33px);
  }
  html.tvplay-legal-embedded .hero p {
    font-size: 13.5px;
    line-height: 1.67;
  }
  html.tvplay-legal-embedded .stack > article.card h2 {
    font-size: 20px;
    margin: 15px 0 14px;
  }
  html.tvplay-legal-embedded .stack > article.card h3 {
    font-size: 17px;
    margin: 26px 0 10px;
  }
  html.tvplay-legal-embedded .stack > article.card p,
  html.tvplay-legal-embedded .stack > article.card li {
    font-size: 13.7px;
    line-height: 1.75;
  }
  html.tvplay-legal-embedded .stack > article.card p {
    margin: 12px 0 17px;
  }
  .conditions-toc {
    padding: 15px;
    margin-bottom: 23px;
  }
  .conditions-toc-heading {
    font-size: 13px;
    margin-bottom: 11px;
  }
  .conditions-toc-list {
    gap: 8px;
  }
  .conditions-toc-list a {
    min-height: 44px;
    font-size: 11.9px;
    padding: 9px 10px;
    gap: 6px;
  }
  .conditions-toc-list a::before {
    font-size: 10.5px;
  }
  .stack > article.card .delivery-flow {
    gap: 10px;
    margin: 18px 0 22px;
  }
  .stack > article.card .delivery-flow > li {
    padding: 14px 13px 14px 61px;
    min-height: 71px;
    border-radius: 12px;
    font-size: 13px;
  }
  .stack > article.card .delivery-flow > li::before {
    width: 34px;
    height: 34px;
    top: 14px;
    left: 13px;
    border-radius: 9px;
    font-size: 12px;
  }
  .stack > article.card .delivery-flow > li strong {
    font-size: 13.8px;
    margin-bottom: 4px;
  }
  html.tvplay-legal-embedded .stack > article.card .delivery-flow > li {
    font-size: 13px;
  }
  html.tvplay-legal-embedded .stack > article.card .delivery-flow > li strong {
    font-size: 13.8px;
  }
}
@media(max-width:360px) {
  .conditions-toc-list {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 7px;
  }
  .conditions-toc-list a,
  .conditions-toc-list a:nth-child(n+5) {
    grid-column: span 1;
    min-height: 48px;
    padding: 8px 7px;
    gap: 5px;
    font-size: 11.2px;
  }
  .conditions-toc-list a:last-child {
    grid-column: 1/-1;
  }
}
@media(max-width:300px) {
  .conditions-toc-list {
    grid-template-columns: minmax(0,1fr);
  }
  .conditions-toc-list a,
  .conditions-toc-list a:nth-child(n+5),
  .conditions-toc-list a:last-child {
    grid-column: 1/-1;
  }
}
@media(prefers-reduced-motion:reduce) {
  .conditions-toc-list a {transition:none;}
}
/* Respetar tamaño/altura del índice también dentro del visor. */
html.tvplay-legal-embedded .conditions-toc-list a {
  min-height: 44px;
  font-size: 12.7px;
}
@media(max-width:600px) {
  html.tvplay-legal-embedded .conditions-toc-list a {
    min-height: 44px;
    font-size: 11.9px;
  }
}
