body.sr-consumption,
body.sr-consumption .site {
	background: #0d1017;
}

body.sr-consumption .site-content {
	display: block;
}

.sr-consumption-page {
	box-sizing: border-box;
	width: min(100% - 32px, 860px);
	min-height: 60vh;
	margin-inline: auto;
	padding-block: clamp(24px, 5vw, 56px);
	color: #f5f7fb;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sr-consumption-page *,
.sr-consumption-page *::before,
.sr-consumption-page *::after {
	box-sizing: border-box;
}

.sr-consumption-header {
	max-width: 74ch;
	margin: 0 auto clamp(22px, 4vw, 36px);
	text-align: center;
}

.sr-consumption-parent {
	display: inline-block;
	margin-bottom: 8px;
	color: #ff7890;
	font-size: 0.88rem;
	font-weight: 750;
	text-decoration: none;
}

.sr-consumption-header h1 {
	margin: 0;
	color: #f5f7fb;
	font-size: var(--sr-type-consumption-title);
	line-height: 1.15;
}

.sr-player-section {
	display: flex;
	justify-content: center;
}

.sr-video-player,
.sr-video-unavailable {
	width: min(100%, 420px);
	aspect-ratio: 9 / 16;
	margin-inline: auto;
	background: #05070b;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	overflow: hidden;
}

.sr-video-player iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.sr-video-unavailable {
	display: grid;
	place-items: center;
	min-height: 320px;
	padding: 24px;
	color: #aeb6c7;
	text-align: center;
}

.sr-episode-nav,
.sr-chapter-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	max-width: 740px;
	margin: clamp(22px, 4vw, 36px) auto;
}

.sr-episode-nav a,
.sr-chapter-nav a,
.sr-terminal-state {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 11px 16px;
	background: #202634;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 10px;
	color: #f5f7fb;
	font-weight: 750;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
}

.sr-episode-nav a:hover,
.sr-chapter-nav a:hover {
	border-color: rgba(255, 56, 92, 0.75);
	color: #ff8da1;
}

.sr-episode-nav a:focus-visible,
.sr-chapter-nav a:focus-visible,
.sr-consumption-parent:focus-visible {
	outline: 3px solid #ffd45c;
	outline-offset: 3px;
}

.sr-terminal-state {
	color: #7ce7ac;
}

.sr-chapter-nav > :only-child {
	grid-column: 1 / -1;
}

.sr-reel-reading-transition {
	max-width: 72ch;
	margin: clamp(28px, 5vw, 48px) auto 0;
	color: #aeb6c7;
	font-size: clamp(1rem, 1.4vw, 1.08rem);
	line-height: 1.6;
}

.sr-reel-reading-transition-title {
	margin: 0;
	color: #f5f7fb;
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.3;
}

.sr-reel-reading-transition p + p {
	margin: 8px 0 0;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
}

.sr-reel-reading-transition + .sr-novel-content {
	margin-top: 24px;
}

.sr-novel-content {
	max-width: 700px;
	margin: clamp(24px, 5vw, 48px) auto;
	color: #e2e5ea;
	font-size: 17px;
	line-height: 1.75;
}

.sr-novel-content p {
	margin: 0 0 1.2em;
}

.sr-novel-content h2,
.sr-novel-content h3,
.sr-novel-content h4 {
	margin: 1.7em 0 0.65em;
	color: #f5f7fb;
	line-height: 1.25;
}

.sr-novel-content h2 {
	font-size: 1.5em;
}

.sr-novel-content h3 {
	font-size: 1.25em;
}

.sr-novel-content h4 {
	font-size: 1.1em;
}

.sr-novel-content .storyreel-ad {
	font-size: 16px;
	line-height: normal;
}

.sr-novel-content .storyreel-ad p {
	margin: revert;
}

.sr-novel-content img,
.sr-novel-content video,
.sr-novel-content iframe {
	max-width: 100%;
	height: auto;
}

.sr-novel-content table {
	display: block;
	overflow-x: auto;
	max-width: 100%;
}

@media (max-width: 767px) {
	.sr-reel-reading-transition-title {
		font-size: 1.25rem;
	}

	.sr-consumption-page {
		width: min(100% - 20px, 720px);
		padding-block: 22px 40px;
	}

	.sr-consumption-page .sr-single-main,
	.sr-reel-page .sr-consumption-lead {
		width: calc(100% - var(--sr-shell-gutter));
		margin-inline: var(--sr-shell-gutter) 0;
	}

	.sr-video-player,
	.sr-video-unavailable {
		width: min(100%, 430px);
		border-radius: 12px;
	}

	.sr-episode-nav,
	.sr-chapter-nav {
		gap: 9px;
	}

	.sr-episode-nav a,
	.sr-chapter-nav a,
	.sr-terminal-state {
		min-height: 50px;
		padding-inline: 10px;
		font-size: 0.9rem;
	}

	.sr-novel-content {
		font-size: 17px;
		line-height: 1.72;
	}
}

@media (max-width: 359px) {
	.sr-episode-nav,
	.sr-chapter-nav {
		grid-template-columns: 1fr;
	}

	.sr-episode-nav > span:empty {
		display: none;
	}
}
