/* 사주연가 무료 카드 공통 스타일 — 첫 화면 카드 부채 + 결과 수집 카드 */
:root{--c1:#ffd9e2;--c2:#e8a3b4;--c3:#c8102e;--ink:#3a1d24;--paper:#fffaf5}
.t-love{--c1:#ffdde5;--c2:#f0a7b8;--c3:#d6204a;--bg1:#fff0f3;--bg2:#ffd3de}
.t-bujeok{--c1:#ffe2cc;--c2:#f2b27f;--c3:#c8102e;--bg1:#fff4ea;--bg2:#ffd9bd}
.t-daewoon{--c1:#e6e1ff;--c2:#b9ade8;--c3:#5a3fb5;--bg1:#f4f1ff;--bg2:#ddd5ff}
.t-solo{--c1:#ffe0ea;--c2:#f3a2bd;--c3:#e0245e;--bg1:#fff1f5;--bg2:#ffd0df}

/* ── 첫 화면: 카드 부채 ── */
.fan-hero{position:relative;overflow:hidden;padding:30px 18px 26px;text-align:center;
  background:radial-gradient(120% 70% at 50% 100%,var(--bg2),var(--bg1) 70%)}
.fan-hero:before,.fan-hero:after{content:"";position:absolute;border-radius:50%;background:#fff;opacity:.55;filter:blur(2px)}
.fan-hero:before{width:120px;height:120px;left:-40px;top:40px}
.fan-hero:after{width:160px;height:160px;right:-60px;top:-30px}
.fan-hero .kick{position:relative;display:inline-block;background:#fff;color:var(--c3);border:1.5px solid var(--c2);
  border-radius:99px;padding:5px 14px;font-size:13px;font-weight:700;letter-spacing:.02em}
.fan-hero h1{position:relative;margin:12px 0 6px;font-family:'Noto Serif KR',serif;font-size:30px;line-height:1.3;color:var(--ink);font-weight:900;letter-spacing:-.02em}
.fan-hero h1 em{font-style:normal;color:var(--c3)}
.fan-hero p.sub{position:relative;margin:0 0 6px;font-size:14.5px;color:#6b4a52;line-height:1.6}
.fan{position:relative;height:250px;margin:18px auto 0;max-width:360px}
.fan .mini{position:absolute;left:50%;top:14px;width:134px;height:206px;margin-left:-67px;border-radius:14px;padding:7px;
  background:var(--c1);box-shadow:0 10px 24px rgba(80,20,40,.18);transform-origin:50% 120%}
.fan .mini:nth-child(1){transform:translateX(-74px) rotate(-13deg)}
.fan .mini:nth-child(1) .w{filter:hue-rotate(-28deg) saturate(1.1)}
.fan .mini:nth-child(3){transform:translateX(74px) rotate(13deg)}
.fan .mini:nth-child(3) .w{filter:hue-rotate(38deg)}
.fan .mini:nth-child(2){z-index:2;top:0;transform:scale(1.08)}
.fan .mini .in{height:100%;border-radius:10px;border:1.5px solid var(--c2);background:var(--paper);padding:8px 7px;display:flex;flex-direction:column;align-items:center}
.fan .mini .lb{font-size:9px;color:var(--c3);font-weight:700}
.fan .mini .w{width:100%;height:92px;margin:6px 0;border-radius:8px;background:#fff center/contain no-repeat;border:1px solid var(--c1)}
.fan .mini .nm{font-size:10px;color:#9b7f86;filter:blur(2.5px)}
.fan .mini b{display:block;margin-top:3px;font-family:"Noto Serif KR",serif;font-size:12.5px;line-height:1.3;color:var(--ink)}
.fan .mini b em{font-style:normal;color:var(--c3)}
.fan .mini .ln{margin-top:auto;width:80%;height:6px;border-radius:3px;background:var(--c1)}
.fan .mini .ln+.ln{width:60%;margin-top:4px}
.fan-hero .free{position:relative;margin-top:6px;font-size:12.5px;color:#8a6d74}

/* ── 결과: 수집 카드 ── */
.tcard{position:relative;max-width:350px;margin:0 auto;border-radius:24px;padding:12px;background:var(--c1);
  box-shadow:0 14px 34px rgba(80,20,40,.16);color:var(--ink);text-align:center}
.tcard .frame{position:relative;border:2px solid var(--c2);border-radius:16px;background:var(--paper);padding:16px 16px 14px}
.tcard .frame:before,.tcard .frame:after{content:"✦";position:absolute;top:6px;font-size:12px;color:var(--c2)}
.tcard .frame:before{left:9px}.tcard .frame:after{right:9px}
.tcard .tp{font-size:11.5px;font-weight:700;color:var(--c3);letter-spacing:.04em}
.tcard .no{display:inline-block;margin-top:4px;font-size:11px;color:#9b7f86}
.tcard .win{position:relative;margin:10px auto 12px;height:172px;border-radius:14px;background:#fff center/contain no-repeat;border:1.5px solid var(--c1)}
.tcard .win:after{content:"";position:absolute;inset:6px;border:1px dashed var(--c1);border-radius:10px;pointer-events:none}
.tcard .badge{display:inline-block;background:var(--c3);color:#fff;border-radius:99px;padding:4px 12px;font-size:12.5px;font-weight:700}
.tcard .lead{margin:10px 0 2px;font-size:14px;color:#6b4a52}
.tcard h2{margin:2px 0 8px;font-family:'Noto Serif KR',serif;font-size:25px;line-height:1.32;font-weight:900;letter-spacing:-.02em;color:var(--ink)}
.tcard h2 em{font-style:normal;color:var(--c3)}
.tcard .kw{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:4px 0 10px}
.tcard .kw span{background:var(--bg1);border:1px solid var(--c1);color:var(--c3);border-radius:99px;padding:3px 10px;font-size:12.5px;font-weight:700}
.tcard .msg{margin:6px 0 10px;font-size:14.5px;line-height:1.65;color:#4a2c33}
.tcard .quote{margin-top:8px;border-top:1.5px dashed var(--c2);padding-top:10px;font-family:'Noto Serif KR',serif;font-size:15px;line-height:1.6;color:var(--ink)}
.tcard .quote small{display:block;font-family:'Noto Sans KR',sans-serif;font-size:11.5px;color:#9b7f86;margin-bottom:3px}
.tcard .ft{margin-top:10px;font-size:10.5px;color:#a8939a}
.tcard .chips2{display:flex;gap:8px;margin:8px 0 4px}
.tcard .chips2>div{flex:1;background:var(--bg1);border:1px solid var(--c1);border-radius:12px;padding:8px 6px;font-size:12px;color:#6b4a52}
.tcard .chips2 b{display:block;font-size:17px;color:var(--c3);margin-top:2px}
.tcard .big{margin:6px 0;font-family:'Noto Serif KR',serif;font-size:40px;font-weight:900;color:var(--c3);line-height:1.1}

/* 카드 아래 풀이 */
.more{max-width:350px;margin:16px auto 0;text-align:left}
.more .mh{margin:0 0 10px;text-align:center;font-size:14px;font-weight:700;color:#6b4a52}
.more .pn{background:#fff;border:1px solid #f1dfe3;border-radius:16px;padding:14px 15px;margin-bottom:10px;font-size:14.5px;line-height:1.65;color:#4a2c33}
.more .pn h3{margin:0 0 6px;font-size:14.5px;color:var(--ink)}
.more .pn em{font-style:normal;font-weight:700;color:var(--c3)}
.more .bar{display:flex;align-items:center;gap:8px;font-size:13px;margin:6px 0}
.more .bar span{width:64px;color:#7a3a44;font-weight:700}
.more .bar i{flex:1;height:9px;border-radius:99px;background:var(--bg1);position:relative;overflow:hidden;border:1px solid var(--c1)}
.more .bar i b{position:absolute;left:0;top:0;bottom:0;border-radius:99px;background:linear-gradient(90deg,var(--c2),var(--c3))}
.more .tl{display:flex;gap:4px;justify-content:center;margin:4px 0 8px;flex-wrap:wrap}
.more .tl span{flex:1;min-width:34px;max-width:44px;padding:6px 0 4px;border-radius:10px;background:var(--bg1);font-size:11px;color:#8c80b8;font-weight:700;text-align:center}
.more .tl span small{display:block;font-size:9.5px;font-weight:500;margin-top:1px}
.more .tl span.past{opacity:.5}
.more .tl span.on{background:var(--c3);color:#fff}
.more .tl span.nx{outline:1.5px dashed var(--c3);color:var(--c3)}
.more .ohs{display:flex;gap:6px}
.more .ohs div{flex:1;background:var(--bg1);border-radius:12px;padding:6px 0;font-size:11.5px;color:#6b5f8f;text-align:center}
.more .ohs b{display:block;font-size:18px;color:var(--c3)}
.more .ohs div.z b{color:#e0245e}
.more .lkx{margin-top:8px;padding:8px 10px;border-radius:10px;background:var(--bg1);color:#7d7299;font-size:13px}
.more .lkp{background:#2a0d12;color:#ffc7cf;border:0}
.more .lkp b{color:#fff}.more .lkp i{font-style:normal;filter:blur(3.5px)}
.tcard .lead b{color:var(--c3)}
/* 원국 보완 카드 */
.fan .mini .w.hj{display:grid;place-items:center;background:#fff;font-family:"Noto Serif KR",serif;font-weight:900;font-size:52px;color:var(--hc)}
.tcard .win.hjw{display:grid;place-items:center;height:150px;background:radial-gradient(circle closest-side,var(--bg1) 0 86%,#fff 88%)}
.tcard .win.hjw span{font-family:"Noto Serif KR",serif;font-weight:900;font-size:92px;line-height:1;color:var(--c3)}
.tcard .chips3{display:flex;gap:6px;margin:8px 0 4px}
.tcard .chips3>div{flex:1;background:var(--bg1);border:1px solid var(--c1);border-radius:12px;padding:7px 4px;font-size:11.5px;color:#6b4a52}
.tcard .chips3 b{display:block;font-size:13px;color:var(--c3);margin-top:2px;line-height:1.3}
.tcard .quote span{font-family:"Noto Sans KR",sans-serif;font-size:12px;color:#9b7f86}
.more .ohb .bar em{font-style:normal;width:34px;text-align:right;font-weight:700;color:#4a2c33;font-size:13px}
.more .ohb .bar.lo span,.more .ohb .bar.lo em{color:#e0245e}
/* 오행 패(牌) — 홍실에 꿴 다섯 기운 */
.tags{position:relative;display:flex;justify-content:center;gap:8px;margin:22px auto 4px;max-width:360px;padding-top:18px}
.tags:before{content:"";position:absolute;left:4%;right:4%;top:6px;height:26px;border-top:2.5px solid #d6203a;border-radius:50%/100% 100% 0 0}
.tag{position:relative;flex:1;max-width:62px;height:150px;border-radius:12px;background:var(--tc);border:2.5px solid #2a1a1e;
  display:flex;flex-direction:column;align-items:center;padding-top:12px;box-shadow:0 6px 0 rgba(42,26,30,.9)}
.tag:nth-child(odd){transform:rotate(-3deg)}.tag:nth-child(even){transform:rotate(3deg);margin-top:6px}
.tag i{width:13px;height:13px;border-radius:50%;background:#2a1a1e;box-shadow:0 0 0 3px #d6203a}
.tag b{margin-top:16px;font-family:"Noto Serif KR",serif;font-weight:900;font-size:36px;line-height:1;color:#1d1013}
.tag small{margin-top:auto;margin-bottom:12px;font-size:12px;font-weight:800;color:#1d1013}
.tag.emp{background:repeating-linear-gradient(45deg,#fff,#fff 6px,#fbeef1 6px,#fbeef1 12px);border-style:dashed;box-shadow:none}
.tag.emp b{color:#d6203a}
.tags-cap{position:relative;margin:14px 0 0;font-size:14px;font-weight:700;color:#6b4a52}
.tags-cap b{color:#d6203a}
.tcard .tags{margin:4px auto 8px;gap:5px;padding-top:12px}
.tcard .tags:before{top:3px;height:18px;border-top-width:2px}
.tcard .tag{height:92px;max-width:46px;padding-top:7px;border-width:2px;border-radius:9px;box-shadow:0 4px 0 rgba(42,26,30,.85)}
.tcard .tag i{width:8px;height:8px;box-shadow:0 0 0 2px #d6203a}
.tcard .tag b{margin-top:8px;font-size:22px}
.tcard .tag small{margin-bottom:7px;font-size:10.5px}
.tcard .tag.emp{box-shadow:none}
/* 가린 글자: 흐림 대신 또렷한 자물쇠 칩 */
.mk{display:inline-block;margin:2px 3px 0 0;padding:2px 9px;border-radius:99px;background:#ffd7de;color:#c8102e;font-weight:800;font-style:normal;filter:none!important}
.fan .mini .nm{filter:none;display:inline-block;padding:1px 8px;border-radius:99px;background:var(--c1);color:var(--c3);font-weight:700}
/* 매력 살 스티커 판 */
.board{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0 6px;padding:12px;border-radius:16px;background:repeating-linear-gradient(0deg,#fff,#fff 22px,#fbe9ee 22px,#fbe9ee 23px);border:1.5px solid var(--c1)}
.stk{position:relative;aspect-ratio:1/1;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;border:2px dashed #d9c3c9;background:#fff;color:#b9a3a9}
.stk .ic{font-size:30px;line-height:1;font-weight:900;color:#d9c3c9}
.stk b{margin-top:4px;font-size:13px;color:inherit}
.stk small{font-size:10.5px;color:inherit;opacity:.8}
.stk.on{border:3px solid #fff;background:radial-gradient(circle at 30% 25%,#fff 0 10%,transparent 30%),var(--sc);color:#fff;box-shadow:0 4px 0 rgba(0,0,0,.12),0 0 0 2px var(--sc);transform:rotate(-6deg)}
.stk.on:nth-child(even){transform:rotate(5deg)}
.stk.on .ic{color:#fff;font-size:34px}
.hero-b{position:relative;max-width:236px;margin:16px auto 0;padding:10px;gap:8px}
/* 귀인 띠 고리 */
.zring{position:relative;display:grid;grid-template-columns:repeat(6,1fr);gap:8px;max-width:340px;margin:18px auto 0}
.zring span{aspect-ratio:1/1;display:grid;place-items:center;font-size:26px;border-radius:50%;background:#fff;border:1.5px solid var(--c1);filter:grayscale(.6);opacity:.75}
.zring span.on{filter:none;opacity:1;background:var(--c3);color:#fff;font-weight:900;font-size:24px;border:3px solid #fff;box-shadow:0 0 0 2px var(--c3),0 6px 14px rgba(90,63,181,.35);transform:scale(1.12)}
.tcard .win.pair{display:flex;align-items:center;justify-content:center;gap:14px;height:160px;background:radial-gradient(circle at 50% 50%,var(--bg1),#fff 70%)}
.tcard .gw{display:flex;flex-direction:column;align-items:center}
.tcard .gw span{width:84px;height:84px;display:grid;place-items:center;font-size:50px;border-radius:50%;background:#fff;border:3px solid var(--c2);box-shadow:0 4px 0 var(--c1)}
.tcard .gw b{margin-top:6px;font-size:15px;color:var(--c3)}
.tcard .gw small{font-size:11px;color:#9b7f86}
.tcard .win.pair i{font-style:normal;color:var(--c2);font-size:18px}
.tcard .win.pair:after{display:none}

/* 빈칸 부적: 노란 부적지 + 붉은 먹 */
.tcard .win.hjw.bj{background:linear-gradient(180deg,#fbe9a0,#f3d46a);border:2px solid #b3121f;box-shadow:inset 0 0 0 5px #fbe9a0,inset 0 0 0 7px #b3121f}
.tcard .win.hjw.bj:after{display:none}
.tcard .win.hjw.bj span{color:#b3121f;font-size:96px;text-shadow:1px 1px 0 rgba(120,0,0,.25)}
.tcard .win.hjw.bj i{position:absolute;top:50%;transform:translateY(-50%);font-style:normal;writing-mode:vertical-rl;font-family:"Noto Serif KR",serif;font-weight:900;font-size:15px;color:#b3121f;letter-spacing:4px}
.tcard .win.hjw.bj .sl{left:22px}
.tcard .win.hjw.bj .sr{right:20px;border:2px solid #b3121f;border-radius:4px;padding:6px 2px;letter-spacing:0}
