/* Tranceformation Ibérica: portada, próxima edición, archivo sobre eje de horas, DJs y cartel */
.tf-kicker { margin: 0 0 10px; color: var(--gold); font: 700 15px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.tf-h2 { margin: 0 0 16px; font: 900 clamp(34px, 5vw, 56px)/.95 var(--display); text-transform: uppercase; text-wrap: balance; }
.tf-sub { max-width: 62ch; margin: 0 0 28px; color: var(--muted); }
.tf-btn { display: inline-block; padding: 14px 22px; background: var(--gold); color: var(--ink); font: 700 15px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.tf-btn:hover, .tf-btn:focus-visible { background: var(--text); color: var(--ink); }
.tf-btn-2 { background: transparent; color: var(--gold); box-shadow: inset 0 0 0 2px var(--gold); }
.tf-btn-2:hover { background: var(--gold); }
.tf-acciones { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }

/* Portada: el vinilo del logo gira despacio detrás del título */
.tf-hero { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 110px) 0 clamp(40px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.tf-hero-in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.tf-titulo { margin: 0; font: 900 clamp(46px, 7.6vw, 118px)/.82 var(--display); text-transform: uppercase; letter-spacing: -.01em; }
.tf-titulo span { display: block; color: var(--gold); }
.tf-lead { max-width: 52ch; margin: 24px 0 0; color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); }
.tf-cifras { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 32px 0 0; }
.tf-cifras div { display: flex; flex-direction: column-reverse; }
.tf-cifras dt { color: var(--muted); font-size: 14px; }
.tf-cifras dd { margin: 0; color: var(--gold); font: 900 clamp(40px, 5vw, 64px)/1 var(--display); }
.tf-logo { width: 100%; max-width: 420px; height: auto; justify-self: center; aspect-ratio: 370 / 457; object-fit: contain; mix-blend-mode: screen; }

/* Próxima edición / vuelve */
.tf-prox, .tf-vuelve { padding: clamp(40px, 6vw, 80px) 0; background: var(--gold); color: var(--ink); }
.tf-prox .tf-kicker, .tf-vuelve .tf-kicker { color: var(--ink); }
.tf-vuelve p { max-width: 56ch; font-size: 18px; margin: 0; }
.tf-vuelve .tf-btn, .tf-prox .tf-btn { background: var(--ink); color: var(--gold); }
.tf-vuelve .tf-btn-2 { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.tf-vuelve .tf-btn:hover, .tf-prox .tf-btn:hover { background: var(--text); color: var(--ink); }
.tf-cuenta { margin: 0 0 24px; font: 800 22px/1.2 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.tf-prox .tf-horario li { border-color: rgba(0, 0, 0, .2); }
.tf-prox .tf-dj small, .tf-prox .tf-h i { color: rgba(0, 0, 0, .65); }
.tf-prox .tf-tw { color: var(--ink); }

/* Origen y manifiesto */
.tf-origen { padding: clamp(48px, 7vw, 96px) 0; }
.tf-origen-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.tf-origen p { max-width: 60ch; font-size: 18px; line-height: 1.6; }
.tf-manifiesto { margin: 0; padding: 28px 28px 12px; border-left: 4px solid var(--gold); background: var(--deck); }
.tf-manifiesto p:not(.tf-kicker) { color: var(--muted); font-size: 17px; font-style: italic; }

/* Horario (próxima edición y cada edición del archivo) */
.tf-horario { list-style: none; margin: 0; padding: 0; max-width: 820px; }
.tf-horario li { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.tf-h { font: 800 22px/1 var(--display); }
.tf-h i { display: block; margin-top: 3px; color: var(--muted); font: 400 13px/1 var(--body); font-style: normal; }
.tf-dj { min-width: 0; font: 800 clamp(20px, 2.4vw, 26px)/1.05 var(--display); text-transform: uppercase; overflow-wrap: anywhere; }
.tf-dj small { display: block; margin-top: 4px; color: var(--muted); font: 400 13px/1.2 var(--body); text-transform: none; }
.tf-horario li.es-org .tf-dj { color: var(--gold); }
.tf-prox .tf-horario li.es-org .tf-dj { color: var(--ink); }
.tf-tw { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-size: 14px; text-decoration: none; }
.tf-tw:hover span { text-decoration: underline; }
.tf-tw i { font-size: 18px; }

/* Archivo: todas las ediciones sobre el mismo eje de horas */
.tf-archivo { padding: clamp(48px, 7vw, 96px) 0; border-top: 1px solid var(--line); background: var(--deck); }
.tf-eje { position: relative; height: 22px; margin-left: 170px; margin-right: 76px; border-bottom: 1px solid var(--line); }
.tf-eje span { position: absolute; bottom: 4px; transform: translateX(-50%); color: var(--muted); font-size: 12px; }
.tf-ed { border-bottom: 1px solid var(--line); }
.tf-ed summary { display: grid; grid-template-columns: 170px minmax(0, 1fr) 76px; align-items: center; min-height: 64px; cursor: pointer; list-style: none; }
.tf-ed summary::-webkit-details-marker { display: none; }
.tf-ed summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.tf-ed-nom { color: var(--muted); font-size: 14px; }
.tf-ed-nom b { display: block; color: var(--text); font: 900 28px/1 var(--display); }
.tf-ed[open] .tf-ed-nom b, .tf-ed summary:hover .tf-ed-nom b { color: var(--gold); }
.tf-ed-n { color: var(--muted); font-size: 14px; text-align: right; }
.tf-barra { position: relative; height: 40px; }
.tf-turno { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; padding: 0 8px; overflow: hidden; background: #26241f; border-left: 2px solid var(--ink); transition: background .15s; }
.tf-turno em { overflow: hidden; color: var(--text); font: 700 13px/1 var(--body); font-style: normal; white-space: nowrap; text-overflow: ellipsis; }
.tf-turno.es-org, .tf-muestra.es-org { background: var(--gold); }
.tf-turno.es-org em { color: var(--ink); }
.tf-ed summary:hover .tf-turno:not(.es-org) { background: #3a362c; }
.tf-ed-cuerpo { padding: 8px 0 32px 170px; }
.tf-link { display: inline-block; margin-top: 18px; color: var(--gold); font-weight: 700; }
.tf-nota { margin: 20px 0 0; color: var(--muted); font-size: 14px; }
.tf-muestra { display: inline-block; width: 22px; height: 12px; margin-right: 6px; vertical-align: -1px; }

/* DJs */
.tf-djs { padding: clamp(48px, 7vw, 96px) 0; }
.tf-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 24px 16px; }
.tf-card a { display: block; color: inherit; text-decoration: none; }
.tf-foto { display: block; aspect-ratio: 1; overflow: hidden; background: var(--deck); border: 1px solid var(--line); }
.tf-foto img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .2s, transform .3s; }
.tf-card a:hover img, .tf-card a:focus-visible img { filter: none; transform: scale(1.04); }
.tf-ini { display: grid; place-items: center; width: 100%; height: 100%; color: var(--gold); font: 900 56px/1 var(--display); background: repeating-linear-gradient(135deg, transparent 0 10px, rgba(242, 191, 7, .05) 10px 11px); }
.tf-card-nom { display: block; margin-top: 10px; font: 800 20px/1.05 var(--display); text-transform: uppercase; overflow-wrap: anywhere; }
.tf-card-ed { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; }
.tf-card a:hover .tf-card-nom { color: var(--gold); }

@media (max-width: 900px) {
	.tf-hero-in, .tf-origen-in { grid-template-columns: 1fr; }
	.tf-logo { max-width: 190px; justify-self: start; order: -1; }
	.tf-eje { display: none; }
	.tf-ed summary { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "nom n" "barra barra"; gap: 8px 12px; padding: 14px 0; }
	.tf-ed-nom { grid-area: nom; }
	.tf-ed-n { grid-area: n; }
	.tf-barra { grid-area: barra; height: 10px; }
	.tf-turno em { display: none; }
	.tf-ed-cuerpo { padding-left: 0; }
	.tf-horario li { grid-template-columns: 64px minmax(0, 1fr); }
	.tf-tw { grid-column: 2; }
	.tf-tw span { overflow-wrap: anywhere; }
	.tf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Cartel (1080 × 1350, formato Instagram) ---------- */
.tf-cartel-body #pmt-onair-bar { display: none !important; }
body.tf-cartel-body { margin: 0; background: #1b1a17; color: var(--text); font-family: var(--body); }
.tf-cartel-app { display: grid; grid-template-columns: auto minmax(280px, 380px); gap: 32px; justify-content: center; align-items: start; padding: 24px max(16px, env(safe-area-inset-left, 0px)); }
.tf-cartel-marco { width: calc(1080px * var(--k)); height: calc(1350px * var(--k)); --k: .55; }
.tf-cartel { width: 1080px; height: 1350px; transform: scale(var(--k)); transform-origin: 0 0; position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 72px 80px 64px; background: #050505; color: #f7f7f2; box-sizing: border-box; }
.tf-cartel.sin-escala { transform: none; }
.tf-c-marca { position: absolute; right: -230px; top: 120px; width: 760px; height: auto; opacity: .09; pointer-events: none; }
.tf-c-top { position: relative; display: flex; align-items: center; gap: 28px; }
.tf-c-top img { width: 112px; height: auto; }
.tf-c-pre { margin: 0; color: #f2bf07; font: 700 26px/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.tf-c-tit { position: relative; margin: 32px 0 0; color: #f7f7f2; font: 900 116px/.86 var(--display); text-transform: uppercase; letter-spacing: 0; }
.tf-c-tit span { color: #f2bf07; }
.tf-c-fecha { position: relative; margin: 34px 0 0; font: 800 44px/1 var(--display); text-transform: uppercase; }
.tf-c-fecha small { display: block; margin-top: 10px; color: #b8b5aa; font: 400 26px/1 var(--body); text-transform: none; }
.tf-c-lineup { position: relative; list-style: none; margin: auto 0 0; padding: 0; }
.tf-c-lineup li { display: grid; grid-template-columns: 140px 56px minmax(0, 1fr); align-items: center; gap: 22px; padding: 6px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.tf-c-lineup.muchos li { padding: 3px 0; grid-template-columns: 130px 52px minmax(0, 1fr); }
.tf-c-lineup.muchos .tf-c-av { width: 52px; height: 52px; font-size: 22px; }
.tf-c-lineup.muchos .tf-c-hora { font-size: 30px; }
.tf-c-hora { color: #f2bf07; font: 800 34px/1 var(--display); }
.tf-c-av { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: #191814; display: grid; place-items: center; color: #f2bf07; font: 900 26px/1 var(--display); }
.tf-c-av img { width: 100%; height: 100%; object-fit: cover; }
.tf-c-dj { font: 900 42px/1.15 var(--display); text-transform: uppercase; white-space: nowrap; }
.tf-c-lineup.muchos .tf-c-dj { font-size: 36px; }
.tf-c-pie { position: relative; display: flex; justify-content: space-between; align-items: end; margin-top: 34px; padding-top: 22px; border-top: 4px solid #f2bf07; color: #b8b5aa; font-size: 24px; }
.tf-c-pie strong { color: #f7f7f2; font: 800 32px/1 var(--display); text-transform: uppercase; }
.tf-cartel-panel { font-family: var(--body); position: sticky; top: 24px; display: flex; flex-direction: column; gap: 16px; }
.tf-cartel-panel h1 { margin: 0; font: 900 40px/1 var(--display); text-transform: uppercase; }
.tf-cartel-panel textarea { width: 100%; min-height: 220px; box-sizing: border-box; padding: 12px; background: #0f0f0f; color: var(--text); border: 1px solid var(--line); font: 14px/1.5 var(--body); resize: vertical; }
.tf-cartel-panel label { color: var(--muted); font-size: 14px; }
.tf-cartel-panel .tf-btn { border: 0; cursor: pointer; text-align: center; }
.tf-cartel-panel a.volver { color: var(--gold); }
.tf-cartel-panel .ok { min-height: 1.4em; margin: 0; color: var(--gold); font-size: 14px; }
@media (max-width: 1000px) {
	.tf-cartel-app { grid-template-columns: 1fr; justify-items: center; }
	.tf-cartel-marco { --k: .32; }
	.tf-cartel-panel { position: static; width: 100%; max-width: 420px; }
}
@media (max-width: 380px) { .tf-cartel-marco { --k: .28; } }
@media (prefers-reduced-motion: reduce) { .tf-foto img { transition: none; } }
