/* TRT+ — cinematic streaming front end
   Oswald (broadcast display) · Archivo (UI) · crimson→coral accent on ink */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Oswald:wght@400;500;600;700&family=Archivo:wght@400;500;600;700&display=swap');

.tpl, .tpl * { box-sizing: border-box; }

.tpl {
	--ink: #0a0a0c;
	--ink-2: #131318;
	--panel: #18181f;
	--line: rgba(255,255,255,.10);
	--text: #f3f3f5;
	--muted: #a7a7b0;
	--dim: #6f6f78;
	--a1: #ff3a3a;
	--a2: #ff7a18;
	--accent: #e0142d;
	--ok: #46d369;
	--disp: 'Oswald', 'Archivo', system-ui, sans-serif;
	--ui: 'Archivo', system-ui, sans-serif;
	--label: 'Bebas Neue', 'Oswald', sans-serif;

	position: relative;
	font-family: var(--ui);
	color: var(--text);
	background: var(--ink);
	margin: 0 calc(50% - 50vw);
	width: 100vw;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

.tpl-noise {
	position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .035;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	mix-blend-mode: overlay;
}

/* ── nav ──────────────────────────────────────────────── */
.tpl-nav {
	position: sticky; top: 0; z-index: 50;
	display: flex; align-items: center; gap: 28px;
	padding: 16px clamp(16px, 4vw, 56px);
	transition: background .3s ease, backdrop-filter .3s ease;
}
.tpl-nav.is-scrolled { background: rgba(10,10,12,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.tpl-brand {
	font-family: var(--disp); font-weight: 700; font-size: 28px; letter-spacing: .02em;
	color: #fff; text-decoration: none; line-height: 1; text-transform: uppercase;
}
.tpl-brand-plus {
	background: linear-gradient(120deg, var(--a1), var(--a2));
	-webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
	font-weight: 700; margin-left: 1px;
}
.tpl-links { display: flex; gap: 6px; }
.tpl-link {
	font-family: var(--ui); font-size: 14px; font-weight: 500; color: var(--muted);
	background: none; border: 0; padding: 8px 12px; cursor: pointer; border-radius: 6px; transition: color .15s, background .15s;
}
.tpl-link:hover { color: #fff; }
.tpl-link.is-active { color: #fff; }
.tpl-nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.tpl-search-btn { background: none; border: 0; cursor: pointer; padding: 4px; display: grid; place-items: center; }
.tpl-search-btn svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.tpl-search-input {
	width: 230px; background: rgba(0,0,0,.6); border: 1px solid var(--line); color: #fff;
	padding: 9px 12px; border-radius: 6px; font-family: var(--ui); font-size: 14px; outline: none;
}
.tpl-search-input:focus { border-color: rgba(255,255,255,.4); }
.tpl-avatar {
	width: 34px; height: 34px; border-radius: 6px; display: grid; place-items: center;
	font-family: var(--disp); font-size: 12px; font-weight: 600; letter-spacing: .04em;
	background: linear-gradient(135deg, var(--a1), var(--a2)); color: #fff;
}

/* ── billboard ────────────────────────────────────────── */
.tpl-hero { position: relative; height: min(86vh, 760px); margin-top: -74px; z-index: 2; }
.tpl-hero-bg {
	position: absolute; inset: 0; background-size: cover; background-position: center top;
	transition: opacity .8s ease; opacity: 1;
}
.tpl-hero-bg.is-fading { opacity: 0; }
.tpl-hero-scrim {
	position: absolute; inset: 0;
	background:
		linear-gradient(to top, var(--ink) 2%, rgba(10,10,12,.2) 38%, transparent 62%),
		linear-gradient(to right, rgba(10,10,12,.92) 0%, rgba(10,10,12,.45) 38%, transparent 70%);
}
.tpl-hero-inner {
	position: absolute; left: clamp(16px, 4vw, 56px); bottom: 16%; z-index: 3;
	max-width: min(620px, 80%);
}
.tpl-hero-badge {
	display: inline-flex; align-items: center; gap: 11px; font-family: var(--label);
	font-size: 16px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase;
	color: #fff; margin-bottom: 16px;
}
.tpl-hero-badge i { width: 32px; height: 3px; border-radius: 2px; display: inline-block; background: linear-gradient(90deg, var(--a1), var(--a2)); }

/* home hero: accent bloom + cinematic reveal */
.tpl-hero-glow {
	position: absolute; left: 0; bottom: 0; width: 66vw; height: 70vh; z-index: 1; pointer-events: none;
	background: radial-gradient(40% 50% at 22% 78%, var(--accent), transparent 66%);
	opacity: .15; filter: blur(55px); mix-blend-mode: screen; transition: background .8s ease;
}
@keyframes tpld-rise { to { opacity: 1; transform: none; } }

/* standalone (no theme header/footer) */
body.tpl-standalone { margin: 0 !important; padding: 0 !important; background: #0a0a0c; }
body.tpl-standalone .tpl { margin: 0; width: 100%; }

/* view switch fade (Series / Films / Live / My List / Home) */
.tpl-faded { animation: tpl-viewfade .35s cubic-bezier(.2,.7,.2,1); }
@keyframes tpl-viewfade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.tpl-hero-logo { max-width: 460px; max-height: 200px; margin-bottom: 18px; filter: drop-shadow(0 4px 20px rgba(0,0,0,.6)); }
.tpl-hero-title {
	font-family: var(--disp); font-weight: 700; text-transform: uppercase;
	font-size: clamp(38px, 6vw, 78px); line-height: .96; letter-spacing: -.01em;
	margin: 0 0 16px; text-shadow: 0 4px 24px rgba(0,0,0,.5);
}
.tpl-hero-meta { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--text); margin-bottom: 14px; flex-wrap: wrap; }
.tpl-hero-meta .tpl-pill { font-family: var(--label); letter-spacing: .05em; border: 1px solid var(--line); padding: 2px 8px 0; border-radius: 3px; font-size: 14px; color: #cfcfd6; }
.tpl-hero-meta .tpl-type { font-family: var(--label); letter-spacing: .08em; text-transform: uppercase; color: var(--a2); font-size: 16px; }
.tpl-hero-syn { font-size: 16px; line-height: 1.5; color: #e7e7ea; margin: 0 0 22px;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; max-width: 540px; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.tpl-hero-btns { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tpl-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; border: 0;
	font-family: var(--ui); font-weight: 700; font-size: 16px; padding: 13px 30px; border-radius: 8px; letter-spacing: .01em;
	text-decoration: none; transition: transform .16s cubic-bezier(.2,.7,.2,1), background .16s ease, box-shadow .16s ease, color .16s, border-color .16s;
}
.tpl-btn svg { width: 21px; height: 21px; transition: transform .2s ease; }
.tpl-btn-play { background: #fff; color: #0a0a0c; box-shadow: 0 6px 20px -6px rgba(255,255,255,.3); }
.tpl-btn-play:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -10px rgba(255,255,255,.5); }
.tpl-btn-play:active { transform: translateY(0); }
.tpl-btn-play:hover svg { transform: scale(1.18); }
.tpl-btn-info { background: rgba(26,26,34,.55); color: #fff; border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(8px); }
.tpl-btn-info:hover { background: rgba(48,48,60,.7); border-color: rgba(255,255,255,.45); transform: translateY(-2px); }
.tpl-hero-dots { position: absolute; right: clamp(16px, 4vw, 56px); bottom: 13%; z-index: 3; display: flex; align-items: center; gap: 9px; }
.tpl-dot { width: 26px; height: 3px; border-radius: 2px; border: 0; padding: 0; background: rgba(255,255,255,.26); cursor: pointer; transition: width .35s cubic-bezier(.2,.7,.2,1), background .35s ease; }
.tpl-dot:hover { background: rgba(255,255,255,.5); }
.tpl-dot.is-on { width: 44px; background: linear-gradient(90deg, var(--a1), var(--a2)); }

/* ── rows ─────────────────────────────────────────────── */
.tpl-rows { position: relative; z-index: 4; margin-top: -46px; padding-top: 4px; padding-bottom: 40px; }
.tpl-row { margin: 0 0 34px; }
.tpl-row-title {
	display: flex; align-items: center; gap: 11px;
	font-family: var(--label); font-weight: 400; text-transform: uppercase; letter-spacing: .03em;
	font-size: 26px; line-height: 1; color: #ededf2; margin: 0 0 10px; padding: 0 clamp(16px, 4vw, 56px);
}
.tpl-row-wrap { position: relative; }
.tpl-track {
	display: flex; gap: 10px; overflow-x: auto; scroll-behavior: smooth;
	padding: 14px clamp(16px, 4vw, 56px) 16px; scrollbar-width: none;
	scroll-snap-type: x proximity; scroll-padding-left: clamp(16px, 4vw, 56px);
}
.tpl-card { scroll-snap-align: start; }
.tpl-track::-webkit-scrollbar { display: none; }
.tpl-arrow {
	position: absolute; top: 0; bottom: 22px; width: clamp(16px, 4vw, 56px); z-index: 6;
	background: linear-gradient(to right, rgba(10,10,12,.7), transparent); border: 0; color: #fff;
	font-size: 34px; cursor: pointer; opacity: 0; transition: opacity .2s; display: grid; place-items: center;
}
.tpl-arrow-l { left: 0; }
.tpl-arrow-r { right: 0; background: linear-gradient(to left, rgba(10,10,12,.7), transparent); }
.tpl-row-wrap:hover .tpl-arrow { opacity: 1; }

.tpl-card {
	position: relative; flex: 0 0 auto; width: clamp(132px, 14vw, 184px);
	aspect-ratio: 2 / 3; border: 0; padding: 0; cursor: pointer; background: var(--ink-2);
	border-radius: 7px; overflow: hidden; transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s;
}
.tpl-card:hover { transform: scale(1.07); box-shadow: 0 18px 40px -14px rgba(0,0,0,.8); z-index: 5; }
.tpl-card-img { position: absolute; inset: 0; background-size: cover; background-position: center; display: grid; place-items: center; }
.tpl-card-fallback { font-family: var(--disp); font-size: 15px; color: var(--dim); padding: 10px; text-align: center; text-transform: uppercase; }
.tpl-card-badge {
	position: absolute; top: 8px; left: 8px; font-family: var(--label); font-size: 13px; font-weight: 400;
	letter-spacing: .06em; text-transform: uppercase; color: #fff; padding: 4px 8px 2px; border-radius: 3px; line-height: 1;
	background: linear-gradient(120deg, var(--a1), var(--a2)); box-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.tpl-card-hover {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 10px 10px;
	background: linear-gradient(to top, rgba(0,0,0,.9), transparent); opacity: 0; transition: opacity .2s;
	display: flex; flex-direction: column; gap: 2px; text-align: left; pointer-events: none;
}
.tpl-card:hover .tpl-card-hover { opacity: 1; }
.tpl-card-htitle { font-size: 13px; font-weight: 600; color: #fff; line-height: 1.2;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tpl-card-hmeta { font-size: 11px; color: var(--muted); }

/* ── search grid ──────────────────────────────────────── */
.tpl-search-results { padding-top: 6px; }
.tpl-grid {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px;
	padding: 0 clamp(16px, 4vw, 56px);
}
.tpl-grid .tpl-card { width: 100%; }

.tpl-empty { background: #0a0a0c; color: #ccc; padding: 60px 24px; text-align: center; font-family: 'Archivo', sans-serif; }
.tpl-foot { color: var(--dim); font-size: 13px; text-align: center; padding: 30px 0 50px; border-top: 1px solid var(--line); }

/* ── detail modal ─────────────────────────────────────── */
.tpl-modal { position: fixed; inset: 0; z-index: 100; display: none; }
.tpl-modal.is-open { display: block; }
body.tpl-locked { overflow: hidden; }
.tpl-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.78); backdrop-filter: blur(3px); }
.tpl-modal-card {
	position: relative; z-index: 2; width: min(900px, 94vw); max-height: 92vh; overflow-y: auto;
	margin: 4vh auto; background: var(--ink-2); border-radius: 12px; border: 1px solid var(--line);
	box-shadow: 0 40px 100px -20px rgba(0,0,0,.9); animation: tpl-rise .3s cubic-bezier(.2,.7,.2,1);
}
@keyframes tpl-rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.tpl-md-hero { position: relative; aspect-ratio: 16 / 8; background-size: cover; background-position: center top; }
.tpl-md-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--ink-2), transparent 60%); }
.tpl-md-x {
	position: absolute; top: 14px; right: 14px; z-index: 3; width: 38px; height: 38px; border-radius: 50%;
	border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 18px; cursor: pointer;
}
.tpl-md-x:hover { background: var(--accent); }
.tpl-md-heroinner { position: absolute; left: 40px; bottom: 26px; z-index: 2; right: 40px; }
.tpl-md-title { font-family: var(--disp); font-weight: 700; text-transform: uppercase; font-size: clamp(26px, 4vw, 44px); line-height: 1; margin: 0 0 16px; }
.tpl-md-logo { max-height: 130px; max-width: 60%; margin-bottom: 16px; }
.tpl-md-btns { display: flex; gap: 10px; }
.tpl-md-body { padding: 8px 40px 36px; display: grid; grid-template-columns: 1.7fr 1fr; gap: 26px; }
.tpl-md-meta { display: flex; align-items: center; gap: 12px; margin: 6px 0 14px; font-size: 14px; flex-wrap: wrap; }
.tpl-md-meta .tpl-match { color: var(--ok); font-weight: 700; }
.tpl-md-meta .tpl-pill { font-family: var(--label); letter-spacing: .05em; border: 1px solid var(--line); padding: 2px 8px 0; border-radius: 3px; font-size: 14px; color: #cfcfd6; }
.tpl-md-syn { font-size: 15px; line-height: 1.6; color: #e3e3e7; }
.tpl-md-side { font-size: 13px; line-height: 1.7; }
.tpl-md-side .k { color: var(--dim); }
.tpl-md-side a, .tpl-md-side span.v { color: #d9d9df; }
.tpl-md-section-h { font-family: var(--disp); text-transform: uppercase; letter-spacing: .04em; font-size: 18px; color: #eee; padding: 0 40px; margin: 8px 0 14px; }

/* detail tabs */
.tpl-md-tabs { display: flex; gap: 26px; padding: 8px 40px 0; border-bottom: 1px solid var(--line); }
.tpl-md-tab {
	background: none; border: 0; cursor: pointer; font-family: var(--disp); text-transform: uppercase;
	letter-spacing: .05em; font-size: 15px; color: var(--muted); padding: 12px 2px 15px;
	border-bottom: 3px solid transparent; margin-bottom: -1px; transition: color .15s;
}
.tpl-md-tab:hover { color: #fff; }
.tpl-md-tab.is-active { color: #fff; border-bottom-color: var(--accent); }
.tpl-md-panels { padding-top: 8px; }
.tpl-md-panel { display: none; }
.tpl-md-panel.is-active { display: block; animation: tpl-fade .25s ease; }
@keyframes tpl-fade { from { opacity: 0; } to { opacity: 1; } }

.tpl-extras { padding: 18px 40px 40px; }
.tpl-extra { display: inline-block; width: 340px; max-width: 100%; background: none; border: 0; cursor: pointer; text-align: left; }
.tpl-extra-still { display: grid; place-items: center; aspect-ratio: 16/9; background: #000 center/cover no-repeat; border-radius: 8px; border: 1px solid var(--line); }
.tpl-extra-play { width: 52px; height: 52px; border-radius: 50%; background: rgba(0,0,0,.5); border: 2px solid #fff; color: #fff; display: grid; place-items: center; font-size: 18px; }
.tpl-extra:hover .tpl-extra-play { background: var(--accent); border-color: var(--accent); }
.tpl-extra-label { display: block; margin-top: 9px; color: #ddd; font-size: 14px; font-weight: 500; }

.tpl-eps { padding: 0 40px 30px; display: flex; flex-direction: column; gap: 10px; }
.tpl-ep-card {
	display: grid; grid-template-columns: 150px 1fr auto; gap: 16px; align-items: center;
	background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 10px; cursor: pointer; transition: background .15s;
}
.tpl-ep-card:hover { background: #20202a; }
.tpl-ep-still { aspect-ratio: 16/9; background-size: cover; background-position: center; border-radius: 5px; background-color: #000; position: relative; }
.tpl-ep-still::after { content: '▶'; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; opacity: 0; transition: opacity .15s; font-size: 22px; }
.tpl-ep-card:hover .tpl-ep-still::after { opacity: 1; }
.tpl-ep-no { font-family: var(--disp); font-size: 20px; color: var(--muted); padding: 0 4px; }
.tpl-ep-main .t { font-weight: 600; font-size: 15px; }
.tpl-ep-main .s { font-size: 13px; color: var(--muted); margin-top: 3px; }
.tpl-ep-rt { font-size: 13px; color: var(--dim); }

.tpl-more { padding: 0 40px 40px; }
.tpl-more-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: 12px; }

.tpl-iconbtn {
	position: relative; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.35);
	background: rgba(255,255,255,.08); backdrop-filter: blur(10px); color: #fff; cursor: pointer; line-height: 0;
	display: grid; place-items: center; transition: transform .16s cubic-bezier(.2,.7,.2,1), border-color .16s, background .16s, box-shadow .16s;
}
.tpl-iconbtn svg { width: 22px; height: 22px; display: block; }
.tpl-iconbtn:hover { border-color: #fff; background: rgba(255,255,255,.16); transform: translateY(-2px) scale(1.06); box-shadow: 0 10px 26px -10px rgba(0,0,0,.7); }
.tpl-iconbtn.is-on { background: var(--accent); border-color: var(--accent); color: #fff; }
.tpl-iconbtn[data-add]::after {
	content: 'My List'; position: absolute; bottom: -32px; left: 50%; transform: translateX(-50%) translateY(4px);
	font-family: var(--ui); font-size: 11px; font-weight: 600; letter-spacing: .04em; color: #fff; white-space: nowrap;
	background: rgba(0,0,0,.82); padding: 4px 9px; border-radius: 4px; opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s;
}
.tpl-iconbtn[data-add].is-on::after { content: 'Added'; }
.tpl-iconbtn[data-add]:hover::after { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── player ───────────────────────────────────────────── */
.tpl-player { position: fixed; inset: 0; z-index: 200; background: #000; display: none; }
.tpl-player.is-open { display: block; }
.tpl-player-stage { position: absolute; inset: 0; display: grid; place-items: center; }
.tpl-player-stage video, .tpl-player-stage iframe { width: 100%; height: 100%; border: 0; }
.tpl-player-close {
	position: absolute; top: 20px; right: 24px; z-index: 3; width: 46px; height: 46px; border-radius: 50%;
	background: rgba(0,0,0,.55); color: #fff; border: 1px solid rgba(255,255,255,.25); font-size: 20px; cursor: pointer;
}
.tpl-player-close:hover { background: var(--accent); }
.tpl-player-title { position: absolute; top: 26px; left: 28px; z-index: 3; font-family: var(--disp); text-transform: uppercase; font-size: 20px; letter-spacing: .03em; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.7); }

/* ── full-page detail (single title) ──────────────────── */
.tpld { min-height: 100vh; padding-bottom: 70px; position: relative; }
.tpld-back {
	position: absolute; top: 20px; left: clamp(16px, 4vw, 56px); z-index: 10;
	font-family: var(--disp); font-weight: 600; text-transform: uppercase; letter-spacing: .03em;
	font-size: 18px; color: #fff; text-decoration: none; text-shadow: 0 2px 10px rgba(0,0,0,.6);
}
.tpld-back:hover { opacity: .8; }
.tpld-hero { position: relative; height: min(82vh, 720px); background-size: cover; background-position: center top; }
.tpld-hero-scrim {
	position: absolute; inset: 0;
	background:
		linear-gradient(to top, var(--ink) 1%, rgba(10,10,12,.2) 40%, transparent 64%),
		linear-gradient(to right, rgba(10,10,12,.9) 0%, rgba(10,10,12,.4) 40%, transparent 72%);
}
.tpld-hero-inner { position: absolute; left: clamp(16px, 4vw, 56px); bottom: 12%; z-index: 3; max-width: min(640px, 84%); }
.tpld-logo { max-width: 460px; max-height: 200px; margin-bottom: 16px; filter: drop-shadow(0 4px 20px rgba(0,0,0,.6)); }
.tpld-title { font-family: var(--disp); font-weight: 700; text-transform: uppercase; font-size: clamp(40px, 6.5vw, 84px); line-height: .94; margin: 0 0 16px; text-shadow: 0 4px 24px rgba(0,0,0,.5); }
.tpld-meta { display: flex; align-items: center; gap: 13px; font-size: 14px; color: var(--text); margin-bottom: 14px; flex-wrap: wrap; }
.tpld-meta .tpl-type { font-family: var(--label); letter-spacing: .08em; text-transform: uppercase; color: var(--a2); font-size: 16px; }
.tpld-syn { font-size: 16px; line-height: 1.5; color: #e7e7ea; margin: 0 0 22px; max-width: 560px;
	display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.tpld-btns { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.tpld-body { position: relative; z-index: 4; max-width: 1100px; margin: -5vh 0 0; }
/* keep tabs + every panel's content aligned to the hero's left inset */
.tpld .tpl-md-tabs,
.tpld .tpl-eps,
.tpld .tpl-md-body,
.tpld .tpl-more,
.tpld .tpl-extras { padding-left: clamp(16px, 4vw, 56px); padding-right: clamp(16px, 4vw, 56px); }
.tpld .tpl-md-body { grid-template-columns: minmax(0, 620px) 1fr; }

/* detail polish: atmosphere, accent theming, cinematic load-in */
.tpld-glow {
	position: absolute; left: 0; bottom: 0; width: 70vw; height: 72vh; z-index: 1; pointer-events: none;
	background: radial-gradient(42% 52% at 24% 76%, var(--accent), transparent 68%);
	opacity: .2; filter: blur(50px); mix-blend-mode: screen; animation: tpld-breathe 9s ease-in-out infinite;
}
@keyframes tpld-breathe { 0%, 100% { opacity: .14; } 50% { opacity: .26; } }

.tpld-kicker { display: inline-flex; align-items: center; gap: 11px; font-family: var(--label); font-weight: 400;
	text-transform: uppercase; letter-spacing: .14em; font-size: 16px; color: #fff; margin-bottom: 16px; }
.tpld-kicker i { width: 32px; height: 3px; background: linear-gradient(90deg, var(--a1), var(--a2)); display: inline-block; border-radius: 2px; }

.tpld-back-arrow { display: inline-block; transition: transform .2s ease; }
.tpld-back:hover .tpld-back-arrow { transform: translateX(-5px); }

.tpld-title { letter-spacing: -.015em; }

/* staggered cinematic reveal */
.tpld-hero { animation: tpld-herofade 1.2s ease both; }
@keyframes tpld-herofade { from { opacity: .35; } to { opacity: 1; } }
.tpld-hero-inner > * { opacity: 0; transform: translateY(22px); animation: tpld-rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
.tpld-hero-inner > *:nth-child(1) { animation-delay: .08s; }
.tpld-hero-inner > *:nth-child(2) { animation-delay: .18s; }
.tpld-hero-inner > *:nth-child(3) { animation-delay: .28s; }
.tpld-hero-inner > *:nth-child(4) { animation-delay: .38s; }
.tpld-hero-inner > *:nth-child(5) { animation-delay: .48s; }
@keyframes tpld-rise { to { opacity: 1; transform: none; } }

/* micro-interactions */
.tpld-btns .tpl-btn-play:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 14px 32px -10px rgba(255,255,255,.35); }
.tpld-btns .tpl-iconbtn { transition: transform .15s ease, border-color .15s, background .15s; }
.tpld-btns .tpl-iconbtn:hover { transform: translateY(-2px); }
.tpld .tpl-md-tabs { gap: 30px; }
.tpld .tpl-md-panel.is-active { animation: tpld-rise .5s cubic-bezier(.2,.7,.2,1) forwards; }
.tpld .tpl-ep-card { transition: background .15s, transform .18s ease, box-shadow .18s ease, border-color .15s; }
.tpld .tpl-ep-card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -16px rgba(0,0,0,.8); border-color: rgba(255,255,255,.2); }

@media (prefers-reduced-motion: reduce) {
	.tpld-hero, .tpld-hero-inner > *, .tpld-glow, .tpld .tpl-md-panel.is-active { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ── responsive ───────────────────────────────────────── */
@media (max-width: 760px) {
	.tpl-links { display: none; }
	.tpl-hero { height: 70vh; }
	.tpl-md-body { grid-template-columns: 1fr; }
	.tpl-ep-card { grid-template-columns: 110px 1fr; }
	.tpl-ep-rt { display: none; }
}
