/**
 * Sinemax bileşen stilleri (kart, ızgara, karusel, hero, filtre, arama).
 * Renkler tema CSS değişkenlerinden gelir; yoksa koyu varsayılanlara düşer.
 */

/*
 * `hidden` niteliği her zaman kazanır.
 *
 * Tarayıcının `[hidden] { display: none }` kuralı tek nitelik seçicisi
 * olduğu için `.sinemax-auth { display: grid }` gibi bir sınıf kuralı onu
 * yeniyordu: giriş penceresi `hidden` yazmasına rağmen her sayfada açık
 * geliyor, içindeki formların hepsi üst üste görünüyordu. Burada UA
 * davranışı geri veriliyor; `!important` bilinçli — kırılan şey zaten
 * özgüllük yarışıydı.
 */
[class^="sinemax-"][hidden],
[class*=" sinemax-"][hidden] {
	display: none !important;
}

:root,
.sinemax-grid,
.sinemax-section,
.sinemax-card,
.sinemax-hero,
.sinemax-filter,
.sinemax-search {
	/* Tokenlar :root üzerinde de tanımlı: bir bileşen bu köklerin dışında
	   render edildiğinde (ör. tek liste sayfasındaki sıralı liste) değişkenler
	   tanımsız kalıyor, gradyan-metin öğeleri görünmez oluyordu. */
	--sx-accent: var(--sinemax-accent, #ff3d57);
	--sx-accent-2: var(--sinemax-accent-2, #7c5cff);
	--sx-surface: var(--sinemax-surface, #0e1117);
	--sx-surface-2: var(--sinemax-surface-2, #151a23);
	--sx-surface-3: var(--sinemax-surface-3, rgba(255, 255, 255, .05));
	--sx-border: var(--sinemax-border, rgba(255, 255, 255, .09));
	--sx-text: var(--sinemax-text, #eef1f7);
	--sx-dim: var(--sinemax-text-dim, #96a0b4);
	--sx-radius: var(--sinemax-radius, 14px);
}

/* ============================================================ Bölüm başlığı */

.sinemax-section {
	margin: 0 0 clamp(2rem, 4vw, 3.25rem);
	position: relative;
}

.sinemax-section__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
	flex-wrap: wrap;
}

.sinemax-section__title {
	margin: 0;
	font-size: clamp(1.1rem, 2.2vw, 1.5rem);
	font-weight: 800;
	letter-spacing: -.02em;
	display: flex;
	align-items: center;
	gap: .6rem;
	color: var(--sx-text);
}

.sinemax-section__title::before {
	content: "";
	width: 4px;
	height: 1.15em;
	border-radius: 99px;
	background: linear-gradient(180deg, var(--sx-accent), var(--sx-accent-2));
	box-shadow: 0 0 16px -2px var(--sx-accent);
}

.sinemax-section__actions {
	display: flex;
	align-items: center;
	gap: .4rem;
}

.sinemax-section__more {
	font-size: .84rem;
	font-weight: 700;
	color: var(--sx-dim);
	text-decoration: none;
	padding: .35rem .6rem;
	border-radius: 8px;
	transition: color .18s ease, background .18s ease;
}

.sinemax-section__more:hover {
	color: var(--sx-accent);
	background: var(--sx-surface-3);
}

/* ==================================================================== Izgara */

.sinemax-grid {
	--sinemax-cols: 6;
	display: grid;
	grid-template-columns: repeat(var(--sinemax-cols), minmax(0, 1fr));
	gap: clamp(.75rem, 1.4vw, 1.15rem);
}

@media (max-width: 1400px) { .sinemax-grid { --sinemax-cols: 5; } }
@media (max-width: 1100px) { .sinemax-grid { --sinemax-cols: 4; } }
@media (max-width: 820px)  { .sinemax-grid { --sinemax-cols: 3; } }
@media (max-width: 480px)  { .sinemax-grid { --sinemax-cols: 2; gap: .6rem; } }

/* ===================================================================== Kart */

.sinemax-card {
	position: relative;
	min-width: 0;
}

.sinemax-card__link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.sinemax-card__media {
	position: relative;
	aspect-ratio: 2 / 3;
	border-radius: var(--sx-radius);
	overflow: hidden;
	background: var(--sx-surface-2);
	isolation: isolate;
	transition: transform .32s cubic-bezier(.2, .8, .2, 1), box-shadow .32s ease;
	box-shadow: 0 4px 18px -8px rgba(0, 0, 0, .7);
}

.sinemax-card--wide .sinemax-card__media {
	aspect-ratio: 16 / 9;
}

.sinemax-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .5s cubic-bezier(.2, .8, .2, 1), filter .32s ease;
}

/* Poster arkası renk parıltısı */
.sinemax-card__glow {
	position: absolute;
	inset: auto -10% -25% -10%;
	height: 60%;
	z-index: -1;
	filter: blur(28px) saturate(180%);
	opacity: 0;
	transition: opacity .35s ease;
	background: linear-gradient(120deg, var(--sx-accent), var(--sx-accent-2));
	pointer-events: none;
}

.sinemax-card:hover .sinemax-card__media,
.sinemax-card:focus-within .sinemax-card__media {
	transform: translateY(-8px) scale(1.02);
	box-shadow:
		0 24px 48px -18px rgba(0, 0, 0, .85),
		0 0 0 1px rgba(255, 255, 255, .1),
		0 12px 46px -14px color-mix(in srgb, var(--sx-accent) 55%, transparent);
}

.sinemax-card:hover .sinemax-card__img {
	transform: scale(1.07);
	filter: brightness(.72) saturate(1.1);
}

.sinemax-card:hover .sinemax-card__glow {
	opacity: .55;
}

@media (prefers-reduced-motion: reduce) {
	.sinemax-card__media,
	.sinemax-card__img { transition: none; }
	.sinemax-card:hover .sinemax-card__media { transform: none; }
	.sinemax-card:hover .sinemax-card__img { transform: none; }
}

/* Rozetler */

.sinemax-card__badges {
	position: absolute;
	top: .5rem;
	left: .5rem;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: .3rem;
	max-width: calc(100% - 4rem);
}

.sinemax-badge {
	display: inline-block;
	padding: .2rem .45rem;
	border-radius: 6px;
	font-size: .66rem;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
	line-height: 1.3;
	backdrop-filter: blur(8px);
	background: rgba(10, 12, 18, .72);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, .14);
	white-space: nowrap;
}

.sinemax-badge--quality {
	background: linear-gradient(135deg, var(--sx-accent), color-mix(in srgb, var(--sx-accent) 60%, #ff9f43));
	border-color: transparent;
	box-shadow: 0 4px 14px -4px var(--sx-accent);
}

.sinemax-badge--custom {
	background: linear-gradient(135deg, var(--sx-accent-2), #38bdf8);
	border-color: transparent;
}

.sinemax-badge--type,
.sinemax-badge--episode {
	background: rgba(10, 12, 18, .82);
}

.sinemax-badge--age {
	background: rgba(255, 255, 255, .16);
}

.sinemax-card__rating {
	position: absolute;
	top: .5rem;
	right: .5rem;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: .18rem;
	padding: .2rem .42rem;
	border-radius: 6px;
	font-size: .72rem;
	font-weight: 800;
	background: rgba(8, 10, 14, .82);
	color: #fbbf24;
	backdrop-filter: blur(8px);
	border: 1px solid rgba(251, 191, 36, .28);
}

.sinemax-card__rating svg {
	width: 11px;
	height: 11px;
	fill: currentColor;
}

/* Hover katmanı */

.sinemax-card__overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: .7rem;
	padding: 1rem .7rem;
	opacity: 0;
	background: linear-gradient(to top, rgba(4, 6, 10, .94), rgba(4, 6, 10, .3) 60%, transparent);
	transition: opacity .28s ease;
}

.sinemax-card:hover .sinemax-card__overlay,
.sinemax-card:focus-within .sinemax-card__overlay {
	opacity: 1;
}

.sinemax-card__play {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--sx-accent);
	color: #fff;
	box-shadow: 0 8px 26px -6px var(--sx-accent);
	transform: scale(.7);
	transition: transform .28s cubic-bezier(.2, .9, .2, 1);
}

.sinemax-card:hover .sinemax-card__play {
	transform: scale(1);
}

.sinemax-card__play svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
	margin-left: 2px;
}

.sinemax-card__meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .25rem .5rem;
	font-size: .72rem;
	font-weight: 600;
	color: rgba(255, 255, 255, .82);
	text-align: center;
	transform: translateY(6px);
	transition: transform .28s ease;
}

.sinemax-card:hover .sinemax-card__meta {
	transform: none;
}

.sinemax-card__meta > span:not(:last-child)::after {
	content: "•";
	margin-left: .5rem;
	opacity: .45;
}

.sinemax-card__genres {
	width: 100%;
	color: var(--sx-accent);
}

.sinemax-card__progress {
	position: absolute;
	inset: auto 0 0 0;
	height: 4px;
	z-index: 4;
	background: rgba(255, 255, 255, .18);
}

.sinemax-card__progress span {
	display: block;
	height: 100%;
	background: var(--sx-accent);
	box-shadow: 0 0 10px var(--sx-accent);
}

.sinemax-card__title {
	margin: .55rem 0 0;
	font-size: .88rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--sx-text);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color .18s ease;
}

.sinemax-card:hover .sinemax-card__title {
	color: var(--sx-accent);
}

.sinemax-card__sub {
	margin: .12rem 0 0;
	font-size: .76rem;
	color: var(--sx-dim);
}

.sinemax-card__save {
	position: absolute;
	right: .5rem;
	bottom: 2.6rem;
	z-index: 5;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .18);
	background: rgba(8, 10, 14, .78);
	color: #fff;
	cursor: pointer;
	display: grid;
	place-items: center;
	opacity: 0;
	transform: translateY(6px);
	backdrop-filter: blur(8px);
	transition: opacity .24s ease, transform .24s ease, background .2s ease, color .2s ease;
}

.sinemax-card:hover .sinemax-card__save,
.sinemax-card__save.is-active,
.sinemax-card__save:focus-visible {
	opacity: 1;
	transform: none;
}

.sinemax-card__save svg {
	width: 15px;
	height: 15px;
	fill: currentColor;
}

.sinemax-card__save:hover {
	background: var(--sx-accent);
	border-color: transparent;
}

.sinemax-card__save.is-active {
	background: var(--sx-accent);
	border-color: transparent;
	box-shadow: 0 0 14px -2px var(--sx-accent);
}

/* ================================================================== Karusel */

.sinemax-carousel {
	position: relative;
	margin-inline: calc(var(--sinemax-gutter, 0px) * -1);
}

.sinemax-carousel__track {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: clamp(.7rem, 1.2vw, 1.05rem);
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x proximity;
	/* Yapışma (snap) sol boşluğu yutmasın. */
	scroll-padding-inline: var(--sinemax-gutter, 0px);
	scrollbar-width: none;
	padding: .4rem var(--sinemax-gutter, 0px) 1.1rem;
}

.sinemax-carousel__track::-webkit-scrollbar {
	display: none;
}

.sinemax-carousel__track > .sinemax-card {
	scroll-snap-align: start;
	flex: 0 0 clamp(140px, 15vw, 196px);
	width: clamp(140px, 15vw, 196px);
	min-width: 0;
}

.sinemax-carousel__track > .sinemax-card--wide {
	flex: 0 0 clamp(230px, 26vw, 340px);
	width: clamp(230px, 26vw, 340px);
}

.sinemax-carousel__track.is-dragging {
	cursor: grabbing;
	scroll-snap-type: none;
}

.sinemax-carousel__track.is-dragging * {
	pointer-events: none;
}

.sinemax-carousel__nav {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid var(--sx-border);
	background: var(--sx-surface-2);
	color: var(--sx-text);
	font-size: 1.15rem;
	line-height: 1;
	cursor: pointer;
	display: grid;
	place-items: center;
	transition: background .18s ease, border-color .18s ease, opacity .18s ease, transform .18s ease;
}

.sinemax-carousel__nav:hover:not(:disabled) {
	background: var(--sx-accent);
	border-color: transparent;
	transform: scale(1.08);
	box-shadow: 0 6px 20px -6px var(--sx-accent);
}

.sinemax-carousel__nav:disabled {
	opacity: .3;
	cursor: default;
}

/* ===================================================================== Hero */

.sinemax-hero {
	position: relative;
	margin-bottom: clamp(2rem, 4vw, 3.5rem);
	border-radius: var(--sinemax-radius-lg, 20px);
	overflow: hidden;
	background: var(--sx-surface);
	isolation: isolate;
}

.sinemax-hero__slides {
	position: relative;
	min-height: clamp(420px, 62vh, 660px);
}

.sinemax-hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity .8s ease, visibility .8s ease;
}

.sinemax-hero__slide.is-active {
	opacity: 1;
	visibility: visible;
}

.sinemax-hero__bg {
	position: absolute;
	inset: 0;
	background: center / cover no-repeat;
	transform: scale(1.06);
	animation: sinemax-hero-drift 18s ease-in-out infinite alternate;
}

@keyframes sinemax-hero-drift {
	from { transform: scale(1.04) translate3d(0, 0, 0); }
	to { transform: scale(1.12) translate3d(-1.5%, -1.5%, 0); }
}

@media (prefers-reduced-motion: reduce) {
	.sinemax-hero__bg { animation: none; }
}

.sinemax-hero__scrim {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to right, rgba(6, 8, 12, .96) 8%, rgba(6, 8, 12, .72) 42%, rgba(6, 8, 12, .18) 78%),
		linear-gradient(to top, rgba(6, 8, 12, .98) 2%, transparent 55%);
}

/* Ekran arkası ambiyans ışığı */
.sinemax-hero__ambient {
	position: absolute;
	inset: -8%;
	z-index: -1;
	background: center / cover no-repeat;
	filter: blur(70px) saturate(200%) brightness(.8);
	opacity: .55;
	pointer-events: none;
}

.sinemax-hero__inner {
	position: relative;
	z-index: 2;
	height: 100%;
	display: flex;
	align-items: center;
	gap: clamp(1.5rem, 3vw, 3rem);
	/*
	 * Alt boşluk denetim çubuğunu hesaba katar: oklar ve noktalar hero'nun
	 * altına sabitleniyor, metin sütunu onlara değmesin.
	 */
	padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 5vw, 4.5rem) clamp(4rem, 6vw, 5rem);
	min-height: clamp(420px, 62vh, 660px);
}

.sinemax-hero__poster {
	flex: 0 0 auto;
	width: clamp(150px, 16vw, 232px);
	border-radius: 16px;
	overflow: hidden;
	box-shadow:
		0 30px 70px -24px rgba(0, 0, 0, .95),
		0 0 0 1px rgba(255, 255, 255, .1),
		0 0 60px -18px color-mix(in srgb, var(--sx-accent) 60%, transparent);
	transform: perspective(1200px) rotateY(-6deg);
	transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}

.sinemax-hero__poster:hover {
	transform: perspective(1200px) rotateY(0deg) translateY(-4px);
}

.sinemax-hero__poster img {
	display: block;
	width: 100%;
	aspect-ratio: 2 / 3;
	object-fit: cover;
}

.sinemax-hero__content {
	max-width: 640px;
	color: #fff;
}

.sinemax-hero__kicker {
	display: flex;
	align-items: center;
	gap: .45rem;
	margin-bottom: .75rem;
	flex-wrap: wrap;
}

.sinemax-hero__type {
	font-size: .7rem;
	font-weight: 800;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--sx-accent);
	padding: .22rem .5rem;
	border-radius: 6px;
	border: 1px solid color-mix(in srgb, var(--sx-accent) 45%, transparent);
	background: color-mix(in srgb, var(--sx-accent) 14%, transparent);
}

.sinemax-hero__title {
	margin: 0 0 .5rem;
	font-size: clamp(1.9rem, 5.2vw, 4rem);
	line-height: 1.03;
	font-weight: 900;
	letter-spacing: -.03em;
	text-shadow: 0 4px 40px rgba(0, 0, 0, .7);
}

.sinemax-hero__title a {
	color: inherit;
	text-decoration: none;
}

.sinemax-hero__title a:hover {
	background: linear-gradient(90deg, var(--sx-accent), var(--sx-accent-2));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.sinemax-hero__tagline {
	margin: 0 0 .8rem;
	font-size: clamp(.9rem, 1.6vw, 1.05rem);
	font-style: italic;
	color: rgba(255, 255, 255, .72);
}

.sinemax-hero__facts {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem .9rem;
	margin: 0 0 .9rem;
	padding: 0;
	font-size: .86rem;
	font-weight: 600;
	color: rgba(255, 255, 255, .8);
}

.sinemax-hero__imdb {
	display: inline-flex;
	align-items: center;
	gap: .3rem;
	padding: .2rem .5rem;
	border-radius: 6px;
	background: #f5c518;
	color: #111;
	font-weight: 800;
}

.sinemax-hero__excerpt {
	margin: 0 0 1.4rem;
	font-size: clamp(.9rem, 1.5vw, 1.02rem);
	line-height: 1.65;
	color: rgba(255, 255, 255, .78);
	max-width: 54ch;
}

.sinemax-hero__actions {
	display: flex;
	align-items: center;
	gap: .6rem;
	flex-wrap: wrap;
}

.sinemax-hero__controls {
	position: absolute;
	z-index: 3;
	right: clamp(1rem, 4vw, 3rem);
	bottom: clamp(1rem, 3vw, 2rem);
	display: flex;
	align-items: center;
	gap: .6rem;
}

.sinemax-hero__arrow {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .2);
	background: rgba(10, 12, 18, .6);
	color: #fff;
	font-size: 1.3rem;
	line-height: 1;
	cursor: pointer;
	backdrop-filter: blur(10px);
	transition: background .2s ease, transform .2s ease;
}

.sinemax-hero__arrow:hover {
	background: var(--sx-accent);
	border-color: transparent;
	transform: scale(1.08);
}

.sinemax-hero__dots {
	display: flex;
	gap: .35rem;
}

.sinemax-hero__dot {
	width: 26px;
	height: 4px;
	border: 0;
	padding: 0;
	border-radius: 99px;
	background: rgba(255, 255, 255, .28);
	cursor: pointer;
	overflow: hidden;
	transition: width .3s ease, background .3s ease;
}

.sinemax-hero__dot.is-active {
	width: 44px;
	background: var(--sx-accent);
	box-shadow: 0 0 12px -1px var(--sx-accent);
}

/*
 * Afiş şeridi sağ altta, okların üstünde durur.
 *
 * Önce sol altta duruyordu ve `position: absolute` olduğu için yer
 * ayırmıyordu: metin sütununun son öğesi olan "Hemen izle" düğmelerinin tam
 * üstüne biniyordu. Metin sütununun dolgusunu büyütmek işe yaramadı, çünkü
 * hero içeriği `align-items: center` ile ortalanıyor ve dolgu ancak yarı
 * etki ediyor. Şeridi sağa almak çakışmayı tamamen ortadan kaldırıyor.
 */
.sinemax-hero__thumbs {
	position: absolute;
	z-index: 3;
	right: clamp(1rem, 4vw, 3rem);
	bottom: calc(clamp(1rem, 3vw, 2rem) + 52px);
	display: flex;
	gap: .45rem;
}

.sinemax-hero__thumb {
	width: 44px;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 7px;
	overflow: hidden;
	padding: 0;
	background: none;
	cursor: pointer;
	opacity: .5;
	transition: opacity .25s ease, transform .25s ease, box-shadow .25s ease;
}

.sinemax-hero__thumb img {
	display: block;
	width: 100%;
	aspect-ratio: 2 / 3;
	object-fit: cover;
}

.sinemax-hero__thumb:hover,
.sinemax-hero__thumb.is-active {
	opacity: 1;
	transform: translateY(-4px);
	box-shadow: 0 8px 22px -8px var(--sx-accent);
	border-color: var(--sx-accent);
}

@media (max-width: 860px) {
	.sinemax-hero__poster { display: none; }
	.sinemax-hero__thumbs { display: none; }
	.sinemax-hero__inner { padding-bottom: 4.5rem; }
	.sinemax-hero__controls { left: clamp(1.25rem, 5vw, 3rem); right: auto; }
}

/* =================================================================== Butonlar */

.sinemax-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .45rem;
	padding: .6rem 1.05rem;
	border-radius: 10px;
	border: 1px solid var(--sx-border);
	background: var(--sx-surface-3);
	color: var(--sx-text);
	font-size: .88rem;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: transform .18s ease, background .18s ease, box-shadow .18s ease, border-color .18s ease;
	font-family: inherit;
}

.sinemax-btn svg {
	width: 17px;
	height: 17px;
	fill: currentColor;
}

.sinemax-btn:hover {
	transform: translateY(-2px);
	border-color: color-mix(in srgb, var(--sx-accent) 50%, transparent);
}

.sinemax-btn--primary {
	background: linear-gradient(135deg, var(--sx-accent), color-mix(in srgb, var(--sx-accent) 55%, var(--sx-accent-2)));
	border-color: transparent;
	color: #fff;
	box-shadow: 0 10px 30px -10px var(--sx-accent);
}

.sinemax-btn--primary:hover {
	box-shadow: 0 16px 40px -12px var(--sx-accent);
}

.sinemax-btn--ghost {
	background: rgba(255, 255, 255, .07);
	backdrop-filter: blur(8px);
}

.sinemax-btn--lg {
	padding: .8rem 1.5rem;
	font-size: .95rem;
	border-radius: 12px;
}

.sinemax-btn--icon {
	width: 44px;
	height: 44px;
	padding: 0;
	border-radius: 50%;
}

.sinemax-btn--block {
	width: 100%;
}

/* ==================================================================== Arama */

.sinemax-search {
	position: relative;
	width: 100%;
	max-width: 460px;
}

.sinemax-search form {
	display: flex;
	align-items: center;
	background: var(--sx-surface-3);
	border: 1px solid var(--sx-border);
	border-radius: 99px;
	padding: .2rem .2rem .2rem .95rem;
	transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.sinemax-search:focus-within form {
	border-color: color-mix(in srgb, var(--sx-accent) 60%, transparent);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--sx-accent) 14%, transparent);
	background: var(--sx-surface-2);
}

.sinemax-search__input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: none;
	color: var(--sx-text);
	font: inherit;
	font-size: .9rem;
	padding: .5rem 0;
	outline: none;
}

.sinemax-search__input::placeholder {
	color: var(--sx-dim);
}

.sinemax-search__submit {
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 50%;
	background: var(--sx-accent);
	color: #fff;
	display: grid;
	place-items: center;
	cursor: pointer;
	flex: 0 0 auto;
	transition: transform .18s ease;
}

.sinemax-search__submit:hover {
	transform: scale(1.08);
}

.sinemax-search__submit svg {
	width: 17px;
	height: 17px;
	fill: currentColor;
}

.sinemax-search.is-loading .sinemax-search__submit {
	animation: sinemax-spin 1s linear infinite;
}

@keyframes sinemax-spin {
	to { transform: rotate(360deg); }
}

.sinemax-search__results {
	position: absolute;
	top: calc(100% + .5rem);
	left: 0;
	right: 0;
	z-index: 60;
	background: var(--sx-surface-2);
	border: 1px solid var(--sx-border);
	border-radius: 14px;
	box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .85);
	overflow: hidden;
	max-height: 70vh;
	overflow-y: auto;
	animation: sinemax-pop .2s ease;
}

@keyframes sinemax-pop {
	from { opacity: 0; transform: translateY(-6px); }
	to { opacity: 1; transform: none; }
}

.sinemax-search__list {
	list-style: none;
	margin: 0;
	padding: .35rem;
}

.sinemax-search__list a {
	display: flex;
	gap: .7rem;
	align-items: center;
	padding: .45rem;
	border-radius: 10px;
	text-decoration: none;
	color: var(--sx-text);
	transition: background .16s ease;
}

.sinemax-search__list a:hover {
	background: var(--sx-surface-3);
}

.sinemax-search__list img {
	width: 42px;
	aspect-ratio: 2 / 3;
	object-fit: cover;
	border-radius: 6px;
	flex: 0 0 auto;
}

.sinemax-search__body {
	display: flex;
	flex-direction: column;
	gap: .12rem;
	min-width: 0;
}

.sinemax-search__body strong {
	font-size: .88rem;
	font-weight: 700;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sinemax-search__body em {
	font-size: .75rem;
	font-style: normal;
	color: var(--sx-dim);
}

.sinemax-search__all,
.sinemax-search__empty {
	display: block;
	padding: .7rem;
	text-align: center;
	font-size: .84rem;
	font-weight: 700;
	color: var(--sx-accent);
	text-decoration: none;
	border-top: 1px solid var(--sx-border);
}

.sinemax-search__empty {
	color: var(--sx-dim);
	font-weight: 500;
	border-top: 0;
}

/* =================================================================== Filtre */

.sinemax-filter {
	margin-bottom: 2rem;
}

.sinemax-filter__form {
	background: var(--sx-surface-2);
	border: 1px solid var(--sx-border);
	border-radius: var(--sinemax-radius-lg, 18px);
	padding: 1rem;
	margin-bottom: 1.25rem;
}

.sinemax-filter__row--top {
	display: flex;
	gap: .6rem;
	align-items: center;
	flex-wrap: wrap;
}

.sinemax-filter__search {
	flex: 1 1 220px;
}

.sinemax-filter__search input,
.sinemax-filter__sort select,
.sinemax-filter__range input {
	width: 100%;
	padding: .58rem .8rem;
	border-radius: 10px;
	border: 1px solid var(--sx-border);
	background: var(--sx-surface-3);
	color: var(--sx-text);
	font: inherit;
	font-size: .88rem;
}

.sinemax-filter__toggle {
	position: relative;
}

.sinemax-filter__count {
	display: inline-grid;
	place-items: center;
	min-width: 18px;
	height: 18px;
	padding: 0 .25rem;
	border-radius: 99px;
	background: var(--sx-accent);
	color: #fff;
	font-size: .68rem;
	font-weight: 800;
}

.sinemax-filter__panels {
	display: none;
	gap: 1rem;
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid var(--sx-border);
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.sinemax-filter__panels.is-open {
	display: grid;
	animation: sinemax-pop .2s ease;
}

.sinemax-filter__group {
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.sinemax-filter__group legend {
	font-size: .72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--sx-dim);
	margin-bottom: .5rem;
	padding: 0;
}

.sinemax-filter__chips {
	display: flex;
	flex-wrap: wrap;
	gap: .35rem;
	max-height: 168px;
	overflow-y: auto;
	padding-right: .25rem;
}

.sinemax-chip {
	position: relative;
	cursor: pointer;
}

.sinemax-chip input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.sinemax-chip span {
	display: inline-block;
	padding: .3rem .62rem;
	border-radius: 99px;
	border: 1px solid var(--sx-border);
	background: var(--sx-surface-3);
	font-size: .8rem;
	font-weight: 600;
	color: var(--sx-dim);
	transition: all .16s ease;
}

.sinemax-chip:hover span {
	color: var(--sx-text);
	border-color: color-mix(in srgb, var(--sx-accent) 45%, transparent);
}

.sinemax-chip input:checked + span {
	background: var(--sx-accent);
	border-color: transparent;
	color: #fff;
	box-shadow: 0 4px 14px -4px var(--sx-accent);
}

.sinemax-chip input:focus-visible + span {
	outline: 2px solid var(--sx-accent);
	outline-offset: 2px;
}

.sinemax-filter__range {
	display: flex;
	gap: .5rem;
}

.sinemax-filter__range label {
	flex: 1;
	font-size: .76rem;
	color: var(--sx-dim);
	display: grid;
	gap: .25rem;
}

.sinemax-switch {
	display: flex;
	align-items: center;
	gap: .45rem;
	margin-top: .7rem;
	font-size: .82rem;
	color: var(--sx-dim);
	cursor: pointer;
}

.sinemax-filter__actions {
	display: flex;
	gap: .5rem;
	align-items: end;
}

.sinemax-filter__summary {
	margin: 0 0 .9rem;
	font-size: .84rem;
	color: var(--sx-dim);
}

.sinemax-filter.is-loading .sinemax-grid {
	opacity: .45;
	pointer-events: none;
	transition: opacity .2s ease;
}

.sinemax-filter__footer {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: .75rem;
	margin-top: 1.5rem;
}

.sinemax-spinner {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 2px solid var(--sx-border);
	border-top-color: var(--sx-accent);
	animation: sinemax-spin .8s linear infinite;
}

/* ============================================================== Tür bulutu */

.sinemax-genre-cloud {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: .65rem;
}

.sinemax-genre-chip {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .5rem;
	padding: .9rem 1rem;
	border-radius: 12px;
	text-decoration: none;
	color: #fff;
	font-weight: 700;
	overflow: hidden;
	background:
		linear-gradient(135deg,
			hsl(var(--sinemax-chip-hue, 340) 72% 42%),
			hsl(calc(var(--sinemax-chip-hue, 340) + 40) 68% 28%));
	transition: transform .22s ease, box-shadow .22s ease;
}

.sinemax-genre-chip::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, .28), transparent 60%);
	opacity: .6;
}

.sinemax-genre-chip:hover {
	transform: translateY(-4px) scale(1.02);
	box-shadow: 0 14px 34px -14px hsl(var(--sinemax-chip-hue, 340) 72% 42%);
}

.sinemax-genre-chip__name {
	position: relative;
	font-size: .92rem;
}

.sinemax-genre-chip__count {
	position: relative;
	font-size: .72rem;
	padding: .12rem .4rem;
	border-radius: 6px;
	background: rgba(0, 0, 0, .3);
}

/* ============================================================== Bileşenler */

/* ------------------------------------------------------------------ *
 * Kenar çubuğu widget'ları
 *
 * Temanın kendi widget'ları (Top 10, tür listesi) zaten biçimliydi ama
 * WordPress'in standart widget'ları (arama formu, kategori listesi, son
 * yazılar, etiket bulutu, takvim, blok widget'ları) hiç kapsanmıyordu:
 * film sayfasının kenar çubuğunda beyaz zeminli, İngilizce "Search"
 * yazan biçimlendirilmemiş bir form duruyordu. Site sahibi kenar
 * çubuğuna ne koyarsa koysun temaya ait görünmeli.
 * ------------------------------------------------------------------ */

.sinemax-widget {
	background: var(--sx-surface-2);
	border: 1px solid var(--sx-border);
	border-radius: var(--sx-radius);
	padding: 1rem 1.05rem 1.1rem;
	color: var(--sx-text);
}

.sinemax-widget + .sinemax-widget { margin-top: 1rem; }

.sinemax-widget__title {
	margin: 0 0 .8rem;
	font-size: .95rem;
	font-weight: 800;
	letter-spacing: .01em;
	display: flex;
	align-items: center;
	gap: .5rem;
}

/* Başlığın önündeki vurgu çizgisi: bölüm başlıklarıyla aynı dil. */
.sinemax-widget__title::before {
	content: "";
	width: 3px;
	height: 1.05em;
	border-radius: 2px;
	background: var(--sx-accent);
	flex: none;
}

/* Liste tipi widget'lar: kategoriler, arşivler, son yazılar, sayfalar. */
.sinemax-widget ul:not([class*="sinemax-"]) {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: .1rem;
}

.sinemax-widget ul:not([class*="sinemax-"]) li {
	font-size: .875rem;
	line-height: 1.5;
	border-bottom: 1px solid var(--sx-border);
}

.sinemax-widget ul:not([class*="sinemax-"]) li:last-child { border-bottom: 0; }

.sinemax-widget ul:not([class*="sinemax-"]) li a {
	display: block;
	padding: .5rem .1rem;
	color: var(--sx-dim);
	text-decoration: none;
	transition: color .15s ease;
}

.sinemax-widget ul:not([class*="sinemax-"]) li a:hover,
.sinemax-widget ul:not([class*="sinemax-"]) li a:focus-visible { color: var(--sx-text); }

/* İç içe listeler (alt kategoriler) girintili ama çizgisiz. */
.sinemax-widget li > ul { padding-left: .8rem !important; }
.sinemax-widget li > ul li { border-bottom: 0; }

/* Arama formu: hem klasik widget hem blok sürümü. */
.sinemax-widget form,
.sinemax-widget .wp-block-search__inside-wrapper {
	display: flex;
	gap: .4rem;
	align-items: stretch;
}

.sinemax-widget label { display: block; }

/* Blok arama widget'ı görünür bir etiket basıyor; başlık zaten var. */
.sinemax-widget .wp-block-search__label { display: none; }

.sinemax-widget input[type="search"],
.sinemax-widget input[type="text"],
.sinemax-widget input[type="email"],
.sinemax-widget select {
	flex: 1;
	min-width: 0;
	background: var(--sx-surface-3);
	border: 1px solid var(--sx-border);
	border-radius: 9px;
	padding: .55rem .7rem;
	color: var(--sx-text);
	font: inherit;
	font-size: .875rem;
}

.sinemax-widget input::placeholder { color: var(--sx-dim); }

.sinemax-widget input[type="search"]:focus-visible,
.sinemax-widget select:focus-visible {
	outline: 2px solid var(--sx-accent);
	outline-offset: 1px;
}

.sinemax-widget button,
.sinemax-widget input[type="submit"],
.sinemax-widget .wp-block-search__button {
	background: var(--sx-accent);
	border: 0;
	border-radius: 9px;
	padding: .55rem .9rem;
	color: #fff;
	font: inherit;
	font-size: .85rem;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
}

.sinemax-widget button:hover,
.sinemax-widget input[type="submit"]:hover,
.sinemax-widget .wp-block-search__button:hover { filter: brightness(1.08); }

/* Etiket bulutu. */
.sinemax-widget .tagcloud,
.sinemax-widget .wp-block-tag-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: .35rem;
}

.sinemax-widget .tagcloud a,
.sinemax-widget .wp-block-tag-cloud a {
	font-size: .8rem !important;
	padding: .3rem .6rem;
	border-radius: 999px;
	background: var(--sx-surface-3);
	border: 1px solid var(--sx-border);
	color: var(--sx-dim);
	text-decoration: none;
}

.sinemax-widget .tagcloud a:hover,
.sinemax-widget .wp-block-tag-cloud a:hover {
	color: var(--sx-text);
	border-color: var(--sx-accent);
}

/* Takvim. */
.sinemax-widget table {
	width: 100%;
	border-collapse: collapse;
	font-size: .8rem;
	color: var(--sx-dim);
}

.sinemax-widget table caption { padding-bottom: .5rem; font-weight: 700; color: var(--sx-text); }
.sinemax-widget table th { padding: .3rem; font-weight: 700; color: var(--sx-text); }
.sinemax-widget table td { padding: .3rem; text-align: center; }
.sinemax-widget table td a { color: var(--sx-accent); font-weight: 700; text-decoration: none; }

/* Blok widget'larının kendi başlıkları. */
.sinemax-widget h2:not(.sinemax-widget__title),
.sinemax-widget h3,
.sinemax-widget h4 {
	margin: 0 0 .6rem;
	font-size: .95rem;
	font-weight: 800;
}

.sinemax-widget p { margin: 0 0 .6rem; font-size: .875rem; color: var(--sx-dim); }
.sinemax-widget p:last-child { margin-bottom: 0; }
.sinemax-widget img { max-width: 100%; height: auto; border-radius: 10px; }

.sinemax-widget-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: .7rem;
}

.sinemax-widget-list__item {
	display: flex;
	align-items: center;
	gap: .6rem;
}

.sinemax-widget-list__rank {
	font-size: 1.15rem;
	font-weight: 900;
	color: var(--sx-border);
	min-width: 1.2em;
	text-align: center;
	background: linear-gradient(180deg, var(--sx-accent), var(--sx-accent-2));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	opacity: .85;
}

.sinemax-widget-list__thumb {
	flex: 0 0 auto;
	width: 44px;
	border-radius: 7px;
	overflow: hidden;
}

.sinemax-widget-list__thumb img {
	display: block;
	width: 100%;
	aspect-ratio: 2 / 3;
	object-fit: cover;
}

.sinemax-widget-list__body {
	display: grid;
	gap: .1rem;
	min-width: 0;
}

.sinemax-widget-list__title {
	font-size: .86rem;
	font-weight: 700;
	color: var(--sx-text);
	text-decoration: none;
}

.sinemax-widget-list__title:hover {
	color: var(--sx-accent);
}

.sinemax-widget-list__meta {
	font-size: .74rem;
	color: var(--sx-dim);
}

.sinemax-widget-genres {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: .1rem;
}

.sinemax-widget-genres li {
	display: flex;
	justify-content: space-between;
	padding: .42rem .1rem;
	border-bottom: 1px solid var(--sx-border);
	font-size: .86rem;
}

.sinemax-widget-genres a {
	color: var(--sx-text);
	text-decoration: none;
}

.sinemax-widget-genres a:hover {
	color: var(--sx-accent);
}

.sinemax-widget-genres span {
	color: var(--sx-dim);
	font-size: .78rem;
}

/* ================================================================== Bildirim */

.sinemax-toasts {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 9998;
	display: grid;
	gap: .5rem;
	max-width: min(340px, calc(100vw - 2rem));
}

.sinemax-toast {
	padding: .7rem .95rem;
	border-radius: 12px;
	background: var(--sx-surface-2);
	border: 1px solid var(--sx-border);
	color: var(--sx-text);
	font-size: .86rem;
	font-weight: 600;
	box-shadow: 0 18px 44px -18px rgba(0, 0, 0, .9);
	animation: sinemax-toast-in .28s cubic-bezier(.2, .9, .2, 1);
}

.sinemax-toast--success {
	border-color: color-mix(in srgb, #22c55e 45%, transparent);
	box-shadow: 0 18px 44px -18px rgba(34, 197, 94, .5);
}

.sinemax-toast--error {
	border-color: color-mix(in srgb, #ef4444 45%, transparent);
}

.sinemax-toast.is-out {
	animation: sinemax-toast-out .3s ease forwards;
}

@keyframes sinemax-toast-in {
	from { opacity: 0; transform: translateX(20px); }
	to { opacity: 1; transform: none; }
}

@keyframes sinemax-toast-out {
	to { opacity: 0; transform: translateX(20px); }
}

/* ==================================================================== Diğer */

.sinemax-empty {
	grid-column: 1 / -1;
	text-align: center;
	padding: 3rem 1rem;
	color: var(--sx-dim);
	font-size: .95rem;
	border: 1px dashed var(--sx-border);
	border-radius: var(--sx-radius);
}

/* Açıklamalı boş durum: başlık + tek satır neden. */
.sinemax-empty--rich {
	padding: 2.25rem 1.25rem;
	margin-bottom: 1.25rem;
}

.sinemax-empty--rich strong {
	display: block;
	font-size: 1.05rem;
	color: var(--sx-text);
	margin-bottom: .35rem;
}

.sinemax-empty--rich p {
	margin: 0 auto;
	max-width: 46ch;
}

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

/* ============================================================ Duyuru çubuğu */

.sinemax-announce {
	position: relative;
	z-index: 60;
	font-size: .87rem;
	font-weight: 600;
	background: linear-gradient(90deg, var(--sx-accent), var(--sx-accent-2));
	color: #fff;
}

.sinemax-announce--warning { background: linear-gradient(90deg, #f59e0b, #ef4444); }
.sinemax-announce--success { background: linear-gradient(90deg, #10b981, #0ea5e9); }
.sinemax-announce--neutral { background: var(--sx-surface-2); color: var(--sx-text); border-bottom: 1px solid var(--sx-border); }

.sinemax-announce__inner {
	display: flex;
	align-items: center;
	gap: .75rem;
	padding-block: .6rem;
}

.sinemax-announce__text { flex: 1; }
.sinemax-announce__text a { color: inherit; text-decoration: underline; }

.sinemax-announce__link {
	color: inherit;
	font-weight: 800;
	white-space: nowrap;
	text-decoration: none;
	padding: .2rem .55rem;
	border-radius: 7px;
	background: rgba(255, 255, 255, .18);
}

.sinemax-announce__close {
	border: 0;
	background: none;
	color: inherit;
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
	opacity: .8;
	padding: 0 .2rem;
}

.sinemax-announce__close:hover { opacity: 1; }

/* ================================================================ Reklam */

.sinemax-ad {
	margin: 0 0 1.25rem;
	display: flex;
	justify-content: center;
}

.sinemax-ad__inner {
	max-width: 100%;
	overflow: hidden;
}

.sinemax-ad--sidebar { margin-bottom: 1rem; }

.sinemax-ad--popup {
	position: fixed;
	inset: auto 0 0 0;
	z-index: 95;
	margin: 0;
	padding: .5rem;
	background: color-mix(in srgb, var(--sx-surface) 92%, transparent);
	border-top: 1px solid var(--sx-border);
	backdrop-filter: blur(12px);
	animation: sinemax-slide-up .35s cubic-bezier(.2, .9, .2, 1);
}

@keyframes sinemax-slide-up {
	from { transform: translateY(100%); }
	to { transform: none; }
}

.sinemax-ad__close {
	position: absolute;
	top: -13px;
	right: 10px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	border: 1px solid var(--sx-border);
	background: var(--sx-surface-2);
	color: var(--sx-text);
	cursor: pointer;
	font-size: 1rem;
	line-height: 1;
}

.sinemax-ad__close:hover { background: var(--sx-accent); border-color: transparent; color: #fff; }

/* ============================================================== Yaş kapısı */

.sinemax-agegate {
	position: fixed;
	inset: 0;
	z-index: 9997;
	display: grid;
	place-items: center;
	padding: 1rem;
	background: rgba(4, 6, 10, .94);
	backdrop-filter: blur(10px);
}

.sinemax-agegate__box {
	max-width: 460px;
	text-align: center;
	background: var(--sx-surface-2);
	border: 1px solid var(--sx-border);
	border-radius: var(--sinemax-radius-lg, 20px);
	padding: 2rem 1.75rem;
	box-shadow: 0 30px 80px -24px rgba(0, 0, 0, .9);
	animation: sinemax-zoom-in .3s cubic-bezier(.2, .9, .2, 1);
}

@keyframes sinemax-zoom-in {
	from { opacity: 0; transform: scale(.94); }
	to { opacity: 1; transform: none; }
}

.sinemax-agegate__badge {
	display: inline-grid;
	place-items: center;
	width: 62px;
	height: 62px;
	border-radius: 50%;
	margin-bottom: 1rem;
	background: linear-gradient(135deg, var(--sx-accent), var(--sx-accent-2));
	color: #fff;
	font-size: 1.15rem;
	font-weight: 900;
	box-shadow: 0 12px 34px -10px var(--sx-accent);
}

.sinemax-agegate__box h2 { margin: 0 0 .5rem; font-size: 1.3rem; }
.sinemax-agegate__box p { color: var(--sx-dim); font-size: .92rem; margin-bottom: 1.35rem; }

.sinemax-agegate__actions {
	display: flex;
	gap: .5rem;
	justify-content: center;
	flex-wrap: wrap;
}

/* ============================================================ Üyelik modalı */

.sinemax-auth {
	position: fixed;
	inset: 0;
	z-index: 9996;
	display: grid;
	place-items: center;
	padding: 1rem;
}

.sinemax-auth__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(4, 6, 10, .9);
	backdrop-filter: blur(8px);
}

.sinemax-auth__box {
	position: relative;
	width: min(420px, 100%);
	background: var(--sx-surface-2);
	border: 1px solid var(--sx-border);
	border-radius: var(--sinemax-radius-lg, 20px);
	padding: 1.5rem;
	box-shadow: 0 30px 80px -24px rgba(0, 0, 0, .9);
	animation: sinemax-zoom-in .28s cubic-bezier(.2, .9, .2, 1);
}

.sinemax-auth__close {
	position: absolute;
	top: .7rem;
	right: .8rem;
	width: 30px;
	height: 30px;
	border: 0;
	border-radius: 50%;
	background: var(--sx-surface-3);
	color: var(--sx-text);
	font-size: 1.15rem;
	line-height: 1;
	cursor: pointer;
}

.sinemax-auth__close:hover { background: var(--sx-accent); color: #fff; }

.sinemax-auth__tabs {
	display: flex;
	gap: .3rem;
	margin-bottom: 1.25rem;
	padding: .25rem;
	border-radius: 99px;
	background: var(--sx-surface-3);
}

.sinemax-auth__tab {
	flex: 1;
	padding: .55rem;
	border: 0;
	border-radius: 99px;
	background: none;
	color: var(--sx-dim);
	font: inherit;
	font-weight: 700;
	font-size: .88rem;
	cursor: pointer;
}

.sinemax-auth__tab.is-active {
	background: var(--sx-accent);
	color: #fff;
	box-shadow: 0 6px 18px -8px var(--sx-accent);
}

.sinemax-auth__form { display: grid; gap: .8rem; }

.sinemax-auth__form label { display: grid; gap: .3rem; font-size: .84rem; }
.sinemax-auth__form label > span { color: var(--sx-dim); font-weight: 600; }

.sinemax-auth__form input[type="text"],
.sinemax-auth__form input[type="email"],
.sinemax-auth__form input[type="password"] {
	padding: .68rem .85rem;
	border-radius: 10px;
	border: 1px solid var(--sx-border);
	background: var(--sx-surface-3);
	color: var(--sx-text);
	font: inherit;
}

.sinemax-auth__form input:focus {
	outline: none;
	border-color: color-mix(in srgb, var(--sx-accent) 60%, transparent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--sx-accent) 15%, transparent);
}

.sinemax-auth__check {
	display: flex !important;
	align-items: center;
	gap: .45rem;
	color: var(--sx-dim);
}

.sinemax-auth__link {
	border: 0;
	background: none;
	color: var(--sx-accent);
	font: inherit;
	font-size: .82rem;
	font-weight: 600;
	cursor: pointer;
	padding: 0;
	text-align: center;
}

.sinemax-auth__msg,
.sinemax-request-form__msg {
	margin: 0;
	font-size: .82rem;
	font-weight: 600;
	min-height: 1.2em;
	color: var(--sx-dim);
}

.sinemax-auth__msg.is-ok,
.sinemax-request-form__msg.is-ok { color: #22c55e; }

.sinemax-auth__msg.is-error,
.sinemax-request-form__msg.is-error { color: #f87171; }

/* ================================================================ Talepler */

.sinemax-request-form {
	background: var(--sx-surface-2);
	border: 1px solid var(--sx-border);
	border-radius: var(--sinemax-radius-lg, 20px);
	padding: clamp(1.1rem, 2.4vw, 1.75rem);
	margin-bottom: 1.5rem;
	display: grid;
	gap: 1rem;
}

.sinemax-request-form__row {
	display: grid;
	gap: .8rem;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.sinemax-request-form__row .sinemax-field-lg { grid-column: span 2; }

@media (max-width: 620px) {
	.sinemax-request-form__row .sinemax-field-lg { grid-column: auto; }
}

.sinemax-request-form label { display: grid; gap: .3rem; font-size: .84rem; }
.sinemax-request-form label > span { color: var(--sx-dim); font-weight: 600; }
.sinemax-request-form label em { color: var(--sx-accent); font-style: normal; }

.sinemax-request-form input,
.sinemax-request-form select,
.sinemax-request-form textarea {
	padding: .65rem .8rem;
	border-radius: 10px;
	border: 1px solid var(--sx-border);
	background: var(--sx-surface-3);
	color: var(--sx-text);
	font: inherit;
	font-size: .9rem;
	width: 100%;
}

.sinemax-request-form__actions {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.sinemax-request-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: .45rem;
}

.sinemax-request-item {
	display: flex;
	align-items: center;
	gap: .8rem;
	padding: .55rem .7rem;
	border-radius: 12px;
	background: var(--sx-surface-3);
	border: 1px solid transparent;
	transition: border-color .18s ease;
}

.sinemax-request-item:hover { border-color: color-mix(in srgb, var(--sx-accent) 40%, transparent); }

.sinemax-request-vote {
	display: grid;
	place-items: center;
	min-width: 46px;
	padding: .3rem .4rem;
	border-radius: 10px;
	border: 1px solid var(--sx-border);
	background: var(--sx-surface-2);
	color: var(--sx-dim);
	font: inherit;
	font-size: .7rem;
	line-height: 1.2;
	cursor: pointer;
	transition: all .18s ease;
}

.sinemax-request-vote strong { font-size: .92rem; color: var(--sx-text); }

.sinemax-request-vote:hover {
	border-color: var(--sx-accent);
	color: var(--sx-accent);
	transform: translateY(-2px);
}

.sinemax-request-vote.is-voted {
	background: var(--sx-accent);
	border-color: transparent;
	color: #fff;
}

.sinemax-request-vote.is-voted strong { color: #fff; }

.sinemax-request-item__body { display: grid; gap: .1rem; min-width: 0; }
.sinemax-request-item__body strong { font-size: .92rem; }
.sinemax-request-item__body span { font-size: .78rem; color: var(--sx-dim); }

.sinemax-request-chips { display: flex; flex-wrap: wrap; gap: .4rem; }

.sinemax-request-chip {
	display: inline-flex;
	align-items: center;
	gap: .3rem;
	padding: .32rem .7rem;
	border-radius: 99px;
	background: color-mix(in srgb, #10b981 14%, transparent);
	border: 1px solid color-mix(in srgb, #10b981 40%, transparent);
	font-size: .82rem;
	font-weight: 600;
}

.sinemax-request-chip em { font-style: normal; opacity: .6; font-size: .74rem; }

/* ================================================================= Takvim */

.sinemax-calendar {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: .7rem;
}

.sinemax-calendar__day {
	background: var(--sx-surface-2);
	border: 1px solid var(--sx-border);
	border-radius: var(--sx-radius);
	padding: .8rem;
	min-width: 0;
}

.sinemax-calendar__day.is-today {
	border-color: color-mix(in srgb, var(--sx-accent) 55%, transparent);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--sx-accent) 25%, transparent),
		0 14px 34px -18px var(--sx-accent);
}

.sinemax-calendar__head {
	display: flex;
	align-items: baseline;
	gap: .4rem;
	flex-wrap: wrap;
	padding-bottom: .55rem;
	margin-bottom: .55rem;
	border-bottom: 1px solid var(--sx-border);
}

.sinemax-calendar__head strong { font-size: .88rem; }
.sinemax-calendar__head span { font-size: .76rem; color: var(--sx-dim); }

.sinemax-calendar__head em {
	font-style: normal;
	font-size: .66rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .08em;
	padding: .1rem .35rem;
	border-radius: 5px;
	background: var(--sx-accent);
	color: #fff;
}

.sinemax-calendar__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }

.sinemax-calendar__list a {
	display: flex;
	gap: .5rem;
	align-items: center;
	text-decoration: none;
	color: var(--sx-text);
	padding: .25rem;
	border-radius: 8px;
	transition: background .16s ease;
}

.sinemax-calendar__list a:hover { background: var(--sx-surface-3); }

.sinemax-calendar__list img {
	width: 34px;
	aspect-ratio: 2 / 3;
	object-fit: cover;
	border-radius: 5px;
	flex: 0 0 auto;
}

.sinemax-calendar__list span { display: grid; gap: .05rem; min-width: 0; }
.sinemax-calendar__list strong { font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sinemax-calendar__list em { font-style: normal; font-size: .72rem; color: var(--sx-accent); font-weight: 700; }

.sinemax-calendar__empty { margin: 0; color: var(--sx-dim); text-align: center; opacity: .5; }

/* ================================================================ Yakında */

/*
 * Tek kolonda satırlar içerik genişliğine yayılıyor ve 1500 pikselde her
 * satırın sağında yarım ekran boşluk kalıyordu. `auto-fill` (auto-fit
 * değil) seçildi: tek kayıt kaldığında kart bütün genişliğe yayılmasın.
 * Kenar çubuğunda alan 380 pikselin altına düştüğü için tek kolona iner.
 */
.sinemax-upcoming {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
	gap: .55rem;
}

.sinemax-upcoming__item {
	display: grid;
	grid-template-columns: 58px 54px minmax(0, 1fr);
	gap: .85rem;
	align-items: center;
	padding: .55rem;
	border-radius: var(--sx-radius);
	background: var(--sx-surface-3);
	border: 1px solid transparent;
	text-decoration: none;
	color: var(--sx-text);
	transition: border-color .18s ease, transform .18s ease;
}

.sinemax-upcoming__item:hover {
	border-color: color-mix(in srgb, var(--sx-accent) 45%, transparent);
	transform: translateX(3px);
	color: var(--sx-text);
}

.sinemax-upcoming__date {
	display: grid;
	place-items: center;
	padding: .35rem;
	border-radius: 10px;
	background: linear-gradient(160deg, var(--sx-accent), var(--sx-accent-2));
	color: #fff;
	line-height: 1.1;
}

.sinemax-upcoming__date strong { font-size: 1.25rem; font-weight: 900; }
.sinemax-upcoming__date span { font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; }

.sinemax-upcoming__item img {
	width: 100%;
	aspect-ratio: 2 / 3;
	object-fit: cover;
	border-radius: 7px;
}

.sinemax-upcoming__body { display: grid; gap: .12rem; min-width: 0; }
.sinemax-upcoming__body strong { font-size: .95rem; }
.sinemax-upcoming__body span { font-size: .78rem; color: var(--sx-dim); }

.sinemax-upcoming__countdown {
	font-style: normal;
	font-size: .74rem;
	font-weight: 700;
	color: var(--sx-accent);
}

/* ================================================================= Top 10 */

/* İlk sıradaki büyük numaranın kırpılmaması için sol boşluk bırakılır. */
.sinemax-carousel__track.sinemax-top10 {
	padding-left: clamp(52px, 5.5vw, 84px);
	scroll-padding-left: clamp(52px, 5.5vw, 84px);
}

.sinemax-carousel__track.sinemax-top10 > .sinemax-card--top10 {
	flex: 0 0 clamp(190px, 21vw, 268px);
	width: clamp(190px, 21vw, 268px);
	padding-left: clamp(40px, 4.5vw, 66px);
	position: relative;
}

.sinemax-top10__rank {
	position: absolute;
	left: 0;
	bottom: 1.6rem;
	z-index: 2;
	font-size: clamp(4rem, 8vw, 7.2rem);
	font-weight: 900;
	line-height: .7;
	letter-spacing: -.08em;
	color: transparent;
	-webkit-text-stroke: 3px color-mix(in srgb, var(--sx-accent) 75%, transparent);
	text-shadow: 0 0 40px color-mix(in srgb, var(--sx-accent) 35%, transparent);
	pointer-events: none;
	transition: -webkit-text-stroke-color .25s ease;
}

.sinemax-card--top10:hover .sinemax-top10__rank {
	-webkit-text-stroke-color: var(--sx-accent);
}

/* ================================================================== A-Z */

.sinemax-az__nav {
	display: flex;
	flex-wrap: wrap;
	gap: .3rem;
	margin-bottom: 1.5rem;
	padding: .7rem;
	border-radius: var(--sx-radius);
	background: var(--sx-surface-2);
	border: 1px solid var(--sx-border);
}

.sinemax-az__letter {
	display: grid;
	place-items: center;
	min-width: 36px;
	height: 36px;
	padding: 0 .5rem;
	border-radius: 9px;
	background: var(--sx-surface-3);
	color: var(--sx-dim);
	font-size: .86rem;
	font-weight: 800;
	text-decoration: none;
	transition: all .16s ease;
}

.sinemax-az__letter:hover {
	color: var(--sx-text);
	transform: translateY(-2px);
}

.sinemax-az__letter.is-active {
	background: var(--sx-accent);
	color: #fff;
	box-shadow: 0 6px 18px -8px var(--sx-accent);
}

/* ============================================================ Spoiler/yorum */

.sinemax-spoiler { position: relative; }

.sinemax-spoiler__body {
	filter: blur(6px);
	opacity: .45;
	pointer-events: none;
	user-select: none;
	transition: filter .3s ease, opacity .3s ease;
}

.sinemax-spoiler.is-open .sinemax-spoiler__body {
	filter: none;
	opacity: 1;
	pointer-events: auto;
	user-select: auto;
}

.sinemax-spoiler__reveal {
	display: block;
	width: 100%;
	margin-bottom: .5rem;
	padding: .5rem;
	border-radius: 8px;
	border: 1px dashed color-mix(in srgb, #f59e0b 55%, transparent);
	background: color-mix(in srgb, #f59e0b 12%, transparent);
	color: #f59e0b;
	font: inherit;
	font-size: .82rem;
	font-weight: 700;
	cursor: pointer;
}

.sinemax-spoiler.is-open .sinemax-spoiler__reveal { display: none; }

.sinemax-comment-rating {
	display: inline-block;
	margin-bottom: .4rem;
	padding: .12rem .45rem;
	border-radius: 6px;
	background: #fbbf24;
	color: #1a1a1a;
	font-size: .74rem;
	font-weight: 800;
}

.sinemax-comment-actions {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
	align-items: center;
	margin-top: .5rem;
}

.sinemax-comment-like {
	display: inline-flex;
	align-items: center;
	gap: .3rem;
	padding: .25rem .6rem;
	border-radius: 99px;
	border: 1px solid var(--sx-border);
	background: transparent;
	color: var(--sx-dim);
	font: inherit;
	font-size: .78rem;
	cursor: pointer;
	transition: all .16s ease;
}

.sinemax-comment-like:hover { color: #f43f5e; border-color: color-mix(in srgb, #f43f5e 50%, transparent); }

.sinemax-comment-like.is-liked {
	background: color-mix(in srgb, #f43f5e 16%, transparent);
	border-color: color-mix(in srgb, #f43f5e 45%, transparent);
	color: #f43f5e;
}

.sinemax-comment-extra {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	align-items: center;
	margin-bottom: .8rem;
	padding: .7rem .85rem;
	border-radius: 10px;
	background: var(--sx-surface-3);
	font-size: .84rem;
}

.sinemax-comment-extra label { display: flex; align-items: center; gap: .45rem; margin: 0; }
.sinemax-comment-extra select { padding: .3rem .5rem; border-radius: 7px; }

/* ================================================================= Profil */

.sinemax-profile__head {
	display: flex;
	gap: 1.25rem;
	align-items: center;
	flex-wrap: wrap;
	padding: clamp(1rem, 2.4vw, 1.6rem);
	border-radius: var(--sinemax-radius-lg, 20px);
	background: var(--sx-surface-2);
	border: 1px solid var(--sx-border);
	margin-bottom: 1rem;
}

.sinemax-profile__avatar {
	border-radius: 50%;
	border: 3px solid var(--sx-accent);
	box-shadow: 0 0 30px -8px var(--sx-accent);
}

.sinemax-profile__name { margin: 0 0 .2rem; font-size: 1.4rem; }
.sinemax-profile__meta { margin: 0 0 .7rem; color: var(--sx-dim); font-size: .85rem; }

.sinemax-profile__stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: .7rem;
	margin-bottom: 2rem;
}

.sinemax-profile__stats > div {
	display: grid;
	gap: .1rem;
	padding: 1rem;
	border-radius: var(--sx-radius);
	background: var(--sx-surface-3);
	border: 1px solid var(--sx-border);
	text-align: center;
}

.sinemax-profile__stats strong {
	font-size: 1.7rem;
	font-weight: 900;
	background: linear-gradient(135deg, var(--sx-accent), var(--sx-accent-2));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.sinemax-profile__stats span { font-size: .78rem; color: var(--sx-dim); }

/* ======================================================== Son aramalar */

.sinemax-search__recent { padding: .6rem .7rem; }

.sinemax-search__recent > span {
	display: block;
	font-size: .7rem;
	text-transform: uppercase;
	letter-spacing: .09em;
	color: var(--sx-dim);
	font-weight: 800;
	margin-bottom: .45rem;
}

.sinemax-search__recent > div { display: flex; flex-wrap: wrap; gap: .3rem; }

.sinemax-search__recent-item {
	padding: .28rem .6rem;
	border-radius: 99px;
	border: 1px solid var(--sx-border);
	background: var(--sx-surface-3);
	color: var(--sx-dim);
	font: inherit;
	font-size: .8rem;
	cursor: pointer;
}

.sinemax-search__recent-item:hover { color: var(--sx-text); border-color: var(--sx-accent); }

/* ========================================================= Gruplu arama */

.sinemax-search__group + .sinemax-search__group {
	border-top: 1px solid var(--sx-border);
}

.sinemax-search__group-title {
	display: block;
	padding: .55rem .75rem .2rem;
	font-size: .68rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--sx-dim);
}

.sinemax-search__avatar {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	object-fit: cover;
	flex: 0 0 auto;
}

.sinemax-search__avatar--empty {
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, var(--sx-accent), var(--sx-accent-2));
	color: #fff;
	font-weight: 800;
	font-size: .95rem;
}

.sinemax-search__chips {
	display: flex;
	flex-wrap: wrap;
	gap: .3rem;
	padding: .3rem .75rem .7rem;
}

.sinemax-search__chip {
	display: inline-flex;
	align-items: center;
	gap: .3rem;
	padding: .26rem .6rem;
	border-radius: 99px;
	border: 1px solid var(--sx-border);
	background: var(--sx-surface-3);
	color: var(--sx-dim);
	font-size: .78rem;
	font-weight: 600;
	text-decoration: none;
}

.sinemax-search__chip:hover {
	color: #fff;
	background: var(--sx-accent);
	border-color: transparent;
}

.sinemax-search__chip span {
	font-size: .68rem;
	opacity: .7;
}

/* ================================================ Hover fragman önizleme */

.sinemax-card__preview {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	object-fit: cover;
	z-index: 1;
	opacity: 0;
	animation: sinemax-preview-in .5s ease forwards;
	pointer-events: none;
	background: #000;
}

@keyframes sinemax-preview-in {
	to { opacity: 1; }
}

.sinemax-card.is-previewing .sinemax-card__img {
	opacity: 0;
	transition: opacity .4s ease;
}

.sinemax-card.is-previewing .sinemax-card__badges,
.sinemax-card.is-previewing .sinemax-card__rating {
	z-index: 3;
}

.sinemax-card__watched {
	position: absolute;
	left: .5rem;
	bottom: .5rem;
	z-index: 3;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: #22c55e;
	color: #04140a;
	font-size: .78rem;
	font-weight: 900;
	box-shadow: 0 0 0 2px rgba(4, 6, 10, .6);
}

/* ================================================================ Zil */

.sinemax-bell {
	position: relative;
}

.sinemax-bell__panel {
	position: absolute;
	top: calc(100% + .5rem);
	right: 0;
	z-index: 70;
	width: min(340px, calc(100vw - 2rem));
	background: var(--sx-surface-2);
	border: 1px solid var(--sx-border);
	border-radius: 14px;
	box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .85);
	overflow: hidden;
	animation: sinemax-pop .2s ease;
}

.sinemax-bell__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .5rem;
	padding: .7rem .85rem;
	border-bottom: 1px solid var(--sx-border);
	font-size: .86rem;
}

.sinemax-bell__read {
	border: 0;
	background: none;
	color: var(--sx-accent);
	font: inherit;
	font-size: .76rem;
	font-weight: 700;
	cursor: pointer;
	padding: 0;
}

.sinemax-bell__list {
	max-height: 60vh;
	overflow-y: auto;
}

.sinemax-bell__item {
	display: flex;
	gap: .6rem;
	align-items: center;
	padding: .6rem .85rem;
	text-decoration: none;
	color: var(--sx-text);
	border-bottom: 1px solid var(--sx-border);
	transition: background .16s ease;
}

.sinemax-bell__item:last-child { border-bottom: 0; }

.sinemax-bell__item:hover { background: var(--sx-surface-3); }

.sinemax-bell__item.is-unread {
	background: color-mix(in srgb, var(--sx-accent) 9%, transparent);
}

.sinemax-bell__item.is-unread::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--sx-accent);
	flex: 0 0 auto;
	box-shadow: 0 0 8px var(--sx-accent);
}

.sinemax-bell__item img {
	width: 34px;
	aspect-ratio: 2 / 3;
	object-fit: cover;
	border-radius: 5px;
	flex: 0 0 auto;
}

.sinemax-bell__item span {
	display: grid;
	gap: .1rem;
	min-width: 0;
}

.sinemax-bell__item strong {
	font-size: .84rem;
	font-weight: 700;
	line-height: 1.35;
}

.sinemax-bell__item em {
	font-style: normal;
	font-size: .72rem;
	color: var(--sx-dim);
}

.sinemax-bell__empty {
	margin: 0;
	padding: 1.6rem 1rem;
	text-align: center;
	font-size: .84rem;
	color: var(--sx-dim);
}

/* =========================================================== Platformlar */

.sinemax-providers__row {
	display: flex;
	align-items: center;
	gap: .8rem;
	flex-wrap: wrap;
	padding: .5rem 0;
}

.sinemax-providers__row + .sinemax-providers__row {
	border-top: 1px solid var(--sx-border);
}

.sinemax-providers__label {
	min-width: 92px;
	font-size: .76rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .07em;
	color: var(--sx-dim);
}

.sinemax-providers__list {
	display: flex;
	gap: .45rem;
	flex-wrap: wrap;
}

.sinemax-provider {
	display: grid;
	place-items: center;
	min-width: 46px;
	height: 46px;
	border-radius: 11px;
	overflow: hidden;
	/* Logo yoksa metin görünür kalsın diye dolgu biraz daha belirgin. */
	background: color-mix(in srgb, var(--sx-text) 9%, transparent);
	border: 1px solid color-mix(in srgb, var(--sx-text) 14%, transparent);
	transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.sinemax-provider:has(img) {
	width: 46px;
	padding: 0;
}

.sinemax-provider:hover {
	transform: translateY(-3px);
	border-color: var(--sx-accent);
	background: color-mix(in srgb, var(--sx-accent) 16%, transparent);
}

.sinemax-provider img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sinemax-provider__text {
	font-size: .74rem;
	font-weight: 700;
	white-space: nowrap;
	padding: 0 .7rem;
	color: var(--sx-text);
}

.sinemax-providers__note {
	margin: .7rem 0 0;
	font-size: .8rem;
}

/* ================================================================ Galeri */

.sinemax-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: .5rem;
}

.sinemax-gallery__item {
	border: 0;
	padding: 0;
	border-radius: 10px;
	overflow: hidden;
	cursor: zoom-in;
	background: var(--sx-surface-3);
	aspect-ratio: 16 / 9;
	transition: transform .25s ease, box-shadow .25s ease;
}

.sinemax-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.sinemax-gallery__item:hover {
	transform: scale(1.03);
	box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .9);
	z-index: 2;
	position: relative;
}

.sinemax-lightbox {
	position: fixed;
	inset: 0;
	z-index: 9995;
	display: grid;
	place-items: center;
	padding: clamp(1rem, 4vw, 3rem);
	background: rgba(3, 4, 7, .95);
	backdrop-filter: blur(8px);
	animation: sinemax-fade-plain .22s ease;
}

.sinemax-lightbox__img {
	max-width: 100%;
	max-height: 86vh;
	border-radius: 12px;
	box-shadow: 0 30px 90px -30px rgba(0, 0, 0, 1);
	animation: sinemax-zoom-in .28s cubic-bezier(.2, .9, .2, 1);
}

.sinemax-lightbox__close,
.sinemax-lightbox__nav {
	position: absolute;
	border: 1px solid rgba(255, 255, 255, .18);
	background: rgba(16, 18, 24, .7);
	color: #fff;
	cursor: pointer;
	border-radius: 50%;
	display: grid;
	place-items: center;
	backdrop-filter: blur(8px);
	transition: background .18s ease, transform .18s ease;
}

.sinemax-lightbox__close {
	top: 1rem;
	right: 1rem;
	width: 42px;
	height: 42px;
	font-size: 1.3rem;
}

.sinemax-lightbox__nav {
	top: 50%;
	transform: translateY(-50%);
	width: 46px;
	height: 46px;
	font-size: 1.6rem;
	line-height: 1;
}

.sinemax-lightbox__nav--prev { left: 1rem; }
.sinemax-lightbox__nav--next { right: 1rem; }

.sinemax-lightbox__close:hover,
.sinemax-lightbox__nav:hover {
	background: var(--sx-accent);
	border-color: transparent;
}

.sinemax-lightbox__counter {
	position: absolute;
	bottom: 1rem;
	left: 50%;
	transform: translateX(-50%);
	padding: .3rem .75rem;
	border-radius: 99px;
	background: rgba(16, 18, 24, .75);
	color: #fff;
	font-size: .8rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

/* =========================================================== Koleksiyon */

.sinemax-collection__all {
	margin-left: auto;
	font-size: .78rem;
	font-weight: 700;
	color: var(--sx-dim);
	text-decoration: none;
}

.sinemax-collection__all:hover { color: var(--sx-accent); }

.sinemax-collection__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: .5rem;
	overflow-x: auto;
	scrollbar-width: none;
	padding-bottom: .3rem;
}

.sinemax-collection__list::-webkit-scrollbar { display: none; }

.sinemax-collection__item {
	flex: 0 0 auto;
	width: clamp(110px, 13vw, 150px);
}

.sinemax-collection__item a {
	display: grid;
	gap: .35rem;
	text-decoration: none;
	color: var(--sx-text);
	position: relative;
}

.sinemax-collection__item img {
	width: 100%;
	aspect-ratio: 2 / 3;
	object-fit: cover;
	border-radius: 10px;
	border: 2px solid transparent;
	transition: border-color .2s ease, transform .2s ease;
}

.sinemax-collection__item:hover img {
	transform: translateY(-4px);
	border-color: var(--sx-accent);
}

.sinemax-collection__item.is-current img {
	border-color: var(--sx-accent);
	box-shadow: 0 0 24px -6px var(--sx-accent);
}

.sinemax-collection__item.is-watched img { opacity: .55; }

.sinemax-collection__item.is-watched a::after {
	content: "✓";
	position: absolute;
	top: .4rem;
	right: .4rem;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: #22c55e;
	color: #04140a;
	font-weight: 900;
	font-size: .78rem;
}

.sinemax-collection__step {
	position: absolute;
	top: .4rem;
	left: .4rem;
	width: 22px;
	height: 22px;
	border-radius: 6px;
	display: grid;
	place-items: center;
	background: rgba(8, 10, 14, .85);
	color: #fff;
	font-size: .7rem;
	font-weight: 800;
}

.sinemax-collection__name {
	font-size: .8rem;
	font-weight: 700;
	line-height: 1.3;
	display: grid;
	gap: .05rem;
}

.sinemax-collection__name em {
	font-style: normal;
	font-size: .72rem;
	color: var(--sx-dim);
	font-weight: 500;
}

/* ============================================================== Listeler */

.sinemax-lists {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: .9rem;
}

.sinemax-list-card {
	display: flex;
	gap: .9rem;
	align-items: center;
	padding: .8rem;
	border-radius: var(--sinemax-radius-lg, 18px);
	background: var(--sx-surface-2);
	border: 1px solid var(--sx-border);
	text-decoration: none;
	color: var(--sx-text);
	transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.sinemax-list-card:hover {
	transform: translateY(-4px);
	border-color: color-mix(in srgb, var(--sx-accent) 50%, transparent);
	box-shadow: 0 18px 44px -22px rgba(0, 0, 0, .9);
	color: var(--sx-text);
}

.sinemax-list-card__stack {
	position: relative;
	flex: 0 0 auto;
	width: 86px;
	aspect-ratio: 2 / 3;
}

.sinemax-list-card__stack img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, .12);
	transform: translateX(calc(var(--i) * 7px)) rotate(calc(var(--i) * 3deg));
	transform-origin: bottom left;
	transition: transform .3s cubic-bezier(.2, .9, .2, 1);
	box-shadow: -3px 0 12px rgba(0, 0, 0, .55);
}

.sinemax-list-card:hover .sinemax-list-card__stack img {
	transform: translateX(calc(var(--i) * 12px)) rotate(calc(var(--i) * 5deg));
}

.sinemax-list-card__empty {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	border-radius: 8px;
	background: var(--sx-surface-3);
	color: var(--sx-dim);
}

.sinemax-list-card__body {
	min-width: 0;
	display: grid;
	gap: .2rem;
}

.sinemax-list-card__body h3 {
	margin: 0;
	font-size: 1rem;
	line-height: 1.3;
}

.sinemax-list-card__body p {
	margin: 0;
	font-size: .82rem;
	color: var(--sx-dim);
	line-height: 1.5;
}

.sinemax-list-card__count {
	font-size: .72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .07em;
	color: var(--sx-accent);
}

/* Sıralı liste (rank) */

.sinemax-ranklist {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: sxrank;
	display: grid;
	gap: .7rem;
}

.sinemax-ranklist__item {
	display: grid;
	grid-template-columns: auto 104px minmax(0, 1fr);
	gap: 1.1rem;
	align-items: center;
	padding: .65rem .8rem;
	border-radius: var(--sx-radius);
	background: var(--sx-surface-2);
	border: 1px solid var(--sx-border);
	transition: border-color .2s ease, transform .2s ease;
}

.sinemax-ranklist__item:hover {
	border-color: color-mix(in srgb, var(--sx-accent) 45%, transparent);
	transform: translateX(4px);
}

.sinemax-ranklist__num {
	font-size: clamp(1.6rem, 3.2vw, 2.6rem);
	font-weight: 900;
	line-height: 1;
	min-width: 2.2ch;
	text-align: center;
	background: linear-gradient(135deg, var(--sx-accent), var(--sx-accent-2));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.sinemax-ranklist__poster img {
	width: 100%;
	aspect-ratio: 2 / 3;
	object-fit: cover;
	border-radius: 8px;
}

.sinemax-ranklist__body { min-width: 0; }

.sinemax-ranklist__body h3 {
	margin: 0 0 .3rem;
	font-size: 1.02rem;
}

.sinemax-ranklist__body h3 a {
	color: var(--sx-text);
	text-decoration: none;
}

.sinemax-ranklist__body h3 a:hover { color: var(--sx-accent); }

.sinemax-ranklist__meta {
	display: flex;
	flex-wrap: wrap;
	gap: .35rem .6rem;
	align-items: center;
	margin-bottom: .35rem;
	font-size: .8rem;
	color: var(--sx-dim);
}

.sinemax-ranklist__body p {
	margin: 0;
	font-size: .85rem;
	color: var(--sx-dim);
	line-height: 1.55;
	/* Satırları sınırlayarak tüm sıraların aynı yükseklikte durmasını sağlar. */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@media (max-width: 620px) {
	.sinemax-ranklist__item { grid-template-columns: auto 68px minmax(0, 1fr); gap: .6rem; }
	.sinemax-ranklist__body p { display: none; }
}

/* Numaralı ızgara */

.sinemax-numbered { position: relative; }

.sinemax-numbered__num {
	position: absolute;
	top: -.4rem;
	left: -.3rem;
	z-index: 4;
	min-width: 28px;
	height: 28px;
	padding: 0 .35rem;
	border-radius: 8px;
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, var(--sx-accent), var(--sx-accent-2));
	color: #fff;
	font-size: .82rem;
	font-weight: 900;
	box-shadow: 0 6px 18px -6px var(--sx-accent);
}

/* İçerik hangi listelerde */

.sinemax-inlists {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: .5rem;
}

.sinemax-inlists__item {
	display: flex;
	gap: .6rem;
	align-items: center;
	padding: .65rem .8rem;
	border-radius: 10px;
	background: var(--sx-surface-3);
	border: 1px solid transparent;
	text-decoration: none;
	color: var(--sx-text);
	transition: border-color .18s ease;
}

.sinemax-inlists__item:hover {
	border-color: color-mix(in srgb, var(--sx-accent) 45%, transparent);
	color: var(--sx-text);
}

.sinemax-inlists__icon { color: var(--sx-accent); }

.sinemax-inlists__item span { display: grid; gap: .1rem; min-width: 0; }
.sinemax-inlists__item strong { font-size: .86rem; }
.sinemax-inlists__item em { font-style: normal; font-size: .74rem; color: var(--sx-dim); }

/* ============================================================== İskelet */

.sinemax-skeleton {
	display: grid;
	gap: .5rem;
}

.sinemax-skeleton__media {
	display: block;
	width: 100%;
	aspect-ratio: 2 / 3;
	border-radius: var(--sx-radius);
	background: var(--sx-surface-2);
	position: relative;
	overflow: hidden;
}

.sinemax-skeleton__line {
	display: block;
	height: 12px;
	border-radius: 6px;
	background: var(--sx-surface-2);
	position: relative;
	overflow: hidden;
}

.sinemax-skeleton__line--short { width: 55%; }

.sinemax-skeleton__media::after,
.sinemax-skeleton__line::after {
	content: "";
	position: absolute;
	inset: 0;
	transform: translateX(-100%);
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .07), transparent);
	animation: sinemax-shimmer 1.4s infinite;
}

@keyframes sinemax-shimmer {
	100% { transform: translateX(100%); }
}

@media (prefers-reduced-motion: reduce) {
	.sinemax-skeleton__media::after,
	.sinemax-skeleton__line::after { animation: none; }
}

/* ====================================================== Klavye kısayolları */

.sinemax-shortcuts {
	position: fixed;
	inset: 0;
	z-index: 9994;
	display: grid;
	place-items: center;
	padding: 1rem;
	background: rgba(4, 6, 10, .9);
	backdrop-filter: blur(8px);
	animation: sinemax-fade-plain .2s ease;
}

.sinemax-shortcuts__box {
	position: relative;
	width: min(460px, 100%);
	padding: 1.6rem;
	border-radius: var(--sinemax-radius-lg, 20px);
	background: var(--sx-surface-2);
	border: 1px solid var(--sx-border);
	box-shadow: 0 30px 80px -24px rgba(0, 0, 0, .9);
	animation: sinemax-zoom-in .26s cubic-bezier(.2, .9, .2, 1);
}

.sinemax-shortcuts__box h2 {
	margin: 0 0 1rem;
	font-size: 1.1rem;
}

.sinemax-shortcuts__box dl {
	margin: 0;
	display: grid;
	gap: .4rem;
}

.sinemax-shortcuts__box dl > div {
	display: flex;
	align-items: center;
	gap: .8rem;
	padding: .35rem 0;
	border-bottom: 1px solid var(--sx-border);
	font-size: .86rem;
}

.sinemax-shortcuts__box dt { margin: 0; min-width: 110px; }
.sinemax-shortcuts__box dd { margin: 0; color: var(--sx-dim); }

.sinemax-shortcuts__box kbd {
	display: inline-block;
	padding: .18rem .45rem;
	border-radius: 6px;
	border: 1px solid var(--sx-border);
	background: var(--sx-surface-3);
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: .76rem;
	color: var(--sx-text);
}

.sinemax-shortcuts__close {
	position: absolute;
	top: .7rem;
	right: .8rem;
	width: 30px;
	height: 30px;
	border: 0;
	border-radius: 50%;
	background: var(--sx-surface-3);
	color: var(--sx-text);
	font-size: 1.15rem;
	cursor: pointer;
}

.sinemax-shortcuts__close:hover { background: var(--sx-accent); color: #fff; }

/* ======================================================= Paylaşım butonları */

/* ===================================================== Baş harf avatarları */

/*
 * Oyuncu fotoğrafı telif nedeniyle paketle gelmiyor; baş harf kutusu
 * istisna değil olağan hâl. Ton isimden türüyor (sinemax_name_hue), yani
 * aynı kişi her sayfada aynı renkte.
 */
.sinemax-initials {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	font-size: clamp(1rem, 1.6vw, 1.55rem);
	font-weight: 800;
	letter-spacing: .02em;
	color: hsl(var(--sx-hue, 0) 70% 88%);
	background:
		radial-gradient(120% 120% at 30% 0%, hsl(var(--sx-hue, 0) 55% 34% / .95), transparent 70%),
		linear-gradient(150deg, hsl(var(--sx-hue, 0) 45% 22%), hsl(calc(var(--sx-hue, 0) + 40) 40% 13%));
	text-shadow: 0 1px 2px rgba(0, 0, 0, .5);
}

.sinemax-share {
	display: flex;
	gap: .4rem;
	flex-wrap: wrap;
	align-items: center;
}

.sinemax-share__label {
	font-size: .76rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--sx-dim);
	margin-right: .2rem;
}

.sinemax-share__btns {
	display: flex;
	gap: .4rem;
	flex-wrap: wrap;
}

/*
 * Adres kutusu satırın kalan yerini alıyor: panel içerik genişliğinde
 * duruyor ve sağı bomboş kalıyordu.
 */
.sinemax-share__link {
	flex: 1 1 220px;
	min-width: 0;
	display: block;
}

.sinemax-share__link input {
	width: 100%;
	height: 38px;
	padding: 0 .8rem;
	border-radius: 10px;
	border: 1px solid var(--sx-border);
	background: var(--sx-surface-2);
	color: var(--sx-dim);
	font-size: .82rem;
	font-family: inherit;
	text-overflow: ellipsis;
}

.sinemax-share__link input:focus {
	outline: none;
	border-color: var(--sx-accent);
	color: var(--sx-text);
}

/* Yan panelde yalnızca ikonlar var; ortalanmış duruyor. */
.sinemax-share--compact {
	justify-content: flex-start;
}

@media (max-width: 560px) {
	.sinemax-share__link {
		flex-basis: 100%;
	}
}

.sinemax-share__btn {
	display: inline-grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	border: 1px solid var(--sx-border);
	background: var(--sx-surface-3);
	color: var(--sx-dim);
	font-size: .82rem;
	font-weight: 800;
	cursor: pointer;
	transition: all .18s ease;
}

.sinemax-share__btn:hover {
	transform: translateY(-2px);
	color: #fff;
	border-color: transparent;
}

.sinemax-share__btn[data-share="whatsapp"]:hover { background: #25d366; }
.sinemax-share__btn[data-share="telegram"]:hover { background: #229ed9; }
.sinemax-share__btn[data-share="x"]:hover { background: #111; }
.sinemax-share__btn[data-share="facebook"]:hover { background: #1877f2; }
.sinemax-share__btn[data-share="copy"]:hover { background: var(--sx-accent); }

/* ==================================================== Sunucu sağlık noktası */

.sinemax-server__dot.is-ok {
	background: #22c55e;
	opacity: 1;
	box-shadow: 0 0 8px #22c55e;
}

.sinemax-server__dot.is-bad {
	background: #ef4444;
	opacity: 1;
	box-shadow: 0 0 8px #ef4444;
}

.sinemax-server__dot.is-unknown {
	background: currentColor;
	opacity: .4;
}

/* ================================================ Mobil alt gezinme çubuğu */

.sinemax-bottomnav {
	display: none;
}

@media (max-width: 860px) {
	.sinemax-bottomnav {
		position: fixed;
		inset: auto 0 0 0;
		z-index: 92;
		display: grid;
		grid-auto-flow: column;
		grid-auto-columns: 1fr;
		background: color-mix(in srgb, var(--sx-surface) 94%, transparent);
		border-top: 1px solid var(--sx-border);
		backdrop-filter: blur(16px) saturate(160%);
		padding-bottom: env(safe-area-inset-bottom);
	}

	.sinemax-bottomnav__item {
		display: grid;
		justify-items: center;
		gap: .15rem;
		padding: .5rem .25rem .55rem;
		text-decoration: none;
		color: var(--sx-dim);
		font-size: .64rem;
		font-weight: 700;
		border: 0;
		background: none;
		cursor: pointer;
		position: relative;
		transition: color .18s ease;
	}

	.sinemax-bottomnav__item svg {
		width: 21px;
		height: 21px;
		fill: currentColor;
	}

	.sinemax-bottomnav__item.is-active {
		color: var(--sx-accent);
	}

	.sinemax-bottomnav__item.is-active::before {
		content: "";
		position: absolute;
		top: 0;
		left: 50%;
		transform: translateX(-50%);
		width: 26px;
		height: 3px;
		border-radius: 0 0 4px 4px;
		background: var(--sx-accent);
		box-shadow: 0 0 10px var(--sx-accent);
	}

	.sinemax-bottomnav__count {
		position: absolute;
		top: .25rem;
		right: calc(50% - 18px);
		min-width: 15px;
		height: 15px;
		padding: 0 3px;
		border-radius: 99px;
		background: var(--sx-accent);
		color: #fff;
		font-size: .58rem;
		display: grid;
		place-items: center;
	}

	body.sinemax-has-bottomnav {
		padding-bottom: 62px;
	}

	.sinemax-ad--popup {
		bottom: 62px;
	}
}

/* =========================================================================
   v1.3 — kart hızlı eylemleri, puan rozetleri, puan dağılımı, tür kartları
   ========================================================================= */

/* Bölüm başlığı üstü küçük etiket */
.sinemax-section__kicker {
	display: block;
	margin-bottom: .2rem;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--sinemax-accent) 78%, var(--sx-text));
}

/* Kart üzerine gelince çıkan hızlı eylemler */
.sinemax-card__quick {
	display: flex;
	gap: .4rem;
	margin-top: .5rem;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity .18s ease, transform .18s ease;
}

.sinemax-card:hover .sinemax-card__quick,
.sinemax-card:focus-within .sinemax-card__quick {
	opacity: 1;
	transform: none;
}

.sinemax-card__qbtn {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	padding: 0;
	color: var(--sx-text);
	background: color-mix(in srgb, var(--sx-text) 14%, transparent);
	border: 1px solid color-mix(in srgb, var(--sx-text) 22%, transparent);
	border-radius: 50%;
	backdrop-filter: blur(6px);
	cursor: pointer;
	transition: background .16s ease, transform .16s ease;
}

.sinemax-card__qbtn:hover {
	background: var(--sinemax-accent);
	border-color: transparent;
	transform: scale(1.08);
}

.sinemax-card__qbtn svg { width: 15px; height: 15px; fill: currentColor; }

@media (hover: none) {
	.sinemax-card__quick { display: none; }
}

/* Harici puan rozetleri */
.sinemax-scores {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin: .9rem 0 1rem;
}

.sinemax-score {
	display: flex;
	flex-direction: column;
	gap: .05rem;
	min-width: 92px;
	padding: .5rem .8rem;
	background: color-mix(in srgb, var(--sx-text) 7%, transparent);
	border: 1px solid color-mix(in srgb, var(--sx-text) 13%, transparent);
	border-radius: .7rem;
}

.sinemax-score em {
	font-size: .64rem;
	font-style: normal;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	opacity: .68;
}

.sinemax-score strong {
	font-size: 1.24rem;
	font-weight: 800;
	line-height: 1.1;
}

.sinemax-score span { font-size: .7rem; opacity: .6; }

.sinemax-score--imdb { border-left: 3px solid #f5c518; }
.sinemax-score--tmdb { border-left: 3px solid #01b4e4; }
.sinemax-score--site { border-left: 3px solid var(--sinemax-accent); }

/* Puan dağılımı */
.sinemax-ratingdist {
	display: grid;
	grid-template-columns: minmax(120px, 160px) 1fr;
	gap: 1.4rem;
	align-items: center;
	padding: 1rem 1.2rem;
	background: color-mix(in srgb, var(--sx-text) 5%, transparent);
	border: 1px solid color-mix(in srgb, var(--sx-text) 11%, transparent);
	border-radius: 1rem;
}

@media (max-width: 640px) {
	.sinemax-ratingdist { grid-template-columns: 1fr; gap: .8rem; }
}

.sinemax-ratingdist__big { text-align: center; }

.sinemax-ratingdist__big strong {
	font-size: 3rem;
	font-weight: 900;
	line-height: 1;
	color: var(--sinemax-accent);
}

.sinemax-ratingdist__big span { font-size: 1rem; opacity: .55; }

.sinemax-ratingdist__big em {
	display: block;
	margin-top: .3rem;
	font-size: .74rem;
	font-style: normal;
	opacity: .6;
}

.sinemax-ratingdist__bars {
	display: grid;
	gap: .22rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sinemax-ratingdist__bars li {
	display: grid;
	grid-template-columns: 1.6rem 1fr 2.6rem;
	gap: .5rem;
	align-items: center;
	font-size: .72rem;
	font-variant-numeric: tabular-nums;
}

.sinemax-ratingdist__n { text-align: right; opacity: .6; }

.sinemax-ratingdist__bar {
	height: 7px;
	overflow: hidden;
	background: color-mix(in srgb, var(--sx-text) 12%, transparent);
	border-radius: 99px;
}

.sinemax-ratingdist__bar span {
	display: block;
	height: 100%;
	background: linear-gradient(90deg,
		color-mix(in srgb, var(--sinemax-accent) 60%, transparent),
		var(--sinemax-accent));
	border-radius: 99px;
}

.sinemax-ratingdist__pct { opacity: .55; }

/* Görselli tür kartları */
.sinemax-genre-arts {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: .8rem;
}

.sinemax-genre-art {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	border-radius: 1rem;
	text-decoration: none;
	isolation: isolate;
	transition: transform .2s ease, box-shadow .2s ease;
}

.sinemax-genre-art:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 34px -14px color-mix(in srgb, var(--sx-accent, #6366f1) 70%, transparent);
}

.sinemax-genre-art img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(1.05);
}

.sinemax-genre-art__shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(200deg,
			color-mix(in srgb, var(--sx-accent, #6366f1) 42%, transparent),
			rgba(4, 4, 8, .82) 68%);
}

.sinemax-genre-art__name {
	position: absolute;
	inset-inline: .9rem;
	bottom: 1.5rem;
	font-size: 1.06rem;
	font-weight: 800;
	letter-spacing: -.01em;
	color: #fff;
}

.sinemax-genre-art__count {
	position: absolute;
	inset-inline-start: .9rem;
	bottom: .6rem;
	font-size: .72rem;
	color: rgba(255, 255, 255, .68);
}

/* Reklam alanı yer tutucusu (önizleme) */
.sinemax-ad__label {
	display: block;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	opacity: .5;
}

.sinemax-ad__hint {
	display: block;
	margin-top: .25rem;
	font-size: .74rem;
	opacity: .38;
}

/* Keşfet: daha fazla yükle */
.sinemax-filter__more {
	margin-top: 1.4rem;
	text-align: center;
}

.sinemax-filter__more .sinemax-providers__note { margin-top: .5rem; }

/* Küçük düğme boyu */
.sinemax-btn--sm {
	padding: .34rem .7rem;
	font-size: .76rem;
	border-radius: .55rem;
}

/* Bölüm başlığı bloğu: etiket + başlık aynı hizada kalsın */
.sinemax-section__heading {
	display: flex;
	flex-direction: column;
	gap: .1rem;
	min-width: 0;
}

.sinemax-section__heading .sinemax-section__title { margin: 0; }

/* Puan dağılımı: çubuklar okunur genişlikte kalsın */
.sinemax-ratingdist__bars { max-width: 460px; }

/* Filtre çipindeki sayaç */
.sinemax-chip span em {
	font-style: normal;
	font-weight: 700;
	opacity: .5;
	margin-left: .25rem;
}

.sinemax-chip input:checked + span em { opacity: .85; }

/* Liste kartı: eğik afiş yığını gövde metnine binmesin */
.sinemax-list-card__stack { margin-right: 1.5rem; }

/* Profil rozeti: baş harf ya da fotoğraf */
.sinemax-profile__avatar {
	width: 96px;
	height: 96px;
	flex: 0 0 auto;
	object-fit: cover;
	background: var(--sx-surface-3);
}

/* =========================================================================
   v1.4 — arşiv gezinme, sonsuz kaydırma, kullanıcı listeleri, görünme
   ========================================================================= */

/* Terim çubuğu: aynı sınıflandırmadaki diğer terimler */
.sinemax-termbar {
	display: flex;
	gap: .4rem;
	overflow-x: auto;
	padding-bottom: .6rem;
	margin-bottom: 1.1rem;
	scrollbar-width: none;
	scroll-snap-type: x proximity;
	scroll-padding-inline: var(--sinemax-gutter, 1rem);
}

.sinemax-termbar::-webkit-scrollbar { display: none; }

.sinemax-termbar__item {
	display: inline-flex;
	gap: .38rem;
	align-items: baseline;
	flex: 0 0 auto;
	padding: .42rem .8rem;
	border-radius: 99px;
	background: color-mix(in srgb, var(--sx-text) 6%, transparent);
	border: 1px solid color-mix(in srgb, var(--sx-text) 11%, transparent);
	color: var(--sx-dim);
	font-size: .82rem;
	font-weight: 600;
	text-decoration: none;
	scroll-snap-align: start;
	transition: color .16s ease, border-color .16s ease, background .16s ease;
}

.sinemax-termbar__item span { font-size: .7rem; opacity: .55; font-variant-numeric: tabular-nums; }

.sinemax-termbar__item:hover {
	color: var(--sx-text);
	border-color: color-mix(in srgb, var(--sx-accent) 45%, transparent);
}

.sinemax-termbar__item.is-active {
	color: #fff;
	background: linear-gradient(135deg, var(--sx-accent), var(--sx-accent-2));
	border-color: transparent;
}

.sinemax-termbar__item.is-active span { opacity: .8; }

/* Sıralama çubuğu */
.sinemax-sortbar {
	display: flex;
	flex-wrap: wrap;
	gap: .3rem;
	align-items: center;
	margin-bottom: 1.2rem;
	padding-bottom: .9rem;
	border-bottom: 1px solid var(--sx-border);
}

.sinemax-sortbar__label {
	margin-right: .4rem;
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--sx-dim);
}

.sinemax-sortbar__item,
.sinemax-sortbar__random {
	padding: .34rem .7rem;
	border-radius: 8px;
	color: var(--sx-dim);
	font-size: .84rem;
	font-weight: 600;
	text-decoration: none;
	transition: color .16s ease, background .16s ease;
}

.sinemax-sortbar__item:hover,
.sinemax-sortbar__random:hover {
	color: var(--sx-text);
	background: color-mix(in srgb, var(--sx-text) 7%, transparent);
}

.sinemax-sortbar__item.is-active {
	color: var(--sx-text);
	background: color-mix(in srgb, var(--sx-accent) 18%, transparent);
	box-shadow: inset 0 -2px 0 var(--sx-accent);
}

.sinemax-sortbar__random { margin-left: auto; }

/* Yorum başlığı: sayı solda, sıralama sağda */
.sinemax-comments__head {
	display: flex;
	flex-wrap: wrap;
	gap: .6rem 1rem;
	align-items: baseline;
	justify-content: space-between;
}

.sinemax-comments__head .sinemax-block__title { margin-bottom: 0; }

.sinemax-sortbar--comments {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
	font-size: .95em;
}

.sinemax-sortbar--comments .sinemax-sortbar__item {
	padding: .22rem .55rem;
	font-size: .8rem;
}

/* Sonsuz kaydırma */
.sinemax-endless {
	display: grid;
	justify-items: center;
	gap: .7rem;
	margin: 2rem 0 1rem;
}

.sinemax-endless__sentinel { height: 1px; width: 100%; }

.sinemax-endless__end {
	margin: 0;
	color: var(--sx-dim);
	font-size: .85rem;
}

.sinemax-endless__spinner { display: grid; place-items: center; min-height: 34px; }

/* Liste açılır kutusu */
.sinemax-listpop {
	position: absolute;
	z-index: 70;
	width: min(288px, calc(100vw - 24px));
	padding: .6rem;
	border-radius: 14px;
	background: var(--sinemax-surface-2, #151a23);
	border: 1px solid var(--sinemax-border, rgba(255, 255, 255, .1));
	box-shadow: 0 22px 60px -20px rgba(0, 0, 0, .8);
	color: var(--sinemax-text, #eef1f7);
	animation: sinemax-pop .16s ease;
}

.sinemax-listpop__head {
	padding: .1rem .3rem .5rem;
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	opacity: .55;
}

.sinemax-listpop__body {
	display: grid;
	gap: .18rem;
	max-height: 232px;
	overflow-y: auto;
}

.sinemax-listpop__empty {
	margin: 0;
	padding: .5rem .3rem;
	font-size: .84rem;
	opacity: .6;
}

.sinemax-listpop__item {
	display: grid;
	grid-template-columns: 22px 1fr auto auto;
	gap: .5rem;
	align-items: center;
	width: 100%;
	padding: .48rem .4rem;
	border: 0;
	border-radius: 9px;
	background: transparent;
	color: inherit;
	font-size: .88rem;
	text-align: left;
	cursor: pointer;
	transition: background .14s ease;
}

.sinemax-listpop__item:hover { background: rgba(255, 255, 255, .07); }

.sinemax-listpop__check {
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .22);
	font-size: .78rem;
	font-weight: 700;
}

.sinemax-listpop__item.is-in .sinemax-listpop__check {
	background: var(--sinemax-accent, #ff3d57);
	border-color: transparent;
	color: #fff;
}

.sinemax-listpop__name {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sinemax-listpop__count {
	font-size: .72rem;
	opacity: .5;
	font-variant-numeric: tabular-nums;
}

.sinemax-listpop__lock { font-size: .7rem; opacity: .5; }

.sinemax-listpop__new {
	display: flex;
	gap: .35rem;
	margin-top: .5rem;
	padding-top: .5rem;
	border-top: 1px solid rgba(255, 255, 255, .09);
}

.sinemax-listpop__new input {
	flex: 1;
	min-width: 0;
	padding: .42rem .6rem;
	border-radius: 9px;
	border: 1px solid rgba(255, 255, 255, .14);
	background: rgba(255, 255, 255, .05);
	color: inherit;
	font-size: .86rem;
}

.sinemax-listpop__new input:focus-visible {
	outline: 2px solid var(--sinemax-accent, #ff3d57);
	outline-offset: 1px;
}

/* Kademeli görünme */
.sinemax-reveal-on-scroll {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity .42s ease, transform .42s cubic-bezier(.2, .9, .2, 1);
}

.sinemax-reveal-on-scroll.is-revealed {
	opacity: 1;
	transform: none;
}

.sinemax-reveal {
	animation: sinemax-card-in .42s cubic-bezier(.2, .9, .2, 1) both;
	animation-delay: var(--sinemax-reveal-delay, 0ms);
}

@keyframes sinemax-card-in {
	from { opacity: 0; transform: translateY(16px) scale(.985); }
	to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.sinemax-reveal-on-scroll,
	.sinemax-reveal {
		opacity: 1;
		transform: none;
		animation: none;
		transition: none;
	}
}

/* Öneri satırı gerekçesi */
.sinemax-section__reason {
	display: inline-flex;
	align-items: center;
	gap: .3rem;
	padding: .16rem .5rem;
	border-radius: 99px;
	background: color-mix(in srgb, var(--sx-accent) 16%, transparent);
	color: color-mix(in srgb, var(--sx-accent) 82%, var(--sx-text));
	font-size: .7rem;
	font-weight: 700;
}

/* Kart: listeye ekle düğmesi (yer imi düğmesinin altında) */
.sinemax-card__collect {
	position: absolute;
	top: 2.9rem;
	right: .45rem;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	padding: 0;
	color: #fff;
	background: rgba(6, 6, 12, .62);
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 50%;
	opacity: 0;
	transform: scale(.86);
	backdrop-filter: blur(6px);
	cursor: pointer;
	transition: opacity .18s ease, transform .18s ease, background .18s ease;
}

.sinemax-card:hover .sinemax-card__collect,
.sinemax-card:focus-within .sinemax-card__collect {
	opacity: 1;
	transform: none;
}

.sinemax-card__collect:hover {
	background: var(--sx-accent);
	border-color: transparent;
}

.sinemax-card__collect svg { width: 15px; height: 15px; fill: currentColor; }

@media (hover: none) {
	.sinemax-card__collect { opacity: 1; transform: none; }
}

/* Sayfa başlığındaki içerik sayacı: başlıktan ayrık dursun */
.sinemax-page-head__count { margin-left: .5rem; }

/* =========================================================================
   v1.5 — kart yorum sayacı, künye tablosu, kenar çubuğu bileşenleri
   ========================================================================= */

.sinemax-card__comments {
	position: absolute;
	bottom: .4rem;
	left: .4rem;
	display: inline-flex;
	gap: .22rem;
	align-items: center;
	padding: .12rem .34rem;
	border-radius: 3px;
	background: rgba(6, 8, 12, .72);
	color: #fff;
	font-size: .68rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	pointer-events: none;
}

.sinemax-card__comments svg { width: 11px; height: 11px; fill: currentColor; opacity: .8; }

/* Satır içi simge sarmalayıcısı (emoji yerine SVG) */
.sinemax-ico {
	display: inline-flex;
	align-items: center;
	vertical-align: -.15em;
}

.sinemax-ico svg { fill: currentColor; }

/* Son yorumlar bileşeni */
.sinemax-cwidget {
	display: grid;
	gap: .7rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sinemax-cwidget__item {
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr);
	gap: .55rem;
	align-items: start;
}

.sinemax-cwidget__avatar {
	display: block;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	overflow: hidden;
	border: 1px solid var(--sx-border);
}

.sinemax-cwidget__avatar .sinemax-initials {
	font-size: .74rem;
}

.sinemax-cwidget__img { border-radius: 3px; }

.sinemax-cwidget__body { display: grid; gap: .1rem; min-width: 0; }

.sinemax-cwidget__post {
	font-size: .82rem;
	font-weight: 700;
	color: var(--sinemax-text, #e6e8ec);
	text-decoration: none;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sinemax-cwidget__post:hover { color: var(--sinemax-accent, #ff3d57); }

.sinemax-cwidget__text {
	font-size: .78rem;
	line-height: 1.45;
	color: var(--sinemax-text-dim, #98a0ac);
}

.sinemax-cwidget__meta {
	font-size: .7rem;
	color: var(--sinemax-text-dim, #98a0ac);
	opacity: .8;
}

/* Rastgele yapım kutusu */
.sinemax-randombox { display: grid; gap: .45rem; }

.sinemax-randombox p {
	margin: 0 0 .2rem;
	font-size: .8rem;
	color: var(--sinemax-text-dim, #98a0ac);
}

/* Sonsuz kaydırma: numaralı sayfalama yedeği */
.sinemax-endless__pages { width: 100%; }

/* =========================================================================
   v1.6 — oynatıcı altı eylem bandı, sezon/bölüm seçici, arama sayfası
   ========================================================================= */

.sinemax-watchbar {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
	align-items: center;
	margin: .5rem 0 1.2rem;
	padding: .45rem;
	background: var(--sx-surface-2);
	border: 1px solid var(--sx-border);
	border-radius: var(--sx-radius);
}

.sinemax-watchbar__group {
	display: flex;
	flex-wrap: wrap;
	gap: .3rem;
	align-items: center;
}

.sinemax-watchbar__group--end { margin-inline-start: auto; }

.sinemax-watchbar__item {
	display: inline-flex;
	gap: .3rem;
	align-items: center;
	padding: .42rem .7rem;
	border: 1px solid color-mix(in srgb, var(--sx-text) 12%, transparent);
	border-radius: calc(var(--sx-radius) - 1px);
	background: color-mix(in srgb, var(--sx-text) 5%, transparent);
	color: var(--sx-dim);
	font-size: .8rem;
	font-weight: 600;
	font-family: inherit;
	text-decoration: none;
	cursor: pointer;
	transition: color .16s ease, border-color .16s ease, background .16s ease;
}

.sinemax-watchbar__item:hover {
	color: var(--sx-text);
	border-color: color-mix(in srgb, var(--sx-accent) 45%, transparent);
}

.sinemax-watchbar__item.is-primary {
	background: var(--sx-accent);
	border-color: transparent;
	color: #fff;
}

@media (max-width: 640px) {
	.sinemax-watchbar__group--end { margin-inline-start: 0; }
	.sinemax-watchbar__item { font-size: .76rem; padding: .38rem .55rem; }
}

/* Sezon / bölüm hızlı seçici */
.sinemax-jumper {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	align-items: end;
	margin-bottom: .7rem;
	padding: .6rem;
	background: var(--sx-surface-2);
	border: 1px solid var(--sx-border);
	border-radius: var(--sx-radius);
}

.sinemax-jumper__field {
	display: grid;
	gap: .22rem;
	min-width: 0;
	flex: 1 1 180px;
}

.sinemax-jumper__field > span {
	font-size: .68rem;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--sx-dim);
}

.sinemax-jumper select {
	width: 100%;
	padding: .45rem .6rem;
	border-radius: calc(var(--sx-radius) - 1px);
	border: 1px solid var(--sx-border);
	background: var(--sx-surface-3);
	color: var(--sx-text);
	font-family: inherit;
	font-size: .84rem;
}

.sinemax-jumper select:focus-visible {
	outline: 2px solid var(--sx-accent);
	outline-offset: 1px;
}

/* Arama sonuçları sayfası */
.sinemax-searchpage__form {
	display: flex;
	gap: .5rem;
	margin-bottom: 1rem;
}

/*
 * Arama sayfasındaki kutu tek başına duruyor: .sinemax-search form kabuğu
 * olmadığı için alanın kendi çerçevesi burada tanımlanır, yoksa girdi
 * görünmez bir metin alanı olarak kalıyor.
 */
.sinemax-searchpage__form .sinemax-search__input {
	flex: 1;
	min-width: 0;
	padding: .7rem 1rem;
	background: var(--sx-surface-3);
	border: 1px solid var(--sx-border);
	border-radius: 99px;
	color: var(--sx-text);
	font: inherit;
	font-size: .95rem;
	outline: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.sinemax-searchpage__form .sinemax-search__input:focus {
	border-color: var(--sx-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--sx-accent) 22%, transparent);
}

.sinemax-searchpage__form .sinemax-btn { flex: none; }

.sinemax-searchpage__hits {
	display: grid;
	gap: .6rem;
	margin-bottom: 1.2rem;
	padding: .8rem .9rem;
	background: var(--sx-surface-2);
	border: 1px solid var(--sx-border);
	border-radius: var(--sx-radius);
}

.sinemax-searchpage__hit {
	display: flex;
	flex-wrap: wrap;
	gap: .35rem;
	align-items: center;
}

.sinemax-searchpage__hit-label {
	margin-inline-end: .3rem;
	font-size: .68rem;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--sx-dim);
}

.sinemax-searchpage__hit .sinemax-tag span {
	margin-inline-start: .25rem;
	opacity: .55;
	font-variant-numeric: tabular-nums;
}

/* Sık çalışanlar */
.sinemax-collab {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: .5rem;
}

.sinemax-collab__item {
	display: flex;
	gap: .6rem;
	align-items: center;
	padding: .45rem .55rem;
	border: 1px solid var(--sx-border);
	border-radius: var(--sx-radius);
	background: var(--sx-surface-3);
	text-decoration: none;
	transition: border-color .16s ease, background .16s ease;
}

.sinemax-collab__item:hover {
	border-color: color-mix(in srgb, var(--sx-accent) 45%, transparent);
	background: color-mix(in srgb, var(--sx-text) 5%, transparent);
}

.sinemax-collab__photo {
	flex: none;
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	overflow: hidden;
	border-radius: 50%;
	background: var(--sx-surface-2);
}

.sinemax-collab__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sinemax-collab__photo.is-empty em {
	font-style: normal;
	font-weight: 800;
	color: var(--sx-dim);
}

.sinemax-collab__body {
	display: grid;
	gap: .1rem;
	min-width: 0;
}

.sinemax-collab__body strong {
	font-size: .86rem;
	color: var(--sx-text);
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.sinemax-collab__body span {
	font-size: .74rem;
	color: var(--sx-dim);
}

/* Karusel rayı klavyeyle kaydırılabilir: odak halkası içeriye alınır. */
.sinemax-carousel__track:focus-visible {
	outline: 2px solid var(--sx-accent);
	outline-offset: -2px;
	border-radius: var(--sx-radius);
}

.sinemax-searchpage__types {
	display: flex;
	flex-wrap: wrap;
	gap: .35rem;
	margin-bottom: 1rem;
}

.sinemax-chip-link {
	padding: .34rem .8rem;
	border: 1px solid var(--sx-border);
	border-radius: 99px;
	background: var(--sx-surface-3);
	color: var(--sx-dim);
	font-size: .82rem;
	font-weight: 600;
	text-decoration: none;
	transition: color .16s ease, border-color .16s ease, background .16s ease;
}

.sinemax-chip-link:hover {
	color: var(--sx-text);
	border-color: color-mix(in srgb, var(--sx-accent) 45%, transparent);
}

.sinemax-chip-link.is-active {
	background: var(--sx-accent);
	border-color: transparent;
	color: #fff;
}

.sinemax-empty__suggest {
	margin: .2rem 0 .6rem;
	font-size: 1rem;
}

.sinemax-empty__suggest a {
	color: var(--sx-accent);
	text-decoration: none;
}

.sinemax-empty__suggest a:hover { text-decoration: underline; }

.sinemax-empty__hint {
	margin: .3rem 0 1rem;
	font-size: .86rem;
	color: var(--sx-dim);
}
