:root { color-scheme: dark; }
body { margin: 0; background: #0e1221; color: #f5eff1;
  font-family: system-ui, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 18px; line-height: 1.7; }
main { width: min(100%, 480px); box-sizing: border-box; margin: 0 auto; padding: 0 20px 64px; overflow-wrap: anywhere; word-break: keep-all; }
* { box-sizing: border-box; }
header { display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px 0; border-bottom: 1px solid #343148; }
a { color: #ead2a4; text-underline-offset: 4px; }
header a { min-height: 44px; display: flex; align-items: center; text-decoration: none; }
h1 { font-size: 1.5rem; margin: 28px 0 8px; }
.balance { margin: 0 0 24px; color: #ccc4d4; }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; }
legend { font-weight: 600; margin-bottom: 12px; }
label.product { display: flex; justify-content: space-between; align-items: center; gap: 12px;
  min-height: 64px; padding: 14px 18px; border: 1px solid #756882; border-radius: 14px;
  background: #211f35; cursor: pointer; }
label.product:has(input:checked) { border-color: #e2c38c; background: #2b2a34; }
label.product input { width: 22px; height: 22px; margin: 0 10px 0 0; accent-color: #e2c38c; }
.won { font-weight: 600; white-space: nowrap; }
.tag { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px;
  background: #e2c38c; color: #1b1426; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.hint { margin: 12px 0 0; color: #ccc4d4; }
.bonus { white-space: nowrap; color: #e2c38c; }
button { font: inherit; color: #1b1426; background: #e2c38c; border: 0; border-radius: 14px;
  width: 100%; min-height: 56px; margin-top: 20px; font-weight: 700; cursor: pointer; }
button.secondary { color: inherit; background: #211f35; border: 1px solid #756882; }
/* Quiet text-style action (the refund request): small to the eye, still a 44px touch target. */
button.link { width: auto; min-height: 44px; margin-top: 6px; padding: 0; color: #ccc4d4; background: none;
  font-size: .9rem; font-weight: 400; text-decoration: underline; text-underline-offset: 4px; }
button:disabled { color: #ccc4d4; background: #292737; cursor: default; }
:focus-visible { outline: 3px solid #e2c38c; outline-offset: 3px; }
.notice { margin-top: 24px; padding: 16px 18px; border-radius: 14px; background: #1a1830; }
.notice[data-tone="ok"] { border: 1px solid #8fd1a8; }
.notice[data-tone="warn"] { border: 1px solid #f2c48f; }
.notice-action { display: flex; align-items: center; justify-content: center; min-height: 52px; margin-top: 14px; border-radius: 12px; background: #e2c38c; color: #1c1408; font-weight: 700; text-decoration: none; }
small { display: block; margin-top: 24px; color: #ccc4d4; font-size: 0.9rem; }
[hidden] { display: none !important; }

/* Reading purchase and report */
label.field { display: grid; gap: 6px; font-weight: 600; }
select, input[type="number"] { font: inherit; color: inherit; background: #211f35; border: 1px solid #756882;
  border-radius: 12px; min-height: 52px; padding: 10px 14px; width: 100%; }
.row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 10px; }
.choice { display: flex; gap: 12px; flex-wrap: wrap; }
.choice label { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 14px;
  border: 1px solid #756882; border-radius: 12px; background: #211f35; cursor: pointer; }
.choice input, label.check input { width: 22px; height: 22px; accent-color: #e2c38c; }
label.check { display: flex; align-items: center; gap: 10px; min-height: 48px; }
details { border: 1px solid #343148; border-radius: 12px; padding: 4px 16px; }
summary { min-height: 48px; display: flex; align-items: center; cursor: pointer; font-weight: 600; }
form.stack { display: grid; gap: 20px; }
.report h2 { font-size: 1.4rem; margin: 32px 0 8px; }
.report h3 { font-size: 1.15rem; margin: 36px 0 8px; scroll-margin-top: 16px; }
.report h4 { font-size: 1rem; margin: 20px 0 4px; }
.report nav ol { padding-left: 1.4em; }
.report nav li { margin: 6px 0; }
.report dl dt { font-weight: 600; margin-top: 8px; }
.report dl dd { margin: 0; color: #ccc4d4; }
.report .muted { color: #ccc4d4; font-size: 0.95rem; }
ul.bought { padding: 0; list-style: none; display: grid; gap: 10px; }
ul.bought a, ul.bought span { display: block; padding: 14px 18px; border: 1px solid #756882; border-radius: 14px; background: #211f35; text-decoration: none; }
fieldset.plain { border: 0; padding: 0; margin: 0; min-width: 0; }
details.outline ol { margin: 0 0 8px; padding-left: 1.6em; }
details.outline li { margin: 4px 0; }
details.outline .muted { margin: 0 0 12px; color: #ccc4d4; font-size: 0.95rem; }
/* Paid reading graphs (2026-10-12). */
.graphs { margin: 20px 0; padding: 18px 16px; border: 1px solid #343148; border-radius: 16px; background: #171a2c; display: grid; gap: 14px; }
.graphs h3 { margin: 0; font-size: 1.15rem; }
.graphs h4 { margin: 4px 0 0; font-size: 1rem; }
.graphs .muted { margin: 0; color: #ccc4d4; font-size: 0.92rem; }
.graph-pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.graph-pillar { display: grid; gap: 2px; justify-items: center; padding: 10px 4px; border: 1px solid #3d3852; border-radius: 12px; text-align: center; }
.graph-pillar.me { border-color: #e2c38c; background: #2a2340; }
.graph-pillar small { font-size: clamp(12px, 3.5vw, 13.6px); word-break: keep-all; color: #ccc4d4; }
.graph-pillar strong { font-size: 1.15rem; }
.graph-pillar span { font-size: clamp(12px, 3.4vw, 13px); word-break: keep-all; color: #ccc4d4; }
.graph-bars { display: grid; gap: 10px; }
.bar-row { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 4px 10px; }
.bar-name { line-height: 1.4; }
.bar-name b { font-size: 0.95rem; }
.bar-name small { display: inline; margin-left: 6px; font-size: 0.78rem; color: #ccc4d4; }
.bar-track { grid-column: 1 / -1; height: 12px; border-radius: 999px; background: #2c2a3e; overflow: hidden; }
.bar-track i { display: block; height: 100%; border-radius: inherit; }
.bar-row strong { grid-row: 1; grid-column: 2; font-size: 0.9rem; white-space: nowrap; }
.yinyang { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: #2c2a3e; }
.yinyang i { display: block; height: 100%; }
.yinyang .yin { background: #5f72a8; }
.yinyang .yang { background: #e2b86f; }
.card-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.card-row li { display: grid; gap: 2px; justify-items: center; text-align: center; }
.card-row img { width: 100%; max-width: 120px; aspect-ratio: 3 / 5; object-fit: cover; border-radius: 10px; border: 1px solid #3d3852; }
.card-row small { color: #ccc4d4; font-size: 0.8rem; }
/* 2027 신년운세 month strip (2026-10-12). */
.month-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.month-strip li { display: grid; justify-items: center; gap: 1px; padding: 8px 2px; border: 1px solid var(--month-color); border-radius: 12px; background: color-mix(in srgb, var(--month-color) 26%, transparent); text-align: center; line-height: 1.3; }
.month-strip b { font-size: 0.82rem; font-weight: 600; color: #d7d0e2; }
.month-strip strong { font-size: 0.95rem; }
.month-strip small { font-size: 0.75rem; color: #cfc8da; }
@media (min-width: 480px) { .month-strip { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
/* Business details at the bottom of the charge page (card review, 2026-10-14). */
.biz { margin-top: 28px; padding-top: 14px; border-top: 1px solid #343148; color: #bdb6c9; font-size: 0.85rem; line-height: 1.7; }
.biz p { margin: 0; }
.biz a { color: #e2c38c; }
/* 2026-10-14: stars ending within 30 days. */
.expiry-note{margin:8px 0 18px;padding:12px 14px;border:1px solid #e2c38c;border-radius:12px;background:#2a2433;color:#f8ecd6;font-size:16px;line-height:1.6}
/* 2026-10-14 A plan: product tiles, one-line notes, folded details and business info. */
fieldset.tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
fieldset.tiles legend { font-weight: 500; font-size: .95rem; color: #ccc4d4; margin-bottom: 10px; }
fieldset.tiles label.product { position: relative; display: grid; gap: 2px; justify-content: stretch; align-content: start;
  min-height: 0; padding: 14px 12px 12px; border-radius: 16px; }
fieldset.tiles label.product input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
fieldset.tiles label.product:has(input:focus-visible) { outline: 2px solid #e2c38c; outline-offset: 2px; }
fieldset.tiles label.product:has(input:checked) { border-width: 2px; padding: 13px 11px 11px; }
fieldset.tiles .stars { display: flex; align-items: center; gap: 6px; font-size: 1.35rem; font-weight: 700; color: #f8ecd6; }
fieldset.tiles .stars img { flex: none; }
fieldset.tiles .bonus { font-size: 1rem; font-weight: 600; }
fieldset.tiles .uses { font-size: .85rem; color: #bdb6c9; }
fieldset.tiles .won { margin-top: 6px; font-size: 1rem; }
fieldset.tiles .tag { position: absolute; top: -9px; right: 10px; margin: 0; font-size: .72rem; padding: 1px 8px; }
.hint a { color: #e2c38c; }
details.info, details.biz-more { border: 0; border-radius: 0; padding: 0; }
details.info { margin-top: 0; border-top: 1px solid #343148; font-size: .9rem; line-height: 1.7; color: #ccc4d4; }
details.info:last-of-type { border-bottom: 1px solid #343148; }
/* Folds show a gold open/close arrow (owner, 2026-10-21: "화살표로 열고,닫는 게 확실히 보이게"). The birth time is no longer
   folded (2026-10-25): it shows at once with '태어난 시간을 몰라요'. */
details.info summary::after, .biz-more summary::after { content: ''; flex: none; width: 7px; height: 7px; margin: 0 4px 3px auto;
  border-right: 1.5px solid #e2c38c; border-bottom: 1.5px solid #e2c38c; transform: rotate(45deg); transition: transform .2s; }
details.info[open] summary::after, .biz-more[open] summary::after { margin-bottom: -3px; transform: rotate(-135deg); }
.birth-time input:disabled { opacity: .45; }
form .hint { font-size: .9rem; color: #bdb6c9; }
details.info summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-weight: 600; color: #f0e8f5; }
details.info p { margin: 0 0 8px; }
details.info a { color: #e2c38c; }
#refund-section { margin-top: 18px; }
#refund-section .refund-note { margin: 0; font-size: 14px; line-height: 1.6; color: #ccc4d4; }
.biz-more summary { min-height: 40px; display: flex; align-items: center; cursor: pointer; font-weight: 400; color: #d8d2c4; }
.biz-more summary::after { margin-left: 10px; }
/* 2026-10-14 premium pass: site fonts, brand header, calmer base size. */
body { font-family: 'Pretendard Variable',Pretendard,-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo','Malgun Gothic',sans-serif; font-size: 16px; letter-spacing: -.005em;
  background: radial-gradient(110% 380px at 88% -60px, rgba(98, 42, 99, .3), transparent 70%), #0e1221; }
h1, .report h2, .report h3, .graphs h3 { font-family:var(--title-serif); font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: 1.625rem; line-height: 1.4; margin: 30px 0 8px; }
header { border-bottom-color: rgba(255, 255, 255, .08); }
header .brand { gap: 8px; font-family:var(--title-serif); font-weight: 700; font-size: 20px; color: #f5eff4; white-space: nowrap; }
header .header-link { font-size: 15px; font-weight: 600; color: #e2c38c; }
.brand-symbol { position: relative; display: inline-block; flex: none; width: 26px; height: 26px; }
.brand-symbol span { position: absolute; left: 3px; top: 2px; width: 16px; height: 21px; border: 1.6px solid #e78196;
  border-radius: 60% 50% 55% 45%; transform: rotate(-28deg); }
.brand-symbol span + span { left: 9px; border-color: #b199c8; transform: rotate(28deg); }
/* 2026-10-14: business info in quiet colors; items wrap between items, never inside the phone number. */
.biz a { color: #d9d3e2; text-decoration-color: rgba(217, 211, 226, .35); }
.biz-line { display: flex; flex-wrap: wrap; gap: 0 8px; }
.biz-line span { white-space: nowrap; }
.biz-line span.wrap { white-space: normal; }
.biz-line span:not(:last-child)::after { content: '·'; margin-left: 8px; color: #6d6880; }
.biz-links { display: flex; flex-wrap: wrap; gap: 0 16px; }
.biz-links a { display: inline-flex; align-items: center; min-height: 40px; }
.biz-more summary::after { border-color: #a9a3b8; }
/* Situation questions on the paid form (2026-10-15) and the answers echoed in chapter 1. */
details.situation { padding: 14px 16px; border: 1px solid #3a3350; border-radius: 14px; background: #1a1830; }
details.situation summary { display: block; cursor: pointer; font-weight: 600; line-height: 1.5; }
details.situation summary .muted { display: block; font-weight: 400; }
details.situation .stack { margin-top: 14px; }
.situation fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.situation legend { font-weight: 600; margin-bottom: 8px; }
.situation .choice label { min-height: 44px; padding: 6px 12px; }
.report h4 { margin: 22px 0 6px; color: #e2c38c; font-size: 1.02rem; }
.report .told strong { display: block; margin-bottom: 4px; color: #e2c38c; font-size: 0.9rem; }

/* 재회 new reading (2026-10-18, reunion-v3): answers at a glance, a running head with a filling moon, chapter
   openers, why-boxes, message bubbles and the don'ts with reasons. Only transform and opacity move; reduced motion
   shows everything at once. */
.rv3 { --rv-gold: #e2c387; --rv-soft: #c9c2d6; --rv-line: #343148; --rv-panel: #181c31; --rv-no: #f0a07c; }
.rv3 .rv3-moon .dark { fill: #2c2b48; }
.rv3 .rv3-moon .lit { fill: #ecd193; }
.rv3-head { position: sticky; top: 0; z-index: 5; margin: 16px -20px 0; padding: 8px 20px 0; background: rgba(14, 18, 33, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.rv3-head-row { display: flex; align-items: center; gap: 10px; min-height: 30px; }
.rv3-head .m[hidden] { display: none; }
.rv3-head .t { display: flex; align-items: baseline; gap: 6px; min-width: 0; margin: 0; font-size: 14px; color: var(--rv-soft); }
.rv3-head .t b { font-family:var(--title-serif); font-size: 16px; color: var(--rv-gold); }
.rv3-head .of { font-size: 14px; white-space: nowrap; }
.rv3-head .q { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #f5eff1; font-weight: 600; }
.rv3-bar { height: 2px; margin-top: 8px; background: var(--rv-line); }
.rv3-bar i { display: block; height: 100%; background: var(--rv-gold); transform-origin: left; transform: scaleX(var(--p, 0)); }
.rv3-toc { margin: 20px 0; padding: 16px 16px 10px; border: 1px solid var(--rv-line); border-radius: 14px; scroll-margin-top: 64px; }
.rv3-toc-t { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .06em; color: var(--rv-gold); }
.rv3-toc .muted { margin: 2px 0 6px; font-size: 14px; }
.rv3 .rv3-toc ol { list-style: none; margin: 0; padding: 0; }
.rv3-toc a { display: grid; grid-template-columns: 20px 16px minmax(0, 1fr); gap: 4px 10px; align-items: start; padding: 10px 0; min-height: 44px; border-top: 1px solid var(--rv-line); color: #f5eff1; text-decoration: none; line-height: 1.55; }
.rv3-toc li:first-child a { border-top: 0; }
.rv3-toc .rv3-moon, .rv3-toc .no { margin-top: 3px; }
.rv3-toc .no { font-family:var(--title-serif); color: var(--rv-gold); }
.rv3-toc .q { font-weight: 700; font-size: 16px; }
.rv3-toc .a { grid-column: 3; font-size: 15px; color: var(--rv-gold); }
.rv3-toc .told { grid-column: 3; font-size: 14px; color: #c9c2f2; }
.rv3-ch { display: grid; gap: 14px; padding: 36px 0 8px; scroll-margin-top: 56px; }
.rv3-ch p { margin: 0; }
.rv3-open { display: grid; justify-items: center; gap: 6px; text-align: center; padding-bottom: 18px; border-bottom: 1px solid var(--rv-line); }
.rv3-open .nth { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--rv-gold); }
.rv3-open h3 { margin: 0; font-family:var(--title-serif); font-size: 1.45rem; line-height: 1.45; text-wrap: balance; }
.rv3-open .hook { font-size: 16px; color: var(--rv-soft); text-wrap: balance; }
.rv3-answer { display: grid; gap: 4px; padding: 4px 0 4px 14px; border-left: 3px solid var(--rv-gold); }
.rv3-answer .lab { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--rv-gold); }
.rv3-answer .say { font-family:var(--title-serif); font-size: 1.2rem; line-height: 1.65; }
.rv3-ch h4 { margin: 12px 0 -4px; font-size: 14px; letter-spacing: .06em; color: var(--rv-gold); }
.rv3-ch h4.no { color: var(--rv-no); }
.rv3-ch .say { line-height: 1.85; }
.rv3-acts { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.rv3-acts > li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 8px; }
.rv3-acts .num { font-family:var(--title-serif); font-size: 1.3rem; line-height: 1.3; color: var(--rv-gold); }
.rv3-acts .body { display: grid; gap: 8px; min-width: 0; }
.rv3-acts .do { font-weight: 700; line-height: 1.6; }
.rv3-acts .why { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; background: var(--rv-panel); font-size: 16px; line-height: 1.75; color: var(--rv-soft); }
.rv3-acts .why .lab { font-size: 14px; font-weight: 700; letter-spacing: .06em; color: var(--rv-gold); }
.rv3-acts .ex { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 16px; color: var(--rv-soft); }
.rv3-acts .ex > li:not(.msg):not(.note) { position: relative; padding-left: 14px; }
.rv3-acts .ex > li:not(.msg):not(.note)::before { content: ""; position: absolute; left: 2px; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--rv-gold); opacity: .7; }
.rv3-acts .ex .note { padding: 8px 12px; border-radius: 8px; background: var(--rv-panel); color: #f5eff1; }
.rv3-acts .ex.sends { gap: 8px; }
/* A message row spans the column and pushes the bubble right, so the bubble never shrinks to one letter wide. */
.rv3-acts .msg { display: flex; justify-content: flex-end; align-items: flex-end; gap: 6px; width: 100%; }
.rv3-acts .bub { order: 2; max-width: calc(100% - 64px); overflow-wrap: break-word; word-break: keep-all; padding: 9px 13px; border-radius: 16px 16px 4px 16px; background: var(--rv-gold); color: #1b1606; font-size: 16px; line-height: 1.55; }
/* The page makes every button a full-width gold bar; the copy button stays a small pill beside the bubble. */
.rv3 .rv3-acts .copy { order: 1; flex: none; width: auto; min-height: 40px; margin: 0; padding: 0 12px; border-radius: 999px; border: 1px solid var(--rv-line); background: transparent; color: var(--rv-soft); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; transition: transform .16s ease-out; }
.rv3 .rv3-acts .copy:active { transform: scale(.97); }
.rv3-donts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rv3-donts li { position: relative; display: grid; gap: 2px; padding-left: 24px; }
.rv3-donts li::before { content: ""; position: absolute; left: 3px; top: .55em; width: 11px; height: 11px; background: linear-gradient(45deg, transparent 43%, var(--rv-no) 43% 57%, transparent 57%), linear-gradient(-45deg, transparent 43%, var(--rv-no) 43% 57%, transparent 57%); }
.rv3-donts .rule { font-weight: 700; line-height: 1.6; }
.rv3-donts .why { font-size: 16px; line-height: 1.75; color: var(--rv-soft); }
.rv3-end { display: grid; justify-items: center; gap: 8px; padding-top: 20px; }
.rv3-end .next { display: grid; justify-items: center; gap: 2px; min-height: 48px; padding: 10px 18px; border-radius: 14px; border: 1px solid var(--rv-line); color: #f5eff1; text-decoration: none; font-weight: 600; text-align: center; }
.rv3-end .next span { font-size: 13px; font-weight: 500; color: var(--rv-gold); }
/* 2026-10-18: 무료에서 본 것 and the MBTI-tailored action. */
.rv3-recap { display: grid; gap: 6px; margin: 18px 0 4px; padding: 16px; border-radius: 14px; border: 1px solid rgba(226, 195, 135, .45); background: var(--rv-panel); }
.rv3-recap p { margin: 0; }
.rv3-recap .lab { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--rv-gold); }
.rv3-recap h3 { margin: 0; font-family:var(--title-serif); font-size: 1.3rem; }
.rv3-recap .rv3-facts { margin: 4px 0 2px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; align-items: baseline; }
.rv3-recap .rv3-facts dt { font-size: 13.5px; font-weight: 700; color: var(--rv-soft); white-space: nowrap; }
.rv3-recap .rv3-facts dd { margin: 0; font-size: 15.5px; line-height: 1.55; }
.rv3-scorehead { display: flex; align-items: center; gap: 14px; margin: 6px 0 2px; }
.rv3-scorehead .num { flex: none; font-family: var(--title-serif); font-size: 16px; color: var(--rv-gold); }
.rv3-scorehead .num b { font-size: 2.6rem; line-height: 1; margin-right: 2px; }
.rv3-scorehead > div { display: grid; gap: 2px; min-width: 0; }
.rv3-scorehead .tier { font-size: 15px; line-height: 1.5; }
.rv3-recap .rv3-more { margin-top: 6px; }
.rv3-recap .rv3-more summary { color: var(--rv-gold); font-size: 14px; }
.rv3-recap .rv3-more .rv3-facts { margin: 0 0 8px; }
.rv3 > details dl { margin: 0 0 12px; }
.rv3 > details dd { margin: 2px 0 0; }
.rv3 .rv3-now { list-style: none; margin: 4px 0 2px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.rv3-now li { display: grid; justify-items: center; padding: 6px 2px; border-radius: 9px; border: 1px solid var(--rv-line); text-align: center; }
.rv3-now small { margin: 0; font-size: 14px; line-height: 1.4; font-weight: 600; color: var(--rv-soft); }
.rv3-now .v { font-size: 13.5px; line-height: 1.45; color: var(--rv-soft); word-break: keep-all; }
.rv3-now .v b { font-size: 15px; color: #f5eff1; }
.rv3-now .v b, .rv3-now .v span { white-space: nowrap; }
.rv3-now .join { background: rgba(226, 195, 135, .14); border-color: rgba(226, 195, 135, .55); }
.rv3-now .join span { color: var(--rv-gold); }
.rv3-now .clash { background: rgba(240, 160, 124, .1); border-color: rgba(240, 160, 124, .5); }
.rv3-now .clash span { color: var(--rv-no); }
.rv3-recap .rv3-score { margin: 2px 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; align-items: baseline; }
.rv3-recap .rv3-score dt { font-size: 15px; line-height: 1.5; font-weight: 400; }
.rv3-recap .rv3-score dt.sum { margin-right: -14px; }
.rv3-recap .rv3-score dd { margin: 0; font-size: 15px; font-weight: 700; color: var(--rv-gold); white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.rv3-recap .rv3-score .sum { align-self: start; margin-top: 0; padding-top: 8px; border-top: 1px solid rgba(226, 195, 135, .3); font-weight: 700; line-height: 1.5; }
.rv3-acts .mbti-tag { justify-self: start; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--rv-line); font-size: 13.5px; font-weight: 700; color: var(--rv-gold); }
/* 2026-10-18: 덤으로 읽기 after the 8 chapters. */
.rv3-extras { display: grid; gap: 18px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--rv-line); scroll-margin-top: 64px; }
.rv3-extras h3 { margin: 0; font-family:var(--title-serif); font-size: 1.35rem; }
.rv3-extras > .muted { margin: -8px 0 0; }
.rv3-extra { display: grid; gap: 8px; padding: 16px; border: 1px solid var(--rv-line); border-radius: 14px; }
.rv3-extra h4 { margin: 0; font-size: 16px; color: var(--rv-gold); }
.rv3-extra p { margin: 0; }
.rv3-extra .say { line-height: 1.8; }
.rv3-extra .tip { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; background: var(--rv-panel); font-size: 16px; line-height: 1.75; color: var(--rv-soft); }
.rv3-extra .tip .lab { font-size: 14px; font-weight: 700; letter-spacing: .06em; color: var(--rv-gold); }
.rv3-extra .basis { font-size: 13.5px; }
.rv3-extras .rv3-back { justify-self: center; }
/* 2026-10-18: back to the 8 answers, from the running head and from every chapter end. */
.rv3-head .rv3-totoc { flex: none; margin-left: auto; display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--rv-line); color: var(--rv-gold); font-size: 13px; font-weight: 600; text-decoration: none; }
.rv3 .rv3-back { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; color: var(--rv-soft); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.rv3 a:focus-visible, .rv3 button:focus-visible { outline: 2px solid var(--rv-gold); outline-offset: 3px; }
/* 2026-10-18: 12-month calendar and 12-branch wheel. */
/* 2027 신년운세 상세 (2026-11-13): the twelve months, one thing to try in each. */
.rv3-year { list-style: none; margin: 6px 0 0; padding: 0; border-top: 1px solid var(--rv-line); }
.rv3-year li { display: grid; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--rv-line); }
.rv3-year .top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0; }
.rv3-year b { font-size: 17px; color: var(--rv-gold, #e2c387); }
.rv3-year .tone { font-size: 13.5px; font-weight: 700; color: var(--rv-soft); }
.rv3-year .good .tone { color: var(--rv-gold, #e2c387); }
.rv3-year .care .tone { color: var(--rv-no, #f0a07c); }
.rv3-year small { font-size: 13.5px; color: var(--rv-soft); }
.rv3-year .do { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.7; word-break: keep-all; }
.rv3-year .why { margin: 2px 0 0; font-size: 15px; line-height: 1.75; color: var(--rv-soft); word-break: keep-all; }
.rv3-time { display: grid; gap: 12px; margin-top: 6px; padding: 16px 14px; border: 1px solid var(--rv-line); border-radius: 14px; }
.rv3-time h4 { margin: 0; }
.rv3-time .muted { margin: 0; font-size: 15px; line-height: 1.7; }
.rv3 .rv3-cal { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.rv3-cal li { display: grid; justify-items: center; gap: 1px; padding: 6px 2px 8px; border-radius: 10px; border: 1px solid var(--rv-line); text-align: center; }
.rv3-cal em { min-height: 1.3em; font-style: normal; font-size: clamp(12px, 3.35vw, 13px); word-break: keep-all; font-weight: 700; color: var(--rv-soft); }
.rv3-cal b { font-family:var(--title-serif); font-size: 1.15rem; color: #f5eff1; }
.rv3-cal .br { font-size: clamp(12.5px, 3.6vw, 14px); word-break: keep-all; color: var(--rv-soft); }
.rv3-cal small { font-size: clamp(12px, 3.35vw, 13px); word-break: keep-all; font-weight: 700; color: var(--rv-soft); }
.rv3-cal .join { background: rgba(226, 195, 135, .14); border-color: rgba(226, 195, 135, .55); }
.rv3-cal .join small { color: var(--rv-gold); }
.rv3-cal .clash { background: rgba(240, 160, 124, .1); border-color: rgba(240, 160, 124, .5); }
.rv3-cal .clash small { color: var(--rv-no); }
.rv3-cal .pick { box-shadow: 0 0 0 2px var(--rv-gold); }
.rv3-cal .pick em { color: var(--rv-gold); }
.rv3-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; font-size: 13px; color: var(--rv-soft); }
.rv3-legend .lg { display: inline-flex; align-items: center; gap: 6px; }
.rv3-legend .lg::before { content: ""; width: 14px; height: 10px; border-radius: 3px; border: 1px solid var(--rv-line); }
.rv3-legend .join::before { background: rgba(226, 195, 135, .5); border-color: var(--rv-gold); }
.rv3-legend .team::before { height: 0; border: 0; border-top: 2px dashed var(--rv-gold); border-radius: 0; }
.rv3-legend .clash::before { background: rgba(240, 160, 124, .4); border-color: var(--rv-no); }
.rv3-wheel { display: block; width: 100%; max-width: 320px; height: auto; margin: 0 auto; }
.rv3-wheel .base { fill: none; stroke: var(--rv-line); stroke-width: 1.5; }
.rv3-wheel line { stroke-width: 2.5; stroke-linecap: round; }
.rv3-wheel line.sixCombine { stroke: var(--rv-gold); }
.rv3-wheel line.threeCombine { stroke: var(--rv-gold); stroke-dasharray: 6 6; opacity: .85; }
.rv3-wheel line.clash { stroke: var(--rv-no); }
.rv3-wheel .node { fill: #14182b; stroke: var(--rv-line); stroke-width: 1.5; }
.rv3-wheel .node.join { stroke: var(--rv-gold); }
.rv3-wheel .node.clash { stroke: var(--rv-no); }
.rv3-wheel .node.me { fill: var(--rv-gold); stroke: var(--rv-gold); }
.rv3-wheel text { text-anchor: middle; font-family:var(--title-serif); }
.rv3-wheel .ch { font-size: 17px; fill: var(--rv-soft); }
.rv3-wheel .ch.join { fill: var(--rv-gold); }
.rv3-wheel .ch.clash { fill: var(--rv-no); }
.rv3-wheel .ch.me { fill: #1b1606; font-weight: 700; }
.rv3-wheel .an { font-family: inherit; font-size: 11px; fill: #8f89a6; }
.rv3-wheel .an.me { font-weight: 700; fill: var(--rv-gold); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rv3 .say, .rv3 .do, .rv3 .rule { animation: rv3-ink linear both; animation-timeline: view(); animation-range: entry 10% cover 30%; }
  }
}
@keyframes rv3-ink { from { color: #8a85a0; } }

/* What to read next after a paid reading (2026-10-21) */
.rv3-next { display: grid; gap: 14px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--rv-line); }
.rv3-next h3 { margin: 0; font-family:var(--title-serif); font-size: 1.35rem; }
.rv3-next-q { display: grid; gap: 4px; margin: 0; padding: 14px 16px; border-radius: 14px; background: color-mix(in srgb, #e2c38c 10%, transparent); }
.rv3-next-q span { font-size: .9rem; color: #e2c38c; font-weight: 700; }
.rv3-next-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.rv3-next-list a { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; align-items: center; min-height: 56px; padding: 12px 16px;
  border: 1px solid color-mix(in srgb, #e2c38c 45%, transparent); border-radius: 14px; color: inherit; text-decoration: none; }
.rv3-next-kind { grid-row: span 2; padding: 2px 10px; border-radius: 99px; background: #e2c38c; color: #2b2112; font-size: .85rem; font-weight: 700; }
.rv3-next-price { font-size: .9rem; opacity: .8; }
/* End of a bought reading (2026-11-22): one plain way home, quieter than the gold next picks above it. */
.rv3-home { display: flex; align-items: center; justify-content: center; min-height: 56px; margin-top: 32px; border-radius: 14px;
  background: var(--ubb-surface, #272b40); color: var(--ubb-on-surface, #f3efe7); font-size: 17px; font-weight: 700; text-decoration: none;
  -webkit-tap-highlight-color: transparent; transition: transform .2s ease, filter .2s ease; }
.rv3-home:active { transform: scale(.97); filter: brightness(.88); }
@media (prefers-reduced-motion: reduce) { .rv3-home:active { transform: none; } }

/* First top-up bonus line under the packs (2026-10-21) */
.first-bonus { margin: 4px 0 0; color: #e2c38c; font-weight: 700; }
/* 2026-10-29 NaverPay review: the order page shows its card payment before login too. */
.pay-methods { margin: 14px 0 0; padding: 12px 16px; border: 1px solid #3a3550; border-radius: 12px; color: #f0e8d8; font-size: 16px; line-height: 1.5; word-break: keep-all; }
.pay-methods span { margin-right: 8px; color: #b9b6cb; }

/* Questions after a reading (2026-10-21, owner: like a KakaoTalk chat with 박운보·김운보). public/stars-chat.js */
.qchat-jump { display: inline-flex; align-items: center; min-height: 44px; margin: 4px 0 8px; padding: 0 16px; border-radius: 99px;
  background: #f2d27a; color: #2b2210; font-weight: 700; text-decoration: none; }
.qchat { margin-top: 40px; border: 1px solid #2a2840; border-radius: 20px; overflow: hidden; background: #17203a; scroll-margin-top: 64px; }
.qchat-top { display: flex; align-items: center; gap: 8px; padding: 12px 14px; background: #121a30; font-size: 1.05rem; }
.qchat-top .qchat-av { width: 32px; height: 32px; }
.qchat-ai { padding: 1px 7px; border-radius: 6px; background: #3a3466; color: #e6dcff; font-size: .78rem; }
.qchat-left { margin-left: auto; color: #f2d27a; font-size: .9rem; }
.qchat-profile { display: grid; justify-items: center; gap: 2px; padding: 18px 12px 6px; text-align: center; }
.qchat-photo { width: 96px; height: 96px; border-radius: 36px; object-fit: cover; }
.qchat-profile b { font-size: 1.1rem; }
.qchat-profile p { margin: 0; color: #c9c2d6; font-size: .9rem; }
.qchat-notice { margin: 8px 14px 0; padding: 8px 12px; border-radius: 12px; background: #222b46; color: #c9c2d6; font-size: .85rem; line-height: 1.5; }
.qchat-log { display: grid; gap: 10px; padding: 14px 12px 6px; }
.qchat-row { display: flex; gap: 8px; align-items: flex-start; }
.qchat-av { flex: none; width: 40px; height: 40px; border-radius: 15px; object-fit: cover; }
.qchat-col { display: grid; gap: 5px; min-width: 0; max-width: calc(100% - 56px); }
.qchat-name { margin: 0; color: #c9c2d6; font-size: .85rem; }
.qchat-b { padding: 9px 12px; border-radius: 4px 16px 16px 16px; background: #f6f2f8; color: #1d1b2a; font-size: 1rem; line-height: 1.55; overflow-wrap: anywhere; }
.qchat-b + .qchat-b, .qchat-line { border-radius: 16px; }
.qchat-b span { display: block; }
.qchat-ex { margin-top: 4px; color: #7a5a10; font-weight: 600; }
.qchat-line { display: flex; gap: 6px; align-items: flex-end; }
.qchat-line .qchat-b { border-radius: 16px; }
.qchat-col > .qchat-line:first-of-type .qchat-b { border-radius: 4px 16px 16px 16px; }
.qchat-t { flex: none; color: #8e98b5; font-size: .75rem; white-space: nowrap; }
.qchat-me-row { display: flex; gap: 6px; justify-content: flex-end; align-items: flex-end; }
.qchat-me { max-width: 78%; padding: 9px 12px; border-radius: 16px 4px 16px 16px; background: #f2d27a; color: #2b2210; font-size: 1rem; line-height: 1.55; overflow-wrap: anywhere; }
.qchat-typing .qchat-b { color: #6b6680; }
.qchat-small { margin-top: 6px; color: #6b6680; font-size: .85rem; }
#qchat button.qchat-pack { display: block; width: 100%; min-height: 48px; margin-top: 10px; border: 0 !important; border-radius: 12px !important; background: #f2d27a !important; color: #2b2210 !important; font-size: 1rem; font-weight: 700 !important; }
.qchat-link { display: block; margin-top: 8px; color: #7a5a10; font-weight: 700; }
.qchat-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 12px 12px 60px; }
/* The page's button rules (full-width gold bar; ui-buttons.css with !important) do not suit chat chips: #qchat outranks them. */
#qchat button.qchat-chip { width: auto; margin: 0; min-height: 44px; padding: 8px 14px; border: 1px solid #f2d27a !important; border-radius: 22px !important;
  background: transparent !important; color: #f2d27a !important; font-size: .95rem; font-weight: 400 !important; line-height: 1.4; text-align: left; }
.qchat-related { display: grid; gap: 8px; padding-left: 48px; }
.qchat-card { display: grid; gap: 2px; padding: 12px 14px; border-radius: 16px; background: #f6f2f8; color: #1d1b2a; text-decoration: none; }
.qchat-card-lab { color: #6b6680; font-size: .8rem; }
.qchat-card-price { color: #7a5a10; font-size: .9rem; }
/* The card picker takes the whole bubble width, so the 19 cards sit in a few rows. */
.qchat-wide .qchat-col, .qchat-wide .qchat-b { flex: 1; }
.qchat-wide .qchat-t { display: none; }
.qchat-deck { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
#qchat button.qchat-cardback { flex: none; width: 32px; height: 46px; min-height: 0; margin: 0; padding: 0; border: 1px solid #b199c8 !important; border-radius: 6px !important; background: linear-gradient(135deg, #3a3466, #22284a) !important; }
.qchat-bar { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; background: #121a30; }
.qchat-in { flex: 1; min-height: 44px; max-height: 140px; padding: 10px 14px; border: 1px solid #3b3852; border-radius: 22px; background: #222b46;
  color: #f5eff1; font: inherit; font-size: 1rem; resize: none; }
#qchat button.qchat-send { flex: none; width: auto; margin: 0; padding: 0 16px; min-width: 64px; min-height: 44px; border: 0 !important; border-radius: 22px !important; background: #f2d27a !important; color: #2b2210 !important; font-weight: 700 !important; }
.qchat-hint { margin: 0; padding: 0 16px 12px; background: #121a30; color: #8e98b5; font-size: .85rem; }
@media (max-width: 360px) { .qchat-chips { padding-left: 12px; } .qchat-related { padding-left: 0; } }

/* 2026-10-21 owner: more room between the login box and 상품 안내. */
#message.notice { margin-bottom: 32px; }
/* 2026-10-25 share-link rewards: one line under the packs, only when the server has them on (stars-charge.js). */
.referral-note { margin: 16px 0 0; padding: 14px 16px; border: 1px solid #5d5070; border-radius: 12px; background: #221f33; color: #f0e8d8; font-size: 16px; line-height: 1.65; word-break: keep-all; }

/* AI-written saju reading (2026-10-25 plan-2): the choice in the confirm step and the wait while Claude writes. */
#confirm-ai-box { margin: 12px 0; }
.ai-writing { display: grid; gap: 12px; justify-items: center; text-align: center; }
.ai-writing-title { margin: 4px 0 0; font-size: 20px; font-weight: 700; color: #f5ecd8; }
.ai-writing-title::before, .ai-writing-title::after { content: "✦"; display: inline-block; margin: 0 8px; color: #e2c38c; font-size: .8em; animation: ai-writing-twinkle 1.6s ease-in-out infinite; }
.ai-writing-title::after { animation-delay: .8s; }
.ai-writing-bar { display: block; width: 100%; height: 10px; border-radius: 99px; background: rgba(226, 195, 140, .18); overflow: hidden; }
.ai-writing-bar span { display: block; width: 4%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #b88d4a, #e2c38c); animation: ai-writing-fill 75s cubic-bezier(.3, .5, .5, 1) forwards; }
.ai-writing-label { margin: 6px 0 0; font-size: 15px; font-weight: 700; color: #e2c38c; }
.ai-writing-tip { margin: 0; min-height: 3.3em; font-size: 17px; line-height: 1.65; color: #f5ecd8; word-break: keep-all; animation: ai-writing-tip .5s ease-out; }
@keyframes ai-writing-fill { to { width: 92%; } }
@keyframes ai-writing-twinkle { 50% { opacity: .25; transform: scale(.7); } }
@keyframes ai-writing-tip { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .ai-writing-tip, .ai-writing-title::before, .ai-writing-title::after { animation: none; } }
/* 2026-10-27 owner: Noto Sans KR for the paid chapters' reading text (same as the free result in src/site-fonts.css). */
#report :is(p,li,dd,dt),#report :is(p,li,dd,dt) *{font-family:'Noto Sans KR','Pretendard Variable',Pretendard,-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo','Malgun Gothic',sans-serif}

/* 2026-10-27: 세 장 한눈에 (tarot), 내가 고른 답이 바꾼 것 and 이번 주 할 일 3개 (AI readings). */
.card-glance { margin: 0; display: grid; gap: 12px; }
.card-glance dt { font-weight: 700; color: #f8ecd6; }
.card-glance dd { margin: 2px 0 0; color: #e7e1ea; }
.rv3-told, .rv3-week { margin: 28px 0; padding: 18px; border: 1px solid #756882; border-radius: 16px; background: #1b1930; }
.rv3-told h3, .rv3-week h3 { margin-top: 0; }
.rv3-told dl { margin: 0; display: grid; gap: 14px; }
.rv3-told dt { font-weight: 700; color: #e2c38c; }
.rv3-told dd { margin: 4px 0 0; }.rv3-weeklink { display: flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 14px; border: 1px solid #e2c38c; border-radius: 12px; color: #f8ecd6; font-weight: 700; text-decoration: none; }
#rv3-week { scroll-margin-top: 76px; }
/* 2026-10-28 (owner: the end box was too spread out): one tight list. The chapters reset paragraph margins; this box did not. */
.rv3-week p, .rv3-told p { margin: 0; }
.rv3-week, .rv3-told { padding: 18px 16px; }
.rv3-week h3 { margin: 0 0 2px; }
.rv3-week > .muted { margin-bottom: 14px; }
.rv3-week .rv3-acts { gap: 14px; }
.rv3-week .rv3-acts > li { grid-template-columns: 22px minmax(0, 1fr); gap: 6px; }
.rv3-week .rv3-acts .num { font-size: 1.1rem; line-height: 1.45; }
.rv3-week .rv3-acts .body { gap: 4px; }
.rv3-week .rv3-acts .do { line-height: 1.5; }
.rv3-week .rv3-acts .why { display: block; padding: 0; background: none; line-height: 1.6; }
.rv3-week .rv3-acts .why .lab { display: none; }
.rv3-week .rv3-acts .ex { gap: 4px; margin-top: 2px; }
.rv3-week .rv3-acts .ex .note { padding: 6px 10px; }
.rv3-week .rv3-acts .bub { padding: 7px 11px; }
.rv3-week h4 { margin: 18px 0 8px; padding-top: 14px; border-top: 1px solid var(--rv-line); }
.rv3-week .rv3-donts { gap: 10px; }
.rv3-week .rv3-donts li { gap: 0; }
.rv3-week .rv3-donts .rule { line-height: 1.5; }
.rv3-week .rv3-donts .why { line-height: 1.55; color: var(--rv-soft); }
.rv3-told dl { gap: 10px; }
/* 2026-11-11 후기 칸 at the end of a 상세 풀이 (public/review-box.js); same look as src/usage-feedback.css. */
#report .review-prompt{margin:32px 0 8px;padding:20px;border:1px solid rgba(226,195,140,.35);border-radius:16px;background:#151526;display:grid;gap:12px;word-break:keep-all}
#report .review-question{margin:0;font-weight:700;font-size:18px}
#report .review-answers{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#report .review-answers button,#report .review-send{min-height:52px;margin:0;border-radius:12px;border:1px solid #5a5370;background:#1d1b30;color:#f3eff7;font:inherit;font-size:16px;font-weight:700;cursor:pointer;width:100%}
/* .secondary picks the shared surface colour (ui-buttons.css, !important); the chosen answer is outlined in gold. */
html body #report .review-answers button[aria-pressed=true]{background:var(--ubb-tint)!important;color:var(--ubb-on-tint)!important;box-shadow:inset 0 0 0 2px var(--ubb-gold)!important}
#report .review-form{display:grid;gap:12px}
#report .review-form>label:first-child{display:grid;gap:6px;font-size:16px}
#report .review-form textarea{box-sizing:border-box;width:100%;padding:12px;border:1px solid #5a5370;border-radius:12px;background:#121426;color:inherit;font:inherit;font-size:16px;line-height:1.6;resize:vertical}
#report .review-share{display:flex;align-items:flex-start;gap:10px;font-size:15px;line-height:1.5}
#report .review-share input{width:22px;height:22px;margin:1px 0 0;flex:none;accent-color:#e2c38c;appearance:none;border:2px solid #e2c38c;border-radius:6px;background:#121426;display:grid;place-content:center}
#report .review-share input:checked{background:#e2c38c}
#report .review-share input:checked::after{content:'';width:6px;height:11px;border:solid #1c1408;border-width:0 2.5px 2.5px 0;transform:translateY(-1px) rotate(45deg)}
#report .review-send{background:#e2c38c;color:#1c1408;border-color:#e2c38c}
#report .review-note,#report .review-status,#report .review-thanks{margin:0;font-size:15px;line-height:1.6;color:#cfc8da}
#report .review-thanks{font-size:16px;color:#f3eff7}

/* 2026-11-11 bug sweep. The business line ended each wrapped row with a loose "·": the dot sits in front of each item
   and one at the start of a row is clipped away (same as the home footer). */
.biz .biz-line { gap: 0; margin-left: -19px; clip-path: inset(0 0 0 19px); }
.biz-line span { position: relative; padding-left: 19px; }
.biz-line span:not(:last-child)::after { content: none; }
.biz-line span::before { content: '·'; position: absolute; left: 7px; color: #6d6880; }
/* Small links (전화·이메일, 정책 전체 보기, ← 풀이 목록으로, 목차) get a taller tap area; they look the same. */
.biz-line a, details.info p a, .report > a[href="/stars-reading"], .rv3-head .rv3-totoc { position: relative; }
.biz-line a::after, details.info p a::after, .report > a[href="/stars-reading"]::after { content: ''; position: absolute; inset: -13px -6px; }
.rv3-head .rv3-totoc::after { content: ''; position: absolute; inset: -8px 0; }

/* 2026-11-11 owner (사주아이 메뉴처럼): 달 990원 · 별 330원 above the packs. Spacing is Fable's to tune. */
/* Values are the owner's approved mockup (moon-sheet, 2026-11-11): card 18/16/14, cells 10 apart, note 12 under the cells. */
.units{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin:8px 0 20px;padding:18px 16px 14px;border:1px solid rgba(226,195,140,.55);border-radius:18px;background:linear-gradient(160deg,#211d38,#141629)}
.units .unit{display:grid;justify-items:center;gap:4px;padding:12px 8px;border-radius:14px;background:rgba(255,255,255,.04)}
.units .unit img{display:block}
.units .unit b{font-family:var(--title-serif);font-size:18px;font-weight:700;line-height:1.2;color:#e2c38c}
.units .unit strong{font-size:22px;font-weight:800;line-height:1.2;color:#fff}
.units .units-note{grid-column:1/-1;margin:2px -6px 0;text-align:center;font-size:clamp(13px,4.1vw,14px);line-height:1.6;color:#ded6c6;text-wrap:balance}
.units .units-note b{color:#e2c38c}
/* 별 3개 → 달 1개: 16px under the balance line, 24px above the packs. */
#merge{display:block;margin:-8px 0 24px}
/* Packs with the longer bonus (" + 달 1 + 별 3"): two equal columns whatever the text, the count never splits ("1/0"),
   a bonus that does not fit drops under the count as one piece, and the price sits on the tile's bottom line so a row lines up. */
fieldset.tiles{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
fieldset.tiles label.product{grid-template-rows:auto 1fr auto;align-content:normal}
fieldset.tiles .stars{flex-wrap:wrap;row-gap:0;white-space:nowrap}
fieldset.tiles .bonus{line-height:1.3}
fieldset.tiles .uses{align-self:start;margin-top:2px;line-height:1.5;text-wrap:balance}
/* 2026-11-14 owner (시안 B): the pay bar sits at the bottom of the screen, the chosen pack on the left, a large
   "990원 결제하기" on the right, always in reach. The id beats the shared button rule (ui-buttons.css). */
.paybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; gap: 14px; align-items: center;
  padding: 12px max(16px, calc((100% - 480px) / 2)) calc(14px + env(safe-area-inset-bottom));
  background: rgba(14, 13, 26, .97); border-top: 1px solid #3a3550; box-shadow: 0 -10px 30px rgba(0, 0, 0, .45); }
.paybar:has(#pay[hidden]) { display: none; }
body:has(.paybar) { padding-bottom: 110px; }
.paybar-sum { display: grid; gap: 2px; margin: 0; white-space: nowrap; }
.paybar-pack { color: #f3efe7; font-size: 17px; font-weight: 800; }
.paybar-uses { color: #b9b6cb; font-size: 13px; font-weight: 600; }
html body.ubb-page .paybar #pay { flex: 1; margin: 0; min-height: 58px; box-shadow: 0 6px 20px rgba(226, 195, 140, .28) !important; }
html body.ubb-page .paybar #pay:disabled { box-shadow: none !important; }
html body.ubb-page .paybar #pay .pay-main { font-size: 19px; font-weight: 800; }
/* 성별 (owner 2026-11-14 "다른 성별 칸도 같은 모양으로"): round chips like the topic birth screen, one line each, the picked one gold. */
#gender-field .choice { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
#gender-field .choice label { position: relative; justify-content: center; min-height: 44px; padding: 8px 6px; border-radius: 999px; font-size: 16px; white-space: nowrap; }
#gender-field .choice input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
html body #gender-field .choice label:has(input:checked) { background: #e2c38c; border-color: #e2c38c; color: #1b1626; font-weight: 700; }
#gender-field .choice label:has(input:focus-visible) { outline: 2px solid #e2c38c; outline-offset: 2px; }

/* 구매 화면 (owner 2026-11-14 "더 깔끔하고 고급스럽게"): the must-have answers in one soft card, hints as quiet second lines,
   양력·음력 as the same round chips as 성별, a gold check box, and the chapter list as a gilded card. */
#shop h1 { margin: 28px 0 8px; }
#shop .balance { margin: 0 0 22px; font-size: 15px; line-height: 1.6; color: #cfc6d8; }
#buy { gap: 18px; }
#buy .buy-card { display: grid; gap: 20px; padding: 18px 16px; border: 1px solid #3a3350; border-radius: 18px;
  background: linear-gradient(180deg, #1c1a31, #151428); }
#buy legend, #buy label.field { font-size: 15px; font-weight: 600; color: #ece3d2; }
#buy legend { margin-bottom: 10px; }
#buy label.field .muted, #buy legend .muted, #buy details.situation summary .muted { display: block; margin-top: 2px; font-size: 13.5px;
  font-weight: 400; line-height: 1.5; color: #a9a1b5; }
#buy legend .muted:empty { display: none; }
#buy .row { gap: 8px; }
#buy select, #buy input[type="number"] { min-height: 50px; background: #121124; border-color: #4a4060; font-size: 17px; font-weight: 500; }
#buy select:focus-visible, #buy input[type="number"]:focus-visible { outline: none; border-color: #e2c38c; box-shadow: 0 0 0 3px rgba(226, 195, 140, .2); }
#buy .birth-time .row { margin-bottom: 4px !important; }
#buy .cal-choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
#buy .cal-choice label { position: relative; justify-content: center; min-height: 44px; padding: 8px 6px; border-radius: 999px; font-size: 16px; white-space: nowrap; }
#buy .cal-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
html body #buy .cal-choice label:has(input:checked) { background: #e2c38c; border-color: #e2c38c; color: #1b1626; font-weight: 700; }
#buy .cal-choice label:has(input:focus-visible) { outline: 2px solid #e2c38c; outline-offset: 2px; }
#buy label.check { min-height: 44px; font-size: 16px; color: #ddd4e4; }
#buy label.check input[type="checkbox"] { -webkit-appearance: none; appearance: none; flex: none; width: 22px; height: 22px; margin: 0;
  border: 2px solid rgba(226, 195, 140, .75); border-radius: 6px; background: transparent center / 14px no-repeat; cursor: pointer; }
#buy label.check input[type="checkbox"]:checked { border-color: #e2c38c; background-color: #e2c38c;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231c1408' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E"); }
#buy details.situation { padding: 14px 16px; border-radius: 18px; background: #161528; }
#buy details.situation > summary { list-style: none; position: relative; padding-right: 28px; }
#buy details.situation > summary::-webkit-details-marker { display: none; }
#buy details.situation > summary::after { content: ""; position: absolute; right: 6px; top: 10px; width: 8px; height: 8px;
  border-right: 2px solid #e2c38c; border-bottom: 2px solid #e2c38c; transform: rotate(45deg); transition: transform .2s; }
#buy details.situation[open] > summary::after { top: 14px; transform: rotate(-135deg); }
#buy details.outline { padding: 18px 18px 14px; border: 1px solid rgba(226, 195, 140, .34); border-radius: 18px;
  background: radial-gradient(120% 120% at 0 0, rgba(226, 195, 140, .10), transparent 55%), #141327; }
#buy details.outline > summary { min-height: 0; margin-bottom: 8px; list-style: none; font-family: var(--title-serif); font-size: 17px; color: #ead2a4; pointer-events: none; }
#buy details.outline > summary::-webkit-details-marker { display: none; }
#buy details.outline ol { counter-reset: ch; list-style: none; margin: 0 0 6px; padding: 0; }
#buy details.outline li { counter-increment: ch; display: grid; grid-template-columns: 30px 1fr; align-items: baseline; margin: 0;
  padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, .06); font-size: 16px; line-height: 1.5; }
#buy details.outline li:first-child { border-top: 0; }
#buy details.outline li::before { content: counter(ch, decimal-leading-zero); font-family: var(--title-serif); font-size: 14px; font-weight: 700; color: #e2c38c; }
#buy details.outline .muted { margin: 4px 0 0; font-size: 13.5px; color: #a9a1b5; }
#shop > small { text-align: center; font-size: 13.5px; color: #a9a1b5; }
/* 간격 다듬기 (Fable, 2026-11-14): 섹션 사이 24, 섹션 안 16, 라벨→입력칸 6, 카드 사이 16, 버튼 위 28. */
#buy, #buy fieldset.plain { gap: 16px; }
#buy .buy-card { gap: 24px; padding: 20px 16px 10px; }
#buy .buy-card fieldset { gap: 16px; }
#buy legend { padding: 0; margin-bottom: 10px; line-height: 1.4; }
#buy label.field { gap: 6px; line-height: 1.4; }
#buy .birth-time { margin-top: -8px; }
#buy #leap-field { margin: -12px 0 -8px; }
#buy label.field .muted { margin: -4px 0 4px; }
#buy details.situation > summary { font-size: 16px; }
#buy details.situation > summary::after { top: calc(50% - 7px); right: 2px; }
#buy details.situation[open] > summary::after { top: calc(50% - 2px); }
#buy details.outline { padding: 18px 16px 16px; }
#buy details.outline > summary { margin-bottom: 10px; line-height: 1.4; }
#buy > #pay { margin-top: 12px; }
#shop > small { margin-top: 14px; }
/* MBTI was the only bare block between cards; it gets the same card as 지금 상황. */
#buy #mbti-field { padding: 14px 16px 16px; border: 1px solid #3a3350; border-radius: 18px; background: #161528; }
/* 지금 상황 answers (opened): one tidy row each instead of the browser's radio dots, room between the questions. */
#buy #situation { display: grid; gap: 20px; }
#buy .situation fieldset { display: grid; gap: 0; }
#buy .situation legend { margin-bottom: 8px; font-size: 15px; }
#buy .situation .choice { display: grid; gap: 8px; }
#buy .situation .choice label { position: relative; min-height: 44px; padding: 10px 14px; border-color: #4a4060; border-radius: 12px; background: #121124; font-size: 16px; line-height: 1.45; }
#buy .situation .choice input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
html body #buy .situation .choice label:has(input:checked) { border-color: #e2c38c; background: rgba(226, 195, 140, .12); color: #f3e6c8; font-weight: 600; }
#buy .situation .choice label:has(input:checked)::after { content: ""; flex: none; width: 16px; height: 16px; margin-left: auto;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23e2c38c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center / 16px no-repeat; }
#buy .situation .choice label:has(input:focus-visible) { outline: 2px solid #e2c38c; outline-offset: 2px; }
/* Fable review (2026-11-14): hints a step larger and lighter, field names quieter than group titles, balanced title wrap,
   MBTI title the same size as 지금 상황. */
#buy label.field .muted, #buy legend .muted, #buy details.situation summary .muted,
#buy details.outline .muted, #shop > small { font-size: 14.5px; color: #bdb5c8; }
#buy .buy-card fieldset .row label.field { font-size: 14px; font-weight: 500; color: #bdb5c8; }
#shop h1 { text-wrap: balance; }
#buy #mbti-field { font-size: 16px; font-weight: 600; }
/* 결제 버튼 (owner 2026-11-14 "결제버튼만 더 고급스럽게", Fable review): a calm gold bar with a lit top edge, the 달 coin before
   the words, and one light sweep on arrival (none with reduced motion). Size never changes with the state; the text is the page's. */
html body.ubb-page #buy > #pay { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 60px; padding: 10px 16px; border-radius: 16px !important; font-size: clamp(15px, 4.6vw, 18px); font-weight: 800 !important;
  letter-spacing: -.01em; line-height: 1.3; word-break: keep-all; }
html body.ubb-page #buy > #pay::before { content: ""; flex: none; width: 26px; height: 26px; margin-left: -4px;
  background: url("/icons/moon-coin.svg") center / contain no-repeat; filter: drop-shadow(0 1px 1px rgba(60, 40, 10, .35)); }
html body.ubb-page #buy > #pay:not(:disabled) {
  background: linear-gradient(180deg, #efd9a8 0%, #e2c38c 55%, #d6b47a 100%) !important; color: #1c1408 !important;
  box-shadow: inset 0 1px 0 rgba(255, 251, 238, .6), 0 0 0 1px rgba(255, 233, 190, .22),
    0 10px 24px -12px rgba(0, 0, 0, .55), 0 6px 18px -10px rgba(226, 195, 140, .35) !important; }
html body.ubb-page #buy > #pay:not(:disabled)::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 35%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 252, 240, .4), transparent);
  transform: translateX(-140%) skewX(-18deg); animation: pay-sheen 1.4s ease-out 1.2s 1 both; }
@keyframes pay-sheen { to { transform: translateX(420%) skewX(-18deg); } }
@media (prefers-reduced-motion: reduce) { html body.ubb-page #buy > #pay:not(:disabled)::after { display: none; } }
/* Phones under 360px: the coin steps aside so "· 990원" stays on the same line. */
@media (max-width: 360px) { html body.ubb-page #buy > #pay::before { display: none; } }

/* 2026-11-20 owner ("1~5번 다 진행"): the charge page says one thing at a time.
   The line under the two coins is one short line now (the refund lines moved into 환불 기준 보기). */
.units .units-note { margin: 4px 0 0; font-size: 16px; line-height: 1.5; }
/* A reader who came for one pack sees it alone: a wide tile, the count on the left and its price large on the right.
   The other packs wait in a fold below it (the same fold look as 상품 안내). */
fieldset.tiles label.product.product-solo { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto;
  align-items: center; column-gap: 12px; padding: 18px 18px 16px; }
fieldset.tiles label.product.product-solo:has(input:checked) { padding: 17px 17px 15px; }
fieldset.tiles .product-solo .stars { font-size: 1.6rem; }
fieldset.tiles .product-solo .uses { margin-top: 0; font-size: 1rem; }
fieldset.tiles .product-solo .won { grid-column: 2; grid-row: 1 / 3; margin: 0; font-size: 1.5rem; font-weight: 800; color: #fff; }
fieldset.tiles details.more-packs { grid-column: 1 / -1; margin-top: 6px; }
fieldset.tiles details.more-packs summary { min-height: 52px; font-size: 1rem; }
.more-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; padding: 10px 0 0; }
details.more-packs .first-bonus { margin: 12px 0 14px; font-size: .9rem; line-height: 1.6; }
/* Inside another app's browser (public/in-app.js): what breaks there, the way out to the phone's browser, and going on here. */
#inapp { margin: 0 0 20px; scroll-margin: 80px; }
.inapp-box { display: grid; gap: 12px; padding: 18px 16px 16px; border: 1px solid #f2c48f; border-radius: 16px; background: #1a1830; }
.inapp-box p { margin: 0; }
.inapp-lead { font-size: 17px; font-weight: 600; line-height: 1.6; color: #f6efe2; }
.inapp-open { display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 12px; border-radius: 14px;
  background: #e2c38c; color: #1c1408; font-size: 18px; font-weight: 800; text-align: center; text-decoration: none; }
html body.ubb-page .inapp-box button { margin-top: 0; min-height: 52px; }
.inapp-how, .inapp-note { font-size: 15px; line-height: 1.6; color: #cfc6d8; overflow-wrap: anywhere; }
/* While the box is open its two buttons are the choice, so the pay bar (a third gold button) steps aside. */
body:has(#inapp:not([hidden])) .paybar { display: none; }
/* Back from a closed payment window: one button for the same pack, under the 결제 수단 line (which gets room below it). */
#charge { margin-bottom: 20px; }
html body.ubb-page .notice button.notice-action { width: 100%; margin-top: 14px; font-size: 17px; }

/* 2026-11-22 (plans/운보는밤/20261122-crush-paywall): a guest inside another app's browser gets 카카오 and 네이버 instead of the one login button (stars-reading.js). */
.pay-providers { display: grid; gap: 10px; }
html body.ubb-page #buy button.pay-provider { width: 100%; min-height: 56px; margin: 0; border: 0 !important; border-radius: 14px !important; font-size: 18px; font-weight: 800 !important; }
html body.ubb-page #buy button.pay-kakao { background: #fee500 !important; color: rgba(0, 0, 0, .85) !important; }
html body.ubb-page #buy button.pay-naver { background: #03a94d !important; color: #fff !important; }
/* 2026-11-22 owner ("이 로그인 버튼에 카카오 네이버 아이콘이 있었으면 좋겠어"): the providers' official marks, as in the login window. */
html body.ubb-page #buy button.pay-provider{display:flex;align-items:center;justify-content:center;gap:10px}
html body.ubb-page #buy button.pay-provider::before{content:"";flex:0 0 24px;width:24px;height:24px;background-position:center;background-repeat:no-repeat}
html body.ubb-page #buy button.pay-kakao::before{background-image:url('/auth-brands/kakao-official.svg');background-size:contain}
html body.ubb-page #buy button.pay-naver::before{background-image:url('/auth-brands/naver-official.png');background-size:64px 64px}
