/*
Theme Name: ByProfu Nocturne
Author: ByProfu
Version: 2.0.4
Requires at least: 6.0
Requires PHP: 7.4
Description: Aceleași funcții și setări ca ByProfu Vertical, într-un stil editorial de cinema cu slider și postere redesenate.
Text Domain: byprofu-reel
*/

/* =====================================================================
   1. Variabile și bază
   ===================================================================== */
:root {
	--bg: #080a0f;
	--panel: #10131a;
	--panel2: #151923;
	--text: #f7f7f8;
	--muted: #969ba8;
	--accent: #ff315f;
	--accent2: #ff174d;
	--accent-rgb: 255, 49, 95;   /* aceeași culoare, pentru transparențe (o schimbă Aspect → Setări temă) */
	--line: #242936;
	--r: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 14px/1.5 Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
/* singura regulă cu !important: [hidden] trebuie să ascundă orice element, oricare i-ar fi stilul */
[hidden] { display: none !important; }

/* Căutare — „form.search”, nu „.search”: WordPress pune clasa „search” și pe <body> la pagina de rezultate,
   iar regulile de aici strângeau toată pagina la 520px și transformau orice buton în butonul lupei */
form.search { position: relative; flex: 1; max-width: 520px; }
form.search input {
	width: 100%;
	height: 42px;
	padding: 0 44px 0 15px;
	border: 1px solid #262b37;
	border-radius: 12px;
	outline: 0;
	background: #11151d;
	color: #fff;
}
form.search > button {
	position: absolute;
	top: 5px;
	right: 5px;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 9px;
	background: var(--accent);
	color: #fff;
	cursor: pointer;
}
form.search.is-loading > button { opacity: .6; }
form.search.is-suggesting input { border-color: #3a4152; border-radius: 12px 12px 0 0; }

/* Sugestii pe loc sub caseta de căutare */
.search-suggest {
	position: absolute;
	top: 41px;
	left: 0;
	right: 0;
	z-index: 60;
	max-height: min(70vh, 520px);
	overflow-y: auto;
	padding: 6px;
	border: 1px solid #3a4152;
	border-top-color: var(--line);
	border-radius: 0 0 12px 12px;
	background: var(--panel);
	box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
}
.ss-item {
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 7px 8px;
	border-radius: 9px;
}
.ss-item:hover, .ss-item.is-active { background: var(--panel2); }
.ss-film img, .ss-noimg {
	flex: none;
	width: 36px;
	height: 54px;
	border-radius: 5px;
	object-fit: cover;
	background: #1b202b;
}
.ss-noimg, .ss-ico { display: grid; place-items: center; }
.ss-ico {
	flex: none;
	width: 36px;
	height: 36px;
	border-radius: 9px;
	background: rgba(var(--accent-rgb), .14);
	color: var(--accent);
	font-weight: 900;
}
.ss-txt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ss-name { overflow: hidden; color: var(--text); font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.ss-genre .ss-name { flex: 1; }
.ss-sub { color: var(--muted); font-size: 12px; }
.ss-item mark { background: none; color: var(--accent); }
.ss-item .badge { flex: none; font-size: 11px; }
.ss-all {
	justify-content: center;
	margin-top: 4px;
	border-top: 1px solid var(--line);
	border-radius: 0 0 9px 9px;
	color: var(--accent);
	font-weight: 700;
}
.ss-empty { padding: 14px 10px; color: var(--muted); }

/* =====================================================================
   4. Elemente comune: secțiuni, butoane, insigne, paginare, rânduri, grilă
   ===================================================================== */
.section { margin: 34px 0; }
.section-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	margin-bottom: 15px;
}
.section h2 { margin: 0; font-size: 22px; }
.section-head a { color: #a9aebb; font-size: 13px; }
.meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	color: #c3c7d0;
	font-size: 13px;
}
.badge {
	padding: 3px 8px;
	border-radius: 6px;
	background: var(--accent);
	color: #fff;
	font-weight: 800;
}
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
	padding: 12px 18px;
	border-radius: 11px;
	background: var(--accent);
	font-weight: 900;
}
.empty {
	padding: 30px;
	border: 1px dashed #343946;
	border-radius: 15px;
	color: #858b98;
	text-align: center;
}
.grid > .empty { grid-column: 1 / -1; }   /* mesajul „Nu am găsit filme” pe toată lățimea, nu într-o coloană */
.pager { display: flex; gap: 7px; margin-top: 30px; }
.pager .page-numbers { padding: 8px 12px; border-radius: 8px; background: #151922; }
.pager .current { background: var(--accent); }

.row {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(145px, 1fr);
	grid-template-rows: 1fr;
	gap: 14px;
	overflow-x: auto;
	scrollbar-width: none;
}
.row::-webkit-scrollbar { display: none; }
.grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 17px 14px;
}

/* Prima pagină: listele de câte 10 (5 pe rând) — verticale cu postere înalte, ca la Reels */
.grid.grid-10 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-vertical .poster { aspect-ratio: 9 / 16; }
.home-list { scroll-margin-top: 92px; }
.home-list .grid { transition: opacity .2s; }
.home-list.is-loading .grid { opacity: .45; pointer-events: none; }
.list-count { color: #7f8591; font-size: 12px; }

/* Genuri („În ce poveste intri azi?”) */
.moods { display: flex; gap: 9px; overflow: auto; padding-bottom: 3px; }
.moods a {
	flex: 0 0 auto;
	padding: 9px 14px;
	border: 1px solid #282d38;
	border-radius: 10px;
	background: #11151c;
	color: #cbd0d8;
}
.moods a:hover { border-color: var(--accent); color: #fff; }

/* =====================================================================
   6. Slider-ul de pe prima pagină
   ===================================================================== */
/* Fundal: imaginea mare a filmului; la filmele verticale / fără imagine mare: posterul încețoșat + posterul clar în dreapta */
.hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 430px;
	overflow: hidden;
	margin-bottom: 36px;
	border-radius: 28px;
	background: #0d1017;
	isolation: isolate;
}
.hc-bg, .hc-layer, .hc-shade { position: absolute; inset: 0; }
/* imaginea mare doar în dreapta (~2/3) și se topește lin spre text; posterul încețoșat rămâne pe tot sliderul */
.hc-bg {
	z-index: -2;
	left: 32%;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .06) 8%, rgba(0, 0, 0, .25) 18%, rgba(0, 0, 0, .55) 30%, rgba(0, 0, 0, .85) 42%, #000 55%);
	mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .06) 8%, rgba(0, 0, 0, .25) 18%, rgba(0, 0, 0, .55) 30%, rgba(0, 0, 0, .85) 42%, #000 55%);
}
.hero.is-posterbg .hc-bg { left: 0; -webkit-mask-image: none; mask-image: none; }
.hc-layer {
	background: #121722 center 22% / cover no-repeat;
	opacity: 0;
	transform: scale(1.06);
	transition: opacity .9s ease, transform 7.5s ease-out, filter .5s;
}
.hc-layer.is-on { opacity: 1; transform: scale(1); }
.hero.is-posterbg .hc-layer { filter: blur(30px) brightness(.55) saturate(1.2); transform: scale(1.25); }
.hc-shade {
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(8, 10, 15, .6) 0, rgba(8, 10, 15, .35) 35%, transparent 65%),
		linear-gradient(0deg, rgba(8, 10, 15, .9) 0, rgba(8, 10, 15, .4) 24%, transparent 50%);
}
.hero.is-posterbg .hc-shade {
	background:
		linear-gradient(90deg, rgba(8, 10, 15, .9) 0, rgba(8, 10, 15, .7) 32%, rgba(8, 10, 15, .25) 65%, rgba(8, 10, 15, .1) 100%),
		linear-gradient(0deg, rgba(8, 10, 15, .9) 0, rgba(8, 10, 15, .45) 26%, transparent 55%);
}
/* posterul clar (doar când nu există imagine mare) */
.hc-poster {
	position: absolute;
	top: 30px;
	right: 70px;
	z-index: 1;
	width: auto;
	height: calc(100% - 140px);
	aspect-ratio: 2 / 3;
	overflow: hidden;
	border-radius: 18px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08);
	opacity: 0;
	pointer-events: none;
	transform: translateY(10px) scale(.97);
	transition: opacity .5s, transform .5s;
}
.hc-poster img { width: 100%; height: 100%; object-fit: cover; }
.hero.is-posterbg .hc-poster { opacity: 1; pointer-events: auto; transform: none; }

.hc-info {
	position: relative;
	z-index: 2;
	max-width: 600px;
	padding: 30px 48px 14px 76px;
}
.hc-info h1, .hc-info .eyebrow { text-shadow: 0 2px 4px rgba(0, 0, 0, .45); }
.hc-info.is-in { animation: .6s both bprHeroInfo; }
.eyebrow { color: #d0d2d8; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.hero h1 { margin: 8px 0 12px; font-size: 42px; line-height: 1.04; letter-spacing: -1.4px; }
.hc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; color: #d6d9df; font-size: 14px; font-weight: 600; }
.hc-meta .badge { font-size: 11px; text-shadow: none; }
.hc-rate { color: #ffc24b; font-weight: 800; }
.hc-genre { padding: 2px 9px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; color: #e6e8ec; font-size: 12px; }
.hero p {
	display: -webkit-box;
	overflow: hidden;
	max-width: 540px;
	margin: 14px 0 0;
	color: #b9bdc6;
	font-size: 15px;
	line-height: 1.6;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}
.hc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hc-actions .btn { margin: 0; height: 46px; padding: 0 22px; }
.hc-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 46px;
	padding: 0 18px;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 11px;
	background: rgba(255, 255, 255, .1);
	color: #fff;
	font: inherit;
	font-weight: 800;
	cursor: pointer;
	backdrop-filter: blur(6px);
	transition: background .15s, border-color .15s;
}
.hc-btn:hover { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .18); }
.hc-btn.is-fav { border-color: var(--accent); }
.hc-btn.is-fav .fav-ico { color: var(--accent); }

/* miniaturile de jos: alegi filmul; cea activă are bara de progres */
.hc-thumbs {
	position: relative;
	z-index: 2;
	display: flex;
	gap: 10px;
	overflow-x: auto;
	padding: 12px 76px 20px;
	scrollbar-width: none;
}
.hc-thumbs::-webkit-scrollbar { display: none; }
.hc-thumb {
	position: relative;
	flex: 0 0 54px;
	aspect-ratio: 2 / 3;
	overflow: hidden;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 10px;
	background: #1b202b;
	opacity: .55;
	cursor: pointer;
	transition: opacity .2s, transform .2s, border-color .2s;
}
.hc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hc-thumb:hover { opacity: .9; transform: translateY(-3px); }
.hc-thumb.is-active { border-color: var(--accent); opacity: 1; transform: translateY(-3px); }
.hc-thumb.is-active::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 3px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: left center;
}
.hc-thumb.is-active.is-run::after { animation: var(--hc-delay, 7s) linear both bprHeroProgress; }
.hero.is-paused .hc-thumb.is-active::after { animation-play-state: paused; }
.hc-noimg { display: grid; place-items: center; height: 100%; }
.hc-v { position: absolute; top: 3px; right: 3px; font-size: 11px; }
.hero-arrow {
	position: absolute;
	top: 50%;
	z-index: 8;
	width: 42px;
	height: 58px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 12px;
	background: rgba(8, 10, 15, .72);
	color: #fff;
	font-size: 34px;
	line-height: 1;
	cursor: pointer;
	transform: translateY(-50%);
	backdrop-filter: blur(5px);
}
.hero-arrow:hover { border-color: var(--accent); background: var(--accent); }
.hero-prev { left: 14px; }
.hero-next { right: 14px; }

@keyframes bprHeroInfo {
	0% { opacity: .25; transform: translateY(12px); }
	100% { opacity: 1; transform: translateY(0); }
}
@keyframes bprHeroProgress {
	from { transform: scaleX(0); }
	to { transform: scaleX(1); }
}

/* =====================================================================
   7. Top 10
   ===================================================================== */
.top10-wrap { position: relative; padding: 0 42px; }
.top10 { counter-reset: rank; scroll-behavior: smooth; }
.top10 .card { position: relative; padding-left: 38px; counter-increment: rank; }
.top10 .card::before {
	content: counter(rank);
	position: absolute;
	bottom: 2px;
	left: -5px;
	z-index: 7;
	color: #090b10;
	font-size: 82px;
	font-weight: 1000;
	line-height: .72;
	letter-spacing: -7px;
	text-shadow: 0 8px 22px rgba(0, 0, 0, .85), 0 0 18px rgba(var(--accent-rgb), .14);
	-webkit-text-stroke: 2px rgba(255, 255, 255, .92);
	transition: transform .25s, text-shadow .25s;
}
.top10 .card:hover::before {
	text-shadow: 0 8px 24px rgba(0, 0, 0, .9), 0 0 22px rgba(var(--accent-rgb), .3);
	transform: translateY(-3px) scale(1.04);
}
.top10 .poster { box-shadow: 0 10px 26px rgba(0, 0, 0, .3); }
.top10 .poster-info { padding-left: 22px; }   /* cifra mare din stânga intră puțin peste poster */
.top10-arrow {
	position: absolute;
	top: 42%;
	z-index: 20;
	display: grid;
	place-items: center;
	width: 34px;
	height: 52px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 11px;
	background: rgba(8, 10, 15, .92);
	box-shadow: 0 8px 22px rgba(0, 0, 0, .32);
	color: #fff;
	font-size: 29px;
	line-height: 1;
	cursor: pointer;
	transform: translateY(-50%);
}
.top10-arrow:hover { border-color: var(--accent); background: var(--accent); }
.top10-prev { left: 0; }
.top10-next { right: 0; }

/* =====================================================================
   9. Playerul (servere, cadru, anunț) — lat (16:9) sau vertical (9:16)
   ===================================================================== */
.servers { display: flex; gap: 8px; margin: 22px 0 10px; }
.servers button {
	padding: 9px 14px;
	border: 1px solid #2a303c;
	border-radius: 9px;
	background: #151a23;
	color: #fff;
	cursor: pointer;
}
.servers button.active { border-color: var(--accent); background: var(--accent); }
#player-frame {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	border-radius: 15px;
	background: #000;
}
#player-frame iframe { width: 100%; height: 100%; border: 0; }
.notice {
	position: absolute;
	top: 14px;
	left: 50%;
	z-index: 5;
	width: min(720px, calc(100% - 30px));
	padding: 12px 48px 12px 16px;
	border: 1px solid rgba(255, 255, 255, .13);
	border-radius: 12px;
	background: rgba(12, 14, 19, .9);
	box-shadow: 0 12px 35px rgba(0, 0, 0, .45);
	transform: translateX(-50%);
	backdrop-filter: blur(8px);
}
.notice-x {
	position: absolute;
	top: 50%;
	right: 9px;
	width: 29px;
	height: 29px;
	border: 0;
	border-radius: 50%;
	background: var(--accent);
	color: #fff;
	font-size: 18px;
	cursor: pointer;
	transform: translateY(-50%);
}

/* Imaginea filmului din player, până la „Pornește” (posterul la verticale, imaginea mare la normale) */
.player-cover {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: #0d1017 center 25% / cover no-repeat;
	color: #fff;
	font: inherit;
	cursor: pointer;
}
.player-cover::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at center, rgba(8, 10, 15, .15) 0, rgba(8, 10, 15, .55) 70%), linear-gradient(0deg, rgba(8, 10, 15, .75) 0, transparent 45%);
	transition: background .25s;
}
.player-cover-btn {
	position: relative;
	display: grid;
	place-items: center;
	width: 84px;
	height: 84px;
	padding-left: 6px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 12px 40px rgba(var(--accent-rgb), .45), 0 0 0 10px rgba(var(--accent-rgb), .18);
	font-size: 32px;
	transition: transform .25s, box-shadow .25s;
}
.player-cover-text {
	position: relative;
	font-size: 15px;
	font-weight: 900;
	letter-spacing: .3px;
	text-shadow: 0 2px 12px rgba(0, 0, 0, .8);
}
.player-cover:hover::before { background: radial-gradient(circle at center, rgba(8, 10, 15, .05) 0, rgba(8, 10, 15, .45) 70%), linear-gradient(0deg, rgba(8, 10, 15, .7) 0, transparent 45%); }
.player-cover:hover .player-cover-btn { box-shadow: 0 14px 46px rgba(var(--accent-rgb), .6), 0 0 0 14px rgba(var(--accent-rgb), .2); transform: scale(1.08); }
.fp-stage .player-cover { background-position: center; }

/* Film normal: playerul lat, sub fundal */
.fp-player { margin: 0 0 30px; scroll-margin-top: 96px; }
.fp-player .servers { margin: 0 0 12px; }
.fp-player #player-frame {
	border: 1px solid var(--line);
	border-radius: 18px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
}
.fp-player .embed { position: absolute; inset: 0; }
.fp-player .embed iframe { display: block; width: 100%; height: 100%; border: 0; }

/* „Film vertical”: playerul 9:16 ia locul posterului, lângă informații */
.fp-hero.is-vertical .fp-inner { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); align-items: center; }
.fp-stage { min-width: 0; scroll-margin-top: 96px; }
.fp-stage .servers { justify-content: center; margin: 0 0 10px; }
.fp-stage #player-frame {
	width: min(100%, calc(78vh * 9 / 16));
	margin: 0 auto;
	aspect-ratio: 9 / 16;
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 18px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
}
.fp-stage .embed { position: absolute; inset: 0; overflow: hidden; }
/* filmele verticale vin des cu bare negre laterale în propriul player: mărim ușor iframe-ul și tăiem doar marginile */
.fp-stage .embed iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 112%;
	max-width: none;
	height: 112%;
	border: 0;
	transform: translate(-50%, -50%);
}
.fp-stage .notice { padding: 10px 44px 10px 12px; font-size: 13px; }

/* =====================================================================
   11. Partajează, Raportează, nota vizitatorilor
   ===================================================================== */
.movie-extra { max-width: 1250px; margin: 34px auto 0; }
.movie-extra .section-head { margin-bottom: 14px; }
.action-rating-box {
	position: relative;
	display: grid;
	grid-template-columns: minmax(250px, .75fr) minmax(360px, 1.25fr);
	align-items: stretch;
	gap: 12px;
	max-width: 1250px;
}
.movie-action-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-self: stretch;
	gap: 9px;
}
.movie-action-btn {
	height: 100%;
	min-height: 66px;
	border: 1px solid #2b303c;
	border-radius: 12px;
	background: linear-gradient(180deg, #141923, #0f131a);
	color: #fff;
	font-weight: 900;
	cursor: pointer;
}
.movie-action-btn:hover { border-color: var(--accent); background: #151a23; }
.report-sent-toast {
	align-self: center;
	margin-left: 8px;
	color: #73e6a2;
	font-size: 13px;
	font-weight: 800;
}

.share-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.share-pop {
	position: absolute;
	z-index: 90;
	grid-column: 1 / -1;
	display: flex;
	gap: 9px;
	margin-top: 8px;
	padding: 9px;
	border: 1px solid #2b303c;
	border-radius: 14px;
	background: #0c1017;
	box-shadow: 0 14px 35px rgba(0, 0, 0, .48);
}
.share-icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid #303746;
	border-radius: 50%;
	background: #151a23;
	color: #fff;
	font-size: 21px;
	font-weight: 1000;
	text-decoration: none;
	cursor: pointer;
}
.share-icon.facebook { border-color: #1877f2; background: #1877f2; }
.share-icon.whatsapp { border-color: #25d366; background: #25d366; }
.share-icon.copy-link { background: #252b36; }
.share-icon:hover { filter: brightness(1.12); transform: translateY(-2px); }

.report-pop {
	position: absolute;
	top: 76px;
	left: 0;
	z-index: 95;
	grid-column: 1 / -1;
	width: min(620px, 100%);
	margin-top: 10px;
	padding: 14px;
	border: 1px solid #2a303c;
	border-radius: 14px;
	background: #0e1118;
	box-shadow: 0 18px 45px rgba(0, 0, 0, .55);
}
.report-options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.report-options button {
	padding: 8px 11px;
	border: 1px solid #343a47;
	border-radius: 9px;
	background: #151a23;
	color: #fff;
	cursor: pointer;
}
.report-options button.is-selected { border-color: var(--accent); background: var(--accent); }
.report-message {
	display: block;
	width: 100%;
	min-height: 76px;
	margin-top: 11px;
	padding: 11px;
	border: 1px solid #303746;
	border-radius: 10px;
	background: #10151e;
	color: #fff;
	resize: vertical;
}
.report-send {
	margin-top: 10px;
	padding: 10px 16px;
	border: 0;
	border-radius: 10px;
	background: var(--accent);
	color: #fff;
	font-weight: 900;
	cursor: pointer;
}
.report-feedback { margin-top: 9px; color: #aeb6c4; font-size: 13px; }
.report-feedback.ok { color: #70e49b; }
.report-feedback.err { color: #ff718d; }

.movie-rating {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 66px;
	margin-top: 0;
	padding: 0 20px;
	border: 1px solid #252b36;
	border-radius: 16px;
	background: linear-gradient(180deg, #141923, #0f131a);
}
.rating-summary { display: flex; align-items: center; gap: 10px; }
.rating-stars-static { color: #ffc62f; font-size: 18px; letter-spacing: 2px; }
.rating-average { font-size: 18px; }
.rating-count { color: #8e95a2; font-size: 13px; }
.rating-vote { display: flex; gap: 4px; }
.rating-vote button {
	padding: 3px;
	border: 0;
	background: none;
	color: #545a65;
	font-size: 20px;
	cursor: pointer;
}
/* la hover se aprind stelele până la cea de sub mouse */
.rating-vote:hover button { color: #ff8a24; }
.rating-vote button:hover ~ button { color: #545a65; }
/* după vot rămân aprinse stelele alese */
.movie-rating.is-voted .rating-vote button { color: #545a65; cursor: default; }
.movie-rating.is-voted .rating-vote button.on { color: #ff8a24; }

/* =====================================================================
   12. Comentarii
   ===================================================================== */
.bpr-comments {
	padding: 20px;
	border: 1px solid #202531;
	border-radius: 16px;
	background: #0e1118;
}
.comment-count { margin-bottom: 14px; color: #9298a5; }
.comment-list { margin: 0 0 22px; padding: 0; list-style: none; }
.comment-list li.comment { padding: 14px 0; border-bottom: 1px solid #202531; }
.comment-list .comment-body { position: relative; min-height: 44px; padding-left: 54px; }
.comment-list .avatar { position: absolute; top: 0; left: 0; border-radius: 50%; }
.comment-list .comment-author { font-weight: 800; }
.comment-list .comment-meta { color: #7f8591; font-size: 11px; }
.comment-list p { color: #c1c5ce; }
.comment-list .reply a { color: var(--accent); font-weight: 800; }
.comment-respond { margin-top: 18px; }
.comment-reply-title { font-size: 18px; }
.comment-form label { display: block; margin-bottom: 5px; color: #9298a5; font-size: 12px; }
.comment-form input[type=email],
.comment-form input[type=text],
.comment-form input[type=url],
.comment-form textarea {
	width: 100%;
	padding: 11px 12px;
	border: 1px solid #292f3b;
	border-radius: 10px;
	outline: 0;
	background: #12161e;
	color: #fff;
}
.comment-form textarea { min-height: 110px; resize: vertical; }
.comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 8px; }
.comment-form-cookies-consent label { display: inline; }
.comment-submit {
	padding: 11px 18px;
	border: 0;
	border-radius: 10px;
	background: var(--accent);
	color: #fff;
	font-weight: 900;
	cursor: pointer;
}
.comments-closed { color: #8b919d; }

/* caseta de comentarii de pe pagina filmului */
.comments-box {
	margin-top: 34px;
	padding: 18px;
	border: 1px solid #202631;
	border-radius: 18px;
	background: #0d1119;
}
.comments-title {
	margin-bottom: 14px;
	font-size: 23px;
	font-style: italic;
	font-weight: 1000;
	letter-spacing: -1px;
}
.comments-title::after {
	content: "";
	display: block;
	margin-top: 12px;
	border-bottom: 1px dashed rgba(var(--accent-rgb), .55);
}
.comments-box .bpr-comments { padding: 0; border: 0; border-radius: 0; background: none; }
.comments-box .comment-count { display: none; }
.comments-box .comment-respond {
	padding: 14px;
	border: 1px dashed rgba(var(--accent-rgb), .6);
	border-radius: 14px;
	background: #0f141c;
}
.comments-box .comment-reply-title { margin-top: 0; }
.comments-box .comment-form textarea { min-height: 92px; background: #10151e; }
.comments-box .comment-submit { box-shadow: 0 8px 22px rgba(var(--accent-rgb), .18); }

/* =====================================================================
   14. Trailer (fereastră peste pagină)
   ===================================================================== */
.trailer-btn { text-decoration: none; }
.trailer-modal {
	position: fixed;
	inset: 0;
	z-index: 300;
	display: grid;
	place-items: center;
	padding: 20px;
	background: rgba(3, 4, 7, .88);
	backdrop-filter: blur(6px);
}
.trailer-box {
	position: relative;
	overflow: hidden;
	width: min(1100px, 100%);
	aspect-ratio: 16 / 9;
	border-radius: 16px;
	background: #000;
	box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}
.trailer-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.trailer-x {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 2;
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 50%;
	background: var(--accent);
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}
body.trailer-open { overflow: hidden; }

/* =====================================================================
   15. Pagini obișnuite (ex. Politica de confidențialitate)
   ===================================================================== */
.page-text { max-width: 820px; color: #c3c7cf; font-size: 15px; line-height: 1.7; }
.page-text a { color: var(--accent); }
.page-text h2,
.page-text h3 { color: var(--text); }

/* =====================================================================
   16. Mod Reels (pagina /reels/): filmele verticale pe tot ecranul
   ===================================================================== */
.reels-page { overflow: hidden; background: #000; }
.reels { position: fixed; inset: 0; background: #000; }
.admin-bar .reels { top: 32px; }
.reels-top {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 18px;
	background: linear-gradient(180deg, rgba(0, 0, 0, .7), transparent);
	pointer-events: none;
}
.reels-top > * { pointer-events: auto; }
.reels-top .logo { margin: 0; font-size: 21px; }
.reels-label { color: #d6d8de; font-size: 13px; font-weight: 800; }
.reels-close {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	margin-left: auto;
	border-radius: 50%;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	font-size: 17px;
	backdrop-filter: blur(6px);
}
.reels-close:hover { background: var(--accent); }
.reels-feed {
	height: 100%;
	overflow-y: auto;
	overscroll-behavior: contain;
	scroll-snap-type: y mandatory;
	scrollbar-width: none;
}
.reels-feed::-webkit-scrollbar { display: none; }
.reel {
	position: relative;
	display: grid;
	place-items: center;
	height: 100%;
	overflow: hidden;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}
/* fundal: posterul filmului, încețoșat */
.reel::before {
	content: "";
	position: absolute;
	inset: -40px;
	background: var(--reel-bg, none) center / cover no-repeat;
	filter: blur(40px) brightness(.35) saturate(1.2);
}
.reel-frame {
	position: relative;
	height: min(92%, calc(100vw * 16 / 9));
	overflow: hidden;
	aspect-ratio: 9 / 16;
	border-radius: 18px;
	background: #000;
	box-shadow: 0 30px 80px rgba(0, 0, 0, .7);
}
.reel-frame .embed { position: absolute; inset: 0; overflow: hidden; }
/* playerele verticale vin des cu bare negre laterale: mărim ușor iframe-ul și tăiem doar marginile */
.reel-frame .embed iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 112%;
	max-width: none;
	height: 112%;
	border: 0;
	transform: translate(-50%, -50%);
}
.reel-cover { background-position: center; }
.reel-info {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 3;
	padding: 60px 18px 20px;
	background: linear-gradient(0deg, rgba(0, 0, 0, .88) 0, rgba(0, 0, 0, .55) 55%, transparent);
	pointer-events: none;
	transition: opacity .25s, transform .25s;
}
.reel-info a { pointer-events: auto; }
.reel-title { margin: 0 0 6px; font-size: 20px; line-height: 1.15; text-shadow: 0 2px 10px rgba(0, 0, 0, .7); }
.reel-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 8px; color: #d3d6dd; font-size: 13px; font-weight: 600; }
.reel-meta .badge { padding: 2px 7px; font-size: 11px; }
.reel-desc { margin: 0 0 10px; color: #c3c7cf; font-size: 13px; line-height: 1.5; }
.reel-link {
	display: inline-flex;
	padding: 8px 14px;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 99px;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	backdrop-filter: blur(6px);
}
.reel-link:hover { border-color: var(--accent); background: var(--accent); }
/* în timpul filmului: rămân doar titlul și linkul, sus, ca să nu acopere controalele playerului */
.reel.is-playing .reel-info {
	top: 0;
	bottom: auto;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px 30px;
	background: linear-gradient(180deg, rgba(0, 0, 0, .75), transparent);
}
.reel.is-playing .reel-title { overflow: hidden; margin: 0; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.reel.is-playing .reel-meta,
.reel.is-playing .reel-desc { display: none; }
.reel.is-playing .reel-link { flex: none; padding: 5px 10px; font-size: 12px; }
.reels-nav {
	position: absolute;
	top: 50%;
	right: 22px;
	z-index: 20;
	display: grid;
	gap: 10px;
	transform: translateY(-50%);
}
.reels-nav button {
	width: 46px;
	height: 46px;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 50%;
	background: rgba(255, 255, 255, .1);
	color: #fff;
	font-size: 20px;
	cursor: pointer;
	backdrop-filter: blur(6px);
}
.reels-nav button:hover { border-color: var(--accent); background: var(--accent); }
.reels-hint {
	position: absolute;
	top: 66px;
	left: 50%;
	white-space: nowrap;
	z-index: 20;
	padding: 7px 14px;
	border-radius: 99px;
	background: rgba(0, 0, 0, .6);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	pointer-events: none;
	transform: translateX(-50%);
	transition: opacity .4s;
	animation: bprHint 1.6s ease-in-out 3;
}
.reels.has-scrolled .reels-hint { opacity: 0; }
@keyframes bprHint { 50% { transform: translate(-50%, -6px); } }
.reels-empty { display: grid; place-items: center; align-content: center; gap: 10px; height: 100%; color: #c3c7cf; text-align: center; }
/* intrările spre Reels */
.reels-link { color: var(--accent); font-weight: 800; }

/* =====================================================================
   17. Lista mea (♡) și Cere un film
   ===================================================================== */
/* inima pe poster, în colțul din dreapta sus (mereu vizibilă); contorul de vizualizări stă lângă ea */
.card { position: relative; }
.card-fav, .card-remove {
	position: absolute;
	top: 7px;
	right: 7px;
	z-index: 8;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 50%;
	background: rgba(5, 7, 11, .72);
	box-shadow: 0 3px 10px rgba(0, 0, 0, .35);
	color: #fff;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	transition: color .15s, transform .2s, background .15s, border-color .15s;
}
.card-fav:hover { border-color: var(--accent); color: var(--accent); }
.card-fav.is-fav { border-color: var(--accent); background: var(--accent); color: #fff; }
.card-remove { font-size: 13px; font-weight: 900; }
.card-remove:hover { border-color: var(--accent); background: var(--accent); }
.card .views { right: 44px; }
/* posterul se ridică puțin la hover: inima merge odată cu el */
.grid .card:hover :is(.card-fav, .card-remove) { transform: translateY(-4px); }
.similar-row .card:hover :is(.card-fav, .card-remove) { transform: translateY(-3px); }
.card.is-leaving { opacity: 0; transform: scale(.92); transition: .18s; }
.fav-btn { cursor: pointer; font: inherit; font-weight: 800; }
.fav-btn.is-fav { border-color: var(--accent); color: #fff; }
.fav-btn.is-fav .fav-ico { color: var(--accent); }

.mylist .section-head { align-items: center; }
.mylist-hide {
	width: 34px;
	height: 34px;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: #11151c;
	color: #a9aebb;
	font-size: 14px;
	cursor: pointer;
}
.mylist-hide:hover { border-color: var(--accent); background: var(--accent); color: #fff; }
.mylist-row { grid-auto-columns: minmax(145px, 170px); }
.mylist-row.is-loading { opacity: .5; }
.nav-count {
	margin-left: auto;
	padding: 1px 7px;
	border-radius: 9px;
	background: var(--accent);
	color: #fff;
	font-size: 11px;
}

/* mesajul de jos, cu „Anulează” */
.bpr-toast {
	position: fixed;
	left: 50%;
	bottom: 22px;
	z-index: 400;
	display: flex;
	align-items: center;
	gap: 14px;
	max-width: calc(100vw - 32px);
	padding: 12px 16px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #1a1f2a;
	box-shadow: 0 14px 40px rgba(0, 0, 0, .55);
	color: #fff;
	font-weight: 600;
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, 20px);
	transition: .22s;
}
.bpr-toast.is-on { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.bpr-toast button { flex: none; padding: 0; border: 0; background: none; color: var(--accent); font: inherit; font-weight: 800; cursor: pointer; }

/* Cere un film */
.request-open.btn { border: 0; color: #fff; font: inherit; font-weight: 900; cursor: pointer; }
.ss-request { margin-left: 6px; padding: 0; border: 0; background: none; color: var(--accent); font: inherit; font-weight: 800; cursor: pointer; }
.req-modal {
	position: fixed;
	inset: 0;
	z-index: 300;
	display: grid;
	place-items: center;
	padding: 16px;
	background: rgba(3, 4, 7, .82);
	backdrop-filter: blur(6px);
}
.req-box {
	position: relative;
	width: min(560px, 100%);
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	padding: 26px 24px 22px;
	border: 1px solid var(--line);
	border-radius: var(--r);
	background: var(--panel);
	box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}
.req-box h3 { margin: 0 0 6px; font-size: 21px; }
.req-intro { margin: 0 0 16px; color: var(--muted); }
.req-x {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 50%;
	background: #1b202b;
	color: #fff;
	font-size: 14px;
	cursor: pointer;
}
.req-x:hover { background: var(--accent); }
.req-fields { display: grid; grid-template-columns: 1fr 130px; gap: 10px; }
.req-form input, .req-form textarea {
	width: 100%;
	padding: 11px 13px;
	border: 1px solid #262b37;
	border-radius: 11px;
	outline: 0;
	background: #0c0f15;
	color: #fff;
	font: inherit;
}
.req-form input:focus, .req-form textarea:focus { border-color: var(--accent); }
.req-form textarea { display: block; min-height: 74px; margin-top: 10px; resize: vertical; }
.req-form .req-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.req-send {
	width: 100%;
	height: 46px;
	margin-top: 12px;
	border: 0;
	border-radius: 11px;
	background: var(--accent);
	color: #fff;
	font: inherit;
	font-weight: 900;
	cursor: pointer;
}
.req-send:disabled { opacity: .6; }
.req-fb { min-height: 20px; margin-top: 10px; font-weight: 600; }
.req-fb.is-err { color: #ff8095; }
.req-fb.is-ok { color: #6be29a; }
.req-fb a { color: var(--accent); }
.req-public h4 { margin: 18px 0 8px; color: #a9aebb; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.req-list { margin: 0; padding: 0; list-style: none; }
.req-list li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.req-t { flex: 1; min-width: 0; overflow: hidden; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.req-t small { color: var(--muted); font-weight: 400; }
.req-v { color: var(--muted); font-size: 12px; white-space: nowrap; }
.req-plus {
	flex: none;
	padding: 6px 11px;
	border: 1px solid var(--accent);
	border-radius: 9px;
	background: transparent;
	color: #fff;
	font: inherit;
	font-size: 12px;
	font-weight: 800;
	cursor: pointer;
}
.req-plus:hover:not(:disabled) { background: var(--accent); }
.req-plus:disabled { border-color: var(--line); color: var(--muted); cursor: default; }
.req-go { flex: none; color: #6be29a; font-size: 12px; font-weight: 800; }

/* =====================================================================
   18. Din Aspect → Setări temă: bara de anunț, logo imagine, rețele sociale, pagina filmului
   ===================================================================== */
.bpr-bar {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 16px;
	padding: 9px 52px;
	background: var(--accent);
	color: #fff;
	font-weight: 700;
	text-align: center;
}
.bpr-bar-btn {
	padding: 4px 12px;
	border-radius: 999px;
	background: rgba(0, 0, 0, .22);
	font-size: 13px;
	font-weight: 800;
	white-space: nowrap;
}
.bpr-bar-btn:hover { background: rgba(0, 0, 0, .35); }
.bpr-bar-x {
	position: absolute;
	top: 50%;
	right: 12px;
	width: 28px;
	height: 28px;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, .2);
	color: #fff;
	cursor: pointer;
	transform: translateY(-50%);
}
.bpr-bar-x:hover { background: rgba(0, 0, 0, .38); }
.logo-img { display: block; }
.logo-img img { max-width: 100%; max-height: 46px; object-fit: contain; }
.reels-top .logo-img img { max-height: 34px; }
.social { display: flex; flex-wrap: wrap; gap: 8px; }
.social a {
	padding: 6px 13px;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: #c5c9d2;
	font-size: 13px;
	font-weight: 700;
}
.social a:hover { border-color: var(--accent); color: #fff; }
.action-rating-box.is-single { grid-template-columns: 1fr; }

/* =====================================================================
   19. Ecrane mai mici
   ===================================================================== */
@media (max-width: 1100px) {
	.grid { grid-template-columns: repeat(4, 1fr); }
	.hero h1 { font-size: 38px; }
	.hc-info { max-width: 58%; padding-left: 56px; }
	.hc-thumbs { padding-left: 56px; padding-right: 56px; }
	.hc-poster { right: 40px; }
}

@media (max-width: 1000px) {
	.fp-inner { grid-template-columns: 190px minmax(0, 1fr); gap: 28px; min-height: 0; padding: 36px 30px; }
	.fp-hero.is-vertical .fp-inner { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
}

@media (max-width: 900px) {
	.action-rating-box { grid-template-columns: 1fr; }
	.movie-action-btn { min-height: 52px; }
	.report-pop { top: 62px; }
}

@media (max-width: 760px) {
	/* Reels pe telefon: filmul pe tot ecranul, fără săgeți (se glisează) */
	.reel-frame { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
	.reels-nav { display: none; }
	.reels-top { padding: 12px 14px; }
	.reel-info { padding: 70px 16px calc(22px + env(safe-area-inset-bottom)); }
	.reel.is-playing .reel-info { padding-top: 58px; }

	/* meniul lateral devine panou care alunecă din stânga */
	.shell { display: block; }
	.side { position: fixed; left: -250px; z-index: 100; width: 230px; transition: .2s; }
	.side.open { left: 0; }
	.top { height: 64px; padding: 0 14px; }
	.mobile-menu {
		display: block;
		width: 38px;
		height: 38px;
		border: 0;
		border-radius: 9px;
		background: #171b24;
		color: #fff;
	}
	.content { padding: 18px 14px 40px; }
	footer { padding: 25px 14px; }
	.grid { grid-template-columns: repeat(2, 1fr); gap: 15px 10px; }
	.grid.grid-10 { grid-template-columns: repeat(2, 1fr); }
	/* filmele verticale pe telefon: un rând care se dă cu degetul, ca la Reels */
	.grid.grid-vertical {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: 42%;
		overflow-x: auto;
		padding-bottom: 6px;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}
	.grid.grid-vertical::-webkit-scrollbar { display: none; }
	.grid.grid-vertical .card { scroll-snap-align: start; }
	.home-list { scroll-margin-top: 76px; }
	.row { grid-auto-columns: 42%; }
	.grid .card .play span { min-width: 96px; padding: 9px 11px; }

	/* slider pe telefon: imaginea sus, textul dedesubt (nu mai stă peste poster) */
	.hero { --mh: clamp(220px, 62vw, 340px); min-height: 0; justify-content: flex-start; border-radius: 22px; }
	.hc-bg { left: 0; bottom: auto; height: var(--mh); -webkit-mask-image: none; mask-image: none; }
	.hero.is-posterbg .hc-bg { height: 100%; }
	.hc-shade {
		background:
			linear-gradient(0deg, #0b0e14 calc(100% - var(--mh) + 10px), rgba(11, 14, 20, .6) calc(100% - var(--mh) + 70px), rgba(11, 14, 20, .05) 100%);
	}
	.hero.is-posterbg .hc-shade { background: linear-gradient(0deg, #0b0e14 calc(100% - var(--mh) - 10px), rgba(11, 14, 20, .55) calc(100% - var(--mh) + 60px), rgba(11, 14, 20, .15) 100%); }
	.hc-poster { top: 18px; right: 50%; height: calc(var(--mh) - 40px); transform: translateX(50%) scale(.97); }
	.hero.is-posterbg .hc-poster { transform: translateX(50%); }
	.hc-info { max-width: none; margin-top: calc(var(--mh) - 64px); padding: 0 18px; }
	.hc-thumbs { padding-left: 18px; padding-right: 18px; }
	.hero h1 { margin: 8px 0 10px; font-size: 29px; letter-spacing: -.8px; }
	.hc-meta { gap: 6px 10px; font-size: 13px; }
	.hero p { font-size: 14px; -webkit-line-clamp: 2; }
	.hc-actions { gap: 8px; margin-top: 16px; }
	.hc-actions .btn { flex: 1 1 100%; justify-content: center; }
	.hc-btn { flex: 1; justify-content: center; height: 44px; padding: 0 12px; }
	.hc-thumbs { gap: 8px; padding: 16px 18px 18px; }
	.hc-thumb { flex-basis: 52px; }
	.hero-arrow { top: calc(var(--mh) / 2); width: 34px; height: 48px; font-size: 28px; }
	.hero-prev { left: 7px; }
	.hero-next { right: 7px; }

	.top10-wrap { padding: 0 34px; }
	.top10-arrow { width: 29px; height: 46px; font-size: 25px; }
	.top10 .card { padding-left: 28px; }
	.top10 .card::before { bottom: 2px; left: -3px; font-size: 62px; }
	.top10 .poster-info { padding-left: 16px; }
}

@media (max-width: 700px) {
	.movie-extra { margin-top: 28px; }
	.similar-row { grid-auto-columns: 42%; }
	.similar-box { padding: 14px; }
	.comments-box { margin-top: 28px; }
	.action-rating-box { gap: 9px; }
	.movie-action-row { grid-template-columns: 1fr 1fr; }
	.movie-rating { flex-direction: column; align-items: flex-start; min-height: auto; padding: 12px; }
	.rating-summary { flex-wrap: wrap; }

	.fp-hero { border-radius: 18px; }
	.fp-hero::after { background: linear-gradient(0deg, #080a0f 38%, rgba(8, 10, 15, .72) 62%, rgba(8, 10, 15, .25) 100%); }
	.fp-inner { grid-template-columns: 1fr; gap: 0; padding: 120px 18px 22px; }
	.fp-hero.is-poster-bg .fp-inner { padding-top: 26px; }
	.fp-poster { width: 118px; margin-bottom: 16px; }
	.fp-title { font-size: 30px; letter-spacing: -.8px; }
	.fp-meta { gap: 6px 12px; font-size: 13px; }
	.fp-btn { flex: 1; padding: 0 14px; }
	.fp-player #player-frame { border-radius: 14px; }
	.fp-person { flex-basis: 96px; }
	.fp-person img,
	.fp-noimg { width: 96px; height: 130px; }

	/* film vertical pe telefon: playerul sus, informațiile dedesubt */
	.fp-hero.is-vertical .fp-inner { grid-template-columns: 1fr; padding-top: 18px; }
	.fp-stage { margin-bottom: 20px; }
	.fp-stage #player-frame { width: min(100%, calc(74vh * 9 / 16)); border-radius: 14px; }
}

@media (prefers-reduced-motion: reduce) {
	.hc-info.is-in,
	.hc-thumb.is-active.is-run::after { animation: none; }
	.hc-layer,
	.hc-poster { transition: opacity .3s; }
	.daily-card,
	.daily-poster img,
	.grid .card .play,
	.grid .card .poster,
	.grid .card .poster img,
	.top10 .card::before { transition: none; }
}

/* =====================================================================
   ===== BYPROFU ECRAN =====
   Aspectul Ecran peste ByProfu Reel: meniu sus, coloana din dreapta, casete,
   carduri cu titlul pe poster, pagina filmului cu playerul, butoanele și detaliile.
   ===================================================================== */
:root {
	--bg: #12151c; --panel: #1a1e28; --panel2: #212634; --line: #2a3040; --text: #e6e9ef; --muted: #8d95a7; --faint: #5d6578;
	--accent: #3b82f6; --accent2: #2563eb; --accent-rgb: 59, 130, 246; --gold: #f5c518; --ok: #22c55e;
	--r: 8px; --rs: 6px; --shadow: 0 10px 30px -12px rgba(0, 0, 0, .55);
}
:root[data-theme=light] {
	--bg: #eef1f6; --panel: #ffffff; --panel2: #f4f6fa; --line: #e1e5ee; --text: #1b2130; --muted: #677087; --faint: #9aa2b4;
	--shadow: 0 8px 24px -14px rgba(20, 30, 60, .25);
}
:root[data-theme=light] { color-scheme: light; }
body.ec { font: 15px/1.6 Inter, "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; background: var(--bg); color: var(--text); overflow-x: clip; }
.ec a:hover { color: var(--accent); }
.ec-wrap { width: min(1280px, 100% - 2rem); margin-inline: auto; }

/* ---- antet ---- */
.ec-header.top { position: sticky; top: 0; z-index: 60; display: block; height: auto; padding: 0; background: var(--panel); border-bottom: 1px solid var(--line); backdrop-filter: none; transition: box-shadow .2s; }
.ec-header.is-stuck { box-shadow: 0 6px 20px -10px rgba(0, 0, 0, .5); }
.admin-bar .ec-header.top { top: 32px; }
.ec-hd { display: flex; align-items: center; gap: 1.2rem; height: 64px; }
.ec-hd .logo { margin: 0; flex: none; font-size: 23px; color: var(--text); }
.ec-hd .logo-img img { max-height: 40px; }
.ec-nav { position: static; height: auto; padding: 0; border: 0; background: none; overflow: visible; }
.ec-nav ul { list-style: none; margin: 0; padding: 0; }
.ec-nav > ul { display: flex; align-items: center; gap: .1rem; }
.ec-nav > ul > li { position: relative; }
.ec-nav > ul > li > a, .ec-nav .sub-btn { display: flex; align-items: center; gap: .3rem; height: 64px; margin: 0; padding: 0 .7rem; border: 0; border-radius: 0; background: none; color: var(--muted); font: 600 .92rem Inter, system-ui, sans-serif; white-space: nowrap; cursor: pointer; position: relative; }
.ec-nav > ul > li > a::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--accent); transform: scaleX(0); transition: transform .2s; }
.ec-nav > ul > li > a:hover, .ec-nav .sub-btn:hover, .ec-nav > ul > li > a.active, .ec-nav .has-sub.open > .sub-btn { background: none; color: var(--text); }
.ec-nav > ul > li > a.active::after { transform: scaleX(1); }
.ec-nav .nav-count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; }
.sub-btn i { font-style: normal; font-size: .7rem; opacity: .7; }
.ec-nav .sub { position: absolute; left: 0; top: 100%; z-index: 70; min-width: 420px; padding: .4rem; background: var(--panel); border: 1px solid var(--line); border-radius: 0 0 var(--r) var(--r); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.ec-nav .sub-cols { display: grid; grid-template-columns: repeat(3, minmax(120px, 1fr)); }
.ec-nav .has-sub:hover > .sub, .ec-nav .has-sub.open > .sub, .ec-nav .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.ec-nav .sub a { display: block; margin: 0; padding: .5rem .75rem; border-radius: var(--rs); color: var(--text); font-size: .9rem; font-weight: 500; }
.ec-nav .sub a:hover { background: var(--panel2); color: var(--accent); }
.ec-search { flex: 1; min-width: 180px; max-width: 360px; margin-left: auto; }
.ec-search form.search { max-width: none; display: flex; }
.ec-search form.search input { height: 40px; padding: 0 .9rem; border: 1px solid var(--line); border-right: 0; border-radius: var(--rs) 0 0 var(--rs); background: var(--panel2); color: var(--text); font-size: .92rem; }
.ec-search form.search input:focus { border-color: var(--accent); }
.ec-search form.search > button { position: static; width: auto; height: 40px; padding: 0 1rem; border: 0; border-radius: 0 var(--rs) var(--rs) 0; background: var(--accent); color: #fff; font: 600 .88rem Inter, system-ui, sans-serif; transform: none; }
.ec-search form.search.is-suggesting input { border-radius: var(--rs) 0 0 0; }
.ec-search .search-suggest { top: calc(100% + 4px); border-radius: var(--r); background: var(--panel); border-color: var(--line); }
.ec-ico { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--rs); background: var(--panel2); color: var(--text); cursor: pointer; }
.ec-ico:hover { border-color: var(--accent); color: var(--accent); }
.search-toggle { display: none; }
.theme-toggle .i-sun { display: none; }
[data-theme=light] .theme-toggle .i-sun { display: block; }
[data-theme=light] .theme-toggle .i-moon { display: none; }
.ec .mobile-menu { display: none; width: 40px; height: 40px; padding: 0; border: 0; background: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
.ec .mobile-menu span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .2s, opacity .2s; }
.menu-open .mobile-menu span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .mobile-menu span:nth-child(2) { opacity: 0; }
.menu-open .mobile-menu span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- așezarea: conținut + coloana din dreapta ---- */
.ec-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 1.4rem; align-items: start; padding: 1.4rem 0 1rem; }
.ec-layout.no-sb { grid-template-columns: minmax(0, 1fr); }
.ec-main { min-width: 0; }
.ec .content { max-width: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.4rem; }
.ec .content > .section, .ec .content > section { margin: 0; }
.box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.2rem 1.3rem; }
.box-head, .box .section-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: -.1rem 0 1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--line); }
.box-head h2, .box .section-head h2 { position: relative; margin: 0; padding-left: .8rem; font: 700 1.12rem/1.3 Inter, system-ui, sans-serif; }
.box-head h2::before, .box .section-head h2::before { content: ""; position: absolute; left: 0; top: .15em; bottom: .15em; width: 4px; border-radius: 4px; background: var(--accent); }
.bh-r { display: flex; align-items: center; gap: .8rem; }
.box-head .list-count { color: var(--muted); font-size: .82rem; }
.box-head .more, .box-head .reels-link { color: var(--accent); font-size: .86rem; font-weight: 600; white-space: nowrap; }
.mylist-hide { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; background: var(--panel2); color: var(--muted); cursor: pointer; }
.ec .empty { color: var(--muted); }
.ec .btn, .ec-btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .6rem 1.1rem; border: 1px solid var(--accent); border-radius: var(--rs); background: var(--accent); color: #fff; font: 600 .9rem Inter, system-ui, sans-serif; cursor: pointer; box-shadow: none; }
.ec .btn:hover, .ec-btn:hover { background: var(--accent2); color: #fff; }
.ec-btn-block { display: flex; width: 100%; }
.chip { display: inline-flex; align-items: center; padding: .38rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--text); font-size: .84rem; font-weight: 500; }
.chip:hover { background: var(--accent); border-color: var(--accent); color: #fff !important; }
.ec-genres { display: flex; flex-wrap: wrap; gap: .4rem; }
.ec .pager { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; margin-top: 1.4rem; }
.ec .pager .page-numbers { min-width: 38px; height: 38px; display: grid; place-items: center; padding: 0 .6rem; border: 1px solid var(--line); border-radius: var(--rs); background: var(--panel2); color: var(--text); font-weight: 600; }
.ec .pager a.page-numbers:hover { border-color: var(--accent); }
.ec .pager .current { background: var(--accent); border-color: var(--accent); color: #fff; }
.ec .pager .dots { background: none; border: 0; }
.home-list.is-loading { opacity: .55; transition: opacity .2s; }

/* ---- slider (cel din ByProfu, în casetă) ---- */
.ec .hero { margin: 0; border: 1px solid var(--line); border-radius: var(--r); }

/* ---- carduri: titlul pe poster ---- */
.ec .grid, .ec .grid.grid-10 { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1.1rem .9rem; }
.ec-layout.no-sb .grid, .ec-layout.no-sb .grid.grid-10 { grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); }
.ec .grid.grid-vertical { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.ec .row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(140px, 158px); gap: .9rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0; }
.ec .row::-webkit-scrollbar { display: none; }
.ec .row > * { scroll-snap-align: start; }
.ec-card { position: relative; min-width: 0; }
.ec-card > a { display: block; color: inherit; }
.ec-card .poster { position: relative; display: block; aspect-ratio: 2 / 3; overflow: hidden; border-radius: var(--rs); background: var(--panel2); }
.ec .grid-vertical .ec-card .poster, .ec-card.is-vertical .poster { aspect-ratio: 2 / 3; }
.ec .grid-vertical .ec-card .poster { aspect-ratio: 2 / 3; }   /* posterul întreg; 9:16 doar dacă alegi asta la Setări temă → Postere */
.ec.pc-shape-916 .grid-vertical .ec-card .poster { aspect-ratio: 9 / 16; }
.ec-card .poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.ec-card:hover .poster img { transform: scale(1.06); }
.ec-card .poster > .empty { display: grid; place-items: center; height: 100%; padding: .8rem; text-align: center; }
.b-year, .b-rate { position: absolute; top: .45rem; z-index: 3; padding: .3rem .42rem; border-radius: 4px; font: 700 .72rem/1 Inter, system-ui, sans-serif; }
.b-year { left: .45rem; background: rgba(10, 12, 18, .78); color: #fff; }
.b-rate { right: .45rem; background: var(--gold); color: #111; }
.ec-card .new-label { position: absolute; top: 2.1rem; left: .45rem; z-index: 3; padding: .3rem .4rem; border-radius: 4px; background: var(--ok); color: #fff; font: 800 .62rem/1 Inter, system-ui, sans-serif; }
.ec-card .play { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; background: rgba(10, 12, 18, .45); opacity: 0; transition: opacity .2s; }
.ec-card .play span { display: grid; place-items: center; width: 52px; min-width: 0; height: 52px; padding: 0 0 0 3px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 18px; box-shadow: 0 0 0 6px rgba(var(--accent-rgb), .3); }
.ec-card:hover .play { opacity: 1; }
.ec-card .poster-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: block; padding: 2.6rem .55rem .55rem; background: linear-gradient(0deg, rgba(8, 10, 15, .96) 0, rgba(8, 10, 15, .82) 40%, rgba(8, 10, 15, 0)); color: #fff; pointer-events: none; }
.ec-card .poster-info h3 { margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font: 700 .9rem/1.25 Inter, system-ui, sans-serif; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.ec-card:hover .poster-info h3 { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.ec-card .poster-info .sub { display: flex; justify-content: space-between; gap: .5rem; margin-top: .15rem; font-size: .74rem; color: #c3c9d6; }
.ec-card .poster-info .sub > span:first-child { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ec-card .views { position: static; padding: 0; background: none; color: inherit; font-size: inherit; white-space: nowrap; }
.b-bottom { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: .35rem; }
.b-bottom:empty { display: none; }
.ec-card .quality, .ib-poster .quality { position: static; padding: .3rem .4rem; border-radius: 4px; background: var(--accent); color: #fff; font: 800 .66rem/1 Inter, system-ui, sans-serif; letter-spacing: .03em; }
.b-vert { display: inline-block; padding: .28rem .4rem; border-radius: 4px; background: rgba(10, 12, 18, .8); color: #fff; font: 700 .64rem/1 Inter, system-ui, sans-serif; }
.ec-card :is(.card-fav, .card-remove) { position: absolute; top: 2.15rem; right: .45rem; z-index: 4; width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(10, 12, 18, .75); color: #fff; font-size: 15px; opacity: 0; transition: opacity .2s; cursor: pointer; transform: none; }
.ec-card:hover :is(.card-fav, .card-remove), .ec-card .card-fav.on, .ec-card .card-fav[aria-pressed=true], .ec-card .card-remove { opacity: 1; transform: none; }
.ec-card .card-fav[aria-pressed=true] { background: #e11d48; }
@media (hover: none) { .ec-card .card-fav { opacity: 1; } }
[data-theme=light] .ec-card .poster-info, [data-theme=light] .cc-info { background: linear-gradient(0deg, rgba(255, 255, 255, .97) 0, rgba(255, 255, 255, .88) 40%, rgba(255, 255, 255, 0)); color: #111827; }
[data-theme=light] .ec-card .poster-info h3 { color: #111827; text-shadow: none; }
[data-theme=light] .ec-card .poster-info .sub, [data-theme=light] .cc-info small { color: #4b5563; }
.ec .top10 .ec-card { padding-left: 0; }
.ec .top10 .ec-card::before { display: none; }
.ec .top10 .ec-card .b-year::before { content: none; }
.ec .top10 { counter-reset: tp; }
.ec .top10 .ec-card { counter-increment: tp; }
.ec .top10 .ec-card .poster::after { content: counter(tp); position: absolute; top: .4rem; left: 50%; transform: translateX(-50%); z-index: 3; width: 26px; height: 26px; box-sizing: border-box; display: grid; place-items: center; border: 1px solid rgba(223, 193, 123, .48); border-radius: 50%; background: rgba(16, 16, 15, .9); color: #f2eee5; font: 800 .74rem/1 Inter, system-ui, sans-serif; box-shadow: 0 2px 10px rgba(0, 0, 0, .42); transition: transform .2s, box-shadow .2s; }
.ec .top10 .ec-card:nth-child(1) .poster::after { border-color: #f0d99e; background: #dfc17b; color: #211c12; box-shadow: 0 2px 12px rgba(223, 193, 123, .32); }
.ec .top10 .ec-card:nth-child(2) .poster::after { border-color: #e2e5e9; background: #c8cbd0; color: #1b1d20; box-shadow: 0 2px 12px rgba(200, 203, 208, .24); }
.ec .top10 .ec-card:nth-child(3) .poster::after { border-color: #d09a74; background: #b9815b; color: #211710; box-shadow: 0 2px 12px rgba(185, 129, 91, .26); }
.ec .top10 .ec-card:hover .poster::after { transform: translateX(-50%) scale(1.08); }
.ec .top10-wrap { position: relative; padding: 0; }
.ec .top10-arrow { position: absolute; top: calc(50% - 18px); z-index: 5; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: var(--panel); color: var(--text); font-size: 1.3rem; line-height: 1; box-shadow: var(--shadow); opacity: 0; transition: opacity .2s; }
.ec .top10-prev { left: -12px; } .ec .top10-next { right: -12px; }
.ec .top10-wrap:hover .top10-arrow { opacity: 1; }
.ec .top10-arrow:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ---- coloana din dreapta ---- */
.ec-sidebar { display: flex; flex-direction: column; gap: 1.4rem; min-width: 0; }
.widget { padding: 1rem 1.05rem 1.1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.w-title { display: flex; align-items: center; gap: .5rem; margin: 0 0 .85rem; padding-bottom: .65rem; border-bottom: 1px solid var(--line); font: 700 1rem Inter, system-ui, sans-serif; }
.w-title svg { color: var(--accent); flex: none; }
.wd-card { display: block; color: var(--text); }
.wd-top { position: relative; display: flex; align-items: flex-end; justify-content: center; height: 170px; margin: -.1rem 0 .7rem; overflow: hidden; border-radius: var(--rs); background: var(--panel2) center / cover no-repeat; }
.wd-top::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 12, 18, .85), rgba(10, 12, 18, .15)); }
.wd-poster { position: relative; width: 96px; margin-bottom: .7rem; overflow: hidden; border-radius: var(--rs); box-shadow: 0 10px 24px rgba(0, 0, 0, .6); transition: transform .25s; }
.wd-poster img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.wd-card:hover .wd-poster { transform: translateY(-4px); }
.wd-play { position: absolute; right: .6rem; bottom: .6rem; width: 38px; height: 38px; display: grid; place-items: center; padding-left: 2px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 14px; }
.wd-t { display: block; font-size: 1.05rem; line-height: 1.3; }
.wd-card:hover .wd-t { color: var(--accent); }
.pills { display: flex; flex-wrap: wrap; gap: .35rem; margin: .4rem 0 .3rem; }
.pills span { padding: .2rem .55rem; border-radius: 4px; background: var(--panel2); font: 600 .78rem/1.3 Inter, system-ui, sans-serif; }
.pills .imdb { background: var(--gold); color: #111; }
.wd-g { display: block; color: var(--muted); font-size: .8rem; }
.wd-ov { display: block; margin: .4rem 0 .8rem; color: var(--muted); font-size: .85rem; }
.w-top ol { display: grid; gap: .7rem; margin: 0; padding: 0; list-style: none; }
.w-top a { display: flex; align-items: center; gap: .7rem; color: var(--text); }
.wt-n { flex: none; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--panel2); color: var(--muted); font-size: .78rem; font-weight: 800; }
.w-top li:nth-child(1) .wt-n { background: var(--gold); color: #111; }
.w-top li:nth-child(2) .wt-n, .w-top li:nth-child(3) .wt-n { background: var(--accent); color: #fff; }
.wt-p { flex: none; width: 46px; overflow: hidden; border-radius: 4px; }
.wt-p img, .wt-p .empty { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; font-size: 0; }
.pc-shape-916 .w-vertical .wt-p img { aspect-ratio: 9 / 16; }
.wt-x { display: grid; min-width: 0; }
.wt-x strong { overflow: hidden; font-size: .9rem; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.w-top a:hover strong { color: var(--accent); }
.wt-x small { color: var(--muted); font-size: .76rem; }
.w-more { display: block; margin-top: .8rem; color: var(--accent); font-size: .86rem; font-weight: 600; }
.w-genres ul { display: grid; gap: .15rem; margin: 0; padding: 0; list-style: none; }
.w-genres a { display: flex; align-items: center; gap: .65rem; padding: .38rem .45rem; border-radius: var(--rs); color: var(--text); font-size: .88rem; font-weight: 500; transition: background .15s, color .15s; }
.w-genres a span { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.w-genres .wg-ico { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel2); font-size: .95rem; font-style: normal; font-weight: 700; color: var(--accent); transition: background .15s, border-color .15s, transform .15s; }
.w-genres a:hover, .w-genres li.on a { background: var(--panel2); color: var(--accent); }
.w-genres a:hover .wg-ico, .w-genres li.on .wg-ico { border-color: rgba(var(--accent-rgb), .5); background: rgba(var(--accent-rgb), .14); transform: scale(1.06); }
.w-genres b { flex: none; min-width: 2rem; padding: .15rem .45rem; border-radius: 999px; background: var(--panel2); color: var(--muted); font-size: .74rem; font-weight: 600; text-align: center; }
.w-genres a:hover b, .w-genres li.on b { background: rgba(var(--accent-rgb), .16); color: var(--accent); }
.w-genres .wg-more { display: none; }
.w-genres.is-open .wg-more { display: block; }
.wg-toggle { display: flex; align-items: center; justify-content: center; gap: .35rem; width: 100%; margin-top: .5rem; padding: .5rem; border: 1px dashed var(--line); border-radius: var(--rs); background: none; color: var(--muted); font: 600 .82rem/1 inherit; cursor: pointer; }
.wg-toggle:hover { border-color: var(--accent); color: var(--accent); }
.wg-toggle span + span, .w-genres.is-open .wg-toggle span:first-child { display: none; }
.w-genres.is-open .wg-toggle span + span { display: inline; }
.yrs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .35rem; }
.yrs a { padding: .38rem 0; border-radius: var(--rs); background: var(--panel2); color: var(--text); text-align: center; font-size: .84rem; font-weight: 600; }
.yrs a:hover, .yrs a.on { background: var(--accent); color: #fff !important; }
.w-comments ul { display: grid; gap: .8rem; margin: 0; padding: 0; list-style: none; }
.w-comments li { padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.w-comments li:last-child { padding: 0; border: 0; }
.wc-h { display: flex; align-items: center; gap: .5rem; }
.wc-av { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; font-size: .8rem; font-weight: 800; }
.wc-h strong { font-size: .88rem; }
.wc-h time { margin-left: auto; color: var(--muted); font-size: .74rem; }
.w-comments p { margin: .35rem 0 .2rem; color: var(--muted); font-size: .86rem; }
.wc-f { color: var(--accent); font-size: .8rem; font-weight: 600; }
.w-html { font-size: .9rem; overflow-wrap: anywhere; }
.w-html p { margin: 0 0 .6em; } .w-html p:last-child { margin: 0; }
.w-html a { color: var(--accent); }
.w-html img, .w-html iframe { max-width: 100%; border-radius: var(--rs); }
.w-user ul { margin: 0; padding-left: 1.1rem; }

/* ---- pagina filmului ---- */
.ec-film { gap: 1.4rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .35rem; color: var(--muted); font-size: .82rem; }
.crumbs em { color: var(--text); font-style: normal; }
.ft-head { padding: 1rem 1.2rem; }
.ft-title { margin: 0; font: 800 clamp(1.4rem, 2.6vw, 1.9rem)/1.2 Inter, system-ui, sans-serif; letter-spacing: -.01em; }
.ft-title span { color: var(--muted); font-weight: 500; }
.ft-sub { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: .3rem 0 0; color: var(--muted); font-size: .92rem; }
.ft-sub:empty { display: none; }
.ft-sub .b-vert { background: var(--accent); }
.player-box { padding: 0; overflow: visible; }
.ec-player { margin: 0; }
.ec-player .servers { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: .7rem .9rem; border-bottom: 1px solid var(--line); background: var(--panel2); border-radius: var(--r) var(--r) 0 0; }
.ec-player .servers button { padding: .42rem .85rem; border: 1px solid var(--line); border-radius: var(--rs); background: var(--panel); color: var(--text); font-weight: 600; font-size: .86rem; }
.ec-player .servers button::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: .4rem; border-radius: 50%; background: var(--faint); vertical-align: 1px; }
.ec-player .servers button.active { border-color: var(--accent); background: var(--accent); color: #fff; }
.ec-player .servers button.active::before { background: #fff; }
.fp-player.ec-player #player-frame { border: 0; border-radius: var(--r) var(--r) 0 0; box-shadow: none; }
.fp-player.ec-player .servers + #player-frame { border-radius: 0; }
.fp-stage.ec-player { padding: 1rem 0 0; background: #0b0d12; border-radius: var(--r) var(--r) 0 0; }
.fp-stage.ec-player .servers { margin: -1rem 0 1rem; justify-content: flex-start; }
.fp-stage.ec-player #player-frame { width: min(100% - 2rem, calc(72vh * 9 / 16)); border-radius: var(--rs); box-shadow: 0 20px 50px rgba(0, 0, 0, .6); margin-bottom: 1rem; }
.ec .player-cover-btn { width: 76px; height: 76px; font-size: 28px; }
.fp-noplayer { padding: 1rem; }
.actbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; padding: .75rem .9rem; border-top: 1px solid var(--line); }
.act-l { display: flex; flex-wrap: wrap; gap: .4rem; }
.ec .act, .ec .actbar .movie-action-btn { display: inline-flex; align-items: center; gap: .4rem; height: 36px; min-height: 0; padding: 0 .85rem; border: 1px solid var(--line); border-radius: var(--rs); background: var(--panel2); color: var(--text); font: 600 .85rem Inter, system-ui, sans-serif; cursor: pointer; }
.ec .act:hover, .ec .actbar .movie-action-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--panel2); }
.ec .act.fav-btn[aria-pressed=true], .ec .act.fav-btn.on { background: #e11d48; border-color: #e11d48; color: #fff; }
.actbar .action-rating-box { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; max-width: none; margin: 0; padding: 0; border: 0; background: none; }
.actbar .movie-action-row { display: flex; gap: .4rem; }
.actbar .movie-rating { display: flex; align-items: center; gap: .7rem; min-height: 0; padding: 0; border: 0; background: none; }
.actbar .rating-summary { gap: .4rem; }
.actbar .rating-stars-static { font-size: 14px; color: var(--gold); }
.actbar .rating-average { font-size: 15px; }
.actbar .rating-vote button { font-size: 20px; }
.actbar .share-pop, .actbar .report-pop { top: calc(100% + 6px); left: 0; background: var(--panel); border-color: var(--line); }
.info-box { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 1.4rem; }
.ib-poster .poster { position: relative; overflow: hidden; border-radius: var(--rs); box-shadow: var(--shadow); }
.ib-poster img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.ib-poster .quality { position: absolute; left: .5rem; bottom: .5rem; }
.ib-main { min-width: 0; }
.ib-stats { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; margin-bottom: .7rem; color: var(--muted); font-size: .86rem; }
.ib-stats .imdb { display: inline-flex; align-items: baseline; gap: .25rem; padding: .3rem .6rem; border-radius: var(--rs); background: var(--gold); color: #111; font-weight: 800; font-size: 1rem; }
.ib-stats .imdb small { opacity: .7; font-size: .74rem; font-weight: 600; }
.ib-stats .st b { color: var(--text); }
.ec .fp-desc { color: var(--text); font-size: .95rem; line-height: 1.7; max-width: none; }
.ec .fp-desc p { margin: 0 0 .8em; }
.ec .desc-toggle { margin: 0 0 .4rem; padding: 0; border: 0; background: none; color: var(--accent); font-weight: 600; cursor: pointer; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem 1.2rem; margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.facts div { display: flex; gap: .4rem; min-width: 0; font-size: .9rem; }
.facts dt { flex: none; min-width: 72px; color: var(--muted); font-weight: 600; }
.facts dd { margin: 0; min-width: 0; }
.facts a { color: var(--accent); }
.facts .q { padding: .1rem .4rem; border-radius: 4px; background: var(--accent); color: #fff; font-weight: 700; font-size: .78rem; }
.ec-row-wrap { position: relative; }
.ec-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(120px, 132px); gap: .7rem; overflow-x: auto; scrollbar-width: none; }
.ec-row::-webkit-scrollbar { display: none; }
.ec-row-wrap .row-btn { position: absolute; top: calc(50% - 18px); z-index: 4; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: var(--panel); color: var(--text); font-size: 1.3rem; line-height: 1; box-shadow: var(--shadow); opacity: 0; cursor: pointer; transition: opacity .2s; }
.ec-row-wrap:hover .row-btn { opacity: 1; }
.ec-row-wrap .row-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.ec-row-wrap .prev { left: -12px; } .ec-row-wrap .next { right: -12px; }
@media (hover: none) { .ec-row-wrap .row-btn, .ec .top10-arrow { display: none; } }
.cast-card { position: relative; aspect-ratio: 2 / 3; overflow: hidden; border-radius: var(--rs); background: var(--panel2); }
.cast-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.cast-card:hover img { transform: scale(1.06); }
.cc-noimg { display: grid; place-items: center; height: 100%; color: var(--faint); font-size: 2.4rem; font-weight: 800; }
.cc-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem .5rem .5rem; background: linear-gradient(0deg, rgba(8, 10, 15, .95) 0, rgba(8, 10, 15, .75) 45%, transparent); color: #fff; text-align: center; }
.cc-info strong { display: block; overflow: hidden; font-size: .82rem; line-height: 1.25; white-space: nowrap; text-overflow: ellipsis; }
.cc-info small { display: block; overflow: hidden; color: #c3c9d6; font-size: .72rem; white-space: nowrap; text-overflow: ellipsis; }
.ec .comments-box { max-width: none; margin: 0; padding: 1.1rem 1.2rem 1.3rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.ec .comments-box .comment-respond, .ec .comments-box .comment-form textarea { background: var(--panel2); }
.ec .similar-box { max-width: none; margin: 0; padding: 1.1rem 1.2rem 1.3rem; }

/* ---- subsol ---- */
.ec-footer { display: block; margin-top: 2rem; padding: 0; border-top: 1px solid var(--line); background: var(--panel); color: var(--muted); }
.ec-ft { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem 3rem; padding: 2rem 0 1.6rem; }
.ft-about { max-width: 420px; }
.ft-about .logo { margin: 0; color: var(--text); }
.ft-about p { margin: .7rem 0 0; font-size: .9rem; }
.ft-links { display: flex; flex-wrap: wrap; align-content: flex-start; gap: .4rem 1.4rem; max-width: 520px; }
.ft-links a { color: var(--muted); font-size: .9rem; font-weight: 600; }
.ec-ft-bottom { padding: .9rem 0; border-top: 1px solid var(--line); font-size: .8rem; }

/* ---- modul luminos: culorile scrise direct în stilurile ByProfu ---- */
.ec #player-frame .notice { color: #fff; }
[data-theme=light] .ec .servers button:not(.active), [data-theme=light] .movie-action-btn, [data-theme=light] .share-pop, [data-theme=light] .report-pop { background: var(--panel2); color: var(--text); border-color: var(--line); }
[data-theme=light] .comments-box, [data-theme=light] .ec .comment-respond { color: var(--text); }
[data-theme=light] .ec .comment-form textarea, [data-theme=light] .ec .comment-form input { background: var(--panel2); color: var(--text); border-color: var(--line); }

/* ---- ecrane mai mici ---- */
@media (max-width: 1100px) {
	.ec-layout { grid-template-columns: minmax(0, 1fr) 270px; }
	.ec-nav > ul > li > a, .ec-nav .sub-btn { padding: 0 .5rem; }
	.ec-hd { gap: .9rem; }
}
@media (max-width: 960px) {
	.ec-layout { grid-template-columns: minmax(0, 1fr); }
	.ec-sidebar { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
	.ec .mobile-menu { display: flex; }
	.ec-hd { height: 58px; }
	.ec-nav { position: fixed; left: 0; right: 0; top: 58px; bottom: 0; z-index: 65; width: auto; padding: .6rem 1rem 2rem; overflow-y: auto; border-top: 1px solid var(--line); background: var(--panel); transform: translateX(-100%); visibility: hidden; transition: transform .25s, visibility .25s; }
	.admin-bar .ec-nav { top: 104px; }
	.ec-nav.open { left: 0; transform: none; visibility: visible; }
	.ec-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
	.ec-nav > ul > li > a, .ec-nav .sub-btn { width: 100%; height: auto; padding: .85rem .4rem; border-bottom: 1px solid var(--line); color: var(--text); font-size: 1rem; }
	.ec-nav > ul > li > a::after { display: none; }
	.ec-nav .sub-btn i { margin-left: auto; }
	.ec-nav .sub { position: static; display: none; min-width: 0; padding: .3rem 0 .6rem; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
	.ec-nav .has-sub.open > .sub-cols { display: grid; grid-template-columns: repeat(2, 1fr); }
	.ec-search { display: none; position: absolute; left: 0; right: 0; top: 58px; max-width: none; margin: 0; padding: .7rem 1rem; border-bottom: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow); }
	.search-open .ec-search { display: block; }
	.search-toggle { display: grid; margin-left: auto; }
}
@media (max-width: 760px) {
	.ec .content { padding: 0; }
	/* rândul cu filme verticale: fără coloane fixe (altfel primele filme, cele mai noi, ajung cu lățimea 0) */
	.ec .content .grid.grid-vertical, .ec-layout.no-sb .content .grid.grid-vertical { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 40%; overflow-x: auto; }
	.ec .row { grid-auto-columns: 31%; }
	.ec .top10 .ec-card { padding-left: 0; }
}
@media (max-width: 640px) {
	.ec-wrap { width: min(1280px, 100% - 1.2rem); }
	.ec-layout { padding-top: .8rem; }
	.ec .content { gap: 1rem; }
	.box, .ec .comments-box, .ec .similar-box { padding: .9rem .85rem 1rem; }
	.ec .grid, .ec .grid.grid-10, .ec-layout.no-sb .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem .6rem; }
	.ec-card .poster-info { padding: 2rem .4rem .4rem; }
	.ec-card .poster-info h3 { font-size: .78rem; }
	.ec-card .poster-info .sub { font-size: .66rem; }
	.ec-card .views { display: none; }
	.b-year, .b-rate { padding: .25rem .32rem; font-size: .64rem; }
	.ec .player-box.box, .player-box { padding: 0; }
	.info-box { grid-template-columns: 110px minmax(0, 1fr); gap: .9rem; }
	.ib-main { display: contents; }
	.ib-stats { grid-column: 2; align-self: start; flex-direction: column; align-items: flex-start; gap: .4rem; }
	.ib-main > :not(.ib-stats) { grid-column: 1 / -1; }
	.facts { grid-template-columns: 1fr; }
	.actbar { padding: .6rem; }
	.ec .act, .ec .actbar .movie-action-btn { height: 34px; padding: 0 .65rem; font-size: .8rem; }
	.ec-row { grid-auto-columns: 30%; }
	.ec-sidebar { grid-template-columns: 1fr; }
	.ec-hd .logo { font-size: 19px; }
	.fp-stage.ec-player #player-frame { width: min(100% - 1rem, calc(70vh * 9 / 16)); }
}
@media (max-width: 380px) {
	.ec .grid, .ec .grid.grid-10, .ec-layout.no-sb .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ===== Slider fix: aceeași mărime la orice film, oricât de lung e titlul sau descrierea ===== */
.ec .hero { height: 460px; min-height: 0; }
.ec .hc-info { min-width: 0; }
.ec .hero h1 { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.ec .hc-meta { flex-wrap: nowrap; overflow: hidden; white-space: nowrap; }
.ec .hc-meta > * { flex-shrink: 0; }
.ec .hero p { -webkit-line-clamp: 3; overflow-wrap: anywhere; }
.ec .hc-thumbs { flex-shrink: 0; }
@media (max-width: 760px) {
	.ec .hero { height: calc(var(--mh, 240px) + 348px); }
	.ec .hero p { -webkit-line-clamp: 2; }
	.ec .hc-thumbs { margin-top: auto; }
}

/* ===== Pagina filmului: playerul vertical în stânga, informațiile lângă el ===== */
.ec .ec-filmrow { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.2rem; align-items: start; }
/* două chenare separate: unul pentru player, unul pentru descriere */
.ec .ec-filmrow .efr-player.box { padding: .9rem; }
.ec .ec-filmrow .efr-info.box { padding: 1.3rem 1.4rem; align-self: stretch; }
.ec-filmrow .efr-player { min-width: 0; }
.ec-filmrow .fp-stage.ec-player { padding: 0; background: none; border-radius: 0; }
.ec-filmrow .fp-stage.ec-player .servers { margin: 0 0 .7rem; padding: 0; border: 0; background: none; justify-content: flex-start; }
/* chenarul are exact lățimea playerului (cu multe servere, butoanele trec pe rândul următor, nu lățesc chenarul) */
.ec .ec-filmrow { --pw: 380px; } /* lățimea se schimbă din Aspect → Setări temă */
.ec .ec-filmrow .efr-player.box { box-sizing: border-box; width: calc(var(--pw) + 1.8rem + 2px); }
.ec-filmrow .fp-stage.ec-player #player-frame { width: 100%; min-width: 0; margin: 0; }
.ec-filmrow .efr-info { min-width: 0; }
.ec-filmrow .actbar { justify-content: flex-start; margin-top: 1rem; padding: 1rem 0 0; }
@media (max-width: 760px) {
	.ec .ec-filmrow { grid-template-columns: 1fr; gap: 1rem; }
	.ec .ec-filmrow .efr-player.box { padding: .7rem; width: auto; }
	.ec .ec-filmrow .efr-info.box { padding: .9rem .85rem 1rem; }
	.ec-filmrow .fp-stage.ec-player #player-frame { width: min(100%, calc(70vh * 9 / 16)); min-width: 0; margin: 0 auto; }
	.ec-filmrow .fp-stage.ec-player .servers { justify-content: center; }
	.ec-filmrow .ib-stats { flex-direction: row; align-items: center; }
	.ec-filmrow .act, .ec-filmrow .actbar .movie-action-btn { white-space: nowrap; }
}

/* ===== „Alege server”: un singur buton, lista se deschide la apăsare ===== */
.ec .ec-player .servers.srv-pick { position: relative; display: block; padding: 0; border: 0; background: none; }
.ec .fp-player.ec-player .servers.srv-pick { padding: .6rem .9rem; border-bottom: 1px solid var(--line); background: var(--panel2); }
.ec .ec-filmrow .fp-stage.ec-player .servers.srv-pick { margin: 0 0 .7rem; }
.ec .srv-toggle { display: flex; align-items: center; gap: .5rem; width: 100%; height: 40px; padding: 0 .85rem; border: 1px solid var(--line); border-radius: var(--rs); background: var(--panel2); color: var(--text); font: 600 .88rem Inter, system-ui, sans-serif; cursor: pointer; }
.ec .srv-toggle:hover, .ec .srv-pick.open .srv-toggle { border-color: var(--accent); }
.ec .srv-ico { color: var(--accent); font-size: 1rem; }
.ec .srv-cur { margin-left: auto; padding: .15rem .5rem; border-radius: 6px; background: var(--accent); color: #fff; font-size: .78rem; }
.ec .ec-player .srv-toggle::before { display: none; }
.ec .srv-arr { width: 8px; height: 8px; margin: -4px 2px 0 4px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; font-size: 0; }
.ec .srv-pick.open .srv-arr { transform: rotate(225deg); margin-top: 4px; }
.ec .srv-menu { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0; display: grid; gap: 4px; padding: 6px; border: 1px solid var(--line); border-radius: var(--rs); background: var(--panel); box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }
.ec .fp-player .srv-menu { left: .9rem; right: auto; min-width: 220px; }
.ec .srv-menu[hidden] { display: none; }
.ec .ec-player .srv-menu button { display: flex; align-items: center; gap: .5rem; width: 100%; padding: .55rem .7rem; border: 0; border-radius: 6px; background: none; color: var(--text); font-weight: 600; font-size: .88rem; text-align: left; }
.ec .ec-player .srv-menu button:hover { background: var(--panel2); }
.ec .ec-player .srv-menu button.active { background: var(--accent); color: #fff; }
.ec .ec-player .srv-menu button.active::before { background: #fff; }
@media (max-width: 760px) {
	/* pe telefon butonul are lățimea playerului de sub el */
	.ec .ec-filmrow .fp-stage.ec-player .servers.srv-pick { width: min(100%, calc(70vh * 9 / 16)); margin: 0 auto .7rem; }
}

/* =====================================================================
   ===== POSTERE (Aspect → Setări temă → Postere) =====
   Fiecare efect are clasa lui pe <body>: pc-hover, pc-info, pc-glass, pc-top, pc-skel.
   ===================================================================== */

/* --- 1. hover: posterul se ridică, umbră colorată, o rază de lumină --- */
.pc-hover .ec-card .poster { transition: transform .28s cubic-bezier(.2, .8, .2, 1), box-shadow .28s; }
.pc-hover .ec-card .poster::after { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .22) 50%, transparent 65%); transform: translateX(-130%); }
@media (hover: hover) {
	.pc-hover .ec-card:hover .poster { transform: translateY(-6px); box-shadow: 0 16px 32px -12px rgba(var(--accent-rgb), .75), 0 0 0 1px rgba(var(--accent-rgb), .55); }
	.pc-hover .ec-card:hover .poster::after { transform: translateX(130%); transition: transform .8s ease; }
	.pc-hover .grid .ec-card:hover :is(.card-fav, .card-remove) { transform: translateY(-6px); }
}
.pc-hover .ec-card:active .poster { transform: scale(.97); transition-duration: .1s; }

/* --- 2. panoul de la hover: durata, genurile, descrierea, butonul --- */
.ec-card .pi-more { display: none; }
@media (hover: hover) {
	.pc-info .ec-card .pi-more { display: grid; gap: .3rem; max-height: 0; margin-top: 0; overflow: hidden; opacity: 0; transition: max-height .3s ease, opacity .25s, margin-top .3s; }
	.pc-info .ec-card:hover .pi-more { max-height: 11rem; margin-top: .4rem; opacity: 1; }
	.pc-info .ec-card:hover .poster-info { background: linear-gradient(0deg, rgba(8, 10, 15, .98) 0, rgba(8, 10, 15, .9) 60%, rgba(8, 10, 15, 0)); }
	.pc-info .ec-card .play span { display: none; }   /* butonul e în panou */
	.pc-info .ec-card .play { background: rgba(10, 12, 18, .2); }
}
.ec-card .pi-meta { font-size: .7rem; font-weight: 600; color: #e5e9f2; }
.ec-card .pi-ov { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .7rem; line-height: 1.35; color: #b8bfcc; }
.ec-card .pi-btn { justify-self: start; margin-top: .15rem; padding: .32rem .6rem; border-radius: 5px; background: var(--accent); color: #fff; font: 700 .7rem/1 Inter, system-ui, sans-serif; box-shadow: 0 4px 14px -4px rgba(var(--accent-rgb), .8); }

/* --- 3. etichete elegante --- */
.b-rate .st { font-style: normal; }
.pc-glass .ec-card :is(.b-year, .b-rate) { border: 1px solid rgba(255, 255, 255, .18); background: rgba(10, 12, 18, .72); color: #fff; }   /* fără blur: blurul se recalcula la fiecare scroll, pe fiecare poster */
.pc-glass .ec-card .b-rate .st { color: var(--gold); }
.pc-glass .ec-card .new-label { display: inline-flex; align-items: center; gap: .3rem; border: 1px solid rgba(255, 255, 255, .18); background: rgba(10, 12, 18, .75); }
/* punctul care pulsează: un inel care doar se mărește și se stinge (transform + opacity, fără redesenare) */
.pc-glass .ec-card .new-label::before { content: ""; position: relative; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.pc-glass .ec-card .new-label::after { content: ""; position: absolute; left: calc(.4rem + 1px); top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--ok); animation: pc-pulse 1.8s ease-out infinite; }
@keyframes pc-pulse { from { transform: scale(1); opacity: .7; } 70%, to { transform: scale(2.6); opacity: 0; } }
.pc-glass .ec-card .quality { border: 1px solid rgba(255, 255, 255, .35); background: var(--accent); color: #fff; }

/* --- 4. filmele cu notă mare: ramă aurie + „⭐ Top” --- */
.ec-card .b-top { display: inline-block; padding: .28rem .4rem; border-radius: 4px; background: linear-gradient(135deg, #f7d354, #e0a400); color: #1a1300; font: 800 .62rem/1 Inter, system-ui, sans-serif; }
.pc-glass .ec-card .b-top { border: 1px solid rgba(247, 211, 84, .6); background: rgba(247, 211, 84, .16); color: #f7d354; }
.pc-top .ec-card.is-top .poster { box-shadow: 0 0 0 2px rgba(247, 211, 84, .85), 0 8px 22px -10px rgba(247, 211, 84, .55); }
@media (hover: hover) {
	.pc-top.pc-hover .ec-card.is-top:hover .poster { box-shadow: 0 0 0 2px rgba(247, 211, 84, .95), 0 16px 32px -12px rgba(247, 211, 84, .7); }
}

/* --- 5. scheletul cât se încarcă imaginile, apoi posterele apar pe rând --- */
.bpr-js .pc-skel .ec-card .poster:not(.is-loaded) { background: linear-gradient(100deg, var(--panel2) 30%, rgba(255, 255, 255, .08) 50%, var(--panel2) 70%); background-size: 250% 100%; animation: pc-shimmer 1.3s linear infinite; }
.bpr-js .pc-skel .ec-card .poster:not(.is-loaded) > img { opacity: 0; }
.bpr-js .pc-skel .ec-card .poster > img { transition: opacity .45s ease, transform .35s; }
.bpr-js .pc-skel .ec-card .poster.is-loaded { animation: pc-in .45s ease both; }
.bpr-js .pc-skel .ec-card:nth-child(2) .poster.is-loaded { animation-delay: .04s; }
.bpr-js .pc-skel .ec-card:nth-child(3) .poster.is-loaded { animation-delay: .08s; }
.bpr-js .pc-skel .ec-card:nth-child(4) .poster.is-loaded { animation-delay: .12s; }
.bpr-js .pc-skel .ec-card:nth-child(5) .poster.is-loaded { animation-delay: .16s; }
.bpr-js .pc-skel .ec-card:nth-child(n+6) .poster.is-loaded { animation-delay: .2s; }
@keyframes pc-shimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }
@keyframes pc-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
/* pe hover, transform-ul vine de la efectul 1, nu de la animație */
.pc-hover.pc-skel .ec-card:hover .poster.is-loaded { animation: none; }

@media (prefers-reduced-motion: reduce) {
	.pc-hover .ec-card .poster,
	.pc-hover .ec-card .poster::after,
	.pc-info .ec-card .pi-more { transition: none; }
	.pc-glass .ec-card .new-label::after,
	.bpr-js .pc-skel .ec-card .poster { animation: none !important; }
}

/* =====================================================================
   ===== TEMELE DE CULORI „Auriu” și „Întunecat” (Aspect → Setări temă → Culoare și logo) =====
   Pe auriu și argintiu, scrisul alb nu se citește: tot ce are fundalul în culoarea principală primește scris închis.
   ===================================================================== */
body.pal-ink form.search > button,
body.pal-ink .badge,
body.pal-ink .btn,
body.pal-ink .pager .current,
body.pal-ink .hero-arrow:hover,
body.pal-ink .top10-arrow:hover,
body.pal-ink .servers button.active,
body.pal-ink .notice-x,
body.pal-ink .player-cover-btn,
body.pal-ink .report-options button.is-selected,
body.pal-ink .report-send,
body.pal-ink .comment-submit,
body.pal-ink .trailer-x,
body.pal-ink .reels-close:hover,
body.pal-ink .reel-link:hover,
body.pal-ink .reels-nav button:hover,
body.pal-ink .card-fav.is-fav,
body.pal-ink .card-remove:hover,
body.pal-ink .mylist-hide:hover,
body.pal-ink .nav-count,
body.pal-ink .req-x:hover,
body.pal-ink .req-send,
body.pal-ink .req-plus:hover:not(:disabled),
body.pal-ink .bpr-bar,
body.pal-ink .ec-nav .nav-count,
body.pal-ink .ec-search form.search > button,
body.pal-ink .ec .btn,
body.pal-ink .ec-btn,
body.pal-ink .ec .btn:hover,
body.pal-ink .ec-btn:hover,
body.pal-ink .chip:hover,
body.pal-ink .ec .pager .current,
body.pal-ink .ec-card .play span,
body.pal-ink .ec-card .quality,
body.pal-ink .ib-poster .quality,
body.pal-ink .ec .top10-arrow:hover,
body.pal-ink .wd-play,
body.pal-ink .w-top li:nth-child(2) .wt-n,
body.pal-ink .w-top li:nth-child(3) .wt-n,
body.pal-ink .yrs a:hover,
body.pal-ink .yrs a.on,
body.pal-ink .wc-av,
body.pal-ink .ft-sub .b-vert,
body.pal-ink .ec-player .servers button.active,
body.pal-ink .facts .q,
body.pal-ink .ec-row-wrap .row-btn:hover,
body.pal-ink .ec .srv-cur,
body.pal-ink .ec .ec-player .srv-menu button.active,
body.pal-ink .ec-card .pi-btn { color: var(--on-accent, #1a1300); }
body.pal-ink .ec-card .pi-btn, body.pal-ink .ec-card .quality { color: var(--on-accent, #1a1300); }

/* calitatea sus în dreapta, nota sub ea */
.ec-card .b-tr { position: absolute; top: .45rem; right: .45rem; z-index: 3; display: flex; flex-direction: column; align-items: flex-end; gap: .3rem; }
.ec-card .b-tr .b-rate { position: static; }
.ec-card .b-tr .quality { padding: .32rem .45rem; font-size: .72rem; font-weight: 800; letter-spacing: .04em; box-shadow: 0 2px 10px rgba(0, 0, 0, .55); text-shadow: 0 1px 1px rgba(0, 0, 0, .25); }
body.pal-ink .ec-card .b-tr .quality { text-shadow: none; }
/* inima coboară sub calitate + notă când sunt amândouă */
.ec-card:has(.b-tr .quality):has(.b-tr .b-rate) :is(.card-fav, .card-remove) { top: 3.85rem; }

/* titlul și vizualizările pe același rând */
.ec-card .pi-row { display: flex; align-items: flex-end; gap: .45rem; }
.ec-card .pi-row h3 { flex: 1; min-width: 0; }
.ec-card .pi-row .views { flex: none; padding-bottom: .08rem; font-size: .74rem; color: #c3c9d6; }

/* cât rulează filmul: animațiile de pe postere se opresc, ca video-ul să meargă lin */
.is-playing .pc-glass .ec-card .new-label::after,
.is-playing.pc-glass .ec-card .new-label::after,
.is-playing .ec-card .poster { animation: none !important; }

/* =====================================================================
   ===== PAGINA FILMULUI: bara de sus se ascunde singură (Setări temă → Pagina filmului) =====
   Apare când miști mouse-ul / dai scroll în sus / atingi ecranul; după 2,5 secunde fără mișcare pleacă.
   Sus de tot, la începutul paginii, rămâne la locul ei.
   ===================================================================== */
.hdr-auto .ec-header.top { transition: transform .3s ease, box-shadow .2s; will-change: transform; }
.hdr-auto.hdr-hidden .ec-header.top { transform: translateY(calc(-100% - 2px)); box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .hdr-auto .ec-header.top { transition: none; } }

/* „🔥 În trend” (filmele cele mai văzute în ultimele 24 de ore) */
.ec-card .b-trend { display: inline-block; padding: .28rem .4rem; border-radius: 4px; background: linear-gradient(135deg, #ff7a18, #e11d48); color: #fff; font: 800 .62rem/1 Inter, system-ui, sans-serif; box-shadow: 0 2px 8px rgba(225, 29, 72, .35); }
/* „🎲 Surpriză” în meniu */
.ec-nav .nav-random { white-space: nowrap; }

/* playerul cât se cere serverul (protecția anti-copiere) */
.srv-loading { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .7rem; background: #000; color: #c3c9d6; font-size: .9rem; text-align: center; padding: 1rem; }
.srv-loading span { width: 34px; height: 34px; border: 3px solid rgba(255, 255, 255, .15); border-top-color: var(--accent); border-radius: 50%; animation: srv-spin .8s linear infinite; }
.srv-err button { margin-top: .4rem; padding: .45rem .9rem; border: 0; border-radius: 6px; background: var(--accent); color: var(--on-accent, #fff); font-weight: 700; cursor: pointer; }
@keyframes srv-spin { to { transform: rotate(360deg); } }

/* =====================================================================
   ===== BARA DE JOS PE TELEFON (Setări temă → Meniul de sus) =====
   ===================================================================== */
.bnav { display: none; }
@media (max-width: 760px) {
	.has-bnav { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
	.bnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; justify-content: space-around; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: color-mix(in srgb, var(--panel) 94%, transparent); box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, .6); }
	.bnav a { position: relative; flex: 1; display: grid; justify-items: center; gap: 3px; padding: 4px 2px; border-radius: 10px; color: var(--muted); font-size: .66rem; font-weight: 600; line-height: 1; -webkit-tap-highlight-color: transparent; }
	.bnav a.is-on, .bnav a:active { color: var(--accent); }
	.bnav a.is-on::before { content: ""; position: absolute; top: -7px; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: var(--accent); }
	.bnav a:active svg { transform: scale(.9); }
	.bnav svg { transition: transform .12s; }
	.bnav .nav-count { position: absolute; top: 0; left: calc(50% + 6px); min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--accent); color: var(--on-accent, #fff); font-size: .6rem; line-height: 16px; text-align: center; }
	.menu-open .bnav { display: none; }   /* meniul ☰ deschis: bara de jos nu stă peste el */
	/* mesajele de jos (Lista mea) urcă deasupra barei */
	.has-bnav .bpr-toast { bottom: calc(76px + env(safe-area-inset-bottom)); }
}

/* =====================================================================
   ===== COLOANA DIN DREAPTA vine după tine la scroll (Setări temă → Coloana din dreapta) =====
   Rămâne pe ecran sub bara de sus; dacă e mai lungă decât ecranul, se derulează și ea (rotița / degetul pe ea).
   ===================================================================== */
@media (min-width: 961px) {
	.sb-sticky .ec-sidebar { position: sticky; top: calc(var(--hdr-h, 66px) + 1rem); max-height: calc(100vh - var(--hdr-h, 66px) - 2rem); overflow-y: auto; overscroll-behavior: contain; padding-right: .35rem; margin-right: -.35rem; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
	.admin-bar.sb-sticky .ec-sidebar { top: calc(var(--hdr-h, 66px) + 32px + 1rem); max-height: calc(100vh - var(--hdr-h, 66px) - 32px - 2rem); }
	.sb-sticky .ec-sidebar > * { flex-shrink: 0; }   /* casetele își păstrează înălțimea; coloana se derulează */
	.sb-sticky .ec-sidebar::-webkit-scrollbar { width: 6px; }
	.sb-sticky .ec-sidebar::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
	.sb-sticky .ec-sidebar::-webkit-scrollbar-thumb:hover { background: var(--muted); }
}

/* =====================================================================
   ===== BYPROFU NOCTURNE =====
   Aceleași setări și comportamente, cu o direcție editorială de cinema.
   ===================================================================== */
:root {
	--bg: #10100f;
	--panel: #181816;
	--panel2: #22211e;
	--line: #343129;
	--text: #f2eee5;
	--muted: #b3ab9c;
	--faint: #776f61;
	--gold: #dfc17b;
	--r: 12px;
	--rs: 6px;
	--shadow: 0 18px 42px -20px rgba(0, 0, 0, .8);
}
:root[data-theme=light] {
	--bg: #f1eee7;
	--panel: #fbf9f3;
	--panel2: #e9e4d9;
	--line: #d9d2c5;
	--text: #25231f;
	--muted: #726b5e;
	--faint: #938b7c;
	--shadow: 0 12px 30px -18px rgba(50, 43, 30, .28);
}
body.ec { background: var(--bg); }
.ec .ec-wrap { width: min(1360px, 100% - 2.5rem); }
.ec .ec-header.top { background: color-mix(in srgb, var(--panel) 94%, transparent); backdrop-filter: blur(16px); }
.ec .section-head { padding-bottom: .75rem; border-bottom: 1px solid var(--line); }
.ec .section-head h2,
.ec .fp-title,
.ec .ec-card .card-below h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 600; letter-spacing: -.02em; }
.ec .section-head a { color: var(--muted); }
.ec .section-head a:hover { color: var(--accent); }

/* Sliderul principal: cadru editorial, imaginea rămâne dominantă în dreapta. */
.ec .hero.hero-cine {
	min-height: 510px;
	margin-bottom: 3rem;
	border: 1px solid color-mix(in srgb, var(--gold) 24%, transparent);
	border-radius: 8px 8px 46px 8px;
	background: var(--panel);
	box-shadow: 0 28px 70px -36px rgba(0, 0, 0, .9);
}
.ec .hero .hc-bg {
	left: 39%;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .18) 12%, rgba(0, 0, 0, .62) 34%, #000 62%);
	mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .18) 12%, rgba(0, 0, 0, .62) 34%, #000 62%);
}
.ec .hero.is-posterbg .hc-bg { left: 0; -webkit-mask-image: none; mask-image: none; }
.ec .hero .hc-layer { filter: saturate(.82) contrast(1.04); }
.ec .hero.is-posterbg .hc-layer { filter: blur(30px) brightness(.55) saturate(1.2); }
.ec .hero .hc-shade {
	background:
		linear-gradient(90deg, #10100f 0, rgba(16, 16, 15, .88) 28%, rgba(16, 16, 15, .5) 50%, transparent 77%),
		linear-gradient(0deg, rgba(8, 8, 7, .9) 0, rgba(8, 8, 7, .22) 28%, transparent 56%);
}
.ec .hero.is-posterbg .hc-shade {
	background:
		linear-gradient(90deg, rgba(8, 8, 7, .9) 0, rgba(8, 8, 7, .72) 35%, rgba(8, 8, 7, .22) 72%),
		linear-gradient(0deg, rgba(8, 8, 7, .9) 0, rgba(8, 8, 7, .24) 40%, transparent 72%);
}
.ec .hero .hc-info { max-width: min(650px, 59%); padding: 48px 0 10px 64px; }
.ec .hero .eyebrow { color: var(--gold); font-size: .7rem; letter-spacing: .22em; }
.ec .hero h1 {
	max-width: 11ch;
	margin: 12px 0 16px;
	font: 600 clamp(2.4rem, 4.2vw, 4.7rem)/.96 Georgia, "Times New Roman", serif;
	letter-spacing: -.045em;
	text-wrap: balance;
}
.ec .hero p { max-width: 36rem; color: #ddd5c8; }
.ec .hero .hc-meta { gap: 9px 15px; color: #e1d9cc; }
.ec .hero .hc-rate { color: var(--gold); }
.ec .hero .hc-genre { border-color: color-mix(in srgb, var(--gold) 38%, transparent); border-radius: 2px; }
.ec .hero .hc-actions { margin-top: 24px; }
.ec .hero .hc-actions .btn { border-radius: 3px 3px 14px 3px; }
.ec .hero .hc-btn { border-radius: 3px; background: rgba(255, 255, 255, .09); }
.ec .hero .hc-poster {
	top: 30px;
	right: 6%;
	height: calc(100% - 112px);
	border: 1px solid rgba(235, 216, 177, .72);
	border-radius: 4px 4px 22px 4px;
	box-shadow: 0 28px 70px rgba(0, 0, 0, .62), 0 0 0 5px rgba(18, 17, 14, .6);
}
.ec .hero .hc-thumbs { max-width: 67%; gap: 10px; padding: 12px 0 24px 64px; }
.ec .hero .hc-thumb { flex-basis: 86px; aspect-ratio: 16 / 10; border: 1px solid rgba(255, 255, 255, .18); border-radius: 3px 3px 12px 3px; opacity: .64; }
.ec .hero .hc-thumb.is-active { border: 1px solid var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 28%, transparent); }
.ec .hero .hc-thumb.is-active::after { height: 2px; }
.ec .hero-arrow { width: 40px; height: 40px; border-color: rgba(255, 255, 255, .26); border-radius: 50%; background: rgba(12, 12, 11, .62); font-size: 26px; }
.ec .hero-prev { left: 18px; }
.ec .hero-next { right: 18px; }

/* Postere cu proporții de afiș și ramă discretă; opțiunea 9:16 rămâne respectată. */
.ec .ec-card .poster { aspect-ratio: 3 / 4; border: 1px solid color-mix(in srgb, var(--gold) 22%, transparent); border-radius: 5px 5px 20px 5px; box-shadow: 0 12px 28px -16px rgba(0, 0, 0, .85); }
.ec.pc-shape-916 .grid-vertical .ec-card .poster { aspect-ratio: 9 / 16; }
.ec .ec-card .poster-info {
	padding: 3.4rem .72rem .72rem;
	background: linear-gradient(0deg, rgba(10, 10, 9, .98) 0, rgba(10, 10, 9, .82) 44%, rgba(10, 10, 9, 0) 100%);
}
.ec .ec-card .poster-info h3 { font: 600 .98rem/1.18 Georgia, "Times New Roman", serif; letter-spacing: -.01em; }
.ec .ec-card .poster-info .sub { color: #d4ccbd; }
.ec .ec-card .b-year { border: 1px solid rgba(255, 255, 255, .18); border-radius: 2px; background: rgba(12, 12, 11, .78); letter-spacing: .04em; }
.ec .ec-card .b-tr .quality { border-radius: 2px 2px 8px 2px; }
.ec .ec-card .b-rate { border-radius: 2px; }
.ec .ec-card .new-label { border-radius: 2px; letter-spacing: .12em; }
.ec .ec-card .card-fav { border: 1px solid rgba(255, 255, 255, .28); border-radius: 3px; }
.ec .ec-card .play span { border-radius: 3px 3px 14px 3px; box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 32%, transparent); }
.ec .top10 .ec-card .poster::after { border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent); border-radius: 2px 2px 9px 2px; }
.ec .top10-arrow { border-radius: 3px 3px 12px 3px; }
.ec .widget { border-radius: 4px 4px 18px 4px; }

@media (max-width: 1100px) {
	.ec .hero .hc-info { max-width: 61%; padding-left: 48px; }
	.ec .hero .hc-thumbs { padding-left: 48px; }
	.ec .hero .hc-poster { right: 5%; }
}
@media (max-width: 760px) {
	.ec .ec-wrap { width: min(100% - 1.5rem, 1360px); }
	.ec .hero.hero-cine { min-height: 0; border-radius: 8px 8px 28px 8px; margin-bottom: 2.2rem; }
	.ec .hero .hc-bg { left: 0; height: var(--mh); -webkit-mask-image: none; mask-image: none; }
	.ec .hero.is-posterbg .hc-bg { height: 100%; }
	.ec .hero .hc-shade { background: linear-gradient(0deg, #10100f calc(100% - var(--mh) + 12px), rgba(14, 14, 12, .6) calc(100% - var(--mh) + 68px), rgba(14, 14, 12, .06) 100%); }
	.ec .hero.is-posterbg .hc-shade { background: linear-gradient(0deg, #10100f calc(100% - var(--mh) - 8px), rgba(14, 14, 12, .62) calc(100% - var(--mh) + 56px), rgba(14, 14, 12, .15) 100%); }
	.ec .hero .hc-info { max-width: none; padding: 0 18px; }
	.ec .hero h1 { max-width: 14ch; font-size: clamp(1.8rem, 8vw, 2.5rem); letter-spacing: -.035em; }
	.ec .hero .hc-thumbs { max-width: none; gap: 8px; padding: 14px 18px 18px; }
	.ec .hero .hc-thumb { flex-basis: 68px; }
	.ec .hero .hc-poster { top: 16px; right: 50%; height: calc(var(--mh) - 32px); border-radius: 3px 3px 16px 3px; }
	.ec .hero-arrow { top: calc(var(--mh) / 2); width: 34px; height: 34px; }
	.ec .hero-prev { left: 8px; }
	.ec .hero-next { right: 8px; }
	.ec .ec-card .poster-info { padding: 2.8rem .5rem .5rem; }
	.ec .ec-card .poster-info h3 { font-size: .83rem; }
}
@media (prefers-reduced-motion: reduce) {
	.ec .hero .hc-layer,
	.ec .hero .hc-poster,
	.ec .hero .hc-thumb,
	.ec .ec-card .poster,
	.ec .ec-card .poster img { transition: none; }
}

/* =====================================================================
   ===== PAGINA FILMULUI: temele ca butoane, informațiile în căsuțe =====
   ===================================================================== */
.fp-themes { display: grid; gap: .55rem; margin: 1.1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.fp-lbl { color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.fp-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.fp-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .42rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: var(--panel2); color: var(--text); font-size: .84rem; font-weight: 600; line-height: 1.2; transition: border-color .15s, background .15s, color .15s, transform .15s; }
.fp-chip em { font-style: normal; font-size: .95rem; }
.fp-chip:hover { border-color: var(--accent); background: rgba(var(--accent-rgb), .12); color: var(--accent); transform: translateY(-1px); }

.facts { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: .55rem; }
.fp-themes + .facts { border-top: 0; padding-top: 0; margin-top: .9rem; }
.facts div { flex-direction: column; gap: .25rem; padding: .6rem .75rem; border: 1px solid var(--line); border-radius: var(--rs); background: var(--panel2); }
.facts div.wide { grid-column: 1 / -1; }
.facts dt { min-width: 0; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.facts dd { font-size: .92rem; font-weight: 600; color: var(--text); }
.facts dd a { color: var(--text); }
.facts dd a:hover { color: var(--accent); }
.facts .q { align-self: flex-start; display: inline-block; }
@media (max-width: 760px) {
	.facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* pagina filmului vertical: Lista mea · Mod Reels · Partajează · Raportează pe același rând, stelele dedesubt */
.ec-filmrow .actbar { position: relative; justify-content: flex-start; gap: .6rem .4rem; }
.ec-filmrow .actbar .action-rating-box { display: contents; }
.ec-filmrow .actbar .movie-rating { flex-basis: 100%; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: .5rem 1.2rem; margin-top: .2rem; }
.ec-filmrow .actbar .report-sent-toast { align-self: center; }
.ec-filmrow .actbar .share-pop, .ec-filmrow .actbar .report-pop { top: calc(1rem + 36px + 8px); left: 0; }

/* =====================================================================
   ===== TEMA DE CULORI „Cyber Space” (Setări temă → Culoare și logo) =====
   Cyan neon + magenta: liniile titlurilor în degradeu, butoanele și posterele cu strălucire neon.
   ===================================================================== */
/* luminile din fundal: un strat fix, desenat o singură dată (background-attachment: fixed redesena toată pagina la fiecare scroll) */
body.pal-cyber::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(1200px 600px at 85% -10%, rgba(255, 43, 214, .10), transparent 60%), radial-gradient(900px 500px at -10% 10%, rgba(0, 229, 255, .08), transparent 60%); transform: translateZ(0); }
body.pal-cyber .ec-header.top { border-bottom-color: rgba(0, 229, 255, .25); box-shadow: 0 1px 0 rgba(255, 43, 214, .15); }
body.pal-cyber .box-head h2::before, body.pal-cyber .box .section-head h2::before { background: linear-gradient(180deg, #00e5ff, #ff2bd6); box-shadow: 0 0 10px rgba(0, 229, 255, .6); }
body.pal-cyber :is(.box, .widget) { border-color: rgba(0, 229, 255, .14); }
body.pal-cyber .ec-btn, body.pal-cyber .search button, body.pal-cyber .pi-btn { box-shadow: 0 0 16px -2px rgba(0, 229, 255, .55); }
body.pal-cyber .ec-btn:hover, body.pal-cyber .search button:hover { box-shadow: 0 0 22px 0 rgba(255, 43, 214, .55); }
body.pal-cyber.pc-hover .ec-card:hover .poster { box-shadow: 0 0 0 1px rgba(0, 229, 255, .7), 0 0 26px -4px rgba(0, 229, 255, .7), 0 16px 34px -14px rgba(255, 43, 214, .7); }
body.pal-cyber .ec-card .b-trend { background: linear-gradient(135deg, #ff2bd6, #7c3aed); }
body.pal-cyber .fp-chip:hover, body.pal-cyber .w-genres a:hover .wg-ico { box-shadow: 0 0 12px -2px rgba(0, 229, 255, .6); }
body.pal-cyber .logo b, body.pal-cyber .logo span { text-shadow: 0 0 12px rgba(0, 229, 255, .55); }
:root[data-theme=light] body.pal-cyber::before { display: none; }

/* ===== Sărbători: efectele care cad (Setări temă → Sărbători) ===== */
#bpr-snow { position: fixed; inset: 0; z-index: 55; pointer-events: none; }
#bpr-snow-btn { position: fixed; left: 14px; bottom: 14px; z-index: 66; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: color-mix(in srgb, var(--panel) 88%, transparent); color: #fff; font-size: 1.1rem; line-height: 1; cursor: pointer; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .6); transition: opacity .2s, transform .15s, border-color .15s; }
#bpr-snow-btn:hover { border-color: var(--accent); transform: scale(1.08); }
#bpr-snow-btn.off { opacity: .45; }
#bpr-snow-btn.off::after { content: ""; position: absolute; width: 26px; height: 2px; border-radius: 2px; background: currentColor; transform: rotate(-45deg); }
@media (max-width: 760px) { .has-bnav #bpr-snow-btn { bottom: calc(74px + env(safe-area-inset-bottom)); left: 10px; width: 36px; height: 36px; } }
.is-playing #bpr-snow-btn { display: none; }

/* ===== 🎄 Beculețe sub bara de sus ===== */
.xmas-lights { position: absolute; left: 0; right: 0; bottom: -13px; z-index: 2; display: flex; justify-content: space-around; height: 16px; pointer-events: none; }
.xmas-lights::before { content: ""; position: absolute; left: 0; right: 0; top: 2px; height: 6px; background: radial-gradient(ellipse 17px 6px at 17px 0, transparent 70%, #1f3b24 72%, #1f3b24 92%, transparent 95%) 0 0 / 34px 6px repeat-x; opacity: .9; }
.xmas-lights i { position: relative; top: 5px; width: 7px; height: 11px; border-radius: 50% 50% 45% 45%; background: var(--c); transform-origin: 50% 0; }
.xmas-lights i:nth-child(odd) { transform: rotate(8deg); }
.xmas-lights i:nth-child(even) { transform: rotate(-8deg); top: 6px; }
.xmas-lights i::before { content: ""; position: absolute; left: 1px; top: -3px; width: 5px; height: 4px; border-radius: 1px; background: #3a4a3a; }
.xmas-lights i::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; background: radial-gradient(circle, var(--c) 0, transparent 70%); opacity: .55; animation: xmas-blink 1.6s ease-in-out infinite alternate; animation-delay: var(--d); }
@keyframes xmas-blink { from { opacity: .15; } to { opacity: .75; } }
@keyframes xmas-bulb { from { opacity: .55; } to { opacity: 1; } }
.ec-header.top { overflow: visible; }
.is-playing .xmas-lights i, .is-playing .xmas-lights i::after { animation: none; }   /* cât rulează filmul: fără animație */
@media (prefers-reduced-motion: reduce) { .xmas-lights i, .xmas-lights i::after { animation: none; } }

/* ===== 🎅 Căciulă de Moș pe logo ===== */
.xmas-hat-on .ec-header.top .logo { position: relative; }
.xmas-hat { position: absolute; left: -12px; top: -13px; z-index: 3; transform: rotate(-22deg); pointer-events: none; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .35)); line-height: 0; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* =====================================================================
   ===== FILMUL ZILEI: formele noi (Setări temă → Coloana din dreapta → Filmul zilei: forma) =====
   ===================================================================== */
.w-day-poster, .w-day-spot { padding: 0; overflow: hidden; }
.w-day-ticket { padding: 0; background: none; border: 0; }
.wd2-t { display: block; font-size: 1.12rem; font-weight: 800; line-height: 1.25; }
.wd2-meta { display: block; margin-top: .3rem; color: #d7dbe4; font-size: .8rem; font-weight: 600; }
.wd2-meta b { color: var(--gold, #f5c518); }
.wd2-chips { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .55rem; }
.wd2-chip { padding: .22rem .5rem; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; background: rgba(255, 255, 255, .08); color: #eef0f5; font-size: .7rem; font-weight: 600; white-space: nowrap; }
.wd2-ov { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: .5rem; color: #b9bfcc; font-size: .78rem; line-height: 1.4; }
.wd2-btn { display: flex; align-items: center; justify-content: center; margin-top: .75rem; padding: .62rem; border-radius: var(--rs); background: var(--accent); color: var(--on-accent, #fff); font-size: .86rem; font-weight: 800; box-shadow: 0 8px 22px -8px rgba(var(--accent-rgb), .8); transition: transform .15s, filter .15s; }
.wd2-badge { position: absolute; top: .7rem; left: .7rem; z-index: 3; padding: .32rem .6rem; border-radius: 6px; background: var(--accent); color: var(--on-accent, #fff); font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 4px 14px rgba(0, 0, 0, .4); }

/* --- Poster mare --- */
.wd2 { position: relative; display: block; color: #fff; }
.wd2-img { display: block; aspect-ratio: 2 / 3; overflow: hidden; }
.wd2-img img, .wd2-img .empty { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.wd2:hover .wd2-img img { transform: scale(1.05); }
.wd2::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(6, 8, 12, .97) 0, rgba(6, 8, 12, .85) 34%, rgba(6, 8, 12, 0) 66%); pointer-events: none; }
.wd2-rate { position: absolute; top: .7rem; right: .7rem; z-index: 3; padding: .3rem .5rem; border-radius: 6px; background: rgba(0, 0, 0, .72); color: var(--gold, #f5c518); font-size: .75rem; font-weight: 800; }
.wd2-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1rem; }
.wd2:hover .wd2-btn { transform: translateY(-1px); filter: brightness(1.08); }

/* --- Bilet de cinema --- */
.wd3 { position: relative; display: block; border-radius: 14px; background: linear-gradient(160deg, var(--panel2), var(--panel)); border: 1px solid var(--line); color: var(--text); filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .35)); }
.wd3-head { display: flex; justify-content: space-between; padding: .65rem .9rem; border-bottom: 1px dashed var(--line); color: var(--accent); font-size: .72rem; font-weight: 800; letter-spacing: .1em; }
.wd3-head span + span { color: var(--muted); letter-spacing: .04em; }
.wd3-body { display: flex; gap: .8rem; padding: .85rem .9rem; }
.wd3-img { flex: none; width: 92px; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 8px; box-shadow: 0 8px 18px rgba(0, 0, 0, .5); transform: rotate(-2deg); transition: transform .25s; }
.wd3:hover .wd3-img { transform: rotate(0) scale(1.03); }
.wd3-img img { width: 100%; height: 100%; object-fit: cover; }
.wd3-info { min-width: 0; }
.wd3 .wd2-meta, .wd3 .wd2-chip { color: var(--muted); }
.wd3 .wd2-chip { border-color: var(--line); background: var(--bg); }
.wd3 .wd2-ov { color: var(--muted); -webkit-line-clamp: 3; }
.wd3-stub { position: relative; display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .7rem .9rem; border-top: 2px dashed var(--line); color: var(--muted); font-size: .72rem; font-weight: 700; }
/* găurile biletului */
.wd3-stub::before, .wd3-stub::after { content: ""; position: absolute; top: -10px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); }
.wd3-stub::before { left: -10px; clip-path: inset(0 0 0 50%); }
.wd3-stub::after { right: -10px; clip-path: inset(0 50% 0 0); }
.wd3-play { padding: .45rem .8rem; border-radius: 999px; background: var(--accent); color: var(--on-accent, #fff); font-size: .78rem; font-weight: 800; box-shadow: 0 6px 16px -6px rgba(var(--accent-rgb), .9); }
.wd3:hover .wd2-t { color: var(--accent); }

/* --- Reflector --- */
.wd4 { display: block; color: var(--text); }
.wd4-stage { position: relative; display: grid; place-items: center; height: 230px; overflow: hidden; background: radial-gradient(circle at 50% 40%, rgba(var(--accent-rgb), .25), transparent 60%), var(--panel2); }
.wd4-stage::before { content: ""; position: absolute; inset: -20px; background: var(--bd) center / cover no-repeat; filter: blur(14px) brightness(.45) saturate(1.3); }
.wd4-glow { position: absolute; width: 150px; height: 150px; border-radius: 50%; background: rgba(var(--accent-rgb), .55); filter: blur(45px); }
.wd4-img { position: relative; width: 118px; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 10px; box-shadow: 0 18px 34px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .12); transform: perspective(700px) rotateY(-14deg) rotateZ(2deg); transition: transform .35s ease; }
.wd4:hover .wd4-img { transform: perspective(700px) rotateY(0) rotateZ(0) scale(1.04); }
.wd4-img img { width: 100%; height: 100%; object-fit: cover; }
.wd4-info { display: block; padding: .9rem 1rem 1rem; }
.wd4 .wd2-meta { color: var(--muted); }
.wd4 .wd2-chip { border-color: var(--line); background: var(--panel2); color: var(--text); }
.wd4 .wd2-ov { color: var(--muted); }
.wd4:hover .wd2-t { color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .wd2-img img, .wd3-img, .wd4-img { transition: none; } }

/* =====================================================================
   ===== VITEZĂ: browserul desenează doar ce e pe ecran =====
   Secțiunile de mai jos de primele două se desenează abia când ajungi la ele (scroll mai lin, pagina apare mai repede).
   ===================================================================== */
.ec-main > .section:nth-of-type(n+3), .ec-main > section.box:nth-of-type(n+3), .similar-box, .ec-footer, .site-footer { content-visibility: auto; contain-intrinsic-size: auto 720px; }
/* cardurile nu-și mai „pătează” vecinii când se schimbă ceva în ele */
.ec-card { contain: layout style; }

/* ===== Căutare: ultimele căutări + „🔥 În trend acum” (căsuța goală) ===== */
.ss-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 6px; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ss-head + .ss-recent { margin-bottom: 4px; }
.ss-clear { padding: 0; border: 0; background: none; color: var(--muted); font: inherit; font-size: .72rem; text-transform: none; letter-spacing: 0; cursor: pointer; }
.ss-clear:hover { color: var(--accent); }
.ss-recent { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 8px 8px; }
.ss-chip { padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel2); color: var(--text); font-size: .8rem; font-weight: 600; }
.ss-chip:hover { border-color: var(--accent); color: var(--accent); }
.ss-rank { flex: none; width: 18px; color: var(--accent); font-weight: 900; text-align: center; }
form.search .ss-clear, body.pal-cyber form.search .ss-clear { width: auto; height: auto; min-width: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--muted); font-size: .72rem; font-weight: 700; }
form.search .ss-clear:hover { background: none; box-shadow: none; color: var(--accent); }

/* nota vizitatorilor pe poster: „★ 4,6/5” */
.ec-card .b-rate small { margin-left: 1px; font-size: .78em; font-weight: 700; opacity: .7; }

/* =====================================================================
   ===== Pagina „Toate temele” (/teme/) =====
   ===================================================================== */
.themes-wrap { padding-top: 1.2rem; padding-bottom: 2rem; }
.themes-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.themes-head h1 { position: relative; margin: 0; padding-left: 14px; font-size: 1.6rem; }
.themes-head h1::before { content: ""; position: absolute; left: 0; top: .18em; bottom: .18em; width: 4px; border-radius: 4px; background: var(--accent); }
.themes-head p { margin: .35rem 0 0 14px; color: var(--muted); font-size: .9rem; }
.themes-filter { display: flex; align-items: center; gap: .5rem; min-width: min(280px, 100%); padding: 0 .8rem; border: 1px solid var(--line); border-radius: 999px; background: var(--panel2); }
.themes-filter input { flex: 1; min-width: 0; height: 40px; border: 0; background: none; color: var(--text); font: inherit; outline: 0; }
.themes-filter:focus-within { border-color: var(--accent); }
.themes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .9rem; }
.theme-card { position: relative; display: block; height: 170px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--panel2); color: #fff; isolation: isolate; transition: transform .2s, border-color .2s, box-shadow .2s; }
.theme-card[hidden] { display: none; }
.theme-card:hover { transform: translateY(-3px); border-color: rgba(var(--accent-rgb), .7); box-shadow: 0 16px 34px -16px rgba(var(--accent-rgb), .7); }
/* trei postere în evantai, în dreapta */
.tc-bg { position: absolute; inset: 0; z-index: -1; }
.tc-bg::after { content: ""; position: absolute; inset: 0; z-index: 4; background: linear-gradient(90deg, var(--panel) 0, var(--panel) 30%, color-mix(in srgb, var(--panel) 70%, transparent) 55%, transparent 85%); }
.tc-p { position: absolute; top: 18px; width: 92px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 8px; box-shadow: 0 10px 22px rgba(0, 0, 0, .55); transition: transform .3s ease; }
.tc-p0 { right: 18px; z-index: 3; transform: rotate(4deg); }
.tc-p1 { right: 66px; z-index: 2; transform: rotate(-3deg) scale(.92); filter: brightness(.75); }
.tc-p2 { right: 112px; z-index: 1; transform: rotate(-9deg) scale(.84); filter: brightness(.55); }
.theme-card:hover .tc-p0 { transform: rotate(0) translateY(-4px); }
.theme-card:hover .tc-p1 { transform: rotate(-6deg) scale(.92) translateX(-6px); }
.theme-card:hover .tc-p2 { transform: rotate(-13deg) scale(.84) translateX(-12px); }
.tc-info { position: relative; z-index: 5; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; max-width: 58%; padding: 1rem; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.tc-ico { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--accent); font-size: 1.35rem; font-weight: 800; box-shadow: 0 6px 16px rgba(0, 0, 0, .35); }
.tc-name { color: var(--text); font-size: 1.05rem; font-weight: 800; line-height: 1.2; }
.tc-count { margin-top: .35rem; color: var(--accent); font-size: .8rem; font-weight: 700; }
.themes-none { margin: 1rem 0 0; color: var(--muted); }
@media (max-width: 600px) { .themes-grid { grid-template-columns: 1fr; } .theme-card { height: 150px; } .tc-p { width: 80px; } }
/* linkurile spre pagină */
.chip.chip-all { border-color: rgba(var(--accent-rgb), .55); color: var(--accent); }
.w-genres .wg-page { display: block; margin-top: .45rem; text-align: center; color: var(--accent); font-size: .82rem; font-weight: 700; }
.ec-nav .sub-all a { color: var(--accent) !important; font-weight: 700; }

/* =====================================================================
   ===== PAGINA FILMULUI „ca la Clean” (Setări temă → Pagina filmului → Partea de sus) =====
   O singură casetă: fundalul filmului estompat, playerul în locul posterului, titlul mare lângă.
   ===================================================================== */
.ec .ec-filmrow.fpro { position: relative; overflow: hidden; isolation: isolate; padding: 1.4rem; gap: 1.8rem; }
.fpro::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--fp-bg, none) center 25% / cover no-repeat; opacity: .42; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 45%); mask-image: linear-gradient(90deg, transparent 0, #000 45%); }
.fpro::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--panel) 0, var(--panel) 20%, color-mix(in srgb, var(--panel) 70%, transparent) 55%, color-mix(in srgb, var(--panel) 35%, transparent) 100%), linear-gradient(0deg, var(--panel) 0, transparent 35%); }
.fpro .efr-player { width: var(--pw); max-width: 100%; }
.fpro .fp-stage.ec-player #player-frame { border-radius: 14px; box-shadow: 0 22px 48px -16px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06); }
.fpro .player-cover-btn { width: 76px; height: 76px; font-size: 1.6rem; box-shadow: 0 10px 30px -6px rgba(var(--accent-rgb), .8); }
.fpro-poster { overflow: hidden; border-radius: 14px; }
.fpro-poster img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.fpro-info { min-width: 0; padding-top: .3rem; }
.fpro-kicker { display: block; color: var(--accent); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.fpro-title { margin: .35rem 0 .2rem; font-size: clamp(1.9rem, 3.4vw, 3rem); font-weight: 900; line-height: 1.05; letter-spacing: -.01em; text-shadow: 0 4px 24px rgba(0, 0, 0, .45); }
.fpro-tag { margin: 0 0 .4rem; color: var(--muted); font-style: italic; }
.fpro-pills { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin: .8rem 0 1rem; }
.fpro-pill { display: inline-flex; align-items: center; gap: .3rem; padding: .38rem .75rem; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--panel2) 85%, transparent); color: var(--text); font-size: .82rem; font-weight: 700; }
.fpro-pill small { font-size: .78em; opacity: .7; }
a.fpro-pill:hover { border-color: var(--accent); color: var(--accent); }
.fpro-q { border-color: rgba(var(--accent-rgb), .5); color: var(--accent); }
.fpro-live { display: inline-flex; align-items: center; gap: .45rem; padding: .38rem .8rem; border: 1px solid rgba(34, 197, 94, .35); border-radius: 999px; background: rgba(34, 197, 94, .1); color: #4ade80; font-size: .8rem; font-weight: 700; }
.fpro-live i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .25); }
.fpro-desc { color: var(--text); font-size: .98rem; line-height: 1.7; opacity: .92; }
.fpro-facts { display: grid; grid-template-columns: minmax(0, 1fr); gap: .55rem; margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.fpro-facts p { display: flex; align-items: baseline; gap: .45rem; margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.fpro-facts b { flex: none; color: var(--text); font-weight: 700; }
.fpro-facts .fpro-ico { flex: none; width: 1.3rem; text-align: center; }
.fpro-facts a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(var(--accent-rgb), .45); text-underline-offset: 3px; }
.fpro-facts a:hover { color: var(--accent); }
.fpro-facts p > span:last-child { min-width: 0; }
.fpro-facts .fpro-one span:last-child { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.fpro .actbar .act, .fpro .actbar .movie-action-btn { padding-left: .75rem; padding-right: .75rem; }
.fpro .actbar { border-top: 1px solid var(--line); }
@media (max-width: 960px) {
	.ec .ec-filmrow.fpro { padding: .9rem; gap: 1rem; }
	.fpro .efr-player { width: auto; }
	.fpro-info { text-align: left; }
	.fpro::before { -webkit-mask-image: linear-gradient(180deg, #000 0, transparent 70%); mask-image: linear-gradient(180deg, #000 0, transparent 70%); }
}
@media (max-width: 960px) { .ec .ec-filmrow.fpro { grid-template-columns: minmax(0, 1fr); } }

/* butoanele de sub titlu: toate pe un singur rând (dacă nu încap, rândul se derulează lateral) */
.fpro-pills { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
.fpro-pills::-webkit-scrollbar { display: none; }
.fpro-pills { gap: .35rem; }
.fpro-pill, .fpro-live { flex: none; padding: .32rem .58rem; font-size: .78rem; white-space: nowrap; }
.fpro-live { gap: .4rem; }

/* filmele cu player lat: informațiile pe rânduri cu iconițe */
.fpro-facts-wide { margin-top: 1.1rem; }
.fpro-facts .q { display: inline-block; padding: 1px 7px; border-radius: 4px; background: var(--accent); color: var(--on-accent, #fff); font-size: .74rem; font-weight: 800; line-height: 1.5; }
.fpro-facts p.fpro-inline { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.4rem; }
.fpro-inline .fi { display: inline-flex; align-items: baseline; gap: .4rem; white-space: nowrap; }
.fpro-inline .fi .fpro-ico { width: auto; }

/* ---- paginile DMCA și Contact (inc/pages.php) ---- */
.pg-box { max-width: 860px; }
.pg-head { display: flex; align-items: center; gap: .9rem; margin: -.1rem 0 1.1rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.pg-ico { display: grid; place-items: center; flex: 0 0 auto; width: 48px; height: 48px; border-radius: 14px; background: rgba(var(--accent-rgb), .14); font-size: 1.5rem; }
.pg-head h1 { margin: 0; font: 800 1.5rem/1.2 Inter, system-ui, sans-serif; }
.pg-head p { margin: .2rem 0 0; color: var(--muted); font-size: .9rem; }
.pg-text { max-width: none; color: var(--text); opacity: .9; }
.pg-text h3 { margin: 1.3rem 0 .4rem; font-size: 1.05rem; }
.pg-text ul { padding-left: 1.2rem; }
.pg-text li { margin: .25rem 0; }
.pg-cta { margin: 1.2rem 0 0; }
.pg-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 1.3rem; border: 0; border-radius: 11px; background: var(--accent); color: var(--on-accent, #fff) !important; font: 800 .95rem Inter, system-ui, sans-serif; text-decoration: none; cursor: pointer; }
.pg-btn:hover { filter: brightness(1.08); }
.pg-form-wrap { margin-top: 1.3rem; padding-top: 1.2rem; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.pg-form { display: grid; gap: .8rem; }
.pg-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.pg-form label { display: grid; gap: .35rem; color: var(--muted); font-size: .85rem; font-weight: 600; }
.pg-form input, .pg-form select, .pg-form textarea { width: 100%; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: 10px; outline: 0; background: var(--panel2); color: var(--text); font: 400 .95rem Inter, system-ui, sans-serif; }
.pg-form textarea { resize: vertical; min-height: 130px; }
.pg-form input:focus, .pg-form select:focus, .pg-form textarea:focus { border-color: var(--accent); }
.pg-form .pg-btn { justify-self: start; }
.pg-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pg-ok, .pg-err { margin-bottom: .9rem; padding: .85rem 1rem; border-radius: 10px; font-size: .95rem; }
.pg-ok { background: rgba(46, 204, 113, .12); border: 1px solid rgba(46, 204, 113, .4); }
.pg-err { background: rgba(255, 80, 110, .12); border: 1px solid rgba(255, 80, 110, .4); }
.pg-social { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1.3rem; color: var(--muted); font-size: .9rem; }
.pg-social a { padding: .35rem .8rem; border: 1px solid var(--line); border-radius: 999px; color: var(--text); font-size: .85rem; }
.pg-social a:hover { border-color: var(--accent); }
@media (max-width: 640px) { .pg-row { grid-template-columns: 1fr; } .pg-form .pg-btn { justify-self: stretch; } }
@media (min-width: 961px) and (max-width: 1280px) { .ec-nav > ul > li > a, .ec-nav .sub-btn { padding: 0 .42rem; font-size: .86rem; } }

/* ---- reacții la film: 👍 / 👎 și emoji (inc/reactions.php) ---- */
.reacts { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.reacts button { display: inline-flex; align-items: center; gap: .35rem; margin: 0; border: 0; background: none; color: var(--muted); font: 600 .85rem Inter, system-ui, sans-serif; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.reacts b { font-weight: 700; min-width: .5em; }
.reacts b:empty { display: none; }
.rx-like { height: 34px; padding: 0 .45rem; border-radius: 999px !important; }
.rx-like:hover, .rx-more:hover { color: var(--text); background: var(--panel2) !important; }
.rx-like.on { color: var(--accent); }
.rx-like.on svg path { fill: rgba(var(--accent-rgb), .25); }
.rx-sep { width: 1px; height: 26px; margin: 0 .25rem; background: var(--line); }
.rx-list { display: contents; }
.reacts .rx { height: 32px; padding: 0 .7rem 0 .55rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--text); }
.reacts .rx:hover { border-color: rgba(var(--accent-rgb), .6); }
.reacts .rx.on { border-color: var(--accent); background: rgba(var(--accent-rgb), .16); }
.reacts .rx.on b { color: var(--accent); }
.rx-e { font-size: 1.05rem; line-height: 1; }
.reacts .pop .rx-e, .reacts .rx-like.pop svg { animation: rx-pop .35s ease; }
@keyframes rx-pop { 40% { transform: scale(1.35); } }
.reacts.is-busy { cursor: progress; }
.rx-morewrap { position: relative; display: inline-flex; }
.rx-more { width: 34px; height: 34px; justify-content: center; border-radius: 999px !important; }
.rx-pop { position: absolute; left: 0; bottom: calc(100% + 8px); z-index: 30; display: grid; grid-template-columns: repeat(6, 38px); gap: 2px; padding: .4rem; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); box-shadow: var(--shadow, 0 10px 30px rgba(0, 0, 0, .45)); }
.rx-pop[hidden] { display: none; }
.rx-pop button { justify-content: center; width: 38px; height: 38px; border-radius: 10px; font-size: 1.3rem; transition: transform .12s; }
.rx-pop button:hover { background: var(--panel2); transform: scale(1.15); }
.rx-pop button.on { background: rgba(var(--accent-rgb), .18); }
.fpro-facts-wide + .reacts { margin-top: .9rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.actbar .reacts { flex-basis: 100%; }
.actbar .action-rating-box .reacts { margin-top: .1rem; }
@media (max-width: 640px) { .rx-pop { grid-template-columns: repeat(5, 38px); } .reacts .rx { padding: 0 .6rem 0 .5rem; } }

/* ===== Titlul pe postere (Setări temă → Postere) ===== */
/* pe un singur rând */
.pt-one .ec-card .poster-info h3 { display: block; -webkit-line-clamp: unset; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.pt-one .ec-card .poster-info { padding-top: 2rem; }
/* sub poster: posterul rămâne curat, titlul (și vizualizările) dedesubt */
.pt-below .ec-card .poster-info { padding-top: 1.2rem; background: linear-gradient(0deg, rgba(8, 10, 15, .55) 0, rgba(8, 10, 15, 0)); }
.pt-below .ec-card .poster-info .b-bottom:empty { display: none; }
.pt-below .ec-card .pi-row { justify-content: flex-end; }
.pt-below .ec-card .pi-row .views { text-shadow: 0 1px 3px rgba(0, 0, 0, .7); }
.ec-card .card-below { display: flex; align-items: flex-start; gap: .45rem; padding: .5rem .15rem 0; }
.ec-card .card-below h3 { flex: 1; min-width: 0; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font: 700 .88rem/1.28 Inter, system-ui, sans-serif; color: var(--text); }
.ec-card:hover .card-below h3 { color: var(--accent); }
.ec-card .card-below .views { flex: none; padding-top: .1rem; color: var(--muted); font-size: .74rem; }
@media (max-width: 760px) {
	.ec-card .card-below { padding-top: .4rem; }
	.ec-card .card-below h3 { font-size: .78rem; }
}

/* ---- Extra pentru Nocturne: recomandare, colecții și filtre rapide ---- */
.nocturne-tonight-card { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(140px, 220px) minmax(0, 1fr); min-height: 270px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--panel2); }
.nocturne-tonight-card::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--tonight-bg, none) center 35% / cover no-repeat; opacity: .22; }
.nocturne-tonight-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--panel) 0, color-mix(in srgb, var(--panel) 84%, transparent) 45%, color-mix(in srgb, var(--panel) 46%, transparent) 100%); }
.nocturne-tonight-poster { align-self: stretch; overflow: hidden; }
.nocturne-tonight-poster img { width: 100%; height: 100%; min-height: 270px; object-fit: cover; }
.nocturne-tonight-copy { align-self: center; padding: clamp(1rem, 3vw, 2.2rem); }
.nocturne-eyebrow { color: var(--accent); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.nocturne-tonight-copy h3 { margin: .45rem 0; font-size: clamp(1.5rem, 3vw, 2.55rem); font-weight: 900; line-height: 1.08; }
.nocturne-tonight-tagline { max-width: 52ch; margin: .5rem 0; color: var(--muted); font-size: 1rem; }
.nocturne-tonight-meta { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1rem 0; color: var(--muted); font-size: .82rem; }
.nocturne-tonight-meta span { padding: .25rem .6rem; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--panel) 75%, transparent); }
.nocturne-tonight-cta { display: inline-flex; align-items: center; gap: .5rem; color: var(--accent); font-weight: 800; }
.nocturne-collection-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.nocturne-collection { display: flex; flex-direction: column; justify-content: space-between; min-height: 145px; padding: 1rem; border: 1px solid var(--line); border-radius: 13px; background: radial-gradient(ellipse at 100% 0, rgba(var(--accent-rgb), .16), transparent 58%), var(--panel2); transition: transform .18s ease, border-color .18s ease, background-color .18s ease; }
.nocturne-collection:hover { transform: translateY(-3px); border-color: rgba(var(--accent-rgb), .65); }
.nocturne-collection-mark { width: 28px; height: 3px; border-radius: 3px; background: var(--accent); }
.nocturne-collection-copy { display: grid; gap: .35rem; margin-top: 1rem; }
.nocturne-collection-copy strong { font-size: 1rem; line-height: 1.25; }
.nocturne-collection-copy > span { display: -webkit-box; overflow: hidden; color: var(--muted); font-size: .82rem; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.nocturne-collection-count { margin-top: .8rem; color: var(--accent); font-size: .76rem; font-weight: 700; }
.nocturne-filter-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto auto; align-items: end; gap: .7rem; }
.nocturne-filter-form label { display: grid; gap: .35rem; color: var(--muted); font-size: .82rem; font-weight: 700; }
.nocturne-filter-form select { width: 100%; min-height: 42px; padding: 0 .7rem; border: 1px solid var(--line); border-radius: 9px; outline: 0; background: var(--panel2); color: var(--text); font: inherit; }
.nocturne-filter-form select:focus-visible { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(var(--accent-rgb), .2); }
.nocturne-filter-submit { min-height: 42px; padding: 0 1rem; border: 0; border-radius: 9px; background: var(--accent); color: var(--on-accent, #fff); font: 800 .88rem Inter, system-ui, sans-serif; cursor: pointer; }
.nocturne-filter-reset { align-self: center; color: var(--muted); font-size: .82rem; text-align: center; }
.nocturne-filter-reset:hover { color: var(--accent); }
.nocturne-filter-results { margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.nocturne-motion-off .nocturne-motion,
.nocturne-motion-off .nocturne-motion * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
.nocturne-motion-off .nocturne-collection:hover { transform: none; }
@media (max-width: 760px) {
	.nocturne-tonight-card { grid-template-columns: 110px minmax(0, 1fr); min-height: 210px; }
	.nocturne-tonight-poster img { min-height: 210px; }
	.nocturne-tonight-copy { padding: .9rem; }
	.nocturne-tonight-copy h3 { font-size: 1.45rem; }
	.nocturne-collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nocturne-filter-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nocturne-filter-submit { grid-column: 1 / 2; }
}
@media (max-width: 420px) {
	.nocturne-tonight-card { grid-template-columns: 92px minmax(0, 1fr); }
	.nocturne-tonight-meta { gap: .3rem; font-size: .74rem; }
	.nocturne-collection-grid { grid-template-columns: 1fr; }
}

/* titlul complet pe poster / sub poster (Setări temă → Postere → „Titlul filmului pe postere”) */
.pt-full .ec-card .poster-info h3, .pt-belowfull .ec-card .card-below h3 { display: block; -webkit-line-clamp: unset; overflow: visible; white-space: normal; overflow-wrap: anywhere; }
.pt-full .ec-card .poster-info { padding-top: 2.6rem; background: linear-gradient(0deg, rgba(8, 10, 15, .92) 0, rgba(8, 10, 15, .7) 55%, rgba(8, 10, 15, 0)); }
.pt-full .ec-card .poster-info h3 { font-size: .84rem; line-height: 1.22; }
@media (max-width: 760px) { .pt-full .ec-card .poster-info h3 { font-size: .72rem; } }

/* Chatul live are stilurile lui în assets/chat.css (se încarcă doar când chatul e pornit). */
