/* ============================================================
   사주서고(四柱書庫) — 화면 스타일
   밝은 화이트 쇼핑몰 · 먹색 본문 · 골드/버건디 포인트. 모바일 390px 우선.
   ============================================================ */
:root{
  --bg:#FFFFFF; --bg2:#F8F7F4; --bg3:#F2EFE9;
  --ink:#1A1A1A; --ink2:#3F3B36; --sub:#6E6862; --mute:#9C958C;
  --gold:#B08A2E; --gold-l:#8A6A1F; --gold-d:#6E5314;
  --burgundy:#8E2F3A; --burgundy-d:#77242D;
  --line:#E6E1D8; --line2:#EFEBE3;
  --paper:#FBF6EC; --paper2:#F5EDDC; --paper-ink:#2A2118; --paper-sub:#6B5B45;
  --serif:'Noto Serif KR', 'Nanum Myeongjo', serif;
  --sans:'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif;
}
*{box-sizing:border-box; -webkit-tap-highlight-color:transparent}
html,body{margin:0; padding:0; word-break:keep-all; overflow-wrap:break-word}
body{
  background:var(--bg); color:var(--ink); font-family:var(--sans);
  font-size:15px; line-height:1.65; letter-spacing:-.01em;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%; display:block}
a{color:inherit; text-decoration:none}
button{font-family:inherit; cursor:pointer; border:0; background:none; color:inherit}
input,select{font-family:inherit; font-size:16px}
.serif{font-family:var(--serif)}
.wrap{max-width:760px; margin:0 auto; padding:0 18px}
.hide{display:none !important}

/* ---------- 상단 ---------- */
.topbar{
  position:sticky; top:0; z-index:40;
  background:rgba(255,255,255,.94); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line2);
}
.topbar .wrap{display:flex; align-items:center; justify-content:space-between; height:56px}
.brand{display:flex; align-items:center; gap:8px}
.brand:before{content:''; width:19px; height:19px; border-radius:5px; flex:0 0 auto;
  background:linear-gradient(145deg,#A63844,#77242D); box-shadow:0 2px 6px rgba(142,47,58,.28)}
.brand b{font-family:var(--serif); font-size:19px; line-height:1; letter-spacing:.06em; color:var(--ink); font-weight:800}
.brand span{font-size:10px; letter-spacing:.28em; color:var(--mute); align-self:center; margin-top:2px}
.topbar nav a{font-size:12.5px; color:var(--sub); margin-left:14px}
.topbar nav a:hover{color:var(--burgundy)}

/* ---------- 히어로 (카드뉴스형 수동 캐러셀) ---------- */
.hero{max-width:760px; margin:14px auto 0; padding:0 18px;
  touch-action:pan-y; -webkit-user-select:none; user-select:none}
.hero-card{position:relative; overflow:hidden; border-radius:18px; background:#fff;
  border:1px solid var(--line2); box-shadow:0 10px 30px rgba(26,20,10,.07)}
.hero-track{display:flex; transition:transform .46s cubic-bezier(.22,.61,.36,1);
  will-change:transform; cursor:grab}
.hero-track.dragging{transition:none; cursor:grabbing}
.hero-track.noanim{transition:none}
.hero-slide{min-width:100%; display:grid; grid-template-columns:1fr; background:#fff}
.hero-media{position:relative; aspect-ratio:4/5; overflow:hidden; background:#F3EEE5}
.hero-media img{width:100%; height:100%; object-fit:cover; object-position:50% 18%;
  -webkit-user-drag:none; pointer-events:none}
.hero-copy{padding:14px 18px 16px; background:#fff}
.hero-copy .eyebrow{font-size:10.5px; letter-spacing:.16em; color:var(--gold-l); font-weight:600; margin-bottom:8px}
.hero-copy h1{font-family:var(--serif); font-size:21px; line-height:1.42; margin:0 0 6px; letter-spacing:-.02em; color:var(--ink)}
.hero-copy p{margin:0 0 12px; font-size:12.5px; color:var(--sub)}
.hero-copy .price{display:flex; align-items:center; justify-content:space-between; gap:10px}
.hero-copy .price b{font-family:var(--serif); font-size:20px; color:var(--burgundy); letter-spacing:-.01em}
.hero-copy .price .go{display:inline-flex; align-items:center; gap:2px; font-size:12px; font-weight:700; color:#fff;
  background:linear-gradient(180deg,#A03844,#8E2F3A); padding:8px 12px 8px 14px; border-radius:999px;
  box-shadow:0 3px 10px rgba(142,47,58,.22)}
.hero-copy .price .go svg{width:12px; height:12px}
/* 좌우 화살표 */
.hero-nav{position:absolute; top:40%; transform:translateY(-50%); z-index:4;
  width:38px; height:38px; border-radius:50%; display:grid; place-items:center;
  color:var(--ink); background:rgba(255,255,255,.88); border:1px solid rgba(26,26,26,.07);
  box-shadow:0 3px 12px rgba(26,20,10,.16);
  transition:background .2s ease, box-shadow .2s ease, transform .2s ease}
.hero-nav svg{width:16px; height:16px; display:block}
.hero-nav:hover{background:#fff; box-shadow:0 6px 18px rgba(26,20,10,.22)}
.hero-nav:active{transform:translateY(-50%) scale(.93)}
.hero-nav.prev{left:10px}
.hero-nav.next{right:10px}
/* 하단 점 */
.hero-dots{display:flex; justify-content:center; padding:12px 0 2px}
.hero-dot{width:24px; height:24px; padding:0; display:grid; place-items:center; background:none; border:0}
.hero-dot i{display:block; width:6px; height:6px; border-radius:50%; background:#DCD6CB;
  transition:width .28s ease, border-radius .28s ease, background .28s ease}
.hero-dot.on i{width:18px; border-radius:3px; background:var(--burgundy)}
@media(min-width:700px){
  .hero{margin-top:18px}
  .hero-slide{grid-template-columns:42% 58%}
  .hero-media{aspect-ratio:auto; height:392px}
  .hero-copy{align-self:center; padding:26px 28px}
  .hero-copy h1{font-size:25px}
  .hero-copy p{font-size:13px}
  .hero-nav{top:50%}
}

/* ---------- 섹션 ---------- */
.section{padding:26px 0 6px}
.sec-head{display:flex; align-items:baseline; justify-content:space-between; margin-bottom:14px}
.sec-head h2{font-family:var(--serif); font-size:19px; margin:0; letter-spacing:-.02em; color:var(--ink)}
.sec-head span{font-size:11.5px; color:var(--mute)}
.chips{display:flex; gap:6px; overflow-x:auto; padding-bottom:10px; margin-bottom:8px; scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chip{flex:0 0 auto; padding:8px 14px; border:1px solid var(--line); border-radius:999px; background:#fff;
  font-size:12.5px; color:var(--ink2); white-space:nowrap; transition:background .18s, color .18s, border-color .18s}
.chip.on{border-color:var(--burgundy); background:var(--burgundy); color:#fff; font-weight:700}

/* 상품 카드 — 쇼핑몰 리스트 */
.cards{display:grid; grid-template-columns:1fr; gap:11px}
.card{
  position:relative; display:grid; grid-template-columns:112px 1fr;
  border:1px solid var(--line2); border-radius:14px; overflow:hidden; background:#fff;
  transition:box-shadow .2s ease, transform .2s ease;
}
.card:hover{box-shadow:0 8px 22px rgba(26,20,10,.09)}
.card:active{transform:scale(.995)}
.card .thumb{position:relative; aspect-ratio:1; overflow:hidden; background:#F3EEE5}
.card .thumb img{width:100%; height:100%; object-fit:cover; object-position:50% 16%; transition:transform .5s}
.card:hover .thumb img{transform:scale(1.04)}
.card .thumb:after{content:''; position:absolute; inset:0;
  background:linear-gradient(180deg, transparent 72%, rgba(26,20,10,.10))}
.card .who{position:absolute; left:8px; top:8px; font-size:10px; font-weight:600; letter-spacing:.01em;
  padding:3px 7px; border-radius:999px; background:rgba(255,255,255,.94); color:var(--ink2);
  border:1px solid rgba(26,26,26,.05)}
.card .body{padding:12px 14px 12px; display:flex; flex-direction:column; justify-content:center; min-width:0}
.card .cat{font-size:10.5px; color:var(--gold-l); letter-spacing:.04em; font-weight:600}
.card h3{font-family:var(--serif); font-size:16px; line-height:1.4; margin:5px 0; color:var(--ink);
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden}
.card p{margin:0; font-size:12px; color:var(--sub); line-height:1.55;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden}
.card .foot{display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:9px}
.card .price{min-width:0; flex:1 1 auto}
.card .price b{font-family:var(--serif); font-size:16px; color:var(--ink); white-space:nowrap}
.card .price s{font-size:11.5px; color:var(--mute); margin-right:6px}
.card .go{font-size:11.5px; color:var(--burgundy); font-weight:700; flex:0 0 auto; white-space:nowrap}

/* 신뢰 띠 */
.trust{display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin:18px 0 4px}
.trust div{border:1px solid var(--line2); border-radius:12px; padding:13px 8px; text-align:center; background:var(--bg2)}
.trust b{display:block; font-family:var(--serif); font-size:13px; color:var(--ink); margin-bottom:3px}
.trust span{font-size:11px; color:var(--mute)}

/* ---------- 푸터 ---------- */
footer{margin-top:36px; border-top:1px solid var(--line2); padding:22px 0 34px; background:var(--bg2)}
footer .biz{font-size:11px; line-height:1.9; color:var(--mute)}
footer .biz b{color:var(--ink2); font-weight:600}
footer .links{margin:12px 0; display:flex; gap:14px; flex-wrap:wrap}
footer .links a{font-size:11.5px; color:var(--ink2); text-decoration:underline; text-underline-offset:3px}
footer .notice{font-size:10.5px; color:#A69E93; line-height:1.7; margin-top:10px}

/* ---------- 상품 입력 화면 ---------- */
.page{padding-bottom:120px; background:#fff}
.pdp-hero{position:relative; background:#fff}
.pdp-hero img{width:100%; aspect-ratio:4/5; max-height:440px; object-fit:cover; object-position:50% 16%}
.pdp-hero .veil{display:none}
.pdp-hero .copy{max-width:760px; margin:0 auto; padding:14px 18px 2px}
.pdp-hero .who{font-size:10.5px; letter-spacing:.16em; color:var(--gold-l); font-weight:600; margin-bottom:8px}
.pdp-hero h1{font-family:var(--serif); font-size:21px; line-height:1.42; margin:0 0 8px; color:var(--ink)}
.pdp-hero p{margin:0; font-size:12.5px; color:var(--sub); line-height:1.6}
.back-btn{position:absolute; left:12px; top:12px; z-index:5; width:36px; height:36px; border-radius:50%;
  background:rgba(255,255,255,.92); border:1px solid rgba(26,26,26,.06); color:var(--ink); font-size:16px;
  display:grid; place-items:center; box-shadow:0 2px 10px rgba(26,20,10,.14)}

.form-card{margin-top:14px; background:#fff; border:1px solid var(--line2); border-radius:16px;
  padding:16px 16px 10px; box-shadow:0 6px 20px rgba(26,20,10,.05)}
.form-card fieldset{border:0; padding:0; margin:0 0 10px}
.form-card legend{padding:0; margin-bottom:10px; font-size:12px; color:var(--gold-l); letter-spacing:.06em; font-weight:700}
.row{display:flex; gap:8px; margin-bottom:12px}
.row.tight{gap:6px}
label.f{display:block; font-size:11.5px; color:var(--mute); margin-bottom:6px; letter-spacing:.02em}
.inp{width:100%; background:#fff; border:1px solid #DCD6CB; border-radius:10px; color:var(--ink);
  padding:12px 12px; outline:none; transition:border-color .15s, box-shadow .15s}
.inp:focus{border-color:var(--gold); box-shadow:0 0 0 3px rgba(176,138,46,.14)}
select.inp{appearance:none;
  background-image:linear-gradient(45deg, transparent 50%, #9C958C 50%),linear-gradient(135deg, #9C958C 50%, transparent 50%);
  background-position:calc(100% - 16px) 20px, calc(100% - 11px) 20px; background-size:5px 5px, 5px 5px; background-repeat:no-repeat}
.seg{display:flex; gap:6px; width:100%}
.seg button{flex:1; padding:11px 0; border:1px solid #DCD6CB; border-radius:10px; font-size:13px; color:var(--ink2); background:#fff}
.seg button.on{border-color:var(--burgundy); color:#fff; background:var(--burgundy); font-weight:700}
.chk{display:flex; align-items:center; gap:8px; font-size:12.5px; color:var(--ink2); margin:-4px 0 12px}
.chk input{width:16px; height:16px; accent-color:var(--burgundy)}
.mode-pick{display:flex; gap:8px; margin-bottom:14px}
.mode-pick button{flex:1; text-align:left; padding:12px; border:1px solid #DCD6CB; border-radius:12px; background:#fff}
.mode-pick button.on{border-color:var(--burgundy); background:#FCF5F4; box-shadow:inset 0 0 0 1px var(--burgundy)}
.mode-pick b{display:block; font-family:var(--serif); font-size:14px; color:var(--ink); margin-bottom:3px}
.mode-pick span{font-size:11px; color:var(--mute)}

/* 고정 CTA */
.dock{position:fixed; left:0; right:0; bottom:0; z-index:50; padding:10px 14px calc(10px + env(safe-area-inset-bottom));
  background:rgba(255,255,255,.97); border-top:1px solid var(--line);
  box-shadow:0 -6px 22px rgba(26,20,10,.08); backdrop-filter:blur(8px)}
.dock .inner{max-width:760px; margin:0 auto; display:flex; align-items:center; gap:12px}
.dock .pill{flex:1; min-width:0}
.dock .pill .lbl{font-size:10.5px; color:var(--mute)}
.dock .pill .amt{font-family:var(--serif); font-size:19px; color:var(--ink); line-height:1.2}
.dock button.cta{
  flex:0 0 auto; padding:14px 20px; border-radius:12px; font-weight:800; font-size:15px; letter-spacing:-.01em;
  color:#fff; background:linear-gradient(180deg,#A03844,#8E2F3A 60%,#77242D);
  box-shadow:0 6px 18px rgba(142,47,58,.26);
}
.dock button.cta:disabled{opacity:.6}
.dock .eps{display:block; font-size:10px; color:var(--mute); text-align:center; margin-top:6px}

/* ---------- 결과 화면 ---------- */
.res-head{padding:20px 0 4px; text-align:center}
.res-head .who{font-size:10.5px; letter-spacing:.2em; color:var(--gold-l); font-weight:600}
.res-head h1{font-family:var(--serif); font-size:21px; margin:8px 0 4px; line-height:1.4; color:var(--ink)}
.res-head .sub{font-size:12px; color:var(--mute)}

.msguk{border:1px solid var(--line); border-radius:16px; padding:14px 12px 12px; margin:18px 0 12px;
  background:var(--bg2); position:relative}
.msguk:before,.msguk:after{content:''; position:absolute; width:14px; height:14px; border:1px solid var(--gold); opacity:.55}
.msguk:before{left:8px; top:8px; border-right:0; border-bottom:0}
.msguk:after{right:8px; bottom:8px; border-left:0; border-top:0}
.msguk .cap{text-align:center; font-size:10.5px; letter-spacing:.22em; color:var(--gold-l); font-weight:600; margin-bottom:12px}
.paper{background:linear-gradient(180deg,var(--paper),var(--paper2)); border-radius:10px; color:var(--paper-ink); padding:14px 8px 10px;
  box-shadow:inset 0 0 0 1px rgba(120,90,30,.16), 0 6px 18px rgba(26,20,10,.08)}
.paper .g{display:grid; grid-template-columns:repeat(4,1fr); gap:4px; text-align:center}
.paper .cell{padding:6px 2px !important}
.paper .pos{font-size:10px; color:var(--paper-sub); letter-spacing:.1em}
.paper .han{font-family:var(--serif); font-size:24px; line-height:1.3; font-weight:800}
.paper .ko{font-size:10.5px; color:var(--paper-sub); margin-top:1px}
.paper .ten{font-size:9.5px; color:#8B6F3E; margin-top:3px; min-height:12px}
.paper .e0{color:#2F7A46}.paper .e1{color:#B03A2E}.paper .e2{color:#9A7412}.paper .e3{color:#6B6F76}.paper .e4{color:#2A5B8E}
.paper .unknown .han{color:#B4A78F}
.paper .bar{height:3px; border-radius:2px; margin-top:6px; opacity:.85}

.bars{margin:6px 0 4px}
.bar-row{display:flex; align-items:center; gap:10px; margin-bottom:7px}
.bar-row .n{width:22px; font-family:var(--serif); font-size:12px; color:var(--ink2)}
.bar-row .track{flex:1; height:7px; border-radius:4px; background:#EDE8DF; overflow:hidden}
.bar-row .fill{display:block; height:100%; border-radius:4px}
.bar-row .v{width:38px; text-align:right; font-size:11px; color:var(--mute)}
.bar-row.b0 .fill{background:linear-gradient(90deg,#2F7A46,#4CAF6A)}
.bar-row.b1 .fill{background:linear-gradient(90deg,#B03A2E,#E05A4A)}
.bar-row.b2 .fill{background:linear-gradient(90deg,#9A7412,#D8A81F)}
.bar-row.b3 .fill{background:linear-gradient(90deg,#7A7F86,#C9CED6)}
.bar-row.b4 .fill{background:linear-gradient(90deg,#2A5B8E,#4C8BD0)}

.free{margin:22px 0 8px; padding:18px 0 6px; border-top:1px solid var(--line2)}
.free .tag{display:inline-flex; align-items:center; gap:6px; font-size:10.5px; letter-spacing:.14em; color:var(--gold-d);
  border:1px solid var(--line); border-radius:999px; padding:4px 10px; margin-bottom:12px; background:#FCF9F2}
.free p{font-family:var(--serif); font-size:19px; line-height:1.75; margin:0 0 6px; letter-spacing:-.015em; color:var(--ink)}
.free p b{color:var(--burgundy); font-weight:800}
.free .metric{display:inline-flex; align-items:baseline; gap:8px; margin-top:10px; font-size:11.5px; color:var(--sub);
  border:1px dashed var(--line); border-radius:8px; padding:7px 10px; background:#FCFAF6}
.free .metric b{font-family:var(--serif); font-size:15px; color:var(--burgundy)}

.lock-head{display:flex; align-items:baseline; justify-content:space-between; margin:24px 0 10px}
.lock-head h2{font-family:var(--serif); font-size:16px; margin:0; color:var(--ink)}
.lock-head span{font-size:11px; color:var(--mute)}
.lock-card{position:relative; border:1px solid var(--line2); border-radius:14px; padding:14px 14px 16px; margin-bottom:10px;
  background:#FCFBF8; overflow:hidden}
.lock-card .no{font-size:10px; color:var(--gold-l); letter-spacing:.2em; font-weight:600}
.lock-card h3{font-family:var(--serif); font-size:15.5px; margin:4px 0 6px; color:var(--ink)}
.lock-card .covers{position:relative; max-height:74px; overflow:hidden}
.lock-card .covers div{height:9px; border-radius:3px; background:#E9E3D8; margin-bottom:7px; filter:blur(1.4px)}
.lock-card .covers div:nth-child(1){background:#DDD6C9; width:96%}
.lock-card .covers div:nth-child(2){width:88%}
.lock-card .covers div:nth-child(3){width:64%}
.lock-card .covers div:nth-child(4){width:76%}
.lock-card .covers:after{content:''; position:absolute; inset:0; background:linear-gradient(180deg, transparent, #FCFBF8)}
.lock-card .lock{position:absolute; right:11px; top:11px; font-size:10px; letter-spacing:.08em; color:var(--gold-d);
  border:1px solid var(--line); border-radius:999px; padding:3px 8px; background:#fff}
.lock-cta{margin:14px 0 6px; text-align:center}
.lock-cta .hint{font-size:11.5px; color:var(--sub); margin-bottom:10px}
.eps-line{font-size:10.5px; color:#A69E93; text-align:center; margin:14px 0 0; line-height:1.7}

/* ---------- 리포트 ---------- */
.report-cover{text-align:center; padding:22px 0 14px; border-bottom:1px solid var(--line2); margin-bottom:8px}
.report-cover .seal{width:54px; height:54px; margin:0 auto 12px; border:1px solid var(--gold); border-radius:50%;
  display:grid; place-items:center; font-family:var(--serif); font-size:15px; color:var(--gold-d); letter-spacing:.06em;
  background:#FCF9F2}
.report-cover h1{font-family:var(--serif); font-size:22px; margin:0 0 6px; line-height:1.4; color:var(--ink)}
.report-cover .by{font-size:12px; color:var(--gold-l)}
.report-cover .info{font-size:11.5px; color:var(--mute); margin-top:10px; line-height:1.8}
.chap{margin:26px 0 0; padding-top:6px}
.chap .h{display:flex; align-items:center; gap:10px; border-bottom:1px solid var(--line2); padding-bottom:8px; margin-bottom:12px}
.chap .h .n{font-size:10.5px; color:var(--gold-l); letter-spacing:.18em; font-weight:600}
.chap .h h2{font-family:var(--serif); font-size:18px; margin:0; flex:1; color:var(--ink)}
.chap .h .hj{font-family:var(--serif); color:var(--gold-d); font-size:13px; opacity:.9}
.chap .lead{font-family:var(--serif); font-size:15.5px; color:var(--ink); margin:0 0 12px; line-height:1.7}
.chap p{margin:0 0 12px; font-size:14.5px; line-height:1.85; color:#3C3833}
.chap ul{margin:0 0 12px; padding-left:18px}
.chap li{font-size:14px; line-height:1.85; color:#3C3833; margin-bottom:5px}
.chap blockquote{margin:14px 0; padding:14px 16px; border-left:2px solid var(--gold); background:#FCF7EC;
  font-family:var(--serif); font-size:15px; line-height:1.9; color:var(--ink)}
.chap table{width:100%; border-collapse:collapse; margin:8px 0 14px; font-size:12.5px}
.chap th,.chap td{border:1px solid var(--line); padding:7px 6px; text-align:left}
.chap th{background:#FAF6EC; color:var(--ink2); font-weight:600; font-size:11.5px}
.chap td{color:var(--ink2)}
.face-card{border:1px solid var(--line2); border-radius:12px; overflow:hidden; margin:6px 0 14px; background:#fff}
.face-card img{width:100%; aspect-ratio:3/4; object-fit:cover}
.face-card figcaption{font-size:11px; color:var(--mute); padding:9px 12px; text-align:center}
.report-actions{display:flex; gap:8px; margin:20px 0 8px}
.report-actions button{flex:1; padding:13px; border-radius:12px; border:1px solid var(--line);
  background:#fff; color:var(--ink2); font-size:13px; font-weight:600}
.report-actions button.solid{background:linear-gradient(180deg,#A03844,#8E2F3A); color:#fff; border:0}

/* ---------- 결제 모달 ---------- */
.modal{position:fixed; inset:0; z-index:90; background:rgba(26,22,16,.42); display:flex; align-items:flex-end; justify-content:center}
.sheet{width:100%; max-width:520px; background:#fff; border-radius:18px 18px 0 0; border:1px solid var(--line2);
  box-shadow:0 -10px 40px rgba(26,20,10,.18);
  padding:18px 18px calc(18px + env(safe-area-inset-bottom)); max-height:92vh; overflow:auto}
.sheet .grip{width:38px; height:3px; border-radius:2px; background:#DED8CD; margin:0 auto 14px}
.sheet h3{font-family:var(--serif); font-size:18px; margin:0 0 4px; color:var(--ink)}
.sheet .sub{font-size:12px; color:var(--mute); margin-bottom:16px}
.pay-sum{border:1px solid var(--line2); border-radius:12px; padding:12px; margin-bottom:14px; background:var(--bg2)}
.pay-sum .l{display:flex; justify-content:space-between; font-size:12.5px; color:var(--sub); margin-bottom:6px}
.pay-sum .l b{color:var(--ink); font-family:var(--serif); font-size:15px}
.acct{border:1px dashed var(--gold); border-radius:12px; padding:14px; margin-bottom:12px; background:#FCF7EC}
.acct .bank{font-size:11.5px; color:var(--gold-d); letter-spacing:.06em; margin-bottom:6px; font-weight:600}
.acct .num{display:flex; align-items:center; justify-content:space-between; gap:10px}
.acct .num b{font-family:var(--serif); font-size:19px; letter-spacing:.03em; color:var(--ink)}
.acct .num button{font-size:11.5px; border:1px solid var(--line); border-radius:999px; padding:6px 10px; color:var(--ink2); background:#fff}
.acct .who{font-size:11.5px; color:var(--sub); margin-top:6px}
.safety{font-size:11px; color:var(--mute); line-height:1.8; border-top:1px solid var(--line2); padding-top:10px; margin-top:10px}
.safety b{color:var(--ink2); font-weight:600}
.err{color:#B03A2E; font-size:12px; margin:0 0 8px}
.waiting{text-align:center; padding:26px 6px 10px}
.waiting .spin{width:34px; height:34px; margin:0 auto 14px; border-radius:50%;
  border:2px solid #EFE8DA; border-top-color:var(--burgundy); animation:spin 1s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.waiting p{font-family:var(--serif); font-size:16px; margin:0 0 6px; color:var(--ink)}
.waiting span{font-size:12px; color:var(--mute)}
.done-ico{width:52px; height:52px; margin:6px auto 14px; border-radius:50%; display:grid; place-items:center;
  border:1px solid var(--gold); color:var(--gold-d); font-size:22px; background:#FCF7EC}
.btn-wide{width:100%; padding:14px; border-radius:12px; font-weight:800; font-size:15px; color:#fff;
  background:linear-gradient(180deg,#A03844,#8E2F3A 60%,#77242D); margin-top:6px;
  box-shadow:0 6px 18px rgba(142,47,58,.22)}
.btn-ghost{width:100%; padding:12px; border-radius:12px; font-size:13px; color:var(--ink2);
  border:1px solid var(--line); background:#fff; margin-top:8px}

/* ---------- 인쇄(PDF) ---------- */
@media print{
  body{background:#fff; color:#111}
  .topbar,.dock,.hero,.admin-badge,footer,.report-actions,.modal,.back-btn,.lock-card,.free .tag{display:none !important}
  .wrap{max-width:none; padding:0}
  .report-cover{padding-top:0}
  .report-cover h1,.chap .h h2,.chap .lead,.chap blockquote{color:#111}
  .chap p,.chap li,.chap td{color:#222}
}
