:root {
  color-scheme: light;
  --bg:#f9f6eb; --panel:#fffdf5; --fg:#243b32; --muted:#626957;
  --line:#d6cfb7; --accent:#254d40; --vermilion:#8b3829;
  --display:'Noto Serif KR',Batang,Georgia,serif;
}
body { background:#eae6d7; font-family:'IBM Plex Sans KR',system-ui,sans-serif; }
.page { max-width:1020px; padding:0 clamp(18px,4vw,48px) 48px; min-height:100vh; background:var(--bg); }
.top { margin:0; padding:16px 0; border-bottom:3px double var(--accent); }
.top a.home,h1,h2,h3,legend,#price-line,summary { font-family:var(--display); }
.top a.home { color:var(--accent); font-size:27px; }
.top a:last-child { font-size:14px; }
a,h1,h2,legend { color:var(--accent); }
.catalog { margin:18px 0; }
.catalog h2 { margin:0 0 8px; font-size:16px; }
.choices { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.choice { font:inherit; color:var(--fg); background:var(--panel); border:1px solid var(--line); border-radius:4px; padding:8px; cursor:pointer; }
.choices .choice { display:grid; grid-template-columns:1fr; justify-items:start; text-align:left; gap:3px; font-weight:600; line-height:1.4; }
.choice[aria-pressed=true] { border-color:var(--accent); box-shadow:inset 0 -3px var(--accent); }
.choice img { width:100%; aspect-ratio:2.6; object-fit:cover; border-radius:2px; }
.choice strong { color:var(--vermilion); font-size:13px; }
.intro { margin:20px 0; }
#cover { display:block; width:100%; height:auto; aspect-ratio:2.4; object-fit:cover; border:1px solid #bfb391; border-radius:3px; }
.intro-heading { display:flex; justify-content:space-between; align-items:baseline; gap:12px; margin:16px 0 12px; }
h1, #product-title { margin:0; font-size:clamp(24px,4.5vw,39px); line-height:1.45; letter-spacing:-.045em; }
#price-line { flex:none; color:var(--vermilion); font-weight:700; font-size:clamp(17px,3vw,25px); margin:0; }
.preview-link { display:flex; justify-content:space-between; padding:12px 16px; background:var(--accent); color:#fffdf4; text-decoration:none; border-radius:3px; }
.preview-link::after { content:'↓'; }
#sample,#profile,.report:not(:empty) { background:var(--panel); border:1px solid var(--line); border-radius:4px; padding:clamp(16px,3vw,28px); margin:14px 0; }
summary { cursor:pointer; font-weight:700; color:var(--accent); }
#profile { scroll-margin:16px; }
fieldset { border:0; padding:0; margin:0; min-width:0; } legend { font-size:21px; }
.fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
label { display:grid; gap:4px; } input,select { width:100%; min-width:0; padding:10px; border:1px solid var(--line); border-radius:3px; background:#fff; color:var(--fg); font:inherit; }
.buy { background:var(--accent); color:white; border-radius:4px; }
.report h2 { margin:0; } .report section { padding:16px 0; border-top:1px solid var(--line); }
.report h2+section { margin-top:14px; } .report h3 { margin:0 0 6px; color:var(--vermilion); }
.report p,#sample p { margin:4px 0; font-family:var(--display); line-height:1.95; }
:focus-visible { outline:3px solid #a04631; outline-offset:3px; }
[hidden] { display:none!important; }
@media(min-width:790px) {
  .page { display:grid; grid-template-columns:minmax(0,1fr) 215px; align-content:start; column-gap:32px; }
  .page>* { grid-column:1; }
  .top,footer.biz { grid-column:1/-1; }
  .catalog { grid-column:2; grid-row:2/span 5; align-self:start; position:sticky; top:16px; border-left:1px solid var(--line); padding-left:20px; }
  .choices { grid-template-columns:1fr; } .choices .choice { grid-template-columns:68px 1fr; align-items:center; column-gap:8px; }
  .choice img { grid-row:span 2; aspect-ratio:1.25; } .intro { grid-row:2; }
}
@media(max-width:480px) { .choices .choice { font-size:13px; } #cover { aspect-ratio:1.9; } }
.report-page img { width:100%; max-height:240px; object-fit:cover; }
.report-page dl { display:grid; grid-template-columns:minmax(70px,1fr) 3fr; margin:1em 0; }
.report-page dt,.report-page dd { padding:8px; margin:0; border-bottom:1px solid var(--line); }
.report-page dt { font-weight:600; }.report-page .folio { display:block; text-align:right; color:var(--muted); }
#sample-toc { columns:2; font-size:14px; } #sample-toc li { break-inside:avoid; }
@media(max-width:480px){ #sample-toc { columns:1; } }
@page { size:105mm 210mm; margin:6mm; }
@media print {
  body,.page { display:block; background:white; margin:0; padding:0; max-width:none; }
  .page > :not(#result),#result > h2 { display:none!important; }
  #result.report { border:0; margin:0; padding:0; background:white; }
  #result .report-page { border:0; break-after:page; margin:0; padding:3mm 0; }
  #result .report-page:last-child { break-after:auto; }
  #result h3 { font-size:18pt; } #result p,#result dl { font-size:12pt; }
}
/* 첫 화면: 한 줄 세로 구성 */
.page { display:block; max-width:560px; margin:0 auto; }
.catalog { position:static; border:0; padding:0; margin:22px 0; background:var(--panel); border:1px solid var(--line); border-radius:16px; padding:16px 10px; }
.catalog h2 { text-align:center; margin-bottom:12px; }
.choices { grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px; }
.choices .choice { grid-template-columns:1fr; justify-items:center; text-align:center; border:0; background:none; box-shadow:none; font-size:14px; }
.choices .choice img { width:64px; height:64px; aspect-ratio:1; border-radius:50%; border:2px solid #c9a24a; grid-row:auto; }
.choices .choice[aria-pressed=true] { box-shadow:none; }
.choices .choice[aria-pressed=true] img { outline:3px solid var(--accent); outline-offset:2px; }
.hero { margin:0 calc(-1 * clamp(18px,4vw,48px)); padding:0 clamp(18px,4vw,48px) 6px; }
.hero > img { display:block; width:calc(100% + 2 * clamp(18px,4vw,48px)); margin:0 calc(-1 * clamp(18px,4vw,48px)); height:auto; aspect-ratio:1.5; object-fit:cover; -webkit-mask-image:linear-gradient(#000 70%,transparent); mask-image:linear-gradient(#000 70%,transparent); }
.hook { margin-top:-34px; position:relative; text-align:center; background:var(--panel); border:2px solid #d9c48a; border-radius:14px; padding:14px 10px; }
.hook p { margin:0; font-family:var(--display); font-size:15px; }
.hook h1 { margin:2px 0 0; font-size:clamp(25px,7vw,34px); line-height:1.35; color:var(--fg); letter-spacing:normal; }
.hook h1 span { display:block; color:#b8862b; }
.example { margin:22px 0 12px; position:relative; text-align:center; background:var(--panel); border:2px solid #d9c48a; border-radius:14px; padding:22px 12px 12px; }
.tag { display:inline-block; background:linear-gradient(#e7c66e,#c9992f); color:#fff; font-weight:600; font-size:13px; border-radius:999px; padding:3px 14px; }
.example > .tag { position:absolute; top:-13px; left:50%; transform:translateX(-50%); white-space:nowrap; }
.chips { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; }
.chips div { border:1px solid var(--line); border-radius:10px; padding:4px 6px 8px; background:#fff; }
.chips div.me { border:2px solid #3a3f8f; }
.chips small { display:block; color:var(--muted); font-size:12px; }
.chips b { display:block; margin-top:3px; border-radius:6px; font:700 22px/1.5 var(--display); color:#fff; }
.chips b[data-element=목] { background:#2f7a4d; } .chips b[data-element=화] { background:#c0392b; }
.chips b[data-element=토] { background:#a8842c; } .chips b[data-element=금] { background:#f4f1e6; color:#333; border:1px solid #bbb; }
.chips b[data-element=수] { background:#1c2433; }
.example-score { display:flex; justify-content:center; align-items:center; gap:16px; margin:12px 0 6px; padding-top:10px; border-top:1px dashed var(--line); }
.example-score p { margin:0; display:grid; }
.example-score strong { font:700 30px/1.2 var(--display); color:#b8862b; }
.ring { display:grid; place-items:center; width:54px; height:54px; border-radius:50%; border:4px solid #d08a3c; font-size:17px; }
.badge { background:linear-gradient(#e7c66e,#c9992f); color:#5a3d00; font-weight:700; border-radius:6px; padding:2px 10px; font-family:var(--display); }
.example-score em { font-style:normal; font-weight:700; color:var(--vermilion); margin-top:4px; }
.example > small { color:var(--muted); font-size:12px; }
.steps { list-style:none; display:flex; justify-content:center; flex-wrap:wrap; gap:6px; padding:0; margin:12px 0; counter-reset:step; font-size:13px; }
.steps li { counter-increment:step; background:var(--panel); border:1px solid var(--line); border-radius:999px; padding:4px 10px; }
.steps li::before { content:counter(step) ' '; font-weight:700; color:#b8862b; }
.cta { display:block; width:100%; border:0; cursor:pointer; font:700 19px/1 var(--display); padding:17px; border-radius:12px; color:#3c2a00; background:linear-gradient(#f1d27e,#cf9f36); box-shadow:0 3px 0 #a87b1f; }
.cta.small { width:auto; font-size:15px; padding:11px 18px; }
.cta.dark { background:#24336b; color:#ffe9a8; box-shadow:none; width:auto; margin:auto; font-size:16px; border-radius:999px; padding:14px 26px; }
.banner { display:grid; grid-template-columns:42% 1fr; gap:14px; align-items:center; background:var(--panel); border:1px solid var(--line); border-radius:16px; overflow:hidden; margin:22px 0; }
.banner img { width:100%; height:100%; min-height:210px; object-fit:cover; }
.banner div { padding:14px 12px 14px 0; }
.banner h2 { margin:8px 0 0; font-size:21px; color:var(--fg); }
.banner .price { margin:2px 0 6px; font-family:var(--display); font-weight:700; color:var(--vermilion); }
.banner ul { margin:0 0 10px; padding:0; list-style:none; font-size:14px; }
.banner li::before { content:'◆ '; color:#c9992f; }
.closing { text-align:center; background:var(--panel); border:1px solid var(--line); border-radius:16px; padding:22px 14px; margin:22px 0; }
.closing p { margin:0 0 8px; font-family:var(--display); font-size:17px; }
.closing ul { list-style:none; display:flex; justify-content:center; flex-wrap:wrap; gap:4px 14px; padding:0; margin:0 0 16px; font-weight:600; font-size:14px; }
.closing li::before { content:'✓ '; color:#2f7a4d; }
.caution { background:var(--panel); border-left:3px solid #c9992f; border-radius:8px; padding:12px 14px; font-size:13px; color:var(--muted); line-height:1.8; }
.intro { scroll-margin:12px; }
@media print { .hero,.banner,.closing,.caution { display:none!important; } }
.banner .price { font-size:16px; }
/* 예시 카드 글자 돌리기: 기둥마다 창 하나, 그 안에서 줄이 아래로 내려온다 */
.chips div.reel { overflow:hidden; border:0; padding:0; background:none; border-radius:0; }
.chips div.strip,.chips div.pair { border:0; padding:0; background:none; border-radius:0; }
.chips div.strip { will-change:transform; }
.chips div.pair { display:flow-root; padding-bottom:3px; }
.chips div.reel { margin-bottom:-3px; }
/* 오늘의 일진 */
.daily { margin:22px 0; padding:22px 16px 16px; border:1px solid #d9c48a; border-radius:16px; background:linear-gradient(#efe2c0,#fbf5e4 55%); }
.daily p { margin:0; font-family:var(--display); }
.daily-label { color:#9a7a3a; letter-spacing:.12em; font-size:14px; }
.daily h2 { margin:2px 0 6px; font-size:30px; color:var(--fg); }
.daily h2 b { background:#c0392b; color:#fff; border-radius:8px; padding:0 10px; font-size:22px; vertical-align:middle; }
#daily-nature { color:var(--vermilion); font-weight:600; font-size:15px; line-height:1.7; }
.daily-foot { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-top:12px!important; }
.daily-foot button { border:0; background:none; font:700 15px var(--display); color:var(--fg); border-bottom:2px solid var(--fg); padding:0 0 2px; cursor:pointer; }
.daily-foot span { border:1px solid var(--line); border-radius:999px; padding:3px 12px; font-size:13px; color:var(--muted); background:var(--panel); }
@media print { .daily { display:none!important; } }
/* 상품 그림 위 글자 */
.cover-wrap { position:relative; border-radius:16px; overflow:hidden; }
.cover-wrap #cover { border:0; border-radius:0; aspect-ratio:1.9; }
.cover-wrap::after { content:''; position:absolute; inset:0; background:linear-gradient(90deg,rgba(20,25,40,.72),rgba(20,25,40,.15) 75%); }
.cover-text { position:absolute; z-index:1; left:16px; right:30%; bottom:14px; margin:0; display:grid; gap:4px; justify-items:start; color:#fff; font-family:var(--display); }
.cover-text strong { font-size:clamp(24px,6.5vw,32px); line-height:1.3; }
.cover-text > span:last-child { font-size:15px; line-height:1.5; }
.cover-text .tag { color:#3c2a00; }
/* 입력 칸 */
#profile { position:relative; border:2px solid #cfc3ea; border-radius:18px; padding-top:30px; background:linear-gradient(#fff,#fbf6ff); }
.form-tag { position:absolute; top:-15px; left:50%; transform:translateX(-50%); background:#3a2c8f; color:#fff; font-size:15px; padding:5px 18px; white-space:nowrap; }
.sr { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.seg { display:inline-flex; border:1px solid #d9d2ee; border-radius:999px; padding:3px; background:#fff; margin:6px 8px 6px 0; }
.seg label { display:block; position:relative; cursor:pointer; }
.seg input { position:absolute; opacity:0; inset:0; width:100%; height:100%; margin:0; cursor:pointer; }
.seg span { display:block; min-width:52px; text-align:center; padding:8px 14px; border-radius:999px; font:600 16px var(--display); }
.seg input:checked + span { background:#3a2c8f; color:#fff; }
.seg input:focus-visible + span { outline:3px solid #a04631; outline-offset:2px; }
.hint { margin:6px 0 10px; font-size:13px; color:#7a5a2a; line-height:1.6; }
#gender-hint { font:700 15px/1.6 var(--display); color:var(--fg); }
.ymd { display:grid; grid-template-columns:1.2fr 1fr 1fr; gap:10px; margin-top:8px; }
.hm { display:grid; grid-template-columns:1fr auto 1fr 1fr; gap:8px; align-items:end; margin-top:12px; }
.hm b { padding-bottom:12px; }
.ymd label,.hm label { font:600 13px var(--display); color:#5b4a9a; }
#profile input[type=number] { border:1px solid #d9d2ee; border-radius:12px; padding:12px 8px; text-align:center; font:600 18px var(--display); -moz-appearance:textfield; }
#profile input[type=number]::-webkit-inner-spin-button { appearance:none; }
.consent { display:flex!important; gap:10px; align-items:flex-start; margin:14px 0 8px; font-size:15px; line-height:1.6; }
.consent input { width:22px; height:22px; flex:none; margin-top:2px; }
.kids-note { background:#fff8e6; border:1px solid #e6d29a; border-radius:10px; padding:10px 12px; font:14px/1.7 var(--display); margin:8px 0; }
#profile .cta { margin-top:14px; }
footer.biz { color:var(--muted); border-color:var(--line); }
footer.biz a { color:var(--muted); }
.choices { grid-template-columns:repeat(4,minmax(0,1fr)); }
.choices .choice { font-size:13px; padding:4px 2px; }
.tag.green { background:#2f7a4d; }
.banner.flip { grid-template-columns:1fr 42%; }
.banner.flip img { order:2; }
.banner.flip div { padding:14px 0 14px 14px; }
#top-nav { display:none; }
#top-nav button { border:0; background:none; cursor:pointer; font:600 16px var(--display); color:var(--fg); padding:6px 10px; }
/* 넓은 화면: 위쪽 메뉴, 왼쪽 문구와 오른쪽 그림, 카드 가로 배열 */
@media (min-width:900px) {
  .page { max-width:1140px; display:block; }
  .top { display:flex; align-items:center; gap:18px; border-bottom:0; }
  .top a.home { font-size:30px; margin-right:auto; }
  #top-nav { display:flex; gap:4px; }
  .hero { position:relative; margin:0; padding:44px 56px 96px; min-height:560px; border-radius:26px; overflow:hidden; background:linear-gradient(90deg,#f4efe0 35%,#e9e2cf); display:flex; flex-direction:column; align-items:flex-start; gap:14px; }
  .hero > img { position:absolute; inset:0 0 0 auto; width:66%; height:100%; margin:0; aspect-ratio:auto; -webkit-mask-image:linear-gradient(90deg,transparent,#000 38%); mask-image:linear-gradient(90deg,transparent,#000 38%); }
  .hero > :not(img) { position:relative; width:420px; max-width:100%; margin:0; }
  .hook { order:1; text-align:left; background:none; border:0; padding:0; }
  .hook p { font-size:21px; }
  .hook h1 { font-size:46px; }
  .hero .cta { order:2; width:auto; padding:17px 32px; border-radius:999px; }
  .steps { order:3; justify-content:flex-start; }
  .example { order:4; margin-top:22px; }
  .catalog { position:relative; margin:-64px 40px 26px; box-shadow:0 8px 24px rgba(40,50,40,.08); }
  .catalog h2 { display:none; }
  .choices { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .banners { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
  .banners .banner { margin:0; }
  .banner img { min-height:280px; }
  .daily { padding:34px 44px; }
  .daily h2 { font-size:44px; }
  .work { max-width:680px; margin:0 auto; }
  .closing { display:flex; align-items:center; justify-content:space-between; gap:18px; text-align:left; padding:22px 32px; }
  .closing p,.closing ul { margin:0; }
  .closing .cta { margin:0; flex:none; }
}
.consent[hidden],.kids-note[hidden] { display:none!important; }
.top a.home { display:inline-grid; line-height:1.15; text-decoration:none; }
.top a.home small { font:600 10px/1 'IBM Plex Sans KR',sans-serif; letter-spacing:.42em; color:#9a7a3a; }
.choice strong.free { color:#2f7a4d; font-weight:700; }
#price-line { white-space:nowrap; }
@media (max-width:899px) { .choices { grid-template-columns:repeat(3,minmax(0,1fr)); row-gap:10px; } }
@media (min-width:900px) { .choices { grid-template-columns:repeat(5,minmax(0,1fr)); } }
/* 상품 아이콘 줄: 이름과 표시 글자를 모두 같은 명조 굵기·크기로 */
.choices .choice { font:700 16px/1.35 var(--display); color:var(--fg); gap:5px; }
.choices .choice span { white-space:nowrap; }
.choices .choice strong { font:700 15px/1.2 var(--display); min-height:20px; }
.choices .choice strong.free { color:#2f7a4d; }
.choices .choice strong.new { color:#fff; background:#c8402c; border-radius:999px; padding:2px 10px 3px; letter-spacing:.06em; box-shadow:0 0 0 3px rgba(200,64,44,.18); animation:new-pulse 1.6s ease-in-out infinite; }
@keyframes new-pulse { 50% { box-shadow:0 0 0 7px rgba(200,64,44,0); transform:scale(1.06); } }
@media (prefers-reduced-motion:reduce) { .choices .choice strong.new { animation:none; } }
.choices .choice img { width:68px; height:68px; }
@media (max-width:899px) { .choices { grid-template-columns:repeat(4,minmax(0,1fr)); } .choices .choice { font-size:15px; } .choices .choice img { width:60px; height:60px; } }
.hero > img { object-position:70% 30%; }
@media (max-width:899px) { .hero > img { object-position:78% 20%; aspect-ratio:1.35; } }
/* 입금 신청과 안내 */
#checkout { background:var(--panel); border:1px solid var(--line); border-radius:16px; padding:16px; margin:14px 0; display:grid; gap:10px; }
#checkout[hidden] { display:none; }
.deposit { background:#fffaf0; border:2px solid #b08a3c; border-radius:16px; padding:16px; margin:14px 0; }
.deposit h2 { margin:0 0 8px; font-size:20px; }
.deposit dl { display:grid; grid-template-columns:auto 1fr; gap:6px 14px; margin:0 0 8px; }
.deposit dt { color:var(--muted); } .deposit dd { margin:0; font-weight:700; }
#deposit-bank { font-size:17px; color:var(--vermilion); }
/* 무료 항목만 초록 알약 모양으로 눈에 띄게 */
.choices .choice strong.free { color:#fff; background:#2f7a4d; border-radius:999px; padding:2px 12px 3px; letter-spacing:.08em; }
.hero > picture { display:block; margin:0 calc(-1 * clamp(18px,4vw,48px)); }
.hero > picture img { display:block; width:100%; height:auto; aspect-ratio:1.5; object-fit:cover; object-position:50% 20%; -webkit-mask-image:linear-gradient(#000 72%,transparent); mask-image:linear-gradient(#000 72%,transparent); }
.banner img { object-position:50% 20%; }
@media (min-width:900px) {
  .hero > picture { position:absolute; inset:0 0 0 auto; width:66%; margin:0; }
  .hero > picture img { width:100%; height:100%; aspect-ratio:auto; object-position:70% 30%; -webkit-mask-image:linear-gradient(90deg,transparent,#000 38%); mask-image:linear-gradient(90deg,transparent,#000 38%); }
}
/* 상품별 소개 */
.product-meta { margin:0 0 8px; font-size:14px; color:#7a5a2a; font-weight:600; }
.product-desc { margin:0 0 14px; font:17px/1.85 var(--display); }
.points-title { margin:0 0 6px; font-size:17px; }
.product-points { list-style:none; margin:0 0 16px; padding:14px 16px; background:var(--panel); border:1px solid var(--line); border-radius:14px; display:grid; gap:8px; font-size:15px; line-height:1.6; }
.product-points li { padding-left:22px; position:relative; }
.product-points li::before { content:'◆'; position:absolute; left:0; color:#c9992f; }

.report-page .visual {margin:16px 0; max-width:100%; overflow-x:auto}
.report-page .visual > svg {display:block; width:100%; max-width:420px; margin:auto}
.report-page .visual table {border-collapse:collapse; width:100%; font-size:14px}
.report-page .visual th, .report-page .visual td {border:1px solid var(--line); padding:5px; text-align:center}
.report-page .visual th {background:#edf2e8}
.report-page .visual figcaption {font-size:14px}
.report-page .flow svg {width:1em;height:1em}
/* 결제 방법: 계좌 입금만 가능, 카드 결제는 준비 중 */
.pay-title { margin:0; font-size:19px; }
.pay-methods { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.pay-method { display:block; text-align:center; padding:12px 6px; border-radius:12px; font:700 16px var(--display); }
.pay-method.on { background:#2f5a47; color:#fff; border:2px solid #2f5a47; }
.pay-method.off { background:#f1efe6; color:#8a8f85; border:2px dashed #c9c7b8; }
.pay-method small { display:inline-block; margin-left:4px; font:600 12px 'IBM Plex Sans KR',sans-serif; background:#c8402c; color:#fff; border-radius:999px; padding:2px 8px; vertical-align:middle; }
#checkout .hint { margin:0; }
/* 공개 전 안내 */
.closed-note { text-align:center; padding:60px 16px; }
.closed-note h2 { font-size:26px; }
.closed-note a { display:inline-block; margin-top:16px; }
body.closed .hero, body.closed .catalog, body.closed .banners, body.closed .daily, body.closed .work, body.closed .closing, body.closed .caution { display:none; }
/* 시간 모름, 저장된 정보 */
.hm { grid-template-columns:1fr auto 1fr auto; }
.no-time { display:flex!important; align-items:center; gap:6px; padding-bottom:10px; font:600 15px var(--display)!important; color:var(--fg)!important; white-space:nowrap; }
.no-time input { width:22px; height:22px; margin:0; }
#profile input[type=number]:disabled { background:#f1efe6; color:#aaa; }
.saved-info { display:flex; align-items:center; justify-content:space-between; gap:10px; background:#f4f1ff; border:1px solid #d9d2ee; border-radius:12px; padding:10px 12px; margin-bottom:10px; }
.saved-info[hidden] { display:none; }
.saved-info span { display:grid; }
.saved-info small { color:#5b4a9a; font-size:12px; }
.saved-info b { font:700 16px/1.5 var(--display); }
#profile.saved .seg, #profile.saved .ymd, #profile.saved .hm, #profile.saved #gender-hint, #profile.saved fieldset > .hint { display:none; }
.linkish { border:0; background:none; padding:0; font:inherit; color:var(--accent); text-decoration:underline; cursor:pointer; }
/* 미리보기 아래 잠긴 장 */
.locked-rest { position:relative; overflow:hidden; min-height:330px; }
.locked-rest .teaser { filter:blur(5px); opacity:.8; user-select:none; pointer-events:none; max-height:420px; overflow:hidden; }
.locked-rest .teaser b { display:block; margin:14px 0 4px; font:700 17px var(--display); }
.locked-rest .teaser p { margin:0 0 6px; font-family:var(--display); line-height:1.9; }
.rest-card { position:absolute; left:50%; top:90px; transform:translateX(-50%); width:min(88%,360px); text-align:center; background:#fffaf0; border:2px solid #b08a3c; border-radius:12px; padding:18px 14px; box-shadow:0 8px 24px rgba(33,59,50,.18); }
.rest-card strong { display:block; color:#a03a26; font:700 18px/1.5 var(--display); }
.rest-card strong::before { content:''; display:block; width:34px; height:34px; margin:0 auto 6px; background:url(/assets/fortune/icons/lock.webp) center/cover; border-radius:50%; }
.rest-card p { margin:8px 0 0; font-size:15px; color:#24336b; }
/* 미리보기 표: 네 기둥 칸을 같은 폭으로, 글자가 한 자씩 끊기지 않게 */
.report-page .visual table { table-layout:fixed; font-size:clamp(11.5px,3.3vw,14px); letter-spacing:-.02em; }
.report-page .visual th, .report-page .visual td { padding:6px 1px; word-break:keep-all; overflow-wrap:normal; line-height:1.45; }
.report-page .visual tr > :first-child { width:22%; }
/* 입력 오류 안내 */
.form-error { margin:12px 0 0; padding:10px 12px; background:#fdecea; border:1px solid #e3a59c; border-left:4px solid #c8402c; border-radius:8px; color:#8f2a1c; font-weight:600; font-size:15px; line-height:1.6; }
.form-error[hidden] { display:none; }
/* 결제 칸 */
.cta:disabled { opacity:.45; filter:grayscale(1); cursor:not-allowed; box-shadow:none; }
.kakao-login { display:block; text-align:center; background:#fee500; color:#191600; font-weight:700; text-decoration:none; border-radius:12px; padding:14px; }
.kakao-login[hidden] { display:none; }
.pay-steps { margin:0; padding-left:20px; font-size:14px; line-height:1.7; color:var(--muted); }
/* 무료 결과 아래 다음 단계 */
.next-step { display:grid; gap:10px; }
.next-step p { margin:0; }
.choices .choice strong.paid { color:var(--muted); font:500 12px/1.2 'IBM Plex Sans KR',sans-serif; }

/* 안내와 자주 묻는 질문 */
.guide { background:var(--panel); border:1px solid var(--line); border-radius:16px; padding:20px 18px; margin:22px 0; font-size:15px; line-height:1.85; }
.guide h2 { margin:0 0 10px; font-size:21px; color:var(--fg); }
.guide h3 { margin:18px 0 6px; font-size:17px; color:var(--accent); }
.guide ul { margin:0; padding-left:18px; }
.guide li { margin-bottom:6px; }
.faq dt { margin-top:12px; font-weight:700; color:var(--fg); font-family:var(--display); }
.faq dd { margin:4px 0 0; color:#3b463f; }
body.closed .guide { display:none; }
@media print { .guide { display:none!important; } }
.solar-time { display:flex!important; align-items:center; gap:8px; margin-top:10px; font:600 15px var(--display)!important; color:var(--fg)!important; }
.solar-time input { width:22px; height:22px; margin:0; flex:none; }

/* 다음에 보면 좋은 보고서 */
.recommend { display:grid; gap:10px; margin:18px 0 0; }
.recommend h3 { margin:0; font:700 18px/1.4 var(--display, inherit); color:#213b32; }
.recommend p { margin:0; font-size:14px; color:#5d6b63; }
.recommend-card { display:grid; grid-template-columns:48px 1fr auto; gap:12px; align-items:center; text-align:left; font:inherit; color:#213b32; text-decoration:none; background:#fffaf0; border:1px solid #d9c9a3; border-radius:10px; padding:12px; cursor:pointer; }
.recommend-card:hover, .recommend-card:focus-visible { border-color:#b08a3c; box-shadow:0 2px 10px rgba(33,59,50,.12); }
.recommend-card img { width:48px; height:48px; border-radius:50%; object-fit:cover; }
.recommend-card span { display:grid; gap:3px; min-width:0; }
.recommend-card strong { font-weight:700; }
.recommend-card em { font-style:normal; font-size:14px; color:#8a5a12; }
.recommend-card em.free { color:#2f7a4d; }
.recommend-card small { font-size:14px; line-height:1.5; color:#4b5a52; }
.recommend-card b { color:#b08a3c; font-size:20px; }

button.pay-method { width:100%; cursor:pointer; }
button.pay-method.off { cursor:not-allowed; }
.kakao-login.flash { outline:3px solid #c8402c; outline-offset:3px; }

/* 계좌 입금 입력 칸 */
.pay-form { display:grid; gap:10px; border-radius:12px; padding:4px; transition:box-shadow .3s; scroll-margin-top:12px; }
.pay-form.flash { box-shadow:0 0 0 3px #c8402c; }
.pay-form label { display:grid; gap:4px; font-weight:600; }
.pay-form input { font:inherit; font-size:17px; padding:12px; border:1px solid #c9c7b8; border-radius:8px; }
.pay-form .form-error:empty { display:none; }
