/* 사주볼까 v2 (11-20): 밤하늘·도사 컨셉. 색: 밤 #14131a / 미색 #f2ede3 / 금 #e6c27a / 은 #b9c4d6. docs/CONCEPT.md */
html, body { background: #14131a; overflow-x: clip; } /* 11-26: 달 그림(right:-20px)이 375px 폭에서 가로로 20px 넘쳤다 */
:root { --night: #14131a; --ink2: #232230; --line: #3a3f55; --paper: #f2ede3; --gold: #e6c27a; --silver: #b9c4d6; --brown: #8a5a12; --muted: #a9a3b8;
  --wood: #7fb08a; --fire: #e0735c; --earth: #d9a44a; --metal: #b9c4d6; --water: #6f9fd6; }
* { box-sizing: border-box; margin: 0; }
body { color: var(--paper); font: 17px/1.6 Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }
.stars { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
#app { position: relative; z-index: 1; max-width: 500px; margin: 0 auto; padding: 24px 20px 32px; }
.nav { display: flex; justify-content: space-between; align-items: center; min-height: 44px; gap: 8px; }
.logo { font: 900 22px/1 "Noto Serif KR", serif; }
.muted { color: var(--muted); font-size: 15px; }
.link { background: none; border: 0; color: var(--muted); font: inherit; font-size: 15px; min-height: 44px; cursor: pointer; padding: 0; }
.sky { display: block; width: 100%; margin-top: 12px; }
.moon { position: absolute; right: -20px; top: 40px; width: 200px; height: 200px; z-index: 0; }
.hero { margin-top: 48px; position: relative; z-index: 1; }
h1 { font: 900 44px/1.16 "Noto Serif KR", serif; letter-spacing: -1.5px; text-shadow: 0 2px 16px #0009; }
.sub { margin-top: 12px; color: #c9c3b8; font-size: 18px; line-height: 1.55; }
.hero, .pick, .card, .sec, .who, .chart, .els { animation: rise .7s cubic-bezier(.22,1,.36,1) both; }
.pick { animation-delay: .15s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.dosa { display: flex; flex-direction: column; align-items: center; text-align: center; border-radius: 26px; padding: 22px 14px 18px; font: inherit; cursor: pointer; border: 1px solid var(--line); transition: transform .15s; }
.dosa:active { transform: scale(.97); }
.dosa.f { background: var(--ink2); color: var(--paper); }
.dosa.m { background: var(--paper); color: #1d1a17; border-color: transparent; }
.dosa .badge svg { width: 60px; height: 60px; }
.dosa .n { margin-top: 10px; font: 900 23px "Noto Serif KR", serif; }
.dosa.f .n { color: var(--silver); } .dosa.m .n { color: var(--brown); }
.dosa .t { margin-top: 2px; font-size: 14px; font-weight: 700; opacity: .75; }
.dosa .quote { margin-top: 12px; font-size: 15px; line-height: 1.55; text-align: left; min-height: 72px; }
.dosa .go { margin-top: 14px; width: 100%; min-height: 48px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.dosa.f .go { background: var(--silver); color: var(--night); } .dosa.m .go { background: var(--gold); color: var(--night); }
.fine { font-size: 14px; color: var(--muted); margin-top: 12px; line-height: 1.5; }
.center { text-align: center; }
.title { font: 900 30px "Noto Serif KR", serif; margin-top: 12px; }
.who-badge { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 15px; }
.who-badge svg { width: 28px; height: 28px; }
.card { background: var(--paper); color: #1d1a17; border-radius: 24px; padding: 22px 18px; margin-top: 18px; }
.card.dark { background: var(--ink2); color: var(--paper); }
.card .fine { color: #6f6860; }
.field { display: block; border: 0; padding: 0; margin-bottom: 16px; }
.field > span, .field legend { display: block; font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.field legend small { font-weight: 400; color: #6f6860; }
input[type=date], input[type=time], #birth, #pBirth { width: 100%; height: 52px; border: 1.5px solid #d8cfbd; border-radius: 14px; padding: 0 14px; font: inherit; background: #fff; color: #1d1a17; }
.row { display: flex; gap: 12px; align-items: flex-end; }
.grow { flex: 1; }
.check { display: flex; align-items: center; gap: 8px; height: 52px; margin-bottom: 16px; white-space: nowrap; font-size: 16px; }
.check input { width: 22px; height: 22px; accent-color: var(--brown); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; background: #e7dfcf; border-radius: 999px; padding: 4px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 999px; font-weight: 800; color: #6f6860; cursor: pointer; }
.seg input:checked + span { background: var(--night); color: var(--gold); }
.seg input:focus-visible + span { outline: 2px solid var(--brown); }
.btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 58px; border: 0; border-radius: 999px; font: inherit; font-weight: 800; font-size: 18px; cursor: pointer; transition: transform .15s; }
.btn:active { transform: scale(.97); }
.btn.gold { background: var(--gold); color: var(--night); }
.btn.ghost { background: transparent; color: var(--paper); border: 1px solid var(--line); margin-top: 8px; min-height: 50px; font-size: 16px; }
.btn.small { width: auto; min-height: 46px; padding: 0 20px; font-size: 16px; white-space: nowrap; }
.sw { display: flex; gap: 4px; background: var(--ink2); border-radius: 999px; padding: 4px; }
.sw button { display: flex; align-items: center; gap: 6px; padding: 6px 14px 6px 6px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; min-height: 40px; }
.sw button svg { width: 28px; height: 28px; }
.sw button[aria-checked=true] { background: var(--paper); color: #1d1a17; }
.who { margin-top: 14px; color: #c9c3b8; font-size: 15px; }
.chart { display: block; width: 100%; margin-top: 4px; }
.els { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; text-align: center; font-size: 14px; font-weight: 700; }
.els .b { height: 56px; display: flex; align-items: flex-end; background: var(--ink2); border-radius: 10px; overflow: hidden; }
.els .b i { display: block; width: 100%; border-radius: 10px 10px 0 0; }
.els .n { margin-top: 4px; }
.reading .h, .letter .h { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.reading .h svg, .letter .h svg { width: 38px; height: 38px; flex: none; }
.reading .h { color: var(--gold); }
.reading .lab, .letter .lab { display: block; margin-top: 14px; font-size: 13px; font-weight: 800; opacity: .7; }
.reading p.t { margin-top: 6px; font-size: 18px; line-height: 1.75; }
.free-tag { margin-left: auto; font-size: 12px; font-weight: 800; border: 1px solid currentColor; border-radius: 999px; padding: 2px 10px; }
.sec { margin: 32px 2px 0; font: 900 23px "Noto Serif KR", serif; }
.sec + .fine { margin: 4px 2px 0; }
.letter { position: relative; margin-top: 12px; border-radius: 22px; padding: 18px; background: var(--ink2); }
.letter .r { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.letter .r b { font-size: 18px; }
.letter .d { font-size: 14px; color: var(--muted); }
.letter .price { flex: none; min-width: 84px; min-height: 44px; border-radius: 999px; border: 0; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; background: var(--gold); color: var(--night); }
.letter.sel { box-shadow: inset 0 0 0 2px var(--gold); }
.letter.sel .price { background: var(--paper); }
.letter .tease { margin-top: 10px; font-size: 16px; line-height: 1.6; color: #e7e2d8; }
.lock { display: grid; gap: 7px; margin-top: 10px; } .lock i { display: block; height: 11px; border-radius: 6px; background: #ffffff1a; } .lock i:nth-child(2) { width: 80%; }
.letter.open { background: var(--paper); color: #1d1a17; }
.letter.open .h { color: var(--brown); }
.letter.open p { margin-top: 4px; font: 500 18px/1.75 "Noto Serif KR", serif; }
.soon { opacity: .55; }
.qs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.q { border: 1.5px solid var(--gold); color: var(--gold); background: none; border-radius: 999px; padding: 0 16px; min-height: 46px; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.q em { font-style: normal; font-size: 13px; opacity: .8; margin-left: 4px; }
.q.sel { background: var(--gold); color: var(--night); }
.q:disabled { border-color: var(--line); color: var(--muted); cursor: default; }
.thread { margin-top: 16px; display: grid; gap: 12px; }
.me { justify-self: end; max-width: 300px; background: var(--gold); color: var(--night); border-radius: 22px; border-bottom-right-radius: 6px; padding: 12px 16px; font-weight: 700; }
.bub { display: flex; gap: 10px; align-items: flex-end; }
.bub svg { width: 38px; height: 38px; flex: none; }
.bub .b { max-width: 370px; background: var(--paper); color: #1d1a17; border-radius: 22px; border-bottom-left-radius: 6px; padding: 14px 16px; font-size: 17px; line-height: 1.65; }
.bub.f .b { background: var(--ink2); color: var(--paper); border: 1px solid var(--line); }
.bub .b small { display: block; font-size: 12px; font-weight: 800; opacity: .7; margin-bottom: 2px; }
.tease-chat { margin-top: 14px; background: var(--ink2); border-radius: 22px; padding: 16px; }
.tease-chat small { color: var(--gold); font-weight: 800; font-size: 13px; }
.tease-chat p { margin-top: 6px; font-size: 16px; line-height: 1.6; }
.spacer { height: 110px; }
.bar { position: fixed; z-index: 9; left: 0; right: 0; bottom: 0; max-width: 500px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--ink2); border-top: 1px solid var(--line); border-radius: 20px 20px 0 0; font-size: 15px; }
.sheet-bg { position: fixed; z-index: 10; inset: 0; background: #000a; }
.sheet { position: fixed; z-index: 11; left: 0; right: 0; bottom: 0; max-width: 500px; margin: 0 auto; background: var(--ink2); border-top: 1px solid var(--line); border-radius: 28px 28px 0 0; padding: 22px 18px calc(22px + env(safe-area-inset-bottom)); animation: up .3s ease both; }
@keyframes up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.say { display: flex; gap: 10px; align-items: flex-start; }
.say svg { width: 40px; height: 40px; flex: none; }
.say .b { background: var(--paper); color: #1d1a17; border-radius: 20px; border-top-left-radius: 6px; padding: 12px 16px; font-size: 16px; line-height: 1.6; }
.say.f .b { background: #2d3346; color: var(--paper); }
.say small { display: block; font-size: 12px; font-weight: 800; color: var(--brown); margin-bottom: 2px; }
.say.f small { color: var(--silver); }
.picked { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.picked span { font-size: 13px; font-weight: 700; padding: 6px 10px; border-radius: 999px; background: #2d3346; color: var(--silver); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0; }
.tier { border-radius: 18px; border: 1.5px solid var(--line); padding: 14px 6px; text-align: center; background: none; color: var(--paper); font: inherit; cursor: pointer; }
.tier b { display: block; font-size: 15px; } .tier .w { display: block; margin-top: 6px; font-size: 19px; font-weight: 800; } .tier small { display: block; margin-top: 4px; font-size: 12px; opacity: .75; }
.tier.on { border: 2.5px solid var(--gold); background: #2d2a1e; } .tier.on .w { color: var(--gold); }
.tier:disabled { opacity: .35; cursor: default; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* 작업 사본 11-20: 직장·취업운 구매 흐름 */
.err { margin-top: 10px; color: #ffb4a8; font-size: 15px; }
.reopen { margin-top: 18px; } .reopen b { display: block; margin-bottom: 8px; } .reopen .row { margin-top: 10px; } .code { flex: 1; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #1b1a24; color: var(--paper); padding: 0 12px; font: inherit; }
.cands { margin-top: 12px; background: #2d2a1e; border: 1px solid #5a4a22; border-radius: 16px; padding: 12px 14px; font-size: 15px; line-height: 1.55; }
.incl { margin: 14px 0 0 18px; padding: 0; font-size: 15px; line-height: 1.7; color: var(--paper); }
.first { margin-top: 12px; background: #1b1a24; border-radius: 14px; padding: 12px 14px; font-size: 16px; line-height: 1.6; } .first small { display: block; color: var(--gold); font-weight: 800; font-size: 12px; }
#pay { margin-top: 14px; } .mock { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); } .mock span { width: 100%; } .mock button { flex: 1; min-height: 46px; border-radius: 999px; border: 1px solid var(--gold); background: none; color: var(--gold); font: inherit; font-weight: 800; cursor: pointer; }
.card.list { background: var(--ink2); color: var(--paper); margin-top: 0; } .card.list ol { margin: 8px 0 0 20px; padding: 0; line-height: 1.7; } .why { justify-self: start; }
code { font-size: 12px; word-break: break-all; color: var(--gold); }

.card .h { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; color: var(--gold); } .card .h svg { width: 28px; height: 28px; flex: none; } .card .h .free-tag { margin-left: auto; } .card .lab { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); } .card .t { margin: 8px 0 0; font-size: 17px; line-height: 1.65; }

/* 11-21 시기 풀이 */
.seg2 { display: flex; gap: 6px; margin-top: 12px; } .seg2 button { flex: 1; min-height: 44px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--paper); font: inherit; font-weight: 700; cursor: pointer; } .seg2 button[aria-checked=true] { background: var(--gold); color: #14131a; border-color: var(--gold); }
.sec2 { margin: 22px 0 8px; font-size: 19px; } .sec2 small { font-size: 13px; color: var(--muted); font-weight: 500; margin-left: 6px; }
.tabs { display: flex; gap: 4px; background: var(--ink2); border-radius: 999px; padding: 4px; } .tabs button { flex: 1; min-height: 44px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: inherit; font-weight: 800; cursor: pointer; } .tabs button[aria-selected=true] { background: var(--paper); color: #14131a; }
.period { margin-top: 10px; } .period .when { display: block; font-size: 13px; color: var(--gold); font-weight: 800; } .period b { display: block; margin-top: 4px; } .period p { margin: 6px 0 0; line-height: 1.6; } .period .ask { font-size: 15px; color: var(--silver); } .pwhy { margin-top: 6px; padding: 0; font-size: 14px; } .dw { margin-top: 10px; }

/* 11-21 출시 사본: 결제창·유료 첫 화면·공유 */
.sticky { position: sticky; top: 0; z-index: 5; background: #14131aee; margin: 0 -20px; padding: 6px 20px; }
.ask-h { margin-top: 18px; font-weight: 800; } .qs.big { display: grid; grid-template-columns: 1fr 1fr; } .qs.big .q { min-height: 56px; font-size: 16px; }
.buy { margin: 14px 0 0; display: grid; gap: 8px; } .buy div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; } .buy dt { color: var(--muted); flex: none; } .buy dd { margin: 0; text-align: right; } .buy .total { border-top: 1px solid var(--line); padding-top: 8px; font-size: 18px; font-weight: 800; } .buy .total small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.first .fl { display: block; margin-top: 4px; } .first .fl b { color: var(--gold); font-size: 13px; margin-right: 6px; }
.notice { background: #2d2a1e; border: 1px solid #5a4a22; border-radius: 14px; padding: 10px 14px; font-size: 15px; margin-bottom: 12px; }
.bub .b .lead { font-weight: 800; } .sw-hint { margin-top: 0; }
.saved { background: var(--gold); color: var(--night); border-radius: 16px; padding: 10px 14px; font-weight: 700; } .saved small { display: block; font-size: 12px; opacity: .7; }
.myq .qrow { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); } .myq .qrow:last-child { border: 0; } .myq p { flex: 1; margin: 0; } .myq small { display: block; font-size: 12px; color: var(--muted); } .myq .save { flex: none; min-height: 44px; min-width: 64px; border-radius: 999px; border: 1px solid var(--gold); background: none; color: var(--gold); font: inherit; font-weight: 800; cursor: pointer; } .myq .save[aria-pressed=true] { background: var(--gold); color: var(--night); }
.period .conn { font-size: 15px; color: #d9d4ca; } .period .chg { font-size: 13px; color: var(--muted); } .period .voice { display: flex; gap: 8px; align-items: flex-start; } .period .voice svg { width: 26px; height: 26px; flex: none; margin-top: 2px; }
#shareSheet canvas { width: 100%; height: auto; border-radius: 16px; display: block; } .share-actions { margin-top: 10px; justify-content: center; flex-wrap: wrap; } .share-actions .btn { margin-top: 0; }
.gold { color: var(--gold); } .share-hero { margin-top: 24px; } .share-hero h1 { font-size: 38px; } .dosa.chosen { box-shadow: 0 0 0 3px var(--gold); } a.btn.start { margin-top: 18px; text-decoration: none; }

.sheet { max-height: 92vh; overflow-y: auto; overscroll-behavior: contain; }

.foot { margin-top: 32px; font-size: 13px; color: var(--muted); text-align: center; line-height: 2.2; } .foot a { color: var(--muted); padding: 10px 2px; }

/* 11-21 공유 시안 2 확정: 좌우 두 장 */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .dcard { border-radius: 22px; padding: 16px 14px; } .dcard svg { width: 40px; height: 40px; display: block; } .dcard b { display: block; margin-top: 8px; font: 900 19px 'Noto Serif KR', serif; } .dcard p { margin-top: 8px; font-size: 16px; line-height: 1.6; } .dcard.f { background: var(--ink2); border: 1px solid var(--line); } .dcard.f b { color: var(--silver); } .dcard.m { background: var(--paper); color: #1d1a17; } .dcard.m b { color: var(--brown); }

button.dcard { font: inherit; text-align: left; cursor: pointer; transition: transform .15s; } button.dcard:active { transform: scale(.97); } .dcard small { display: block; font-size: 12px; font-weight: 700; opacity: .7; } .dcard.chosen { box-shadow: 0 0 0 3px var(--gold); } #pair { margin-top: 16px; }

button.dcard.f { color: var(--paper); } button.dcard.m { color: #1d1a17; }

/* 11-21 공유 확정안: 이름+한마디 큰 카드 */
.duo { margin-top: 20px; } .dcard.big { text-align: center; padding: 20px 10px 22px; } .dcard.big svg { width: 56px; height: 56px; margin: 0 auto; } .dcard.big b { font-size: 24px; margin-top: 10px; } .dcard.big p { font-size: 18px; font-weight: 800; line-height: 1.45; margin-top: 10px; } #sample { margin-top: 16px; }

.share-hero h1 { font-size: 36px; word-break: keep-all; } .duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .dcard { min-width: 0; overflow-wrap: anywhere; word-break: keep-all; }

/* 11-21 T·F 선택 첫 화면 */
.dosa .choice { margin-top: 12px; font: 900 22px/1.3 'Noto Serif KR', serif; word-break: keep-all; min-height: 58px; display: flex; align-items: center; justify-content: center; } .dosa.f .choice { color: var(--paper); } .dosa.m .choice { color: #1d1a17; } .dosa .t { margin-top: 8px; } .dosa.f .t { color: var(--silver); } .dosa.m .t { color: var(--brown); }

.dcard.big .ch { font: 900 20px/1.35 'Noto Serif KR', serif; color: inherit; } .dcard.big small { margin-top: 8px; font-size: 13px; } .dcard.f.big small { color: var(--silver); opacity: 1; } .dcard.m.big small { color: var(--brown); opacity: 1; }

.common { background: #1b1a24; border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px; } .common small { display: block; color: var(--gold); font-weight: 800; font-size: 12px; margin-top: 6px; } .common small:first-child { margin-top: 0; } .common b { display: block; font-size: 17px; margin-top: 2px; } .common p { margin-top: 4px; font-size: 15px; line-height: 1.6; } .myq .qrow.main p { font-weight: 800; } .myq .qrow.main small:first-child { color: var(--gold); }

.pick { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .dosa { min-width: 0; padding-left: 10px; padding-right: 10px; } .dosa .choice { font-size: 20px; overflow-wrap: anywhere; } .dosa .t { font-size: 13px; } .dosa .go { font-size: 15px; } #home .fine { word-break: keep-all; }

/* 11-21 손님 화면 간결화 */
.takeq { background: var(--gold); color: var(--night); border-radius: 18px; padding: 12px 14px; display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; } .takeq small { grid-column: 1 / -1; font-size: 12px; font-weight: 800; opacity: .7; } .takeq p { margin: 0; font-weight: 800; font-size: 17px; line-height: 1.5; } .takeq .save { min-height: 44px; min-width: 64px; border-radius: 999px; border: 1.5px solid var(--night); background: none; color: var(--night); font: inherit; font-weight: 800; } .takeq .save[aria-pressed=true] { background: var(--night); color: var(--gold); }
.whyme, .more-q { background: var(--ink2); border-radius: 18px; padding: 12px 14px; } .whyme summary, .more-q summary { cursor: pointer; font-weight: 800; color: var(--gold); min-height: 44px; display: flex; align-items: center; } .whyme p { margin: 6px 0 0; font-size: 15px; line-height: 1.65; } .whyme small { display: block; margin-top: 12px; color: var(--gold); font-size: 12px; font-weight: 800; } .whyme .more { color: #d9d4ca; } .bub .b .lead { font-size: 18px; line-height: 1.6; }

/* 11-21 손님 화면 간결화 */
.takeq { background: var(--gold); color: var(--night); border-radius: 18px; padding: 12px 14px; display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; } .takeq small { grid-column: 1 / -1; font-size: 12px; font-weight: 800; opacity: .7; } .takeq p { margin: 0; font-weight: 800; font-size: 17px; line-height: 1.5; } .takeq .save { min-height: 44px; min-width: 64px; border-radius: 999px; border: 1.5px solid var(--night); background: none; color: var(--night); font: inherit; font-weight: 800; } .takeq .save[aria-pressed=true] { background: var(--night); color: var(--gold); }
.whyme, .more-q { background: var(--ink2); border-radius: 18px; padding: 12px 14px; } .whyme summary, .more-q summary { cursor: pointer; font-weight: 800; color: var(--gold); min-height: 44px; display: flex; align-items: center; } .whyme p { margin: 6px 0 0; font-size: 15px; line-height: 1.65; } .whyme small { display: block; margin-top: 12px; color: var(--gold); font-size: 12px; font-weight: 800; } .whyme .more { color: #d9d4ca; } .bub .b .lead { font-size: 18px; line-height: 1.6; }

/* 11-21 일반 홈: 주제 고르기 */
.topics { display: grid; gap: 10px; margin-top: 20px; position: relative; z-index: 1; }
.topic.on { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; text-align: left; background: var(--paper); color: #1d1a17; border: 0; border-radius: 22px; padding: 18px 18px; font: inherit; cursor: pointer; min-height: 88px; transition: transform .15s; }
.topic.on:active { transform: scale(.98); }
.topic.on b { font: 900 21px 'Noto Serif KR', serif; }
.topic.on span { grid-column: 1; font-size: 14px; color: #5f5850; line-height: 1.45; }
.topic.on .price { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; font-weight: 800; font-size: 13px; color: var(--brown); text-align: right; max-width: 96px; word-break: keep-all; }
.topic.on .price.free { color: #2f6b45; }
.soon-h { color: var(--muted); font-size: 18px; }
.soon-groups { display: grid; gap: 14px; margin-top: 10px; }
.sg { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sg b { width: 100%; font-size: 14px; color: var(--muted); }
.topic.soon { display: inline-flex; align-items: center; gap: 6px; border: 1px dashed var(--line); color: var(--muted); border-radius: 999px; padding: 8px 12px; font-size: 14px; }
.topic.soon i { font-style: normal; font-size: 11px; border: 1px solid var(--line); border-radius: 999px; padding: 0 6px; }
.sg b small { font-weight: 400; font-size: 12px; margin-left: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 0 6px; }
.sg-note { width: 100%; margin: 0; font-size: 12px; color: var(--muted); }
.note { font-size: 13px; color: #5f5850; margin: -6px 0 14px; line-height: 1.5; }
.submit-row { align-items: stretch; } .submit-row .btn { margin: 0; }
.bell { flex: none; min-width: 96px; border-radius: 999px; border: 1.5px solid var(--night); background: none; color: var(--night); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; padding: 0 10px; }
.bell[aria-pressed=false] { color: #8a8378; border-color: #c9c0ae; }
/* 사주 펼치기 연출 */
.reveal { position: fixed; inset: 0; z-index: 20; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; background: rgba(8, 8, 14, calc(.55 + var(--dim, 0) * .4)); padding: 24px; }
.rv-line { font: 700 20px 'Noto Serif KR', serif; color: var(--paper); text-align: center; }
.rv-stars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; width: 100%; max-width: 420px; }
.rv-col { display: flex; flex-direction: column; align-items: center; gap: 6px; opacity: calc(.15 + var(--a, 0) * .85); text-align: center; }
.rv-star { width: 22px; height: 22px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 calc(6px + var(--a, 0) * 14px + var(--glow, 0) * 26px) rgba(230, 194, 122, calc(.4 + var(--glow, 0) * .5)); transform: scale(calc(.6 + var(--a, 0) * .4)); }
.rv-col.unsure .rv-star { background: none; border: 1.5px solid rgba(230, 194, 122, .5); box-shadow: none; }
.rv-col small { font-size: 12px; color: var(--muted); }
.rv-col b { font-size: 15px; color: var(--paper); word-break: keep-all; }
.rv-col.unsure b { font-size: 12px; color: var(--muted); font-weight: 600; }
.rv-skip { position: absolute; bottom: 28px; right: 20px; color: var(--muted); }
#free .t.lit { animation: lit .9s ease-out both; }
@keyframes lit { 0% { text-shadow: 0 0 18px rgba(230, 194, 122, .9); } 100% { text-shadow: none; } }

.reveal { background: rgba(8, 8, 14, calc(.7 + var(--dim, 0) * .25)); } .rv-col { opacity: 1; } .rv-col .rv-star { opacity: calc(.18 + var(--a, 0) * .82); } .rv-col small, .rv-col b { opacity: var(--a, 0); transform: translateY(calc((1 - var(--a, 0)) * 6px)); }

.qs.big .q small { display: block; margin-top: 4px; font-size: 12px; font-weight: 400; opacity: .8; }

/* 11-21 보스: 풀이 카드 읽기 — 한글은 어절 단위로 줄을 바꾸고(낱말 중간에서 끊지 않음), 한 어절이 줄보다 길 때만 그 안에서 끊는다(긴 문자열 예외). 왼쪽 정렬, 문단 간격 12px. 기기별 강제 줄바꿈(<br>)은 쓰지 않는다. */
body { word-break: keep-all; overflow-wrap: anywhere; }
.card, .bub .b, .takeq, .whyme, .more-q, .period, .first, .say .b, .common { text-align: left; }
code { word-break: break-all; overflow-wrap: anywhere; }
.card .h { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; } .card .h .free-tag { white-space: nowrap; }
.card p.t + p.t { margin-top: 12px; }
.basis { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.basis small { display: block; font-size: 12px; font-weight: 800; color: var(--gold); letter-spacing: 0; }
.basis p { margin: 4px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.whyme small { display: block; margin-top: 16px; } .whyme small:first-of-type { margin-top: 8px; }
.whyme p { margin: 4px 0 0; line-height: 1.7; }
.qs.big .q { min-width: 0; }

/* 17개 서비스 메뉴·두 사람 입력·주제 풀이(11-21) */
.topic-menu { margin-top: 24px; display: grid; gap: 18px; }
.tm-group b.tm-h { display: block; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.tm-list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.tm-item { text-align: left; background: var(--ink2); color: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px; font: inherit; cursor: pointer; min-height: 64px; min-width: 0; }
.tm-item b { display: block; font-size: 15px; } .tm-item small { display: block; margin-top: 2px; font-size: 12px; color: var(--gold); }
.tm-item[aria-disabled="true"] { opacity: .55; cursor: default; border-style: dashed; }
.role-h { margin: 0 0 8px; font-weight: 800; color: #6f6860; font-size: 14px; }
.partner { margin-top: 18px; padding-top: 16px; border-top: 1px dashed #d8d0c2; }
.tp-pair { display: grid; gap: 8px; margin-top: 10px; } .tp-pair p { margin: 0; background: var(--ink2); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; font-size: 15px; line-height: 1.6; }
.tp-pre { margin-top: 12px; } .tp-pre ul { margin: 8px 0 0 18px; padding: 0; line-height: 1.7; font-size: 15px; }
.tp-els { margin-top: 12px; }

.wallet { margin-top: 24px; } .wallet .wl-bal { margin: 8px 0 0; font-size: 18px; } .wallet .wl-acts { gap: 8px; margin-top: 10px; flex-wrap: wrap; } .wallet #recoverForm { margin-top: 12px; gap: 8px; } .wallet #chargeBtn { margin-top: 12px; width: 100%; }

/* 이직운 한 해 풀이 달 고르기(11-21) */
.monbar { position: sticky; top: 67px; z-index: 4; display: flex; gap: 6px; overflow-x: auto; padding: 8px 0; background: var(--night); scrollbar-width: none; } .monbar::-webkit-scrollbar { display: none; } .monbar button { flex: 0 0 auto; min-width: 48px; min-height: 44px; border: 1px solid var(--line); border-radius: 999px; background: var(--ink2); color: var(--paper); font: inherit; font-size: 14px; } .monbar button.w { border-color: var(--gold); color: var(--gold); font-weight: 700; }
.period.month { scroll-margin-top: 128px; } .period.watch .when { font-weight: 700; } details.mev summary { font-size: 13px; color: var(--muted); cursor: pointer; min-height: 32px; }
.period.act .when { color: var(--silver); } .card.counter { margin-top: 10px; } .card.counter > b { display: block; color: var(--silver); font-size: 13px; }
.soon-tag { margin-left: auto; font-size: 12px; font-weight: 800; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; }

/* 시험 달 고르기(11-21 밤): 누르기 좋은 44px, 어두운 바탕에 맞춤 */
.tp-exampick .row{align-items:center}
.tp-exampick input[type=month]{flex:1;min-width:0;min-height:44px;border-radius:12px;padding:0 12px;background:rgba(255,255,255,.06);color:inherit;border:1px solid rgba(255,255,255,.22);font:inherit;color-scheme:dark}
.tp-yearpick .btn,.tp-exampick .btn{min-height:44px}

/* 연간 상품 양력 1~12월 목록(11-21 밤) */
.tp-mlist{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:6px}
.tp-m{font-size:14px;line-height:1.55;color:rgba(255,255,255,.78)}
.tp-m b{display:inline-block;min-width:34px;color:#fff}
.tp-m-past{opacity:.45}
.tp-tag{display:inline-block;font-size:11px;padding:1px 7px;border-radius:999px;border:1px solid rgba(255,190,120,.6);color:#ffcf99;margin-right:2px}
.tp-tag.act{border-color:rgba(150,220,170,.6);color:#a9e6bb}
.tp-judgnote{color:rgba(255,255,255,.72)}
.review-banner{position:sticky;top:0;z-index:50;background:#3b2a12;color:#ffdca8;font-size:12px;text-align:center;padding:6px 12px;line-height:1.4}

/* 11-22 초대 검토판 의견 칸 */
.tp-fb .fb-q{display:block;margin:14px 0 6px;font-size:14px;line-height:1.5}
.tp-fb textarea{width:100%;box-sizing:border-box;min-height:56px;padding:10px 12px;border-radius:12px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.06);color:inherit;font:inherit;font-size:16px;line-height:1.5;resize:vertical}
.tp-fb .btn{margin-top:14px;width:100%}
#fbErr{color:#f3a7a0}
#birth, #pBirth { font-size: 18px; letter-spacing: .04em; }
/* 11-23: 토닥 카드 작은 글 대비(투명도 0.75 반영 약 3.2:1) → 투명도 빼서 5.1:1 */
.dosa.m .t { opacity: 1; }
.tp-tag { font-size: 12px; }

/* 11-24 보스 A안: 첫 화면 말투 카드, 다른 주제 접기, 생일 확인 줄, 시간 오전·오후/시/분 */
.hero .kicker { font-size: 14px; color: var(--gold); margin: 0 0 10px; font-weight: 700; }
.tones { display: grid; gap: 12px; margin-top: 28px; position: relative; z-index: 1; animation: rise .7s cubic-bezier(.22,1,.36,1) .15s both; }
.tone-card { display: flex; align-items: center; gap: 14px; text-align: left; width: 100%; min-height: 88px; border-radius: 22px; padding: 16px; font: inherit; cursor: pointer; border: 1px solid var(--line); background: var(--ink2); color: var(--paper); transition: transform .15s; }
.tone-card:active { transform: scale(.97); }
.tone-card.m { background: var(--paper); color: #1d1a17; border-color: transparent; }
.tone-card .badge svg { width: 48px; height: 48px; display: block; }
.tone-card .tc-txt { flex: 1; min-width: 0; }
.tone-card b { display: block; font: 900 20px/1.3 "Noto Serif KR", serif; word-break: keep-all; }
.tone-card small { display: block; margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--silver); word-break: keep-all; }
.tone-card.m small { color: var(--brown); }
.tone-card .tc-go { font-size: 24px; opacity: .55; }
.more-topics { margin-top: 28px; border-top: 1px solid var(--line); position: relative; z-index: 1; }
.more-topics > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; cursor: pointer; font-weight: 700; font-size: 16px; }
.more-topics > summary::-webkit-details-marker { display: none; }
.more-topics > summary small { color: var(--muted); font-weight: 400; font-size: 13px; }
.more-topics > summary small::after { content: ' ›'; }
.more-topics[open] > summary small::after { content: ' ⌄'; }
.more-topics .topics { margin-top: 4px; }
#pick #pickTopic { border: 1px solid var(--gold); color: var(--gold); border-radius: 999px; padding: 4px 12px; font-size: 13px; }
.date-ok { min-height: 20px; margin: -8px 0 12px; font-size: 15px; font-weight: 700; }
.date-ok.good { color: #2f7a43; } .date-ok.bad { color: #b3412c; }
.timef .ampm { margin-bottom: 8px; }
.tsel { gap: 8px; align-items: stretch; }
.tsel select { flex: 1; min-width: 0; height: 52px; border: 1.5px solid #d8cfbd; border-radius: 14px; padding: 0 12px; font: inherit; font-size: 17px; background: #fff; color: #1d1a17; }
.tsel select:disabled, .timef input:disabled + span { opacity: .45; }
.timef .check { height: 44px; margin: 4px 0 0; }
.submit-main { margin-top: 8px; }
.privacy { margin: 12px 0 0; } .privacy summary { cursor: pointer; color: #5f5850; } .privacy[open] summary { margin-bottom: 6px; }
.small-bell { display: block; margin: 10px auto 0; min-height: 44px; border: 0; color: #6f6860; font-weight: 700; }
/* 11-24: 내 복 보조 메뉴·유료 풀이 가격 줄 */
.wallet-menu { margin-top: 0; }
.wallet-menu .wallet { margin-top: 4px; }
.wl-main { margin: 8px 0 0; font-size: 18px; font-weight: 800; color: var(--gold); word-break: keep-all; }
.tp-price { margin: 14px 0 0; text-align: center; font-size: 15px; color: var(--paper); }
.tp-price b { color: #ffb4a8; }