
:host { all: initial; display: block; visibility: inherit; width: 1200px; height: 1800px; overflow: hidden; background: var(--paper, #f5f5f5); color: var(--ink, #191919); font-family: "Paperlogy", "Apple SD Gothic Neo", sans-serif; word-break: keep-all; -webkit-text-size-adjust: none; }
p, h1, h2, ol, ul, dl, dt, dd, div { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; text-decoration: none; }
.page { position: relative; box-sizing: border-box; width: 1200px; height: 1800px; padding: 132px 112px 156px; display: flex; flex-direction: column; overflow: hidden; }
.cover { padding: 0; }
.cover img { display: block; width: 1200px; height: 1800px; }
.kicker { font-family: Georgia, serif; font-style: italic; font-size: 36px; line-height: 1; color: var(--accent, #4b4b4b); }
.kicker .of { color: var(--faint, #767676); }
.top { display: flex; justify-content: space-between; align-items: center; min-height: 64px; }
.listen { display: inline-block; padding: 16px 34px 18px; border-radius: 999px; background: var(--action, #111); color: var(--paper-hi, #fff); font-size: 28px; line-height: 1; }
.run { position: absolute; left: 112px; right: 112px; bottom: 64px; display: flex; justify-content: space-between; padding-top: 22px; border-top: 2px solid var(--rule, #d9d9d9); font-size: 24px; color: var(--faint, #767676); }
.scene { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; margin: 48px -40px 0; }
.scene img { display: block; max-width: 100%; max-height: 100%; }
.-epub-media-overlay-active { background-color: rgba(192, 85, 58, .2); border-radius: 8px; }

/* 이렇게 읽어요 */
.big { margin-top: 40px; font-weight: normal; font-size: 104px; line-height: 1.22; letter-spacing: -2px; }
.big .accent { color: var(--accent, #4b4b4b); }
.how { margin-top: auto; border-top: 3px solid var(--ink, #191919); }
.how li { display: flex; gap: 40px; padding: 38px 0; border-bottom: 2px solid var(--rule, #d9d9d9); }
.how .num { flex: none; width: 64px; font-family: Georgia, serif; font-style: italic; font-size: 40px; color: var(--accent, #4b4b4b); }
.how p { font-size: 38px; line-height: 1.6; }
.note { margin-top: 44px; font-size: 30px; line-height: 1.6; color: var(--soft, #606060); }

/* 장 표지 */
.title { margin-top: 30px; font-family: Georgia, serif; font-weight: normal; font-size: 100px; line-height: 1.08; letter-spacing: -1.5px; }
.title-ko { margin-top: 22px; font-size: 48px; color: var(--soft, #606060); }
.caption { margin-top: 28px; font-size: 32px; line-height: 1.6; color: var(--soft, #606060); text-align: center; }

/* 구절 */
.en { margin-top: 60px; font-family: Georgia, serif; font-size: 62px; line-height: 1.42; letter-spacing: -.3px; }
.en .key { color: #c0553a; border-bottom: 3px solid #c0553a; }
.ko { margin-top: 40px; font-size: 38px; line-height: 1.65; color: var(--soft, #606060); }
.keys { margin-top: 48px; border-top: 2px solid var(--rule, #d9d9d9); }
.keys li { display: flex; align-items: baseline; gap: 28px; padding: 18px 0; border-bottom: 2px solid var(--rule, #d9d9d9); }
.keys .w { flex: none; width: 300px; font-family: Georgia, serif; font-size: 40px; }
.keys .d { font-size: 32px; color: var(--soft, #606060); }
.scene.small { margin-top: 36px; }

/* 단어 30 */
.h { margin-top: 28px; font-weight: normal; font-size: 80px; line-height: 1.15; letter-spacing: -1.5px; }
.index { margin-top: 48px; padding-top: 6px; border-top: 3px solid var(--ink, #191919); -webkit-column-count: 2; column-count: 2; -webkit-column-gap: 64px; column-gap: 64px; }
.index li { -webkit-column-break-inside: avoid; break-inside: avoid; border-bottom: 2px solid var(--rule, #d9d9d9); }
.index a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; }
.index .w { font-family: Georgia, serif; font-size: 36px; }
.index .d { font-size: 26px; color: var(--soft, #606060); white-space: nowrap; }

/* 단어 학습 */
.lemma { margin-top: 40px; font-family: Georgia, serif; font-weight: normal; font-size: 124px; line-height: 1; letter-spacing: -2px; }
.ipa { margin-top: 26px; font-family: Georgia, serif; font-size: 38px; color: var(--soft, #606060); }
.ipa .pos { margin-left: 16px; padding: 4px 16px 6px; border-radius: 999px; background: var(--paper-deep, #ededed); color: var(--ink, #191919); font-family: "Paperlogy", sans-serif; font-size: 26px; vertical-align: 6px; }
.mean { margin-top: 34px; font-size: 50px; line-height: 1.35; }
.q { margin-top: 44px; padding-left: 28px; border-left: 4px solid #c0553a; font-family: Georgia, serif; font-size: 32px; line-height: 1.55; color: #454545; }
.q b { font-weight: normal; color: #c0553a; }
.rel { margin-top: 44px; border-top: 3px solid var(--ink, #191919); }
.rel div { display: flex; align-items: baseline; gap: 24px; padding: 18px 0; border-bottom: 2px solid var(--rule, #d9d9d9); }
.rel dt { flex: none; width: 184px; font-size: 26px; color: var(--soft, #606060); }
.rel dd { font-size: 28px; line-height: 1.55; }
.rel dd span[lang] { font-family: Georgia, serif; font-size: 32px; }
.rel .pos { font-style: normal; font-size: 22px; color: var(--faint, #767676); }
.ex-en { margin-top: 40px; font-family: Georgia, serif; font-style: italic; font-size: 36px; line-height: 1.45; }
.ex-ko { margin-top: 10px; font-size: 30px; line-height: 1.55; color: var(--soft, #606060); }
.tip { margin-top: 36px; padding: 24px 30px; border-radius: 20px; background: var(--paper-hi, #fff); font-size: 29px; line-height: 1.55; }

/* 신청하기(끝 장) */
.price { margin-top: 56px; display: flex; align-items: baseline; gap: 24px; }
.price del { font-size: 40px; color: var(--faint, #767676); }
.price strong { font-family: Georgia, serif; font-weight: normal; font-size: 120px; line-height: 1; color: var(--accent, #4b4b4b); }
.price .off { padding: 8px 20px 10px; border-radius: 999px; background: var(--accent, #4b4b4b); color: var(--paper-hi, #fff); font-size: 30px; }
.end-text { margin-top: 48px; font-size: 38px; line-height: 1.65; color: #454545; }
.go { margin-top: auto; display: block; padding: 40px 0 42px; border-radius: 999px; background: var(--ink, #191919); color: var(--paper-hi, #fff); font-size: 40px; text-align: center; }

/* 모든 쪽 바탕은 공통 종이 한 장. 카드 쪽은 그 위에 종이를 뺀 투명 그림(2:3)을 얹고 위쪽 빈 곳에 글을 얹는다 */
.card { padding: 96px 96px 140px; text-align: center; }
.card .bg { position: absolute; left: 0; top: 0; width: 1200px; height: 1800px; z-index: 0; }
.card > * { position: relative; z-index: 1; }
.card .run { position: absolute; left: 96px; right: 96px; text-align: left; border-top: 0; }
.card .top { text-align: left; }
.card .kicker { font-family: "Paperlogy", sans-serif; font-style: normal; font-size: 30px; color: var(--faint, #767676); }
.hw { margin-top: 30px; font-family: Georgia, serif; font-weight: normal; line-height: 1.05; letter-spacing: -1.5px; }
.hw-ko { margin-top: 14px; font-size: 44px; line-height: 1.35; color: var(--soft, #606060); }
.sent { margin-top: 44px; font-family: Georgia, serif; line-height: 1.38; letter-spacing: -.3px; }
.sent .key { color: #c0553a; }
.sent-ko { margin-top: 22px; line-height: 1.55; color: #454545; }
.sent, .sent-ko, .src { text-shadow: 0 0 8px var(--paper, #f5f5f5), 0 0 16px var(--paper, #f5f5f5), 0 0 24px var(--paper, #f5f5f5); }
.chips { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.chips li { padding: 10px 22px 12px; border-radius: 999px; background: var(--paper-deep, #ededed); font-size: 28px; line-height: 1.2; }
.chips span { font-family: Georgia, serif; font-size: 30px; margin-right: 8px; }
.src { margin-top: 22px; font-family: Georgia, serif; font-style: italic; font-size: 30px; color: var(--soft, #606060); }
/* 쉬운 버전: 큰 단어 강조는 글자(inline span #hw)에만, 문장·번역 줄 길이를 고르게, 번역은 어절 단위로 끊는다 */
.easy .hw span { border-radius: 6px; }
.easy .sent, .easy .sent-ko { text-wrap: balance; }
.easy .sent-ko { word-break: keep-all; }

/* 부 표지 */
.part-en { margin-top: 20px; font-family: Georgia, serif; font-style: italic; font-size: 44px; color: var(--soft, #606060); }
.part-lede { margin-top: 30px; font-size: 36px; line-height: 1.6; color: #454545; }
.cats { margin-top: 44px; border-top: 3px solid var(--ink, #191919); display: flex; flex-wrap: wrap; column-gap: 56px; }
.cats li { width: 460px; border-bottom: 2px solid var(--rule, #d9d9d9); }
.cats a { display: flex; justify-content: space-between; align-items: baseline; padding: 13px 0; font-size: 29px; }
.cats .n { font-family: Georgia, serif; font-size: 26px; color: var(--faint, #767676); }
.cats.wide li { width: 976px; }
.cats.wide a { font-size: 36px; padding: 22px 0; }

/* 찾아보기 */
.idx { margin-top: 36px; display: flex; gap: 56px; border-top: 3px solid var(--ink, #191919); }
.idx ul { width: 460px; }
.idx li { display: flex; align-items: baseline; gap: 12px; height: 37px; border-bottom: 1px solid var(--rule, #d9d9d9); overflow: hidden; white-space: nowrap; }
.idx .w { flex: none; font-family: Georgia, serif; font-size: 25px; }
.idx .d { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 19px; color: var(--soft, #606060); }
.idx .p { flex: none; font-family: Georgia, serif; font-size: 19px; color: var(--accent, #4b4b4b); }
.idx .p a { margin-left: 6px; }
.idx-note { margin-top: 20px; font-size: 26px; color: var(--soft, #606060); }

/* 여행: 그림 없는 카드는 글을 지면 가운데로 */
.card.plain .hw { margin-top: auto; }
.card.plain .sent-ko { margin-bottom: auto; }
.card .run span:first-child { font-size: 22px; }
/* 분류 찾아보기 */
.find { margin-top: 36px; border-top: 3px solid var(--ink, #191919); -webkit-column-count: 2; column-count: 2; -webkit-column-gap: 56px; column-gap: 56px; }
.find section { -webkit-column-break-inside: avoid; break-inside: avoid; padding-top: 22px; }
.find h2 { font-weight: normal; font-size: 34px; color: var(--accent, #4b4b4b); padding-bottom: 8px; border-bottom: 2px solid var(--ink, #191919); }
.find a { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--rule, #d9d9d9); font-size: 28px; }
.find .n { font-family: Georgia, serif; font-size: 22px; color: var(--faint, #767676); }
/* 상황 한눈 목록 */
.tags { margin-top: 14px; font-size: 22px; color: var(--faint, #767676); }
.glance { margin-top: 26px; border-top: 3px solid var(--ink, #191919); }
.glance a { display: flex; gap: 18px; padding: 7px 0 8px; border-bottom: 1px solid var(--rule, #d9d9d9); }
.glance .no { flex: none; width: 34px; font-family: Georgia, serif; font-size: 20px; line-height: 34px; color: var(--accent, #4b4b4b); }
.glance .en { display: block; font-family: Georgia, serif; font-size: 26px; line-height: 1.3; }
.glance .ko { display: block; font-size: 20px; line-height: 1.35; color: var(--soft, #606060); }


:host([data-carousel-page]) { background: transparent; }
:host([data-carousel-page]) .cover { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; }
:host([data-carousel-page]) .cover img { width: 84%; height: 84%; object-fit: contain; }

.listen { display: none; }
