/* Free saju preview before payment (owner 2026-11-13). Our own layout on the seoga paper theme.
   2026-11-20: hero with the customer's number and our fox art, fox speech bubbles like the ads,
   month counts with the months hidden, chapter cards with art and locked items. */
.free-preview { display: grid; gap: 16px; margin-bottom: 18px; }
.fp-kicker { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--brand, #a8321f); }
.fp-note { margin: 8px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted, #625649); word-break: keep-all; }
.fp-center { text-align: center; }
.fp-basis { margin: 6px 0 0; font-size: 13px; line-height: 1.55; color: var(--muted, #625649); word-break: keep-all; }
.fp-card { padding: 20px 18px 22px; background: #fffaf0; border: 1px solid var(--line, #d8cab4); border-radius: 18px; }
.fp-card-title { margin: 0 0 14px; font-family: var(--display, serif); font-size: 21px; line-height: 1.35; text-align: center; word-break: keep-all; }

/* Hero: whose reading, the question, the number, our art. */
.fp-hero { display: grid; justify-items: center; gap: 4px; padding: 22px 16px 18px; text-align: center; background: #fffaf0; border: 1px solid var(--line, #d8cab4); border-radius: 22px; overflow: hidden; }
.fp-hero-kicker { margin: 0; font-size: 15px; font-weight: 600; color: var(--muted, #6f645b); }
.fp-hero-question { margin: 2px 0 0; font-family: var(--display, serif); font-size: 26px; line-height: 1.3; word-break: keep-all; }
.fp-hero-number { margin: 6px 0 0; display: grid; justify-items: center; gap: 0; }
.fp-hero-number span { font-size: 14px; color: var(--muted, #6f645b); }
.fp-hero-number strong { font-family: var(--display, serif); font-size: 64px; line-height: 1.05; color: var(--seal, #b23a2e); }
.fp-hero-art { display: block; width: calc(100% + 32px); max-width: none; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin: 10px -16px 0; }
.fp-hero-art[src*="fox-guide"] { width: 150px; aspect-ratio: 1; margin: 8px 0 0; }
.fp-hero-lock { margin: 12px 0 0; padding: 10px 16px; border-radius: 999px; background: #f6e9dc; font-size: 15px; font-weight: 600; line-height: 1.5; word-break: keep-all; }
.fp-hero-lock b { font-weight: 800; letter-spacing: .04em; }

/* The fox talking, the way the ads talk. */
.fp-talk { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 10px; padding: 4px 2px; }
.fp-talk-fox { width: 92px; height: 92px; object-fit: contain; }
.fp-talk-lines { display: grid; gap: 8px; justify-items: start; }
.fp-bubble { position: relative; margin: 0; padding: 12px 16px; background: #fffdf7; border: 2.5px solid #2a211c; border-radius: 22px 22px 22px 6px; font-size: 17px; font-weight: 700; line-height: 1.45; word-break: keep-all; }

/* Months: how many and what they are called; the month itself stays hidden. */
.fp-timing-rows { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.fp-timing-row { display: grid; grid-template-columns: 4.2em auto 1fr; align-items: center; gap: 10px; padding: 12px 2px; border-bottom: 1px solid var(--line, #e6d9c6); }
.fp-timing-row:last-child { border-bottom: 0; }
.fp-timing-order { font-size: 15px; font-weight: 700; }
.fp-timing-month { font-size: 18px; font-weight: 800; letter-spacing: .06em; color: #8a7b6c; }
.fp-chip { justify-self: end; padding: 5px 10px; border-radius: 999px; background: #f7e3d8; color: #a8452f; font-size: 13px; font-weight: 700; line-height: 1.35; text-align: center; word-break: keep-all; }
.fp-timing-bad .fp-chip { background: #ece6df; color: #5d5148; }

/* Rows whose answers open after payment: empty bars, no text behind them. */
.fp-hidden-rows dl { display: grid; grid-template-columns: auto 1fr; gap: 14px 14px; align-items: center; margin: 0; }
.fp-hidden-rows dt { font-size: 15px; font-weight: 700; word-break: keep-all; }
.fp-hidden-rows dd { margin: 0; }
.fp-blur-bar { display: block; height: 16px; border-radius: 999px; background: linear-gradient(90deg, #e9dcc6, #dccbb0); filter: blur(1.5px); }
.fp-hidden-rows dd:nth-of-type(2) .fp-blur-bar { width: 78%; }
.fp-hidden-rows dd:nth-of-type(3) .fp-blur-bar { width: 88%; }

/* Natal card (unchanged look, rounder). */
.fp-natal-picture { margin: 0 0 6px; font-size: 14px; font-weight: 700; color: var(--accent, #9a3b2a); word-break: keep-all; }
.fp-natal-sentence { margin: 0 0 14px; font-family: var(--display, serif); font-size: 19px; font-weight: 600; line-height: 1.55; word-break: keep-all; }
.fp-elements { display: grid; gap: 7px; margin: 0 0 4px; padding: 0; list-style: none; }
.fp-element { display: grid; grid-template-columns: 2.6em 1fr 3em; align-items: center; gap: 10px; font-size: 14px; }
.fp-element-name { font-weight: 700; }
.fp-element-count { text-align: right; color: var(--muted, #625649); }
.fp-element-bar { height: 10px; background: #ece2d2; border-radius: 5px; overflow: hidden; }
.fp-element-bar > span { display: block; height: 100%; border-radius: 5px; }
.fp-wood .fp-element-bar > span { background: #6f9a5b; }
.fp-fire .fp-element-bar > span { background: #d8644a; }
.fp-earth .fp-element-bar > span { background: #c49a45; }
.fp-metal .fp-element-bar > span { background: #8d9690; }
.fp-water .fp-element-bar > span { background: #5d86a8; }
.fp-lines { display: grid; grid-template-columns: 2.6em 1fr; gap: 8px 10px; margin: 12px 0 0; padding-top: 12px; border-top: 1px dashed var(--line, #d8cab4); }
.fp-lines dt { font-size: 14px; font-weight: 700; color: var(--brand-dark, #84240f); padding-top: 2px; }
.fp-lines dd { margin: 0; font-size: 16px; line-height: 1.65; word-break: keep-all; }

/* A verdict sent in full (older previews). */
.fp-verdict { text-align: center; }
.fp-verdict-text { margin: 4px 0 14px; font-family: var(--display, serif); font-size: 23px; font-weight: 700; line-height: 1.4; word-break: keep-all; }
.fp-reasons { display: grid; gap: 4px; margin: 0; text-align: left; }
.fp-reasons dt { margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--brand-dark, #84240f); }
.fp-reasons dt small { font-weight: 500; color: var(--muted, #625649); }
.fp-reasons dd { margin: 0; font-size: 16px; line-height: 1.65; word-break: keep-all; }

/* Chapter cards: art, number, title, what the chapter holds (locked). */
.fp-chapters-wrap { display: grid; gap: 14px; }
.fp-chapter-card { background: #fffaf0; border: 1px solid var(--line, #d8cab4); border-radius: 18px; overflow: hidden; }
.fp-chapter-art { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.fp-chapter-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px 6px; }
.fp-chapter-no { flex: none; padding: 5px 9px; border-radius: 10px; background: #b4503a; color: #fff; font-size: 14px; font-weight: 800; line-height: 1.2; }
.fp-chapter-title { margin: 0; font-size: 18px; line-height: 1.4; word-break: keep-all; }
.fp-chapter-items { display: grid; gap: 0; margin: 0; padding: 2px 16px 10px; list-style: none; }
.fp-chapter-items li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid #efe4d4; font-size: 15px; line-height: 1.45; word-break: keep-all; }
.fp-chapter-card:not(:has(.fp-chapter-items)) .fp-chapter-head { padding-bottom: 14px; }
.fp-lock { flex: none; font-size: 13px; opacity: .65; }

.fp-included ul { display: grid; gap: 8px; margin: 0 0 4px; padding: 0 0 0 1.1em; }
.fp-included li { font-size: 16px; line-height: 1.55; word-break: keep-all; }
.fp-buy { width: 100%; margin-top: 14px; }
.fp-scope-note { text-align: center; }
.fp-login { display: grid; gap: 10px; }
.fp-login p { margin: 0; font-size: 15px; line-height: 1.6; word-break: keep-all; }
@media (min-width: 701px) { .fp-hero-question { font-size: 30px; } .fp-hero-number strong { font-size: 72px; } .fp-talk { grid-template-columns: 110px 1fr; } .fp-talk-fox { width: 110px; height: 110px; } }

/* Pay sheet (owner 2026-11-20): the fixed bar is one button; consent, price and pay open here. */
.has-free-preview > .page-title { margin: 4px 0 10px; font-size: 15px; font-weight: 700; color: var(--muted, #6f645b); }
.pay-bar.pay-bar-single { padding: 10px 12px; }
.pay-sheet { width: min(100%, 560px); max-width: 100%; max-height: 92vh; margin: auto auto 0; padding: 0; border: 0; border-radius: 22px 22px 0 0; background: #fffaf0; color: inherit; box-shadow: 0 -10px 30px rgba(31, 26, 23, .22); }
.pay-sheet::backdrop { background: rgba(31, 26, 23, .45); }
.pay-sheet-body { display: grid; gap: 10px; padding: 22px 20px calc(env(safe-area-inset-bottom, 0px) + 18px); }
.pay-sheet-kicker { margin: 0; font-size: 13px; font-weight: 700; color: var(--brand, #a8321f); }
.pay-sheet-title:focus { outline: none; }
.pay-sheet-title { margin: 0; font-family: var(--display, serif); font-size: 22px; line-height: 1.35; word-break: keep-all; }
.pay-sheet-price { margin: 0; }
.pay-sheet-price strong { font-size: 28px; }
.pay-sheet-price small { font-size: 13px; color: var(--muted, #6f645b); }
.pay-sheet-list { display: grid; gap: 4px; margin: 0; padding: 0 0 0 1.1em; font-size: 15px; line-height: 1.55; word-break: keep-all; }
.pay-sheet-terms summary, .pay-sheet .checkout-coupon summary { cursor: pointer; font-size: 14px; color: var(--muted, #6f645b); }
.pay-sheet-terms .chart-note { margin: 6px 0 0; font-size: 13px; }
.pay-sheet-refund { margin: 8px 0 0; font-size: 13px; line-height: 1.5; text-align: center; color: var(--muted, #6f645b); word-break: keep-all; }
.pay-sheet-pay { width: 100%; margin: 4px 0 0; }
/* Owner 2026-11-21 ('달빛관처럼'): Toss's methods and terms sit in the sheet; the pay button stays in view while they scroll. */
.pay-sheet { overflow: auto; overscroll-behavior: contain; }
.pay-sheet-methods { display: grid; gap: 4px; min-height: 96px; margin: 2px -6px 0; }
.pay-sheet-status { margin: 0; padding: 22px 0; text-align: center; font-size: 14px; color: var(--muted, #6f645b); }
.pay-sheet-actions { position: sticky; bottom: 0; z-index: 1; display: grid; margin: 0 -20px; padding: 10px 20px 4px; background: #fffaf0; box-shadow: 0 -12px 14px -12px rgba(31, 26, 23, .22); }
.pay-sheet-actions .pay-sheet-pay { margin: 0; }
.pay-sheet-error { margin: 0 0 8px; }
.pay-sheet-close { justify-self: center; border: 0; background: none; padding: 6px 12px; font: inherit; font-size: 14px; color: var(--muted, #6f645b); cursor: pointer; }
@media (min-width: 701px) { .pay-sheet { margin: auto; border-radius: 22px; } }

/* First-payment discount (owner 2026-11-20): the real regular price struck through, the offer price, the real countdown. */
.pay-was { color: rgba(255, 250, 240, .62); font-weight: 600; text-decoration-thickness: 1.5px; }
.pay-bar-offer { margin: 0 0 8px; text-align: center; font-size: 14px; font-weight: 700; color: #b23a2e; }
.pay-bar-offer b, .pay-sheet-timer b, .fp-hero-offer b, .fp-offer-timer b { font-variant-numeric: tabular-nums; }
.pay-sheet-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 8px; }
.pay-sheet-price .pay-was { color: #666; font-size: 17px; }
.pay-off, .fp-off { color: #c2412d; font-size: 20px; font-weight: 800; }
.pay-sheet-timer { margin: -2px 0 0; font-size: 14px; font-weight: 700; color: #b23a2e; }
.pay-sheet-size { margin: -2px 0 0; font-size: 15px; font-weight: 700; color: var(--ink, #2b241f); word-break: keep-all; }
.pay-sheet-size b, .fp-included .fp-pages { font-size: 1.25em; font-weight: 800; color: #b23a2e; }
.fp-hero-offer { margin: 10px 0 0; padding: 7px 14px; border-radius: 999px; background: #b4503a; color: #fff; font-size: 14px; font-weight: 700; }
.fp-price { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin: 16px 0 0; }
.fp-price s { color: var(--muted, #8a7b6c); font-size: 17px; }
.fp-price strong { font-size: 30px; }
.fp-offer-timer { margin: 4px 0 0; text-align: center; font-size: 14px; font-weight: 700; color: #b23a2e; }
/* Product page price line with the first-payment discount. */
.detail-offer-was { margin-right: 2px; color: var(--muted, #8a7b6c); font-weight: 500; }
.detail-offer-sale { color: #b23a2e; }
.detail-offer-was, .detail-offer-sale { white-space: nowrap; }
@media (max-width: 700px) { .service-start-dock strong .detail-offer-kind { display: block; margin-top: 2px; font-size: 15px; } }

/* 신년보감's fields at a glance (owner 2026-11-22 "그걸 이쁘게 보여줘"): the reading's chart inside the preview card. */
.fp-fields { padding: 18px 14px 18px; }
.fp-fields .yv-fields-card { margin: 0; padding: 0; border: 0; background: none; }
/* Owner 2026-11-24 ("세가지다"): the conclusion and its nearest date at the top, the nearest month opened in the month card,
   and 신년보감's two opened months. Read like the reading itself: the conclusion in the display face, the date under it. */
.fp-hero-verdict { margin: 14px 0 0; padding: 0 6px; font-family: var(--display, serif); font-size: 21px; font-weight: 700; line-height: 1.45; color: var(--ink, #1f1a17); word-break: keep-all; text-wrap: balance; }
.fp-hero-when { display: grid; justify-items: center; gap: 4px; margin: 12px 0 0; padding: 12px 16px; border-radius: 14px; background: #f6e9dc; font-size: 15.5px; font-weight: 600; line-height: 1.55; word-break: keep-all; text-wrap: balance; }
.fp-open-tag { padding: 2px 10px; border-radius: 999px; background: #b23a2e; color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.fp-timing-open { background: #fbf1e6; border-radius: 10px; }
.fp-timing-open .fp-timing-month { color: var(--seal, #b23a2e); letter-spacing: .02em; }
.fp-timing-open .fp-timing-date { grid-column: 1 / -1; margin-top: -4px; padding-left: calc(4.2em + 10px); font-size: 13px; font-weight: 600; color: #7a6a5a; word-break: keep-all; }
.fp-year-month { padding: 12px 2px; border-bottom: 1px solid var(--line, #e6d9c6); }
.fp-year-month:last-of-type { border-bottom: 0; }
.fp-year-month-head { margin: 0 0 8px; }
.fp-year-month-head b { font-family: var(--display, serif); font-size: 19px; color: var(--ink, #1f1a17); }
.fp-year-month-head small { font-size: 13px; color: #7a6a5a; }
.fp-year-month ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fp-year-mark { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px; font-size: 15px; line-height: 1.5; word-break: keep-all; }
.fp-year-mark .fp-chip { justify-self: start; min-width: 4.6em; }
.fp-year-hold .fp-chip { background: #ece6df; color: #5d5148; }
.free-preview .fp-nowrap { white-space: nowrap; }
/* Owner 2026-11-24 (bundle ①): the choice at the top of the pay sheet, two rows that read like the reading's own cards. */
.pay-sheet-choice { display: grid; gap: 8px; margin: 14px 0 4px; padding: 0; border: 0; }
.pay-sheet-choice legend { margin-bottom: 6px; padding: 0; font-size: 15px; font-weight: 700; color: var(--ink, #1f1a17); }
.pay-choice { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; min-height: 52px; padding: 10px 14px; border: 1px solid var(--line, #d8cab4); border-radius: 12px; background: #fffaf0; cursor: pointer; }
.pay-choice:has(input:checked) { border-color: #b23a2e; background: #fbf1e6; box-shadow: 0 0 0 1px #b23a2e inset; }
.pay-choice input { width: 18px; height: 18px; margin: 0; accent-color: #b23a2e; }
.pay-choice-name { display: grid; gap: 2px; font-size: 15px; font-weight: 700; line-height: 1.4; word-break: keep-all; }
.pay-choice-name small { font-size: 12.5px; font-weight: 500; color: #7a6a5a; }
.pay-choice-price { display: grid; justify-items: end; gap: 1px; font-size: 15px; font-weight: 800; white-space: nowrap; }
.pay-choice-price small { font-size: 12.5px; font-weight: 700; color: #b23a2e; }
/* 한입 문답 chosen inside another reading's sheet (owner 2026-11-25): its topic and one question are typed here. */
.pay-quick-box { display: grid; gap: 8px; padding: 12px 14px; border: 1px solid var(--line, #d8cab4); border-radius: 12px; background: #fff; }
.pay-quick-box[hidden] { display: none; }
.pay-quick-box label { font-size: 15px; font-weight: 700; }
.pay-quick-box select, .pay-quick-box textarea { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--line, #d8cab4); border-radius: 10px; background: #fffdf8; font: inherit; font-size: 16px; color: inherit; }
.pay-quick-box select { min-height: 44px; }
.pay-quick-box textarea { min-height: 84px; resize: vertical; }
.pay-quick-box small { font-size: 12.5px; color: #7a6a5a; word-break: keep-all; }
.pay-sheet.is-quick .pay-sheet-price, .pay-sheet.is-quick .pay-sheet-timer, .pay-sheet.is-quick .pay-sheet-list, .pay-sheet.is-quick .pay-sheet-size, .pay-sheet.is-quick .pay-sheet-credit { display: none; }

/* 인생총운 (owner 2026-11-24): the type name its first page opens with, and the 10-year luck now and next year. */
.fp-type { text-align: center; }
.fp-type-name { margin: 2px 0 12px; font-family: var(--display, serif); font-size: 27px; line-height: 1.3; color: var(--seal, #b23a2e); word-break: keep-all; text-wrap: balance; }
.fp-type-words { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fp-type-words li { padding: 6px 14px; border-radius: 999px; background: #f6e9dc; font-size: 15px; font-weight: 700; }
.fp-luck-row { display: grid; gap: 6px; padding: 14px 2px; border-bottom: 1px solid var(--line, #e6d9c6); }
.fp-luck-row:last-of-type { border-bottom: 0; }
.fp-luck-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: 15px; }
.fp-luck-text { margin: 0; font-size: 16.5px; font-weight: 600; line-height: 1.6; word-break: keep-all; }
.fp-luck-signal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: 14.5px; line-height: 1.55; word-break: keep-all; }
.fp-luck-signal .fp-chip { justify-self: start; }
.fp-luck-bad .fp-chip { background: #ece6df; color: #5d5148; }

/* 한 가지 문답 (2026-11-25): the visitor's own question up top. */
.fp-quick-question { display: grid; justify-items: center; gap: 8px; margin: 10px 0 0; padding: 14px 16px; border-radius: 14px; background: #f6e9dc; }
.fp-quick-question-text { font-family: var(--display, serif); font-size: 19px; font-weight: 600; line-height: 1.5; word-break: keep-all; overflow-wrap: anywhere; white-space: pre-line; }

/* 한입 문답 offer on the pay bar after the price sheet is closed without paying (2026-11-25). */
.pay-bar-quick { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 8px; padding: 7px 10px; border-radius: 8px; background: #f4e7cf; color: var(--ink, #1f1a17); font-size: 14px; font-weight: 650; line-height: 1.35; text-decoration: none; word-break: keep-all; }
.pay-bar-quick span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 2026-11-25 review: on small phones the bar took half the screen once the offer showed. There it is one short line, and
   the countdown (still in the sheet and at the top of the preview) steps aside while the offer shows. */
.pay-bar-quick-short { display: none; }
@media (max-width: 380px), (max-height: 700px) {
  .pay-bar-quick .pay-bar-quick-long { display: none; }
  .pay-bar-quick .pay-bar-quick-short { display: inline; }
  .pay-bar-quick { padding: 6px 10px; font-size: 13px; gap: 6px; }
  .has-quick-offer .pay-bar-offer { display: none; }
  .has-pay-bar.has-quick-offer { padding-bottom: 170px; }
}
.pay-bar-quick[hidden] { display: none; }
.pay-bar-quick b { white-space: nowrap; color: #b23a2e; }
.has-pay-bar.has-quick-offer { padding-bottom: 200px; }
@media (min-width: 701px) { .has-pay-bar.has-quick-offer { padding-bottom: 180px; } }

/* Owner 2026-11-25: the 한입 문답 credit under the price. */
.pay-sheet-credit { margin: -2px 0 0; font-size: 14px; font-weight: 700; color: #4f7a3d; word-break: keep-all; }
