/* 무당팔자 — 촛불·한옥·먹·금빛 */
:root {
  --bg: #0b0806; --bg2: #120d09; --panel: #18110c; --line: rgba(214, 170, 96, .2); --line2: rgba(214, 170, 96, .38);
  --gold: #d9ab5c; --gold2: #f3d38e; --ink: #f2e6cf; --ink2: #cdbb9b; --mute: #8f7d62; --red: #b33b2a; --red2: #e0614a; --jade: #7fae8f;
  --serif: 'Gowun Batang', 'Noto Serif KR', serif; --title: 'Noto Serif KR', 'Gowun Batang', serif;
  --sans: 'Pretendard Variable', Pretendard, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --r: 18px; --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--gold2); outline-offset: 3px; }

/* 은은한 향 연기 (배경) */
#smoke { position: fixed; inset: 0; pointer-events: none; z-index: 0; background:
  radial-gradient(40% 30% at 20% 110%, rgba(255, 170, 80, .07), transparent 70%),
  radial-gradient(35% 25% at 85% 105%, rgba(255, 150, 60, .06), transparent 70%); }

/* 머리글 */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; gap: 24px; padding: 14px clamp(16px, 4vw, 40px);
  background: linear-gradient(to bottom, rgba(11, 8, 6, .86), rgba(11, 8, 6, 0)); transition: background .3s; }
body.scrolled .top, body:not([data-view="home"]) .top { background: rgba(11, 8, 6, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand b { display: block; font-family: var(--title); font-size: 21px; font-weight: 900; letter-spacing: .12em; color: var(--gold2); line-height: 1.1; }
.brand small { display: block; font-size: 11px; color: var(--mute); letter-spacing: .14em; }
.seal { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; background: linear-gradient(145deg, #c23b28, #7e1d12); color: #fbe7c4; font-family: var(--title); font-weight: 900; font-size: 20px; box-shadow: inset 0 0 0 2px rgba(255, 220, 170, .35), 0 6px 18px -6px rgba(200, 60, 40, .7); }
.seal.sm { width: 28px; height: 28px; font-size: 14px; border-radius: 6px; display: inline-grid; vertical-align: middle; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink2); font-size: 15px; padding: 8px 14px; border-radius: 99px; transition: color .2s, background .2s; white-space: nowrap; }
.nav a:hover { color: var(--ink); }
.nav a.on { color: #1a120a; background: linear-gradient(180deg, var(--gold2), var(--gold)); font-weight: 700; }
.nav .only-in { display: none; } body.in .nav .only-in { display: inline-block; }
.acct { display: flex; align-items: center; }
.kakao { display: inline-flex; align-items: center; gap: 6px; background: #FEE500; color: #191600; font-weight: 700; font-size: 13.5px; text-decoration: none; padding: 8px 14px; border-radius: 99px; border: 0; cursor: pointer; white-space: nowrap; }
.kakao.big { font-size: 15.5px; padding: 14px 22px; border-radius: 14px; }
.me { display: flex; align-items: center; gap: 8px; background: none; border: 1px solid var(--line2); color: var(--ink); border-radius: 99px; padding: 4px 12px 4px 4px; cursor: pointer; font-size: 13.5px; }
.me img, .me .av { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: #2a1d12; display: grid; place-items: center; font-size: 12px; color: var(--gold2); }
.me-menu { position: absolute; top: 62px; right: 16px; background: #1a120c; border: 1px solid var(--line2); border-radius: 12px; padding: 6px; min-width: 160px; z-index: 60; }
.me-menu a, .me-menu button { display: block; width: 100%; text-align: left; padding: 10px 12px; background: none; border: 0; color: var(--ink); text-decoration: none; border-radius: 8px; cursor: pointer; font-size: 14px; }
.me-menu a:hover, .me-menu button:hover { background: rgba(217, 171, 92, .12); }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; border-radius: 14px; padding: 13px 22px; font-weight: 700; font-size: 15.5px; cursor: pointer; border: 0; transition: transform .2s, box-shadow .2s, filter .2s; }
.btn.gold { color: #1d130a; background: linear-gradient(180deg, #f7dc9d, #d2a04e); box-shadow: 0 10px 30px -10px rgba(230, 170, 70, .7), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn.gold:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn.line { color: var(--gold2); border: 1px solid var(--line2); background: rgba(20, 13, 8, .5); }
.btn.line:hover { background: rgba(217, 171, 92, .1); }
.btn.big { padding: 17px 34px; font-size: 17px; border-radius: 16px; }
.btn:disabled { opacity: .55; cursor: wait; transform: none; }

/* 화면 전환 */
.view { display: none; position: relative; z-index: 1; }
body[data-view="home"] .v-home, body[data-view="saju"] .v-saju, body[data-view="read"] .v-read, body[data-view="today"] .v-today, body[data-view="band"] .v-band, body[data-view="my"] .v-my { display: block; animation: vin .5s ease; }
@keyframes vin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.wrap.narrow { max-width: 760px; padding-top: 96px; padding-bottom: 60px; }

/* 히어로 */
.hero { position: relative; height: 100vh; min-height: 620px; overflow: hidden; display: flex; align-items: center; }
.hero-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-v.tall { display: none; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 8, 6, .92) 0%, rgba(11, 8, 6, .65) 34%, rgba(11, 8, 6, .05) 62%), linear-gradient(to top, var(--bg) 0%, transparent 22%); }
.hero-in { position: relative; z-index: 2; max-width: var(--max); width: 100%; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.kick { display: inline-flex; align-items: center; gap: 12px; color: var(--gold); font-family: var(--serif); font-size: 13px; letter-spacing: .3em; margin: 0 0 18px; }
.kick span { width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.kick span:last-child { transform: scaleX(-1); }
.hero h1 { font-family: var(--title); font-weight: 900; font-size: clamp(40px, 5.6vw, 76px); line-height: 1.16; margin: 0 0 20px; letter-spacing: -.01em; text-shadow: 0 6px 30px rgba(0, 0, 0, .6); }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, #fbe2a6, #d29a45 45%, #fbe2a6 70%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 7s linear infinite; }
@keyframes shine { to { background-position: -200% 0; } }
.lead { font-family: var(--serif); font-size: clamp(16px, 1.5vw, 19px); color: var(--ink2); margin: 0 0 30px; line-height: 1.85; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.free-note { margin: 16px 0 0; color: var(--mute); font-size: 13.5px; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 2; color: var(--gold); text-decoration: none; font-size: 22px; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(-50%, 6px); } }

/* 섹션 */
.sec-h { display: flex; align-items: center; gap: 14px; margin: 70px 0 24px; color: var(--gold); font-family: var(--serif); font-size: 15px; letter-spacing: .2em; }
.sec-h::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line2), transparent); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { position: relative; display: block; text-decoration: none; border-radius: var(--r); overflow: hidden; background: var(--panel); border: 1px solid var(--line); transition: transform .3s, border-color .3s, box-shadow .3s; }
.card:hover { transform: translateY(-4px); border-color: var(--line2); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .8), 0 0 0 1px rgba(217, 171, 92, .15); }
.cimg { aspect-ratio: 16/10; background-size: cover; background-position: center 25%; transition: transform .6s; }
.card:hover .cimg { transform: scale(1.05); }
.cbody { padding: 20px 22px 24px; position: relative; background: linear-gradient(to bottom, rgba(24, 17, 12, .0), var(--panel) 30%); margin-top: -40px; }
.cbody em { font-style: normal; font-size: 12.5px; color: var(--gold); letter-spacing: .12em; }
.cbody h3 { font-family: var(--title); font-size: 21px; margin: 4px 0 8px; }
.cbody p { margin: 0 0 14px; color: var(--ink2); font-size: 14.5px; }
.go { color: var(--gold2); font-size: 14px; font-weight: 700; }
.worry-row { display: flex; flex-wrap: wrap; gap: 10px; }
.worry-row a { text-decoration: none; padding: 12px 18px; border-radius: 99px; border: 1px solid var(--line2); color: var(--ink); background: rgba(24, 17, 12, .6); font-size: 15px; transition: background .2s; }
.worry-row a:hover { background: rgba(217, 171, 92, .14); }
.quote { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; margin: 70px 0 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.quote img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.quote > div { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.quote p { font-family: var(--serif); font-size: clamp(18px, 2vw, 23px); line-height: 1.75; margin: 0 0 14px; color: var(--ink); }
.quote span { color: var(--gold); font-size: 14px; }
.band-mini { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.bm { padding: 14px 12px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); text-decoration: none; text-align: center; transition: border-color .2s; }
.bm:hover { border-color: var(--line2); }
.bm .e { font-size: 26px; line-height: 1.2; }
.bm b { display: block; font-size: 14.5px; margin-top: 4px; }
.bm small { display: block; color: var(--mute); font-size: 11.5px; }
.bm.sam { border-color: rgba(224, 97, 74, .45); }
.bm.sam small { color: var(--red2); }
.center { text-align: center; margin-top: 22px; }
.yt { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 70px 0 80px; padding: 26px 30px; border-radius: var(--r); background: linear-gradient(110deg, rgba(179, 59, 42, .22), rgba(24, 17, 12, .9)); border: 1px solid rgba(224, 97, 74, .3); }
.yt b { font-family: var(--title); font-size: 20px; }
.yt p { margin: 4px 0 0; color: var(--ink2); font-size: 14.5px; }

/* 할매 앞 (대화) */
.v-saju { min-height: 100vh; padding-top: 72px; background: radial-gradient(70% 50% at 30% 30%, rgba(255, 160, 60, .08), transparent 70%); }
.sit { max-width: var(--max); margin: 0 auto; padding: 24px clamp(16px, 4vw, 40px) 40px; display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 32px; align-items: start; }
.gm-panel { position: sticky; top: 92px; }
.gm-frame { position: relative; aspect-ratio: 9/14; border-radius: 22px; overflow: hidden; border: 1px solid var(--line2); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), 0 0 60px -20px rgba(255, 160, 60, .25); background: #000; }
.gm-frame img, .gm-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.gm-still { animation: breathe 6s ease-in-out infinite; transform-origin: 50% 30%; }
@keyframes breathe { 50% { transform: scale(1.012); } }
.gm-talk { opacity: 0; transition: opacity .35s; }
.v-saju.talking .gm-talk { opacity: 1; }
.gm-glow { position: absolute; inset: 0; background: radial-gradient(60% 30% at 50% 100%, rgba(255, 150, 50, .22), transparent 70%), linear-gradient(to top, rgba(11, 8, 6, .6), transparent 35%); pointer-events: none; }
.gm-name { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.gm-name b { font-family: var(--title); font-size: 18px; color: var(--gold2); }
.voice-tg { background: none; border: 1px solid var(--line2); color: var(--ink2); border-radius: 99px; padding: 6px 12px; font-size: 13px; cursor: pointer; }
.voice-tg[aria-pressed="false"] { opacity: .6; }
.chat { min-height: 70vh; display: flex; flex-direction: column; }
.msgs { display: flex; flex-direction: column; gap: 12px; padding-bottom: 16px; }
.bub { max-width: 86%; padding: 14px 18px; border-radius: 18px; font-size: 16.5px; line-height: 1.7; animation: pop .35s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }
.bub.gm { align-self: flex-start; background: linear-gradient(180deg, #221810, #1a120c); border: 1px solid var(--line); border-top-left-radius: 6px; font-family: var(--serif); }
.bub.me { align-self: flex-end; background: linear-gradient(180deg, #e9c47c, #c9953f); color: #1c1209; border-top-right-radius: 6px; font-weight: 600; }
.bub.typing { color: var(--mute); }
.bub.typing i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin: 0 2px; animation: dot 1.2s infinite; }
.bub.typing i:nth-child(2) { animation-delay: .2s; } .bub.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes dot { 50% { opacity: .2; transform: translateY(-3px); } }
.dock { position: sticky; bottom: 0; padding: 14px 0 18px; background: linear-gradient(to top, var(--bg) 70%, transparent); }
.dock .row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 12px 18px; border-radius: 99px; border: 1px solid var(--line2); background: rgba(24, 17, 12, .85); color: var(--ink); cursor: pointer; font-size: 15px; transition: background .2s, transform .15s; }
.chip:hover { background: rgba(217, 171, 92, .15); }
.chip.on { background: linear-gradient(180deg, var(--gold2), var(--gold)); color: #1a120a; font-weight: 700; border-color: transparent; }
.inp { display: flex; gap: 8px; }
.inp input, .inp select, .field { flex: 1; min-width: 0; background: rgba(24, 17, 12, .9); border: 1px solid var(--line2); color: var(--ink); border-radius: 14px; padding: 14px 16px; font-size: 17px; outline: none; }
.inp input:focus, .field:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 171, 92, .15); }
.inp select option, .field option { color: #111; }
.hint { color: var(--mute); font-size: 13px; margin: 8px 2px 0; }
.hours { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.hours .chip { border-radius: 12px; padding: 10px 6px; text-align: center; font-size: 14px; }
.hours .chip small { display: block; font-size: 11px; color: var(--mute); }
.hours .chip.on small { color: #3b2a14; }
.confirm-card { border: 1px solid var(--line2); border-radius: 16px; padding: 6px 18px; background: rgba(24, 17, 12, .9); margin-bottom: 12px; }
.confirm-card div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.confirm-card div:last-child { border: 0; }
.confirm-card span { color: var(--mute); }
.confirm-card button { background: none; border: 0; color: var(--gold2); cursor: pointer; text-decoration: underline; font-size: 13px; }
.opening[hidden] { display: none; }
.opening { position: fixed; inset: 0; z-index: 70; background: #000; display: grid; place-items: center; }
.opening video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.op-in { position: relative; text-align: center; padding: 30px; background: radial-gradient(closest-side, rgba(0, 0, 0, .7), transparent); }
.op-t { font-family: var(--title); font-size: clamp(24px, 3vw, 34px); font-weight: 900; color: var(--gold2); margin: 0 0 8px; }
.op-s { font-family: var(--serif); color: var(--ink2); margin: 0 0 18px; }
.op-bar { width: 240px; height: 3px; margin: 0 auto; border-radius: 99px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.op-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold2)); animation: bar 3.6s ease forwards; }
@keyframes bar { to { width: 100%; } }

/* 결과지 */
.v-read { padding-top: 72px; }
.book { max-width: 820px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 30px) 80px; }
.cover { position: relative; margin: 20px 0 30px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line2); }
.cover img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.cover .cv-in { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(18px, 4vw, 36px); background: linear-gradient(to top, rgba(11, 8, 6, .95), rgba(11, 8, 6, .2) 60%, transparent); }
.cover h1 { font-family: var(--title); font-size: clamp(28px, 4vw, 42px); margin: 0; }
.cover p { margin: 6px 0 0; color: var(--ink2); font-size: 14.5px; }
.toc { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 14px; position: sticky; top: 64px; z-index: 5; background: linear-gradient(to bottom, var(--bg) 75%, transparent); scrollbar-width: none; }
.toc::-webkit-scrollbar { display: none; }
.toc a { flex: none; text-decoration: none; padding: 7px 12px; border-radius: 99px; border: 1px solid var(--line); color: var(--ink2); font-size: 13px; white-space: nowrap; }
.toc a.lock { color: var(--mute); }
.ch { margin: 34px 0; padding: clamp(22px, 4vw, 38px); border-radius: 22px; background: linear-gradient(180deg, #18110c, #120d09); border: 1px solid var(--line); position: relative; opacity: 0; transform: translateY(16px); transition: opacity .7s, transform .7s; scroll-margin-top: 120px; }
.ch.seen { opacity: 1; transform: none; }
.ch-no { font-family: var(--serif); color: var(--gold); font-size: 13px; letter-spacing: .25em; }
.ch h2 { font-family: var(--title); font-size: clamp(24px, 3vw, 31px); margin: 6px 0 20px; }
.ch p { font-family: var(--serif); font-size: 17.5px; line-height: 1.95; margin: 0 0 14px; color: var(--ink); }
.say { font-family: var(--serif); font-size: clamp(19px, 2.2vw, 23px); line-height: 1.8; color: var(--gold2); text-align: center; margin: 22px 0; }
.pl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 6px 0 20px; }
.pl { text-align: center; border-radius: 16px; padding: 12px 6px 14px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); }
.pl.mine { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(217, 171, 92, .35), 0 0 30px -10px rgba(217, 171, 92, .6); }
.pl .lb { font-size: 12px; color: var(--mute); }
.pl .gd { font-size: 12px; color: var(--gold); margin: 6px 0 2px; min-height: 1.2em; }
.pl .hj { font-family: var(--title); font-size: clamp(30px, 4.6vw, 44px); font-weight: 900; line-height: 1.15; }
.pl .ko { font-size: 12px; color: var(--ink2); }
.pl .an { font-size: 11.5px; color: var(--mute); margin-top: 6px; }
.el-목 { color: #8fc49a; } .el-화 { color: #ef7a5c; } .el-토 { color: #e3bd6a; } .el-금 { color: #e8e2d4; } .el-수 { color: #7aa6d8; }
.el-bars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 16px 0 22px; }
.eb { text-align: center; }
.eb .bx { height: 80px; display: flex; align-items: flex-end; justify-content: center; }
.eb .bx i { width: 60%; border-radius: 8px 8px 3px 3px; background: currentColor; opacity: .85; min-height: 4px; }
.eb b { display: block; margin-top: 6px; font-size: 14px; }
.eb small { color: var(--mute); font-size: 12px; }
.stem-card { display: flex; gap: 18px; align-items: center; padding: 18px; border-radius: 16px; background: rgba(217, 171, 92, .07); border: 1px solid var(--line2); margin: 6px 0 18px; }
.stem-card .big { font-family: var(--title); font-size: 64px; font-weight: 900; line-height: 1; min-width: 72px; text-align: center; }
.stem-card b { font-family: var(--title); font-size: 20px; }
.note { padding: 14px 16px; border-radius: 12px; background: rgba(179, 59, 42, .12); border-left: 3px solid var(--red2); margin: 12px 0; font-family: var(--serif); font-size: 16px; line-height: 1.85; }
.note.gd { background: rgba(127, 174, 143, .1); border-left-color: var(--jade); }
.tagrow { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; }
.tag { padding: 5px 12px; border-radius: 99px; border: 1px solid var(--line2); color: var(--gold2); font-size: 13px; }
.lockwrap { margin: 40px 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--line2); background: linear-gradient(180deg, #1c130c, #120d09); }
.lock-top { position: relative; }
.lock-top video, .lock-top img { width: 100%; aspect-ratio: 16/9; object-fit: cover; object-position: 50% 25%; }
.lock-top .lt-in { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(18px, 4vw, 34px); background: linear-gradient(to top, rgba(18, 13, 9, 1), rgba(18, 13, 9, .3) 55%, transparent); }
.lock-top h3 { font-family: var(--title); font-size: clamp(22px, 3vw, 30px); margin: 0; line-height: 1.4; }
.lock-body { padding: clamp(18px, 4vw, 34px); padding-top: 8px; }
.sealed { padding: 18px; border-radius: 16px; border: 1px dashed var(--line2); text-align: center; margin: 0 0 20px; font-family: var(--serif); }
.sealed .q { color: var(--gold2); font-size: 17px; }
.sealed small { color: var(--mute); }
.lk-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 22px; }
.lk { padding: 14px; border-radius: 14px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); }
.lk b { display: block; font-size: 15px; } .lk b::before { content: '🔒 '; }
.lk small { color: var(--mute); font-size: 12.5px; }
.price-row { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin: 0 0 14px; }
.price-row s { color: var(--mute); }
.price-row b { font-family: var(--title); font-size: 34px; color: var(--gold2); }
.lock-body .btn { width: 100%; }
.fine { color: var(--mute); font-size: 12.5px; text-align: center; margin: 12px 0 0; line-height: 1.7; }
.writing { text-align: center; padding: 30px; }
.wr-prog { max-width: 360px; margin: 14px auto 6px; text-align: left; }
.wr-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 14.5px; color: var(--ink2); margin-bottom: 8px; }
.wr-top b { font-family: var(--title); font-size: 20px; color: var(--gold2); font-variant-numeric: tabular-nums; }
.wr-bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.wr-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold2)); transition: width 1s linear; }
.writing video { width: 100%; max-width: 420px; margin: 0 auto 14px; border-radius: 16px; }
.share { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 30px 0 0; }

/* 오늘의 운세 · 띠별 */
.day-h { text-align: center; margin: 10px 0 26px; }
.day-h h1 { font-family: var(--title); font-size: clamp(28px, 4vw, 40px); margin: 0 0 10px; }
.iljin { display: inline-flex; gap: 12px; align-items: center; padding: 8px 18px 8px 8px; border-radius: 99px; border: 1px solid var(--line2); color: var(--ink2); }
.iljin b.hj { font-family: var(--title); font-size: 22px; color: var(--gold2); background: rgba(217, 171, 92, .12); border-radius: 99px; padding: 2px 14px; }
.panel { padding: clamp(20px, 3vw, 28px); border-radius: 20px; background: var(--panel); border: 1px solid var(--line); margin: 0 0 20px; }
.panel h3 { font-family: var(--title); margin: 0 0 14px; font-size: 20px; }
.rank { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.rank li button { width: 100%; display: grid; grid-template-columns: 30px 30px 80px 1fr; align-items: center; gap: 8px; text-align: left; background: rgba(0, 0, 0, .2); border: 1px solid transparent; border-radius: 12px; padding: 10px 12px; color: var(--ink); cursor: pointer; font-size: 15px; }
.rank li button:hover { border-color: var(--line2); }
.rank .n { font-family: var(--title); color: var(--mute); text-align: center; font-weight: 900; }
.rank li:nth-child(-n+3) .n { color: var(--gold2); }
.rank .t { color: var(--ink2); font-size: 13.5px; }
.rank .up .t { color: #9fd0aa; } .rank .down .t { color: var(--red2); }
.rank .body { padding: 8px 14px 14px 50px; color: var(--ink2); font-family: var(--serif); }
.score { display: flex; gap: 20px; align-items: center; margin-bottom: 14px; }
.ring { --v: 60; width: 104px; height: 104px; flex: none; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(closest-side, var(--panel) 78%, transparent 79%), conic-gradient(var(--gold) calc(var(--v) * 1%), rgba(255, 255, 255, .08) 0); }
.ring b { font-family: var(--title); font-size: 32px; line-height: 1; }
.ring small { color: var(--mute); font-size: 11px; }
.bars { display: grid; gap: 8px; margin: 10px 0 14px; }
.bar { display: grid; grid-template-columns: 40px 1fr 30px; gap: 10px; align-items: center; font-size: 14px; color: var(--ink2); }
.bar .tr { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.bar .tr i { display: block; height: 100%; background: linear-gradient(90deg, #9a7438, var(--gold2)); border-radius: 99px; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; align-items: end; margin-top: 10px; }
.week div { text-align: center; font-size: 11.5px; color: var(--mute); }
.week i { display: block; margin: 4px auto; width: 60%; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--gold2), #8a6530); }
.week .cl i { background: linear-gradient(180deg, var(--red2), #6e2418); }
.week b { color: var(--ink); font-size: 12px; }
.bandgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 30px 0 70px; }
.bandcard { padding: 22px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); scroll-margin-top: 90px; }
.bandcard.sam { border-color: rgba(224, 97, 74, .45); background: linear-gradient(180deg, rgba(179, 59, 42, .12), var(--panel) 40%); }
.bandcard h3 { font-family: var(--title); margin: 0; font-size: 22px; display: flex; align-items: center; gap: 10px; }
.bandcard h3 .e { font-size: 30px; }
.bandcard small { color: var(--mute); }
.bandcard p { font-family: var(--serif); margin: 12px 0 0; line-height: 1.85; color: var(--ink2); }
.band-hero { position: relative; height: 54vh; min-height: 380px; overflow: hidden; display: flex; align-items: flex-end; }
.band-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-hero > div { position: relative; z-index: 1; width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px) 30px; background: linear-gradient(to top, var(--bg), transparent); }
.band-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 5%, transparent 60%); }
.band-hero h2 { font-family: var(--title); font-size: clamp(28px, 4vw, 44px); margin: 0; line-height: 1.3; }
.form-today { display: grid; gap: 10px; }
.form-today .r2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.foot { position: relative; z-index: 1; border-top: 1px solid var(--line); padding: 30px 0 50px; color: var(--mute); font-size: 13px; }
.foot .brandline { color: var(--gold2); font-family: var(--title); font-size: 16px; margin: 0 0 8px; }
.foot p { margin: 0 0 6px; }
.toast { position: fixed; left: 50%; top: 84px; transform: translate(-50%, -10px); z-index: 99; background: #1d140d; color: var(--ink); border: 1px solid var(--line2); padding: 13px 20px; border-radius: 14px; font-size: 14.5px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; max-width: min(92vw, 480px); text-align: center; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .7); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.pc { display: inline; }

@media (max-width: 960px) {
  .cards { grid-template-columns: 1fr; }
  .card { display: grid; grid-template-columns: 140px 1fr; }
  .cimg { aspect-ratio: auto; min-height: 100%; }
  .cbody { margin: 0; background: none; padding: 16px; }
  .band-mini { grid-template-columns: repeat(4, 1fr); }
  .bandgrid { grid-template-columns: 1fr 1fr; }
  .sit { grid-template-columns: 1fr; gap: 12px; padding-top: 10px; }
  .gm-panel { position: sticky; top: 64px; z-index: 4; display: flex; align-items: center; gap: 12px; background: linear-gradient(to bottom, var(--bg) 80%, transparent); padding: 6px 0 10px; }
  .gm-frame { width: 92px; aspect-ratio: 1; border-radius: 50%; flex: none; }
  .gm-name { flex-direction: column; align-items: flex-start; gap: 6px; margin: 0; }
  .quote { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .top { gap: 10px; padding: 10px 14px; flex-wrap: wrap; }
  .brand small { display: none; }
  .nav { order: 3; width: 100%; margin: 0; justify-content: space-between; overflow-x: auto; scrollbar-width: none; }
  .nav a { padding: 6px 10px; font-size: 14px; }
  .acct { margin-left: auto; }
  .hero { height: 92vh; align-items: flex-end; padding-bottom: 60px; }
  .hero-v.wide { display: none; } .hero-v.tall { display: block; }
  .hero-shade { background: linear-gradient(to top, rgba(11, 8, 6, .97) 0%, rgba(11, 8, 6, .75) 38%, rgba(11, 8, 6, .05) 70%); }
  .pc { display: none; }
  .card { grid-template-columns: 110px 1fr; }
  .band-mini { grid-template-columns: repeat(3, 1fr); }
  .bandgrid { grid-template-columns: 1fr; }
  .yt { flex-direction: column; align-items: flex-start; }
  .pl-grid { gap: 6px; }
  .lk-list { grid-template-columns: 1fr; }
  .hours { grid-template-columns: repeat(3, 1fr); }
  .v-saju, .v-read { padding-top: 96px; }
  .toc { top: 92px; }
  .bub { font-size: 16px; max-width: 92%; }
}

/* ───────── 결과지 고급판 (2026-11-28) ───────── */
.v-read { background:
  radial-gradient(60% 40% at 50% 0%, rgba(255, 160, 60, .07), transparent 70%),
  radial-gradient(50% 30% at 10% 60%, rgba(179, 59, 42, .05), transparent 70%); }
.book { max-width: 860px; }
.cover { margin: 22px 0 26px; border-radius: 26px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(243, 211, 142, .08) inset; }
.cover img { aspect-ratio: 16/9.5; filter: saturate(1.05) contrast(1.05); }
.cover .cv-in { background: linear-gradient(to top, rgba(11, 8, 6, .97) 8%, rgba(11, 8, 6, .55) 48%, rgba(11, 8, 6, .05) 75%); }
.cover h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 900; letter-spacing: -.01em; text-shadow: 0 4px 24px rgba(0, 0, 0, .8); }
.cv-sig { display: flex; gap: 6px; margin-top: 16px; }
.cv-sig span { display: grid; justify-items: center; gap: 0; min-width: 46px; padding: 8px 6px 6px; border-radius: 12px; background: rgba(11, 8, 6, .62); border: 1px solid var(--line); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.cv-sig span.me { border-color: var(--gold); box-shadow: 0 0 22px -6px rgba(243, 211, 142, .7); }
.cv-sig b { font-family: var(--title); font-size: 24px; font-weight: 900; line-height: 1.15; }
.cv-sig small { font-size: 10.5px; color: var(--mute); margin-top: 2px; }
.cv-sig .u b { color: var(--mute); }
.cv-stamp { position: absolute; top: clamp(14px, 3vw, 26px); right: clamp(14px, 3vw, 26px); width: 58px; height: 58px; display: grid; place-items: center; font-style: normal; font-family: var(--title); font-weight: 900; font-size: 30px; color: #fbe3c0; border-radius: 10px; background: linear-gradient(145deg, #c43a26, #7a1a10); transform: rotate(-6deg); box-shadow: inset 0 0 0 2px rgba(255, 220, 170, .35), 0 10px 26px -8px rgba(190, 50, 30, .8); opacity: .92; }

.toc { top: 64px; padding: 8px 0 16px; gap: 6px; }
.toc a { transition: all .25s; background: rgba(20, 13, 8, .7); }
.toc a.on { color: #1a120a; background: linear-gradient(180deg, var(--gold2), var(--gold)); border-color: transparent; font-weight: 700; }
.toc a.lock::before { content: '🔒 '; font-size: 11px; }

/* 장 카드: 한지 결 + 금빛 모서리 */
.ch { overflow: hidden; margin: 40px 0; padding: clamp(24px, 5vw, 52px); border-radius: 26px; border: 1px solid var(--line);
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .95  0 0 0 0 .8  0 0 0 0 .55  0 0 0 .06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),
    radial-gradient(80% 60% at 100% 0%, rgba(217, 171, 92, .07), transparent 60%),
    linear-gradient(180deg, #1a120c, #110c08);
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .9); }
.ch::before, .ch::after { content: ''; position: absolute; width: 46px; height: 46px; border: 1px solid rgba(217, 171, 92, .45); pointer-events: none; }
.ch::before { top: 12px; left: 12px; border-right: 0; border-bottom: 0; border-top-left-radius: 14px; }
.ch::after { bottom: 12px; right: 12px; border-left: 0; border-top: 0; border-bottom-right-radius: 14px; }
.ch-wm { position: absolute; right: -10px; top: -30px; font-family: var(--title); font-weight: 900; font-size: 230px; line-height: 1; color: rgba(217, 171, 92, .045); pointer-events: none; user-select: none; }
.ch-h { position: relative; display: flex; gap: 16px; align-items: center; margin: 0 0 26px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.ch-h::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 90px; height: 1px; background: linear-gradient(90deg, var(--gold2), transparent); }
.ch-seal { flex: none; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 14px; font-family: var(--title); font-weight: 900; font-size: 30px; color: var(--gold2);
  background: radial-gradient(circle at 30% 25%, rgba(243, 211, 142, .18), rgba(0, 0, 0, .2)); border: 1px solid var(--line2); box-shadow: inset 0 0 0 4px rgba(11, 8, 6, .6), inset 0 0 0 5px rgba(217, 171, 92, .25); }
.ch-h h2 { margin: 2px 0 0; font-size: clamp(25px, 3.4vw, 34px); font-weight: 900; letter-spacing: -.01em; }
.ch-hint { margin: 4px 0 0 !important; font-family: var(--sans) !important; font-size: 14px !important; color: var(--mute) !important; line-height: 1.5 !important; }
.ch p { position: relative; font-size: 18px; line-height: 2; color: #eadcc2; word-break: keep-all; }
.ch .hl { color: var(--gold2); font-weight: 700; }
.ch .term { display: inline-block; margin: 0 2px; padding: 0 7px; border-radius: 6px; font-family: var(--sans); font-size: .74em; line-height: 1.7; vertical-align: .12em; color: var(--gold); background: rgba(217, 171, 92, .1); border: 1px solid rgba(217, 171, 92, .22); }
.lead-p { font-size: clamp(19px, 2.3vw, 22px) !important; color: var(--ink) !important; line-height: 1.85 !important; margin-bottom: 22px !important; }
.keyline { display: flex; gap: 12px; align-items: baseline; margin: -6px 0 22px !important; padding: 14px 18px; border-radius: 14px; background: linear-gradient(90deg, rgba(217, 171, 92, .14), rgba(217, 171, 92, .02)); border-left: 3px solid var(--gold); font-family: var(--title) !important; font-weight: 700; font-size: 18px !important; line-height: 1.6 !important; color: var(--gold2) !important; }
.keyline span { flex: none; font-family: var(--sans); font-size: 11.5px; letter-spacing: .2em; color: #1a120a; background: var(--gold); padding: 1px 8px; border-radius: 99px; }
.gm-say { display: flex; gap: 16px; align-items: center; margin: 28px 0 0; padding: 18px 20px; border-radius: 18px; background: linear-gradient(110deg, rgba(179, 59, 42, .18), rgba(24, 17, 12, .6)); border: 1px solid rgba(224, 97, 74, .3); }
.gm-say img { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; border: 2px solid rgba(243, 211, 142, .6); box-shadow: 0 0 24px -6px rgba(255, 160, 60, .6); }
.gm-say small { display: block; font-size: 11.5px; letter-spacing: .2em; color: var(--red2); }
.gm-say p { margin: 2px 0 0 !important; font-size: clamp(17px, 2vw, 20px) !important; line-height: 1.7 !important; color: var(--gold2) !important; }
.ask { margin: 0 0 22px; padding: 18px 20px; text-align: center; border-radius: 16px; border: 1px dashed var(--line2); background: rgba(0, 0, 0, .2); }
.ask small { display: block; color: var(--mute); font-size: 12px; letter-spacing: .2em; }
.ask b { font-family: var(--serif); font-size: 20px; color: var(--gold2); font-weight: 700; }

/* 시각 자료 공통 */
.viz { margin: 8px 0 30px; padding: 20px; border-radius: 18px; background: rgba(0, 0, 0, .28); border: 1px solid var(--line); }
.viz-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 16px; font-family: var(--title); font-weight: 700; font-size: 16px; color: var(--ink); }
.viz-h small { font-family: var(--sans); font-weight: 400; font-size: 12px; color: var(--mute); }
.hj2 { display: flex; flex-direction: column; align-items: center; font-family: var(--title); font-weight: 900; line-height: 1.1; }

/* 대운 */
.dw-line { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; padding: 14px 2px 6px; scrollbar-width: thin; scrollbar-color: rgba(217, 171, 92, .3) transparent; }
.dw { position: relative; flex: none; width: 84px; scroll-snap-align: center; display: grid; justify-items: center; gap: 2px; padding: 12px 6px 10px; border-radius: 14px; background: rgba(24, 17, 12, .9); border: 1px solid var(--line); }
.dw .age { font-family: var(--sans); font-size: 13px; color: var(--ink2); }
.dw .hj2 { font-size: 30px; margin: 2px 0; }
.dw .ko { font-size: 12.5px; color: var(--ink2); }
.dw small { font-size: 11px; color: var(--gold); white-space: nowrap; }
.dw .yr { font-size: 10.5px; color: var(--mute); }
.dw.past { opacity: .5; }
.dw.now { border-color: var(--gold2); background: linear-gradient(180deg, rgba(217, 171, 92, .2), rgba(24, 17, 12, .95)); box-shadow: 0 0 30px -8px rgba(243, 211, 142, .6); transform: translateY(-4px); }
.dw.next { border-color: rgba(224, 97, 74, .55); border-style: dashed; }
.dw em { position: absolute; top: -10px; font-style: normal; font-size: 11px; font-weight: 700; padding: 1px 9px; border-radius: 99px; color: #1a120a; background: var(--gold2); white-space: nowrap; }
.dw em.nx { background: var(--red2); color: #fff; }

/* 돈 지도 */
.mn-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mn { position: relative; display: grid; gap: 2px; padding: 16px 14px; border-radius: 14px; background: rgba(24, 17, 12, .9); border: 1px solid var(--line); }
.mn .ic { font-size: 22px; }
.mn b { font-family: var(--title); font-size: 17px; }
.mn small { font-size: 11.5px; color: var(--mute); line-height: 1.45; }
.mn .dt { display: flex; gap: 5px; margin-top: 8px; }
.mn .dt i { width: 13px; height: 13px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.mn .dt i.on { background: #9fd0aa; box-shadow: 0 0 10px rgba(159, 208, 170, .5); }
.mn.gold .dt i.on { background: var(--gold2); box-shadow: 0 0 10px rgba(243, 211, 142, .55); }
.mn.red .dt i.on { background: var(--red2); box-shadow: 0 0 10px rgba(224, 97, 74, .5); }
.mn .n { position: absolute; top: 12px; right: 14px; font-family: var(--title); font-weight: 900; font-size: 28px; color: rgba(243, 211, 142, .85); }

/* 다섯 기운 */
.gp { display: grid; gap: 10px; }
.gp .g { display: grid; grid-template-columns: 96px 1fr 26px; grid-template-rows: auto auto; column-gap: 12px; align-items: center; }
.gp .g b { font-family: var(--title); font-size: 15.5px; }
.gp .g small { grid-column: 1; grid-row: 2; font-size: 11px; color: var(--mute); line-height: 1.3; }
.gp .g .tr { grid-column: 2; grid-row: 1 / 3; height: 12px; border-radius: 99px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.gp .g .tr i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #8a6530, var(--gold2)); }
.gp .g span { grid-column: 3; grid-row: 1 / 3; font-family: var(--title); font-weight: 900; font-size: 18px; text-align: right; }
.gp .g.max b, .gp .g.max span { color: var(--gold2); }
.gp .g.zero b, .gp .g.zero span { color: var(--mute); }

/* 띠 궁합 */
.mt { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mc { display: grid; justify-items: center; text-align: center; gap: 2px; padding: 16px 8px 14px; border-radius: 16px; background: rgba(24, 17, 12, .9); border: 1px solid rgba(127, 174, 143, .4); }
.mc .e { font-size: 34px; line-height: 1.2; }
.mc b { font-family: var(--title); font-size: 16px; }
.mc small { font-size: 11.5px; color: #9fd0aa; line-height: 1.4; }
.mc.bad { border-color: rgba(224, 97, 74, .45); background: linear-gradient(180deg, rgba(179, 59, 42, .14), rgba(24, 17, 12, .9)); }
.mc.bad small { color: var(--red2); }

/* 몸 */
.bd { display: grid; gap: 8px; }
.bd .b { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgba(24, 17, 12, .9); border: 1px solid var(--line); }
.bd .orb { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; font-family: var(--title); font-weight: 900; font-size: 20px; background: currentColor; }
.bd .orb { color: inherit; }
.bd .orb.el-목 { background: rgba(143, 196, 154, .16); border: 1px solid rgba(143, 196, 154, .5); }
.bd .orb.el-화 { background: rgba(239, 122, 92, .16); border: 1px solid rgba(239, 122, 92, .5); }
.bd .orb.el-토 { background: rgba(227, 189, 106, .16); border: 1px solid rgba(227, 189, 106, .5); }
.bd .orb.el-금 { background: rgba(232, 226, 212, .12); border: 1px solid rgba(232, 226, 212, .45); }
.bd .orb.el-수 { background: rgba(122, 166, 216, .16); border: 1px solid rgba(122, 166, 216, .5); }
.bd b { display: block; font-family: var(--title); font-size: 15.5px; }
.bd b small { font-family: var(--sans); font-weight: 400; color: var(--mute); font-size: 12px; }
.bd span { font-size: 13px; color: var(--ink2); }
.bd em { font-style: normal; font-size: 12px; padding: 3px 10px; border-radius: 99px; color: var(--mute); border: 1px solid var(--line); white-space: nowrap; }
.bd .zero { border-color: rgba(122, 166, 216, .45); }
.bd .zero em { color: #a9c8ef; border-color: rgba(122, 166, 216, .5); background: rgba(122, 166, 216, .1); }
.bd .many em { color: var(--gold2); border-color: var(--line2); background: rgba(217, 171, 92, .1); }

/* 열두 달 */
.mo { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.mo .m { position: relative; display: grid; justify-items: center; gap: 2px; padding: 14px 4px 10px; border-radius: 14px; background: rgba(24, 17, 12, .9); border: 1px solid var(--line); }
.mo .m b { font-family: var(--title); font-size: 17px; }
.mo .m .hj2 { font-size: 21px; margin: 2px 0; }
.mo .m small { font-size: 10.5px; color: var(--mute); white-space: nowrap; }
.mo .m em { position: absolute; top: -9px; font-style: normal; font-size: 10.5px; font-weight: 700; padding: 0 8px; border-radius: 99px; white-space: nowrap; }
.mo .m.good { border-color: rgba(127, 174, 143, .7); background: linear-gradient(180deg, rgba(127, 174, 143, .2), rgba(24, 17, 12, .9)); box-shadow: 0 0 24px -10px rgba(159, 208, 170, .7); }
.mo .m.good em { background: #9fd0aa; color: #102016; }
.mo .m.care { border-color: rgba(224, 97, 74, .6); background: linear-gradient(180deg, rgba(179, 59, 42, .2), rgba(24, 17, 12, .9)); }
.mo .m.care em { background: var(--red2); color: #fff; }
.mo-lg { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-size: 13.5px; }
.mo-lg .g { color: #9fd0aa; } .mo-lg .c { color: var(--red2); }

/* 마지막 장: 한지 편지 */
.ch.last { background: linear-gradient(180deg, #1a120c, #110c08); }
.letter { position: relative; padding: clamp(26px, 5vw, 48px) clamp(22px, 5vw, 46px) clamp(30px, 5vw, 44px); border-radius: 6px; color: #2b1d10;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.6' numOctaves='4' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .45  0 0 0 0 .32  0 0 0 0 .15  0 0 0 .13 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),
    radial-gradient(120% 90% at 50% 40%, #f4ead2 40%, #e6d4ad 100%);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), inset 0 0 60px rgba(120, 80, 30, .25); }
.letter::before { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(120, 70, 30, .28); border-radius: 3px; pointer-events: none; }
.letter p { color: #2b1d10 !important; font-size: 18.5px !important; line-height: 2.05 !important; }
.lt-to { font-family: var(--title); font-weight: 900; font-size: 22px; margin: 0 0 16px; color: #3a2512; }
.habits { display: grid; gap: 10px; margin: 22px 0 6px; }
.hb { display: flex; gap: 14px; align-items: center; padding: 12px 16px; border-radius: 10px; background: rgba(120, 70, 30, .08); border: 1px solid rgba(120, 70, 30, .22); }
.hb span { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; font-family: var(--title); font-weight: 900; font-size: 18px; color: #f8e6c6; background: linear-gradient(145deg, #b93522, #7b1c10); }
.hb p { margin: 0 !important; font-size: 16.5px !important; line-height: 1.6 !important; font-weight: 700; }
.lt-from { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 26px; font-family: var(--title); font-weight: 700; font-size: 17px; color: #4a2f15; }
.stamp { width: 62px; height: 62px; display: grid; place-items: center; text-align: center; font-style: normal; font-family: var(--title); font-weight: 900; font-size: 15px; line-height: 1.15; color: #b8301f; border: 3px solid #b8301f; border-radius: 8px; transform: rotate(-8deg); opacity: .85; box-shadow: inset 0 0 0 2px rgba(184, 48, 31, .25); }

.fin { text-align: center; margin: 50px 0 10px; }
.knot { width: 120px; height: 24px; margin: 0 auto 6px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 24'><g fill='none' stroke='%23d9ab5c' stroke-width='1.2'><path d='M0 12h42M78 12h42'/><rect x='50' y='4' width='16' height='16' transform='rotate(45 58 12)'/><rect x='54' y='8' width='8' height='8' transform='rotate(45 58 12)'/><circle cx='46' cy='12' r='2'/><circle cx='74' cy='12' r='2'/></g></svg>") center/contain no-repeat; opacity: .8; }

@media (max-width: 720px) {
  .toc { top: 92px; }
  .ch { margin: 26px 0; border-radius: 20px; }
  .ch-wm { font-size: 170px; }
  .ch-seal { width: 48px; height: 48px; font-size: 24px; border-radius: 12px; }
  .ch p { font-size: 17px; line-height: 1.95; }
  .viz { padding: 14px; margin-left: -4px; margin-right: -4px; }
  .mn-row { grid-template-columns: 1fr; }
  .mn { grid-template-columns: 34px 1fr; column-gap: 10px; } .mn .ic { grid-row: 1 / 3; align-self: center; } .mn .dt { grid-column: 2; margin-top: 4px; }
  .mt { grid-template-columns: 1fr 1fr; }
  .mo { grid-template-columns: repeat(4, 1fr); row-gap: 14px; }
  .gp .g { grid-template-columns: 82px 1fr 22px; }
  .cv-sig span { min-width: 40px; padding: 6px 4px 4px; }
  .cv-sig b { font-size: 20px; }
  .cv-stamp { width: 46px; height: 46px; font-size: 24px; }
  .gm-say img { width: 52px; height: 52px; }
  .letter p { font-size: 17px !important; }
}
.hb-h { margin: 26px 0 0; font-family: var(--title); font-weight: 900; font-size: 17px; color: #8a2a1a; letter-spacing: .08em; }
