@font-face {
	font-family: 'Nunito';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/nunito-latin-400-normal.woff2') format('woff2');
}

@font-face {
	font-family: 'Nunito';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../fonts/nunito-latin-600-normal.woff2') format('woff2');
}

@font-face {
	font-family: 'Nunito';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/nunito-latin-700-normal.woff2') format('woff2');
}

@font-face {
	font-family: 'Baloo 2';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../fonts/baloo-2-latin-600-normal.woff2') format('woff2');
}

@font-face {
	font-family: 'Baloo 2';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/baloo-2-latin-700-normal.woff2') format('woff2');
}

:root {
	--sky: #d8f0ff;
	--mint: #dff6d2;
	--navy: #21486b;
	--ink: #12314b;
	--sun: #ffd565;
	--peach: #ffefd7;
	--white: #ffffff;
	--panel: rgba(255, 255, 255, 0.82);
	--border: rgba(28, 73, 109, 0.14);
	--shadow: 0 18px 45px rgba(32, 84, 124, 0.14);
	--shadow-soft: 0 10px 24px rgba(23, 70, 105, 0.08);
	--radius: 28px;
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	min-height: 100%;
}

body {
	font-family: 'Nunito', sans-serif;
	color: var(--ink);
	background:
		radial-gradient(circle at top left, rgba(255, 255, 255, 0.8), transparent 30%),
		radial-gradient(circle at bottom right, rgba(255, 223, 132, 0.3), transparent 20%),
		linear-gradient(180deg, #bfe7ff 0%, #edf9ff 54%, #dff7d8 100%);
}

img {
	display: block;
	max-width: 100%;
}

button,
input,
select,
textarea {
	font: inherit;
}

a {
	color: inherit;
	text-decoration: none;
}

.shell {
	width: min(1240px, calc(100% - 24px));
	margin: 0 auto;
	padding: 24px 0 40px;
}

.reader-shell {
	width: min(1440px, calc(100% - 10px));
	max-width: 1440px;
}

.app-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 24px;
}

.app-header h1 {
	margin: 0;
	font-family: 'Baloo 2', sans-serif;
	font-size: clamp(2rem, 4vw, 3.4rem);
	line-height: 0.95;
	color: var(--navy);
}

.compact h1 {
	font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.lede,
.reader-panel p {
	margin: 8px 0 0;
	color: rgba(18, 49, 75, 0.8);
}

.eyebrow,
.panel-label {
	margin: 0 0 8px;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: rgba(33, 72, 107, 0.66);
}

.header-actions,
.stack-row,
.nav-row,
.meta-row,
.toggle-bar {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.button,
.reader-word,
.reader-hotspot {
	border: 0;
	border-radius: 999px;
}

.button {
	padding: 12px 18px;
	background: linear-gradient(135deg, #1f7ad0, #2d96ec);
	color: var(--white);
	font-weight: 700;
	cursor: pointer;
	box-shadow: var(--shadow-soft);
}

.button.ghost {
	background: rgba(255, 255, 255, 0.78);
	color: var(--navy);
	border: 1px solid var(--border);
	box-shadow: none;
}

.button.danger {
	background: linear-gradient(135deg, #db5a5a, #ef7777);
}

.button.tiny {
	padding: 8px 12px;
	font-size: 0.88rem;
}

.book-card,
.reader-stage-card,
.reader-panel,
.empty-state {
	background: var(--panel);
	backdrop-filter: blur(14px);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.empty-state {
	padding: 18px 22px;
	margin-bottom: 24px;
}

.read-chip {
	display: inline-flex;
	align-items: center;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.76);
	border: 1px solid rgba(33, 72, 107, 0.14);
	font-weight: 700;
	margin-left: auto;
}

.book-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.book-card {
	position: relative;
	padding: 6px 8px;
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.book-card:hover {
	transform: translateY(-4px) rotate(-0.5deg);
}

.edit-chip {
	position: absolute;
	top: 14px;
	right: 14px;
	display: inline-flex;
	align-items: center;
	padding: 5px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(33, 72, 107, 0.2);
	font-weight: 700;
	font-size: 0.8rem;
	color: var(--navy);
	text-decoration: none;
	transition: background 0.15s;
	z-index: 2;
}

.edit-chip:hover {
	background: #fff;
}

.cover-frame {
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border-radius: 24px;
	background: linear-gradient(180deg, #e5f6ff, #f7ffe9);
	border: 1px solid rgba(255, 255, 255, 0.8);
}

.cover-frame img,
.preview-canvas img,
.reader-page-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.book-meta {
	padding: 8px 6px 6px;
}

.book-meta .meta-row {
	display: flex;
	align-items: center;
}

.book-meta h2 {
	margin: 0 0 10px;
	font-family: 'Baloo 2', sans-serif;
	font-size: 1.5rem;
	line-height: 1;
}

.reader-layout {
	display: block;
}

body[data-page="reader"] {
	overflow: hidden;
	background: #dbeeff;
}

body[data-page="reader"] .reader-shell {
	width: 100%;
	max-width: none;
	padding: 0;
	height: 100vh;
}

body[data-page="reader"] .reader-layout {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100vh;
	overflow: hidden;
}

.reader-menu-toggle {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 46px;
	height: 46px;
	border: 1px solid rgba(33, 72, 107, 0.25);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--navy);
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
	box-shadow: var(--shadow-soft);
	z-index: 32;
}

.reader-menu-toggle[aria-expanded="true"] {
	background: #ffd565;
}

.reader-menu-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(18, 49, 75, 0.42);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
	z-index: 28;
}

.reader-menu-backdrop.is-open {
	opacity: 1;
	pointer-events: auto;
}

.reader-slide-menu {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(420px, 92vw);
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 16px;
	background: rgba(255, 255, 255, 0.95);
	border-left: 1px solid rgba(33, 72, 107, 0.2);
	backdrop-filter: blur(12px);
	transform: translateX(100%);
	transition: transform 0.24s ease;
	z-index: 31;
	overflow-y: auto;
}

.reader-slide-menu.is-open {
	transform: translateX(0);
}

.reader-slide-menu-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.reader-slide-menu-header h2 {
	margin: 0;
	font-family: 'Baloo 2', sans-serif;
	font-size: 1.7rem;
	line-height: 1;
	color: var(--navy);
}

.reader-slide-menu-close {
	border: 0;
	background: transparent;
	color: var(--navy);
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
	padding: 0 4px;
}

.reader-menu-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.reader-menu-actions .button {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	text-align: center;
	padding: 12px 10px;
	font-weight: 800;
}

.reader-menu-preferences-title {
	text-align: left;
	font-family: 'Baloo 2', sans-serif;
	font-size: 1.05rem;
	font-weight: 800;
	color: var(--navy);
	margin: 6px 0 8px 0;
	align-self: flex-start;
}

.reader-menu-preferences-title + .reader-menu-preferences-shell .toggle-bar {
    margin-top: 6px;
}

.reader-menu-preferences-shell {
	margin: 0;
	padding: 0;
	position: static;
	pointer-events: auto;
	background: transparent;
	border: 0;
}

.reader-menu-preferences-shell .toggle-bar {
	margin: 0;
	padding: 12px;
	border-radius: 16px;
	border: 1px solid rgba(33, 72, 107, 0.16);
	background: rgba(245, 250, 255, 0.9);
}

.toggle-bar {
	margin-bottom: 18px;
	padding: 14px 18px;
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.76);
	border: 1px solid var(--border);
}

.reading-preferences-shell {
	margin-bottom: 18px;
}

.home-toggle-bar::before {
	content: 'Reading preferences';
	display: block;
	width: 100%;
	font-weight: 700;
	font-size: 0.82rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--navy);
	opacity: 0.6;
	margin-bottom: 6px;
}

.toggle-bar label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	cursor: pointer;
	padding: 10px 18px;
	margin: 0 8px 8px 0;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.07);
	color: rgba(18, 49, 75, 0.45);
	border: none;
	box-shadow: none;
	transition: background 0.18s, color 0.18s, box-shadow 0.18s;
	font-size: 1rem;
	outline: none;
}

.toggle-bar label:has(input[type="checkbox"]:checked) {
	background: #ffd565;
	color: #21486b;
	box-shadow: 0 4px 12px rgba(255, 213, 101, 0.45);
}

.toggle-bar input[type="checkbox"] {
	display: none;
}

.toggle-bar label:focus-within {
	outline: 2px solid #ffd565;
	outline-offset: 2px;
}

.reader-stage-card {
	padding: 0;
	margin-top: 58px;
}

body[data-page="reader"] .reader-stage-card {
	position: relative;
	flex: 1;
	margin-top: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	backdrop-filter: none;
	overflow: hidden;
	background: #cfe9ff;
}

.reader-stage {
	position: relative;
	overflow: hidden;
	border-radius: 24px;
	aspect-ratio: 16 / 9;
	background: linear-gradient(180deg, #d9efff, #f2ffe3);
	container-type: size;
}

body[data-page="reader"] .reader-stage {
	height: 100%;
	border-radius: 0;
	aspect-ratio: auto;
}

body[data-page="reader"] .reader-flipbook {
	border-radius: 0;
}

.reader-flipbook {
	position: absolute;
	inset: 0;
	z-index: 1;
	height: 100%;
	width: 100%;
	border-radius: 24px;
	overflow: hidden;
}

.reader-stage.is-transitioning {
	animation: page-swell 220ms ease;
}

.reader-overlays,
.reader-word-blocks,
.reader-hotspots,
.reader-effects {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.reader-overlays,
.reader-word-blocks,
.reader-hotspots,
.reader-effects,
.reader-page-indicator,
.reader-book-title,
.reader-mid-overlay,
.reader-nav-arrow {
	z-index: 6;
}

.reader-book-title {
	position: absolute;
	top: 16px;
	left: 16px;
	margin: 0;
	max-width: min(65%, 520px);
	font-family: 'Baloo 2', sans-serif;
	font-size: clamp(0.95rem, 2.35vw, 1.25rem);
	line-height: 1.08;
	color: rgba(18, 49, 75, 0.96);
	text-shadow: 0 1px 2px rgba(255, 255, 255, 0.7);
	pointer-events: none;
	user-select: none;
}

.reader-mid-overlay {
	position: absolute;
	left: 50%;
	top: 16px;
	transform: translateX(-50%);
	padding: 0;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	max-width: calc(100% - 24px);
	flex-wrap: wrap;
	z-index: 6;
	opacity: 0.9;
}

.reader-mid-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 11px;
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 800;
	border: 1px solid rgba(33, 72, 107, 0.2);
	background: rgba(33, 72, 107, 0.86);
	color: #fff;
}

.reader-mid-link:hover {
	background: rgba(22, 53, 80, 0.96);
}

.reader-mid-link:last-child {
	background: rgba(255, 213, 101, 0.92);
	color: #21486b;
	border-color: rgba(33, 72, 107, 0.2);
}

.reader-mid-toggle-bar {
	margin: 0;
	padding: 0;
	border-radius: 0;
	background: transparent;
	border: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.reader-mid-toggle-bar label {
	margin: 0;
	padding: 6px 9px;
	font-size: 0.78rem;
	background: rgba(255, 255, 255, 0.58);
}

.reader-overlays,
.reader-word-blocks,
.reader-hotspots,
.reader-effects {
	pointer-events: none;
}

.reader-word-block {
	position: absolute;
	border: 0;
	background: rgba(255, 255, 255, 0.02);
	border-radius: 0.6cqw;
	pointer-events: auto;
	cursor: pointer;
	transition: background-color 120ms ease, box-shadow 120ms ease;
}

.reader-word-block.is-dictionary {
	border-bottom: 2px dotted rgba(24, 49, 73, 0.72);
}

.reader-word-block.is-active {
	background: var(--reader-highlight-bg, rgba(255, 211, 95, 0.35));
	box-shadow: inset 0 0 0 1px var(--reader-highlight-outline, rgba(219, 170, 52, 0.52));
}

.reader-text-block {
	position: absolute;
	padding: 1cqw 1.2cqw;
	border-radius: 1.7cqw;
	font-size: 1.35cqw;
	background: rgba(255, 255, 255, 0.78);
	box-shadow: var(--shadow-soft);
	overflow: hidden;
	line-height: 1.35;
}

.reader-word {
	display: inline-block;
	padding: 0 0.12em;
	margin: 0 0.03em;
	background: transparent;
	color: inherit;
	cursor: pointer;
	font-weight: inherit;
	font-style: inherit;
	text-decoration: inherit;
	pointer-events: auto;
	border-radius: 0.28em;
	transition: background-color 0.12s ease, box-shadow 0.12s ease;
}

.reader-overlays.is-dictionary-enabled .reader-word.has-dictionary {
	text-decoration-line: underline;
	text-decoration-style: dotted;
	text-underline-offset: 0.14em;
	text-decoration-thickness: 1.5px;
}

.reader-word.is-active {
	background: var(--reader-highlight-strong, rgba(255, 211, 95, 0.68));
	box-shadow: inset 0 0 0 1px var(--reader-highlight-outline, rgba(219, 170, 52, 0.4));
}

.reader-hotspot {
	position: absolute;
	width: 2.4cqw;
	height: 2.4cqw;
	margin-left: -1.2cqw;
	margin-top: -1.2cqw;
	border-radius: 50%;
	background: rgba(255, 110, 110, 0.9);
	border: 0.35cqw solid rgba(255, 255, 255, 0.8);
	cursor: pointer;
	box-shadow: 0 0 0 0.85cqw rgba(255, 110, 110, 0.12);
	pointer-events: auto;
}

.reader-hotspot.is-triggered {
	animation: hotspot-pop 850ms ease;
}

.floating-effect {
	position: absolute;
	width: 9.5cqw;
	height: 9.5cqw;
	object-fit: contain;
	transform: translate(-50%, -50%);
	animation: effect-float 1.5s ease forwards;
}

.reader-stage.effect-rotate .reader-flipbook .page.page-current {
	animation: wobble 900ms ease;
}

.reader-stage.effect-pulse .reader-flipbook .page.page-current {
	animation: pulse-stage 800ms ease;
}

.reader-stage.effect-bounce .reader-flipbook .page.page-current {
	animation: bounce-stage 850ms ease;
}

.reader-stage.effect-launch .reader-flipbook .page.page-current {
	animation: launch-stage 950ms ease;
}

.reader-nav-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.85);
	color: var(--navy);
	font-size: 1.6rem;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
	box-shadow: var(--shadow-soft);
	z-index: 5;
}

.reader-nav-arrow.left {
	left: 14px;
}

.reader-nav-arrow.right {
	right: 14px;
}

.reader-page-indicator {
	position: absolute;
	left: 50%;
	bottom: 14px;
	transform: translateX(-50%);
	width: 130px;
	padding: 8px 14px 0 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.84);
	border: 1px solid rgba(33, 72, 107, 0.16);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	min-width: 130px;
	z-index: 5;
	overflow: hidden;
	opacity: 0.9;
}

.reader-page-indicator-main {
	display: flex;
	align-items: center;
	gap: 10px;
}

.reader-page-progress {
	width: 100%;
	height: 4px;
	border-radius: 999px;
	background: rgba(33, 72, 107, 0.14);
	overflow: hidden;
}

.reader-page-progress-fill {
	width: 0;
	height: 100%;
	background: linear-gradient(90deg, #ffd565, #ffb44d);
	transition: width 0.12s linear;
}

.reader-page-indicator-btn {
	border: 0;
	background: rgba(33, 72, 107, 0.1);
	color: var(--navy);
	border-radius: 50%;
	width: 30px;
	height: 30px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.96rem;
	font-weight: 800;
	line-height: 1.1;
	cursor: pointer;
}

.reader-page-indicator-btn.is-playing {
	background: rgba(197, 57, 43, 0.14);
	color: #a93226;
}

.reader-page-indicator strong {
	font-weight: 800;
	color: var(--navy);
}

.reader-page-indicator p {
	margin: 0;
	font-weight: 700;
	color: rgba(18, 49, 75, 0.8);
}

.back-link {
	display: inline-flex;
	margin-bottom: 10px;
	color: rgba(33, 72, 107, 0.74);
	font-weight: 700;
}

.kid-popup {
	border-radius: 28px;
}

/* Rich HTML popup for word blocks (contains WYSIWYG output) */
.kid-popup-rich .swal2-html-container {
	text-align: left;
	max-height: 60vh;
	overflow-y: auto;
	padding: 4px 8px;
}

.kid-popup-rich .swal2-html-container img {
	max-width: 100%;
	height: auto;
	border-radius: 6px;
}

.kid-popup-rich .swal2-html-container audio {
	max-width: 100%;
	margin: 6px 0;
	display: block;
}

@keyframes page-swell {
	from { transform: scale(0.985); opacity: 0.8; }
	to { transform: scale(1); opacity: 1; }
}

@keyframes hotspot-pop {
	0% { transform: scale(1); }
	50% { transform: scale(1.25); }
	100% { transform: scale(1); }
}

@keyframes effect-float {
	from { opacity: 0; transform: translate(-50%, -40%) scale(0.8); }
	20% { opacity: 1; }
	to { opacity: 0; transform: translate(-50%, -85%) scale(1.15); }
}

@keyframes wobble {
	0%, 100% { transform: rotate(0deg); }
	25% { transform: rotate(-2deg); }
	75% { transform: rotate(2deg); }
}

@keyframes pulse-stage {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.04); }
}

@keyframes bounce-stage {
	0%, 100% { transform: translateY(0); }
	35% { transform: translateY(-10px); }
	70% { transform: translateY(4px); }
}

@keyframes launch-stage {
	0% { transform: translateY(0) scale(1); }
	35% { transform: translateY(-12px) scale(1.01); }
	100% { transform: translateY(0) scale(1); }
}

@media (max-width: 980px) {
	.book-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.shell {
		width: min(100% - 14px, 100%);
	}

	.reader-shell {
		width: min(100% - 6px, 100%);
	}

	.reader-layout {
		grid-template-columns: 1fr;
	}

	.reader-mid-overlay {
		top: 16px;
		max-width: calc(100% - 16px);
		gap: 6px;
		padding: 6px 8px;
	}

	.reader-mid-link {
		padding: 5px 8px;
		font-size: 0.74rem;
	}

	.reader-mid-toggle-bar label {
		font-size: 0.7rem;
		padding: 4px 7px;
	}

	.app-header {
		flex-direction: column;
		align-items: flex-start;
		margin-bottom: 14px;
	}

	.compact h1 {
		font-size: clamp(1.55rem, 7vw, 2rem);
	}

	.toggle-bar {
		padding: 10px;
		gap: 8px;
		margin-bottom: 12px;
	}

	.toggle-bar label {
		padding: 9px 13px;
		font-size: 0.94rem;
		margin: 0 6px 6px 0;
	}

	.reader-stage-card {
		padding: 6px;
	}

	.reader-stage {
		aspect-ratio: 4 / 5;
	}

	body[data-page="reader"] .reader-stage {
		aspect-ratio: auto;
	}

	.reader-menu-toggle {
		top: 10px;
		right: 10px;
		width: 42px;
		height: 42px;
	}

	.reader-slide-menu {
		width: min(360px, 94vw);
		padding: 14px;
	}

	.reader-menu-actions {
		grid-template-columns: 1fr;
	}

	.reader-nav-arrow {
		width: 44px;
		height: 44px;
		font-size: 1.5rem;
	}

	.reader-nav-arrow.left {
		left: 8px;
	}

	.reader-nav-arrow.right {
		right: 8px;
	}

	.reader-page-indicator {
		width: 130px;
		max-width: 130px;
		min-width: 130px;
		justify-content: center;
		bottom: 8px;
		padding: 5px 12px;
		gap: 5px;
	}

	.reader-page-indicator strong {
		font-size: 1rem;
	}

	.reader-book-title {
		max-width: min(72%, 380px);
		font-size: clamp(0.88rem, 4vw, 1.05rem);
	}
}

@media (max-width: 640px) {
	.reader-book-title {
		max-width: calc(100% - 32px);
	}

	.reader-mid-overlay {
		left: 0;
		right: 0;
		top: 56px;
		transform: none;
		max-width: 100%;
		width: 100%;
		padding: 0 8px 0 8px;
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: visible;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		justify-content: flex-start;
		gap: 6px;
	}

	.reader-mid-overlay::-webkit-scrollbar {
		display: none;
	}

	.reader-mid-link {
		flex-shrink: 0;
		scroll-snap-align: start;
	}

	.reader-mid-toggle-bar {
		flex-shrink: 0;
		flex-wrap: nowrap;
		scroll-snap-align: start;
		gap: 4px;
	}

	.reader-mid-toggle-bar label {
		flex-shrink: 0;
	}
}

@media (max-width: 430px) {
	.reader-shell {
		width: min(100% - 4px, 100%);
	}

	.reader-stage-card {
		padding: 4px;
	}

	.reader-stage {
		aspect-ratio: 7 / 10;
	}

	body[data-page="reader"] .reader-stage {
		aspect-ratio: auto;
	}

	.reader-nav-arrow {
		width: 40px;
		height: 40px;
		font-size: 1.35rem;
	}

	.reader-page-indicator {
		padding: 4px 10px;
		width: 130px;
		min-width: 130px;
	}

	.reader-page-indicator-main {
		gap: 8px;
	}

	.reader-page-indicator strong {
		font-size: 0.95rem;
	}
}
