.tc { padding: 24px 0 96px }
.tc *, .tc-dialogo * { font-variant-numeric: lining-nums !important; }
.tc-app, .tc-respaldo { max-width: 1040px; }
.tc [hidden], .tc-app[hidden] { display: none; }
.tc-app { scroll-margin-top: calc(var(--cabecera) + 12px); min-height: 560px; }

@media (scripting: enabled) {
  .tc-respaldo { display: none; }
  .tc-app[hidden] { display: block; }
}
.tc-listo .tc-respaldo { display: none; }
.tc-fallo .tc-respaldo { display: block; }
.tc-fallo .tc-app { display: none; }

.tc-marco.tc-entra { animation: tcEntra .45s var(--curva) both; }
@keyframes tcEntra { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.tc-avance { display: grid; grid-template-columns: 1fr auto; grid-template-rows: 48px auto; align-items: center; margin-bottom: clamp(28px, 4vw, 44px); }
.tc-cuenta { grid-column: 2; grid-row: 1; font-size: 14px; color: var(--plata); }
.tc-linea { grid-column: 1 / -1; display: flex; gap: 6px; margin-top: 10px; }
.tc-linea i { flex: 1; height: 1px; background: rgba(255, 255, 255, .2); }
.tc-linea i.hecho { background: var(--hueso); box-shadow: 0 1px 0 var(--hueso); }
.tc-volver { justify-self: start; min-width: 44px; min-height: 48px; padding: 0 2px; font-size: 15px; color: var(--plata); text-align: start; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-decoration-thickness: 1px; text-underline-offset: 6px; transition: color .25s; }
.tc-volver:hover { color: #fff; }

.tc-titulo { font-size: clamp(38px, 5vw, 60px); line-height: 1.08; text-wrap: balance; }
.tc-titulo:focus, .tc-nombre-corte:focus { outline: none; }
.tc-opciones { max-width: 720px; margin-top: clamp(28px, 3vw, 36px); border-top: 1px solid var(--linea-2); }
.tc-opcion { position: relative; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 4px 20px; width: 100%; min-height: 68px; padding: 15px 2px; text-align: start; border-bottom: 1px solid var(--linea-2); transition: border-color .3s, padding .35s var(--curva); }
.tc-icono, .tc .boton .tc-icono { flex: none; display: block; width: 28px; height: 28px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.5px; stroke-linecap: round; stroke-linejoin: round; }
.tc-icono path { vector-effect: non-scaling-stroke; }
.tc-opcion .tc-icono { width: 34px; height: 34px; color: var(--plata); transition: color .3s; }
.tc-opcion[aria-pressed="true"] .tc-icono, .tc-opcion:hover .tc-icono { color: #fff; }
.tc-filas dt, .tc-datos dt, .tc-datos .tc-nota { display: flex; align-items: center; gap: 12px; }
.tc-filas .tc-icono, .tc-datos dt .tc-icono { color: var(--plata); }
.tc .tc-datos .tc-nota .tc-icono { width: 20px; height: 20px; }
.tc-nombre { font: 400 clamp(23px, 2.8vw, 32px)/1.2 var(--serif); color: var(--hueso); }
.tc-detalle { font-size: 15px; line-height: 1.45; color: #a6a6a6; }
.tc-opcion::after { content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 1px; background: var(--hueso); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--curva); }
[dir="rtl"] .tc-opcion::after { transform-origin: right; }
.tc-opcion[aria-pressed="true"]::after { transform: scaleX(1); }
.tc-opcion[aria-pressed="true"] .tc-nombre { color: #fff; font-style: italic; }
html[lang="ur"] .tc-opcion[aria-pressed="true"] .tc-icono, .tc .boton .tc-icono { flex: none; display: block; width: 28px; height: 28px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.5px; stroke-linecap: round; stroke-linejoin: round; }
.tc-icono path { vector-effect: non-scaling-stroke; }
.tc-opcion .tc-icono { width: 34px; height: 34px; color: var(--plata); transition: color .3s; }
.tc-opcion[aria-pressed="true"] .tc-icono, .tc-opcion:hover .tc-icono { color: #fff; }
.tc-filas dt, .tc-datos dt, .tc-datos .tc-nota { display: flex; align-items: center; gap: 12px; }
.tc-filas .tc-icono, .tc-datos dt .tc-icono { color: var(--plata); }
.tc .tc-datos .tc-nota .tc-icono { width: 20px; height: 20px; }
.tc-nombre { font-style: normal; text-decoration: none; }
.tc-opcion:focus-visible, .tc-volver:focus-visible, .tc-enlace:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (hover: hover) {
  .tc-opcion:hover::after { transform: scaleX(1); }
  .tc-opcion:hover { padding-inline: 12px; }
}

.tc-vuelta { display: flex; justify-content: space-between; gap: 20px; min-height: 48px; }
.tc-rotulo { font-size: 14px; line-height: 1.5; color: #a6a6a6; }
.tc-ficha { margin-top: 16px; border-top: 1px solid rgba(255, 255, 255, .45); }
.tc-ficha-cabeza { padding: clamp(28px, 5vw, 56px) 0 clamp(26px, 4vw, 44px); }
.tc-nombre-corte { margin-top: 10px; font-size: clamp(50px, 11vw, 118px); line-height: 1; letter-spacing: -.03em; text-wrap: balance; }
.tc-sub { margin-top: 10px; font: italic 400 clamp(22px, 3.4vw, 34px)/1.25 var(--serif); color: var(--plata); }
.tc-decir { padding: clamp(26px, 4vw, 44px) 0; border-top: 1px solid var(--linea-2); }
.tc-frase { max-width: 26ch; margin-top: 10px; font: 400 clamp(25px, 3.9vw, 42px)/1.28 var(--serif); color: #fff; text-wrap: pretty; }
.tc-barbero { margin-top: 30px; }
.tc-frase-es { max-width: 34ch; margin-top: 10px; padding-left: 18px; border-left: 1px solid var(--hueso); font: 400 clamp(20px, 2.6vw, 28px)/1.35 var(--serif); color: var(--hueso); text-align: start; }
.tc-detalles { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 0 64px; border-top: 1px solid var(--linea-2); }
.tc-detalles.sin-regla { grid-template-columns: minmax(0, 1fr); }
.tc-filas, .tc-datos { margin: 0; }
.tc-filas > div { display: grid; align-items: center; grid-template-columns: 190px minmax(0, 1fr); gap: 4px 24px; padding: 20px 0; }
.tc-filas > div + div { border-top: 1px solid var(--linea); }
.tc-filas dt, .tc-datos dt { font-size: 14px; line-height: 1.6; color: #a6a6a6; }
.tc-filas dd { margin: 0; text-wrap: pretty; font-size: 17px; line-height: 1.5; color: var(--hueso); }
.tc-regla { margin: 0; padding: 20px 0; }
.tc-regla figcaption { font-size: 14px; line-height: 1.6; color: #a6a6a6; }
.tc-regla ul { margin: 14px 0 0; padding: 0; list-style: none; }
.tc-regla li { position: relative; display: flex; align-items: center; height: 46px; padding-inline-start: 30px; font-size: 15px; line-height: 1.3; color: #8d8d8d; }
.tc-regla li::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 2px; background: rgba(255, 255, 255, .16); }
.tc-regla li::after { content: ""; position: absolute; top: 50%; inset-inline-start: 0; width: 9px; height: 1px; background: rgba(255, 255, 255, .3); }
.tc-regla .dentro::before { background: var(--hueso); }
.tc-regla .actual::before { background: linear-gradient(180deg, rgba(255, 255, 255, .16) 50%, var(--hueso) 50%); }
.tc-regla .actual::after { width: 20px; background: #fff; }
.tc-regla .actual { color: #fff; font-weight: 500; }
.tc-datos { display: grid; grid-template-columns: 1fr 1fr; border-block: 1px solid var(--linea-2); }
.tc-datos > div { padding: 24px 0; }
.tc-datos > div + div { padding-inline-start: 32px; border-inline-start: 1px solid var(--linea-2); }
.tc-datos > div:first-child { padding-inline-end: 24px; }
.tc-datos dd { margin: 4px 0 0; font: 400 clamp(20px, 2.4vw, 26px)/1.3 var(--serif); color: #fff; }
.tc-datos .tc-nota, .tc-nota { margin: 6px 0 0; font: 300 15px/1.5 var(--sans); color: var(--plata); }

.tc-acciones { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.tc .tc-acciones .boton { min-height: 56px; font-size: 15px; letter-spacing: .02em; text-transform: none; white-space: normal; }
.tc-acciones .boton::after { display: none; }
.tc-enlace { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; border: 1px solid var(--linea-2); border-radius: 999px; font-size: 15px; color: var(--hueso); transition: border-color .3s; }
.tc-enlace:hover { border-color: rgba(255, 255, 255, .5); }
.tc-mensaje { text-align: center; font-size: 15px; color: var(--hueso); }
.tc-manual { width: 100%; padding: 14px; background: var(--negro-2); color: var(--hueso); border: 1px solid var(--linea-2); border-radius: 10px; font: 300 16px/1.5 var(--sans); resize: vertical; }
.tc-mensaje:not(:empty) { margin-bottom: 12px; }
.tc-antes { margin: 0 0 clamp(26px, 4vw, 44px); font-size: 14.5px; line-height: 1.6; color: var(--plata); text-align: center; text-wrap: balance; }
.tc-pie { text-wrap: pretty; display: grid; gap: 6px; margin-top: 24px; font-size: 14.5px; line-height: 1.6; color: #a6a6a6; }

.tc-abierto { overflow: hidden; }
.tc-dialogo { position: fixed; inset: 0; width: 100vw; width: 100dvw; max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: #000; color: var(--hueso); overflow-y: auto; overscroll-behavior: contain; z-index: 300; }
.tc-dialogo::backdrop { background: #000; }
.tc-dentro { width: min(1040px, 100% - 48px); min-height: 100%; margin-inline: auto; padding: calc(12px + env(safe-area-inset-top, 0px)) 0 calc(40px + env(safe-area-inset-bottom, 0px)); }
.tc-barra { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; min-height: 68px; background: #000; border-bottom: 1px solid var(--linea-2); }
.tc-sello { font: 400 17px/1 var(--serif); color: var(--plata); }
.tc-cerrar { min-width: 48px; min-height: 48px; padding: 0 14px; margin-inline-end: 6px; font-size: 15px; color: #fff; }
html .tc-dialogo .tc-grande { margin-top: clamp(18px, 4vw, 44px); padding: 0; font: 400 clamp(48px, 13vw, 132px)/1 var(--serif); letter-spacing: -.03em; text-align: left; text-wrap: balance; }
.tc-grande-frase { margin: clamp(18px, 4vw, 44px) 0; padding-top: clamp(18px, 4vw, 40px); border-top: 1px solid rgba(255, 255, 255, .45); font: 400 clamp(30px, 5.4vw, 58px)/1.24 var(--serif); color: #fff; text-align: left; max-width: none; }
.tc-dialogo .tc-filas { border-top: 1px solid var(--linea-2); text-align: start; }
.tc-dialogo .tc-filas dt { font-size: 16px; }
.tc-dialogo .tc-filas dd { font-size: 20px; line-height: 1.45; color: #fff; }
@media (max-width: 720px) {
  .tc-dialogo .tc-filas > div { gap: 0; padding: 10px 0; }
  .tc-dialogo .tc-filas dt { font-size: 15px; }
  .tc-dialogo .tc-filas dd { font-size: 18px; line-height: 1.4; }
}
.tc-dialogo [lang="es"] { font-family: var(--sans); }
.tc-dialogo h2[lang="es"], .tc-dialogo p[lang="es"] { font-family: var(--serif); }
.tc-propio { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .45); }
.tc-propio-frase { max-width: 34ch; margin: 8px 0 20px; font: 400 clamp(21px, 2.8vw, 30px)/1.35 var(--serif); }
.tc-propio .tc-filas dd { font-size: 17px; color: var(--hueso); }

.tc-respaldo h2 { max-width: 16ch; text-wrap: balance; }
.tc-cortes { margin: 48px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--linea-2); }
.tc-corte { padding: 30px 0; border-bottom: 1px solid var(--linea-2); }
.tc-corte h3 { font-size: clamp(30px, 4vw, 44px); text-align: start; }
.tc-corte h3 + p { margin-top: 8px; color: var(--plata); }
.tc-corte .tc-rotulo { margin-top: 18px; }
html[lang="ur"] .tc-corte h3[lang="en"] { font-family: var(--serif); line-height: 1.12; padding: 0; text-align: right; }
html[lang="ur"] .tc-corte .tc-frase-es { margin-inline-start: auto; }
.tc-corte .tc-nota { margin-top: 14px; }
.tc-respaldo-acciones { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

html[lang="ur"] .tc-titulo { font-size: clamp(27px, 4.6vw, 50px); line-height: 2; padding: 0; }
html[lang="ur"] .tc-nombre { font: 500 clamp(18px, 2vw, 23px)/2 "Noto Nastaliq Urdu", serif; }
html[lang="ur"] .tc-detalle, html[lang="ur"] .tc-rotulo, html[lang="ur"] .tc-cuenta, html[lang="ur"] .tc-volver, html[lang="ur"] .tc-filas dt, html[lang="ur"] .tc-datos dt, html[lang="ur"] .tc-regla figcaption { line-height: 2; }
html[lang="ur"] .tc-opcion { padding-block: 12px; }
html[lang="ur"] .tc-nombre-corte { font-family: "Playfair Display", "Noto Nastaliq Urdu", serif; font-size: clamp(46px, 9vw, 96px); line-height: 1.5; padding: 0; margin-top: 0; text-align: start; }
html[lang="ur"] .tc-nombre-corte.tc-local { font: 500 clamp(32px, 5vw, 56px)/2 "Noto Nastaliq Urdu", serif; letter-spacing: 0; margin-top: 8px; }
html[lang="ur"] .tc-sub { font: 400 clamp(18px, 2.2vw, 24px)/2.1 "Noto Nastaliq Urdu", serif; }
html[lang="ur"] .tc-frase { max-width: 34ch; font: 400 clamp(21px, 2.8vw, 32px)/2.1 "Playfair Display", "Noto Nastaliq Urdu", serif; }
html[lang="ur"] .tc-propio-frase { font: 400 clamp(19px, 2.4vw, 26px)/2.1 "Playfair Display", "Noto Nastaliq Urdu", serif; }
html[lang="ur"] .tc-filas dd { font-size: 16px; line-height: 2.1; }
html[lang="ur"] .tc-filas[lang="es"] dd { font-size: 20px; line-height: 1.45; }
html[lang="ur"] .tc-datos dd { font: 400 18px/2.1 "Noto Nastaliq Urdu", serif; }
html[lang="ur"] .tc-datos .tc-nota, html[lang="ur"] .tc-nota, html[lang="ur"] .tc-antes, html[lang="ur"] .tc-pie { font: 400 14px/2.2 "Inter", "Noto Nastaliq Urdu", serif; }
html[lang="ur"] .tc-regla li { font-size: 14px; line-height: 2; }
html[lang="ur"] .tc-respaldo-acciones .boton { max-width: 100%; white-space: normal; }
html[lang="ur"] .tc-enlace, html[lang="ur"] .tc-cerrar { line-height: 2; }
html[lang="ur"] .tc-propio .tc-filas dd { font-size: 15.5px; }

@media (max-width: 720px) {
  .tc { padding-top: 4px; }
  .tc-app { min-height: 520px; }
  .tc-opcion { grid-template-columns: 34px 1fr; column-gap: 18px; min-height: 76px; padding: 15px 2px; }
  .tc-opcion .tc-icono { grid-row: 1 / 3; }
  .tc-detalle { grid-column: 2; }
  .tc-filas dd { padding-inline-start: 40px; }
  .tc-detalles { grid-template-columns: minmax(0, 1fr); }
  .tc-regla { border-top: 1px solid var(--linea); }
  .tc-filas > div { grid-template-columns: 1fr; padding: 16px 0; }
  .tc-datos { grid-template-columns: 1fr; }
  .tc-datos > div + div { padding-inline-start: 0; border-inline-start: 0; border-top: 1px solid var(--linea); }
  .tc-acciones .boton { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .tc-marco.tc-entra { animation: none; }
  .tc-opcion, .tc-opcion::after, .tc-volver, .tc-enlace { transition: none; }
  .tc-opcion:hover { padding-inline: 2px; }
}
