/* 신비 — 보라 · 파랑 밤하늘 분위기(11-01 대표님 「보랏빛 푸른빛의 신비로운 분위기」). 밝은 판은 _backup/style_밝은판_20261101.css */
@font-face { font-family: Pretendard; font-weight: 400; font-display: swap; src: url(fonts/Pretendard-Regular.woff2) format('woff2'); }
@font-face { font-family: Pretendard; font-weight: 600; font-display: swap; src: url(fonts/Pretendard-SemiBold.woff2) format('woff2'); }
:root {
  /* 11-05 B안 — 남색 밤하늘 + 금색 한 가지(옛 보라판은 _backup/themeB_20261105/style.css) */
  --n9: #070d24; --n8: #16244f; --n7: #e9c46a; --n6: #c9a24a; --n5: #f0d58c; --n4: #8d98bd;
  --n3: rgba(233,196,106,.32); --n2: rgba(233,196,106,.14); --n1: rgba(255,255,255,.055);
  --ink: #eef0f8; --sub: #aab0c8; --mute: #7f87a6; --line: rgba(200,210,240,.12);
  --hi: #f0d58c;                       /* 칸 제목 · 강조 글씨 */
  --gold: #e9c46a;
  --grad: linear-gradient(135deg, #e9c46a 0%, #f6dfa0 100%);
  --glass: linear-gradient(160deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
  --glassb: rgba(255,255,255,.12);
  --glow: 0 0 24px rgba(233,196,106,.32);
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { background: #060b1f; }
:root { color-scheme: dark only; }   /* 브라우저 강제 다크가 색을 뒤집지 않게 */
body { font-family: Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; color: var(--ink); font-size: 14px; line-height: 1.6; letter-spacing: -0.2px; -webkit-font-smoothing: antialiased; min-height: 100vh; }
/* 밤하늘: 성운 + 별 두 겹 */
body::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 75% 45% at 10% 6%, rgba(31,79,214,.5), transparent 70%),
    radial-gradient(ellipse 60% 40% at 95% 38%, rgba(15,143,156,.28), transparent 70%),
    radial-gradient(ellipse 70% 45% at 20% 92%, rgba(31,79,214,.22), transparent 70%),
    linear-gradient(180deg, #08102b 0%, #0a1532 48%, #050918 100%);
  background-size: 120% 120%; animation: aurora 18s ease-in-out infinite alternate; }
@keyframes aurora { to { background-position: 100% 60%; } }
body::after { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(1.3px 1.3px at 20px 30px, #fff, transparent), radial-gradient(1px 1px at 140px 80px, #fff, transparent),
    radial-gradient(1.6px 1.6px at 90px 170px, #fff3c9, transparent), radial-gradient(1px 1px at 200px 220px, #fff, transparent),
    radial-gradient(1.2px 1.2px at 260px 40px, #cfe0ff, transparent), radial-gradient(1px 1px at 50px 250px, #fff, transparent),
    radial-gradient(1.8px 1.8px at 310px 150px, #fff, transparent);
  background-size: 340px 290px; animation: sky 5s ease-in-out infinite; }
@keyframes sky { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
b, strong { font-weight: 600; }
button, input, select, textarea { font: inherit; color: inherit; }
option { color: #1a1440; background: #fff; }
#app { max-width: 440px; min-height: 100vh; margin: 0 auto; position: relative; z-index: 1; padding-bottom: 76px; }
.wrap { padding: 16px 16px 12px; }
.white { background: transparent; }

/* 공통 */
.seal { width: 32px; height: 32px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 16px; font-weight: 600; flex: none; }
.top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.top .t { font-size: 19px; font-weight: 600; letter-spacing: -0.5px; }
.top .s { font-size: 12px; color: var(--sub); }
.card { background: var(--glass); border: 1px solid var(--glassb); border-radius: 18px; padding: 13px 14px; margin-bottom: 8px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.card h4 { font-size: 12px; color: var(--hi); font-weight: 600; margin-bottom: 3px; }
.kv { display: grid; grid-template-columns: 74px 1fr; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); }
.kv:first-child { border-top: 0; padding-top: 0; }
.kv:last-child { padding-bottom: 0; }
.kv > b { font-size: 12.5px; color: var(--hi); }
.pill { display: inline-block; font-size: 11.5px; padding: 1px 8px; border-radius: 10px; background: var(--n2); color: var(--hi); font-weight: 600; }
.pill.dk { background: var(--grad); color: #fff; }
.pill.ln { background: transparent; border: 1px solid var(--n4); }
.btn { display: block; width: 100%; text-align: center; background: var(--grad); color: #fff; font-weight: 600; font-size: 15.5px; border: 0; border-radius: 14px; padding: 14px; cursor: pointer; box-shadow: var(--glow); }
.btn:disabled { background: rgba(255,255,255,.1); color: var(--mute); box-shadow: none; cursor: default; }
.btn.ln { background: rgba(255,255,255,.04); color: var(--hi); border: 1px solid var(--glassb); box-shadow: none; }
.note { font-size: 12px; color: var(--sub); line-height: 1.55; }
.sw { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 4px; border: 1px solid rgba(255,255,255,.35); }

/* 시작 */
.start { min-height: 100vh; padding: 0 24px 28px; display: flex; flex-direction: column; }
/* 로고 「· 신내린 비서 ·」 — 티켓 모양 테두리 + 주아(Jua, 11-01 Dokdo 에서 바꿈 — 노안) 파랑 → 보라 → 분홍, 「신」 · 「비」만 두근두근(11-01 대표님 견본) */
.brand { display: block; line-height: 0; }
.brand svg { width: 100%; height: auto; display: block; overflow: visible; filter: drop-shadow(0 0 8px rgba(233,196,106,.45)); animation: halo 3.2s ease-in-out infinite; }
.brand .fr { fill: rgba(8,16,44,.5); stroke: rgba(233,196,106,.7); stroke-width: 3; }
.brand text { font-family: Jua, "Malgun Gothic", sans-serif; font-size: 50px; letter-spacing: -0.5px; stroke-width: 1.6px; stroke-linejoin: round; paint-order: stroke; }
.brand .hb { transform-box: fill-box; transform-origin: 50% 75%; animation: heartbeat 1.4s ease-in-out infinite; }
.brand .dt { transform-box: fill-box; transform-origin: center; animation: twinkle 2.2s ease-in-out infinite; }
.brand .dt.d2 { animation-delay: 1.1s; }
@keyframes halo { 0%, 100% { filter: drop-shadow(0 0 6px rgba(233,196,106,.35)); } 50% { filter: drop-shadow(0 0 14px rgba(200,120,240,.7)); } }
@keyframes heartbeat { 0%, 40%, 100% { transform: scale(1); } 14% { transform: scale(1.22); } }   /* 11-07 대표님 「두 번 뛰지 말고 한 번씩」 — 쿵쿵 두 번을 한 번으로 */
.brand.lg { width: 290px; margin: 56px auto 0; }
/* 첫 화면 단체 그림(11-05 대표님 — 오행 비서 다섯이 비서 일을 하는 그림, 원본 char_original/group.png) — 뒤에 금빛이 은은히, 천천히 둥실 */
.team { position: relative; width: 300px; max-width: 88%; margin: 18px auto 0; }
.team::before { content: ""; position: absolute; inset: 8% 4% 4%; background: radial-gradient(closest-side, rgba(233,196,106,.30), rgba(233,196,106,0)); filter: blur(6px); }
.team img { position: relative; display: block; width: 100%; height: auto; animation: teamfloat 4.5s ease-in-out infinite; }
@keyframes teamfloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .team img { animation: none; } }
.brand.sm { width: 132px; margin-top: 2px; }
@media (prefers-reduced-motion: reduce) { .brand .hb, .brand .dt, .brand svg, body::after { animation: none; } }
.start .lead { text-align: center; font-size: 15px; color: var(--sub); line-height: 1.7; margin-top: 16px; }
.start .lead b { color: #fff; }
.start .three { margin-top: 32px; display: flex; flex-direction: column; gap: 9px; }
.start .three div { background: var(--glass); border: 1px solid var(--glassb); border-radius: 14px; padding: 11px 13px; display: flex; gap: 10px; align-items: center; font-size: 14px; }
.start .go { margin-top: auto; padding-top: 28px; }

/* 입력 */
.step { display: flex; gap: 5px; margin: 4px 0 14px; }
.step i { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.12); }
.step i.on { background: var(--grad); box-shadow: 0 0 8px rgba(140,110,255,.6); }
.ask { font-size: 21px; font-weight: 600; line-height: 1.4; letter-spacing: -0.6px; margin-bottom: 16px; }
.fl { margin-bottom: 14px; }
.fl > label, .fl > .lb { display: block; font-size: 12.5px; color: var(--sub); margin-bottom: 5px; }
.in { width: 100%; background: rgba(255,255,255,.06); border: 1px solid var(--glassb); border-radius: 12px; padding: 11px 13px; font-size: 16px; outline: none; color: var(--ink); }
.in:focus { border-color: var(--n5); box-shadow: 0 0 0 3px rgba(233,196,106,.22); }
.in::placeholder { color: #7d76a6; }
.row3 { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 6px; }
.row2 { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: rgba(255,255,255,.06); border: 1px solid var(--line); border-radius: 12px; padding: 3px; }
.seg button { border: 0; background: transparent; padding: 8px 0; border-radius: 10px; font-size: 14px; color: var(--sub); cursor: pointer; }
.seg button.on { background: var(--grad); color: #fff; font-weight: 600; box-shadow: 0 2px 10px rgba(233,196,106,.4); }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chips button { font-size: 13.5px; padding: 7px 12px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid var(--glassb); color: var(--sub); cursor: pointer; }
.chips button.on { background: var(--grad); border-color: transparent; color: #fff; font-weight: 600; box-shadow: 0 2px 10px rgba(233,196,106,.4); }
.chk { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--sub); white-space: nowrap; cursor: pointer; }
.chk input { accent-color: #e9c46a; }
.fix { background: var(--n2); border: 1px solid var(--glassb); border-radius: 12px; padding: 10px 12px; font-size: 12.5px; line-height: 1.55; color: #eef0f8; }
.num { text-align: center; font-size: 18px; letter-spacing: 1px; }
.num::placeholder { color: #6f6898; }
.unit { font-size: 11.5px; color: var(--mute); text-align: center; margin-top: 3px; }
#tbox.off { opacity: .35; pointer-events: none; }
.confirm { background: var(--glass); border: 1.5px solid var(--n5); border-radius: 12px; padding: 10px 12px; font-size: 14px; margin-bottom: 10px; }
.confirm:empty { display: none; }
.confirm b { color: var(--hi); margin-right: 6px; }
.err { color: #ff9a9a; font-size: 12.5px; margin-top: 6px; }

/* 비서 */
.ch { display: block; overflow: hidden; }
.ch img { width: 100%; height: 100%; display: block; object-fit: contain; }
.ch.water { background: #bbdbfc; } .ch.metal { background: #d8d8dc; } .ch.wood { background: #d3f4da; } .ch.fire { background: #fdac97; } .ch.earth { background: #fcf0b5; }
.pick { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.pc { border-radius: 20px; padding: 9px 10px 11px; position: relative; border: 1px solid var(--glassb); text-align: left; cursor: pointer; color: var(--ink); background: var(--glass); }
.pc.water { background: linear-gradient(160deg, rgba(110,170,255,.3), rgba(14,24,58,.55)); }
.pc.metal { background: linear-gradient(160deg, rgba(210,210,235,.26), rgba(14,24,58,.55)); }
.pc.wood { background: linear-gradient(160deg, rgba(110,220,150,.26), rgba(14,24,58,.55)); }
.pc.fire { background: linear-gradient(160deg, rgba(255,130,110,.3), rgba(14,24,58,.55)); }
.pc.earth { background: linear-gradient(160deg, rgba(255,215,110,.26), rgba(14,24,58,.55)); }
.pc.why { cursor: default; }
.pc .frm { height: 112px; overflow: hidden; margin-bottom: 7px; }
.pc .frm .ch { width: 100%; height: 100%; }
.pc .nm { font-size: 15.5px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.pc .nm span { font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 8px; background: rgba(255,255,255,.12); color: var(--sub); }
.pc p { font-size: 12px; line-height: 1.45; color: var(--sub); margin-top: 2px; }
.pc.sel { outline: 2px solid #e9c46a; outline-offset: -2px; box-shadow: 0 0 22px rgba(233,196,106,.45); }
.pc .rec { position: absolute; top: 8px; left: 8px; font-size: 11px; font-weight: 600; background: var(--grad); color: #fff; padding: 2px 8px; border-radius: 9px; z-index: 1; box-shadow: 0 0 10px rgba(233,196,106,.6); }
.f-circle { border-radius: 50%; width: 112px; margin: 0 auto; }
.f-arch { border-radius: 56px 56px 14px 14px; }
.f-leaf { border-radius: 56px 12px 56px 12px; }
.f-blob { border-radius: 42% 58% 52% 48% / 48% 42% 58% 52%; }
.f-heart { clip-path: path("M56 110 C14 80 1 58 1 36 C1 15 15 3 31 3 C43 3 51 10 56 19 C61 10 69 3 81 3 C97 3 111 15 111 36 C111 58 98 80 56 110Z"); width: 112px; margin: 0 auto; }

/* 비서 그림을 빛나는 둥근 창에 — 쓰는 중 · 쪽지 */
.water { --c: rgba(125,184,255,.75); } .metal { --c: rgba(220,220,245,.65); } .wood { --c: rgba(126,224,160,.7); } .fire { --c: rgba(255,143,115,.75); } .earth { --c: rgba(255,217,119,.7); }

/* 쓰는 중 */
.wait { min-height: 100vh; padding: 22px 20px; display: flex; flex-direction: column; }
.wait .stage { border-radius: 28px; padding: 26px 0 18px; text-align: center; margin-top: 10px; background: radial-gradient(circle at 50% 36%, rgba(160,120,255,.35), transparent 62%), var(--glass); border: 1px solid var(--glassb); }
.wait .stage .ch { width: 180px; height: 180px; margin: 0 auto; border-radius: 50%; box-shadow: 0 0 0 5px rgba(255,255,255,.12), 0 0 46px 8px var(--c); animation: bob 2.4s ease-in-out infinite; }
.wait .stage .art { display: block; width: 200px; height: 200px; object-fit: contain; margin: -10px auto 0; filter: drop-shadow(0 8px 16px rgba(0,0,0,.4)); animation: bob 2.4s ease-in-out infinite; }   /* 11-07 멘트별 장면 그림 */
.wait .stage .art[hidden], .wait .stage #wch[hidden] { display: none; }
.wait .line { font-size: 16px; font-weight: 600; color: #eef0f8; line-height: 1.45; padding: 16px 22px 0; min-height: 66px; transition: opacity .35s; }
.bar { height: 6px; background: rgba(255,255,255,.1); border-radius: 3px; margin: 18px 0 6px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 8%; background: var(--grad); border-radius: 3px; transition: width .8s ease; box-shadow: 0 0 10px rgba(233,196,106,.7); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* 브리핑 */
.hero { background: linear-gradient(150deg, #4a2aa6 0%, #2a2a8e 55%, #1b1660 100%); border: 1px solid var(--glassb); color: #fff; border-radius: 18px; padding: 15px 16px 14px; margin-bottom: 8px; box-shadow: 0 8px 26px rgba(31,60,140,.35); }
.hero .d { font-size: 12px; opacity: .78; }
.hero .g { font-size: 14.5px; margin-top: 2px; }
.hero .l { font-size: 19px; font-weight: 600; line-height: 1.45; letter-spacing: -0.5px; margin-top: 8px; }
.bio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.bio div { background: rgba(255,255,255,.08); border-radius: 11px; padding: 7px 9px 8px; font-size: 11.5px; }
.bio div b { display: block; font-size: 16.5px; }
.bio .lvw { display: block; font-size: 11.5px; opacity: .8; margin-top: 1px; }
.bio.lt { margin-top: 6px; }
.bio.lt div { background: var(--n1); color: var(--sub); border: 1px solid var(--line); }
.bio.lt div b { color: #fff; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.tiles .card { margin: 0; }
.tiles .v { font-size: 14px; font-weight: 600; line-height: 1.5; }
.word { border-radius: 16px; padding: 10px 14px 10px 10px; display: flex; gap: 10px; align-items: center; margin-bottom: 8px; border: 1px solid var(--glassb); }
.word .ch { width: 54px; height: 54px; border-radius: 50%; flex: none; box-shadow: 0 0 14px 2px var(--c); }
.word span { font-size: 14.5px; font-weight: 600; color: #eef0f8; line-height: 1.45; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.days div { background: var(--n1); border-radius: 10px; padding: 6px 0 5px; font-size: 11px; color: var(--sub); line-height: 1.35; }
.days div b { display: block; font-size: 13px; color: var(--ink); }
.days div.good { background: rgba(233,196,106,.28); box-shadow: inset 0 0 0 1px rgba(233,196,106,.35); } .days div.good em { color: #eef0f8; }
.days div.chg { background: transparent; border: 1px dashed var(--n4); }
.days em { font-style: normal; font-weight: 600; font-size: 10.5px; }
.foot { text-align: center; font-size: 11.5px; color: var(--mute); padding: 8px 0 4px; }

/* 오늘의 신비 쪽지 — 봉투(펼치기 전) */
.nstage { position: relative; overflow: hidden; border-radius: 28px; padding: 26px 0 18px; text-align: center; margin-bottom: 8px; border: 1px solid var(--glassb);
  background: radial-gradient(circle at 50% 30%, rgba(170,130,255,.42), transparent 58%), radial-gradient(circle at 15% 90%, rgba(80,110,255,.3), transparent 50%), var(--glass); }
.nstage > .ch { width: 164px; height: 164px; margin: 0 auto; border-radius: 50%; box-shadow: 0 0 0 5px rgba(255,255,255,.12), 0 0 50px 10px var(--c); animation: bob 2.6s ease-in-out infinite; }
.nstage .st { position: absolute; color: #fff; text-shadow: 0 0 8px rgba(255,255,255,.9), 0 0 3px var(--gold); animation: twinkle 2.2s ease-in-out infinite; pointer-events: none; }
.nstage.open .st { animation: burst .9s ease-out forwards; }
@keyframes twinkle { 0%, 100% { opacity: .25; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes burst { 0% { opacity: 1; transform: scale(1); } 40% { opacity: 1; transform: scale(2) rotate(40deg); } 100% { opacity: .5; transform: scale(1.2) rotate(90deg); } }

/* 봉투 — 윤기 나는 보라 봉투 한 장 + 분홍 하트 봉랍(神) + 뒤에 신비로운 연기(11-01 대표님 그림) */
.envw { position: relative; width: 200px; height: 132px; margin: -24px auto 0; transform: rotate(-7deg); }
.smoke { position: absolute; left: -78px; top: -34px; width: 200px; height: 160px; z-index: 0; pointer-events: none; filter: blur(.6px); animation: smoke 4.5s ease-in-out infinite; }
.smoke path { fill: none; stroke: rgba(236,170,255,.38); stroke-width: 9; stroke-linecap: round; }
.smoke path:nth-child(2) { stroke: rgba(200,150,255,.28); stroke-width: 6; }
.smoke path:nth-child(3) { stroke: rgba(255,170,220,.22); stroke-width: 7; }
.smoke circle { fill: #fff; opacity: .85; }
@keyframes smoke { 0%, 100% { transform: translate(0, 0); opacity: .75; } 50% { transform: translate(-6px, -8px); opacity: 1; } }
.nstage.open .smoke { animation: puff .9s ease-out forwards; }
@keyframes puff { to { transform: translate(-20px, -26px) scale(1.25); opacity: 0; } }
.env { position: absolute; inset: 0; display: block; border: 0; padding: 0; cursor: pointer; border-radius: 12px; z-index: 1; perspective: 700px;
  background: linear-gradient(155deg, #2f56b4 0%, #1f3d86 50%, #142a5e 100%);
  box-shadow: 0 14px 30px rgba(10,4,40,.55), 0 0 36px rgba(200,120,255,.45), inset 0 1px 0 rgba(255,255,255,.25); }
.env::after { content: ""; position: absolute; inset: 0; border-radius: 12px; pointer-events: none; z-index: 3;
  background: radial-gradient(1.4px 1.4px at 22% 70%, rgba(255,255,255,.9), transparent), radial-gradient(1.2px 1.2px at 78% 76%, rgba(255,255,255,.8), transparent), radial-gradient(1px 1px at 64% 88%, #fff, transparent); }
.env .pp { position: absolute; left: 12px; right: 12px; top: 8px; height: 86px; border-radius: 6px; z-index: 1; background: #fffaf0 repeating-linear-gradient(#fffaf0 0 13px, #efe6d2 13px 14px); box-shadow: 0 1px 3px rgba(0,0,0,.15); transition: transform .7s ease .25s; }
.env .pk { position: absolute; inset: 0; border-radius: 12px; z-index: 2; background: linear-gradient(160deg, #24479c, #16306a); clip-path: polygon(0 100%, 0 18%, 50% 62%, 100% 18%, 100% 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.env .pk::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top right, transparent 49.3%, rgba(255,255,255,.14) 50%, transparent 50.7%), linear-gradient(to top left, transparent 49.3%, rgba(255,255,255,.14) 50%, transparent 50.7%); }
.env .fl { position: absolute; left: 0; top: 0; width: 100%; height: 64%; z-index: 4; transform-origin: top; transition: transform .6s ease;
  background: linear-gradient(170deg, #5d84de 0%, #3a62bf 45%, #24479c 100%); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.env .fl::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,.45) 0%, rgba(255,255,255,0) 38%); }
.env .seal { position: absolute; left: 50%; top: 64%; width: 42px; height: 38px; margin: -19px 0 0 -21px; z-index: 5; display: grid; place-items: center; transition: transform .4s ease, opacity .4s ease; filter: drop-shadow(0 3px 4px rgba(90,0,40,.45)); }
.env .seal svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.env .seal b { position: relative; margin-top: -4px; font-family: "Noto Serif KR", Batang, serif; font-weight: 900; font-size: 15px; color: #ffe7b0; text-shadow: 0 1px 0 rgba(120,0,50,.6); }
.env.open .fl { transform: rotateX(180deg); z-index: 1; }
.env.open .seal { transform: scale(1.6) rotate(-18deg); opacity: 0; }
.env.open .pp { transform: translateY(-52px); z-index: 1; }
.env.open { animation: none !important; }
/* 비서마다 건네는 몸짓 */
.env.water { animation: e-float 3.2s ease-in-out infinite; }
.env.metal { animation: e-tilt 2.6s ease-in-out infinite; }
.env.wood { animation: e-sway 2.8s ease-in-out infinite; }
.env.fire { animation: e-shake 1.8s ease-in-out infinite; }
.env.earth { animation: e-hop 1.9s ease-in-out infinite; }
@keyframes e-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes e-tilt { 0%, 100% { transform: rotate(-1.5deg); } 50% { transform: rotate(1.5deg); } }
@keyframes e-sway { 0%, 100% { transform: translateX(-4px) rotate(-3deg); } 50% { transform: translateX(4px) rotate(3deg); } }
@keyframes e-shake { 0%, 55%, 100% { transform: rotate(0); } 62% { transform: rotate(-6deg); } 70% { transform: rotate(6deg); } 78% { transform: rotate(-4deg); } 86% { transform: rotate(3deg); } }
@keyframes e-hop { 0%, 60%, 100% { transform: translateY(0); } 75% { transform: translateY(-10px); } 88% { transform: translateY(0) scaleY(.96); } }
.nstage .nt { font-size: 17px; font-weight: 600; color: #fff; line-height: 1.45; margin-top: 18px; min-height: 50px; transition: opacity .25s; text-shadow: 0 0 12px rgba(233,196,106,.6); }
.nstage .hint { font-size: 13px; font-weight: 600; color: var(--gold); margin-top: 6px; animation: nudge 1.4s ease-in-out infinite; }
.nstage .gv { font-size: 12px; color: var(--sub); margin-top: 8px; }
@keyframes nudge { 0%, 100% { transform: translateY(0); opacity: .75; } 50% { transform: translateY(3px); opacity: 1; } }

/* 오늘의 신비 쪽지 — 펼친 뒤(밤하늘 위의 양피지) */
.paper { position: relative; background: #fffdf6; border-radius: 18px; padding: 15px 16px 12px; margin-bottom: 8px; color: var(--n9); box-shadow: 0 8px 26px rgba(0,0,0,.3), 0 0 34px rgba(240,207,122,.28), inset 0 0 0 1px #eee3c8; background-image: linear-gradient(transparent 49.6%, rgba(201,162,74,.12) 50%, transparent 50.4%); }
.paper.unfold { transform-origin: top center; animation: unfold .8s cubic-bezier(.2,.8,.3,1); }
@keyframes unfold { 0% { transform: perspective(700px) rotateX(-80deg) scaleY(.4); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; } }
.paper .ph { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.paper .ph span { color: #a87f28; font-weight: 600; letter-spacing: .3px; }
.paper .ph em { font-style: normal; color: #6b7390; }
.paper .pg { font-size: 14.5px; color: #6b7390; margin-top: 6px; }
.paper .pl { font-size: 19px; font-weight: 600; line-height: 1.45; letter-spacing: -0.5px; color: var(--n9); margin-top: 4px; }
.charm { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; margin-top: 12px; }
.charm div { background: #fff; border: 1px solid #eee3c8; border-radius: 12px; padding: 7px 8px 6px; text-align: center; }
.charm b { display: block; font-size: 11px; color: #a87f28; font-weight: 600; }
.charm span { display: block; font-size: 15px; font-weight: 600; color: var(--n9); margin-top: 1px; }
.charm .sw { margin: 2px 2px 0; width: 16px; height: 16px; border-radius: 50%; border-color: #d9d3e8; }
.charm em { display: block; font-style: normal; font-size: 11px; color: #6b7390; }
.paper .pf { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #6b7390; margin-top: 10px; }
.paper .pf .ch { width: 26px; height: 26px; border-radius: 50%; flex: none; }

/* 신비스런 도장판 */
.stamps .sh { display: flex; justify-content: space-between; align-items: baseline; }
.stamps .sh span { font-size: 12px; color: var(--sub); }
.stamps .sh span b { color: #fff; font-size: 14px; }
.stamps .sl { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 8px 0 6px; }
.stamps .sl i { aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed var(--n4); display: grid; place-items: center; font-style: normal; font-size: 11px; color: var(--n4); }
.stamps .sl i.on { border: 0; background: radial-gradient(circle at 35% 30%, #e86a5e, #b8342b); box-shadow: inset 0 0 0 2px rgba(255,255,255,.35), 0 0 12px rgba(232,106,94,.55); }
.stamps .sl i.on span { color: #fff; font-family: "Noto Serif KR", Batang, serif; font-size: 15px; font-weight: 900; transform: rotate(-12deg); }
.stamps .sl i.pop { animation: stamp .55s cubic-bezier(.3,1.6,.5,1) .5s both; }
@keyframes stamp { 0% { transform: scale(1.5) rotate(-20deg); opacity: 0; } 100% { transform: scale(1) rotate(0); opacity: 1; } }   /* 11-01 2.4배는 찍히는 순간 아래 글을 덮었다 */
.stamps .note b { color: #ff9a9a; }

/* 탭 */
.tabs { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 440px; height: 64px; background: rgba(6,11,31,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--glassb); display: grid; grid-template-columns: repeat(5, 1fr); padding: 8px 4px 0; z-index: 5; }
.tabs button { border: 0; background: none; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10.5px; color: var(--mute); cursor: pointer; }
.tabs button.on { color: #f0d58c; font-weight: 600; text-shadow: 0 0 10px rgba(233,196,106,.8); }
.tabs button.on svg { filter: drop-shadow(0 0 6px rgba(233,196,106,.9)); }
.tabs svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.toast { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); background: #16244f; border: 1px solid var(--glassb); color: #fff; font-size: 13px; padding: 9px 16px; border-radius: 20px; z-index: 9; opacity: 0; transition: opacity .25s; pointer-events: none; white-space: nowrap; }
.toast.on { opacity: .97; }

/* 풀이 */
.prod { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; width: 100%; text-align: left; background: var(--glass); border: 1px solid var(--glassb); border-radius: 18px; padding: 12px; margin-bottom: 9px; cursor: pointer; color: var(--ink); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.prod:not(.off):hover { box-shadow: 0 0 22px rgba(233,196,106,.35); }
.prod.off { opacity: .55; cursor: default; }
.prod .ch { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 0 16px 1px var(--c); }
.prod .pt b { display: block; font-size: 15.5px; }
.prod .pt span { display: block; font-size: 12.5px; color: var(--sub); line-height: 1.5; margin-top: 2px; }
.prod .pt em { display: inline-block; font-style: normal; font-size: 11.5px; font-weight: 600; color: #eef0f8; background: var(--n2); border-radius: 9px; padding: 1px 8px; margin-top: 6px; }
.hero.ny .sum { font-size: 14px; line-height: 1.7; opacity: .93; margin-top: 10px; }
.tj { display: flex; gap: 12px; align-items: center; }
.tj .code { flex: none; width: 64px; height: 64px; border-radius: 16px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 22px; font-weight: 600; letter-spacing: 1px; box-shadow: var(--glow); }
.card p { line-height: 1.7; }
.mo { padding: 9px 0; border-top: 1px solid var(--line); }
.mo:first-of-type { border-top: 0; padding-top: 4px; }
.mo .mh { display: flex; align-items: baseline; gap: 8px; }
.mo .mh b { font-size: 14.5px; min-width: 46px; }
.mo .mh em { margin-left: auto; font-style: normal; font-size: 11.5px; font-weight: 600; padding: 1px 8px; border-radius: 9px; background: var(--n1); color: var(--sub); }
.mo .mh em.good { background: rgba(233,196,106,.3); color: #eef0f8; }
.mo .mh em.chg { background: transparent; border: 1px dashed var(--n4); color: var(--hi); }
.mo .mh em.slow { background: transparent; border: 1px solid var(--line); }
.mo p { font-size: 13.5px; margin-top: 2px; }

/* 평생 풀이 */
textarea.in { resize: vertical; line-height: 1.55; font-size: 15px; }
.sec { font-size: 17px; font-weight: 600; letter-spacing: -0.5px; line-height: 1.4; margin: 20px 2px 8px; }
.sec .no { display: block; font-size: 11.5px; color: var(--n5); letter-spacing: 0; margin-bottom: 1px; }
.card.dark { background: linear-gradient(150deg, rgba(31,60,140,.6), rgba(14,24,58,.75)); color: #eef0f8; }
.card.dark h4 { color: #f0d58c; }
.card h5 { font-size: 14.5px; font-weight: 600; margin: 12px 0 3px; line-height: 1.45; }
.card h5:first-child { margin-top: 0; }
.card p + p { margin-top: 8px; }
.ans { padding: 8px 0; border-top: 1px solid var(--line); }
.ans:first-of-type { border-top: 0; padding-top: 2px; }
.ans b { color: var(--hi); font-size: 13px; }
.flip { display: grid; grid-template-columns: 1fr 1fr; border-radius: 16px; overflow: hidden; margin-bottom: 8px; background: var(--glass); border: 1px solid var(--glassb); }
.flip div { padding: 9px 11px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.5; }
.flip .h { font-size: 11.5px; font-weight: 600; color: var(--mute); border-top: 0; padding: 8px 11px 6px; }
.flip .h.fi { background: rgba(110,70,230,.45); color: #eef0f8; }
.flip .fi { background: var(--n2); color: #fff; font-weight: 600; }
.flip .fo { color: var(--sub); }
.honest { border-left: 3px solid var(--n7); padding: 1px 0 1px 12px; margin: 4px 0 14px; }
.honest:last-child { margin-bottom: 2px; }
.honest b { font-size: 14.5px; line-height: 1.45; display: block; }
.honest p { margin-top: 3px !important; font-size: 13.5px; }
.honest .fx { color: var(--hi); font-weight: 600; }
.yrs .yr { padding: 9px 0; border-top: 1px solid var(--line); }
.yrs .yr:first-child { border-top: 0; padding-top: 2px; }
.yrs .yh { display: flex; align-items: center; gap: 7px; }
.yrs .yh b { font-size: 15px; }
.yrs .dt i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--n3); margin-right: 2px; }
.yrs .dt i.on { background: var(--n5); box-shadow: 0 0 6px rgba(166,140,255,.9); }
.yrs .yr.slow .dt i.on { background: #5b6a9c; box-shadow: none; }
.yrs .yh em { margin-left: auto; font-style: normal; font-size: 11.5px; font-weight: 600; padding: 1px 8px; border-radius: 9px; background: var(--n1); color: var(--sub); }
.yrs .yr.good em { background: rgba(233,196,106,.3); color: #eef0f8; }
.yrs .yt { font-size: 14px; font-weight: 600; margin-top: 3px; }
.talisman { background: radial-gradient(circle at 50% 0%, rgba(160,110,255,.45), transparent 65%), linear-gradient(180deg, #24175e, #120c36); border: 1px solid rgba(240,207,122,.35); color: #fff; border-radius: 18px; padding: 24px 22px 20px; text-align: center; position: relative; margin: 0 0 8px; box-shadow: 0 0 30px rgba(240,207,122,.15); }
.talisman .tp { font-size: 11.5px; color: var(--gold); letter-spacing: 1.5px; }
.talisman .tp.s { letter-spacing: 0; color: var(--sub); }
.talisman .tw { font-size: 19px; line-height: 1.6; font-weight: 600; letter-spacing: -0.5px; margin: 14px 0; }
.talisman .tl { width: 36px; height: 1px; background: rgba(240,207,122,.5); margin: 0 auto; }
.talisman .tseal { position: absolute; right: 16px; bottom: 14px; width: 32px; height: 32px; border: 2px solid var(--gold); color: var(--gold); border-radius: 6px; display: grid; place-items: center; font-size: 15px; transform: rotate(-8deg); }
.saju { width: 100%; border-collapse: collapse; table-layout: fixed; margin-bottom: 8px; }
.saju th, .saju td { border: 1px solid var(--line); text-align: center; padding: 4px 2px; font-size: 11px; color: var(--sub); }
.saju th { font-weight: 600; background: var(--n1); }
.saju .me { background: var(--n2); color: #fff; }
.saju .big { display: block; font-size: 19px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.saju small { display: block; font-size: 10.5px; }
.five { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; margin-bottom: 8px; }
.five div { background: var(--n1); border-radius: 8px; padding: 4px; text-align: center; font-size: 11px; color: var(--sub); }
.five b { display: block; font-size: 15px; color: var(--ink); }
.five .hi { background: var(--grad); color: #eef0f8; } .five .hi b { color: #fff; }
.five .zero { background: transparent; border: 1px dashed var(--n4); }

/* 경계 출생 */
.bnd { background: var(--glass); border: 1.5px solid var(--n4); border-radius: 16px; padding: 12px 13px; margin-bottom: 16px; }
.bnd .bh { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.bnd p { font-size: 13px; line-height: 1.6; }
.bnd p b { color: var(--hi); }
.bopts { display: grid; gap: 7px; margin: 10px 0 8px; }
.bo { text-align: left; background: rgba(255,255,255,.05); border: 1px solid var(--glassb); border-radius: 12px; padding: 9px 12px; cursor: pointer; color: var(--ink); }
.bo b { display: block; font-size: 14px; }
.bo b em { font-style: normal; font-size: 11px; font-weight: 600; color: #fff; background: var(--grad); border-radius: 8px; padding: 1px 7px; margin-left: 4px; vertical-align: 1px; }
.bo span { display: block; font-size: 13px; color: var(--ink); margin-top: 2px; }
.bo small { display: block; font-size: 11.5px; color: var(--mute); }
.bo.on { border: 2px solid var(--n5); background: var(--n2); padding: 8px 11px; box-shadow: 0 0 14px rgba(233,196,106,.35); }

/* ── 글씨체 두 가지(11-01 대표님: 붓펜은 작아 노안에 안 보인다 · 풀이는 명조도 고딕도 말고 노안에 잘 보이는 세련된 요즘 글씨) ──
   제목 · 로고 · 비서 이름 · 칸 이름 = 주아(굵고 둥근) / 풀이 · 본문 = 나눔스퀘어라운드. 글씨는 전체적으로 한 단계 크게 */
:root { --body: "NanumSquareRound", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; --disp: Jua, "NanumSquareRound", "Malgun Gothic", sans-serif; }
body, button, input, select, textarea { font-family: var(--body); }
body { font-size: 15.5px; line-height: 1.65; word-break: keep-all; overflow-wrap: anywhere; }
.note { font-size: 13.5px; }
.top .t, .ask, .pc .nm, .card h4, .card h5, .kv > b, .sec, .prod .pt b, .paper .ph span, .nstage .nt, .hero .l, .talisman .tp, .tj .code, .bnd .bh, .flip .h, .ans b, .charm b, .why-h, .ptitle {
  font-family: var(--disp); font-weight: 400; letter-spacing: 0; }
.top .t { font-size: 22px; }
.ask { font-size: 23px; line-height: 1.35; }
.pc .nm { font-size: 19px; }
.pc .nm span { font-family: var(--body); }
.pc p { font-size: 13px; }
.card h4 { font-size: 15.5px; margin-bottom: 4px; }
.card h5 { font-size: 17.5px; line-height: 1.35; }
.kv { grid-template-columns: 80px 1fr; }
.kv > b { font-size: 15px; line-height: 1.35; }
.sec { font-size: 21px; line-height: 1.3; }
.sec .no { font-family: var(--body); font-size: 12px; }
.prod .pt b { font-size: 19px; }
.prod .pt span { font-size: 13.5px; }
.paper .ph span { font-size: 15px; }
.paper .pg { font-size: 15px; }
.paper .pl { font-size: 19px; line-height: 1.5; font-weight: 800; }
.nstage .nt { font-size: 21px; line-height: 1.35; }
.hero .l { font-size: 27px !important; line-height: 1.3 !important; }
.talisman .tp { font-size: 14px; }
.talisman .tw { font-size: 20px; }
.tj .code { font-size: 24px; }
.bnd .bh { font-size: 18px; }
.flip .h { font-size: 14px; }
.flip div { font-size: 14px; }
.ans b { font-size: 15px; }
.charm b { font-size: 13px; }
.charm span { font-size: 17px; }
.why-h { font-size: 16px; color: var(--hi); margin: 4px 0 4px; }
.days div { font-size: 12px; } .days div b { font-size: 14px; } .days em { font-size: 11.5px; }
.tabs button { font-size: 12px; }
.bio div { font-size: 12.5px; } .bio div b { font-size: 18px; } .bio .lvw { font-size: 12.5px; }
.word span { font-size: 16px; }
.stamps .sh span { font-size: 13px; }
/* 화면 제목(다음 페이지부터 로고 자리) — 「오늘의 기운」 */
.ptitle { font-size: 25px; line-height: 1.2; background: linear-gradient(90deg, #e9c46a, #fff3c9 55%, #e9c46a); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 8px rgba(233,196,106,.45)); }
/* 로고 글씨 — 함렛 가장 굵게(11-05 「별빛」 시안). 「신」 · 「비」 66 · 「내린」 · 「서」 42 는 app.js brand() 의 tspan 이 정한다 */
.brand text { font-family: Hahmlet, Jua, "Malgun Gothic", serif; font-weight: 900; font-size: 42px; stroke-width: .6px; letter-spacing: 0; }
.brand text.hb { font-size: 66px; }
/* 「신」 · 「비」 뒤 금빛 번짐 — 두근두근과 같은 박자 · 위 반짝이 별은 .dt 처럼 깜빡 */
.brand .gl { transform-box: fill-box; transform-origin: center; animation: heartbeat 1.4s ease-in-out infinite; }
/* 11-07 대표님 「신 · 비가 같은 박자로」 — 「비」만 .12초 늦던 것을 뺐다(.hb.b2 · .gl.b2 모두) */
.brand .st { transform-box: fill-box; transform-origin: center; animation: twinkle 2.2s ease-in-out infinite; }
.brand .st.d2 { animation-delay: 1.1s; }
@media (prefers-reduced-motion: reduce) { .brand .gl, .brand .st { animation: none; } }

/* ── 택일(중요한 날 고르기) 11-01 ── 노안 손님 — 날짜 숫자 15px 이상 */
.tkd { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 6px; align-items: center; margin-top: 9px; color: var(--sub); }
.tkd .in { font-size: 15px; padding: 9px 8px; color-scheme: dark; min-width: 0; width: 100%; }
.tkday .th { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.tkday .th b { font-size: 16.5px; }
.tkday.big .th b { font-size: 19px; }
.tkday .th em { font-style: normal; font-size: 12.5px; font-weight: 600; padding: 2px 9px; border-radius: 10px; }
.tkday .th em.best { background: var(--gold); color: #3a2a00; }
.tkday .note { margin: 3px 0 6px; }
.tkday ul { list-style: none; margin: 6px 0 0; padding: 0; }
.tkday li { position: relative; padding-left: 18px; line-height: 1.6; font-size: 15px; margin-top: 3px; }
.tkday .why li::before { content: "○"; position: absolute; left: 0; color: var(--gold); font-size: 12px; top: 2px; }
.tkday .care li { color: var(--sub); }
.tkday .care li::before { content: "△"; position: absolute; left: 0; color: var(--sub); font-size: 11px; top: 3px; }
.tkday .out { color: var(--sub); line-height: 1.6; margin-top: 6px; }
.tkday .hr { display: grid; grid-template-columns: 74px 1fr; gap: 8px; margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--line); }
.tkday .hr b { color: var(--hi); font-size: 14px; }
.tkday .hr span { font-size: 15px; line-height: 1.55; }
em.g1, .tklg .g1::before { background: var(--gold); color: #3a2a00; }
em.g2, .tklg .g2::before { background: rgba(233,196,106,.55); color: #fff; }
em.g3, .tklg .g3::before { background: var(--n1); color: var(--sub); border: 1px solid var(--line); }
em.g4 { background: transparent; color: var(--mute); border: 1px solid var(--line); }
em.g5, .tklg .g5::before { background: transparent; color: var(--mute); border: 1px dashed var(--mute); }
.tklg { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 12.5px; color: var(--sub); margin: 0 2px 8px; }
.tklg span { display: inline-flex; align-items: center; gap: 5px; }
.tklg span::before { content: ""; width: 14px; height: 14px; border-radius: 5px; display: inline-block; }
.tklg .pk::before { box-shadow: inset 0 0 0 2px #fff; }
.tkcal .cw, .tkcal .cg { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.tkcal .cw span { font-size: 12px; color: var(--mute); padding: 4px 0; }
.tkcal .cw span:first-child { color: #ff9a9a; }
.tkcal .cg button, .tkcal .cg i { font-style: normal; font-size: 15.5px; height: 40px; border-radius: 10px; border: 0; display: flex; align-items: center; justify-content: center; position: relative; }
.tkcal .cg i.no { color: rgba(255,255,255,.18); }
.tkcal .cg button { cursor: pointer; color: var(--ink); background: var(--n1); font-family: inherit; }
.tkcal .cg button.g1 { background: var(--gold); color: #3a2a00; font-weight: 700; }
.tkcal .cg button.g2 { background: rgba(233,196,106,.55); color: #fff; font-weight: 600; }
.tkcal .cg button.g4 { background: transparent; color: var(--sub); }
.tkcal .cg button.g5 { background: transparent; color: var(--mute); text-decoration: line-through; }
.tkcal .cg button.pk { box-shadow: inset 0 0 0 2px #fff; }
.tkcal .cg button.son::after { content: ""; position: absolute; bottom: 4px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; opacity: .7; }
.tkcal .cg button.sel { outline: 2px solid var(--hi); outline-offset: 2px; }
.tkcal .cd:not(:empty) { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.tklg .sn::before { width: 5px; height: 5px; border-radius: 50%; background: var(--sub); margin: 0 4px; }
/* 택일 — 함께 볼 사람 · 후보 날짜 고르기 · 순위(11-01) */
.tkp { margin-top: 10px; display: grid; gap: 8px; }
.tkp > * { margin: 0; }
.tkb { display: grid; grid-template-columns: 1.6fr auto 1fr auto 1fr auto; gap: 6px; align-items: center; color: var(--sub); font-size: 14px; }
.tkb .in { text-align: center; padding: 10px 6px; }
.tkpick { margin-top: 10px; }
.tkpick .ph { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.tkpick .ph b { font-size: 16.5px; }
.tkpick .ph button { width: 40px; height: 36px; border-radius: 10px; border: 1px solid var(--glassb); background: var(--n1); color: var(--ink); font-size: 20px; cursor: pointer; }
.tkpick .ph button:disabled { opacity: .3; cursor: default; }
.tkpick .cw, .tkpick .cg { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.tkpick .cw span { font-size: 12px; color: var(--mute); padding: 4px 0; }
.tkpick .cw span:first-child { color: #ff9a9a; }
.tkpick .cg button, .tkpick .cg i { font-style: normal; font-size: 15.5px; height: 40px; border-radius: 50%; border: 0; display: flex; align-items: center; justify-content: center; background: transparent; color: var(--ink); font-family: inherit; }
.tkpick .cg button { cursor: pointer; }
.tkpick .cg button.on { background: var(--grad); color: #fff; font-weight: 700; box-shadow: 0 2px 10px rgba(233,196,106,.45); }
.tkpick .cg i.no { color: rgba(255,255,255,.18); }
.tkpick .sl { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 6px; }
.tkpick .sl button { font-size: 13.5px; padding: 5px 10px; border-radius: 14px; border: 0; background: var(--grad); color: #fff; cursor: pointer; font-family: inherit; }
.tkday .rk { font-size: 13px; font-weight: 700; color: #3a2a00; background: var(--gold); border-radius: 50%; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; }
/* 택일 풀이 글(990원판) */
.tkday h5 { font-size: 16.5px; margin: 12px 0 2px; color: #fff; }
.tkday .tx p { font-size: 15.5px; line-height: 1.75; margin-top: 6px; }
.hero .g + .g, .hero .l + .g { margin-top: 6px; opacity: .85; }

/* ── 비서 고르기 카드(11-01 대표님 견본: 캐릭터 카드 모음) ── 색 카드 · 굵은 머리글 · 캐릭터가 위로 튀어나옴 · 아래 이름 · 오른쪽 아래 한마디 */
.crew { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 10px; padding-top: 16px; }
.bc { position: relative; height: 172px; border: 0; border-radius: 22px; cursor: pointer; text-align: left; overflow: visible; font-family: inherit;
  box-shadow: 0 8px 22px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.45); transition: transform .15s ease, box-shadow .15s ease; --t: #fff; --d: #241a5a; }
.bc.water { background: linear-gradient(160deg, #a6cdff 0%, #5f7ff3 100%); }
.bc.metal { background: linear-gradient(160deg, #f4f1fc 0%, #b9bfd6 100%); --t: #22305e; }
.bc.wood { background: linear-gradient(160deg, #bdf3cf 0%, #46c6a3 100%); }
.bc.fire { background: linear-gradient(160deg, #ffbba6 0%, #ff6d92 100%); }
.bc.earth { background: linear-gradient(160deg, #fff2ab 0%, #ffb94f 100%); --d: #5a3a00; }
.bc .hd { position: absolute; left: 13px; top: 12px; font-family: var(--disp); font-size: 15.5px; line-height: 1.08; color: var(--d); z-index: 1; letter-spacing: -.3px; }
.bc .hd i { font-style: normal; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.25); }
.bc.metal .hd i { color: var(--t); text-shadow: none; }
.bc .mk { position: absolute; right: 10px; top: 10px; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.85); color: var(--d); font-family: var(--disp); font-size: 12.5px; display: flex; align-items: center; justify-content: center; z-index: 1; }
.bc img { position: absolute; right: -6px; top: -20px; width: 132px; height: auto; z-index: 2; filter: drop-shadow(0 6px 8px rgba(0,0,0,.25)); pointer-events: none; transition: transform .2s ease; }
.bc .nm { position: absolute; left: 13px; bottom: 11px; z-index: 3; font-family: var(--disp); font-size: 23px; line-height: 1; color: var(--t); text-shadow: 0 1px 4px rgba(0,0,0,.18); }
.bc.metal .nm { text-shadow: none; }
.bc .nm small { display: block; margin-top: 4px; font-family: var(--body); font-size: 11.5px; font-weight: 800; letter-spacing: 1px; opacity: .9; }
.bc .tg { position: absolute; right: 11px; bottom: 11px; z-index: 3; font-size: 11px; font-weight: 800; line-height: 1.12; text-align: right; color: var(--d); }
.bc .rec { position: absolute; left: 12px; top: -12px; z-index: 4; font-size: 12.5px; font-weight: 700; padding: 4px 11px; border-radius: 12px; background: var(--gold); color: #3a2a00; box-shadow: 0 3px 10px rgba(0,0,0,.3); }
.bc .ck { position: absolute; right: 8px; top: 8px; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: #6d4bff; font-size: 18px; font-weight: 900; display: flex; align-items: center; justify-content: center; z-index: 4; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.bc.sel { box-shadow: 0 0 0 3px #fff, 0 0 26px 4px rgba(190,160,255,.75); transform: translateY(-2px); }
.bc.sel img { transform: scale(1.06) translateY(-4px); }
.bc:not(.sel) { filter: saturate(.92); }
.bc.wide { grid-column: 1 / -1; height: 190px; }
.bc.wide .hd { font-size: 21px; top: 26px; left: 18px; }
.bc.wide img { width: 196px; right: 8px; top: -30px; }
.bc.wide .nm { font-size: 30px; left: 18px; bottom: 16px; }
.bc.wide .nm small { font-size: 13px; }
.bc.wide .tg { font-size: 12.5px; right: auto; left: 128px; bottom: 18px; text-align: left; }
.bc.wide .mk { display: none; }

/* ── 결제 화면(11-01 대표님 견본: 사주아이 「국내카드 결제」) — 토스 위젯이 흰 바탕이라 이 화면만 흰 종이 ── */
.paypage { background: radial-gradient(120% 70% at 20% 0%, #2a3a7a 0%, #16244f 42%, #070d24 100%); color: #eef0fa; min-height: calc(100vh + 76px); margin-bottom: -76px; padding: 0 18px 130px; color-scheme: light; position: relative; z-index: 1; }
.payh { display: flex; align-items: center; justify-content: center; height: 56px; position: relative; border-bottom: 1px solid rgba(233,196,106,.25); margin: 0 -18px 18px; }
.payh b { font-size: 17px; font-weight: 700; color: #fff; font-family: var(--body); }
.payh button { position: absolute; left: 10px; top: 8px; width: 40px; height: 40px; border: 0; background: none; font-size: 30px; color: #f1d58a; cursor: pointer; }
.pbox { display: flex; justify-content: space-between; align-items: flex-start; background: rgba(255,255,255,.07); border: 1px solid rgba(233,196,106,.55); border-radius: 16px; padding: 16px 18px; }
.pbox b { display: block; font-size: 16.5px; color: #fff; font-family: var(--body); font-weight: 800; }
.pbox span { display: block; font-size: 13.5px; color: #c9d0ea; margin-top: 6px; line-height: 1.55; }
.pbox em { font-style: normal; font-size: 21px; font-weight: 800; color: #ffd66b; text-shadow: 0 0 10px rgba(255,214,107,.35); white-space: nowrap; flex: none; margin-left: 12px; }
.paypage h3 { font-size: 18px; font-weight: 800; color: #fff; margin: 26px 0 6px; font-family: var(--body); }
.paywait { color: #c9d0ea; font-size: 14px; padding: 20px 0; text-align: center; }
.paytest { font-size: 13px; color: #c2410c; background: #fff4e5; border-radius: 10px; padding: 8px 12px; margin-top: 10px; }
.paynote { font-size: 12.5px; color: #aab2d0; line-height: 1.6; margin-top: 12px; }
.paynote a { color: #f1d58a; }
/* 11-11 대표님 「결제창이 흰색이라 안 이쁘다」 — 바탕은 앱과 같은 남색, 토스 위젯(흰 바탕 고정)은 둥근 흰 카드에 담는다 */
#payment-method, #agreement { background: #fff; color-scheme: light; overflow: hidden; }
#payment-method { border-radius: 16px 16px 0 0; margin-top: 14px; }
#agreement { border-radius: 0 0 16px 16px; }
#payment-method .paywait { color: #8b8b95; }
.paybar { position: fixed; left: 0; right: 0; bottom: 0; background: #0b1230; border-top: 1px solid rgba(233,196,106,.25); padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); z-index: 5; max-width: 440px; margin: 0 auto; }
.paybar .btn { background: #e9c46a; box-shadow: none; font-size: 17px; border-radius: 14px; }
.paybar .btn:disabled { background: #4a5380; color: #c9d0ea; }
/* 사업자 정보 · 약관 링크(앱 화면 아래, 11-01) */
.bizft { color: var(--mute); font-size: 12px; line-height: 1.7; margin: 26px 2px 8px; padding-top: 14px; border-top: 1px solid var(--line); text-align: left; }
.bizft .ln { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 6px; }
.bizft .ln a { color: var(--sub); text-decoration: none; font-size: 13px; }
.bizft p { margin: 0; }
.btn.warn { color: #ffb4b4; border-color: rgba(255,140,140,.5); }
.paynote a { color: #f1d58a; }

/* ── 상담(11-01) ── 말풍선 · 물어보기 단추 · 아래 입력줄(탭 위) · 다 쓰면 타이머 · 위기 전화 카드 */
.chatpage { padding-bottom: 150px; }
.chatlog { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.ms { display: flex; gap: 8px; align-items: flex-start; max-width: 92%; }
.ms .nm { font-size: 12.5px; color: var(--hi); font-weight: 700; margin: 0 0 3px 2px; }
.ms .b { background: var(--glass); border: 1px solid var(--glassb); border-radius: 4px 16px 16px 16px; padding: 10px 13px; font-size: 15.5px; line-height: 1.7; color: var(--ink); }
.cav { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.cav.water { background: #a6cdff; } .cav.metal { background: #e6e2f7; } .cav.wood { background: #bdf3cf; } .cav.fire { background: #ffbba6; } .cav.earth { background: #fff2ab; }
.cav img { width: 46px; height: 46px; object-fit: cover; object-position: center 18%; }
.mu { display: flex; justify-content: flex-end; }
.mu .b { background: var(--grad); color: #fff; border-radius: 16px 16px 4px 16px; padding: 10px 13px; max-width: 80%; font-size: 15.5px; line-height: 1.6; box-shadow: 0 2px 10px rgba(233,196,106,.35); }
.typing { display: flex; gap: 5px; padding: 14px 16px !important; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--hi); animation: tdot 1.2s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes tdot { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }
.asks { margin-top: 14px; }
.asks button { font-size: 14.5px; padding: 9px 14px; text-align: left; }
.chatwarn { margin-top: 14px; font-size: 12px; text-align: center; }
.chatbar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 64px; width: 100%; max-width: 440px; display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; background: rgba(6,11,31,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--glassb); z-index: 5; }
.chatbar textarea { flex: 1; resize: none; background: rgba(255,255,255,.07); border: 1px solid var(--glassb); border-radius: 14px; padding: 10px 12px; font-size: 16px; line-height: 1.45; color: var(--ink); font-family: inherit; outline: none; max-height: 120px; }
.chatbar textarea:disabled { opacity: .5; }
.chatbar button { flex: none; height: 44px; padding: 0 16px; border: 0; border-radius: 14px; background: var(--grad); color: #fff; font-weight: 700; font-size: 15px; font-family: inherit; cursor: pointer; }
.chatbar button:disabled { background: rgba(255,255,255,.1); color: var(--mute); }
.refill { text-align: center; margin-top: 16px; }
.refill p { margin-top: 2px; }
.refill .clock { font-family: var(--disp); font-size: 38px; letter-spacing: 1px; margin: 4px 0 6px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sos { margin-top: 8px; background: rgba(255,120,120,.12); border: 1px solid rgba(255,150,150,.45); border-radius: 14px; padding: 10px 12px; display: grid; gap: 6px; }
.sos b { font-size: 14.5px; color: #ffd1d1; }
.sos a { display: block; background: rgba(255,255,255,.95); color: #b4232c; border-radius: 10px; padding: 9px 12px; font-weight: 800; font-size: 15.5px; text-decoration: none; }
/* 풀이 탭 위 무료 상담 띠 */
.chatband { width: 100%; display: flex; align-items: center; gap: 10px; text-align: left; background: linear-gradient(120deg, rgba(255,214,120,.18), rgba(233,196,106,.22)); border: 1px solid var(--glassb); border-radius: 16px; padding: 9px 12px; margin-bottom: 10px; cursor: pointer; color: var(--ink); font-family: inherit; }
.chatband .ch { width: 42px; height: 42px; border-radius: 50%; flex: none; }
.chatband span { flex: 1; font-size: 14px; color: var(--sub); line-height: 1.4; }
.chatband b { display: block; color: var(--gold); font-size: 15px; }
.chatband i { font-style: normal; color: #fff; font-weight: 800; letter-spacing: .5px; }
.chatband em { font-style: normal; font-size: 24px; color: var(--hi); }
/* 상담 2판(11-01 사주아이 햄스T 화면 참고) — 머리 · 무료/상담권 칸 · 날짜 · 말풍선 여러 개 · 시각/복사 · 이어 물을 말 · 마이크 */
.chhd { display: flex; gap: 10px; align-items: center; padding: 6px 0 8px; }
.chhd .cav { flex: 0 0 52px; width: 52px; height: 52px; }
.chhd .cav img { width: 60px; height: 60px; }
.chhd b { display: block; font-family: var(--disp); font-size: 20px; font-weight: 400; }
.chhd span { font-size: 13px; color: var(--sub); }
.chct { display: flex; gap: 6px; margin-bottom: 4px; }
.chct span { font-size: 13px; font-weight: 700; padding: 4px 11px; border-radius: 14px; border: 1px solid var(--glassb); color: var(--mute); background: var(--n1); }
.chct span.on { color: #fff; background: rgba(233,196,106,.4); border-color: rgba(233,196,106,.5); }
.chatlog .day { align-self: center; font-size: 12.5px; color: var(--mute); margin: 6px 0 2px; }
.ms .col { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; min-width: 0; }
.ms .col .nm { margin-bottom: 0; }
.ms .mt { font-size: 12px; color: var(--mute); display: flex; gap: 10px; align-items: center; margin-left: 4px; }
.ms .mt .cp { background: none; border: 0; color: var(--sub); font-size: 12px; cursor: pointer; padding: 2px 4px; font-family: inherit; text-decoration: underline; }
.chatbar { flex-direction: column; align-items: stretch; gap: 8px; }
.chatbar .row { display: flex; gap: 8px; align-items: flex-end; }
.chatbar .mic { flex: none; width: 44px; padding: 0; background: rgba(255,255,255,.08); border: 1px solid var(--glassb); font-size: 18px; }
.chatbar .mic.on { background: #e5484d; color: #fff; animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(229,72,77,.25); } }
.nexts { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.nexts::-webkit-scrollbar { display: none; }
.nexts button { flex: none; max-width: 78%; text-align: left; background: rgba(255,255,255,.95); color: #2a2160; border: 0; border-radius: 14px; padding: 9px 12px; font-size: 14px; font-weight: 600; line-height: 1.4; font-family: inherit; cursor: pointer; display: flex; gap: 8px; align-items: center; }
.nexts button i { font-style: normal; color: #e0569a; font-weight: 800; }
.nexts button .tti { width: 17px; height: 14px; vertical-align: -2px; margin-left: 6px; }   /* 11-21 이어 물을 말 = 떡으로만 — 떡 딱지 */
.chatpage { padding-bottom: 200px; }

/* 공유하기 — 공유창이 없는 브라우저(카톡 안 · PC)용 그림 저장 창 (11-01) */
.shs { position: fixed; inset: 0; z-index: 60; background: rgba(6,11,31,.78); display: flex; align-items: flex-end; justify-content: center; }
.shb { width: 100%; max-width: 480px; background: #1a1240; border-radius: 22px 22px 0 0; padding: 18px 18px 22px; max-height: 92vh; overflow: auto; }
.shb h4 { margin: 0 0 10px; font-size: 16.5px; }
.shb img { display: block; width: 62%; margin: 0 auto 10px; border-radius: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.shb .note { text-align: center; margin-bottom: 10px; }
.shb .btn { display: block; text-align: center; text-decoration: none; margin-top: 8px; }

/* 공유 카드를 보고 들어온 분께 첫 줄 (11-01) */
.fromshare { margin: 0 0 14px; padding: 12px 14px; border-radius: 16px; background: linear-gradient(135deg, rgba(255,224,138,.18), rgba(233,196,106,.18)); border: 1px solid rgba(255,224,138,.4); text-align: left; }
.fromshare b { display: block; color: #ffe08a; font-size: 15px; margin-bottom: 2px; }
.fromshare span { color: #eef0f8; font-size: 14px; line-height: 1.55; }
.fromshare .fs-go { display: block; margin-top: 10px; border: 0; border-radius: 20px; padding: 8px 15px; background: #e9c46a; color: #1a1a2e; font-weight: 800; font-size: 13.5px; font-family: inherit; cursor: pointer; }   /* 11-09 대표님 「안내 칸에 바로 가는 단추」 */

/* 연운 — 해 고르기 (11-01) */
.ybs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.yb { position: relative; text-align: left; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--n1); color: var(--ink); cursor: pointer; }
.yb b { display: block; font-size: 19px; margin-bottom: 2px; }
.yb span { display: block; font-size: 13px; color: var(--sub); line-height: 1.5; }
.yb em { position: absolute; top: 10px; right: 10px; font-style: normal; font-size: 11.5px; font-weight: 700; color: #ffe08a; }
.yb.have { border-color: rgba(255,224,138,.5); }
.yb:active { transform: scale(.98); }

/* 사람 · 궁합 (11-01) */
.btn.sm { padding: 9px 10px; font-size: 13.5px; border-radius: 12px; }
.ppl0 { display: flex; gap: 12px; align-items: center; }
.ppl0 .chimg, .ppl0 img { width: 64px; height: 64px; flex: none; }
.pcard .ph { display: flex; gap: 12px; align-items: center; }
.pcard .ph > div { flex: 1; min-width: 0; }
.pcard .ph b { font-size: 17px; margin-right: 6px; }
.pav { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 19px; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.pav.water { background: linear-gradient(135deg, #3b5bd6, #1d2a6e); } .pav.metal { background: linear-gradient(135deg, #8a86b4, #3d3a5e); } .pav.wood { background: linear-gradient(135deg, #2fa37f, #165447); }
.pav.fire { background: linear-gradient(135deg, #e0567f, #7a2346); } .pav.earth { background: linear-gradient(135deg, #d6a13a, #6e4d14); }
.gscore { font-style: normal; font-size: 26px; font-weight: 800; color: #ffe08a; } .gscore small { font-size: 13px; margin-left: 1px; }
.pcard .pg { margin: 10px 0 0; font-size: 14.5px; }
/* 「오늘 ○○님과는」 — 밝은 날 금색 · 보통 보라 · 살살 갈 날 잿빛 */
.ptd { margin-top: 12px; padding: 11px 13px; border-radius: 14px; background: rgba(255,255,255,.05); border-left: 3px solid #e9c46a; }
.ptd.good { border-left-color: #f5c94e; background: rgba(245,201,78,.09); }
.ptd.slow { border-left-color: #7f8bb8; }
.ptd.wait { border-left-color: rgba(255,255,255,.2); }
.ptd .pl { font-size: 12.5px; color: var(--sub); }
.ptd b { display: block; font-size: 16.5px; font-weight: 800; color: #fff; margin: 2px 0 4px; letter-spacing: -0.3px; }
.ptd.good b { color: #ffe08a; }
.ptd p { margin: 0; font-size: 14.5px; }
.ptd .why { margin-top: 6px; font-size: 13px; color: var(--sub); }
.pacts { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 6px; margin-top: 10px; }
.hero.gh { text-align: center; }
.gring { width: 112px; height: 112px; margin: 12px auto 4px; border-radius: 50%; display: grid; place-items: center; align-content: center; background: radial-gradient(circle, rgba(255,224,138,.22), rgba(255,255,255,.04) 70%); border: 3px solid rgba(255,224,138,.75); }
.gring b { font-size: 44px; line-height: 1; color: #ffe08a; } .gring small { font-size: 14px; color: #ffe08a; }
.gbar { display: grid; grid-template-columns: 76px 1fr 30px; gap: 10px; align-items: center; margin: 7px 0; font-size: 14px; }
.gbar i { height: 10px; border-radius: 6px; background: rgba(255,255,255,.1); overflow: hidden; } .gbar i b { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #e9c46a, #ffe08a); }
.gbar em { font-style: normal; font-weight: 800; text-align: right; }
.gpair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gwho { display: flex; gap: 10px; align-items: center; min-width: 0; } .gwho > div { min-width: 0; word-break: keep-all; } .gwho .pav { flex: none; } .gwho b { font-size: 15px; }
.say { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255,224,138,.1); border-left: 3px solid #ffe08a; font-size: 14.5px; }
.say span { display: block; font-size: 12px; color: #ffe08a; margin-bottom: 2px; font-weight: 700; }
.kv span.good { color: #9ff0c0; } .kv span.slow { color: #b9c3ff; } .kv span.chg { color: #ffe08a; }

/* 아침 알림 권유 (11-01) */
.pushask { display: flex; gap: 12px; align-items: flex-start; border-color: rgba(255,224,138,.4); }
.pushask .pi { font-size: 26px; line-height: 1; margin-top: 2px; }
.pushask h4 { margin-bottom: 2px; }
.pb { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.pb .btn { flex: 1; min-width: 120px; }

/* 밤 체크 「오늘 쪽지, 맞았나요?」 (11-01) */
.card.night { background: linear-gradient(160deg, rgba(14,24,58,.85), rgba(20,14,60,.9)); border-color: rgba(255,224,138,.35); }
.night .nh { font-size: 17px; font-weight: 800; color: #ffe08a; font-family: var(--disp); }
.night .nq { margin: 8px 0 12px; font-size: 15px; color: #eef0f8; }
.night .nb { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 6px; }
.night .nb button { padding: 12px 6px; border-radius: 14px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; font: inherit; font-weight: 700; font-size: 14.5px; cursor: pointer; }
.night .nb button[data-c="yes"] { background: linear-gradient(135deg, #f5c94e, #e89a3c); color: #1d2a4a; border: 0; }
.night .nb button:active { transform: scale(.97); }
.nsay { display: flex; gap: 10px; align-items: flex-start; }
.nsay .chimg, .nsay img { width: 52px; height: 52px; flex: none; border-radius: 14px; }
.nsay b { color: #ffe08a; font-size: 14px; } .nsay p { margin: 2px 0 0; }
.ntm { margin: 12px 0 0; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.06); }
.ntm .ntt { font-size: 12.5px; color: #ffe08a; font-weight: 700; margin-bottom: 4px; }
.ntm p { margin: 2px 0; }
.crec { margin-top: 12px; }
.crec .ct { font-size: 13.5px; color: var(--sub); } .crec .ct b { color: #fff; }
.crec .cd { display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; margin: 8px 0 4px; }
.crec i { display: block; aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed rgba(255,255,255,.25); }
.crec i.yes { background: #f5c94e; border: 0; } .crec i.some { background: #e9c46a; border: 0; } .crec i.no { background: #6b6690; border: 0; }
.crec .cl { display: flex; gap: 10px; font-size: 11.5px; color: var(--mute); align-items: center; }
.crec .cl span { display: inline-flex; gap: 4px; align-items: center; } .crec .cl i { width: 9px; height: 9px; }
.crec .cl .r { margin-left: auto; }

/* 궁합 초대 링크(11-01) */
.invhead { display: flex; gap: 14px; align-items: center; margin: 4px 0 14px; }
.invhead .chimg, .invhead img { width: 76px; height: 76px; flex: none; }
.ihow { display: flex; flex-direction: column; gap: 4px; }
.ihow b { margin-bottom: 2px; }
.invq .iq { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 8px 0; border-top: 1px solid rgba(255,255,255,.08); }
.invq .iq:first-of-type { border-top: 0; }
.invq .iq span { flex: 1 1 100%; font-size: 14.5px; }
.invq .iq .btn { flex: 1; }
.invq .note { margin-top: 8px; }
.shb .shmsg { white-space: pre-line; background: rgba(255,255,255,.06); border-radius: 12px; padding: 10px 12px; margin: 0 0 6px; font-size: 14.5px; }
.shb .shurl { font-size: 11.5px; color: var(--mute); word-break: break-all; margin: 0 0 10px; }

/* 비서의 기억(11-01) */
.card.memo { background: linear-gradient(160deg, rgba(31,60,140,.75), rgba(14,24,58,.85)); border-color: rgba(233,196,106,.4); }
.memo .nsay p { margin: 4px 0 0; }
.memo .mq { font-size: 16px; font-weight: 700; color: #fff; }
.memo .nb { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 6px; margin-top: 10px; }
.memo .nb button { padding: 11px 6px; border-radius: 14px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.memo .nb button[data-r="good"] { background: linear-gradient(135deg, #f5c94e, #e89a3c); color: #1d2a4a; border: 0; }
.memochip { display: flex; gap: 8px; align-items: center; margin-top: 6px; padding: 8px 10px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px dashed rgba(233,196,106,.35); font-size: 12.5px; color: var(--sub); }
.memochip span { flex: 1; }
.memochip b { color: #eef0f8; }
.memochip .mforget { flex: none; background: none; border: 0; color: var(--mute); font: inherit; font-size: 12px; text-decoration: underline; cursor: pointer; padding: 4px; }
.mmemo .mrow { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid rgba(255,255,255,.08); }
.mmemo .mrow:first-of-type { border-top: 0; }
.mmemo .mrow > div { flex: 1; min-width: 0; }
.mmemo .mrow .btn { flex: none; width: auto; padding: 0 12px; }

/* 도장 선물(11-01) — 스티커는 비서 그림 오른쪽 위 모서리 안에 */
.ch.deco { position: relative; container-type: inline-size; }
.ch.deco .stk { position: absolute; top: 3%; right: 4%; font-style: normal; font-size: 30cqw; line-height: 1; filter: drop-shadow(0 2px 3px rgba(0,0,0,.25)); }
.cavw { position: relative; flex: none; display: flex; }
.cavw .stk { position: absolute; top: -6px; right: -6px; font-style: normal; font-size: 16px; line-height: 1; }
.card.gift { background: linear-gradient(160deg, rgba(120,70,190,.8), rgba(14,24,58,.9)); border-color: rgba(255,224,138,.5); box-shadow: 0 0 24px rgba(245,201,78,.18); }
.gift .gh { font-weight: 800; color: #ffe08a; font-size: 16px; }
.gift .gb { display: flex; gap: 12px; align-items: center; margin: 10px 0; }
.gift .gb .ch { width: 84px; height: 84px; flex: none; border-radius: 18px; animation: bob 2.4s ease-in-out infinite; }
.gift .gb b { display: block; font-size: 16.5px; color: #fff; margin-bottom: 4px; }
.gift .gl p { margin: 0 0 6px; font-size: 14.5px; }
.gift .btn { margin-top: 6px; }
.pill.gold { background: linear-gradient(135deg, #f5c94e, #e89a3c); color: #1d2a4a; margin-left: 6px; font-size: 11.5px; vertical-align: middle; }
.gnx { display: flex; gap: 8px; align-items: center; margin-top: 8px; font-size: 13px; color: var(--sub); }
.gnx .gs { letter-spacing: 2px; font-size: 16px; }
.gnx b { color: #ffe08a; }
.decos .dl { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; margin-top: 8px; }
.decos .dl button { aspect-ratio: 1; border-radius: 14px; border: 1px solid var(--glassb); background: rgba(255,255,255,.05); font-size: 22px; cursor: pointer; display: grid; place-items: center; padding: 0; }
.decos .dl button.on { border: 2px solid #f5c94e; background: rgba(245,201,78,.15); }
.decos .dl button:disabled { cursor: default; font-size: 12px; color: var(--mute); }
.decos .dl button:disabled span { font-size: 14px; opacity: .7; }
.decos .dl button small { display: block; font-size: 10.5px; margin-top: -4px; letter-spacing: -0.4px; white-space: nowrap; }
.decos .lts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.decos .lts .btn { width: auto; padding: 0 12px; }
.shb.letter p { font-size: 15px; line-height: 1.75; margin: 0 0 10px; }

/* 기다릴 날(11-01) */
.card.special { background: linear-gradient(160deg, rgba(150,80,170,.8), rgba(14,24,58,.9)); border-color: rgba(255,224,138,.45); }
.special .sph { font-weight: 800; color: #ffe08a; font-size: 16.5px; margin-bottom: 8px; }
.special .nsay p { margin: 4px 0 0; }
.waitd .wr { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-top: 1px solid rgba(255,255,255,.08); }
.waitd .wr:first-of-type { border-top: 0; }
.waitd .wi { font-size: 20px; line-height: 1.3; flex: none; width: 26px; text-align: center; }
.waitd .wr b { color: #ffe08a; }
.waitd .wd { font-size: 13.5px; color: var(--sub); }
.waitd .lnk, .lnk.mo { background: none; border: 0; color: #f0d58c; font: inherit; font-size: 13.5px; padding: 8px 0 0; cursor: pointer; text-decoration: underline; }
.mw.good { color: #ffe08a; }
.kv.past { opacity: .5; }

/* 카드 속 비서 그림 크기(스티커 상자는 크기가 정해져야 눌리지 않는다) */
.nsay > .ch { width: 52px; height: 52px; flex: none; border-radius: 14px; }
.pf > .ch { flex: none; }

/* 첫 화면 상품 띠(11-05 토스페이먼츠 심사 — 판매 상품을 첫 화면에 보이게) */
.shopband { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: linear-gradient(135deg, rgba(255,224,138,.16), rgba(233,196,106,.16)); border: 1px solid rgba(255,224,138,.4); color: #eef0f8; text-decoration: none; text-align: left; }
.shopband b { color: #ffe08a; font-size: 15px; }
.shopband span { grid-column: 1; font-size: 13.5px; line-height: 1.5; }
.shopband em { grid-column: 2; grid-row: 1 / span 2; font-style: normal; font-weight: 700; color: #ffe08a; font-size: 14px; white-space: nowrap; }

/* 11-05 B안 — 금색 단추 · 배지 위 글씨는 짙은 색 */
.btn, .pill.dk, .seal { color: #1a1405; }
.btn:disabled { color: var(--mute); }

/* ── 첫 화면 = 메뉴판(11-05, 시안 mockup/home_v2) ── 이름은 모두 h- 로(입력칸 .in 등과 안 겹치게) */
.home { padding: 0 16px 96px; word-break: keep-all; }
.home .fromshare { margin-top: 14px; }
.h-hd { display: flex; align-items: center; justify-content: space-between; padding: 16px 0 10px; gap: 10px; }
.h-hd .brand.lg { width: 178px; margin: 0; }
.h-go { flex: 0 0 auto; font-size: 13px; color: #1a1a2e; background: var(--gold, #e9c46a); border: 0; border-radius: 20px; padding: 5px 13px; line-height: 1.3; font-weight: 800; cursor: pointer; font-family: inherit; }   /* 11-09 대표님 「금색 박스 높이 줄여」 — 위아래 8 → 5 */
.h-today { width: 100%; text-align: left; border: 1px solid rgba(233,196,106,.22); background: linear-gradient(135deg, #13204a, #0d1430); border-radius: 18px; padding: 14px 16px; display: flex; gap: 12px; align-items: center; color: var(--ink); cursor: pointer; font-family: inherit; }
.h-orb { flex: 0 0 54px; height: 54px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffffff55, #34476E 60%, #0b0f1f); box-shadow: 0 0 18px rgba(233,196,106,.25); display: grid; place-items: center; font-family: var(--disp); font-size: 22px; line-height: 1; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.45); }   /* 11-11 대표님 「흙 글자 크기 키워」 15 → 22 */
.h-tt { display: flex; flex-direction: column; min-width: 0; }
.h-tt .d { font-size: 12px; color: var(--sub); }
.h-tt .t { font-family: var(--disp); font-size: 19px; margin-top: 2px; color: #fff; line-height: 1.3; }
.h-tt .t em { font-style: normal; color: #f0d58c; }
.h-tt .s { font-size: 12px; color: #e9c46a; margin-top: 4px; }
.h-ban { margin-top: 14px; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 22px; scrollbar-width: none; }
.h-ban::-webkit-scrollbar { display: none; }
.h-sl { flex: 0 0 100%; scroll-snap-align: start; position: relative; height: 300px; overflow: hidden; cursor: pointer; border: 1px solid rgba(255,255,255,.1); border-radius: 22px; }
.h-sl.s1 { background: linear-gradient(160deg, #2a2f86 0%, #3a2a8a 45%, #161a4a 100%); }
.h-sl.s2 { background: linear-gradient(160deg, #6b4a1e 0%, #3a2a5a 55%, #161a4a 100%); }
.h-sl.s3 { background: linear-gradient(160deg, #1e5a52 0%, #2a3a6a 55%, #161a4a 100%); }
/* 11-07 배너 5장 — 궁합은 다홍 · 홍이(불사조 커플)라 불빛으로, 평생 풀이(백이) 은빛 보라, 무료 상담(또르) 물빛 파랑 */
.h-sl.s3 { background: linear-gradient(160deg, #7a2e2a 0%, #4a2a5e 55%, #161a4a 100%); }
.h-sl.s4 { background: linear-gradient(160deg, #4a4a7e 0%, #33306e 50%, #161a4a 100%); }
.h-sl.s5 { background: linear-gradient(160deg, #1f4f86 0%, #253a78 55%, #161a4a 100%); }
.h-sl.s6 { background: linear-gradient(160deg, #8a2a5e 0%, #4a2a7a 55%, #161a4a 100%); }   /* 11-08 연애운 배너 */
.h-sl.s7 { background: linear-gradient(160deg, #7a5a1e 0%, #4a2a6e 55%, #161a4a 100%); }   /* 11-09 떡 하나 주면 안 잡아먹지(백이) */
.h-sl .cp { position: absolute; left: 18px; top: 18px; z-index: 2; }
.h-sl small { font-size: 12px; color: #fff3c9; opacity: .92; }
.h-sl h2 { font-family: var(--disp); font-weight: 400; font-size: 25px; line-height: 1.25; margin: 4px 0 12px; color: #fff; }
.h-sl .b { display: inline-block; background: #e9c46a; color: #1a1a2e; font-weight: 800; font-size: 13.5px; border-radius: 22px; padding: 9px 15px; }
.h-sl picture img { position: absolute; right: -8px; bottom: -6px; width: 232px; height: auto; filter: drop-shadow(0 6px 14px rgba(0,0,0,.45)); }
.h-sl img.one { position: absolute; right: 6px; bottom: -4px; width: 190px; height: auto; filter: drop-shadow(0 6px 14px rgba(0,0,0,.45)); }
.h-dots { display: flex; gap: 5px; justify-content: center; margin-top: 8px; }
.h-dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.25); transition: width .25s; }
.h-dots i.on { width: 18px; background: #e9c46a; }
.h-sec { margin: 26px 2px 10px; display: flex; justify-content: space-between; align-items: flex-end; }
.h-sec h3 { font-family: var(--disp); font-weight: 400; font-size: 20px; margin: 0; color: #fff; }
.h-sec h3 small { display: block; font-family: inherit; font-size: 12px; color: var(--sub); margin-bottom: 2px; }
.h-more { font-size: 12.5px; color: #e9c46a; background: none; border: 0; cursor: pointer; font-family: inherit; text-decoration: none; padding: 0; }
.h-free { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 6px; background: var(--glass); border: 1px solid var(--glassb); border-radius: 20px; padding: 16px 6px 12px; }
.h-free button { background: none; border: 0; color: #e4e6f2; font-size: 12.5px; line-height: 1.3; cursor: pointer; font-family: inherit; padding: 0; }
.h-free svg { width: 42px; height: 42px; display: block; margin: 0 auto 6px; stroke: #e9c46a; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; background: rgba(233,196,106,.09); border-radius: 14px; padding: 8px; }
.h-pick { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
.h-pick::-webkit-scrollbar { display: none; }
.h-pick .c { flex: 0 0 140px; border-radius: 18px; padding: 14px; background: var(--glass); border: 1px solid var(--glassb); min-height: 150px; position: relative; }
.h-pick .c .k { font-size: 11.5px; color: var(--sub); }
.h-pick .c .v { font-family: var(--disp); font-size: 18px; margin-top: 6px; line-height: 1.3; color: #fff; }
.h-pick .c .v.sm { font-size: 15.5px; }
.h-pick .c .sw { display: flex; gap: 6px; margin-top: 10px; }
.h-pick .c .sw i { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.55); box-shadow: 0 0 8px rgba(255,255,255,.15); }
.h-pick .c.wide { flex: 0 0 230px; background: linear-gradient(150deg, #1e3a33, #11202a); }
.h-pick .c.wide .v { font-family: inherit; font-size: 15px; font-weight: 700; line-height: 1.6; }
.h-pick .share { position: absolute; right: 12px; bottom: 10px; font-size: 12px; color: #e9c46a; background: none; border: 0; cursor: pointer; font-family: inherit; padding: 0; }
.h-prod { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.h-p { border-radius: 20px; overflow: hidden; background: var(--glass); border: 1px solid var(--glassb); padding: 0; text-align: left; color: var(--ink); cursor: pointer; font-family: inherit; display: flex; flex-direction: column; }
.h-p .ph { height: 132px; display: grid; place-items: end center; position: relative; width: 100%; }
.h-p .ph img { height: 128px; width: auto; filter: drop-shadow(0 4px 8px rgba(0,0,0,.2)); }
.h-p .who { position: absolute; left: 10px; top: 9px; font-size: 11px; background: rgba(255,255,255,.85); color: #333; border-radius: 10px; padding: 2px 8px; font-weight: 700; }
.h-p .bd { padding: 10px 12px 12px; display: flex; flex-direction: column; flex: 1; width: 100%; }
.h-p .nm { font-size: 15px; color: #fff; font-weight: 800; line-height: 1.3; }
.h-p .one { font-size: 12px; color: var(--sub); margin-top: 3px; line-height: 1.45; }
.h-p .pr { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 8px; }
.h-p .pr b { color: #e9c46a; font-size: 15px; }
.h-p .pr span { font-size: 12px; color: #1a1a2e; background: #e9c46a; border-radius: 14px; padding: 4px 10px; font-weight: 800; }
.h-p.w { grid-column: 1 / 3; flex-direction: row; }
.h-p.w .ph { width: 130px; flex: 0 0 130px; height: auto; min-height: 130px; }
.h-p.w .bd { justify-content: center; }
.hbg-water { background: #CFDDEC; } .hbg-metal { background: #D5D8E0; } .hbg-wood { background: #CFE3D6; } .hbg-fire { background: #EFC6B6; } .hbg-earth { background: #EFE2BC; }
.h-crew { display: flex; justify-content: space-between; background: var(--glass); border: 1px solid var(--glassb); border-radius: 20px; padding: 14px 8px; }
.hc-one { background: none; border: 0; color: #dfe2ef; font-size: 12.5px; width: 64px; text-align: center; cursor: pointer; font-family: inherit; padding: 0; font-weight: 700; }
.hc-one span { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 5px; overflow: hidden; display: grid; place-items: end center; }
.hc-one img { width: 62px; height: auto; margin-bottom: -6px; }
.hc-one small { display: block; color: var(--sub); font-size: 10.5px; line-height: 1.35; margin-top: 2px; font-weight: 400; }
.h-crewnote { font-size: 12.5px; color: var(--sub); text-align: center; margin: 8px 0 0; }
.h-trust { margin-top: 26px; border-radius: 20px; padding: 16px; border: 1px solid rgba(233,196,106,.22); background: linear-gradient(135deg, #181f45, #0d1330); }
.h-trust h5 { margin: 0 0 8px; font-family: var(--disp); font-weight: 400; font-size: 17px; color: #fff3c9; }
.h-trust ul { margin: 0; padding: 0; list-style: none; font-size: 13px; line-height: 1.75; color: #dfe2ef; }
.h-trust li:before { content: "✓ "; color: #e9c46a; }
/* 무료 칸 화면(띠 · 별자리 · 날짜 · 행운의 번호 · 만세력) */
.free { padding-bottom: 96px; word-break: keep-all; }
.fhead { display: flex; gap: 10px; align-items: center; margin: 4px 0 12px; }
.fhead h2 { font-family: var(--disp); font-weight: 400; font-size: 22px; margin: 0; color: #fff; }
.fhead p { margin: 0; font-size: 12px; color: var(--sub); }
.fback { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--glassb); background: rgba(255,255,255,.05); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; flex: 0 0 36px; }
.fchips { margin-bottom: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.fchips button.on, .fpick.on { background: #e9c46a; color: #1a1a2e; border-color: #e9c46a; font-weight: 700; }
.fpick { position: relative; font-size: 13.5px; padding: 7px 12px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid var(--glassb); color: var(--sub); cursor: pointer; overflow: hidden; }
.fpick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.fdate { font-size: 12.5px; color: var(--sub); margin: 0 0 8px; }
.frow { display: flex; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line); align-items: flex-start; }
.frow.me { background: rgba(233,196,106,.08); border-radius: 14px; border-bottom: 0; padding: 12px 10px; margin-bottom: 6px; }
.frow .fl { flex: 0 0 96px; }
.frow .fl b { font-size: 15px; color: #fff; }
.frow .fl small { display: block; font-size: 11px; color: var(--mute); margin-top: 2px; line-height: 1.4; }
.frow .fr { flex: 1; }
.frow .fr p { margin: 4px 0 0; font-size: 14px; color: var(--ink); line-height: 1.5; }
.ftone { display: inline-block; font-size: 11.5px; border-radius: 10px; padding: 1px 8px; font-weight: 700; font-family: inherit; vertical-align: 2px; }
.ftone.g { background: rgba(124,195,154,.2); color: #9fe0b8; } .ftone.c { background: rgba(240,138,122,.2); color: #ffb3a6; } .ftone.n { background: rgba(255,255,255,.1); color: #cfd3e4; }
.fbig h3 { font-family: var(--disp); font-weight: 400; font-size: 20px; margin: 0 0 8px; color: #fff; line-height: 1.4; }
.fscene { font-size: 14px; color: var(--ink); line-height: 1.65; margin: 0; }
.fdo { margin-top: 10px; background: rgba(124,195,154,.08); border-radius: 12px; padding: 10px 12px; }
.fdo.no { background: rgba(240,138,122,.08); }
.fdo b { font-size: 13px; color: #fff; } .fdo p { margin: 3px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--ink); }
.fmini { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.fmini div { background: var(--glass); border: 1px solid var(--glassb); border-radius: 14px; padding: 10px 12px; }
.fmini small { display: block; font-size: 11.5px; color: var(--sub); } .fmini b { font-size: 14px; color: #fff; }
.fl2 { margin: 4px 0; font-size: 14px; line-height: 1.6; } .fl2 b { color: #f0d58c; margin-right: 4px; }
.balls { display: flex; justify-content: center; gap: 8px; margin: 14px 0; flex-wrap: wrap; }
.ball { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 17px; color: #1a1a2e; box-shadow: inset -4px -5px 8px rgba(0,0,0,.18), 0 3px 8px rgba(0,0,0,.3); }
.ball.y { background: #fbc400; } .ball.b { background: #69c8f2; } .ball.r { background: #ff7272; } .ball.k { background: #aaa; } .ball.gr { background: #b0d840; }
.mtab { display: flex; justify-content: space-around; gap: 6px; text-align: center; }
.mtab > div { flex: 1; } .mtab small { font-size: 12px; color: var(--sub); }
.mc { display: block; border-radius: 12px; padding: 8px 2px; margin-top: 6px; color: #fff; }
.mc b { display: block; font-family: var(--disp); font-weight: 400; font-size: 24px; line-height: 1.2; }
.mc small { font-size: 10.5px; color: rgba(255,255,255,.88); }
.mbar { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 13px; }
.mbar span { width: 30px; color: var(--sub); } .mbar i { flex: 1; height: 10px; background: rgba(255,255,255,.08); border-radius: 5px; overflow: hidden; } .mbar em { display: block; height: 100%; border-radius: 5px; } .mbar b { width: 14px; text-align: right; color: #fff; }

/* 11-05 밤 대표님 「흰 글씨가 붙어」 — 주아는 굵기가 하나뿐이라 굵게 · 마이너스 간격을 주면 휴대폰에서 글자끼리 들러붙는다.
   주아를 쓰는 곳은 모두 여기서 한 번에: 굵기 400 · 글자 사이 살짝 벌림 · 가짜 굵게 금지. 주아를 새로 쓰는 곳은 이 목록에 더한다 */
.top .t, .ask, .pc .nm, .card h4, .card h5, .kv > b, .sec, .prod .pt b, .paper .ph span, .nstage .nt, .hero .l, .talisman .tp, .tj .code, .bnd .bh, .flip .h, .ans b, .charm b, .why-h, .ptitle,
.bc .hd, .bc .mk, .bc .nm, .refill .clock, .chhd b, .night .nh, .h-orb, .h-tt .t, .h-sl h2, .h-sec h3, .h-pick .c .v, .h-trust h5, .fhead h2, .fbig h3, .mc b {
  font-weight: 400 !important; letter-spacing: .04em; font-synthesis: none; }
.h-sec h3 small { font-family: var(--body); letter-spacing: 0; }
/* 배너 — 좁은 휴대폰에서 그림이 흰 글씨를 덮지 않게: 그림은 오른쪽 아래로 작게, 글씨엔 어두운 그늘 */
.h-sl h2, .h-sl small { text-shadow: 0 2px 10px rgba(8,10,40,.9), 0 0 2px rgba(8,10,40,.6); }
.h-sl picture img { width: min(232px, 58%); right: -6px; }
.h-sl img.one { width: min(190px, 50%); }

/* 11-05 밤 대표님 「흰 글씨가 묻혀」 — 금색 바탕(--grad · #e9c46a) 위에는 흰 글씨를 쓰지 않는다. 금색 바탕은 모두 짙은 글씨로(같은 규칙: 765줄 .btn).
   금색 바탕을 새로 쓰면 이 목록에 더한다 */
.seg button.on, .chips button.on, .pc .rec, .tj .code, .bo b em, .tkpick .cg button.on, .tkpick .sl button, .mu .b, .chatbar button, .five .hi, .five .hi b { color: #1a1405 !important; }
.chatbar button:disabled { color: var(--mute) !important; }

/* 11-07 대표님 「작은 글씨 흰색을 좀 더 하얗게, 좀 더 키우고」 — 회색 글씨 두 단계를 밝히고(--sub · --mute), 자주 보는 작은 글씨를 1px 씩.
   달력 · 만세력 표처럼 칸이 빽빽한 곳은 그대로 둔다 */
:root { --sub: #e3e7f5; --mute: #b8bfd8; }
.top .s, .note, .h-tt .d, .h-sec h3 small, .h-p .one, .h-sl small, .fhead p, .pc p, .chatwarn, .ms .mt { font-size: 13px; }
.fl > label, .fl > .lb, .h-free button, .h-crewnote, .prod .pt span, .tklg, .fdate, .h-more { font-size: 13.5px; }
.unit, .prod .pt em, .h-pick .c .k, .bizft, .fmini small, .ms .mt .cp, .crec .cl, .foot { font-size: 12.5px; }
.hc-one small { font-size: 11.5px; }
.tabs button { font-size: 12.5px; }
.h-free button, .hc-one { color: #f4f2ff; }
.h-free button { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }   /* 이름이 두 줄이어도 아이콘 줄은 맞게 */
@media (max-width: 380px) { .h-free button { font-size: 12.5px; } }

/* 11-07 대표님 「예전 판에 이 부분(풀이 990원 상품 카드)만 새 걸로, 보기는 예전 금색 단추를 입체로」.
   화면 전체는 예전 남색 · 금색 그대로. 상품 카드(.h-p)만 유리 + 왼쪽 위가 빛나는 가장자리 + 비서 색이 번지는 그림 바탕.
   빛나는 유리 전체판은 _backup/glass_20261107/style_빛나는유리2판.css */
.h-p {
  position: relative; border-color: rgba(255,255,255,.1) !important;
  background: linear-gradient(165deg, rgba(255,255,255,.09) 0%, rgba(255,255,255,.035) 60%, rgba(160,170,255,.05) 100%);
  box-shadow: 0 10px 30px rgba(2,6,20,.4), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(18px) saturate(1.25); -webkit-backdrop-filter: blur(18px) saturate(1.25);
}
.h-p::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 2;
  background: linear-gradient(150deg, rgba(255,255,255,.5) 0%, rgba(255,255,255,.08) 28%, rgba(255,255,255,0) 55%, rgba(170,180,255,.28) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.h-p .bd { border-top: 1px solid rgba(255,255,255,.07); }
.h-p .ph.hbg-water { background: radial-gradient(110% 85% at 50% 100%, rgba(110,165,255,.55), rgba(110,165,255,.08) 72%, transparent); }
.h-p .ph.hbg-metal { background: radial-gradient(110% 85% at 50% 100%, rgba(205,200,255,.5), rgba(205,200,255,.07) 72%, transparent); }
.h-p .ph.hbg-wood { background: radial-gradient(110% 85% at 50% 100%, rgba(90,220,190,.45), rgba(90,220,190,.06) 72%, transparent); }
.h-p .ph.hbg-fire { background: radial-gradient(110% 85% at 50% 100%, rgba(255,120,150,.5), rgba(255,120,150,.07) 72%, transparent); }
.h-p .ph.hbg-earth { background: radial-gradient(110% 85% at 50% 100%, rgba(255,200,110,.5), rgba(255,200,110,.07) 72%, transparent); }
.h-p .ph img { filter: drop-shadow(0 8px 14px rgba(0,0,0,.35)) drop-shadow(0 0 18px rgba(255,255,255,.12)); }
.h-p .who { background: rgba(255,255,255,.14); color: #f3f5ff; border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.h-p .who { z-index: 3; background: rgba(12,18,48,.55); }   /* 11-07 카드 이모티콘 그림이 커져 이름표를 가려서 — 이름표를 그림 위로 */
/* 보기 — 예전 금색 단추를 볼록한 입체로: 위는 빛이 맺히고 아래는 그늘, 바닥엔 그림자 */
.h-p .pr span {
  font-size: 13px; color: #1a1405; text-shadow: 0 1px 0 rgba(255,255,255,.55); border: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.78) 0%, rgba(255,255,255,.22) 40%, rgba(255,255,255,0) 52%), linear-gradient(180deg, #fae7ae 0%, #e9c46a 58%, #cf9f38 100%);
  box-shadow: inset 0 2px 1px rgba(255,255,255,.9), inset 0 -3px 6px rgba(150,98,8,.45), inset 0 0 0 1px rgba(255,255,255,.4), 0 5px 12px rgba(0,0,0,.4), 0 0 14px rgba(233,196,106,.3);
  transition: transform .12s ease, box-shadow .12s ease;
}
.h-p:active .pr span { transform: translateY(2px); box-shadow: inset 0 2px 1px rgba(255,255,255,.9), inset 0 -2px 5px rgba(150,98,8,.45), 0 2px 5px rgba(0,0,0,.35); }
@media (prefers-reduced-motion: reduce) { .h-p .pr span { transition: none; } }

/* 11-07 대표님 「매일 무료 아이콘을 입체감 있는 버튼으로」 — 유리 구슬: 위는 빛이 맺히고 아래는 그늘, 바닥엔 그림자. 금빛은 그대로 */
.h-free svg {
  width: 48px; height: 48px; border-radius: 16px; padding: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,.3) 0%, rgba(255,255,255,.09) 44%, rgba(255,255,255,.02) 54%, rgba(255,255,255,.1) 100%), rgba(233,196,106,.16);
  box-shadow: inset 0 1.5px 1px rgba(255,255,255,.6), inset 0 -3px 7px rgba(0,0,0,.32), inset 0 0 0 1px rgba(255,255,255,.15), 0 6px 12px rgba(0,0,0,.42), 0 0 14px rgba(233,196,106,.14);
  transition: transform .12s ease, box-shadow .12s ease;
}
.h-free button:active svg { transform: translateY(2px) scale(.97); box-shadow: inset 0 1.5px 1px rgba(255,255,255,.6), inset 0 -2px 5px rgba(0,0,0,.32), 0 2px 5px rgba(0,0,0,.4); }

/* 11-07 대표님 「스크롤해서 내려도 로고 줄 고정」 — 첫 화면 머리줄을 위에 붙인다(아래 탭은 원래 고정) */
.h-hd { position: sticky; top: 0; z-index: 6; margin: 0 -16px; padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 10px;
  background: rgba(6,11,31,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(233,196,106,.12); }
.h-hd .brand.lg { width: 150px; }
/* 11-29 대표님 「신내린 비서를 가운데로」 — 로고는 가운데, 로그인 · 채용 단추는 오른쪽에 띄운다 */
.h-hd { justify-content: center; }
.h-hd .h-go { position: absolute; right: 16px; top: 50%; transform: translateY(calc(-50% + env(safe-area-inset-top, 0px) / 2)); }

/* 11-07 오늘의 로또운 — 별 다섯 개 중 몇 개 */
.luck { margin: 2px 0 12px; display: grid; gap: 4px; justify-items: center; }
.luck .lk-t { font-size: 13px; color: var(--sub); }
.luck .lk-s { font-size: 28px; letter-spacing: 3px; color: #f4cf6a; text-shadow: 0 0 12px rgba(244,207,106,.55); line-height: 1.1; }
.luck .lk-s i { font-style: normal; color: rgba(255,255,255,.18); text-shadow: none; }
.luck .lk-l { font-size: 14.5px; color: var(--ink); font-weight: 600; }
/* 11-07 로또운 — 누리 금화 그림 · 이번 주 언제 살까(오늘~토) */
.lot-art { width: 132px; height: 132px; object-fit: contain; display: block; margin: -4px auto 2px; animation: bob 2.6s ease-in-out infinite; }
.lotw { margin-top: 12px; }
.lotw h4 { margin: 0 0 10px; font-size: 15.5px; display: flex; align-items: baseline; gap: 8px; }
.lotw h4 small { font-size: 12px; color: var(--sub); font-weight: 400; }
.lotw .wk { display: flex; gap: 4px; justify-content: center; }
.lotw .wd { flex: 1; min-width: 0; max-width: 64px; display: grid; justify-items: center; gap: 2px; padding: 7px 0 6px; border-radius: 10px; background: rgba(255,255,255,.05); }
.lotw .wd small { font-size: 11.5px; color: var(--sub); }
.lotw .wd b { font-size: 12.5px; font-weight: 600; }
.lotw .wd span { font-size: 9px; letter-spacing: -1px; color: #f4cf6a; line-height: 1.2; min-height: 11px; }
.lotw .wd.best { background: rgba(244,207,106,.18); box-shadow: inset 0 0 0 1.5px #f4cf6a; }
.lotw .wd.best small { color: #f4cf6a; }
.lotw .lotw-l { margin: 10px 0 2px; text-align: center; font-weight: 700; font-size: 15px; }
.lotw .lotw-d { margin: 0; text-align: center; font-size: 13.5px; color: var(--sub); }
.lotw .lotw-d b { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .h-free svg { transition: none; } }
/* 11-07 대표님 「고민 상담은 사주아이처럼 — 하루 한 번 공짜, 다음에 물으면 결제」 — 카드 FREE 딱지 · 상담 화면 무료 상담권 */
.h-p .freeb { position: absolute; right: 10px; top: 9px; z-index: 3; font-style: normal; font-size: 12px; font-weight: 800; letter-spacing: .04em; color: #1a1405; padding: 3px 10px; border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.7) 0%, rgba(255,255,255,0) 55%), linear-gradient(180deg, #fae7ae, #e9c46a 60%, #cf9f38); box-shadow: inset 0 1px 1px rgba(255,255,255,.9), 0 3px 8px rgba(0,0,0,.35); }
.ticket { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 10px; padding: 12px 14px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(233,196,106,.16), rgba(255,140,190,.1)); border: 1px solid rgba(233,196,106,.32); }
.ticket b { display: block; font-size: 14.5px; color: #fff; }
.ticket b em { font-style: normal; color: #f4cf6a; }
.ticket span { display: block; font-size: 12.5px; color: var(--sub); margin-top: 2px; }
.ticket .tk { flex: none; font-style: normal; display: grid; place-items: center; width: 58px; height: 42px; border-radius: 9px; transform: rotate(-6deg);
  font-size: 13px; font-weight: 800; color: #1a1405; line-height: 1.05; text-align: center;
  background: radial-gradient(circle at 0 50%, transparent 5px, transparent 0) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 5px, transparent 0) right / 51% 100% no-repeat,
    linear-gradient(180deg, rgba(255,255,255,.7) 0%, rgba(255,255,255,0) 55%), linear-gradient(180deg, #fae7ae, #e9c46a 60%, #cf9f38);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.9), inset 0 0 0 1.5px rgba(255,255,255,.35), 0 5px 12px rgba(0,0,0,.4), 0 0 14px rgba(233,196,106,.35);
  -webkit-mask: radial-gradient(circle at 0 50%, transparent 5px, #000 5.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 5px, #000 5.5px) right / 51% 100% no-repeat;
          mask: radial-gradient(circle at 0 50%, transparent 5px, #000 5.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 5px, #000 5.5px) right / 51% 100% no-repeat; }
/* 11-08 무지개떡(공짜 떡 · 떡 개수) */
.ticket .ttk { flex: none; display: grid; place-items: center; width: 58px; height: 46px; transform: rotate(-6deg); filter: drop-shadow(0 5px 10px rgba(0,0,0,.4)) drop-shadow(0 0 10px rgba(246,165,181,.3)); }
.ticket .ttk .tt { width: 56px; height: 45px; }
.chct span .tti, .h-p .pr .tti, .pbox em .tti, .refill .btn .tti { width: 17px; height: 14px; vertical-align: -2px; margin-right: 4px; }
.ticket .tk s { text-decoration: none; display: block; font-size: 15px; color: #fff8dc; text-shadow: 0 1px 2px rgba(150,98,8,.6); }
.chatc .pr { justify-content: flex-end; }
.h-p .pr span { white-space: nowrap; }
/* 11-07 대표님 「비서 동그라미 배경도 우리 궁합처럼 투명하게, 컴에선 안 겹치는데 폰에선 겹쳐」 —
   다섯 칸을 화면 폭에 똑같이 나누고(전엔 64px 고정 × 5 = 좁은 폰에서 넘침), 동그라미는 칸 폭을 넘지 않게. 바탕은 비서 색이 번지는 유리 */
.h-crew { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; padding: 14px 6px; }
.hc-one { width: auto; min-width: 0; word-break: keep-all; }
.hc-one span { width: min(56px, 100%); height: auto; aspect-ratio: 1; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), 0 4px 12px rgba(0,0,0,.3); }
.hc-one img { width: 110%; max-width: none; }
.hc-one small { overflow-wrap: anywhere; }
.hc-one span.hbg-water { background: radial-gradient(circle at 50% 78%, rgba(110,165,255,.6), rgba(110,165,255,.1) 70%, rgba(255,255,255,.04)); }
.hc-one span.hbg-metal { background: radial-gradient(circle at 50% 78%, rgba(205,200,255,.55), rgba(205,200,255,.09) 70%, rgba(255,255,255,.04)); }
.hc-one span.hbg-wood { background: radial-gradient(circle at 50% 78%, rgba(90,220,190,.5), rgba(90,220,190,.08) 70%, rgba(255,255,255,.04)); }
.hc-one span.hbg-fire { background: radial-gradient(circle at 50% 78%, rgba(255,120,150,.55), rgba(255,120,150,.09) 70%, rgba(255,255,255,.04)); }
.hc-one span.hbg-earth { background: radial-gradient(circle at 50% 78%, rgba(255,200,110,.55), rgba(255,200,110,.09) 70%, rgba(255,255,255,.04)); }
/* 11-07 대표님 「위아래 스크롤하다 보면 달라져, 사주아이는 안 달라져」 — 휴대폰(손가락 화면)에선 페이지 전체가 아니라 #app 안쪽만 굴린다.
   페이지가 안 굴러야 브라우저 주소창 · 아래 메뉴줄이 숨었다 나타났다 하지 않고, 머리줄 · 아래 탭이 들썩이지 않는다.
   PC(마우스)는 그대로 — 양옆 빈 곳에서도 휠이 먹게. 화면을 굴리는 코드는 app.js toTop() · toEnd() */
@media (hover: none) and (pointer: coarse) {
  html, body { height: 100%; overflow: hidden; overscroll-behavior: none; }
  #app { height: 100%; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; overscroll-behavior-y: contain; }
}
@media print { html, body, #app { height: auto !important; overflow: visible !important; } }
/* 11-22 PDF로 저장 — 화면 색 그대로(남색 바탕) · 아래 메뉴 · 단추 · 떠 있는 것은 뺀다 */
@media print {
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  .tabs, .btn, .pdfb, #share, .back, .bk, .h-inst, .toast, .shs, #pushme, .nysh, .dr-sh { display: none !important; }
  .card, .sec, section { break-inside: avoid-page; }
  @page { margin: 8mm; }
}
.chips .tkadd { border-style: dashed; }
/* 11-07 첫 화면 「홈 화면에 신비 두기」 띠 — 한 줄로 작게 */
.h-inst { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "ic tx go" "ic tx x"; align-items: center; gap: 0 10px; margin-top: 10px; padding: 10px 12px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(233,196,106,.13), rgba(120,140,255,.08)); border: 1px solid rgba(233,196,106,.28); }
.h-inst .ic { grid-area: ic; font-size: 24px; }
.h-inst .tx { grid-area: tx; min-width: 0; }
.h-inst .tx b { display: block; font-size: 14px; color: #fff; }
.h-inst .tx span { display: block; font-size: 12.5px; color: var(--sub); line-height: 1.45; }
.h-inst .go { grid-area: go; border: 0; border-radius: 14px; padding: 6px 14px; font-size: 13px; font-weight: 800; color: #1a1405; cursor: pointer; white-space: nowrap;
  background: linear-gradient(180deg, rgba(255,255,255,.7) 0%, rgba(255,255,255,0) 55%), linear-gradient(180deg, #fae7ae, #e9c46a 60%, #cf9f38); box-shadow: inset 0 1px 1px rgba(255,255,255,.9), 0 3px 8px rgba(0,0,0,.35); }
.h-inst .x { grid-area: x; border: 0; background: none; color: var(--mute); font-size: 11.5px; padding: 4px 0 0; cursor: pointer; justify-self: center; }
/* 11-07 카톡 안 → 크롬으로 넘기는 안내 화면 */
.escape { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; text-align: center; gap: 6px; }
.escape .brand.lg { width: 220px; margin: 0 auto 22px; }
.escape .es-t { font-size: 20px; font-weight: 700; color: #fff; }
.escape .es-s { font-size: 14px; color: var(--sub); }
.escape .es-w { font-size: 13px; color: var(--hi); margin: 14px 0 18px; }
/* 11-07 카카오 로그인 — 로그인 문 · 카카오 단추(카카오 디자인 안내: 노랑 #FEE500 · 검은 말풍선) · 「나」 로그인 칸 */
.login { min-height: 82vh; display: flex; flex-direction: column; justify-content: center; text-align: center; gap: 8px; }
.login .brand.lg { width: 220px; margin: 0 auto 26px; }
.login .lg-t { font-size: 21px; font-weight: 700; color: #fff; }
.login .lg-s { font-size: 14.5px; color: var(--sub); margin-bottom: 18px; }
.kakao { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 15px; border: 0; border-radius: 14px; background: #FEE500; color: rgba(0,0,0,.85); font-size: 16px; font-weight: 700; cursor: pointer; font-family: inherit; box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.kakao svg { width: 20px; height: 20px; fill: #000; }
.kakao:active { transform: translateY(2px); }
.login .lg-x { background: none; border: 0; color: var(--sub); font-size: 13.5px; padding: 12px; cursor: pointer; font-family: inherit; text-decoration: underline; text-underline-offset: 3px; }
.login .lg-n { font-size: 12px; color: var(--mute); margin-top: 6px; }
/* 11-20 소식 받기(선택) 체크 — 로그인 문 · 계정 관리 */
.lg-m { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--sub); text-align: left; margin: 12px auto 0; max-width: 320px; cursor: pointer; line-height: 1.5; }
.lg-m input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--gold, #d4a85a); }
.lg-m.acm { margin: 0; max-width: none; font-size: 14px; color: var(--ink); }
.login .lg-n a { color: var(--sub); }
.acct { margin-top: 8px; }
.acct b { display: block; color: #fff; font-size: 14.5px; }
.acct span { display: block; color: var(--sub); font-size: 13px; margin-top: 2px; }
.acct .acb { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
#kkeep { margin-top: 8px; }
/* 11-07 친구 초대 */
.login .lg-g { display: inline-block; margin: 0 0 12px; padding: 7px 14px; border-radius: 999px; background: rgba(240,201,106,.16); border: 1px solid rgba(240,201,106,.45); color: #f6dc9a; font-size: 13.5px; }
.invf { display: grid; gap: 4px; margin-top: 8px; }
.invf b { color: #fff; font-size: 15px; }
.invf span { color: var(--sub); font-size: 13px; }
.invf .btn { margin-top: 8px; }
/* 11-07 계정 관리 · 회원 탈퇴는 안쪽으로 */
.acgo { display: block; width: 100%; text-align: left; font-family: inherit; cursor: pointer; position: relative; }
.acgo i { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 13px; color: var(--gold, #f0c96a); }
.wdl { display: block; margin: 22px auto 6px; background: none; border: 0; color: var(--mute); font-size: 12.5px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-family: inherit; padding: 8px; }
.wd p { color: var(--sub); font-size: 14px; line-height: 1.6; }
.wd b { color: #ffb4b4; }
.wd ul { margin: 10px 0 12px; padding-left: 20px; color: #fff; font-size: 14px; line-height: 1.8; }
.wd .note a { color: var(--sub); }
.wdc { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: #fff; font-size: 14px; cursor: pointer; }
.wdc input { width: 18px; height: 18px; accent-color: #f0c96a; }
/* 11-07 평생 풀이 = 보고서 모양(a4 판 「평생풀이보고서.cjs」 결 · 대표님 「손님 화면도 이렇게」) — 칸마다 둥근 카드 · 금색 알약 꼬리표 · 명조 제목 · 본문 16px */
.lr { --lr-card: #171d40; --lr-line: #2a3160; --lr-serif: "Noto Serif KR", "Nanum Myeongjo", Batang, serif; display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 1.85; }
.lr .lr-h { text-align: center; padding: 18px 4px 4px; }
.lr .lr-h h1 { font: 700 26px/1.4 var(--lr-serif); margin: 10px 0 6px; letter-spacing: -0.3px; text-wrap: balance; }
.lr .lr-h .who { font-size: 13.5px; color: var(--sub); line-height: 1.6; }
.lr .lr-s { background: var(--lr-card); border: 1px solid var(--lr-line); border-radius: 18px; padding: 20px 18px 8px; }
.lr .lr-t { display: inline-block; font-size: 12.5px; line-height: 1.6; letter-spacing: .04em; color: var(--gold); border: 1px solid rgba(233,196,106,.45); border-radius: 999px; padding: 2px 11px; }
.lr h2 { font: 700 19.5px/1.5 var(--lr-serif); margin: 8px 0 10px; letter-spacing: -0.3px; text-wrap: balance; }
.lr h3 { font-size: 16px; font-weight: 600; color: #fff; margin: 16px 0 4px; line-height: 1.6; }
.lr .lr-s > p, .lr .lr-s > div > p, .lr .lr-yr p { margin: 0 0 14px; }
.lr .lr-s > .lr-t + p { margin-top: 10px; }
.lr .soft, .lr .soft p { color: var(--sub); }
.lr .lr-ans .lr-t { margin-top: 4px; }
.lr .lr-ans p { margin: 8px 0 16px; }
.lr .lr-fix { color: var(--gold); font-size: 15px; line-height: 1.75; border-left: 3px solid var(--gold); padding-left: 10px; }
.lr blockquote { margin: 6px 0 16px; padding: 14px 16px; border-radius: 12px; background: rgba(233,196,106,.1); color: #f6dc9a; font-family: var(--lr-serif); font-weight: 700; font-size: 16px; line-height: 1.75; }
.lr .lr-c { border-color: rgba(233,196,106,.4); }
.lr .lr-yr { display: grid; grid-template-columns: 54px 1fr; gap: 10px; border-top: 1px solid var(--lr-line); padding-top: 4px; margin-top: 8px; }
.lr .lr-yr b { color: var(--gold); font-size: 17px; font-weight: 600; padding-top: 14px; line-height: 1.3; font-variant-numeric: tabular-nums; }
.lr .lr-yr b small { display: block; font-size: 11.5px; font-weight: 400; color: var(--sub); }
.lr .lr-yr h3 { margin-top: 12px; }
.lr .lr-dec { border-top: 1px solid var(--lr-line); padding-top: 12px; margin-top: 4px; }
.lr .lr-kv { margin: 4px 0 12px; font-size: 14px; line-height: 1.6; }
.lr .lr-kv .kv b { font-weight: 600; color: var(--sub); }
.lr .lr-s .kv { font-size: 14px; line-height: 1.6; }
.lr .lr-s .flip { margin: 10px 0 12px; }
.lr .lr-s .saju { margin-top: 4px; }
.lr .note { font-size: 12.5px; }
.lr .btn { margin: 0 !important; }
.lr .foot { margin-top: -4px; }
/* 11-07 대표님 「글씨가 더 진해야겠다 · 노안이라 작아 보인다 — 젊은 애들 기준으로 점검」
   어두운 바탕의 밝은 글은 얇아 보인다 → 긴 글은 17px · 중간 굵기(500) · 더 밝은 흰색. 흐린 글(--sub #aab0c8)과 14px 칸도 한 단계씩 올림.
   「글씨 크게」(.big)를 누르면 19.5px — 노안 손님용, 고르면 기억(store bigText) */
.lr { font-size: 17px; font-weight: 500; color: #f5f7fd; line-height: 1.8; }
.lr .soft, .lr .soft p, .lr .lr-h .who, .lr .lr-yr b small, .lr .lr-kv .kv b { color: #d3d8ec; }
.lr .lr-h .who { font-size: 14.5px; }
.lr .lr-t { font-size: 13.5px; font-weight: 600; }
.lr h2 { font-size: 21px; }
.lr h3 { font-size: 17.5px; }
.lr .lr-fix { font-size: 16.5px; font-weight: 600; }
.lr blockquote { font-size: 17px; }
.lr .lr-kv, .lr .lr-s .kv { font-size: 15.5px; }
.lr .lr-yr b small { font-size: 12.5px; }
.lr .note { font-size: 13.5px; color: #c3c9e0; }
.lr-zoom { align-self: flex-end; display: inline-flex; align-items: center; gap: 6px; margin-bottom: -6px; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(233,196,106,.5); background: rgba(233,196,106,.12); color: #f6dc9a; font: 600 14px/1.2 Pretendard, sans-serif; cursor: pointer; }
.lr-zoom b { font-size: 17px; }
.lr.big { font-size: 19.5px; line-height: 1.85; }
.lr.big h1 { font-size: 28px; }
.lr.big h2 { font-size: 23.5px; }
.lr.big h3 { font-size: 20px; }
.lr.big .lr-t { font-size: 15px; }
.lr.big .lr-fix, .lr.big blockquote { font-size: 19px; }
.lr.big .lr-kv, .lr.big .lr-s .kv, .lr.big .lr-h .who { font-size: 17px; }
.lr.big .note { font-size: 15px; }
/* 11-08 신년운세도 보고서 모양(.lr.ny) — 열두 달 줄 · 토정비결 괘 상자를 본문 크기에 맞춘다 */
.lr.ny .mo { padding: 12px 0 2px; }
.lr.ny .mo:first-of-type { margin-top: 8px; }
.lr.ny .mo .mh b { font-size: 17px; color: #fff; }
.lr.ny .mo .mh .note { font-size: 14px; }
.lr.ny .mo .mh em { font-size: 13px; padding: 2px 10px; }
.lr.ny .mo p { font-size: inherit; margin: 4px 0 10px; }
.lr.ny .tj b { font-size: 17px; }
.lr.big.ny .mo .mh b { font-size: 19.5px; }
.lr.big.ny .mo .mh .note, .lr.big.ny .mo .mh em { font-size: 15px; }
/* 11-08 연도별 운세(사주아이 짜임) — 해 고르기 · 질문 셋 · 무료 미리 보기 표 · 잠긴 목차 · 아래 990원 단추 */
.nyask .nyq0 { font-size: 19px; line-height: 1.55; margin: 6px 2px 14px; color: #fff; }
.nyask .card h4 { font-size: 15.5px; line-height: 1.55; margin-bottom: 10px; }
.nyys { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.nyys button { position: relative; padding: 14px 0 8px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid var(--glassb); color: var(--sub); cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.nyys button b { font-size: 16px; color: #fff; }
.nyys button span { font-size: 12px; }
.nyys button i { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 11px; font-weight: 600; padding: 1px 8px; border-radius: 9px; background: #2a3160; color: #f0d58c; white-space: nowrap; }
.nyys button i.h { top: auto; bottom: -9px; background: #1f6b5c; color: #d9fff4; }
.nyys button.on { background: var(--grad); border-color: transparent; }
.nyys button.on b, .nyys button.on span { color: #1a1405; }
.nyask input, .nyask textarea { width: 100%; margin-top: 10px; padding: 11px 12px; border-radius: 12px; border: 1px solid var(--glassb); background: rgba(255,255,255,.06); color: #fff; font: inherit; font-size: 15px; }
.ny2 .nyh { display: block; text-align: center; font-size: 13px; color: var(--sub); margin-bottom: 4px; }
.ny2 .nyh small { display: block; font-size: 11.5px; }
.ny2 .nyc { display: grid; gap: 3px; }
.ny2 .nyc span { display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 10px; padding: 8px 2px; line-height: 1.2; }
.ny2 .e0 { background: #cfe9b8; color: #1f4d1a; }
.ny2 .e1 { background: #f4b6c8; color: #6b1230; }
.ny2 .e2 { background: #f3dc8a; color: #5a4300; }
.ny2 .e3 { background: #d9d6f2; color: #3b3577; }
.ny2 .e4 { background: #a9d2f3; color: #0f3b66; }
.ny2 .nyme { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 6px; margin-top: 12px; }
.ny2 .nyyr { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0 10px; }
.ny2 .nyyr > div { display: flex; flex-direction: column; justify-content: flex-end; }   /* 11-22 대표님 「정축 정미가 나란히 보였으면, 정미가 올라가 있어」 — 왼쪽 머리말(지금 10년 흐름 + 2018년부터)이 두 줄이라 오른쪽 칸이 위로 붙었다 → 칸을 아래로 맞춘다 */
.ny2 .nymo { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px 4px; }
.ny2 .nymo em { display: block; text-align: center; font-style: normal; font-size: 11px; font-weight: 600; margin-top: 3px; padding: 1px 0; border-radius: 8px; color: var(--sub); border: 1px solid var(--lr-line); }
.ny2 .nymo em.good, .ny2 .mo .mh em.good { background: rgba(233,196,106,.28); border-color: transparent; color: #f6dc9a; }
.ny2 .nymo em.chg { border-style: dashed; color: #fff; }
.ny2 .nysit { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ny2 .nysit span { font-size: 14px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--lr-line); color: var(--sub); }
.ny2 .nysit span.w { border-radius: 12px; width: 100%; }
.ny2 .nysit b { color: #fff; margin-left: 4px; }
.ny2 .lnk { background: none; border: 0; color: #f0d58c; font: inherit; font-size: 14px; padding: 8px 0 6px; cursor: pointer; text-decoration: underline; }
.ny2 .nysp { color: #ff9fbf; text-align: center; font-size: 22px; margin-top: 12px; }
.ny2 .nyspc { border-color: rgba(255,159,191,.45); }
.ny2 .nytags { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.ny2 .nytags span { padding: 3px 10px; border-radius: 99px; background: rgba(255,159,191,.14); color: #ff9fbf; font-size: 12.5px; font-weight: 600; }
.ny2 b { color: #fff; font-weight: 700; }
.ny2 .lr-s p b { color: #f6dc9a; }
.ny2 .nycta { text-align: center; border-color: rgba(233,196,106,.5); background: linear-gradient(180deg, #232a5a, #171d40); }
.ny2 .nycta h2 { margin-top: 0; }
.ny2 .nycta ul { list-style: none; padding: 0; margin: 14px 0 8px; text-align: left; display: inline-block; font-size: 15px; line-height: 2; color: var(--sub); }
.ny2 .nybuy { background: linear-gradient(135deg, #ff7aa2, #e9c46a); color: #1a1405 !important; font-weight: 700; }
.ny2 .nyrow { display: flex; align-items: center; gap: 8px; width: 100%; padding: 15px 4px; border: 0; border-top: 1px solid var(--lr-line); background: none; color: #fff; font: inherit; font-size: 16px; cursor: pointer; text-align: left; }
.ny2 .nyrow b { flex: 1; }
.ny2 .nylk { margin-left: auto; font-size: 15px; opacity: .8; }
.ny2 .nyteaser { text-align: center; color: var(--sub); margin: 12px 0 8px !important; }
.ny2 .nyf { border-top: 1px solid var(--lr-line); padding-top: 6px; margin-top: 8px; }
.ny2 .nyf:first-of-type { border-top: 0; }
.ny2 .nyf h3 { color: var(--gold); margin-bottom: 0; }
.ny2 .mo h3 { margin: 6px 0 4px; }
.ny2 .mo h3 .motag { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 99px; background: #f5d77e22; color: #f5d77e; font-size: 12px; font-weight: 600; vertical-align: 2px; }
.ny2:not(.paid) { padding-bottom: 150px; }
.nysticky { position: fixed; left: 50%; transform: translateX(-50%); bottom: 74px; width: calc(100% - 32px); max-width: 408px; z-index: 6; }
.nysticky .nybuy { width: 100%; box-shadow: 0 6px 24px rgba(0,0,0,.45); background: linear-gradient(135deg, #ff7aa2, #e9c46a); color: #1a1405 !important; font-weight: 700; }
.ny2 .nyrow { color: #fff !important; background: none !important; font-weight: 500; }
/* 11-08 오후 대표님 — 사주 표는 한자(큰 한자 + 한글 읽기 + 십성) */
.ny2 .nyc b.hj { font: 900 27px/1.1 "Noto Serif KR", "Noto Serif CJK KR", Batang, serif; color: inherit; }
.ny2 .nyc i { font-style: normal; font-size: 12.5px; font-weight: 600; margin-top: 2px; opacity: .85; }
.ny2 .nyc small { font-size: 11.5px; margin-top: 2px; opacity: .92; }
.ny2 .nymo .nyc span { padding: 6px 0 4px; border-radius: 8px; }
.ny2 .nymo .nyc b.hj { font-size: 20px; }
.ny2 .nymo .nyc i { font-size: 10.5px; margin-top: 0; }
/* 11-08 오후 대표님 「색상이랑 디자인 아쉽다 더 멋지게」 — 쪽지를 앱의 보라 봉투 · 분홍 하트 봉랍(神) 결로 */
.ny2 .nynote { position: relative; margin-top: 18px; padding: 34px 20px 16px; border-radius: 20px; text-align: center; color: #fff;
  background: radial-gradient(circle at 50% -10%, rgba(255,122,168,.35), transparent 55%), radial-gradient(circle at 100% 100%, rgba(160,110,255,.35), transparent 60%), linear-gradient(180deg, #2b1c6e, #150f3d);
  border: 1px solid rgba(240,207,122,.55); box-shadow: 0 0 0 4px rgba(240,207,122,.08), 0 10px 34px rgba(0,0,0,.45), 0 0 40px rgba(255,122,168,.18); }
.ny2 .nynote::before { content: ""; position: absolute; inset: 7px; border-radius: 15px; border: 1px dashed rgba(240,207,122,.32); pointer-events: none; }
.ny2 .nyseal { position: absolute; left: 50%; top: -20px; width: 44px; height: 40px; margin-left: -22px; display: grid; place-items: center; filter: drop-shadow(0 4px 6px rgba(90,0,40,.55)); }
.ny2 .nyseal svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ny2 .nyseal b { position: relative; margin-top: -4px; font: 900 15px "Noto Serif KR", Batang, serif; color: #ffe7b0; text-shadow: 0 1px 0 rgba(120,0,50,.6); }
.ny2 .nynote .nyav { position: absolute; right: 14px; top: 14px; width: 46px; height: 46px; border-radius: 50%; overflow: hidden; border: 2px solid rgba(240,207,122,.8); box-shadow: 0 0 14px rgba(240,207,122,.45); }
.ny2 .nynote .nyav img { width: 100%; height: 100%; object-fit: cover; }
.ny2 .nyfrom { display: block; font: 700 19px/1.4 var(--lr-serif); color: #f6dc9a; letter-spacing: -0.2px; text-shadow: 0 0 12px rgba(240,207,122,.4); }
.ny2 .nynote .nylead { color: #e6e1ff; font-size: 15.5px; line-height: 1.7; margin: 8px 0 14px; }
.ny2 .nyq { position: relative; display: flex; align-items: center; gap: 10px; width: 100%; margin: 0 0 9px; padding: 13px 14px; border-radius: 14px; border: 1px solid rgba(240,207,122,.38); background: rgba(255,255,255,.07); color: #fff; font: inherit; font-size: 15.5px; line-height: 1.45; text-align: left; cursor: pointer; transition: background .2s, border-color .2s, transform .15s; }
.ny2 .nyq:hover, .ny2 .nyq:active { background: rgba(240,207,122,.16); border-color: rgba(240,207,122,.8); transform: translateY(-1px); }
.ny2 .nyq .qi { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; background: linear-gradient(135deg, #ff7aa8, #c2185b); box-shadow: 0 2px 8px rgba(194,24,91,.45); }
.ny2 .nyq .qt { flex: 1; }
.ny2 .nyq i { flex: none; font-style: normal; font-size: 22px; color: #f0c96a; }
.ny2 .nyhint { margin: 4px 0 0; font-size: 12.5px; color: #b9b2e6; }

/* ── 연애운(11-08) — 비서와 대화로 묻기 · 미리 보기 카드 넷 · 풀이 ── */
.lv .lvchat { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
.lv .lvrow { display: grid; grid-template-columns: 44px 1fr; gap: 9px; align-items: start; }
.lv .lvav { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255,143,179,.5); }
.lv .lvcol { display: flex; flex-direction: column; gap: 7px; align-items: flex-start; min-width: 0; }
.lv .lvm { max-width: 100%; background: rgba(255,255,255,.93); color: #22233a; border-radius: 4px 18px 18px 18px; padding: 10px 14px; font-size: 15.5px; line-height: 1.55; box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.lv .lvm.b { font-weight: 700; }
.lv .lvme { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.lv .lva { background: linear-gradient(135deg, #ff6f9c, #d6336c); color: #fff; border: 0; border-radius: 18px 4px 18px 18px; padding: 10px 16px; font-size: 15.5px; font-weight: 600; max-width: 85%; text-align: left; line-height: 1.5; }
.lv .lva small { font-weight: 400; opacity: .8; margin-left: 4px; }
.lv .lva.go { cursor: pointer; font-size: 16.5px; padding: 13px 20px; box-shadow: 0 4px 18px rgba(214,51,108,.5); animation: lvpulse 1.8s ease-in-out infinite; }
@keyframes lvpulse { 50% { transform: scale(1.04); } }
.lv .lvre { background: none; border: 0; color: var(--sub); font-size: 12.5px; cursor: pointer; padding: 2px 4px; }
.lv .lvinput { margin-top: 4px; }
.lv .lvopts { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.lv .lvopts.wrap { flex-flow: row wrap; justify-content: flex-end; }
.lv .lvopts button { background: rgba(255,255,255,.06); border: 1.5px dashed rgba(255,143,179,.75); color: #ffd3e1; border-radius: 22px; padding: 10px 18px; font-size: 15px; cursor: pointer; }
.lv .lvopts button small { color: var(--sub); margin-left: 3px; }
.lv .lvopts button.add { border-style: solid; background: rgba(255,143,179,.16); color: #fff; font-weight: 600; }
.lv .lvopts button.sk { color: var(--sub); border-color: var(--glassb); }
.lv .lvhint { font-size: 12.5px; color: var(--sub); text-align: right; margin-top: 6px; }
.lv .lvhint .lnk { font-size: 12.5px; }
.lv .lvstar { display: flex; justify-content: flex-end; gap: 6px; background: rgba(255,255,255,.05); border: 1.5px dashed rgba(255,143,179,.75); border-radius: 22px; padding: 8px 14px; width: max-content; margin-left: auto; }
.lv .lvstar button { background: none; border: 0; color: #ff8fb3; font-size: 30px; line-height: 1; cursor: pointer; padding: 0 2px; }
.lv .lvin { background: var(--glass); border: 1px solid var(--glassb); border-radius: 18px; padding: 12px; }
.lv .lvin textarea { width: 100%; background: rgba(255,143,179,.07); border: 1.5px solid rgba(255,143,179,.6); border-radius: 14px; padding: 12px; font-size: 16px; resize: none; color: #fff; }
.lv .lvin .lvb { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; margin-top: 10px; }
.lv .lvin .lvb .btn:not(.ln) { background: linear-gradient(135deg, #ff6f9c, #d6336c); color: #fff; box-shadow: none; }
.lv .new { animation: lvup .45s ease-out both; }
@keyframes lvup { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
/* 11-08 오후 2판 — 대표님 「너무 똑같잖아 · 더 멋지게」: 사주아이 분홍 카드 대신 신비 밤하늘(남색 · 금색 · 분홍 빛) */
.lv .lvm.lvbox { position: relative; width: 100%; padding: 10px 10px 12px; background: linear-gradient(170deg, #1a2160, #120f3c); color: #eef0f8; border: 1px solid rgba(233,196,106,.38); box-shadow: 0 6px 26px rgba(0,0,0,.35), inset 0 0 30px rgba(138,108,255,.12); }
.lv .lvload { color: #c3c9e0; font-size: 14px; padding: 30px 0; text-align: center; }
.lv .lvcar { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 14px; }
.lv .lvcar::-webkit-scrollbar { display: none; }
.lv .lvcd { flex: 0 0 100%; scroll-snap-align: start; }
.lv .lvcd .art { border-radius: 14px; min-height: 262px; padding: 14px 8px 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: radial-gradient(120% 70% at 50% 0%, rgba(255,143,179,.16), transparent 60%); }
.lv .lvcd .h { font: 700 18px/1.4 "Noto Serif KR", "Nanum Myeongjo", serif; color: #f6dc9a; text-shadow: 0 0 12px rgba(233,196,106,.35); }
.lv .lvcd .cap { color: #e6e9f6; font-size: 15px; line-height: 1.6; margin: 10px 6px 4px; }
.lv .lvar { position: absolute; top: 22px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(233,196,106,.5); background: rgba(13,20,64,.85); color: #f6dc9a; font-size: 20px; line-height: 1; cursor: pointer; z-index: 2; }
.lv .lvar.l { left: 16px; } .lv .lvar.r { right: 16px; }   /* 카드 제목 줄 양옆 — 달력 · 그래프를 가리지 않게 */
.lv .lvdots { display: flex; justify-content: center; gap: 7px; margin-top: 6px; }
.lv .lvdots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.22); transition: width .25s; }
.lv .lvdots i.on { background: #f6dc9a; width: 18px; border-radius: 4px; }
.lv .gh { font-size: 12.5px; color: #f6dc9a; opacity: .85; }
/* 1 닮은 꽃 — 꽃 열 가지 고리 + 봉인 봉투 */
.lv .lvring { position: relative; width: 196px; height: 196px; }
.lv .lvring .rot { position: absolute; inset: 0; }
.lv .lvring .rot span { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px; transform: rotate(calc(var(--i) * 36deg)) translateY(-82px); }
.lv .lvring .rot em { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-style: normal; font-size: 19px; background: rgba(255,255,255,.07); border: 1px solid rgba(233,196,106,.28); filter: blur(.6px) saturate(.7); opacity: .6; transform: rotate(calc(var(--i) * -36deg)); animation: lvblink 4s ease-in-out infinite; animation-delay: calc(var(--i) * .4s); }
@keyframes lvblink { 0%, 22%, 100% { opacity: .55; filter: blur(.6px) saturate(.7); scale: 1; } 9% { opacity: 1; filter: none; scale: 1.22; box-shadow: 0 0 14px rgba(255,143,179,.7); } }   /* 꽃이 차례로 하나씩 반짝 — 「어느 꽃일까?」 */
.lv .lvring .env { position: absolute; left: 50%; top: 50%; width: 92px; height: 112px; margin: -56px 0 0 -46px; border-radius: 14px; background: linear-gradient(160deg, #2b2a78, #1a1650); border: 1.5px solid #e9c46a; box-shadow: 0 0 24px rgba(233,196,106,.45), inset 0 0 0 5px rgba(233,196,106,.12); display: grid; place-items: center; animation: lvfloat 3.2s ease-in-out infinite; }
.lv .lvring .env b { font: 800 46px/1 "Noto Serif KR", serif; color: #f6dc9a; text-shadow: 0 0 14px rgba(233,196,106,.7); }
.lv .lvring .env .lvseal { position: absolute; bottom: -12px; left: 50%; margin-left: -15px; width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff7aa8, #b0154f); color: #fff3c9; font: 700 14px/30px "Noto Serif KR", serif; font-style: normal; text-align: center; box-shadow: 0 2px 8px rgba(176,21,79,.6); }
@keyframes lvspin { to { transform: rotate(360deg); } }
@keyframes lvfloat { 50% { transform: translateY(-6px) rotate(-2deg); } }
/* 2 달력 위 한 줄 — 오늘은 어떤 날 · 다음 꽃 피는 날 */
.lvtoday { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 2px 0 4px; }
.lvtoday span { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.08); color: #e6e9f6; white-space: nowrap; }
.lvtoday span.fl { background: rgba(255,122,168,.25); color: #ffd3e1; } .lvtoday span.qt { background: rgba(154,160,189,.2); }
.lvtoday b { color: #ffd3e1; } .lvtoday em { font-style: normal; font-weight: 700; color: #1a1405; background: #f6dc9a; border-radius: 6px; padding: 0 5px; margin-left: 3px; }
/* 4 빨간 실 용 + 궁금한 것 */
.lv .lvpic { width: 108px; height: 108px; object-fit: contain; filter: drop-shadow(0 0 14px rgba(255,122,168,.45)); }
.lv .lvcloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; padding: 0 6px; }
.lv .lvcloud span { background: rgba(255,255,255,.07); color: #ffd3e1; border: 1px solid rgba(255,143,179,.45); border-radius: 16px; padding: 5px 11px; font-size: 13.5px; font-weight: 600; }
.lv .lvcloud span.on { background: linear-gradient(135deg, #ff7aa8, #c2185b); color: #fff; border-color: transparent; }
/* 잠긴 목차(결제 전) */
.lv .lvm.lvtoc { width: 100%; padding: 6px 14px; background: rgba(255,255,255,.95); }
.lv .lvtoc div { display: flex; align-items: center; gap: 9px; padding: 8px 0; border-bottom: 1px dashed rgba(34,35,58,.15); font-size: 14.5px; }
.lv .lvtoc div:last-child { border-bottom: 0; }
.lv .lvtoc b { flex: 1; font-weight: 600; } .lv .lvtoc em { font-style: normal; font-size: 13px; opacity: .7; }
/* 그분 칩 + 지우기 ✕(11-08 대표님 「이름 삭제도 가능하게」) */
.lv .lvopts .pc { display: inline-flex; align-items: center; gap: 0; border: 1.5px dashed rgba(255,143,179,.75); border-radius: 22px; overflow: hidden; }
.lv .lvopts .pc button { border: 0 !important; border-radius: 0; background: transparent; }
.lv .lvopts .pc .px { padding: 10px 12px 10px 4px; color: var(--mute); font-size: 13px; }
.lv .lvopts .pc .px.warn { color: #ffb4b4; font-weight: 600; padding-left: 10px; background: rgba(255,120,120,.12); }
/* 달력 — 밤하늘 결(미리 보기 · 풀이 같이) */
.lvcal { width: 100%; max-width: 300px; margin: 0 auto; color: #e6e9f6; }
.lvcal .cm { display: block; text-align: center; font-size: 14px; margin-bottom: 4px; color: #f6dc9a !important; }
.lvcal .cw, .lvcal .cg { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.lvcal .cw span { font-size: 11.5px; color: #9aa0bd; }
.lvcal .cg i { font-style: normal; font-size: 13.5px; height: 30px; display: grid; place-items: center; position: relative; }
.lvcal .cg i.fl::before { content: "🌸"; position: absolute; font-size: 25px; line-height: 1; z-index: -1; filter: drop-shadow(0 0 6px rgba(255,122,168,.85)); opacity: .9; }
.lvcal .cg i.fl { font-weight: 800; color: #3a0820; z-index: 0; }
.lvcal .cg i.qt::before { content: ""; position: absolute; width: 24px; height: 24px; border-radius: 50%; border: 1.5px dashed #9aa0bd; z-index: -1; }
.lvcal .cg i.qt { z-index: 0; color: #c3c9e0; }
.lvcal .cg i.td { color: #f6dc9a; text-decoration: underline 2px; text-underline-offset: 3px; font-weight: 700; }
.lvcal .cg i.past { opacity: .35; }
.lvcal .lg { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 12px; font-size: 11.5px; margin-top: 6px; color: #c3c9e0; }
.lvcal .lg span { white-space: nowrap; display: inline-flex; align-items: center; }
.lvcal .lg i { display: inline-block; width: 11px; height: 11px; border-radius: 50%; vertical-align: -1px; margin-right: 4px; }
.lvcal .lg i.fl { background: #ff7aa8; box-shadow: 0 0 6px #ff7aa8; } .lvcal .lg i.qt { border: 1.5px dashed #9aa0bd; }
/* 연애 별자리 */
.lvg { width: 100%; height: auto; display: block; border-radius: 16px; }
.lvg .dust { fill: #fff; animation: lvtw 3s ease-in-out infinite; }
@keyframes lvtw { 50% { opacity: .2; } }
.lvg .ax { font-size: 9.5px; fill: rgba(246,220,154,.6); }
.lvg .nwt { font-size: 10px; fill: #ffe9a8; font-weight: 700; }
.lvg .pk { cursor: pointer; }
.lvg .pk .ring { fill: rgba(255,143,179,.08); stroke: #ff8fb3; stroke-width: 1.2; stroke-dasharray: 3 3; transform-box: fill-box; transform-origin: center; animation: lvspin 12s linear infinite; }
.lvg .pk .st { fill: #ffe9a8; transform-box: fill-box; transform-origin: center; animation: lvpulse2 2.4s ease-in-out infinite; }
.lvg .pk .pl { font-size: 10px; fill: #ffd3e1; font-weight: 700; }
.lvg .pk.on .ring { stroke: #f6dc9a; stroke-dasharray: none; stroke-width: 2; fill: rgba(246,220,154,.18); }
.lvg .pk.on .st { fill: #fff; }
@keyframes lvpulse2 { 50% { transform: scale(1.18); } }
/* 풀이(보고서 모양) */
.lv2 .lvfl { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; margin: 12px 0 6px; padding: 12px; border-radius: 14px; background: rgba(255,143,179,.1); }
.lv2 .lvfl > span { font-size: 50px; text-align: center; line-height: 1; }
.lv2 .lvfl b { font: 700 20px/1.4 var(--lr-serif); color: #ffd3e1; }
.lv2 .lvfl p { margin: 2px 0 0 !important; font-size: 15px; color: #d3d8ec; line-height: 1.6; }
.lv2 .lvsc { margin: 12px 0 8px; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.05); }
.lv2 .lvsc .tot { display: flex; align-items: baseline; gap: 4px; margin-bottom: 8px; }
.lv2 .lvsc .tot b { font-size: 34px; color: #ff8fb3; font-weight: 700; } .lv2 .lvsc .tot small { font-size: 15px; } .lv2 .lvsc .tot span { margin-left: auto; font-size: 13.5px; color: #d3d8ec; }
.lv2 .lvsc .bar { display: grid; grid-template-columns: 72px 1fr 30px; gap: 8px; align-items: center; font-size: 14px; }
.lv2 .lvsc .bar i { height: 8px; border-radius: 4px; background: rgba(255,255,255,.1); overflow: hidden; } .lv2 .lvsc .bar u { display: block; height: 100%; background: linear-gradient(90deg, #ff8fb3, #e9c46a); }
.lv2 .lvsc .bar em { font-style: normal; text-align: right; color: #d3d8ec; }
.lv2 .lvcals { display: grid; gap: 14px; margin: 10px 0 10px; padding: 12px 6px; border-radius: 14px; background: linear-gradient(170deg, #1a2160, #120f3c); border: 1px solid rgba(233,196,106,.3); }
.lv2 .lvtoday { justify-content: flex-start; margin-top: 12px; }
/* 칸마다 그림(11-08 대표님 「이미지 적재적소에」) · 연애 온도계 */
.lv2 .lvart { float: right; width: 86px; height: 86px; object-fit: contain; margin: -30px -6px 4px 8px; filter: drop-shadow(0 4px 12px rgba(0,0,0,.35)); }
.lv2 .lvtemp { display: grid; grid-template-columns: 62px 1fr; gap: 10px; align-items: center; margin: 4px 0 8px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.05); clear: both; }
.lv2 .lvtemp .lvart { float: none; width: 62px; height: 62px; margin: 0; }
.lv2 .lvtemp b { font-size: 14px; color: #f6dc9a; }
.lv2 .lvtemp .m { display: block; height: 10px; border-radius: 5px; margin: 6px 0; background: linear-gradient(90deg, #6ea5ff, #b48cff 50%, #ff7aa8); position: relative; }
.lv2 .lvtemp .m u { position: absolute; top: -4px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px #ff7aa8, 0 0 10px #ff7aa8; }
.lv2 .lvtemp .m.cold u { left: 18%; } .lv2 .lvtemp .m.mild u { left: 52%; } .lv2 .lvtemp .m.hot u { left: 86%; }
.lv2 .lvtemp span { font-size: 14.5px; color: #e6e9f6; line-height: 1.5; }
.lv2 .lvmo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 4px 0 8px; }
.lv2 .lvmo div { text-align: center; padding: 6px 2px; border-radius: 10px; background: rgba(255,255,255,.05); font-size: 13.5px; line-height: 1.4; }
.lv2 .lvmo em { display: block; font-style: normal; font-size: 11.5px; color: #c3c9e0; }
.lv2 .lvmo em.good { color: #ff9dc0; font-weight: 600; } .lv2 .lvmo em.slow { color: #aab0c8; }
.lv2 #lvgbox { margin: 8px -4px 4px; }
.lv2 .lvpks { display: flex; gap: 6px; margin: 4px 0 14px; }
.lv2 .lvpks button { flex: 1; background: rgba(255,255,255,.05); border: 1px solid var(--lr-line); border-radius: 12px; color: #fff; font-size: 14px; padding: 7px 2px; cursor: pointer; }
.lv2 .lvpks button small { display: block; font-size: 11.5px; color: #c3c9e0; }
.lv2 .lvpks button.on { border-color: #ff8fb3; background: rgba(255,143,179,.16); }
.lv2 .lvpk { margin-top: 10px; }
.lv2 .lvpk > b { font-size: 14px; color: #ff9dc0; } .lv2 .lvpk > b em { font-style: normal; font-size: 12px; color: #c3c9e0; margin-left: 4px; }
.lv2 .lvpk h3 { margin-top: 4px; }

/* 11-08 간밤 꿈 풀이 — 홈 띠(.h-dream) · 화면(.dr). 남색 · 보라 밤하늘 + 금빛 초승달 */
.h-dream { width: 100%; display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 12px 14px; text-align: left; cursor: pointer; font-family: inherit; color: var(--ink);
  background: radial-gradient(120% 140% at 0% 0%, rgba(160,130,255,.30), transparent 60%), linear-gradient(120deg, #1b1f4a, #2a1f55); border: 1px solid rgba(233,196,106,.7); border-radius: 18px;   /* 11-09 대표님 「테두리만 금색으로 얇게」 */ box-shadow: 0 6px 18px rgba(20,10,60,.35); }
.h-dream .m, .dr-moon { flex: none; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset -10px -3px 0 0 #f3d98f; transform: rotate(-20deg); filter: drop-shadow(0 0 8px rgba(243,217,143,.55)); }
.h-dream .tx { flex: 1; min-width: 0; }
.h-dream b { display: block; font-size: 15px; color: #f3e3b0; }
.h-dream small { display: block; font-size: 12.5px; color: #c6c2e6; line-height: 1.4; margin-top: 2px; }
.h-dream em { font-style: normal; font-size: 24px; color: #f3d98f; }
.dr-ask, .dr-wait, .dr-card { background: radial-gradient(130% 90% at 100% 0%, rgba(150,120,255,.22), transparent 55%), linear-gradient(170deg, #1a1d48, #14183a); border: 1px solid rgba(190,170,255,.22); border-radius: 20px; padding: 18px 16px; }
.dr-row { display: flex; gap: 10px; align-items: flex-start; }
.dr .dr-av { width: 42px; height: 42px; border-radius: 50%; flex: none; }
.dr-b { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); border-radius: 4px 16px 16px 16px; padding: 10px 12px; font-size: 14.5px; line-height: 1.55; color: var(--ink); }
.dr textarea { width: 100%; margin-top: 14px; padding: 12px 13px; border-radius: 14px; border: 1px solid rgba(190,170,255,.3); background: rgba(5,8,28,.55); color: var(--ink); font: inherit; font-size: 15px; line-height: 1.55; resize: vertical; }
.dr textarea:focus { outline: none; border-color: #f3d98f; }
.dr-n { text-align: right; font-size: 11.5px; color: var(--mute); margin-top: 4px; }
.dr-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 14px; }
.dr-chips button { border: 1px solid rgba(190,170,255,.3); background: rgba(150,120,255,.12); color: #ddd8ff; border-radius: 999px; padding: 6px 11px; font: inherit; font-size: 12.5px; cursor: pointer; }
.dr-note { font-size: 12px; color: var(--mute); text-align: center; margin-top: 12px; line-height: 1.6; }
.dr-wait { text-align: center; padding: 36px 16px; }
.dr-wait .dr-moon { margin: 0 auto 14px; width: 54px; height: 54px; box-shadow: inset -13px -4px 0 0 #f3d98f; }
.dr-moon.spin { animation: drm 2.4s ease-in-out infinite; }
@keyframes drm { 0%, 100% { transform: rotate(-20deg) scale(1); } 50% { transform: rotate(-5deg) scale(1.08); } }
.dr-wait p { font-size: 15px; color: #f3e3b0; } .dr-wait small { color: var(--mute); }
.dr-card { position: relative; overflow: hidden; }
.dr-card > .dr-moon { position: absolute; right: 16px; top: 16px; width: 34px; height: 34px; box-shadow: inset -8px -3px 0 0 #f3d98f; opacity: .9; }
.dr-q { font-size: 13px; color: #c6c2e6; padding-right: 44px; line-height: 1.5; word-break: keep-all; }
.dr-tag { display: inline-block; margin-top: 10px; font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.dr-tag.g { background: rgba(243,217,143,.18); color: #f3d98f; } .dr-tag.m { background: rgba(140,190,255,.16); color: #a9d0ff; } .dr-tag.b { background: rgba(200,170,255,.18); color: #d6c4ff; }
.dr-card h3 { font-size: 20px; line-height: 1.35; margin-top: 8px; color: #fff; word-break: keep-all; }
.dr-one { font-size: 13.5px; color: #f3d98f; margin-top: 4px; }
.dr-who { display: flex; align-items: center; gap: 8px; margin: 14px 0 6px; font-size: 12.5px; color: #c6c2e6; }
.dr-who .dr-av { width: 30px; height: 30px; }
.dr-p { font-size: 15px; line-height: 1.75; color: var(--ink); margin-top: 10px; word-break: keep-all; }
.dr-go { width: 100%; display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 13px 14px; border-radius: 16px; border: 0; cursor: pointer; font-family: inherit; text-align: left; background: var(--grad); color: #1a1530; }
.dr-go span { font-size: 20px; } .dr-go b { flex: 1; font-size: 14.5px; } .dr-go em { font-style: normal; font-size: 22px; }
.dr-more { display: block; text-align: center; margin-top: 12px; font-size: 13px; color: #d6c4ff; text-decoration: none; }
.dr .sos { margin-top: 12px; }

/* 11-08 쪽지 「오늘의 한 장」(.nf — 눌러 뒤집는 카드) · 「오늘의 행운 시간」(.lh) */
.nf { perspective: 1100px; margin: 12px 0; }
.nf-in { display: grid; transition: transform .75s cubic-bezier(.3,.7,.3,1.15); transform-style: preserve-3d; }
.nf.on .nf-in { transform: rotateY(180deg); }
.nf-back, .nf-front { grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 20px; padding: 18px 16px; text-align: center; }
.nf-back { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 150px; cursor: pointer; font-family: inherit; color: #f3e3b0; border: 1px solid rgba(233,196,106,.55);
  background: repeating-linear-gradient(45deg, rgba(233,196,106,.07) 0 10px, transparent 10px 20px), radial-gradient(120% 120% at 50% 0%, #4a2f9e, #1b1850 70%); box-shadow: 0 8px 22px rgba(10,6,40,.45); animation: nfw 2.8s ease-in-out infinite; }
@keyframes nfw { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.nf-seal { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: Hahmlet, serif; font-weight: 900; font-size: 24px; color: #fff; background: radial-gradient(circle at 35% 30%, #ff9dc0, #d9487a); box-shadow: 0 0 14px rgba(255,140,180,.55); }
.nf-back b { font-size: 17px; } .nf-back small { font-size: 12.5px; color: #c6c2e6; }
.nf-front { transform: rotateY(180deg); background: linear-gradient(170deg, #fff8e6, #f3e1b8); color: #2a2140; border: 1px solid rgba(201,162,74,.6); }
.nf-k { display: block; font-size: 11.5px; letter-spacing: .5px; color: #8a6a2a; font-weight: 700; }
.nf-e { font-size: 44px; line-height: 1.2; margin: 4px 0 2px; }
.nf-i { display: block; font-size: 18px; color: #3a2a6a; }
.nf-w { display: block; font-size: 12.5px; color: #6b5a7a; margin-top: 2px; }
.nf-m { margin-top: 12px; padding-top: 10px; border-top: 1px dashed rgba(138,106,42,.45); }
.nf-m small { display: block; font-size: 11.5px; color: #8a6a2a; font-weight: 700; } .nf-m b { display: block; font-size: 15px; margin-top: 2px; color: #2a2140; word-break: keep-all; }
.nf-ok { margin-top: 10px; border: 0; border-radius: 999px; padding: 8px 18px; font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; background: #3a2a6a; color: #fff; }
.nf-ok.done { background: #2f8f5b; }
.lh .lh-t { font-size: 22px; font-weight: 800; color: var(--hi); margin: 2px 0 4px; }
.lh p { font-size: 13.5px; line-height: 1.55; color: var(--sub); word-break: keep-all; }
.lh .lh-d { color: var(--ink); margin-top: 6px; } .lh .lh-d b { color: var(--ink); }
.lh .lh-s { margin-top: 6px; font-size: 12.5px; color: var(--mute); }
@media (prefers-reduced-motion: reduce) { .nf-in { transition: none; } .nf-back { animation: none; } }

/* 11-08 사람 탭 — 사주아이 「궁합해설」 결: 두 사람 한 줄 + 추가 단추, 설명 글 없음 */
.gsheet { padding: 18px 14px 14px; }
.gsheet h4 { text-align: center; font-size: 18px; margin: 0; }
.gsub { text-align: center; font-size: 13px; color: var(--sub); margin: 4px 0 12px; }
.grow { position: relative; border-top: 1px solid rgba(255,255,255,.07); }
.grow:first-of-type { border-top: 0; }
.gopen { width: 100%; display: flex; align-items: center; gap: 10px; padding: 12px 34px 12px 4px; background: none; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.gopen .gpair { display: flex; align-items: center; gap: 3px; flex: none; }   /* 11-22 목록 단추 것만 — 이름이 같아 궁합 결과의 두 사람 칸(.card.gpair)까지 눌러 「대표님」이 세로로 한 글자씩 섰다 */
.gopen .gpair em { font-style: normal; font-size: 11px; color: #ff8fb1; }
.gav { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 14.5px; color: #fff; }
.gav.me { background: linear-gradient(135deg, #f4cf6a, #b8862a); color: #2a1d05; }
.gav.water { background: linear-gradient(135deg, #3b5bd6, #1d2a6e); } .gav.metal { background: linear-gradient(135deg, #8a86b4, #3d3a5e); } .gav.wood { background: linear-gradient(135deg, #2fa37f, #13503d); }
.gav.fire { background: linear-gradient(135deg, #e0567f, #7a2346); } .gav.earth { background: linear-gradient(135deg, #d6a13a, #6e4d14); }
.gtx { flex: 1; min-width: 0; }
.gtx b { display: block; font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gtx b s { text-decoration: none; color: #ff8fb1; font-size: 12px; }
.gtx small { display: block; font-size: 12.5px; color: var(--sub); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gtx small.gtd { color: #f3d98f; font-size: 12px; margin-top: 1px; }
.gtx small.gtd:empty { display: none; }
.gcnt { flex: none; min-width: 20px; height: 20px; border-radius: 10px; background: rgba(255,143,177,.2); color: #ff9fbd; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.garr { flex: none; color: var(--sub); font-size: 20px; }
.gmore { position: absolute; right: 0; top: 10px; width: 30px; height: 30px; border: 0; background: none; color: var(--mute); font-size: 18px; cursor: pointer; }
.gact { display: none; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 4px 12px; }
.gact.on { display: grid; }
.gadd { margin-top: 10px; background: linear-gradient(135deg, #ff9fbd, #e2648e); color: #fff; }
.glink { display: block; margin: 10px auto 0; background: none; border: 0; color: var(--sub); font: inherit; font-size: 13.5px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
/* 11-08 공유 미끼 — 오늘의 한 장 · 꿈 풀이 「친구한테 슝」 */
.nf-sh { display: block; margin: 8px auto 0; border: 0; background: none; color: #6b4bb8; font: inherit; font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.dr-sh { width: 100%; margin-top: 8px; padding: 11px 14px; border-radius: 16px; border: 1px solid rgba(190,170,255,.4); background: rgba(150,120,255,.14); color: #ddd8ff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }

/* 11-08 AI 표시는 작은 꼬리표 하나(AI 기본법 — 생성형 AI 결과물 표시). 문장 대신 */
.aitag { text-align: right; font-size: 11px; color: var(--mute); margin: 14px 4px 0; letter-spacing: .02em; opacity: .85; }
.aitag.c { text-align: center; margin: 10px 0 0; }
/* 11-08 신년운세 철 공유 미끼 — 스포일러 「친구한테 슝」 */
.ny2 .nysh { display: block; width: 100%; margin-top: 14px; padding: 11px 14px; border-radius: 14px; border: 1px solid rgba(233,196,106,.45); background: rgba(233,196,106,.12); color: #f6e7bd; font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; }
/* 11-10 행운 바탕화면 — 첫 화면 카드(두 장 부채꼴) · 두 장 중 고르기 · 받은 바탕화면 */
.h-p .ph.wph { place-items: center; background: radial-gradient(110% 85% at 50% 100%, rgba(233,196,106,.45), rgba(233,196,106,.06) 72%, transparent); }
.h-p .ph.wph img { position: absolute; height: 108px; width: auto; border-radius: 9px; box-shadow: 0 6px 14px rgba(0,0,0,.45); filter: none; }
.h-p .ph.wph img:first-child { transform: translateX(-17px) rotate(-8deg); }
.h-p .ph.wph img:last-child { transform: translateX(17px) rotate(7deg); }
.prod .ch.wph1 { overflow: hidden; display: block; --c: rgba(233,196,106,.5); background: #1b1f3a; }
.prod .ch.wph1 img { width: 64px; height: 64px; object-fit: cover; object-position: 50% 57%; }
.wneed { font-size: 14.5px; color: var(--sub); margin: 4px 2px 12px; }
.wneed b { color: #e9c46a; }
.wpick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.wcard { position: relative; padding: 6px 6px 10px; border-radius: 18px; border: 2px solid var(--glassb); background: var(--glass); color: var(--ink); font: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.wcard img { width: 100%; aspect-ratio: 240 / 520; object-fit: cover; border-radius: 13px; display: block; }
.wcard b { font-size: 14px; margin-top: 8px; color: #fff; }
.wcard small { font-size: 11.5px; color: var(--sub); margin-top: 2px; }
.wcard em { position: absolute; top: 12px; left: 12px; font-style: normal; font-size: 11px; font-weight: 800; background: rgba(0,0,0,.6); color: #e9c46a; border-radius: 10px; padding: 2px 8px; }
.wcard.on { border-color: #e9c46a; box-shadow: 0 0 0 3px rgba(233,196,106,.25), 0 6px 18px rgba(0,0,0,.35); }
.wcard.on::after { content: '✓'; position: absolute; top: 10px; right: 10px; width: 24px; height: 24px; border-radius: 50%; background: #e9c46a; color: #1a1a2e; font-weight: 900; display: grid; place-items: center; font-size: 14px; }
.wmine { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 8px; }
.wmine button { flex: 0 0 72px; padding: 0; border: 1px solid var(--glassb); border-radius: 10px; overflow: hidden; background: none; cursor: pointer; }
.wmine img { width: 72px; aspect-ratio: 240 / 520; object-fit: cover; display: block; }
.wdone { display: flex; justify-content: center; margin: 4px 0 14px; }
.wdone img { height: min(62vh, 560px); aspect-ratio: 1080 / 2340; object-fit: cover; border-radius: 22px; box-shadow: 0 10px 30px rgba(0,0,0,.5); background: #111; }
#wgo .tti { width: 20px; height: 16px; vertical-align: -3px; margin-right: 6px; }

/* ── 자미두수(11-11) — 별자리판(열두 칸 + 가운데 「나를 비추는 별」) · 판정 상자 · 근거 줄 ── */
.zwcard { width: 100%; background: linear-gradient(170deg, #1a2160, #120f3c); border: 1px solid rgba(233,196,106,.38); border-radius: 16px; padding: 8px 7px 4px; box-shadow: 0 6px 22px rgba(0,0,0,.3); margin: 4px 0 12px; }
.lr .zwcard { background: none; border: 0; box-shadow: none; padding: 0; margin: 10px 0 6px; }
.zwb { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; }
.zwb .zc { position: relative; display: flex; flex-direction: column; gap: 2px; min-height: 64px; min-width: 0; padding: 5px 4px; background: #10163a; border: 1px solid #2c3470; border-radius: 8px; text-align: left; }
.zwb .zc > b { font-size: 10px; font-weight: 500; line-height: 1.3; color: #b8bfd8; }
.zwb .st { font-size: 11.5px; line-height: 1.35; color: #fff; overflow-wrap: anywhere; }
.zwb .st i { font-style: normal; margin-left: 2px; }
.zwb .st.em { font-size: 10px; color: #8f98c4; }
.zwb .zc.me { border: 2px solid #e9c46a; background: #1d2350; }
.zwb .zc.bd::after { content: ""; position: absolute; top: 5px; right: 5px; width: 6px; height: 6px; border-radius: 50%; background: #7fb2ff; }
.zwb .hu { display: flex; flex-wrap: wrap; gap: 2px; margin-top: auto; }
.zwb .hu em, .zwlg em { font-style: normal; font-size: 10px; font-weight: 800; line-height: 1.5; border-radius: 4px; padding: 0 4px; color: #1a1a2e; }
.zwb em.g, .zwlg em.g { background: #f6dc9a; } .zwb em.p, .zwlg em.p { background: #ffb3cc; } .zwb em.b, .zwlg em.b { background: #a9d1ff; } .zwb em.r, .zwlg em.r { background: #c9b6ff; }
.zwb .zcen { grid-row: 2 / 4; grid-column: 2 / 4; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-width: 0; padding: 6px; border-radius: 10px; background: radial-gradient(circle, #2a2f6b, #141a44); }
.zwb .zcen small { font-size: 11px; color: #d3d8ec; line-height: 1.4; }
.zwb .zcen b { font: 700 17px/1.4 "Noto Serif KR", "Nanum Myeongjo", Batang, serif; color: #f6dc9a; margin: 3px 0; }
.zwb .zcen span { font-size: 10px; color: #b8bfd8; line-height: 1.45; margin-top: 2px; }
.zwlg { font-size: 11px; line-height: 2; color: #d3d8ec; text-align: center; margin: 6px 0 4px; }
.zwlg em { margin: 0 3px 0 7px; }
.lr .zwv { font: 700 17.5px/1.6 var(--lr-serif); color: #fff; background: linear-gradient(135deg, #3a2f12, #2a2350); border: 1px solid #e9c46a; border-radius: 12px; padding: 12px 14px; margin: 2px 0 10px; text-wrap: pretty; }
.lr .zwv b { color: #f6dc9a; }
/* 11-11 판정 카드(평생 풀이 「먼저 답」) — 판정 도장 · 가능성 · 골든타임 · 멈출 때 · 근거 칩 */
.lr .vd { margin: 10px 0 12px; border: 1px solid rgba(233,196,106,.55); border-radius: 14px; background: linear-gradient(135deg, #3a2f12, #2a2350); padding: 12px 13px 10px; }
.lr .vd small { display: block; font-size: 11.5px; font-weight: 500; color: #d3d8ec; line-height: 1.4; }
.lr .vdw b { display: block; font: 700 20px/1.4 var(--lr-serif); color: #f6dc9a; margin-top: 2px; text-wrap: balance; }
.lr .vdk { display: grid; grid-template-columns: repeat(auto-fit, minmax(86px, 1fr)); gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed rgba(233,196,106,.3); }
.lr .vdk span { min-width: 0; }
.lr .vdk b { display: block; font-size: 15px; line-height: 1.35; color: #fff; }
.lr .vdk i { display: block; font-style: normal; font-size: 11.5px; line-height: 1.4; color: #e9c46a; }
.lr .vdc { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.lr .vdc em { font-style: normal; font-size: 11.5px; line-height: 1.5; color: #f6dc9a; border: 1px solid rgba(233,196,106,.45); border-radius: 999px; padding: 1px 9px; }
.lr .lr-s > p.zwpf { font-size: 12.5px; line-height: 1.5; color: #b8bfd8; margin: 0 0 12px; letter-spacing: .02em; }

/* 11-11 2판 — 주제 판정 카드: 해마다 가능성 막대 */
.vds .vdn{display:block;color:var(--sub,#d3d8ec);font-size:12.5px;margin-top:2px}
.vdy{display:grid;grid-template-columns:repeat(6,1fr);gap:6px;align-items:end;height:92px;margin:8px 0 2px}
.vdy span{display:flex;flex-direction:column;justify-content:flex-end;align-items:center;height:100%;min-width:0}
.vdy b{font-size:11.5px;font-weight:700;line-height:1.2;color:#f5f7fd}
.vdy i{display:block;width:100%;max-height:52px;min-height:6px;border-radius:5px 5px 2px 2px;background:rgba(240,201,106,.35);margin:2px 0}
.vdy small{font-size:11px;color:#d3d8ec;line-height:1.2}
.vdy .on i{background:#f0c96a}.vdy .on b{color:#f0c96a}

/* 11-11 풀이 맨 아래 한 줄 — AI 가 쓴 글 표시(인공지능기본법 결과물 표시) */
.ny .nyluck{background:rgba(240,201,106,.1);border:1px solid rgba(240,201,106,.35);border-radius:12px;padding:8px 12px;font-size:14px;line-height:1.5;color:#f6dc9a;margin:2px 0 12px}   /* 11-11 연도별 운세 — 천천히 가는 달의 개운법 줄 */
.ny .nyluck b{display:inline-block;margin-right:7px;font-size:11.5px;font-weight:700;border:1px solid rgba(240,201,106,.5);border-radius:999px;padding:0 8px;vertical-align:1px}
.lr-made{text-align:center;color:#eef0fa;font-size:13px;line-height:1.6;margin:14px 0 4px}
.lr-made b{display:block;color:#f1d58a;font-size:16px;font-weight:600;margin-bottom:2px}
.lr-made span{display:block;font-size:12.5px;letter-spacing:-.3px;word-break:keep-all}
.lr-made i{display:block;font-style:normal;color:#7b84a6;font-size:11.5px}

/* 11-15 연애운 13칸판 — 카드 이름(작은 금색) · 6개월 연애 달력 */
.lv2 .lvcn { margin: 18px 0 2px; font-size: 12.5px; font-weight: 700; color: #f0cf7a; letter-spacing: .02em; }
.lv2 .lvcn:first-of-type { margin-top: 6px; }
.lv2 .lvdays { display: grid; gap: 8px; margin-top: 8px; }
.lv2 .lvday { border-left: 3px solid #e59ab0; background: rgba(229,154,176,.08); border-radius: 10px; padding: 9px 12px; }
.lv2 .lvday.b { border-left-color: #8a94a8; background: rgba(138,148,168,.08); }
.lv2 .lvday b { font-size: 13.5px; } .lv2 .lvday p { margin: 4px 0 0; font-size: 14px; line-height: 1.65; }

/* 11-15 내 운 UP 시키는 법 — 곁에 둘 색 · 방향 · 음식 · 띠는 글에 늘어놓지 않고 이 상자로 */
.nyup { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.nyup > b { flex: 0 0 100%; font-size: 14px; color: #f0d58c; }
.nyup span { display: inline-flex; flex-direction: column; padding: 6px 10px; border-radius: 10px; background: var(--n1); font-size: 14px; line-height: 1.35; }
.nyup span small { font-size: 12px; color: var(--sub); }

/* 11-20 떡 주머니 · 떡 묶음 — 결제 화면 위(금색 바탕엔 짙은 글씨) */
#wal { margin-top: 12px; }
.walb { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: rgba(255,214,107,.13); border: 1px solid rgba(233,196,106,.7); border-radius: 14px; padding: 12px 14px; margin-bottom: 12px; }
.walb span { font-size: 14px; color: #f3e6c2; }
.walb b { color: #ffd66b; }
.walb .btn { width: auto; flex: none; padding: 10px 14px; font-size: 14px; background: var(--gold); color: #3a2a00; margin: 0; }
.waln { font-size: 13px; color: #c9d0ea; margin: 0 0 10px; }
.pkh { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: #f1d58a; margin: 4px 0 8px; }
.pkh .tti { width: 22px; height: 18px; }
.pks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.pk { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 12px 4px 10px; color: #eef0fa; font-family: var(--body); cursor: pointer; min-width: 0; }
.pk b { font-size: 13.5px; font-weight: 800; color: #fff; word-break: keep-all; }
.pk small { font-size: 11px; color: #c9d0ea; line-height: 1.35; text-align: center; word-break: keep-all; }
.pk em { font-style: normal; font-size: 14px; font-weight: 800; color: #ffd66b; margin-top: 2px; }
.pk.best { border-color: rgba(233,196,106,.85); background: rgba(255,214,107,.1); }
.pk i { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 10.5px; font-weight: 800; background: var(--gold); color: #3a2a00; border-radius: 8px; padding: 1px 7px; }

/* 11-20 평생 풀이 — 어떤 분 것 볼까요 · ○○님의 사주 기록(아래에서 올라오는 창, 사주아이 짜임 · 신비 남색 결) */
.wsh-bg { position: fixed; inset: 0; z-index: 60; background: rgba(4,8,24,.62); display: flex; align-items: flex-end; justify-content: center; animation: wshFade .18s ease-out; }
.wsh { position: relative; width: 100%; max-width: 480px; max-height: 82vh; overflow-y: auto; background: linear-gradient(180deg, #1b2759, #111a40); border: 1px solid rgba(233,196,106,.35); border-bottom: 0; border-radius: 22px 22px 0 0; padding: 22px 16px calc(18px + env(safe-area-inset-bottom)); color: #eef0fa; box-shadow: 0 -10px 30px rgba(0,0,0,.4); animation: wshUp .22s ease-out; }
@keyframes wshUp { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes wshFade { from { opacity: 0; } to { opacity: 1; } }
.wsh h3 { text-align: center; font-size: 18px; font-weight: 800; margin: 0; color: #fff; font-family: var(--body); padding: 0 30px; word-break: keep-all; }
.wsh .wsub { text-align: center; font-size: 13px; color: #c9d0ea; margin: 5px 0 12px; word-break: keep-all; }
.wsh-x { position: absolute; right: 12px; top: 12px; width: 34px; height: 34px; border: 0; background: none; color: #c9d0ea; font-size: 18px; cursor: pointer; }
.wsl { display: flex; flex-direction: column; }
.wsr { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 4px; background: none; border: 0; border-top: 1px solid rgba(255,255,255,.08); color: inherit; font: inherit; text-align: left; cursor: pointer; }
.wsl > .wsr:first-child { border-top: 0; }
.wav { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 16px; color: #fff; background: linear-gradient(135deg, #3b5bd6, #1d2a6e); }
.wav.me { background: linear-gradient(135deg, #f4cf6a, #b8862a); color: #2a1d05; }
.wav.metal { background: linear-gradient(135deg, #8a86b4, #3d3a5e); } .wav.wood { background: linear-gradient(135deg, #2fa37f, #13503d); }
.wav.fire { background: linear-gradient(135deg, #e0567f, #7a2346); } .wav.earth { background: linear-gradient(135deg, #d6a13a, #6e4d14); }
.wst { flex: 1; min-width: 0; }
.wst b { display: block; font-size: 15.5px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wst small { display: block; font-size: 12.5px; color: #c9d0ea; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wsn { flex: none; font-style: normal; font-size: 11.5px; font-weight: 800; color: #3a2a00; background: var(--gold); border-radius: 10px; padding: 2px 8px; }
.wsr s { flex: none; text-decoration: none; color: #c9d0ea; font-size: 20px; }
.wrec { padding: 0; }
.wro { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 12px 4px; background: none; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.wro s { flex: none; text-decoration: none; color: #c9d0ea; font-size: 20px; }
.wro .wst b { color: #f3d98f; font-size: 14px; }
.wro .wst small { color: #eef0fa; font-size: 14px; }
.wdel { flex: none; border: 0; background: none; color: #8f98bd; font-size: 15px; padding: 8px 6px; cursor: pointer; white-space: nowrap; }
.wdel.warn { color: #ff8fb1; font-size: 12px; font-weight: 700; }
.wsh .wsadd { margin-top: 14px; }

/* 11-20 대표님 「정미년 글자 때문에 2027 이 잘 안 보여 — 붉은 양을 좀 아래로 내리고 그림도 키워」 */
/* 그림 위아래 투명 여백(위 12% · 아래 10%)만 칸 밖으로 — 양은 안 잘리고, 그림 칸을 첫 줄 두 카드만 24px 높였다(줄 맞춤) */
.h-p[data-buy="newyear"] .ph, .h-p[data-buy="life"] .ph { height: 156px; }
.h-p[data-buy="newyear"] .ph { overflow: hidden; }
.h-p[data-buy="newyear"] .ph img { height: 160px; margin-bottom: -17px; }

/* 11-21 관심사 「기타 ✏️」 — 누르면 아래에 쓰는 칸 */
.chips .etc { border-style: dashed; }
.etcin { margin-top: 8px; }

/* 11-21 상담 새 판 — 한 줄 판정 카드(사주아이 수다의 메모 카드 결) · 답 끝 비서 그림 */
.ms .chead { background: linear-gradient(135deg, rgba(233,196,106,.20), rgba(233,196,106,.08)); border: 1px solid rgba(233,196,106,.55); border-radius: 4px 16px 16px 16px; padding: 10px 13px; }
.ms .chead small { display: block; font-size: 12px; color: var(--gold, #e9c46a); margin-bottom: 3px; }
.ms .chead b { display: block; font-family: var(--title, inherit); font-size: 17px; line-height: 1.45; color: #fff3cf; word-break: keep-all; }
.ms .cstk { width: 96px; height: auto; margin-top: 4px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
/* 11-21 생일 확인 칸 — 크게 · 금테 · 「맞으면 다음」 안내(.confirm 위 116~118줄을 덮는다) */
.confirm { background: rgba(233,196,106,.12); border: 2px solid #e9c46a; border-radius: 14px; padding: 12px 14px; margin-bottom: 12px; box-shadow: 0 0 0 4px rgba(233,196,106,.12); }
.confirm small { display: block; font-size: 12.5px; color: #e9c46a; margin-bottom: 2px; }
.confirm strong { display: block; font-size: 19px; color: #fff3cf; line-height: 1.4; }
.confirm span { display: block; font-size: 15px; color: var(--ink); margin-top: 2px; }
.confirm em { display: block; font-style: normal; font-size: 13.5px; color: #ffe6a3; margin-top: 8px; padding-top: 8px; border-top: 1px dashed rgba(233,196,106,.45); line-height: 1.55; }
/* 11-21 대표님 「로또운 이것도 잘려」 — 공 여섯 개가 한 줄에(좁은 폰에서 여섯째 공이 혼자 내려갔다) · 작은 화면에선 그림을 줄여 번호까지 한눈에 */
.balls { flex-wrap: nowrap; gap: min(8px, 1.6vw); }
.balls .ball { width: min(44px, 11.2vw); height: min(44px, 11.2vw); font-size: min(17px, 4.4vw); flex: none; }
@media (max-height: 700px) { .lot-art { width: 96px; height: 96px; } .luck { margin-bottom: 8px; } .luck .lk-s { font-size: 24px; } }

/* 11-21 적는 칸에 들어가 있는 동안(문자판이 올라온 때) 아래 메뉴줄을 숨긴다 — 꿈 풀이 · 생일 · 이름 칸이 메뉴줄에 덮이던 것 */
body.kb .tabs { display: none; }

/* 11-21 친구가 보낸 잠긴 링크(app.js showShareIn) — 로그인해야 펼쳐진다 */
.shin { text-align: center; padding-top: 28px; }
.shin-t { font-size: 19px; line-height: 1.55; margin: 16px 0 18px; }
.shin-t b { color: #ffe08a; }
.shin-card { position: relative; width: 76%; max-width: 330px; aspect-ratio: 4 / 5; margin: 0 auto 20px; border-radius: 18px; overflow: hidden; background: #1a1240; box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.shin-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shin-card.lock img { filter: blur(11px) brightness(.75); transform: scale(1.08); }
.shin-lock { display: none; position: absolute; inset: 0; flex-direction: column; align-items: center; justify-content: center; gap: 10px; font-size: 46px; }
.shin-card.lock .shin-lock { display: flex; }
.shin-lock span { font-size: 15px; font-weight: 700; color: #fff; background: rgba(0,0,0,.4); padding: 7px 16px; border-radius: 20px; }

/* 11-21 후기 쓰고 떡 받기 — 나 탭 칸(.revf) · 화면(.rev) */
.card.revf { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; width: 100%; text-align: left; color: var(--ink); cursor: pointer; font: inherit; }
.card.revf b { font-size: 15.5px; color: #f3d98f; } .card.revf span { grid-column: 1; font-size: 13px; color: var(--sub); } .card.revf i { grid-row: 1 / 3; grid-column: 2; align-self: center; font-style: normal; font-size: 22px; color: var(--sub); }
a.card.revf { text-decoration: none; box-sizing: border-box; } /* 11-22 💬 문의하기(카카오 채널 채팅) — a 라 밑줄 · 폭 */
.rev .rvhow ol { margin: 6px 0 10px; padding-left: 20px; line-height: 1.7; font-size: 14.5px; } .rev .rvhow li { margin-bottom: 4px; } .rev .rvhow small { color: var(--sub); }
.rev .rvdis { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; border: 1.5px dashed #e9c46a; background: rgba(233,196,106,.1); font-size: 14px; color: #fff3cf; }
.rev .rvdis span { flex: 1; } .rev .rvdis .lnk { flex: none; color: #e9c46a; font-weight: 700; }
.rev .rvdone b { display: block; font-size: 18px; color: #f3d98f; margin-bottom: 6px; } .rev .rvdone .note { word-break: break-all; }

/* 11-21 대표님 「신년운세 붉은 양이 오른쪽으로 치우쳐」 — 폰이 좁으면(카드 그림 칸 < 160px) 그림이 칸보다 넓어져 격자 칸이 오른쪽으로만 늘었다 → 칸 가운데에 띄워 양쪽으로 똑같이 잘리게 */
.h-p[data-buy="newyear"] .ph img { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); max-width: none; }
/* 11-21 연애운 카드 — 장마다 제 높이(app.js fit 이 지금 장 높이로 맞춘다) */
.lv .lvcar { align-items: flex-start; transition: height .25s ease; overflow-y: hidden; }

/* 11-21 ‹ 단추가 없던 화면에 저절로 끼운 ‹ (app.js autoBack) */
.top.hasb { justify-content: flex-start; gap: 4px 10px; flex-wrap: wrap; }
/* 11-22 대표님 캡처 — 제목이 길면 「청이가 쓰는 중」이 한 글자씩 세로로 쌓였다 → 작은 글씨는 줄바꿈 없이, 자리가 모자라면 다음 줄 오른쪽으로 */
.top.hasb > .s { margin-left: auto; min-width: 0; text-align: right; white-space: nowrap; }
.top.hasb > .t { white-space: nowrap; flex: 0 0 auto; }
.autobr { margin: 0 0 8px; }

/* 11-26 「나」 맨 위 — 지금 보는 분(대표 · 관계) ⌄ + 프로필 관리 (app.js meSwitch · showProfiles) */
.mesw { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 2px 0 12px; }
.mechip { display: flex; align-items: center; gap: 8px; min-width: 0; max-width: 64%; padding: 5px 12px 5px 5px; border-radius: 999px; border: 1px solid var(--glassb); background: rgba(255,255,255,.07); color: #fff; font: inherit; cursor: pointer; }
.mcav { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 14px; color: #fff; background: linear-gradient(135deg, #3b5bd6, #1d2a6e); }
.mcav.me { background: linear-gradient(135deg, #f4cf6a, #b8862a); color: #2a1d05; }
.mcav.metal { background: linear-gradient(135deg, #8a86b4, #3d3a5e); } .mcav.wood { background: linear-gradient(135deg, #2fa37f, #13503d); }
.mcav.fire { background: linear-gradient(135deg, #e0567f, #7a2346); } .mcav.earth { background: linear-gradient(135deg, #d6a13a, #6e4d14); }
.mechip b { font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mechip small { flex: none; font-size: 11.5px; font-weight: 700; color: #2a1d05; background: #e9c46a; border-radius: 6px; padding: 1px 6px; }
.mcdn { flex: none; width: 16px; height: 16px; fill: none; stroke: #c9d0ea; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mzc.mzx { background: rgba(255,255,255,.08); color: #8f98bd; }
.pfr.on { box-shadow: inset 0 0 0 1px rgba(233,196,106,.45); }
.mepm { flex: none; display: flex; align-items: center; gap: 5px; padding: 8px 4px; border: 0; background: none; color: #c9d0ea; font: inherit; font-size: 13.5px; cursor: pointer; }
.mepm svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.mehd .meav.wav { width: 48px; height: 48px; font-size: 21px; color: #fff; }
.mehd .meav.wav.water { background: linear-gradient(135deg, #3b5bd6, #1d2a6e); }
/* 프로필 관리 창 — 가운데 뜨는 창 */
.wsh-bg.mid { align-items: center; padding: 16px; }
.wsh-bg.mid .wsh { border-radius: 22px; border-bottom: 1px solid rgba(233,196,106,.35); max-height: 86vh; padding-bottom: 16px; }
.pfr.on { background: rgba(233,196,106,.10); border-radius: 12px; }
.pftag { display: inline-block; vertical-align: 2px; margin-left: 6px; font-size: 11px; font-weight: 700; color: #2a1d05; background: #e9c46a; border-radius: 6px; padding: 1px 6px; }
.pftag.ln { color: #c9d0ea; background: none; border: 1px solid rgba(201,208,234,.4); }
.pfon { flex: none; font-style: normal; font-size: 12px; font-weight: 700; color: #f3d98f; }
.pfed { flex: none; border: 0; background: none; color: #c9d0ea; font-size: 16px; padding: 8px 6px; cursor: pointer; }
.pfsp { flex: none; width: 34px; }
.pfdr { flex: none; width: 22px; height: 40px; padding: 0; border: 0; background: none; color: #8f98bd; cursor: grab; touch-action: none; display: grid; place-items: center; }
.pfdr svg { width: 18px; height: 18px; fill: currentColor; }
.pfdr.pfno { cursor: default; }
.pfr .wpk { padding-left: 0; gap: 10px; }
.pfst { flex: none; width: 34px; border: 0; background: none; color: #8f98bd; font-size: 20px; padding: 6px 0; cursor: pointer; line-height: 1; }
.pfst.on { color: #f4cf6a; }
.pfr.drag { background: rgba(233,196,106,.16); border-radius: 12px; box-shadow: 0 6px 18px rgba(0,0,0,.35); position: relative; z-index: 2; }
.pfr .pfed, .pfr .wdel { padding-left: 4px; padding-right: 4px; }
.pfbt { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.pfbt .btn { margin: 0; }
.pfbt .btn:only-child { grid-column: 1 / -1; }

/* 11-21 「나」 위 — 내 카드 · 받은 풀이 · 내 사람들 (app.js meCard · meRecs · mePeople) */
.mecard { padding: 16px; }
.mehd { display: flex; align-items: center; gap: 12px; }
.meav { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 50%; background: linear-gradient(135deg, #e9c46a, #c99a3a); color: #1a1d33; font-style: normal; font-weight: 800; font-size: 21px; display: grid; place-items: center; }
.mewho { flex: 1; min-width: 0; }
.mewho b { display: block; font-size: 18px; }
.mewho small { display: block; font-size: 13px; color: var(--sub); margin-top: 2px; }
.meed { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 50%; border: 1px solid var(--glassb); background: rgba(255,255,255,.05); color: #fff; font-size: 16px; cursor: pointer; }
.mesik { display: flex; justify-content: space-between; align-items: center; width: 100%; margin: 14px 0 8px; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; cursor: pointer; }
.mesik span { font-weight: 700; font-size: 15px; }
.mesik em { font-style: normal; font-size: 13px; color: var(--sub); }
.mezz { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; text-align: center; }
.mezz > div > small { display: block; font-size: 12px; color: var(--sub); margin-bottom: 4px; }
.mzc { display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 10px; padding: 6px 0 5px; margin-bottom: 5px; color: #fff; }
.mzc b { font-size: 22px; line-height: 1.1; font-weight: 700; }
.mzc small { font-size: 12px; opacity: .9; }
.merec h4 { margin-bottom: 6px; }
.mer { display: block; width: 100%; border-top: 1px solid var(--glassb); }
.mer:first-of-type { border-top: 0; }
.mer > summary, .mern { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 2px; list-style: none; cursor: pointer; font: inherit; color: var(--ink); }
.mer > summary::-webkit-details-marker { display: none; }
.mer > summary::after { content: '⌄'; font-size: 18px; line-height: 1; color: var(--sub); margin-left: 6px; transition: transform .2s; }
.mer[open] > summary::after { transform: rotate(180deg); }
.mer > summary em { margin-left: auto; }
.mer b { font-size: 15px; }
.mer em { font-style: normal; font-size: 13px; color: var(--sub); }
.mern { background: none; border: 0; border-top: 1px solid var(--glassb); text-align: left; }
.mern em { color: #e9c46a; font-weight: 700; }
.meri { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 10px 12px; margin: 0 0 6px; border: 1px solid var(--glassb); border-radius: 12px; background: rgba(255,255,255,.04); color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.meri span { min-width: 0; }
.meri b { display: block; font-size: 14px; }
.meri small { display: block; font-size: 12.5px; color: var(--sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.meri s { text-decoration: none; color: var(--sub); }
.mepp { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; color: var(--ink); font: inherit; cursor: pointer; }
.mepp b { flex: 0 0 auto; font-size: 15px; }
.mepp span { flex: 1; min-width: 0; font-size: 13px; color: var(--sub); }
.mepp i { font-style: normal; color: var(--sub); }

/* 11-21 아래 메뉴 넷(홈 · 상담 · 풀이 · 나) — 다섯 칸 자리를 넷으로 */
.tabs { grid-template-columns: repeat(4, 1fr) !important; }

/* 11-21 다 쓴 칸부터 먼저 — 쓰는 중 화면 아래 */
.wparts { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; padding-bottom: 90px; }
.wparts .wph { text-align: center; color: var(--sub); font-size: 13px; margin: 0; }
.wpc { background: var(--glass); border: 1px solid var(--glassb); border-radius: 18px; padding: 16px 18px; }
.wpc h4 { margin: 0 0 8px; font-size: 16px; color: var(--gold, #e9c46a); }
.wpc p { margin: 0 0 9px; font-size: 14.5px; line-height: 1.8; color: #e6e8f4; }

/* 11-22 「어떤 분 것」 창 — 줄 끝 🗑(app.js showWho · forgetPerson) */
.wsr.wpp { padding: 0; cursor: default; }
.wpk { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 12px 4px; background: none; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.wwarn { margin: 0 4px 8px; padding: 8px 10px; border-radius: 10px; background: rgba(255,143,177,.12); border: 1px solid rgba(255,143,177,.45); color: #ffc2d4; font-size: 13px; line-height: 1.5; }

/* 11-22 대표님 「매일 무료에서 오늘 상담 공짜를 제일 앞에 · 눈에 잘 띄게 반짝반짝」 */
.h-free button.hot { position: relative; color: #ffe08a; font-weight: 800; }
.h-free button.hot svg { stroke: #3a2600; background: linear-gradient(180deg, #fff3c4 0%, #f2cf6b 45%, #d9a634 100%); box-shadow: inset 0 1.5px 1px rgba(255,255,255,.8), inset 0 -3px 6px rgba(120,70,0,.35), 0 6px 12px rgba(0,0,0,.42), 0 0 18px rgba(255,214,102,.75); animation: hotGlow 1.6s ease-in-out infinite; }
.h-free button.hot::before, .h-free button.hot::after { content: '✦'; position: absolute; color: #fff6cf; text-shadow: 0 0 6px #ffd866; pointer-events: none; animation: hotTwinkle 1.6s ease-in-out infinite; }
.h-free button.hot::before { top: -6px; right: calc(50% - 32px); font-size: 15px; }
.h-free button.hot::after { top: 26px; left: calc(50% - 34px); font-size: 10px; animation-delay: .8s; }
@keyframes hotGlow { 0%, 100% { box-shadow: inset 0 1.5px 1px rgba(255,255,255,.8), inset 0 -3px 6px rgba(120,70,0,.35), 0 6px 12px rgba(0,0,0,.42), 0 0 10px rgba(255,214,102,.45); } 50% { box-shadow: inset 0 1.5px 1px rgba(255,255,255,.8), inset 0 -3px 6px rgba(120,70,0,.35), 0 6px 12px rgba(0,0,0,.42), 0 0 24px rgba(255,214,102,.95); } }
@keyframes hotTwinkle { 0%, 100% { opacity: .2; transform: scale(.6) rotate(0deg); } 50% { opacity: 1; transform: scale(1.15) rotate(20deg); } }
@media (prefers-reduced-motion: reduce) { .h-free button.hot svg, .h-free button.hot::before, .h-free button.hot::after { animation: none; } }
/* 11-22 상담 「누구 사주로」 칩줄 — 입력칸 위 */
.cwho { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 1px; }
.cwho::-webkit-scrollbar { display: none; }
.chatbar .cwho button { flex: none; height: 32px; padding: 0 12px; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid var(--glassb); color: #e4e6f2; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.chatbar .cwho button.on { background: #f2cf6b; border-color: #f2cf6b; color: #2a1d00; }
.chatbar .cwho button.add { background: rgba(255,255,255,.95); color: #2a2160; border-color: transparent; }
.chatbar .cwho button:not(.on):not(.add) { color: #e4e6f2 !important; }
.chatbar .cwho button.add { color: #2a2160 !important; }
.chatpage .mu .abt { display: block; font-size: 11.5px; font-weight: 700; opacity: .8; margin-bottom: 3px; }
.chatpage { padding-bottom: 240px; }

/* 11-22 대표님 「새로 넣기 칸이 잘 안 보여 — 강조」 — 택일 함께 볼 분 「＋ 새 사람 넣기」: 금테 · 금글씨 · 옅은 금빛 바탕(고른 칸 꽉 찬 금색과는 다르게) */
.chips button.tkadd { border: 1.5px dashed #e9c46a; color: #f3d98f; background: rgba(233,196,106,.14); font-weight: 800; box-shadow: 0 0 0 3px rgba(233,196,106,.08); }

/* 11-22 대표님 캡처 — 「강승혜님 사주로 묻기」 안내 글씨가 두 줄로 넘어가 잘렸다 → 안내 글씨는 한 줄, 넘치면 … */
.chatbar textarea::placeholder { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 15px; }

/* 11-22 대표님 「오늘의 쪽지 디자인이 우리 결이랑 안 맞아」 — 흰 종이 → 밤하늘 쪽지(짙은 남색 · 금빛 테 · 접힌 금 한 줄). 칸 속 칸(행운 세 상자)은 없애고 금빛 가는 줄로 나눈 한 줄. 되돌리기 _backup/쪽지디자인_20261122 */
.paper { background: radial-gradient(120% 90% at 100% 0%, rgba(233,196,106,.22), transparent 55%), radial-gradient(90% 70% at 0% 100%, rgba(120,110,220,.18), transparent 60%), linear-gradient(170deg, #1d2452 0%, #121838 55%, #0d1230 100%); color: var(--ink); border-radius: 20px; padding: 16px 18px 13px; box-shadow: 0 14px 30px -8px rgba(0,0,0,.6), 0 0 26px -6px rgba(233,196,106,.35); overflow: hidden; }
.paper::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(255,226,150,.85), rgba(233,196,106,.25) 35%, rgba(233,196,106,.12) 65%, rgba(255,226,150,.6)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; z-index: 2; }
.paper::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55; background-image: radial-gradient(1px 1px at 18% 22%, #fff8 50%, transparent 51%), radial-gradient(1px 1px at 72% 14%, #fff6 50%, transparent 51%), radial-gradient(1.4px 1.4px at 88% 38%, #ffe9a8aa 50%, transparent 51%), radial-gradient(1px 1px at 40% 8%, #fff5 50%, transparent 51%), radial-gradient(1px 1px at 93% 70%, #fff4 50%, transparent 51%); }
.paper > * { position: relative; z-index: 1; }
.paper .ph span { color: #f0d58c; display: inline-flex; align-items: center; gap: 6px; }
.paper .ph .pst { width: 15px; height: 15px; fill: #f0d58c; filter: drop-shadow(0 0 4px rgba(240,213,140,.7)); flex: none; }
.paper .ph em { color: #b9b2d6; font-size: 12.5px; }
.paper .pg { color: #c9c0a2; }
.paper .pl { color: #fff7e2; text-wrap: pretty; word-break: keep-all; }
.paper .charm { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; margin-top: 14px; padding-top: 11px; border-top: 1px solid rgba(233,196,106,.28); }
.paper .charm div { background: none; border: 0; border-radius: 0; padding: 0 6px; text-align: center; }
.paper .charm div + div { border-left: 1px solid rgba(233,196,106,.2); }
.paper .charm b { color: #e9c46a; }
.paper .charm span { color: #fff7e2; }
.paper .charm .sw { border: 1px solid rgba(255,255,255,.35); box-shadow: 0 1px 3px rgba(0,0,0,.4); }
.paper .charm em { color: #b9b2d6; }
.paper .pf { color: #b9b2d6; margin-top: 12px; }
.paper .pf .ch { box-shadow: 0 0 0 1.5px rgba(233,196,106,.5); }

/* 11-22 상담 「↺ 새 대화」(app.js showChat #cnew) — 「무료 · 떡」 줄 오른쪽 작은 단추, 한 번 누르면 분홍 「대화 지울까요?」(머리 옆에 두니 320 에서 제목이 세 줄로 밀림) */
.chct .cnew { margin-left: auto; flex: none; border: 1px solid var(--glassb); background: rgba(255,255,255,.07); color: var(--ink); border-radius: 999px; padding: 4px 11px; font: inherit; font-size: 13px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.cnewb { display: flex; justify-content: center; margin: 16px 0 6px; }
.cnewb .cnew2 { border: 1.5px solid rgba(255,214,120,.6); background: rgba(255,214,120,.13); color: #ffe3a3; border-radius: 999px; padding: 11px 20px; font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; }
.cnewb .cnew2.warn { border-color: rgba(255,143,177,.6); background: rgba(255,143,177,.14); color: #ffc2d4; }
.chct .cnew.warn { border-color: rgba(255,143,177,.6); background: rgba(255,143,177,.14); color: #ffc2d4; }

/* 11-22 상담 칸에 쓰는 동안 화면 맨 위 한 줄 「💬 청이신비에게 묻는 중 · 강승혜님 사주로」(app.js #cmini · body.chatkb) */
.cmini { display: none; position: fixed; top: 0; left: 0; right: 0; z-index: 60; padding: 10px 16px; background: rgba(14,20,48,.96); border-bottom: 1px solid rgba(233,196,106,.45); color: var(--ink); font-size: 14px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 4px 14px rgba(0,0,0,.35); }
.cmini b { color: #f3d98f; }
body.chatkb .cmini { display: block; }

/* 11-22 대표님 「오늘의 한 장 디자인이 우리 결에 안 맞아」 — 앞면 크림 바탕 · 초록 단추 → 뒷면과 같은 짙은 남보라 + 금테 · 금색 단추 */
.nf-front { background: radial-gradient(120% 90% at 50% 0%, rgba(233,196,106,.16), transparent 60%), linear-gradient(170deg, #2c2470, #17163f); color: var(--ink); border: 1px solid rgba(233,196,106,.6); box-shadow: 0 8px 22px rgba(10,6,40,.45); }
.nf-k { color: var(--gold); letter-spacing: 1.5px; }
.nf-i { color: #fff; font-size: 19px; }
.nf-w { color: #c6c2e6; }
.nf-m { border-top: 1px dashed rgba(233,196,106,.4); }
.nf-m small { color: var(--gold); } .nf-m b { color: #f3e3b0; }
.nf-ok { background: var(--gold); color: #3a2a00; }
.nf-ok.done { background: rgba(233,196,106,.18); color: #f3d98f; border: 1px solid rgba(233,196,106,.6); }
.nf-sh { color: #f3d98f; }

/* 11-22 대표님 「(받은 공유) 아래쪽이 잘렸어」 — 휴대폰 화면 높이에 맞춰 카드를 줄여 단추까지 한 화면에 */
.shin { padding-top: 10px; padding-bottom: 90px; }
.shin .brand { width: 68%; max-width: 250px; margin: 0 auto; }
.shin-t { font-size: 17.5px; line-height: 1.45; margin: 8px 0 12px; }
.shin-card { width: min(76%, 330px, calc((100svh - 300px) * .8)); min-width: 170px; margin-bottom: 14px; }   /* 11-22 「위로 더 올려야겠다」 — 로고를 줄이고 위 여백을 없애 단추를 휴대폰 아래 막대 위로 */

/* 11-22 대표님 「로또 달력에 날짜 23 24 이렇게」 — 「11/23」이 칸에 안 들어가 「11/2 · 3」으로 꺾였다 → 날만 크게(app.js weekHtml) · 별은 한 줄 */
.lotw .wd b { font-size: 16px; font-weight: 800; }
.lotw .wd span { white-space: nowrap; font-size: 8.5px; letter-spacing: -1.5px; }

/* 11-22 대표님 「여기에 이걸 넣자」 — 홈 넘김 칸 「내년엔 뭐가 풀릴까?」 그림을 상품 카드와 같은 2027 세배 양(char/prod/newyear2027)으로 */
.h-sl img.one.ny27 { right: -16px; bottom: -18px; width: min(250px, 68%); }   /* 11-22 「그림이 너무 작다」 → 다른 칸 그림(232px)보다 조금 크게 · 아래는 살짝 잘려도 됨 */

/* 11-22 태어난 곳 — 쳐서 고르기(app.js cityField) */
.citysug{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.citysug:empty{display:none}
.citysug button{padding:9px 13px;border-radius:999px;border:1px solid rgba(243,210,122,.5);background:rgba(243,210,122,.1);color:inherit;font:inherit;font-size:15px;line-height:1.1}
.citysug button small{opacity:.6;margin-left:5px;font-size:12px}
.citysug p{margin:0;font-size:13px;opacity:.75}
/* 11-22 PDF 만드는 동안 화면 가림(app.js savePdf) — 다른 화면으로 가면 홈이 찍혀서 */
.pdfwait{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;background:rgba(6,11,31,.72);backdrop-filter:blur(2px)}
.pdfwait div{display:grid;gap:6px;text-align:center;padding:18px 22px;border-radius:18px;background:#111a3a;border:1px solid rgba(243,210,122,.4);color:#fff}
.pdfwait b{font-size:16px;color:#f3d27a}
.pdfwait span{font-size:13px;opacity:.8}
/* 11-22 풀이 화면 둥근 공유 단추 + 고르는 창(app.js #fshare · .fsh) — 사주아이 결 */
.fshare{position:fixed;right:max(16px,calc(50% - 220px + 16px));bottom:calc(84px + env(safe-area-inset-bottom));z-index:40;width:54px;height:54px;border-radius:50%;border:0;display:grid;place-items:center;color:#1a1a2e;background:linear-gradient(135deg,#ffe08a,#e9c46a);box-shadow:0 6px 18px rgba(0,0,0,.45),0 0 0 3px rgba(255,224,138,.18);cursor:pointer}
.fshare:active{transform:scale(.94)}
.fsh{align-items:center}
.fsb{width:calc(100% - 48px);max-width:340px;background:#141c40;border:1px solid rgba(243,210,122,.35);border-radius:20px;padding:14px 16px 18px;box-shadow:0 12px 36px rgba(0,0,0,.5)}
.fsh-h{display:flex;align-items:center;justify-content:space-between;padding-bottom:10px;margin-bottom:12px;border-bottom:1px solid rgba(255,255,255,.1)}
.fsh-h b{font-size:16.5px;color:#fff}
.fsh-h button{border:0;background:none;color:#cfd3e6;font-size:18px;padding:4px 6px;cursor:pointer}
.fsh-go{display:block;width:100%;margin-top:9px;padding:13px;border-radius:14px;border:0;font:inherit;font-size:15.5px;font-weight:800;color:#1a1a2e;background:linear-gradient(135deg,#ffe08a,#e9c46a);cursor:pointer}
.fsh-go.ln{background:transparent;color:#f3d27a;border:1.5px solid rgba(243,210,122,.6)}
@media print{.fshare,.fsh{display:none!important}}
.pdfwait .pdfgo{margin-top:10px;min-width:200px}
.pdfwait .pdfno{border:0;background:none;color:#cfd3e6;font:inherit;font-size:13.5px;padding:8px;cursor:pointer}

/* 11-22 「마음 −90」처럼 뺄셈 숫자가 아침부터 겁을 준다(35살 손님으로 써 보기) — 숫자 대신 말 + 막대 */
.bio div b.bw { font-size: 14.5px; line-height: 1.3; margin-top: 2px; white-space: nowrap; }
.bio .bbar { display: block; height: 5px; border-radius: 3px; background: rgba(255,255,255,.12); margin-top: 6px; overflow: hidden; }
.bio .bbar em { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #8fa3d9, #e9c46a); }
/* 11-22 「해의 시각 06:47」이 무슨 말인지 몰랐다 — 비서 고르기 아래 풀어 쓴 한 줄 */
.note.stime { margin: -4px 0 12px; padding: 8px 11px; border-radius: 10px; background: rgba(255,255,255,.06); line-height: 1.5; }
/* 11-22 두 분끼리 궁합 — 사주아이 결 「누구와 누구의 궁합을 볼까요? + 선택하기 ♥ + 선택하기」(app.js showPairAsk) */
.pask{margin:4px 0 12px;padding:13px 16px;border-radius:14px;background:rgba(255,255,255,.05)}
.pask b{font-size:15.5px;color:#fff}
.pslot{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:64px;padding:12px 16px;border-radius:16px;border:1.5px dashed rgba(243,210,122,.45);background:rgba(255,255,255,.03);color:#cfd3e6;font:inherit;font-size:15.5px;cursor:pointer}
.pslot.on{justify-content:flex-start;border-style:solid;border-color:rgba(243,210,122,.6);background:rgba(243,210,122,.08);color:#fff}
.pslot.on b{font-size:16px}
.pslot small{color:#aab0c8;font-size:13px}
.pslot em{margin-left:auto;font-style:normal;font-size:12.5px;color:#f3d27a}
.pheart{text-align:center;color:#ff7aa8;font-size:18px;line-height:1;margin:8px 0}
.perr{min-height:18px;margin:10px 0 0;text-align:center;font-size:13.5px;color:#ffb38a}
.ppick{display:grid;gap:8px;max-height:56vh;overflow:auto}
.ppick button{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:14px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.04);color:#fff;font:inherit;font-size:15.5px;text-align:left;cursor:pointer}
.ppick button small{color:#aab0c8;font-size:13px}
.ppick .padd{justify-content:center;color:#f3d27a;border:1.5px dashed rgba(243,210,122,.5);background:none}
/* 11-22 궁합 결과 맨 위 「남기신 고민 → 답」(api/gunghap doc.ask) */
.ghask{border:1px solid rgba(243,210,122,.45);background:linear-gradient(135deg,rgba(243,210,122,.10),rgba(120,140,255,.06))}
.ghask .ghq,.ghask .gha{display:inline-block;font-size:12.5px;font-weight:800;color:#1a1a2e;background:#f3d27a;border-radius:999px;padding:3px 10px}
.ghask .gha{margin-top:6px;background:rgba(243,210,122,.18);color:#f3d27a}
.ghask .ghqt{margin:8px 0 10px;color:#e8eaf6;font-size:14.5px}

/* 11-22 대표님 「위에 이렇게 제목이 스크롤해도 보이게 — 우린 안 보여」(사주아이 「‹ 2027 신년운세」 띠) — 풀이 화면(.lr)에서 머리 제목이 지나가면 위에 붙는다 */
#lrbar { position: fixed; top: 0; left: 50%; transform: translate(-50%, -110%); width: 100%; max-width: 440px; z-index: 8; display: flex; align-items: center; padding: calc(8px + env(safe-area-inset-top, 0px)) 10px 8px; background: rgba(6,11,31,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(233,196,106,.18); transition: transform .2s ease; pointer-events: none; }
#lrbar.on { transform: translate(-50%, 0); pointer-events: auto; }
#lrbar button { background: none; border: 0; color: #f5f7fd; font-size: 28px; line-height: 1; padding: 0 10px 3px 4px; cursor: pointer; }
#lrbar b { flex: 1; text-align: center; margin-right: 38px; font-size: 16.5px; font-weight: 700; color: #f5f7fd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media print { #lrbar { display: none !important; } }
/* 11-22 받은 링크 잠금 화면 — 궁합 점수 하나는 먼저(로그인 전에 그만두지 않게) */
.shin-peek { text-align: center; margin: 0 0 12px; font-size: 20px; font-weight: 800; color: #f6dc9a; line-height: 1.35; }
.shin-peek small { display: block; margin-top: 4px; font-size: 13px; font-weight: 600; color: rgba(245,247,253,.78); }
/* 11-22 연애운 솔로 질문 늘림 — 연애 횟수 · 힘든 점 여럿 고르기 */
.lv .lvopts button.on { background: #ff8fb3; border-style: solid; color: #2a0f1c; font-weight: 700; }
.lv .lvsl { background: var(--glass); border: 1px solid var(--glassb); border-radius: 18px; padding: 16px 16px 14px; }
.lv .lvsl > b { display: block; text-align: center; font-size: 16px; color: #fff; margin-bottom: 10px; }
.lv .lvslr { display: flex; justify-content: space-between; font-size: 13px; color: var(--sub); margin-bottom: 6px; }
.lv .lvsl input[type=range] { width: 100%; accent-color: #ff8fb3; height: 28px; margin: 0 0 12px; }
.lv .lvsl .btn { width: 100%; }
.lv .lvcnt { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 10px 0 14px; }
.lv .lvcnt button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,143,179,.2); color: #ff8fb3; font-size: 24px; cursor: pointer; }
.lv .lvcnt button:disabled { opacity: .35; }
.lv .lvcnt b { font-size: 30px; color: #fff; min-width: 46px; text-align: center; }
.lv .lvcnt span { color: var(--sub); margin-left: -12px; }
.lv #lvhok { width: 100%; margin-top: 8px; }
.lv #lvhok:disabled { opacity: .45; }
/* 11-22 신년운세 「○○년 개운법」 + 행운 바탕화면 단추 */
.ny .nygw .gw { padding: 14px 0; border-top: 1px solid var(--lr-line); }
.ny .nygw .gw:first-of-type { border-top: 0; }
.ny .nygw .gw h3 { display: flex; align-items: center; gap: 8px; font-size: 17px; margin: 0 0 8px; color: #fff; }
.ny .nygw .gw h3 span { font-size: 20px; }
.ny .nygw .gwc { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.ny .nygw .gwc span { font-size: 13.5px; padding: 4px 11px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); color: #e9e6ff; }
.ny .nygw .gwc span.g { background: rgba(240,201,106,.14); border-color: rgba(240,201,106,.5); color: #f6dc9a; font-weight: 600; }
.ny .nygw .gwc span.w { background: rgba(255,120,140,.12); border-color: rgba(255,120,140,.45); color: #ffb3bf; font-weight: 600; }
.ny .nygw .gw p { margin: 0; }
.ny .nywall { display: flex; align-items: center; gap: 12px; width: 100%; margin: 6px 0 18px; padding: 16px; border-radius: 18px; border: 1px solid rgba(240,201,106,.55); background: linear-gradient(135deg, rgba(240,201,106,.22), rgba(138,108,255,.16)); color: #fff; font: inherit; text-align: left; cursor: pointer; }
.ny .nywall .ic { font-size: 28px; }
.ny .nywall span:not(.ic) { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.ny .nywall small { font-size: 13px; color: #f6dc9a; }
.ny .nywall b { font-size: 16.5px; }
.ny .nywall i { font-style: normal; font-size: 22px; color: #f6dc9a; }

/* 11-22 카카오페이 승인 뒤 카카오 「주문 화면으로 돌아가주세요」에서 멈춤(토스 경유 · 저절로 안 돌아옴) — 누를 곳을 결제 단추 바로 위에 한 줄 */
.paybar .payhint { margin: 0 0 8px; font-size: 13px; line-height: 1.4; color: #c9d0ea; text-align: center; }
.paybar .payhint b { color: #e9c46a; }
.paypage { padding-bottom: 156px; }   /* 안내 줄만큼 결제 바가 높아져 맨 아래 글이 가리지 않게 */

/* 11-23 대표님 「상담에서 쓰는 칸이 눈에 안 띄어 · 편하게 물어보세요도 진하게」 — 입력칸을 금테 + 밝은 바탕으로, 안내 글은 밝고 굵게 */
.chatbar textarea { background: rgba(255,255,255,.14); border: 1.5px solid rgba(243,217,143,.85); box-shadow: 0 0 0 3px rgba(243,217,143,.12), 0 0 14px rgba(243,217,143,.18); }
.chatbar textarea:focus { border-color: #f3d98f; background: rgba(255,255,255,.18); box-shadow: 0 0 0 3px rgba(243,217,143,.25); }
.chatbar textarea::placeholder { color: #f1e6c4; opacity: 1; font-weight: 700; }
.chatbar textarea:disabled::placeholder { font-weight: 400; }

/* 11-23 대표님 「떡을 구매했으면 얼마나 썼고 얼마 남았는지 젤 위쪽에」 — 홈 로고 바로 아래 떡 주머니 줄(산 떡 · 쓴 떡 · 남은 떡 세 칸) */
.h-wal { display: flex; align-items: center; gap: 6px; width: 100%; margin: 0 0 10px; padding: 8px 12px; border: 1px solid rgba(233,196,106,.55); border-radius: 14px; background: rgba(233,196,106,.10); color: #f1f2f8; font-family: inherit; cursor: pointer; }
.h-wal .tti { width: 26px; height: 21px; flex: 0 0 auto; margin-right: 4px; }
.h-wal .c { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; line-height: 1.2; white-space: nowrap; }
.h-wal .c + .c { border-left: 1px solid rgba(233,196,106,.25); }
.h-wal .c small { font-size: 12px; color: #c9d0ea; }
.h-wal .c b { font-size: 18px; font-weight: 800; color: #fff; }
.h-wal .c i { font-style: normal; font-size: 11px; color: #c9d0ea; }
.h-wal .c.left small { color: #e9c46a; font-weight: 700; }
.h-wal .c.left b { color: #f3d98f; font-size: 20px; }

/* 11-23 상담 쓰는 중 멘트(첫 말풍선 오기 전) */
.chatpage .cwait { margin: 6px 2px 0; font-size: 13px; color: #c9cfe8; opacity: .85; animation: cwaitIn .5s ease; }
@keyframes cwaitIn { from { opacity: 0; transform: translateY(3px); } to { opacity: .85; transform: none; } }

/* 11-23 45세 주부 점검 — 상담 화면 아래칸(추천 질문 · 사람 칩 · 입력칸)이 화면의 40% → 추천 질문은 한 줄로, 칩은 낮게 */
.chatbar { padding: 8px 12px; gap: 6px; }
.nexts button { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 86%; padding: 7px 11px; font-size: 13.5px; line-height: 1.3; }
.chatbar .cwho button { height: 28px; padding: 0 10px; font-size: 13px; }
/* 11-23 45세 주부 점검 — 생일 칸 「시각을 몰라요」가 작고 어두워 안 보임 */
.chk:has(#tu) { font-size: 15px; font-weight: 600; color: #f1e6c4; gap: 8px; padding: 6px 0; }
.chk #tu { width: 20px; height: 20px; margin: 0 8px 0 0; outline: 2px solid #f3d98f; outline-offset: 1px; border-radius: 4px; }
/* 11-23 45세 주부 점검 — 쪽지 한 화면에 친구 보내기 단추가 둘(「친구한테 한 장 슝」 · 「오늘 쪽지 친구에게 보내기」) → 카드 쪽은 숨기고 아래 하나만 */
.nf-sh { display: none !important; }

/* 11-23 밤 대표님 「사주아이처럼」 — 상담 칩줄(나 · 고른 분 × · ＋ 궁금한 사람) · 사람 고르기 창(최대 3) · 지난 대화 + 「여기부터 새 질문」 */
.chatbar .cwho .me, .chatbar .cwho .cwp { flex: none; display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 16px; font-size: 13.5px; font-weight: 600; white-space: nowrap; background: rgba(255,255,255,.08); border: 1px solid var(--glassb); color: #c9d0ea; }
.chatbar .cwho .me.on { background: #f2cf6b; border-color: #f2cf6b; color: #2a1d00; }
.chatbar .cwho .cwp { background: rgba(242,207,107,.16); border-color: rgba(242,207,107,.55); color: #f6dfa0; padding-right: 4px; }
.chatbar .cwho .cwp button { flex: none; width: 26px; height: 26px; margin-left: 2px; border: 0; border-radius: 13px; background: none; color: #f6dfa0 !important; font-size: 16px; line-height: 1; padding: 0; cursor: pointer; }
.cpk-ic { display: flex; justify-content: center; margin: 2px 0 6px; }
.cpk-ic svg { width: 30px; height: 30px; fill: none; stroke: #f0d58c; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cpk-n { width: max-content; margin: 0 auto 10px; padding: 4px 12px; border-radius: 14px; background: rgba(233,196,106,.16); color: #f0d58c; font-size: 13px; font-weight: 700; }
.cpk-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.cps { display: flex; align-items: center; justify-content: center; gap: 5px; height: 40px; border-radius: 12px; border: 1.5px dashed rgba(200,210,240,.3); color: #8d98bd; font-size: 13px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding: 0 6px; }
.cps i { font-style: normal; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 9px; border: 1px solid rgba(200,210,240,.35); font-size: 11px; }
.cps.on { border: 1.5px solid #e9c46a; background: rgba(233,196,106,.14); color: #f6dfa0; font-weight: 700; }
.cpk-l { gap: 8px; }
.cpk-r { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--glassb); background: rgba(255,255,255,.05); color: #eef0f8; cursor: pointer; font: inherit; }
.cpk-r .wst { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
.cpk-r .wst b { font-size: 15.5px; }
.cpk-r .wst em { font-style: normal; font-size: 12.5px; color: #aab0c8; }
.cpk-r .wst small { flex-basis: 100%; font-size: 12.5px; color: #8d98bd; }
.cpk-c { flex: none; width: 24px; height: 24px; border-radius: 12px; border: 2px solid rgba(200,210,240,.35); }
.cpk-r.on { border-color: #e9c46a; background: rgba(233,196,106,.12); }
.cpk-r.on .cpk-c { border-color: #e9c46a; background: #e9c46a radial-gradient(circle, #2a1d00 0 3.5px, transparent 4px); }
.cpk-ft { position: sticky; bottom: -1px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; padding-top: 10px; background: linear-gradient(180deg, rgba(17,26,64,0), #111a40 30%); }
.cpk-ft .btn { margin: 0; }
.cprev { opacity: .55; }
.cprev .cstk { display: none; }
.cdiv { display: flex; align-items: center; gap: 10px; margin: 14px 0 6px; color: #8d98bd; font-size: 12.5px; scroll-margin-top: 70px; }
.cdiv::before, .cdiv::after { content: ""; flex: 1; height: 1px; background: rgba(200,210,240,.16); }

/* 11-24 상담 답 앞 계산 메모(사주아이 「복냥이 메모」 결) — 노란 메모지 + 테이프 */
.ms .cmemo { position: relative; background: #fbf6e3; color: #3b3324; border-radius: 3px; padding: 18px 14px 12px; margin: 6px 0 4px; box-shadow: 0 3px 10px rgba(0,0,0,.22); max-width: 300px; }
.ms .cmemo::before { content: ''; position: absolute; top: -7px; left: 50%; width: 58px; height: 15px; margin-left: -29px; background: rgba(240,214,120,.85); transform: rotate(-2deg); }
.ms .cmemo > small { display: block; font-size: 12px; font-weight: 700; color: #8a6a3c; margin-bottom: 6px; }
.ms .cmemo .cmb + .cmb { margin-top: 10px; }
.ms .cmemo .cmt { display: block; font-size: 13.5px; font-weight: 800; color: #2d2617; margin-bottom: 4px; }
.ms .cmemo .cmr { display: flex; align-items: center; gap: 4px; font-size: 13px; padding: 3px 0; }
.ms .cmemo .cmr span { flex: 0 0 auto; min-width: 34px; color: #5f553f; }
.ms .cmemo .cmr b { margin-left: auto; font-weight: 700; color: #2d2617; }
.ms .cmemo .cmr i { font-style: normal; font-size: 11.5px; background: #f2d4dd; color: #8b3d55; border-radius: 4px; padding: 1px 5px; }
.ms .cmemo .cmh { margin: 9px 0 0; padding-top: 8px; border-top: 1px dashed #c9b98f; font-size: 13.5px; line-height: 1.5; color: #4a4030; font-weight: 600; word-break: keep-all; }

/* 11-24 첫 화면 「고민 한 줄」(자몽다 입구) · 결제 화면 「카카오로 보관」(로그인 벽 걷은 뒤 선택) */
.h-worry { margin: 0 0 12px; padding: 14px 14px 10px; border-radius: 18px; background: linear-gradient(135deg, #1c2c63, #111a3d); border: 1px solid rgba(233,196,106,.45); }
.h-worry label { display: block; font-family: var(--disp); font-size: 18px; color: #fff; margin-bottom: 9px; }
.h-worry .hw-row { display: flex; gap: 7px; }
.h-worry input { flex: 1; min-width: 0; font: inherit; font-size: 16px; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); border-radius: 12px; padding: 11px 12px; outline: none; }
.h-worry input::placeholder { color: #9aa3c7; }
.h-worry input:focus { border-color: #e9c46a; }
.h-worry button { flex: 0 0 auto; font: inherit; font-size: 15px; font-weight: 800; color: #1a1a2e; background: #e9c46a; border: 0; border-radius: 12px; padding: 0 15px; cursor: pointer; }
.h-worry small { display: block; font-size: 12px; color: #c9d0ea; margin-top: 7px; }
.paykeep { display: block; width: 100%; margin: 12px 0 0; padding: 11px 14px; text-align: left; font: inherit; font-size: 13.5px; line-height: 1.5; color: #dfe4f7; background: rgba(254,229,0,.08); border: 1px dashed rgba(254,229,0,.5); border-radius: 12px; cursor: pointer; }
.paykeep b { color: #fee500; white-space: nowrap; }
/* 11-24 고민 → 상담 화면에서 생일만 묻기(showWorryChat) */
.wbirth { margin: 4px 0 0 48px; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(233,196,106,.4); display: flex; flex-direction: column; gap: 9px; }
.wbirth .row3 { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 7px; }
.wbirth .wbt { font-size: 13.5px; color: var(--ink); display: flex; flex-direction: column; gap: 5px; }
.wbirth .wbt small { color: var(--sub); font-size: 12px; }
.wbirth .err { margin: 0; }
.wbirth .wbn { font-size: 11.5px; text-align: center; line-height: 1.6; margin: 2px 0 0; }
.wbirth .wbn a { color: var(--sub); }

/* 11-24 결제 전 이름 · 시각 한 번 묻기 */
.dtf{display:flex;flex-direction:column;gap:10px;margin-top:12px;padding:0;border:0;background:none}
.dtf .btn{width:100%}
.dtno{background:none;border:0;color:var(--mute,#9aa3b8);font-size:14px;padding:6px;text-decoration:underline;text-underline-offset:3px}

/* ════════ 11-28 글꼴 두 가지(대표님 「이렇게 하고 보여줘」 — 하늘님 제안) ════════
   제목 · 강조 = G마켓 산스 Bold(무료 · 상업 가능) / 본문 · 단추 · 숫자 = 프리텐다드
   주아 · 나눔스퀘어라운드 · 명조 제목은 뺌. 로고(함렛)와 도장 속 한자(神 등)는 그대로 */
@font-face { font-family: GmarketSans; font-weight: 700; font-display: swap; src: url(fonts/GmarketSansBold.woff) format("woff"); }
:root { --body: Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; --disp: GmarketSans, Pretendard, "Malgun Gothic", sans-serif; }
.lr { --lr-serif: GmarketSans, Pretendard, "Malgun Gothic", sans-serif; }
.lr blockquote { font-weight: 600; }
.lv .lvcd .h, .zwb .zcen b { font-family: var(--disp); }

/* 11-28 하늘님 피드백 — 평생 풀이 미리 보기(LF2) · 결제 화면 묶음 접기(LF3) */
.lprev { background: rgba(233,196,106,.08); border-radius: 16px; padding: 14px 16px; margin: 4px 0 14px; }
.lprev small { font-size: 12px; color: var(--hi, #e9c46a); }
.lprev b { display: block; font-family: var(--disp); font-size: 18px; line-height: 1.45; color: #fff; margin: 6px 0 8px; }
.lprev p { font-size: 14.5px; line-height: 1.65; margin: 0; }
.lprev .lmore { font-size: 13px; color: var(--sub); margin-top: 8px; }
.pkfold { margin: 10px 0 4px; }
.pkfold summary { cursor: pointer; font-size: 13.5px; color: var(--sub); padding: 8px 2px; list-style: none; }
.pkfold summary::-webkit-details-marker { display: none; }
.pkfold summary::after { content: " ›"; } .pkfold[open] summary::after { content: " ⌄"; }
/* 11-28 하늘님 8쪽 — 상담 시작 화면 */
.chct1 { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; color: var(--sub); padding: 4px 2px 8px; }
.chct1 b { color: var(--hi); font-weight: 600; }
.chct1 .cnew { background: none; border: 0; color: var(--sub); font-size: 13px; cursor: pointer; font-family: inherit; padding: 4px 0; }
.wchat .chhd .fback { margin-right: 2px; }
.wbot { margin: 4px 0 12px; }
.wbot p { font-size: 13.5px; color: var(--ink); margin: 0 0 8px; }
.wbot small { display: block; font-size: 12.5px; color: var(--sub); margin-top: 8px; }
.wbots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; }
.wbots button { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 2px; border-radius: 12px; border: 1px solid var(--glassb); background: rgba(255,255,255,.04); color: var(--sub); font: inherit; font-size: 11.5px; cursor: pointer; }
.wbots button img, .wbots .wsj { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; font-size: 20px; background: rgba(255,255,255,.06); }
.wbots button b { font-weight: 600; white-space: nowrap; }
.wbots button.on { border-color: var(--hi); color: var(--hi); background: rgba(240,213,140,.1); }
.wbcity { font-size: 13.5px; margin: 10px 0 0; color: var(--ink); } .wbcity small { display: block; color: var(--mute); font-size: 12px; margin-top: 2px; }

/* 11-28 비서 이름 짓기 */
.bnm { margin-top: 14px; padding: 14px 14px 12px; border-radius: 18px; border: 1.5px solid rgba(245,201,78,.6); background: rgba(245,201,78,.09); }   /* 11-28 대표님 「비서 이름 짓기가 잘 눈에 안 띄어」 */
.bnm label { display: block; font-size: 16.5px; font-weight: 700; color: #f5c94e; margin: 0 0 9px; }
.bnm .in { font-size: 16px; border: 1.5px solid rgba(245,201,78,.55); background: rgba(255,255,255,.07); }
.bnm .in::placeholder { color: rgba(255,255,255,.45); }
.bnm .note { margin-top: 8px; }
.wbot .wbnm { margin-top: 10px; font-size: 14px; }
.wbnl { display: block; font-size: 13px; color: var(--ink); margin: 10px 0 5px; } .wbnl small { color: var(--mute); font-size: 12px; margin-left: 4px; } .wbirth .wbnl:first-child { margin-top: 0; }
.wbot .wbnl small { display: inline; margin-top: 0; }
/* 11-29 대표님 「비서 이름 짓기가 잘 안 보여」 — 이름표는 금색 굵게, 칸은 아래 생일 칸처럼 금색 테두리 · 밝은 예시 글자 */
.wbot .wbnl { font-size: 14.5px; font-weight: 700; color: var(--hi); margin-top: 14px; }
.wbot .wbnl small { color: var(--sub); font-weight: 400; }
.wbot .wbnm { font-size: 16px; background: rgba(255,255,255,.09); border-color: rgba(233,196,106,.5); }
.wbot .wbnm::placeholder { color: #c9c2e8; }

/* 11-28 하늘님 F2 · F4 — 행운 한 줄 · 아래 작은 링크 둘 */
.fluck { font-size: 13.5px; color: var(--sub); margin: 12px 0 0; line-height: 1.6; word-break: keep-all; }
.flinks { display: flex; justify-content: space-between; gap: 8px; margin: 12px 2px 0; }
.flinks button { background: none; border: 0; color: var(--sub); font-size: 13px; cursor: pointer; font-family: inherit; padding: 4px 0; }

/* 11-28 하늘님 무료 운세 쪽 — 띠 · 별자리 내 것만 크게 · 나머지 접기 · 홈 「재미로 보기」 한 줄 */
.fmine .frow.me { padding: 18px 14px; }
.fmine .frow.me .fr p { font-size: 16px; font-weight: 600; }
.fmore { margin-top: 12px; background: var(--glass); border-radius: 14px; padding: 4px 14px; }
.fmore summary { cursor: pointer; padding: 12px 0; font-size: 14px; color: var(--sub); list-style: none; }
.fmore summary::-webkit-details-marker { display: none; }
.fmore summary::after { content: " ›"; } .fmore[open] summary::after { content: " ⌄"; }
.fmore[open] { padding-bottom: 10px; }
.h-fun { display: flex; align-items: center; gap: 6px; margin: 10px 2px 0; flex-wrap: wrap; }
.h-fun span { font-size: 13px; color: var(--sub); margin-right: 2px; }
.h-fun button { background: var(--glass); border: 1px solid var(--glassb); color: #e4e6f2; border-radius: 999px; padding: 7px 13px; font-size: 13px; font-family: inherit; cursor: pointer; }
.h-free.n3 { grid-template-columns: repeat(3, 1fr); }   /* 11-28 오늘의 운세 한 칸 — 상담 · 오늘의 운세 · 만세력 */

/* 11-28 하늘님 M1 — 만세력 기운 설명 */
.mexp p { font-size: 14.5px; line-height: 1.6; margin: 6px 0; word-break: keep-all; } .mexp b { color: #fff; }

/* 11-28 만세력 짧게 + 풀이 유도 */
.mexp .up { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--glassb); }
.mexp .up b { color: var(--hi); }

/* 11-28 하늘님 N1 · N3 — 작은 글자 링크(다른 해 보기 · 건너뛰기 · 다 열기) */
.nyother { display: block; margin: -4px 0 12px; background: none; border: 0; color: var(--sub); font-size: 13.5px; cursor: pointer; font-family: inherit; padding: 4px 2px; }

/* 11-28 하늘님 19쪽 — 궁합 화면 주요 단추도 금색 · 결과 예시 카드 */
.gadd { background: #e9c46a; color: #1a1405; }
.btn.ln.gadd { background: rgba(255,255,255,.04); color: var(--ink); }
.gex { background: var(--glass); border-radius: 16px; padding: 14px; margin-bottom: 12px; }
.gex small { font-size: 12px; color: var(--mute); }
.gex-hd { display: flex; align-items: center; justify-content: space-between; margin: 8px 0; }
.gex-hd b { font-family: var(--disp); font-size: 24px; color: var(--hi); }
.gex p { font-size: 14px; line-height: 1.6; color: var(--sub); margin: 0; }
.gex .gpair { display: flex; align-items: center; gap: 6px; } .gex .gpair em { font-style: normal; color: #e9c46a; }

/* 11-28 하늘님 20쪽 — 나 화면 세 묶음 · 비서 카드 누르기 · 지우기는 작게 */
.me3 .meg { font-size: 15px; color: var(--sub); margin: 22px 4px 8px; font-weight: 600; }
.me3 .meg:first-of-type { margin-top: 10px; }
.mebot { display: block; width: 100%; font-family: inherit; color: inherit; cursor: pointer; }
.mebot-go { display: block; margin-top: 8px; font-style: normal; font-size: 13.5px; color: #e9c46a; }
.mewipe { text-align: center; margin: 36px 0 8px; }
.mewipe button { background: none; border: 0; color: var(--mute); font-size: 12.5px; text-decoration: underline; font-family: inherit; cursor: pointer; padding: 6px; }
.mewipe button.warn { color: #ff8a8a; }
.mewipe small { display: block; font-size: 11.5px; color: var(--mute); margin-top: 2px; }

/* ════ 11-28 하늘님 「화면을 더 깔끔하게」 — 금색 채운 단추는 화면에 하나 · 테두리 · 그림자 · 그러데이션 덜기 ════ */
:root { --glass: rgba(255,255,255,.055); --glow: none; --grad: #e9c46a; }
body::before { opacity: .45; animation: none; }
body::after { opacity: .35; }
.card, .prod, .h-p, .h-sl, .chatband, .mepp, .merec, .h-free, .h-crew, .h-trust, .h-worry, .h-dream { border-color: transparent !important; box-shadow: none !important; backdrop-filter: none; -webkit-backdrop-filter: none; }
.btn { box-shadow: none; }
.btn.ln { background: transparent; border: 1px solid rgba(255,255,255,.16); color: var(--ink); }
/* 홈 — 상품 카드 「보기」 · 배너 · 「또르한테 물어보기」는 금색 글씨만(채운 금색은 「물어보기」 하나) */
.h-p .pr span, .h-p:active .pr span { background: none !important; box-shadow: none !important; text-shadow: none; color: #e9c46a; padding: 4px 0; font-weight: 700; }
.h-p .pr span::after { content: ' ›'; }
.h-sl .b { background: rgba(255,255,255,.14); color: #fff; }
.h-p .freeb { background: rgba(255,255,255,.14) !important; color: #fff !important; box-shadow: none !important; }
.h-free button.hot { color: #ffe08a; }
.h-free button.hot svg { background: rgba(255,255,255,.08) !important; stroke: #e9c46a !important; box-shadow: none !important; animation: none !important; }
.h-free button.hot::before, .h-free button.hot::after { display: none; }
.h-free button svg { box-shadow: none !important; }
.h-worry, .h-trust, .h-dream { background: var(--glass) !important; }
/* 풀이 — 무료 상담 띠도 카드와 같은 바탕 */
.chatband { background: var(--glass); }
.h-sl picture img, .h-sl img.one, .h-p .ph img { filter: none; }

/* 11-28 하늘님 24쪽 — 홈 맨 위 오늘 운세 한 줄 · 상담 끝 풀이 한 줄 · 무료 다 쓴 뒤 말풍선 */
.h-day1 { width: 100%; display: flex; gap: 12px; align-items: center; text-align: left; padding: 12px 14px 12px 10px; margin: 2px 0 12px; background: var(--glass); border: 0; border-radius: 18px; color: var(--ink); cursor: pointer; font-family: inherit; }
.h-day1 .hd-av { flex: 0 0 58px; height: 58px; border-radius: 50%; background: rgba(233,196,106,.12); overflow: hidden; display: grid; place-items: end center; }
.h-day1 .hd-av img { width: 64px; height: auto; }
.h-day1 .hd-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.h-day1 small { font-size: 12.5px; color: #e9c46a; }
.h-day1 b { font-size: 15px; line-height: 1.45; color: #fff; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.h-day1 em { font-style: normal; font-size: 12.5px; color: var(--sub); }
.h-free.n3 { grid-template-columns: repeat(3, 1fr); row-gap: 14px; }
.cups { display: block; width: calc(100% - 50px); margin: 2px 0 10px 50px; text-align: left; background: rgba(233,196,106,.08); border: 0; border-radius: 12px; padding: 10px 12px; color: var(--ink); font-size: 13.5px; line-height: 1.45; cursor: pointer; font-family: inherit; }
.cups b { color: #e9c46a; font-weight: 700; }
.cups small { display: block; font-size: 12px; color: var(--mute); margin-top: 2px; }
.rf-say { margin-top: 14px; }
.refill { margin-top: 8px; }
.rf-clock { text-align: center; font-size: 13px; color: var(--sub); margin: 12px 0 2px; }
/* 11-28 대표님 「배너 높이를 좀 줄여줘」 300 → 210 */
.h-sl { height: 210px; }
.h-sl .cp { top: 14px; }
.h-sl h2 { font-size: 21px; margin: 2px 0 9px; }
.h-sl .b { padding: 7px 13px; font-size: 13px; }
.h-sl picture img { width: min(176px, 46%); }
.h-sl img.one { width: min(150px, 42%); }
.h-sl img.one.ny27 { width: min(190px, 50%); bottom: -14px; }
.rf-clock b { font-variant-numeric: tabular-nums; color: var(--ink); }

/* 11-28 풀이권 줄 — 숫자 세 칸 → 남은 장수 한 줄(남은 게 있을 때만) */
.h-wal.h-wal1 { gap: 10px; padding: 11px 14px; border: 0; border-radius: 14px; background: rgba(233,196,106,.09); justify-content: flex-start; }
.h-wal1 .tti { width: 24px; height: 19px; margin: 0; }
.h-wal1 .t { flex: 1; text-align: left; font-size: 14.5px; color: var(--ink); }
.h-wal1 .t b { color: #f3d98f; font-weight: 700; }
.h-wal1 em { font-style: normal; font-size: 13px; color: #e9c46a; white-space: nowrap; }

/* 11-28 택일 · 고민 상담 네모 칸 한 줄 */
.chatc .pr { justify-content: space-between; }

/* 11-28 생일 칸 위 만세력 믿음 한 칸 */
.btrust { display: flex; gap: 10px; align-items: flex-start; margin: -4px 0 16px; padding: 12px 14px; border-radius: 14px; background: rgba(233,196,106,.09); }
.btrust svg { flex: 0 0 22px; width: 22px; height: 22px; fill: none; stroke: #e9c46a; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.btrust span { font-size: 13px; line-height: 1.55; color: var(--sub); }
.btrust b { display: block; font-size: 14.5px; color: #f3d98f; margin-bottom: 2px; }

/* 11-28 대표님 「카카오 · 네이버 + 마지막 로그인 방식」 */
.lgb { position: relative; width: 100%; margin-bottom: 10px; }
.naver { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 15px; border: 0; border-radius: 14px; background: #03C75A; color: #fff; font-size: 16px; font-weight: 700; cursor: pointer; font-family: inherit; box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.naver b { font-family: Arial, sans-serif; font-weight: 900; font-size: 17px; }
.lg-last { position: absolute; left: 50%; top: -11px; transform: translateX(-50%); z-index: 1; font-style: normal; font-size: 11.5px; font-weight: 700; color: #fff; background: #e8618c; padding: 3px 10px; border-radius: 10px; white-space: nowrap; }
.lg-last::after { content: ''; position: absolute; left: 50%; bottom: -4px; margin-left: -4px; border: 4px solid transparent; border-bottom: 0; border-top-color: #e8618c; }

/* 11-28 대표님 「봉투 한 번에 열기가 스크롤해야 보여 · 글이 작아」 — 봉투 화면을 한 화면에, 「한 번에 다 열기」는 금색 큰 단추 */
.sb.sbg { gap: 10px; }
.sb.sbg h2 { font-size: 24px; margin: 0; }
.sb.sbg .sbstg.w { width: min(100%, 40vh); width: min(100%, 40dvh); }
.sb.sbg #sbenv .sbe img { max-height: 13vh; max-height: 13dvh; }
.sb.sbg .sbhint { margin: 0; }
.sball { display: block; width: 100%; padding: 13px; border-radius: 14px; border: 2px solid #e9c46a; background: rgba(233,196,106,.14); color: #f4d27a; font-family: GmarketSans, Pretendard, sans-serif; font-size: 18px; cursor: pointer; }
.sball[hidden] { display: none; }

/* 11-28 대표님 「마지막 그림이 내려갔어」 — 단추는 속을 세로 가운데로 놓아서, 밑 글이 두 줄인 누리만 아래로 처졌다 → 위에 맞춤 */
.h-crew .hc-one { align-self: start; }


/* 11-28 대표님 C — 상담 답 맨 위 핵심 세 줄(하늘님판 모양) */
.ms .ccore { background: linear-gradient(135deg, rgba(233,196,106,.18), rgba(233,196,106,.07)); border: 1px solid rgba(233,196,106,.5); border-radius: 4px 16px 16px 16px; padding: 11px 14px; margin: 2px 0 4px; }
.ms .ccore small { display: block; font-size: 12px; font-weight: 700; color: #e9c46a; margin-bottom: 5px; }
.ms .ccore p { font-size: 15px; line-height: 1.55; color: #fff3cf; padding-left: 13px; position: relative; margin: 4px 0; word-break: keep-all; }
.ms .ccore p::before { content: ""; position: absolute; left: 0; top: .68em; width: 5px; height: 5px; border-radius: 50%; background: #e9c46a; }

/* 11-29 대표님 「여러 개 한 번에 사기를 펼쳐 두고 가격표처럼」 — 고르기 목록(한 줄 = 하나 · 고른 줄은 금색 테두리 + 채운 동그라미) */
.pkl { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 14px; }
.pkh { margin: 0 2px 2px; font-size: 13px; color: var(--sub); }
.pkr { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: rgba(255,255,255,.05); border: 1.5px solid rgba(255,255,255,.14); border-radius: 14px; padding: 13px 14px; color: #fff; font: inherit; cursor: pointer; }
.pkr.on { border-color: var(--gold); background: rgba(233,196,106,.10); }
.pkr .pkn { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(233,196,106,.16); color: #ffd66b; font-weight: 800; font-size: 15px; }
.pkr .pkt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pkr .pkt b { font-size: 15px; font-weight: 800; word-break: keep-all; }
.pkr .pkt small { font-size: 12px; color: #c9d0ea; word-break: keep-all; }
.pkr em { flex: none; font-style: normal; font-size: 15px; font-weight: 800; color: #ffd66b; }
.pkr .pko { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); }
.pkr.on .pko { border-color: var(--gold); box-shadow: inset 0 0 0 4px #1b2547, inset 0 0 0 10px var(--gold); }
.pkr i { position: absolute; top: -9px; left: 12px; font-style: normal; font-size: 10.5px; font-weight: 800; background: var(--gold); color: #3a2a00; border-radius: 8px; padding: 1px 8px; }

/* 11-29 공유 혜택 한 줄(결과 끝 · 궁합 단추 아래) */
.ghrw { display: block; width: 100%; margin: 8px 0 4px; padding: 10px 12px; border: 0; border-radius: 12px; background: rgba(255,224,138,.12); color: var(--ink, #f1ecff); font: inherit; font-size: 14px; line-height: 1.45; text-align: center; cursor: pointer; }
.ghrw b { color: #ffe08a; }
.wrap.white .ghrw { background: #fff6d8; color: #3a2350; } .wrap.white .ghrw b { color: #b2560a; }

/* 11-29 무료권 링크 창 */
.passw { text-align: center; padding: 6px 4px 2px; }
.passw .pw-gift { font-size: 54px; line-height: 1; margin-bottom: 8px; }
.passw h3 { font-size: 21px; margin: 0 0 8px; }
.passw p { font-size: 15px; line-height: 1.55; margin: 0 0 16px; }
/* 11-30 대표님 「포스트잇이 작았는데 다시 커져」 — 비서 속말(.cmh)이 뒤늦게 붙어도 폭은 그대로, 쓰는 중엔 속말 두 줄 자리를 미리 비워 둔다 */
.ms .cmemo { width: 222px; max-width: 100%; box-sizing: border-box; }
.ms .cmemo .cmh { width: 0; min-width: 100%; box-sizing: border-box; min-height: 48px; font-size: 13px; line-height: 19px; letter-spacing: -.03em; word-break: keep-all; }
.ms.live .cmemo:not(:has(.cmh))::after { content: ''; display: block; height: 57px; }
