.lol-book {
	--lol-ink: #1c2f29;
	--lol-muted: #68766c;
	--lol-paper: #f7f8f3;
	--lol-line: #dce3da;
	--lol-green: #244f3a;
	--lol-green-dark: #17382b;
	--lol-lilac: #756bb2;
	--lol-yellow: #f0c96b;
	background: var(--lol-paper);
	color: var(--lol-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.5;
	min-height: 70vh;
	padding: clamp(3rem, 7vw, 6rem) 1.25rem;
}

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

.lol-book__shell {
	margin: 0 auto;
	max-width: 1180px;
}

.lol-book__header {
	align-items: end;
	border-bottom: 1px solid var(--lol-line);
	display: flex;
	gap: 3rem;
	justify-content: space-between;
	margin-bottom: clamp(2.5rem, 6vw, 5rem);
	padding-bottom: 2rem;
}

.lol-book__header h1,
.lol-book h2 {
	color: var(--lol-green-dark);
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 400;
	letter-spacing: 0;
	margin: 0;
}

.lol-book__header h1 {
	font-size: clamp(2.2rem, 5vw, 4.5rem);
	line-height: 1;
}

.lol-book__intro {
	color: var(--lol-muted);
	font-size: 1rem;
	margin: 1.25rem 0 0;
	max-width: 32rem;
}

.lol-book__eyebrow {
	color: var(--lol-lilac);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .13em;
	margin: 0 0 .75rem;
	text-transform: uppercase;
}

.lol-book__search {
	flex: 0 1 300px;
}

.lol-book__search label {
	color: var(--lol-muted);
	display: block;
	font-size: .75rem;
	font-weight: 700;
	margin-bottom: .5rem;
}

.lol-book__search-row {
	display: flex;
}

.lol-book__search input {
	background: #fff;
	border: 1px solid var(--lol-line);
	border-radius: 0;
	color: var(--lol-ink);
	font: inherit;
	min-width: 0;
	padding: .75rem .85rem;
	width: 100%;
}

.lol-book__search input:focus,
.lol-book a:focus-visible,
.lol-book button:focus-visible {
	outline: 3px solid rgba(117, 107, 178, .35);
	outline-offset: 3px;
}

.lol-book__search button,
.lol-book__button {
	background: var(--lol-green);
	border: 1px solid var(--lol-green);
	border-radius: 0;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	font: inherit;
	font-size: .82rem;
	font-weight: 700;
	padding: .75rem 1rem;
	text-decoration: none;
	transition: background-color .2s ease, border-color .2s ease;
	white-space: nowrap;
}

.lol-book__search button:hover,
.lol-book__search button:focus-visible,
.lol-book__button:hover,
.lol-book__button:focus-visible {
	background: var(--lol-green-dark);
	border-color: var(--lol-green-dark);
}

.lol-book__section-heading {
	align-items: end;
	display: flex;
	justify-content: space-between;
	margin-bottom: 1.5rem;
}

.lol-book__section-heading h2 {
	font-size: clamp(1.6rem, 3vw, 2.4rem);
	line-height: 1.1;
}

.lol-book__section-count {
	color: var(--lol-muted);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.15rem;
}

.lol-book__text-link {
	border-bottom: 1px solid currentColor;
	color: var(--lol-green);
	font-size: .84rem;
	font-weight: 700;
	text-decoration: none;
}

.lol-book__text-link:hover {
	color: var(--lol-lilac);
}

.lol-book__chapter-grid {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lol-book__chapter-card {
	color: inherit;
	display: block;
	min-width: 0;
	text-decoration: none;
}

.lol-book__chapter-image {
	aspect-ratio: 4 / 3;
	background: #e5ebe3;
	overflow: hidden;
	position: relative;
}

.lol-book__chapter-image img {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform .45s ease;
	width: 100%;
}

.lol-book__chapter-card:hover .lol-book__chapter-image img,
.lol-book__chapter-card:focus-visible .lol-book__chapter-image img {
	transform: scale(1.04);
}

.lol-book__chapter-pending {
	align-items: center;
	color: var(--lol-muted);
	display: flex;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.15rem;
	height: 100%;
	justify-content: center;
	line-height: 1.25;
	text-align: center;
}

.lol-book__chapter-overlay {
	background: linear-gradient(180deg, rgba(23, 56, 43, .05), rgba(23, 56, 43, .9));
	bottom: 0;
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: end;
	left: 0;
	opacity: 0;
	padding: 1.25rem;
	position: absolute;
	right: 0;
	top: 0;
	transform: translateY(4px);
	transition: opacity .25s ease, transform .25s ease;
}

.lol-book__chapter-card:hover .lol-book__chapter-overlay,
.lol-book__chapter-card:focus-visible .lol-book__chapter-overlay {
	opacity: 1;
	transform: translateY(0);
}

.lol-book__chapter-overlay span {
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .12em;
	margin-bottom: .35rem;
	text-transform: uppercase;
}

.lol-book__chapter-overlay strong {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.35rem;
	font-weight: 400;
}

.lol-book__chapter-overlay b {
	color: var(--lol-yellow);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 1rem;
	font-weight: 400;
	margin-left: .25rem;
}

.lol-book__chapter-meta {
	align-items: baseline;
	display: flex;
	gap: .75rem;
	justify-content: space-between;
	padding: .8rem 0 1.5rem;
}

.lol-book__chapter-meta span:first-child {
	color: var(--lol-green-dark);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.1rem;
}

.lol-book__chapter-meta span:last-child {
	color: var(--lol-muted);
	font-size: .72rem;
	white-space: nowrap;
}

.lol-book__search-results,
.lol-book__reader,
.lol-book__chapter-intro {
	margin: 0 auto;
	max-width: 1040px;
}

.lol-book__chapter-intro-grid {
	align-items: start;
	display: grid;
	gap: clamp(2rem, 6vw, 5rem);
	grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
}

.lol-book__text h1#lol-book-chapter-intro-title {
	font-size: clamp(2rem, 4vw, 3.4rem);
	line-height: 1.1;
	margin-bottom: .65rem;
}

.lol-book__chapter-subtitle {
	margin-bottom: 1.5rem;
}

.lol-book__text .lol-chapter3-s-010-superscript {
	font-family: 'Noto Sans KR', sans-serif;
	color: #548dd4;
	font-size: .50em;
	line-height: 0;
	position: relative;
	top: -.25em;
	vertical-align: hanging;
}

.lol-book__chapter-intro-copy h2 {
	font-size: clamp(2rem, 4vw, 3.4rem);
	margin-bottom: 1.5rem;
}

.lol-book__chapter-gallery {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lol-book__chapter-gallery-card {
	color: inherit;
	display: block;
	text-decoration: none;
}

.lol-book__chapter-gallery-card figure {
	margin: 0;
}

.lol-book__chapter-gallery-card img {
	aspect-ratio: 1 / 1;
	background: #e5ebe3;
	display: block;
	object-fit: cover;
	transition: transform .35s ease, opacity .35s ease;
	width: 100%;
}

.lol-book__chapter-gallery-card:hover img,
.lol-book__chapter-gallery-card:focus-visible img {
	opacity: .82;
	transform: scale(1.025);
}

.lol-book__chapter-gallery-card figcaption {
	color: var(--lol-muted);
	display: block;
	font-size: .72rem;
	padding-top: .55rem;
}

.lol-book__results {
	border-top: 1px solid var(--lol-line);
	list-style: none;
	margin: 0;
	padding: 0;
}

.lol-book__results li {
	border-bottom: 1px solid var(--lol-line);
}

.lol-book__results a {
	align-items: center;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	padding: 1rem 0;
	text-decoration: none;
}

.lol-book__result-keyword {
	color: var(--lol-green-dark);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.2rem;
}

.lol-book__result-location {
	color: var(--lol-muted);
	font-size: .78rem;
}

.lol-book__notice {
	background: #fff;
	border-left: 3px solid var(--lol-yellow);
	color: var(--lol-muted);
	margin: 0;
	padding: 1rem 1.15rem;
}

.lol-book__reader-topline {
	align-items: center;
	border-bottom: 1px solid var(--lol-line);
	display: flex;
	justify-content: space-between;
	margin-bottom: 2rem;
	padding-bottom: 1rem;
}

.lol-book__reader-topline > span {
	color: var(--lol-muted);
	font-size: .78rem;
}

.lol-book__reader-grid {
	align-items: start;
	display: grid;
	gap: clamp(2rem, 6vw, 5rem);
	grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
}

.lol-book__page-image {
	margin: 0;
}

.lol-book__page-image img {
	background: #e5ebe3;
	display: block;
	height: auto;
	max-height: 75vh;
	object-fit: contain;
	width: 100%;
}

.lol-book__page-image figcaption {
	color: var(--lol-muted);
	font-size: .72rem;
	padding-top: .75rem;
}

.lol-book__page-copy {
}

.lol-book__page-copy h2 {
	font-size: clamp(2rem, 4vw, 3.4rem);
	margin-bottom: 1.5rem;
}

.lol-book__text {
	color: #44544a;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.06rem;
	line-height: 1.8;
}

.lol-book__text p {
	margin: 0 0 1.25rem;
}

.lol-book__reader-nav {
	border-top: 1px solid var(--lol-line);
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	margin-top: 3rem;
	padding-top: 1rem;
}

.lol-book__reader-nav-link {
	align-items: center;
	color: var(--lol-green-dark);
	display: flex;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.25rem;
	gap: .75rem;
	text-decoration: none;
}

.lol-book__reader-nav-link:hover {
	color: var(--lol-lilac);
}

.lol-book__reader-nav-link--next {
	text-align: right;
}

.lol-book__reader-nav-link small {
	color: var(--lol-muted);
	display: block;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .08em;
	margin-bottom: .25rem;
	text-transform: uppercase;
}

.lol-book__reader-nav-link > span:last-child:not(:only-child) {
	color: var(--lol-lilac);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 1.35rem;
}

.lol-book__reader-nav-spacer {
	display: block;
}

.lol-book__page-list {
	display: flex;
	flex-wrap: wrap;
	gap: .35rem;
	justify-content: center;
	margin-top: 2rem;
}

.lol-book__page-list a {
	align-items: center;
	border: 1px solid var(--lol-line);
	color: var(--lol-muted);
	display: flex;
	font-size: .72rem;
	height: 2rem;
	justify-content: center;
	min-width: 2rem;
	text-decoration: none;
}

.lol-book__page-list a:hover,
.lol-book__page-list a.is-current {
	background: var(--lol-green);
	border-color: var(--lol-green);
	color: #fff;
}

.lol-book__not-found {
	background: #fff;
	border-top: 4px solid var(--lol-lilac);
	margin: 4rem auto;
	max-width: 560px;
	padding: 2.5rem;
	text-align: center;
}

.lol-book__not-found h2 {
	font-size: 2rem;
	margin-bottom: 1rem;
}

.lol-book__not-found p:not(.lol-book__eyebrow) {
	color: var(--lol-muted);
	margin: 0 0 1.5rem;
}

.lol-book__carousel {
	border-top: 1px solid var(--lol-line);
	margin: 0 auto clamp(3rem, 7vw, 6rem);
	max-width: 1040px;
	padding-top: clamp(2rem, 4vw, 3rem);
}

.lol-book__carousel:focus-visible {
	outline: 3px solid rgba(117, 107, 178, .35);
	outline-offset: 8px;
}

.lol-book__carousel-controls { display: flex; gap: .45rem; }

.lol-book__carousel-controls button {
	background: transparent;
	border: 1px solid var(--lol-line);
	color: var(--lol-green);
	cursor: pointer;
	font: inherit;
	height: 2.25rem;
	width: 2.75rem;
}

.lol-book__carousel-controls button:hover:not(:disabled),
.lol-book__carousel-controls button:focus-visible:not(:disabled) {
	background: var(--lol-green);
	border-color: var(--lol-green);
	color: #fff;
}

.lol-book__carousel-controls button:disabled { color: var(--lol-line); cursor: default; }

.lol-book__carousel-viewport {
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	scroll-snap-type: x proximity;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.lol-book__carousel-viewport::-webkit-scrollbar {
	display: none;
}

.lol-book__carousel-track {
	display: flex;
	gap: 0;
	width: max-content;
}

.lol-book__carousel-slide {
	background: #e5ebe3;
	flex: 0 0 clamp(12rem, 31vw, 20rem);
	margin: 0;
	scroll-snap-align: start;
}

.lol-book__carousel-slide img {
	aspect-ratio: 1 / 1;
	display: block;
	object-fit: cover;
	width: 100%;
}

@media (max-width: 760px) {
	.lol-book {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.lol-book__header {
		align-items: stretch;
		flex-direction: column;
		gap: 2rem;
	}

	.lol-book__search {
		flex-basis: auto;
	}

	.lol-book__chapter-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.lol-book__reader-grid {
		grid-template-columns: 1fr;
	}

	.lol-book__chapter-intro-grid {
		grid-template-columns: 1fr;
	}

	.lol-book__page-copy {
		padding-top: 0;
	}
}

@media (max-width: 480px) {
	.lol-book__chapter-grid {
		gap: .75rem;
	}

	.lol-book__chapter-meta {
		align-items: start;
		flex-direction: column;
		gap: .25rem;
		padding-bottom: 1rem;
	}

	.lol-book__chapter-overlay {
		opacity: 1;
		padding: .75rem;
		transform: none;
	}

	.lol-book__chapter-overlay span {
		font-size: .58rem;
	}

	.lol-book__chapter-overlay strong {
		font-size: 1rem;
	}

	.lol-book__section-heading,
	.lol-book__reader-topline {
		align-items: start;
		flex-direction: column;
		gap: .75rem;
	}

	.lol-book__results a {
		align-items: start;
		flex-direction: column;
		gap: .25rem;
	}

	.lol-book__not-found {
		padding: 2rem 1.25rem;
	}

	.lol-book__carousel .lol-book__section-heading { align-items: end; flex-direction: row; }
	.lol-book__carousel-slide { flex-basis: 72vw; }
}

@media (prefers-reduced-motion: reduce) {
	.lol-book * {
		transition-duration: .01ms !important;
	}
}
