.ast-status-section {
	padding-top: 28px;
	padding-bottom: 44px;
}

.ast-status-shell {
	--ast-status-surface: linear-gradient(180deg, rgba(16, 24, 39, 0.96) 0%, rgba(13, 19, 32, 0.98) 100%);
	--ast-status-panel: linear-gradient(180deg, rgba(26, 34, 50, 0.94) 0%, rgba(20, 28, 43, 0.98) 100%);
	--ast-status-border: rgba(148, 163, 184, 0.18);
	--ast-status-text: #ecf2ff;
	--ast-status-muted: #94a3b8;
	--ast-status-accent: #2ea8ff;
	--ast-status-accent-strong: #ff6b3d;
}

.ast-status-header {
	margin-bottom: 18px;
}

.ast-status-kicker {
	margin: 0 0 10px;
	color: var(--ast-status-accent);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ast-status-title {
	margin-bottom: 8px;
}

.ast-status-subtitle {
	margin: 0;
	color: var(--ast-status-muted);
	font-size: 15px;
}

.ast-status-tabs {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 22px;
	padding: 12px;
	border-radius: 18px;
	background: var(--ast-status-surface);
	border: 1px solid var(--ast-status-border);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.ast-status-tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 132px;
	min-height: 46px;
	padding: 0 18px;
	border-radius: 14px;
	background: rgba(255,255,255,.04);
	border: 1px solid rgba(255,255,255,.06);
	color: var(--ast-status-text);
	font-size: 15px;
	font-weight: 800;
	text-decoration: none;
	transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.ast-status-tab:hover,
.ast-status-tab:focus-visible {
	transform: translateY(-1px);
	border-color: color-mix(in srgb, var(--ast-status-accent) 70%, transparent);
	color: #ffffff;
	box-shadow: 0 10px 22px rgba(46, 168, 255, 0.15);
}

.ast-status-tab.is-active {
	background: linear-gradient(180deg, color-mix(in srgb, var(--ast-status-accent) 82%, #ffffff 18%) 0%, color-mix(in srgb, var(--ast-status-accent-strong) 78%, var(--ast-status-accent) 22%) 100%);
	border-color: transparent;
	color: #ffffff;
	box-shadow: 0 14px 26px rgba(35, 119, 226, 0.22);
}

.ast-status-board {
	padding: 22px;
	border-radius: 22px;
	background: var(--ast-status-panel);
	border: 1px solid var(--ast-status-border);
	box-shadow: 0 20px 46px rgba(0, 0, 0, 0.18);
}

.ast-status-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 12px;
	margin-bottom: 18px;
}

.ast-status-count,
.ast-status-page-indicator {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 14px;
	border-radius: 999px;
	border: 1px solid var(--ast-status-border);
	background: rgba(255,255,255,.04);
	color: var(--ast-status-text);
	font-size: 13px;
	font-weight: 700;
}

.ast-status-page-indicator {
	color: var(--ast-status-muted);
}

.ast-status-grid {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 186px), 186px));
	justify-content: flex-start;
	gap: 22px;
}

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

.ast-status-card-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.ast-status-card-media {
	position: relative;
	aspect-ratio: 0.72;
	border-radius: 18px;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	box-shadow: 0 18px 32px rgba(0, 0, 0, 0.26);
	transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.ast-status-card-media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(8, 12, 20, 0.08) 0%, rgba(8, 12, 20, 0.18) 28%, rgba(8, 12, 20, 0.58) 62%, rgba(8, 12, 20, 0.96) 100%);
}

.ast-status-card-link:hover .ast-status-card-media,
.ast-status-card-link:focus-visible .ast-status-card-media {
	transform: translateY(-2px);
	box-shadow: 0 22px 40px rgba(0, 0, 0, 0.28);
	filter: saturate(1.04);
}

.ast-status-card-badge {
	position: absolute;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 24px;
	padding: 0 8px;
	border-radius: 8px;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
}

.ast-status-card-badge-episode {
	top: 10px;
	left: 10px;
	background: linear-gradient(180deg, #ff8d47 0%, #ff5c22 100%);
	color: #fff;
}

.ast-status-card-badge-status {
	top: 12px;
	right: -34px;
	min-width: 120px;
	padding: 0 28px;
	border-radius: 0;
	transform: rotate(38deg);
	transform-origin: center;
	box-shadow: 0 10px 18px rgba(0, 0, 0, 0.24);
	text-transform: uppercase;
	letter-spacing: .04em;
	font-size: 10px;
}

.ast-status-card-badge-status-completed {
	background: linear-gradient(180deg, #ff6b6b 0%, #e11d48 100%);
	color: #fff5f7;
}

.ast-status-card-badge-status-ongoing {
	background: linear-gradient(180deg, #29b8ff 0%, #1475ff 100%);
	color: #f2fbff;
}

.ast-status-card-badge-status-upcoming {
	background: linear-gradient(180deg, #ffd44e 0%, #ff9d16 100%);
	color: #311900;
}

.ast-status-card-badge-status-hiatus {
	background: linear-gradient(180deg, #9b8cff 0%, #6754e8 100%);
	color: #f6f3ff;
}

.ast-status-card-overlay {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	padding: 54px 14px 14px;
}

.ast-status-card-title {
	margin: 0;
	font-size: 16px;
	line-height: 1.25;
	color: #ffffff;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.42);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: calc(1.25em * 2);
}

.ast-status-card-link:hover .ast-status-card-title,
.ast-status-card-link:focus-visible .ast-status-card-title {
	color: color-mix(in srgb, var(--ast-status-accent) 78%, white 22%);
}

.ast-status-empty {
	margin: 0;
	padding: 18px;
	text-align: center;
	border-radius: 14px;
	background: rgba(255,255,255,.04);
}

.ast-status-pagination {
	justify-content: center;
	margin-top: 22px;
}

.ast-status-pagination .ast-pagination-item > a,
.ast-status-pagination .ast-pagination-item > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	min-height: 40px;
	padding: 8px 14px;
	border-radius: 12px;
	border: 1px solid var(--ast-status-border);
	background: rgba(255,255,255,.04);
	color: var(--ast-status-text);
	font-weight: 700;
	text-decoration: none;
	transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.ast-status-pagination .ast-pagination-item > a:hover,
.ast-status-pagination .ast-pagination-item > a:focus-visible {
	transform: translateY(-1px);
	border-color: color-mix(in srgb, var(--ast-status-accent) 70%, transparent);
	color: #ffffff;
	box-shadow: 0 10px 22px rgba(46, 168, 255, 0.15);
}

.ast-status-pagination .ast-pagination-item > .current {
	background: linear-gradient(180deg, color-mix(in srgb, var(--ast-status-accent) 82%, #ffffff 18%) 0%, color-mix(in srgb, var(--ast-status-accent-strong) 78%, var(--ast-status-accent) 22%) 100%);
	border-color: transparent;
	color: #ffffff;
	box-shadow: 0 14px 26px rgba(35, 119, 226, 0.22);
}

html[data-theme='light'] .ast-status-shell {
	--ast-status-surface: linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%);
	--ast-status-panel: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
	--ast-status-border: rgba(148, 163, 184, 0.2);
	--ast-status-text: #20314d;
	--ast-status-muted: #64748b;
}

html[data-theme='light'] .ast-status-tabs,
html[data-theme='light'] .ast-status-board {
	box-shadow: 0 18px 42px rgba(42, 65, 108, 0.08);
}

html[data-theme='light'] .ast-status-tab,
html[data-theme='light'] .ast-status-count,
html[data-theme='light'] .ast-status-page-indicator,
html[data-theme='light'] .ast-status-pagination .ast-pagination-item > a,
html[data-theme='light'] .ast-status-pagination .ast-pagination-item > span {
	background: linear-gradient(180deg, #f4f7fb 0%, #edf2f8 100%);
	border-color: #d9e2ef;
	color: #223452;
}

html[data-theme='light'] .ast-status-tab:hover,
html[data-theme='light'] .ast-status-tab:focus-visible,
html[data-theme='light'] .ast-status-pagination .ast-pagination-item > a:hover,
html[data-theme='light'] .ast-status-pagination .ast-pagination-item > a:focus-visible {
	color: #10233d;
	box-shadow: 0 10px 22px rgba(64, 141, 255, 0.12);
}

html[data-theme='light'] .ast-status-tab.is-active,
html[data-theme='light'] .ast-status-pagination .ast-pagination-item > .current {
	background: linear-gradient(180deg, #3b8eff 0%, #2478e8 100%);
	color: #ffffff;
	box-shadow: 0 14px 28px rgba(59, 142, 255, 0.22);
}

html[data-theme='light'] .ast-status-card-media {
	box-shadow: 0 18px 32px rgba(42, 65, 108, 0.12);
}

html[data-theme='light'] .ast-status-card-media::after {
	background: linear-gradient(180deg, rgba(14, 25, 42, 0.04) 0%, rgba(14, 25, 42, 0.12) 28%, rgba(14, 25, 42, 0.42) 62%, rgba(14, 25, 42, 0.9) 100%);
}

@media (max-width: 767px) {
	.ast-status-section {
		padding-top: 18px;
		padding-bottom: 28px;
	}

	.ast-status-tabs {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: 100%;
	}

	.ast-status-tab {
		min-width: 0;
	}

	.ast-status-board {
		padding: 16px;
		border-radius: 18px;
	}

	.ast-status-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
	}

	.ast-status-card-badge-status {
		right: -40px;
		min-width: 126px;
	}
}

@media (max-width: 480px) {
	.ast-status-grid {
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}

	.ast-status-card-badge {
		min-height: 22px;
		padding: 0 7px;
		font-size: 10px;
	}

	.ast-status-card-badge-status {
		right: -42px;
		min-width: 122px;
		padding: 0 22px;
	}

	.ast-status-card-title {
		font-size: 14px;
	}

	.ast-status-card-overlay {
		padding: 46px 12px 12px;
	}

	.ast-status-pagination {
		flex-wrap: wrap;
	}
}
