:root {
	--bg: #071226;
	--bg-soft: #10244b;
	--panel: rgba(7, 18, 38, 0.82);
	--panel-strong: rgba(6, 13, 28, 0.96);
	--line: rgba(255, 255, 255, 0.1);
	--text: #f8fbff;
	--muted: #b7c5df;
	--yellow: #f6d24b;
	--yellow-strong: #f4ba13;
	--blue: #2d8dff;
	--blue-strong: #0947c3;
	--red: #ff5b5b;
	--shadow: 0 26px 80px rgba(0, 0, 0, 0.45);
	--radius-lg: 28px;
	--radius-md: 18px;
	--radius-sm: 12px;
	--player-toolbar-height: 54px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: 'Space Grotesk', sans-serif;
	color: var(--text);
	background:
		radial-gradient(circle at top left, rgba(45, 141, 255, 0.34), transparent 28%),
		radial-gradient(circle at top right, rgba(246, 210, 75, 0.24), transparent 30%),
		linear-gradient(180deg, #08142d 0%, #06111f 58%, #040a12 100%);
	min-height: 100vh;
}

body::before {
	content: '';
	position: fixed;
	inset: 0;
	pointer-events: none;
	background:
		repeating-linear-gradient(
			180deg,
			rgba(255, 255, 255, 0.014) 0,
			rgba(255, 255, 255, 0.014) 1px,
			transparent 1px,
			transparent 3px
		);
	opacity: 0.7;
	mix-blend-mode: soft-light;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	display: block;
	max-width: 100%;
}

button,
input,
textarea,
select {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
}

.site-shell {
	position: relative;
	min-height: 100vh;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	backdrop-filter: blur(16px);
	background: linear-gradient(180deg, rgba(4, 8, 18, 0.86), rgba(4, 8, 18, 0.42));
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header__inner,
.hero,
.info-strip,
.collection,
.cta-banner,
.simple-layout,
.site-footer__inner {
	width: min(1200px, calc(100% - 32px));
	margin-inline: auto;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 36px;
	padding: 2px 0;
}

.brand-link img {
	height: auto;
	width: min(84px, 18vw);
	filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.35));
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--muted);
	font-size: 0.5rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.site-nav a {
	padding: 4px 7px;
	border-radius: 999px;
	transition: background-color 0.22s ease, color 0.22s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
	background: rgba(255, 255, 255, 0.08);
	color: var(--text);
	outline: none;
}

.front-page {
	padding-bottom: 4px;
}

.hero {
	display: grid;
	grid-template-columns: 1fr;
	justify-items: center;
	align-items: center;
	text-align: center;
	gap: 10px;
	padding: 18px 0 2px;
}

.hero__eyebrow,
.section-heading__eyebrow,
.cta-banner__eyebrow,
.player-shell__eyebrow,
.season-panel__eyebrow {
	margin: 0 0 6px;
	font-family: 'Bebas Neue', sans-serif;
	font-size: 0.9rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--yellow);
}

.hero__title,
.section-heading h2,
.cta-banner h2,
.season-panel__hero h2,
.post-card__title {
	margin: 0;
	font-family: 'Bebas Neue', sans-serif;
	letter-spacing: 0.03em;
	line-height: 0.96;
}

.hero__title {
	font-size: clamp(3.5rem, 8vw, 6.8rem);
	max-width: 12ch;
	text-wrap: balance;
}

.hero__content--center {
	display: grid;
	justify-items: center;
}

.hero__title--compact {
	max-width: none;
	font-size: clamp(4.8rem, 10vw, 8.8rem);
	letter-spacing: 0.1em;
}

.hero__lead,
.section-heading > p,
.cta-banner > p,
.season-panel__hero p,
.post-card__content,
.episode-card p,
.post-card__meta,
.info-strip span {
	color: var(--muted);
	line-height: 1.65;
}

.hero__lead {
	max-width: 58ch;
	font-size: 1.02rem;
	margin: 22px 0 0;
}

.hero__lead--compact {
	max-width: 42ch;
	margin-top: 8px;
	font-size: 0.95rem;
}

.hero__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 30px 0 24px;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 22px;
	border: 0;
	border-radius: 999px;
	font-weight: 700;
	transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.button:hover,
.button:focus-visible,
.season-card:hover,
.season-card:focus-visible,
.episode-card__play:hover,
.episode-card__play:focus-visible,
.episode-card__link:hover,
.episode-card__link:focus-visible,
.modal__close:hover,
.modal__close:focus-visible {
	transform: translateY(-2px);
	outline: none;
}

.button--primary {
	background: linear-gradient(135deg, var(--yellow), var(--yellow-strong));
	color: #09162d;
	box-shadow: 0 16px 40px rgba(244, 186, 19, 0.25);
}

.button--secondary {
	background: rgba(255, 255, 255, 0.08);
	color: var(--text);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__marquee {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.hero-chip {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 10px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: var(--muted);
}

.hero-chip strong {
	color: var(--text);
}

.hero-poster {
	position: relative;
	padding: 26px;
	border-radius: calc(var(--radius-lg) + 4px);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent),
		linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 40%),
		linear-gradient(140deg, var(--season-accent), rgba(10, 28, 56, 0.94));
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: var(--shadow);
	overflow: hidden;
}

.hero-poster::after {
	content: '';
	position: absolute;
	inset: 12px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: calc(var(--radius-lg) - 2px);
	pointer-events: none;
}

.hero-poster__badge {
	display: inline-block;
	padding: 8px 12px;
	margin-bottom: 18px;
	border-radius: 999px;
	background: rgba(7, 18, 38, 0.6);
	color: var(--yellow);
	font-family: 'Bebas Neue', sans-serif;
	letter-spacing: 0.14em;
}

.hero-poster__image-wrap,
.hero-poster__placeholder {
	aspect-ratio: 2 / 3;
	border-radius: 24px;
	overflow: hidden;
	background:
		linear-gradient(180deg, rgba(9, 15, 32, 0.1), rgba(9, 15, 32, 0.82)),
		linear-gradient(140deg, var(--season-accent), #081322);
}

.hero-poster__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-poster__placeholder {
	display: grid;
	align-items: end;
	padding: 22px;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-poster__placeholder span,
.season-card__topline {
	font-family: 'Bebas Neue', sans-serif;
	font-size: 1rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--yellow);
}

.hero-poster__placeholder strong {
	font-family: 'Bebas Neue', sans-serif;
	font-size: clamp(2.3rem, 7vw, 4rem);
	line-height: 0.95;
	letter-spacing: 0.04em;
}

.hero-poster__meta {
	padding-top: 22px;
}

.hero-poster__year {
	margin: 0 0 8px;
	color: var(--yellow);
	font-weight: 700;
}

.hero-poster__meta h2 {
	margin: 0 0 10px;
	font-family: 'Bebas Neue', sans-serif;
	font-size: clamp(2rem, 4vw, 3rem);
	letter-spacing: 0.04em;
}

.info-strip {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	padding: 10px 0 6px;
}

.info-strip div,
.content-card,
.cta-banner {
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(8, 16, 32, 0.76);
	backdrop-filter: blur(10px);
	box-shadow: var(--shadow);
}

.info-strip div {
	display: grid;
	gap: 4px;
	padding: 12px 14px;
	border-radius: 14px;
}

.info-strip strong {
	font-family: 'Bebas Neue', sans-serif;
	font-size: 1.1rem;
	letter-spacing: 0.08em;
}

.info-strip--compact {
	width: min(560px, calc(100% - 32px));
	margin-inline: auto;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-strip--compact span {
	font-size: 0.78rem;
	line-height: 1.2;
}

.collection {
	padding: 0 0 6px;
}

.section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 24px;
}

.section-heading h2,
.cta-banner h2 {
	font-size: clamp(2.3rem, 5vw, 3.8rem);
}

.section-heading > p {
	max-width: 44ch;
	margin: 0;
}

.season-rail {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 10px 24px 0;
	overflow: visible;
}

.season-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 14px;
	flex: 0 0 auto;
	width: clamp(170px, 16vw, 210px);
	min-height: clamp(260px, 44svh, 380px);
	padding: 18px;
	margin-left: -22px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--radius-lg);
	background:
		linear-gradient(180deg, rgba(6, 12, 24, 0.06), rgba(6, 12, 24, 0.86)),
		linear-gradient(145deg, var(--season-accent), #081221 72%);
	box-shadow: var(--shadow);
	overflow: hidden;
	text-align: left;
	color: var(--text);
	z-index: 1;
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.season-card:first-child {
	margin-left: 0;
}

.season-card::after {
	content: '';
	position: absolute;
	inset: 10px;
	border-radius: calc(var(--radius-lg) - 8px);
	border: 1px solid rgba(255, 255, 255, 0.08);
	pointer-events: none;
}

.season-card::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at center, rgba(255, 255, 255, 0.22), transparent 60%);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.season-card--cover {
	background-image:
		linear-gradient(180deg, rgba(6, 12, 24, 0.08) 8%, rgba(6, 12, 24, 0.56) 55%, rgba(2, 7, 16, 0.96) 100%),
		var(--season-cover);
	background-position: center;
	background-size: cover;
}

.season-card__body {
	display: grid;
	align-content: end;
	gap: 8px;
	margin-top: auto;
	position: relative;
	z-index: 1;
}

.season-card__title {
	font-family: 'Bebas Neue', sans-serif;
	font-size: clamp(2.2rem, 4vw, 3.2rem);
	line-height: 0.95;
	letter-spacing: 0.06em;
	color: #ffffff;
	text-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
}

.season-card__meta {
	color: rgba(255, 255, 255, 0.95);
	font-size: 0.9rem;
	font-weight: 700;
	text-shadow: 0 4px 20px rgba(0, 0, 0, 0.75);
}

.season-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: fit-content;
	padding: 10px 16px;
	margin-top: 6px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid rgba(255, 255, 255, 0.4);
	color: #081322;
	font-weight: 700;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.cta-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 40px;
	padding: 28px;
	border-radius: var(--radius-lg);
}

.cta-banner > p {
	max-width: 36ch;
	margin: 0;
}

.modal[hidden] {
	display: none;
}

.modal {
	position: fixed;
	inset: 0;
	z-index: 70;
	padding: 24px 16px;
	opacity: 0;
	transition: opacity 0.28s ease;
}

.modal--player {
	z-index: 80;
	inset: 0;
	padding: 0;
	background: rgba(2, 6, 12, 0.96);
}

.modal--player .modal__backdrop {
	display: none;
}

.modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(3, 7, 15, 0.74);
	backdrop-filter: blur(10px);
	opacity: 0;
	transition: opacity 0.28s ease;
}

.modal__dialog {
	position: relative;
	z-index: 1;
	width: min(960px, 100%);
	max-height: calc(100vh - 48px);
	margin: 0 auto;
	border-radius: 28px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: var(--panel-strong);
	box-shadow: var(--shadow);
	overflow: auto;
	opacity: 0;
	transform: translateY(24px) scale(0.975);
	transition: opacity 0.28s ease, transform 0.34s ease;
}

.modal__dialog--player {
	position: fixed;
	inset: 0;
	width: 100vw;
	height: 100dvh;
	min-height: 100vh;
	max-height: none;
	margin: 0;
	border-radius: 0;
	border: 0;
	background: #02060c;
	overflow: hidden;
	transform: none;
}

.modal__content {
	padding: 28px;
}

.modal__close {
	position: sticky;
	top: 12px;
	right: 12px;
	float: right;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	margin: 12px 12px 0 0;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	color: var(--text);
	font-size: 1.8rem;
	line-height: 1;
	z-index: 2;
}

.season-panel {
	display: grid;
	gap: 24px;
	opacity: 0;
	transform: translateY(14px);
	filter: blur(10px);
}

.season-panel.is-loaded {
	opacity: 1;
	transform: translateY(0);
	filter: blur(0);
	transition: opacity 0.45s ease, transform 0.55s ease, filter 0.55s ease;
}

.season-panel__hero {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	padding: 28px;
	border-radius: 24px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
		linear-gradient(140deg, var(--season-accent), #081322 72%);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.season-panel__hero h2 {
	font-size: clamp(3.2rem, 9vw, 6rem);
	letter-spacing: 0.08em;
}

.season-panel__count {
	min-width: 124px;
	padding: 16px 18px;
	border-radius: 20px;
	background: rgba(7, 18, 38, 0.68);
	border: 1px solid rgba(255, 255, 255, 0.08);
	text-align: center;
}

.season-panel__count strong {
	display: block;
	font-family: 'Bebas Neue', sans-serif;
	font-size: 3rem;
	line-height: 1;
	letter-spacing: 0.05em;
}

.episode-list {
	display: grid;
	gap: 14px;
}

.episode-card {
	display: grid;
	grid-template-columns: auto 150px minmax(0, 1fr) auto;
	gap: 18px;
	align-items: center;
	padding: 18px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.06);
	opacity: 0;
	transform: translateY(22px);
	filter: blur(10px);
	transition: opacity 0.42s ease, transform 0.5s ease, filter 0.5s ease;
	transition-delay: calc(var(--episode-index, 0) * 55ms + 140ms);
}

.season-panel.is-loaded .episode-card {
	opacity: 1;
	transform: translateY(0);
	filter: blur(0);
}

.episode-card__number {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border-radius: 18px;
	background: rgba(246, 210, 75, 0.14);
	color: var(--yellow);
	font-family: 'Bebas Neue', sans-serif;
	font-size: 1.9rem;
	letter-spacing: 0.08em;
}

.episode-card__thumb {
	position: relative;
	width: 150px;
	aspect-ratio: 16 / 9;
	border-radius: 16px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.episode-card__thumb img,
.episode-card__thumb-fallback {
	display: block;
	width: 100%;
	height: 100%;
}

.episode-card__thumb img {
	object-fit: cover;
}

.episode-card__thumb-fallback {
	display: grid;
	place-items: center;
	font-family: 'Bebas Neue', sans-serif;
	font-size: 2rem;
	letter-spacing: 0.14em;
	color: var(--yellow);
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent),
		linear-gradient(145deg, var(--season-accent), #081322 72%);
}

.episode-card__body {
	display: grid;
	gap: 10px;
}

.episode-card__body h3 {
	margin: 0;
	font-size: 1.06rem;
	line-height: 1.35;
}

.episode-card__meta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.episode-card__pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.88);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.episode-card__actions {
	display: grid;
	gap: 10px;
	justify-items: end;
}

.episode-card__play {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 132px;
	padding: 12px 18px;
	border-radius: 999px;
	font-weight: 700;
	transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.episode-card__play {
	border: 0;
	background: linear-gradient(135deg, var(--yellow), var(--yellow-strong));
	color: #0b1731;
	letter-spacing: 0.16em;
}

.episode-card__status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 132px;
	padding: 12px 18px;
	border-radius: 999px;
	background: rgba(255, 91, 91, 0.12);
	color: #ffb4b4;
	text-align: center;
}

.season-panel__empty {
	padding: 28px;
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px dashed rgba(255, 255, 255, 0.14);
}

.player-shell {
	display: flex;
	flex-direction: column;
	height: 100dvh;
	min-height: 100vh;
	padding: 0;
}

.player-shell__toolbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 4;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 12px;
	min-height: var(--player-toolbar-height);
	padding: 8px 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	background:
		linear-gradient(180deg, rgba(5, 12, 24, 0.96), rgba(5, 12, 24, 0.82)),
		radial-gradient(circle at left, rgba(246, 210, 75, 0.16), transparent 32%);
}

.player-shell__toolbar-start,
.player-shell__toolbar-center {
	display: flex;
	align-items: center;
}

.player-shell__toolbar-center {
	justify-content: center;
	min-width: 0;
}

.player-shell__titleline {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	margin: 0;
	white-space: nowrap;
}

.player-shell__titlelabel {
	font-family: 'Bebas Neue', sans-serif;
	font-size: 0.72rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--yellow);
}

.player-shell__titletext {
	display: block;
	max-width: min(44vw, 560px);
	overflow: hidden;
	text-overflow: ellipsis;
	font-family: 'Space Grotesk', sans-serif;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.player-shell__actions {
	display: flex;
	align-items: center;
	gap: 4px;
}

.player-shell__back,
.player-shell__mini-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 5px 9px;
	border-radius: 999px;
	font-size: 0.5rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	line-height: 1;
	white-space: nowrap;
}

.player-shell__back {
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.04);
	color: var(--text);
}

.player-shell__mini-link {
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.05);
	color: var(--text);
}

.player-shell__frame {
	margin-top: var(--player-toolbar-height);
	height: calc(100dvh - var(--player-toolbar-height));
	flex: none;
	min-height: 0;
	border-radius: 0;
	overflow: hidden;
	border: 0;
	background: #02060c;
	box-shadow: none;
}

.player-shell__frame iframe,
.single-player iframe {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
}

.modal--player .player-shell__frame iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 0;
	aspect-ratio: auto;
}

.modal--player .player-shell__frame {
	height: 100dvh;
}

.simple-layout {
	padding: 54px 0 84px;
}

.content-card {
	padding: 32px;
	border-radius: 28px;
}

.content-card--single {
	display: grid;
	gap: 20px;
}

.single-backlink {
	margin: 0;
}

.single-backlink a {
	display: inline-flex;
	padding: 10px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
}

.single-player {
	border-radius: 24px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: #02060c;
}

.site-footer {
	padding: 0 0 8px;
}

.site-footer__inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	padding-top: 0;
	color: var(--muted);
	font-size: 0.68rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

body.modal-open {
	overflow: hidden;
}

.modal.is-visible {
	opacity: 1;
}

.modal.is-visible .modal__backdrop,
.modal.is-visible .modal__dialog {
	opacity: 1;
}

.modal.is-visible .modal__dialog {
	transform: translateY(0) scale(1);
}

.modal--player.is-visible .modal__dialog--player {
	transform: none;
}

.season-card:hover,
.season-card:focus-visible {
	transform: translateY(-16px) scale(1.06);
	box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
	z-index: 20;
}

.season-card:hover::before,
.season-card:focus-visible::before {
	opacity: 1;
}

.modal.is-visible .season-panel {
	animation: seasonPanelFade 0.34s ease both;
}

@media (min-width: 981px) {
	body.home:not(.modal-open) {
		overflow: hidden;
	}

	.home .site-shell {
		height: 100svh;
		display: grid;
		grid-template-rows: auto 1fr auto;
	}

	.home .front-page {
		display: grid;
		align-content: center;
		min-height: 0;
		gap: 0;
	}

	.home .collection {
		display: flex;
		align-items: center;
		justify-content: center;
	}
}

@media (max-width: 1080px) {
	.season-rail {
		padding-inline: 10px 30px;
	}

	.section-heading,
	.cta-banner,
	.season-panel__hero {
		flex-direction: column;
		align-items: start;
	}
}

@media (max-width: 780px) {
	:root {
		--player-toolbar-height: 82px;
	}

	.site-header__inner {
		min-height: 32px;
		padding: 2px 0;
	}

	.site-nav {
		display: none;
	}

	.hero {
		padding-top: 20px;
	}

	.hero__title {
		font-size: clamp(3rem, 13vw, 4.8rem);
	}

	.info-strip {
		grid-template-columns: 1fr;
	}

	.collection {
		padding-top: 10px;
	}

	.season-rail {
		grid-auto-flow: column;
		grid-auto-columns: minmax(76vw, 300px);
		display: grid;
		grid-template-columns: none;
		overflow-x: auto;
		justify-content: start;
		padding: 8px 0 8px;
		padding-bottom: 8px;
		scroll-snap-type: x proximity;
	}

	.season-card {
		width: auto;
		min-height: 400px;
		margin-left: 0;
		scroll-snap-align: start;
	}

	.modal {
		padding: 10px;
	}

	.modal--player {
		padding: 0;
	}

	.modal__dialog {
		max-height: calc(100vh - 20px);
		border-radius: 24px;
	}

	.modal__dialog--player {
		position: fixed;
		inset: 0;
		max-height: none;
		border-radius: 0;
	}

	.modal__content {
		padding: 16px;
	}

	.player-shell {
		padding: 0;
	}

	.player-shell__toolbar {
		grid-template-columns: 1fr;
		justify-items: stretch;
		gap: 6px;
		padding: 8px 10px;
	}

	.player-shell__toolbar-center {
		justify-content: start;
	}

	.episode-card {
		grid-template-columns: 1fr;
		justify-items: start;
	}

	.episode-card__thumb {
		width: 100%;
		max-width: 320px;
	}

	.episode-card__actions {
		width: 100%;
		justify-items: stretch;
	}

	.episode-card__play,
	.episode-card__status {
		width: 100%;
	}

	.content-card {
		padding: 22px;
	}
}

@media (max-width: 560px) {
	:root {
		--player-toolbar-height: 86px;
	}

	.site-header__inner,
	.hero,
	.info-strip,
	.collection,
	.cta-banner,
	.simple-layout,
	.site-footer__inner {
		width: min(calc(100% - 20px), 1200px);
	}

	.hero__buttons {
		flex-direction: column;
		align-items: stretch;
	}

	.button {
		width: 100%;
	}

	.hero-poster,
	.cta-banner,
	.content-card {
		border-radius: 22px;
	}

	.season-panel__hero {
		padding: 20px;
	}

	.info-strip--compact {
		width: min(calc(100% - 20px), 560px);
	}

	.player-shell__toolbar {
		justify-items: stretch;
	}

	.player-shell__actions {
		width: 100%;
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.player-shell__titletext {
		max-width: 100%;
	}

	.player-shell__back,
	.player-shell__mini-link {
		flex: 1;
	}
}

@keyframes seasonPanelFade {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}
}
