.booklist {
  width: min(1040px, calc(100% - 36px));
  margin: clamp(28px, 5vw, 64px) auto 64px;
}
.booklist h1 { font: 700 clamp(30px, 4vw, 46px)/1.2 var(--sans); letter-spacing: -.055em; margin-bottom: 24px; }
.booklist h2 { font: 700 clamp(23px, 2.4vw, 32px)/1.3 var(--sans); letter-spacing: -.045em; }
.booklist-feature {
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center;
  gap: clamp(20px, 5vw, 64px); padding: clamp(28px, 5vw, 56px);
  border-radius: 20px; background: var(--paper-deep);
}
.booklist-spread { display: grid; place-items: center; min-width: 0; padding-block: 8px; }
.booklist-spread img {
  grid-area: 1 / 1; width: 42%; height: auto; border-radius: 2px 5px 5px 2px;
  box-shadow: 0 10px 20px rgb(56 44 32 / .18);
}
.booklist-spread .book-cover { z-index: 1; }
.booklist-spread .sample-left { transform: translateX(-57%) rotate(-9deg) scale(.86); }
.booklist-spread .sample-right { transform: translateX(57%) rotate(9deg) scale(.86); }
.booklist-feature h2 { font-size: clamp(30px, 4vw, 50px); }
.booklist-feature p { color: var(--soft); line-height: 1.65; margin-block: 10px 20px; }
.booklist-price { display: grid; gap: 4px; margin-bottom: 18px; }
.booklist-price > span { color: var(--soft); font-size: 15px; }
.booklist-price b { margin-right: 6px; color: var(--learning-accent-text); }
.booklist-price strong { font: 700 clamp(28px, 3vw, 36px)/1.1 "Paperlogy Bold", var(--sans); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.booklist-buy {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 28px;
  border-radius: 999px; background: var(--event-buy); color: #fff; font-weight: 700;
}
.booklist-buy:hover { background: var(--event-buy-hover); }
.booklist-shelf { margin-block: clamp(36px, 5vw, 64px); }
/* 책별 소개의 관련 도서와 공유하는 선반 */
.booklist-shelf ul { --g: 20px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 36px var(--g); margin-top: 20px; }
@media (max-width: 900px) { .booklist-shelf ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.booklist-card { display: block; }
.booklist-art { display: flex; }
.booklist-art img {
  flex: none; width: 100%; height: auto; border-radius: 2px 5px 5px 2px;
  box-shadow: 0 10px 20px rgb(56 44 32 / .18); transition: translate .3s;
}
@media (hover: hover) { .booklist-card:hover .booklist-art img { translate: 0 -4px; } }
.booklist-card h3 { margin-top: 14px; font-size: 16px; line-height: 1.4; }
.booklist-card p { margin-top: 2px; color: var(--soft); font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .booklist-art img { transition: none; } }
@media (max-width: 640px) {
  .booklist-feature { grid-template-columns: 1fr; text-align: center; padding: 22px; }
  .booklist-spread { width: min(100%, 300px); margin-inline: auto; }
  .booklist-shelf ul { --g: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px var(--g); }
  .booklist-card h3 { font-size: 15px; }
}
.vh.booklist-read { padding: 0; } /* 미리 읽기 팝업(hero.js)이 붙는 .vh 상자 — 쪽 template 만 들어 있어 화면에 자리를 차지하지 않게 */
/* 북리스트 올인원 북(scripts/home.py catalog): 칸 전체가 한 링크 → 미리 읽기 팝업. 책별 소개 페이지의 section.booklist-feature 는 그대로 */
a.booklist-feature { color: inherit; transition: background-color .18s; }
@media (hover: hover) { a.booklist-feature:hover { background-color: color-mix(in srgb, var(--paper-deep) 94%, var(--ink)); } }
a.booklist-feature:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
a.booklist-feature h2 { font-size: clamp(26px, 3vw, 36px); }
a.booklist-feature p { margin-block: 6px 16px; }
.booklist-go { display: inline-flex; align-items: center; min-height: 44px; padding: 0 28px; border-radius: 999px; background: var(--action); color: #fff; font-weight: 700; }
/* 책별 소개 페이지(/books/<주소>/ — scripts/book_pages.py): 표지 한 장 · 숫자 · 담긴 것 · 받는 방법, 아래 '다른 영어 전자책'은 포켓북 줄(.booklist-shelf)을 그대로 쓴다 */
.bk-crumb { margin-bottom: 16px; color: var(--soft); font-size: 14px; }
.bk-crumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.bk-cover { display: grid; place-items: center; min-width: 0; }
.bk-cover img { width: min(62%, 280px); height: auto; border-radius: 2px 5px 5px 2px; box-shadow: 0 10px 20px rgb(56 44 32 / .18); }
.bk-facts { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 0 0 20px; }
.bk-facts dt { color: var(--soft); font-size: 13px; }
.bk-facts dd { margin: 0; font: 700 22px/1.2 var(--sans); font-variant-numeric: tabular-nums; }
.bk-note { margin-top: 14px; font-size: 14px; }
.bk-note a { color: var(--soft); text-decoration: underline; text-underline-offset: 4px; }
.bk-sec { margin-block: clamp(36px, 5vw, 56px) 0; }
.bk-list { margin-top: 14px; padding-left: 1.2em; list-style: disc; max-width: 640px; }
.bk-list li { margin-block: 6px; line-height: 1.65; }
.bk-list a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .bk-cover img { width: min(55%, 220px); } .bk-facts { justify-content: center; } }

/* 북리스트 · 무료 엑셀 페이지 = 카톡 영어(/kakao/)와 같은 손그림 학습지 테마. 먹선 틀 · 손그림 스티커 · 라임 단추 · 중성 종이색은 공통 paper(/ui/paper/paper.css)에서 온다 */
body:has(.booklist-catalog, .fs) { background: var(--paper-white); }
.booklist-catalog { color: var(--paper-ink); word-break: keep-all; }
.booklist-catalog > h1, .booklist-catalog h2 { font-family: "Paperlogy Bold", var(--sans); letter-spacing: -.065em; }
.booklist-catalog > h1 { font-size: clamp(32px, 5.5vw, 56px); }
/* 제목 · 단추 앞 손그림 스티커(장식이라 CSS 로 붙인다) */
.booklist-catalog > h1, #more-books-title, #pocket-title, #wordbook-title { display: flex; align-items: center; gap: .3em; }
.booklist-catalog > h1::before, #more-books-title::before, #pocket-title::before, #wordbook-title::before, .booklist-catalog .booklist-go::before {
  content: ""; flex: none; width: 1.08em; height: 1.08em;
  background: var(--sticker) center / contain no-repeat; filter: grayscale(1) contrast(1.08);
}
.booklist-catalog > h1::before, #more-books-title::before { --sticker: url("/ui/paper/icons/book.png"); }
#pocket-title::before { --sticker: url("/ui/paper/icons/ticket.png"); }
#wordbook-title::before { --sticker: url("/ui/paper/icons/notebook.png"); }
.booklist-catalog .booklist-go::before { --sticker: url("/ui/paper/icons/search.png"); width: 1.25em; height: 1.25em; margin-left: -2px; }
/* 먹선 틀(paper-frame 과 같은 모양) — 큰 칸 · 책 칸 */
.booklist-catalog :is(a.booklist-feature, .booklist-card) { position: relative; border-radius: 13px 17px 12px 15px; box-shadow: none; }
.booklist-catalog :is(a.booklist-feature, .booklist-card)::after {
  content: ""; position: absolute; z-index: 1; inset: 0; border: 1px solid transparent;
  border-image: url("/ui/paper/ink-frame.png") 28 / 11px / 0 round; pointer-events: none;
}
.booklist-catalog .booklist-feature { padding: clamp(22px, 4vw, 44px); background: var(--paper-pale); color: var(--paper-ink); }
.booklist-catalog .booklist-ielts { background: var(--paper-tint); }
.booklist-catalog .booklist-spread { padding-block: 18px; border-radius: 9px; background: var(--paper-white); }
.booklist-catalog .booklist-spread img { width: 43%; max-width: 152px; box-shadow: 0 6px 14px rgb(23 23 21 / .2); }
.booklist-catalog .booklist-feature h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.1; }
.booklist-catalog .booklist-feature p { max-width: 28em; margin-block: 12px 17px; color: var(--paper-muted); font-size: 15px; }
.booklist-catalog .booklist-price { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin-bottom: 18px; }
.booklist-catalog .booklist-price strong { order: -1; }
/* 할인율은 먹색 알약에 라임 글자, 정가는 옅은 취소선 */
.booklist-catalog .booklist-price > span { display: inline-flex; align-items: center; gap: 8px; color: var(--paper-muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.booklist-catalog .booklist-price b { margin: 0; padding: 4px 9px 3px; border-radius: 999px; background: var(--paper-ink); color: var(--paper-lime); font: 700 13px/1.2 "Paperlogy Bold", var(--sans); }
/* 단추: 라임 알약에 먹선 테두리(칸의 먹선 틀과 같은 결) */
.booklist-catalog .booklist-go {
  gap: .4em; min-height: 48px; padding: 0 22px 0 16px; background: var(--paper-lime); color: var(--paper-ink);
  box-shadow: inset 0 0 0 1.5px var(--paper-ink); font: 700 16px/1 "Paperlogy Bold", var(--sans); letter-spacing: -.02em; transition: background-color .18s;
}
@media (hover: hover) {
  .booklist-catalog a.booklist-feature:hover { background-color: var(--paper-white); }
  .booklist-catalog .booklist-feature:hover .booklist-go { background: var(--paper-lime-hover); }
}
.booklist-catalog a.booklist-feature:focus-visible, .booklist-catalog .booklist-card:focus-visible { outline: 3px solid #2759bd; outline-offset: 3px; }
/* 큰 칸 둘(올인원 북 · IELTS 리딩 어휘): 나란히, 좁은 화면은 위아래 */
.booklist-catalog .booklist-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.booklist-catalog :is(.booklist-pair, .booklist-reading) .booklist-feature { grid-template: auto 1fr / minmax(0, 1fr); align-items: stretch; gap: clamp(16px, 3vw, 28px); }
.booklist-feature-copy { display: grid; grid-template-rows: auto 1fr auto; min-width: 0; }
.booklist-feature-footer {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .5rem;
  padding-top: .75rem; border-top: 1px solid var(--paper-line);
}
.booklist-catalog .booklist-feature-footer .booklist-price { display: grid; gap: .25rem; margin: 0; }
.booklist-feature-footer .booklist-price > span { flex-wrap: wrap; gap: .125rem .375rem; }
.booklist-feature-footer .booklist-price strong { font-size: clamp(1.375rem, 4vw, 2rem); white-space: nowrap; }
.booklist-catalog .booklist-feature-footer .booklist-go {
  min-width: 7.375rem; min-height: 44px; justify-content: center; padding-inline: .625rem;
  font-size: .875rem; white-space: nowrap;
}
.booklist-catalog :is(.booklist-pair, .booklist-reading) .booklist-spread img { max-width: 184px; }
@media (max-width: 760px) {
  .booklist-catalog .booklist-pair { grid-template-columns: minmax(0, 1fr); }
  .booklist-catalog :is(.booklist-pair, .booklist-reading) .booklist-spread { width: 100%; padding-block: .875rem; }
  .booklist-catalog :is(.booklist-pair, .booklist-reading) .booklist-spread img { max-width: 112px; }
}
.booklist-catalog .booklist-shelf { margin-block: clamp(30px, 4.6vw, 52px); }
/* 개별 구매 칸: 흰 칸 하나에 표지 · 이름 · 값. 낱권은 넷씩 세로 칸, 단어장(.is-row)은 셋씩 가로 칸 — 좁은 화면은 둘씩 · 한 줄씩 */
.booklist-catalog .booklist-shelf ul { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.booklist-catalog .booklist-shelf li { grid-column: span 3; }
.booklist-catalog .booklist-shelf li.is-row { grid-column: span 4; }
.booklist-catalog .booklist-card {
  display: flex; flex-direction: column; height: 100%; padding: 20px;
  background: var(--paper-white); transition: background-color .2s, scale .2s;
}
@media (hover: hover) {
  .booklist-catalog .booklist-card:hover { background: var(--paper-pale); }
  .booklist-catalog .booklist-card:hover .booklist-art { background: var(--paper-white); }
}
.booklist-catalog .booklist-card:active { scale: .985; }
/* 표지는 옅은 종이 깔개 위에 — 카톡 영어의 그림 칸(.talk-art)처럼 */
.booklist-catalog .booklist-art { display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; margin-bottom: 14px; padding: 16px 0; border-radius: 9px; background: var(--paper-pale); }
.booklist-catalog .booklist-art img { grid-area: 1 / 1; width: 64%; max-width: 132px; box-shadow: 0 6px 14px rgb(23 23 21 / .2); }
.booklist-catalog .booklist-art .book-cover { z-index: 1; }
.booklist-catalog .booklist-art .sample-left { transform: translateX(-32%) rotate(-7deg) scale(.88); }
.booklist-catalog .booklist-art .sample-right { transform: translateX(32%) rotate(7deg) scale(.88); }
.booklist-catalog .booklist-card h3 { margin-top: 0; font: 700 17px/1.35 "Paperlogy Bold", var(--sans); letter-spacing: -.04em; }
.booklist-catalog .booklist-card p { flex: 1; margin-top: 4px; color: var(--paper-muted); font-size: 14px; line-height: 1.45; }
.booklist-card-price { margin-top: 14px; font: 700 19px/1.2 "Paperlogy Bold", var(--sans); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.booklist-catalog .is-row .booklist-card { display: grid; grid-template: auto 1fr auto / 88px minmax(0, 1fr); column-gap: 20px; }
.booklist-catalog .is-row .booklist-art { grid-row: 1 / -1; align-self: center; margin: 0; padding: 0; background: none; }
.booklist-catalog .is-row .booklist-art img { width: 100%; }
@media (max-width: 900px) {
  .booklist-catalog .is-row .booklist-card { grid-template-columns: 64px minmax(0, 1fr); column-gap: 14px; padding: 16px; }
}
@media (max-width: 720px) {
  .booklist-catalog .booklist-shelf ul { gap: 12px; }
  .booklist-catalog .booklist-shelf li { grid-column: span 6; }
  .booklist-catalog .booklist-shelf li.is-row { grid-column: 1 / -1; }
  .booklist-catalog .booklist-card { padding: 16px 14px; }
  .booklist-catalog .booklist-card h3 { font-size: 16px; }
  .booklist-catalog .booklist-card p { font-size: 13px; }
  .booklist-card-price { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { .booklist-catalog .booklist-card { transition: none; } }
.booklist-extra { border-top: 1px solid var(--rule); font-size: 14px; }
.booklist-details { border-bottom: 1px solid var(--rule); }
.booklist-details summary { width: fit-content; min-height: 44px; padding-block: 10px; cursor: pointer; }
.booklist-detail-links, .booklist-utilities { display: flex; flex-wrap: wrap; column-gap: 20px; color: var(--soft); }
.booklist-detail-links { padding-bottom: 10px; }
.booklist-utilities { margin-top: 8px; }
.booklist-extra a { display: inline-flex; align-items: center; min-height: 44px; }
.booklist-extra a:hover { text-decoration: underline; text-underline-offset: 3px; }
.booklist-help { display: grid; gap: 10px; padding-bottom: 14px; margin: 0; }
.booklist-help dt { font-weight: 700; }
.booklist-help dd { margin: 0; color: var(--soft); }
@media (max-width: 640px) {
  .booklist-catalog .booklist-feature { text-align: start; gap: 18px; }
  .booklist-catalog .booklist-spread img { max-width: 107px; }
}

/* 전자책 평생 이용권 띠: 위 이용권 칸을 지나 내려가면 화면 아래에 떠 있는다(app.js 가 .show). 바닥글이 보이면 내려간다 */
.ebook-pass-dock {
  position: fixed; z-index: 9; left: 50%; bottom: calc(var(--voca-footer-height) + 10px + env(safe-area-inset-bottom));
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px;
  box-sizing: border-box; width: min(720px, calc(100% - 20px)); padding: 8px 8px 8px 18px;
  border: 1px solid var(--rule); border-radius: 16px; background: var(--paper-deep); color: var(--ink);
  box-shadow: 0 8px 24px rgb(25 25 25 / .15); word-break: keep-all;
  transform: translate(-50%, calc(100% + 24px)); visibility: hidden;
  transition: transform .2s cubic-bezier(.4, 0, 1, 1), visibility 0s linear .2s;
}
.ebook-pass-dock.show { transform: translateX(-50%); visibility: visible; transition: transform .26s cubic-bezier(.2, .8, .3, 1), visibility 0s; }
.ebook-pass-dock p { display: grid; gap: 2px; min-width: 0; margin: 0; }
body:has(> .voca-footer-nav) > .foot { margin-bottom: calc(var(--voca-footer-height) + env(safe-area-inset-bottom)); }
.ebook-pass-dock b { font: 700 15px/1.25 "Paperlogy Bold", var(--sans); letter-spacing: -.02em; }
.ebook-pass-dock .ebook-year-pass-price strong { font-size: 1.05rem; }
@media (prefers-reduced-motion: reduce) { .ebook-pass-dock, .ebook-pass-dock.show { transition: none; } }
/* 북 페이지는 상단 머리줄이 없다 — 아래 탭 줄로 오간다(12-03 사용자 지정) */

/* ── 12-03 북리스트를 전자책 구매 화면(/buy/?book=ebooklifetime · buy.css .buy-ebook-pass)처럼: 옅은 보라 바탕 · 파란 이용권 칸(3D 그림) ·
   흰 둥근 칸 + 색 깔개 · Paperlogy Bold 제목 · 라임 할인 알약 · 아래에 늘 붙은 흰 결제 띠. 위 손그림 학습지 테마를 이 블록이 덮는다.
   책 칸은 미리 읽기 링크(.booklist-card-peek)와 바로 결제 팝업 단추(.booklist-card-price)로 나뉜다(scripts/home.py catalog) ── */
body:has(> main.booklist-catalog) {
  --pass-blue: #402bd7; --pass-blue-hover: #3220ae; --pass-ink: #221941; --pass-muted: #524965;
  --pass-line: #e1dcf3; --pass-canvas: #f8f6ff; --pass-lime: #e7f978; --pass-radius: clamp(1.125rem, 3vw, 1.875rem);
  background: var(--pass-canvas);
}
.booklist-catalog { padding-bottom: 5.5rem; color: var(--pass-ink); } /* 늘 떠 있는 아래 결제 띠에 끝 링크가 가리지 않게 */
/* 머리줄이 없는 쪽이라 제목은 왼쪽 작은 쪽 이름으로 — 첫 화면은 아래 파란 이용권 칸이 맡는다 */
.booklist.booklist-catalog { margin-top: clamp(14px, 2.5vw, 28px); }
.booklist-catalog > h1 { margin: 0 0 clamp(10px, 1.6vw, 16px); padding-inline: .25rem; font: 700 clamp(1.375rem, 2.6vw, 1.75rem)/1.2 "Paperlogy Bold", var(--sans); letter-spacing: -.05em; }
.booklist-catalog > h1::before, #pocket-title::before, .booklist-catalog .booklist-go::before, .booklist-catalog :is(a.booklist-feature, .booklist-card)::after { content: none; }

/* 전자책 평생 이용권: 구매 화면 첫 칸(buy.css .buy-ebook-pass .ab-head)과 같은 파란 칸. 좁은 화면은 가운데 줄로 글 → 값 → 단추 → 그림,
   넓은 화면(45rem~)은 왼쪽 글 · 값 · 단추 | 오른쪽 그림 */
.booklist-catalog > .ebook-year-pass {
  grid-template: "copy" "details" "art" "buy" / minmax(0, 1fr); justify-items: center; gap: clamp(.625rem, 2vw, 1rem);
  margin-bottom: clamp(1.25rem, 3vw, 2rem); padding: clamp(1.25rem, 4vw, 2.25rem) .75rem .75rem;
  overflow: hidden; border: 0; border-radius: var(--pass-radius); background: var(--pass-blue); color: #fff; text-align: center;
}
.booklist-catalog > .ebook-year-pass .ebook-year-pass-copy { grid-area: copy; }
.booklist-catalog .ebook-year-pass-copy h2 { color: inherit; font: 700 clamp(1.875rem, 6.4vw, 3.5rem)/1.04 "Paperlogy Bold", var(--sans); letter-spacing: -.065em; text-wrap: balance; }
.booklist-catalog .ebook-year-pass-copy p { margin-top: .5rem; color: #eef0ff; font-size: clamp(.9rem, 2.4vw, 1.25rem); }
.booklist-catalog > .ebook-year-pass .ebook-year-pass-details { grid-area: details; display: grid; justify-items: center; gap: .375rem; font-variant-numeric: tabular-nums; }
.booklist-catalog :is(.ebook-year-pass-list, .ebook-year-pass-sale) { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: .25rem .5rem; margin: 0; }
.booklist-catalog .ebook-year-pass-list { color: #eef0ff; font-size: .875rem; }
.booklist-catalog .ebook-year-pass-list del { color: inherit; font-size: 1rem; font-weight: 700; }
.booklist-catalog .ebook-year-pass-sale { font-size: .875rem; }
.booklist-catalog .ebook-year-pass-sale > strong { font: 700 clamp(1.625rem, 5.1vw, 2.5rem)/1.05 "Paperlogy Bold", var(--sans); letter-spacing: -.04em; }
.booklist-catalog .ebook-year-pass-off { align-self: center; padding: .3rem .5rem; border-radius: .45rem; background: var(--pass-lime); color: var(--pass-ink); font-size: .75rem; white-space: nowrap; }
.booklist-catalog > .ebook-year-pass .hb-btn {
  grid-area: buy; justify-self: stretch; min-height: 48px; padding: 0 1.5rem; border-radius: 999px; background: var(--pass-lime); color: var(--pass-ink);
  font: 700 1rem/1 "Paperlogy Bold", var(--sans);
}
.booklist-catalog > .ebook-year-pass .hb-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (hover: hover) { .booklist-catalog > .ebook-year-pass .hb-btn:hover { background: #f1ff9c; } }
/* 그림 뒤 옅은 보라 빛(구매 화면 .ab-gallery-card) */
.booklist-catalog > .ebook-year-pass .ebook-year-pass-art { grid-area: art; display: grid; place-items: center; width: min(100%, 24rem); margin: 0; background: radial-gradient(ellipse at 55% 55%, #9683ff80, transparent 68%); }
.booklist-catalog > .ebook-year-pass .ebook-year-pass-art img { grid-area: auto; width: 100%; border-radius: 0; box-shadow: none; transform: none; filter: drop-shadow(0 .875rem 1.125rem rgb(16 23 95 / .28)); }
@media (min-width: 45rem) {
  .booklist-catalog > .ebook-year-pass {
    grid-template: "copy art" auto "details art" auto "buy buy" auto / minmax(0, .9fr) minmax(0, 1.1fr); justify-items: start; column-gap: clamp(1rem, 3vw, 2.5rem); row-gap: clamp(.75rem, 2vw, 1.25rem);
    padding: clamp(1.25rem, 3.5vw, 2.25rem); text-align: start;
  }
  .booklist-catalog > .ebook-year-pass .ebook-year-pass-copy { align-self: end; }
  .booklist-catalog > .ebook-year-pass .ebook-year-pass-details { align-self: start; justify-items: start; }
  .booklist-catalog :is(.ebook-year-pass-list, .ebook-year-pass-sale) { justify-content: start; }
  .booklist-catalog .ebook-year-pass-copy h2 { font-size: clamp(2.25rem, 4.4vw, 3.5rem); text-wrap: wrap; }
  .booklist-catalog > .ebook-year-pass .ebook-year-pass-art { justify-self: center; width: 100%; } /* 일곱 권 부채꼴 그림(books-fan.webp)은 가로로 길어 칸을 꽉 채운다 */
}

/* 큰 칸(올인원 북 · IELTS · 원서 읽기): 흰 칸 + 옅은 회보라 깔개 — 같은 모양 */
.booklist-catalog .booklist-pair { gap: clamp(.75rem, 2vw, 1.25rem); }
.booklist-catalog :is(.booklist-pair, .booklist-reading) a.booklist-feature {
  --stage: #f1eff6; --stage-light: #fbfaff; --muted: var(--pass-muted);
  padding: clamp(.875rem, 2.6vw, 1.625rem); border: 1px solid var(--pass-line); border-radius: var(--pass-radius);
  background: #fff; color: var(--pass-ink); box-shadow: 0 .375rem 1rem rgb(33 47 111 / .05); transition: translate .2s, box-shadow .2s;
}
.booklist-catalog .booklist-spread { border-radius: clamp(.875rem, 2.5vw, 1.25rem); background: radial-gradient(ellipse at 40% 24%, var(--stage-light, #fbfcff), transparent 72%), var(--stage, #ebefff); }
.booklist-catalog .booklist-feature h2 { color: inherit; font: 700 clamp(1.5rem, 3.5vw, 2.25rem)/1.14 "Paperlogy Bold", var(--sans); letter-spacing: -.045em; }
.booklist-catalog .booklist-feature p, .booklist-catalog .booklist-price > span { color: var(--muted, var(--pass-muted)); }
.booklist-catalog .booklist-feature-footer { padding-top: .75rem; border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent); }
.booklist-catalog .booklist-price b { padding: .3rem .5rem; border-radius: .45rem; background: var(--pass-lime); color: var(--pass-ink); font: 700 .75rem/1.2 var(--sans); }
.booklist-catalog .booklist-price del { color: inherit; }
.booklist-catalog .booklist-feature-footer .booklist-go { gap: .375rem; min-height: 48px; padding: 0 1.25rem; border-radius: 999px; background: var(--pass-blue); color: #fff; box-shadow: none; font-size: .9375rem; }
@media (hover: hover) {
  .booklist-catalog :is(.booklist-pair, .booklist-reading) a.booklist-feature:hover { translate: 0 -3px; box-shadow: 0 1rem 1.75rem rgb(33 47 111 / .12); }
  .booklist-catalog .booklist-feature:hover .booklist-go { background: var(--pass-blue-hover); }
}

/* 구역 제목: 옅은 보라 띠 + 3D 책장 그림(구매 화면 '책 속 미리보기' · '현재 도서') */
.booklist-catalog .booklist-shelf h2 {
  justify-content: space-between; padding: .25rem clamp(.875rem, 4.5vw, 2rem); border-radius: var(--pass-radius);
  background: linear-gradient(122deg, #ded7ff, #f4f0ff); font: 700 clamp(1.5rem, 3.8vw, 2.25rem)/1.15 "Paperlogy Bold", var(--sans); letter-spacing: -.045em;
}
#pocket-title::after { content: ""; flex: none; width: clamp(4.5rem, 12vw, 7rem); aspect-ratio: 1; background: url("/img/book/pass/library-3d.png") center / contain no-repeat; filter: drop-shadow(0 .5rem .6rem rgb(34 25 65 / .18)); }

/* 책 칸: 흰 칸 · 옅은 깔개 위 표지 · 파란 구성 글 · 아래 파란 '값 구매' 단추(누르면 바로 결제 팝업) */
.booklist-catalog .booklist-shelf ul { gap: clamp(.75rem, 2vw, 1rem); }
.booklist-catalog .booklist-shelf li { --stage: #f1eff6; --stage-light: #fbfaff; } /* 책 칸 깔개는 모두 같은 옅은 회보라 — 색은 표지가 낸다(12-03 사용자: 칸마다 색이 너무 화려) */
.booklist-catalog :is(.booklist-card, .booklist-card:hover) {
  display: flex; flex-direction: column; gap: .875rem; height: 100%; padding: .875rem .875rem 1rem;
  border: 1px solid var(--pass-line); border-radius: 1.25rem; background: #fff; box-shadow: 0 .375rem 1rem rgb(33 47 111 / .05);
}
.booklist-card-peek { display: flex; flex: 1; flex-direction: column; min-width: 0; border-radius: .875rem; color: inherit; }
.booklist-catalog :is(.booklist-art, .booklist-card:hover .booklist-art) { margin-bottom: .875rem; border-radius: .875rem; background: radial-gradient(ellipse at 40% 24%, var(--stage-light), transparent 72%), var(--stage); }
.booklist-catalog .booklist-card h3 { font: 700 clamp(1rem, 2.4vw, 1.125rem)/1.3 "Paperlogy Bold", var(--sans); letter-spacing: -.04em; }
.booklist-catalog .booklist-card p { flex: 1; margin-top: .25rem; color: var(--pass-blue); font-size: .8125rem; font-weight: 700; }
.booklist-catalog .booklist-card-price {
  display: flex; align-items: center; justify-content: center; gap: .375rem; min-height: 44px; margin: 0; border-radius: 999px;
  background: var(--pass-blue); color: #fff; font: 700 1rem/1.2 "Paperlogy Bold", var(--sans); font-variant-numeric: tabular-nums; transition: background-color .2s;
}
.booklist-card-price span { font: 700 .8125rem/1 var(--sans); opacity: .85; }
.booklist-catalog :is(.booklist-card-peek, .booklist-card-price, a.booklist-feature):focus-visible { outline: 3px solid var(--pass-blue); outline-offset: 3px; }
@media (hover: hover) { .booklist-catalog .booklist-card-price:hover { background: var(--pass-blue-hover); } }
/* 원서 읽기(scripts/home.py READING): 올인원 북과 같은 큰 칸을 옆으로 넘겨 본다 — 넓은 화면은 올인원 칸과 같은 폭(반 칸), 책이 늘면 오른쪽으로 이어진다.
   칸이 떠오르는 움직임 · 그림자가 잘리지 않게 위아래를 조금 비운다 */
.booklist-catalog .booklist-reading ul {
  grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 100%; /* 칸 폭 = 올인원 북 칸(좁은 화면 한 줄 가득, 넓은 화면 반) */ gap: clamp(.75rem, 2vw, 1.25rem);
  margin: -.375rem -18px -.5rem; margin-top: 0; padding: .375rem 18px 1rem; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: 18px; scrollbar-width: thin;
}
@media (min-width: 761px) { .booklist-catalog .booklist-reading ul { grid-auto-columns: calc((100% - clamp(.75rem, 2vw, 1.25rem)) / 2); } }
.booklist-catalog .booklist-reading li { grid-column: auto; scroll-snap-align: start; }
.booklist-catalog .booklist-reading a.booklist-feature { height: 100%; box-sizing: border-box; }
.booklist-catalog .booklist-reading .booklist-spread.booklist-scene { display: block; padding: 0; overflow: hidden; aspect-ratio: 4 / 3; }
.booklist-catalog .booklist-reading .booklist-scene img { width: 100%; max-width: none; height: 100%; object-fit: cover; box-shadow: none; transform: none; }
.booklist-catalog .booklist-reading .booklist-feature-copy { grid-template-rows: auto 1fr; }
.booklist-catalog .booklist-reading .booklist-feature h3 { margin-bottom: clamp(1rem, 2.6vw, 1.5rem); font: 700 clamp(1.5rem, 3.5vw, 2.25rem)/1.14 "Paperlogy Bold", var(--sans); letter-spacing: -.045em; }

/* 단어장(.is-row): 표지 옆에 글, 단추는 아래 */
.booklist-catalog .is-row .booklist-card { display: flex; padding: .875rem; }
.booklist-catalog .is-row .booklist-card-peek { display: grid; grid-template: auto 1fr / 4.5rem minmax(0, 1fr); column-gap: 1rem; align-items: start; }
.booklist-catalog .is-row .booklist-art { grid-row: 1 / -1; margin: 0; padding: .5rem; }
.booklist-catalog .is-row .booklist-art img { width: 100%; }

/* 아래 결제 띠: 화면 폭 흰 띠(구매 화면 .ebook-pass-dock) — 하단 메뉴 바로 위에 늘 붙고, 바닥글(사업자 표기)이 보일 때만 내려간다(app.js) */
.booklist-catalog .ebook-pass-dock {
  left: 0; right: 0; bottom: calc(var(--voca-footer-height) + env(safe-area-inset-bottom)); width: auto;
  gap: .75rem; padding: .625rem max(1rem, calc((100% - 43rem) / 2));
  border: 0; border-top: 1px solid var(--pass-line); border-radius: 0; background: rgb(255 255 255 / .96); color: var(--pass-ink);
  box-shadow: 0 -.625rem 1.75rem rgb(33 47 111 / .1); backdrop-filter: blur(14px);
  transform: translateY(calc(100% + var(--voca-footer-height) + 2rem));
}
.booklist-catalog .ebook-pass-dock.show { transform: none; }
.booklist-catalog .ebook-pass-dock b { color: var(--pass-muted); font: 700 .8125rem/1.3 var(--sans); letter-spacing: 0; }
.booklist-catalog .ebook-pass-dock .ebook-year-pass-price { gap: .125rem .5rem; }
.booklist-catalog .ebook-pass-dock .ebook-year-pass-price strong { font-size: 1.25rem; letter-spacing: -.03em; }
.booklist-catalog .ebook-pass-dock .ebook-year-pass-price del { color: var(--pass-muted); }
.booklist-catalog .ebook-pass-dock .hb-btn {
  min-height: 48px; padding: 0 1.25rem; border: 0; border-radius: .875rem; background: var(--pass-blue); color: #fff;
  box-shadow: none; font: 700 .9375rem/1.2 "Paperlogy Bold", var(--sans);
}
.booklist-catalog .ebook-pass-dock .hb-btn:focus-visible { outline: 3px solid var(--pass-blue); outline-offset: 3px; }
@media (hover: hover) { .booklist-catalog .ebook-pass-dock .hb-btn:hover { background: var(--pass-blue-hover); } }
@media (prefers-reduced-motion: reduce) { .booklist-catalog :is(.booklist-feature, .booklist-card-price) { transition: none; } }
/* IELTS 칸 팝업(app.js a[data-ielts-preview]): 소개 페이지를 iframe 으로 — 미리 읽기 팝업과 같은 흰 판 · 둥근 모서리 · 오른쪽 위 × */
.ielts-pop {
  box-sizing: border-box; width: min(100vw - 24px, 960px); height: min(100dvh - 32px, 920px); max-width: none; max-height: none;
  margin: auto; padding: 0; border: 0; border-radius: 24px; overflow: hidden; background: #fff; box-shadow: 0 20px 60px rgb(0 0 0 / .2);
}
.ielts-pop::backdrop { background: rgb(0 0 0 / .4); }
.ielts-pop iframe { display: block; width: 100%; height: 100%; border: 0; }
.ielts-pop-x {
  position: absolute; top: 12px; right: 12px; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 50%; background: rgb(255 255 255 / .92); color: #191919; box-shadow: 0 2px 10px rgb(0 0 0 / .15); cursor: pointer;
}
.ielts-pop-x:focus-visible { outline: 2px solid #191919; outline-offset: 2px; }
html:has(.ielts-pop[open]) { overflow: hidden; }
/* IELTS 팝업 아래에 붙은 구매 띠: 왼쪽 이름 · 값, 오른쪽 구매하기(누르면 결제 팝업) — 미리보기 화면은 그 위 남은 높이 */
.ielts-pop[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.ielts-pop-bar {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .75rem;
  padding: .625rem .75rem .625rem 1.125rem; padding-bottom: max(.625rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--pass-line, #e1dcf3); background: #fff; color: var(--pass-ink, #221941); word-break: keep-all;
}
.ielts-pop-bar p { display: grid; gap: .125rem; min-width: 0; margin: 0; }
.ielts-pop-bar b { color: var(--pass-muted, #524965); font: 700 .8125rem/1.3 var(--sans); }
.ielts-pop-bar .booklist-price { display: flex; flex-wrap: wrap; align-items: center; gap: .125rem .5rem; }
.ielts-pop-bar .booklist-price strong { order: -1; font: 700 1.25rem/1.2 "Paperlogy Bold", var(--sans); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ielts-pop-bar .booklist-price > span { display: inline-flex; align-items: center; gap: .375rem; color: var(--pass-muted, #524965); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.ielts-pop-bar .booklist-price b { padding: .2rem .4rem; border-radius: .4rem; background: var(--pass-lime, #e7f978); color: var(--pass-ink, #221941); font: 700 .6875rem/1.2 var(--sans); }
.ielts-pop-buy {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 1.5rem; border-radius: .875rem;
  background: var(--pass-blue, #402bd7); color: #fff; font: 700 .9375rem/1.2 "Paperlogy Bold", var(--sans);
}
.ielts-pop-buy:focus-visible { outline: 3px solid var(--pass-blue, #402bd7); outline-offset: 3px; }
@media (hover: hover) { .ielts-pop-buy:hover { background: var(--pass-blue-hover, #3220ae); } }
