.ast-showtimes-page {
	padding: 28px 0 40px;
}

.ast-showtimes-shell {
	--ast-showtimes-accent: #12b9ff;
	--ast-showtimes-accent-strong: #ff2c8c;
	--ast-showtimes-surface: linear-gradient(180deg, rgba(34, 34, 36, 0.98) 0%, rgba(28, 28, 30, 0.98) 100%);
	--ast-showtimes-card: linear-gradient(180deg, rgba(60, 60, 63, 0.92) 0%, rgba(53, 53, 56, 0.94) 100%);
	--ast-showtimes-card-border: rgba(255, 255, 255, 0.1);
	--ast-showtimes-text: #f5f7fb;
	--ast-showtimes-muted: #a8b3c8;
	--ast-showtimes-tab-bg: linear-gradient(180deg, rgba(37, 37, 39, 0.96) 0%, rgba(29, 29, 31, 0.96) 100%);
	--ast-showtimes-tab-border: rgba(255, 255, 255, 0.08);
	--ast-showtimes-tab-active-bg: linear-gradient(180deg, rgba(79, 58, 93, 0.9) 0%, rgba(69, 47, 83, 0.94) 100%);
	--ast-showtimes-shadow: 0 22px 46px rgba(0, 0, 0, 0.22);
}

.ast-showtimes-head {
	margin-bottom: 16px;
}

.ast-showtimes-title {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	margin: 0;
	font-size: clamp(28px, 4.2vw, 40px);
	line-height: 1.05;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--ast-showtimes-text);
}

.ast-showtimes-title-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	color: var(--ast-showtimes-accent);
}

.ast-showtimes-title-icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

.ast-showtimes-tabs-shell,
.ast-showtimes-panel {
	border-radius: 18px;
	background: var(--ast-showtimes-surface);
	border: 1px solid color-mix(in srgb, var(--ast-showtimes-card-border) 100%, transparent);
	box-shadow: var(--ast-showtimes-shadow);
}

.ast-showtimes-tabs-shell {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	padding: 16px;
	margin-bottom: 20px;
}

.ast-showtimes-tab {
	min-height: 50px;
	padding: 0 22px;
	border-radius: 10px;
	border: 1px solid var(--ast-showtimes-tab-border);
	background: var(--ast-showtimes-tab-bg);
	color: color-mix(in srgb, var(--ast-showtimes-text) 78%, var(--ast-showtimes-muted) 22%);
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease, background .18s ease;
}

.ast-showtimes-tab:hover,
.ast-showtimes-tab:focus-visible {
	transform: translateY(-1px);
	border-color: color-mix(in srgb, var(--ast-showtimes-accent) 74%, white 26%);
	color: #ffffff;
	box-shadow: 0 10px 22px rgba(6, 182, 212, 0.16);
}

.ast-showtimes-tab.is-active {
	background: var(--ast-showtimes-tab-active-bg);
	border-color: var(--ast-showtimes-accent);
	color: #d9e6ff;
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--ast-showtimes-accent) 44%, transparent), 0 12px 24px rgba(18, 185, 255, 0.15);
}

.ast-showtimes-mobile-select-wrap {
	display: none;
	margin-bottom: 14px;
}

.ast-showtimes-mobile-select-label {
	display: block;
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 700;
	color: var(--ast-showtimes-muted);
}

.ast-showtimes-mobile-select-shell {
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	background: var(--ast-showtimes-tab-bg);
	border: 1px solid var(--ast-showtimes-tab-border);
	box-shadow: var(--ast-showtimes-shadow);
}

.ast-showtimes-mobile-select {
	width: 100%;
	min-height: 48px;
	padding: 0 14px;
	border: 0;
	background: transparent;
	color: var(--ast-showtimes-text);
	font-size: 15px;
	font-weight: 700;
	appearance: none;
	-webkit-appearance: none;
	outline: none;
}

.ast-showtimes-panel {
	padding: 28px 30px;
}

.ast-showtimes-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.ast-showtimes-card {
	min-width: 0;
}

.ast-showtimes-card.is-hidden {
	display: none;
}

.ast-showtimes-card-link {
	position: relative;
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	align-items: center;
	gap: 14px;
	min-height: 118px;
	padding: 16px;
	border-radius: 16px;
	background: var(--ast-showtimes-card);
	border: 1px solid var(--ast-showtimes-card-border);
	color: inherit;
	text-decoration: none;
	overflow: hidden;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.ast-showtimes-card-link::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1px;
	background: linear-gradient(135deg, color-mix(in srgb, var(--ast-showtimes-accent) 90%, transparent) 0%, color-mix(in srgb, var(--ast-showtimes-accent-strong) 90%, transparent) 100%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	opacity: 0;
	transition: opacity .18s ease;
	pointer-events: none;
}

.ast-showtimes-card-link:hover,
.ast-showtimes-card-link:focus-visible {
	transform: translateY(-2px);
	border-color: color-mix(in srgb, var(--ast-showtimes-accent) 55%, var(--ast-showtimes-accent-strong) 45%);
	box-shadow: 0 20px 36px rgba(0,0,0,.16);
}

.ast-showtimes-card-link:hover::before,
.ast-showtimes-card-link:focus-visible::before {
	opacity: 1;
}

.ast-showtimes-poster {
	width: 100%;
	aspect-ratio: 0.7;
	border-radius: 12px;
	background-size: cover;
	background-position: center;
	box-shadow: 0 10px 24px rgba(0,0,0,.22);
}

.ast-showtimes-copy {
	min-width: 0;
}

.ast-showtimes-card-title {
	margin: 0 0 10px;
	font-size: clamp(22px, 2.1vw, 31px);
	line-height: 1.02;
	letter-spacing: -0.03em;
	color: var(--ast-showtimes-text);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.ast-showtimes-card-link:hover .ast-showtimes-card-title,
.ast-showtimes-card-link:focus-visible .ast-showtimes-card-title {
	color: var(--ast-showtimes-accent);
}

.ast-showtimes-episode-line {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 15px;
	font-weight: 700;
	color: var(--ast-showtimes-accent);
}

.ast-showtimes-episode-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 15px;
	height: 15px;
}

.ast-showtimes-episode-icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

.ast-showtimes-empty {
	margin: 0;
	color: var(--ast-showtimes-muted);
	text-align: center;
	font-size: 15px;
}

html[data-theme='light'] .ast-showtimes-shell {
	--ast-showtimes-surface: linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
	--ast-showtimes-card: linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
	--ast-showtimes-card-border: rgba(148, 163, 184, 0.2);
	--ast-showtimes-text: #1a2333;
	--ast-showtimes-muted: #64748b;
	--ast-showtimes-tab-bg: linear-gradient(180deg, #f5f7fb 0%, #edf2f8 100%);
	--ast-showtimes-tab-border: rgba(148, 163, 184, 0.22);
	--ast-showtimes-tab-active-bg: linear-gradient(180deg, #f2efff 0%, #ebe6fb 100%);
	--ast-showtimes-shadow: 0 20px 44px rgba(35, 64, 104, 0.09);
}

html[data-theme='light'] .ast-showtimes-card-link {
	box-shadow: 0 12px 28px rgba(35, 64, 104, 0.08), inset 0 1px 0 rgba(255,255,255,.85);
}

html[data-theme='light'] .ast-showtimes-card-link:hover,
html[data-theme='light'] .ast-showtimes-card-link:focus-visible {
	box-shadow: 0 18px 34px rgba(44, 93, 173, 0.12);
}

html[data-theme='light'] .ast-showtimes-card-title {
	color: #243245;
}

html[data-theme='light'] .ast-showtimes-tab:hover,
html[data-theme='light'] .ast-showtimes-tab:focus-visible {
	color: #10233d;
}

html[data-theme='light'] .ast-showtimes-tab.is-active {
	color: #213656;
	border-color: #29a9ff;
	background: linear-gradient(180deg, #eef5ff 0%, #e4efff 100%);
	box-shadow: 0 0 0 1px rgba(41, 169, 255, 0.12), 0 12px 24px rgba(64, 141, 255, 0.12);
}

@media (max-width: 1100px) {
	.ast-showtimes-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.ast-showtimes-page {
		padding: 18px 0 28px;
	}

	.ast-showtimes-head {
		margin-bottom: 12px;
	}

	.ast-showtimes-title {
		justify-content: flex-start;
		font-size: 26px;
	}

	.ast-showtimes-tabs-shell {
		display: none;
	}

	.ast-showtimes-mobile-select-wrap {
		display: block;
	}

	.ast-showtimes-panel {
		padding: 18px 16px;
		border-radius: 16px;
	}

	.ast-showtimes-grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.ast-showtimes-card-link {
		grid-template-columns: 62px minmax(0, 1fr);
		min-height: 104px;
		padding: 14px;
		border-radius: 14px;
	}

	.ast-showtimes-card-title {
		font-size: 22px;
	}

	.ast-showtimes-episode-line {
		font-size: 14px;
	}
}

@media (max-width: 420px) {
	.ast-showtimes-title {
		font-size: 23px;
	}

	.ast-showtimes-panel {
		padding: 14px;
	}

	.ast-showtimes-card-link {
		grid-template-columns: 56px minmax(0, 1fr);
		gap: 12px;
		padding: 12px;
		min-height: 96px;
	}

	.ast-showtimes-card-title {
		font-size: 18px;
		margin-bottom: 8px;
	}

	.ast-showtimes-episode-line {
		font-size: 13px;
	}
}
