/* 첫 화면(랜딩) — js/landing.js. 사이트 테마와 상관없이 읽히도록 쪽마다 자체 배경 · 글자색을 가진다. */
html.lp-snap { scroll-snap-type: y proximity; }
body.lp-on #panel { padding: 0; }
html:has(body.lp-on), body.lp-on { overflow-x: clip; }
.lp-hero { scroll-snap-align: none !important; } /* 첫 쪽은 사이트 머리 그림이 보이는 맨 위에서 시작 */
.lp { position: relative; width: 100vw; margin-left: calc(50% - 50vw); overflow-x: clip; color: #fff; --lp-gold: #ffd76a; --lp-gold2: #f2a93b; }
.lp *, .lp *::before, .lp *::after { box-sizing: border-box; }

/* 주메뉴 — 그림 위에 글자만 떠 있는 투명 막대(스크롤하면 어두운 막대로) */
body.lp-on .top { display: none; }
.lp-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 30; background: linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, 0)); transition: background .25s; }
.lp-nav.solid, .lp-nav.menu-open { background: rgba(8, 10, 34, .94); backdrop-filter: blur(8px); box-shadow: 0 2px 14px rgba(0, 0, 0, .4); }
.lp-nav-in { max-width: 1500px; margin: 0 auto; padding: 0 22px; display: flex; align-items: center; gap: 10px; min-height: 56px; }
.lp-logo { display: none; align-items: center; gap: 6px; color: #fff !important; text-decoration: none; white-space: nowrap; font-size: 16px; text-shadow: 0 1px 6px rgba(0, 0, 0, .7) !important; }
.lp-nav.solid .lp-logo, .lp-nav.menu-open .lp-logo { display: flex; }
.lp-burger { display: none; margin-left: auto; background: rgba(0, 0, 0, .35); color: #fff; border: 1px solid rgba(255, 255, 255, .6); border-radius: 8px; padding: 7px 12px; font-size: 14px; cursor: pointer; }
.lp-cats { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; flex-wrap: nowrap; gap: 4px; }
.lp-cat { position: relative; }
.lp-ct { display: flex; align-items: center; padding: 17px 11px; color: #fff !important; background: none; border: 0; text-decoration: none; font: 800 17px/1.2 inherit; white-space: nowrap; text-shadow: 0 0 3px rgba(0, 0, 0, .9), 0 1px 8px rgba(0, 0, 0, .75) !important; cursor: pointer; border-bottom: 2px solid transparent; }
.lp-cat:hover > .lp-ct, .lp-cat:has(:focus-visible) > .lp-ct, .lp-cat.open > .lp-ct { color: var(--lp-gold) !important; border-bottom-color: var(--lp-gold); }
.lp-util > .lp-ct { font-weight: 600; font-size: 15px; opacity: .92; }
.lp-dd { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); min-width: 250px; max-height: 70vh; overflow: auto; list-style: none; margin: 0; padding: 8px; background: rgba(10, 12, 40, .97); border: 1px solid rgba(255, 215, 106, .6); border-radius: 0 0 12px 12px; box-shadow: 0 14px 30px rgba(0, 0, 0, .5); }
.lp-cat:nth-last-child(-n+4) > .lp-dd { left: auto; right: 0; transform: none; }
.lp-nav.hov .lp-cat:hover > .lp-dd, .lp-cat:has(:focus-visible) > .lp-dd, .lp-cat.open > .lp-dd { display: block; }
.lp-dd a { display: block; padding: 8px 10px; border-radius: 8px; color: #fff !important; text-decoration: none; text-shadow: none !important; }
.lp-dd a:hover, .lp-dd a:focus-visible { background: rgba(255, 215, 106, .16); }
.lp-dd b { display: block; font-size: 14px; font-weight: 700; }
.lp-dd small { display: block; font-size: 12px; opacity: .78; line-height: 1.4; margin-top: 2px; white-space: normal; }

/* 쪽 */
.lp-sec { position: relative; min-height: calc(var(--lp-h, 92vh) - 64px); display: flex; align-items: center; justify-content: center; padding: 56px 20px 84px; scroll-snap-align: start; scroll-margin-top: 56px; overflow: hidden; isolation: isolate; text-align: center; }
.lp[data-align="left"] .lp-sec { text-align: left; }
.lp-sec::before { content: ''; position: absolute; inset: 0; z-index: -2; }
.lp-sec[data-bg="cosmos"]::before { background: radial-gradient(900px 500px at 70% 10%, #2b2f8f 0%, transparent 60%), radial-gradient(700px 500px at 10% 90%, #4a1d7a 0%, transparent 60%), #070a2a; }
.lp-sec[data-bg="red"]::before { background: radial-gradient(800px 520px at 50% 18%, #b3201a 0%, rgba(179, 32, 26, 0) 62%), radial-gradient(700px 460px at 90% 100%, #5a1030 0%, transparent 60%), linear-gradient(180deg, #2a0710, #10081f); }
.lp-sec[data-bg="gold"]::before { background: radial-gradient(800px 500px at 50% 10%, #8a6412 0%, transparent 60%), linear-gradient(180deg, #2a1c05, #120d12); }
.lp-sec[data-bg="ink"]::before { background: radial-gradient(800px 500px at 20% 20%, #1c3a5e 0%, transparent 60%), linear-gradient(180deg, #08121f, #0b1020); }
.lp-sec[data-bg="dawn"]::before { background: radial-gradient(900px 500px at 50% 0%, #6a3b86 0%, transparent 60%), radial-gradient(600px 400px at 90% 100%, #1f4f6e 0%, transparent 60%), linear-gradient(180deg, #17102e, #0a1226); }
.lp-sec[data-img="1"]::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(5, 6, 20, var(--lp-dim, .35)), rgba(5, 6, 20, var(--lp-dim, .35))), var(--lp-img) center / cover no-repeat; }
.lp-in { width: 100%; max-width: 900px; margin: 0 auto; position: relative; z-index: 1; }
.lp-two { max-width: 1060px; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 44px; align-items: center; text-align: left; }
.lp-eye { display: inline-block; margin: 0 0 14px; padding: 5px 14px; border-radius: 999px; border: 1px solid rgba(255, 215, 106, .6); background: rgba(255, 215, 106, .1); color: var(--lp-gold) !important; font-size: 14px; letter-spacing: .06em; text-shadow: none !important; }
.lp-h1 { margin: 0 0 16px; font-size: clamp(40px, 8vw, 84px); line-height: 1.1; font-weight: 900; color: transparent !important; background: linear-gradient(180deg, #fff6d0 10%, #ffd76a 50%, #f2a93b 100%); -webkit-background-clip: text; background-clip: text; text-shadow: none !important; -webkit-text-stroke: 0 !important; filter: drop-shadow(0 4px 18px rgba(0, 0, 0, .55)); }
.lp-h2 { margin: 0 0 14px; font-size: clamp(30px, 5vw, 52px); line-height: 1.15; font-weight: 800; color: #ffe9a8 !important; text-shadow: 0 2px 14px rgba(0, 0, 0, .6) !important; }
.lp-sub { margin: 0 auto 22px; max-width: 640px; font-size: clamp(15px, 2.2vw, 19px); line-height: 1.75; color: #f3f1ff !important; text-shadow: 0 1px 8px rgba(0, 0, 0, .7) !important; }
.lp[data-align="left"] .lp-sub { margin-left: 0; }
.lp-two .lp-sub { margin-left: 0; }
.lp-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 6px 0 18px; }
.lp[data-align="left"] .lp-btns, .lp-two .lp-btns { justify-content: flex-start; }
.lp-btn { display: inline-block; padding: 15px 30px; border-radius: 999px; font-size: 18px; font-weight: 800; text-decoration: none; text-shadow: none !important; transition: transform .15s, box-shadow .15s; }
.lp-btn.gold { background: linear-gradient(180deg, #ffe08a, #f2a93b); color: #2b1600 !important; box-shadow: 0 8px 24px rgba(242, 169, 59, .45), inset 0 1px 0 rgba(255, 255, 255, .6); }
.lp-btn.ghost { background: rgba(255, 255, 255, .08); color: #fff !important; border: 1.5px solid rgba(255, 255, 255, .7); }
.lp-btn:hover, .lp-btn:focus-visible { transform: translateY(-2px); }
.lp-btn.gold:hover { box-shadow: 0 12px 30px rgba(242, 169, 59, .65), inset 0 1px 0 rgba(255, 255, 255, .6); }
.lp-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 8px 0 0; padding: 0; }
.lp[data-align="left"] .lp-chips { justify-content: flex-start; }
.lp-chips li { padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); font-size: 14px; color: #fff; }
.lp-ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.lp-ul li { position: relative; padding-left: 28px; line-height: 1.6; font-size: 16px; color: #f3f1ff; }
.lp-ul li::before { content: '✦'; position: absolute; left: 4px; top: 0; color: var(--lp-gold); }

/* 쪽 안내 단추 · 점 */
.lp-cue { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 2; background: transparent; border: 1px solid rgba(255, 255, 255, .5); color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 15px; cursor: pointer; animation: lp-bob 1.8s ease-in-out infinite; }
.lp-cue:hover { background: rgba(255, 255, 255, .15); }
@keyframes lp-bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 7px); } }
.lp-dots { position: fixed; right: 14px; top: 50%; transform: translateY(-50%); z-index: 25; display: grid; gap: 12px; }
.lp-dots button { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid #ffd76a; background: transparent; padding: 0; cursor: pointer; }
.lp-dots button.on { background: #ffd76a; box-shadow: 0 0 10px #ffd76a; }

/* 신년운세 장식: 열두 지지 고리 + 간지 워터마크 */
.lp-mark { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: clamp(180px, 38vw, 460px); font-weight: 900; line-height: 1; color: rgba(255, 215, 106, .07) !important; -webkit-text-fill-color: rgba(255, 215, 106, .07) !important; -webkit-text-stroke: 0 !important; text-shadow: none !important; z-index: -1; white-space: nowrap; font-family: "Noto Serif KR", "Yuji Boku", serif; pointer-events: none; }
.lp-ring { position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: -1; animation: lp-spin 120s linear infinite; pointer-events: none; }
.lp-ring span { position: absolute; left: 0; top: 0; width: 40px; height: 40px; margin: -20px 0 0 -20px; display: grid; place-items: center; font-size: 22px; color: rgba(255, 215, 106, .55); transform: rotate(calc(var(--i) * 30deg)) translateY(calc(-1 * min(44vw, 330px))) rotate(calc(var(--i) * -30deg)); }
@keyframes lp-spin { to { transform: rotate(360deg); } }

/* 운명책 그림 */
.lp-bookart { display: grid; place-items: center; perspective: 900px; }
.lp-bk { position: relative; width: min(280px, 64vw); aspect-ratio: 210 / 297; transform: rotateY(-22deg) rotateX(4deg); transform-style: preserve-3d; transition: transform .4s; filter: drop-shadow(18px 24px 24px rgba(0, 0, 0, .55)); }
.lp-bookart:hover .lp-bk { transform: rotateY(-8deg) rotateX(2deg); }
.lp-bk-pages { position: absolute; inset: 4px -10px 4px 6px; background: repeating-linear-gradient(90deg, #f3ead2 0 2px, #d9cba5 2px 3px); border-radius: 2px 6px 6px 2px; }
.lp-bk-cover { position: absolute; inset: 0; border-radius: 4px 8px 8px 4px; background: linear-gradient(135deg, #8d1d1a, #4d0e18 70%); border: 2px solid #ffd76a; box-shadow: inset 0 0 0 6px rgba(255, 215, 106, .18), inset 8px 0 14px rgba(0, 0, 0, .35); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 20px; color: #ffe9a8; }
.lp-bk-cover small { font-size: 12px; letter-spacing: .2em; opacity: .85; }
.lp-bk-cover b { font-size: clamp(48px, 12vw, 76px); line-height: 1; font-family: "Noto Serif KR", "Yuji Boku", serif; color: #ffd76a; }
.lp-bk-cover em { font-style: normal; font-size: 18px; font-weight: 800; }
.lp-bk-cover span { font-size: 12px; opacity: .8; border-top: 1px solid rgba(255, 215, 106, .5); padding-top: 10px; margin-top: 6px; }

/* 연구소 소개 */
.lp-pts { list-style: none; margin: 8px 0 22px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; text-align: left; }
.lp-pts li { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 215, 106, .35); border-radius: 16px; padding: 18px 16px; }
.lp-pi { display: block; font-size: 30px; margin-bottom: 8px; }
.lp-pts b { display: block; font-size: 17px; color: #ffe9a8; margin-bottom: 6px; }
.lp-pts p { margin: 0; font-size: 14px; line-height: 1.65; color: #ecebff; }
.lp-stat { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; margin: 4px 0 18px; font-size: 15px; color: #f3f1ff; }
.lp-stat b { font-size: 26px; color: var(--lp-gold); margin-right: 4px; }
.lp-note { margin: 6px auto 0; font-size: 13px; opacity: .8; max-width: 640px; }
.lp-about { padding-bottom: 60px; }

@media (max-width: 1100px) { .lp-ct span { font-size: 13px; } .lp-ct { padding: 15px 6px; } .lp-pts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .lp-burger { display: block; }
  .lp-nav-in { flex-wrap: wrap; }
  .lp-cats { display: none; width: 100%; flex-direction: column; margin: 0 0 8px; max-height: 70vh; overflow: auto; }
  .lp-nav.menu-open .lp-cats { display: flex; }
  .lp-ct { padding: 12px 8px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .lp-dd { position: static; transform: none; left: auto; min-width: 0; max-height: none; box-shadow: none; border: 0; border-radius: 0; background: rgba(255, 255, 255, .05); }
  .lp-two { grid-template-columns: 1fr; gap: 26px; text-align: center; }
  .lp-two .lp-sub, .lp-two .lp-btns { margin-left: auto; justify-content: center; }
  .lp-ul { text-align: left; }
  .lp-dots { right: 6px; gap: 10px; }
}
@media (max-width: 560px) { .lp-pts { grid-template-columns: 1fr; } .lp-btn { padding: 13px 22px; font-size: 16px; } .lp-sec { padding: 40px 16px 80px; } }
@media (prefers-reduced-motion: reduce) { .lp-ring, .lp-cue { animation: none; } html.lp-snap { scroll-snap-type: none; } }

/* 신년 첫 쪽: 그림이 화면을 가득 채우고, 안내 카드가 오른쪽에 */
.lp-hero { min-height: 100vh; padding: 70px 4vw 90px; justify-content: flex-end; text-align: left; }
.lp-herocard { max-width: none; display: flex; justify-content: flex-end; }
.lp-card { width: min(540px, 100%); padding: 34px 36px 36px; border-radius: 6px; background: rgba(var(--lp-rgb, 10, 14, 40), var(--lp-ca, .6)); background: color-mix(in srgb, var(--lp-card, #0a0e28) calc(var(--lp-ca, .6) * 100%), transparent); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(6px); box-shadow: 0 18px 50px rgba(0, 0, 0, .4); text-align: left; }
.lp-card .lp-eye { padding: 0; border: 0; background: none; color: #fff !important; font-size: 16px; font-weight: 700; letter-spacing: 0; margin-bottom: 26px; }
.lp-card .lp-h1 { font-size: clamp(36px, 5vw, 62px); color: #fff !important; background: none; -webkit-background-clip: border-box; background-clip: border-box; filter: none; text-shadow: 0 2px 12px rgba(0, 0, 0, .5) !important; margin-bottom: 20px; }
.lp-card .lp-sub { margin: 0 0 22px; max-width: none; font-size: clamp(15px, 1.6vw, 18px); font-weight: 600; white-space: pre-line; }
.lp-lines { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 4px; font-weight: 700; font-size: 16px; }
.lp-lines li { color: #fff; }
.lp-lines .lp-price { font-size: 22px; color: var(--lp-gold); margin-top: 4px; }
.lp-card .lp-btns { justify-content: flex-start; margin: 0; }
@media (max-width: 860px) {
  body.lp-on .lp-nav-in { padding: 0 12px; }
  .lp-hero { padding: 70px 14px 80px; align-items: flex-end; }
  .lp-herocard { justify-content: center; }
  .lp-card { padding: 22px 20px 24px; width: 100%; }
  .lp-card .lp-eye { margin-bottom: 12px; }
  .lp-logo { display: flex !important; }
  .lp-util > .lp-ct { opacity: 1; }
}

body.lp-on .mode-fab, body.lp-on .bnav, body.lp-on #cartFab { display: none !important; }
body.lp-on #menuTopBox, body.lp-on .site-notice, body.lp-on #siteNotice { display: none !important; }

.lp-herocard[data-pos="left"] { justify-content: flex-start; }
.lp-herocard[data-pos="center"] { justify-content: center; }
.lp-herocard[data-pos="center"] .lp-card { text-align: center; }
.lp-herocard[data-pos="center"] .lp-btns { justify-content: center; }

/* 첫 화면 안내 카드: 사각형 박스(배경 · 테두리 · 흐림 · 그림자)를 없애고 바탕 그림 위에 글자와 단추만 둔다 — 글자는 그림자로 읽기 쉽게 */
.lp-card { background: none !important; border: 0 !important; backdrop-filter: none !important; box-shadow: none !important; padding-left: 0; padding-right: 0; }
.lp-card :is(.lp-eye, .lp-h1, .lp-sub, .lp-lines li) { text-shadow: 0 1px 3px rgba(0, 0, 0, .75), 0 3px 18px rgba(0, 0, 0, .65) !important; }
.lp-card .lp-btns .lp-btn, .lp-card .lp-btns a, .lp-card .lp-btns button { box-shadow: 0 6px 22px rgba(0, 0, 0, .45); }
.lp-cats > .lp-gr[hidden] { display: none; } .lp-gr .lp-ct { padding-right: 4px; }
body.lp-on #pNudge, body.lp-on .pnudge { display: none !important; } /* 회원 정보 안내 띠는 소개 화면의 위쪽 메뉴를 가리지 않게 */

/* 3쪽 — 상담 소개: 말풍선 그림 + 상담 단추 */
.lp-csart { display: flex; flex-direction: column; gap: 14px; max-width: 360px; margin: 0 auto; }
.lp-cs-b { padding: 14px 18px; border-radius: 20px; font-size: 15px; line-height: 1.6; color: #fff; box-shadow: 0 10px 26px rgba(0, 0, 0, .35); backdrop-filter: blur(4px); }
.lp-cs-b.a { align-self: flex-start; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); border-bottom-left-radius: 4px; }
.lp-cs-b.b { align-self: flex-end; background: linear-gradient(135deg, #7c4dff, #c04cff); border-bottom-right-radius: 4px; }

.lp-bkprice { margin: 0 0 16px; font-size: 22px; color: var(--lp-gold); }
.lp-bkprice del { opacity: .6; font-size: 16px; color: #f3f1ff; margin-right: 6px; }
.lp-bksale { font-size: 13px; background: rgba(255, 255, 255, .14); border-radius: 999px; padding: 2px 10px; color: #fff; vertical-align: middle; }

/* 타로점 소개 쪽 + 점술 메뉴 안내 */
.lp-tcol { max-width: 1060px; display: grid; gap: 30px; }
.lp-tcol > .lp-two { width: 100%; }
.lp-trart { position: relative; height: 270px; max-width: 340px; margin: 0 auto; width: 100%; }
.lp-tc { position: absolute; top: 14px; left: 50%; width: 138px; height: 232px; margin-left: -69px; border-radius: 12px; border: 2px solid var(--lp-gold); background: linear-gradient(160deg, #2a1c5e, #0f0a2c); box-shadow: 0 12px 30px rgba(0, 0, 0, .55); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #fff; text-align: center; }
.lp-tc i { font-style: normal; font-size: 40px; color: var(--lp-gold); }
.lp-tc b { font-size: 22px; letter-spacing: .1em; }
.lp-tc em { font-style: normal; font-size: 10px; letter-spacing: .14em; opacity: .75; }
.lp-tc.a { transform: translateX(-84px) rotate(-12deg); }
.lp-tc.b { z-index: 2; transform: translateY(-8px); background: linear-gradient(160deg, #35207a, #130c36); }
.lp-tc.c { transform: translateX(84px) rotate(12deg); }
.lp-jm { border-top: 1px solid rgba(255, 215, 106, .35); padding-top: 18px; text-align: left; }
.lp-jm-h { margin: 0 0 4px; font-size: 18px; font-weight: 800; color: var(--lp-gold); }
.lp-jm-n { margin: 0 0 12px; font-size: 14px; opacity: .85; }
.lp-jm-l { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.lp-jm-l a { display: block; min-width: 120px; max-width: 210px; padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(255, 215, 106, .5); background: rgba(255, 255, 255, .08); color: #fff !important; text-decoration: none; }
.lp-jm-l a:hover, .lp-jm-l a:focus-visible { background: rgba(255, 215, 106, .2); }
.lp-jm-l b { display: block; font-size: 15px; }
.lp-jm-l small { display: block; margin-top: 2px; font-size: 12px; line-height: 1.4; opacity: .8; }
@media (max-width: 860px) { .lp-jm { text-align: center; } .lp-jm-l { justify-content: center; } .lp-jm-l a { text-align: left; } .lp-trart { height: 250px; } }
@media (max-width: 560px) { .lp-tc { width: 112px; height: 190px; margin-left: -56px; } .lp-tc.a { transform: translateX(-62px) rotate(-12deg); } .lp-tc.c { transform: translateX(62px) rotate(12deg); } .lp-tc i { font-size: 30px; } .lp-tc b { font-size: 18px; } .lp-trart { height: 220px; } .lp-jm-l a { min-width: 0; flex: 1 1 42%; max-width: none; } }
.lp-jm-l { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.lp-jm-l a { min-width: 0; max-width: none; padding: 8px 12px; }
.lp-jm-l small { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.lp-tarot { padding-top: 44px; padding-bottom: 76px; }
@media (max-width: 860px) { .lp-jm-l { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .lp-jm-l { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lp-jm-l a { flex: none; } }

/* 1쪽 아래 생활운세 메뉴 안내 */
.lp-hw { max-width: none; display: grid; gap: 18px; }
.lp-herojm { max-width: 1060px; margin-left: auto; width: 100%; background: rgba(8, 10, 34, .62); border: 1px solid rgba(255, 215, 106, .4); border-radius: 14px; padding: 14px 16px; border-top: 1px solid rgba(255, 215, 106, .4); backdrop-filter: blur(3px); }
.lp-herocard[data-pos="left"] ~ .lp-herojm { margin-left: 0; margin-right: auto; }
.lp-herocard[data-pos="center"] ~ .lp-herojm { margin-left: auto; margin-right: auto; }
@media (max-width: 860px) { .lp-herojm { margin-left: auto; margin-right: auto; } }

/* 1쪽 생활운세 안내: 박스 없이 바탕에 바로 — 이름만 보이고 마우스를 올리면 소개 말풍선 */
.lp-herojm { background: none; border: 0; border-radius: 0; padding: 0; backdrop-filter: none; }
.lp-herojm .lp-jm-h, .lp-herojm .lp-jm-n { text-shadow: 0 1px 8px rgba(0, 0, 0, .85), 0 0 2px rgba(0, 0, 0, .9); }
.lp-herojm .lp-jm-l { display: flex; flex-wrap: wrap; gap: 6px 10px; }
.lp-herojm .lp-jm-l li { position: relative; }
.lp-herojm .lp-jm-l a { display: inline-flex; align-items: baseline; gap: 8px; min-width: 0; max-width: none; padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; background: rgba(0, 0, 0, .18); text-shadow: 0 1px 8px rgba(0, 0, 0, .9); }
.lp-herojm .lp-jm-l a:hover, .lp-herojm .lp-jm-l a:focus-visible { background: rgba(255, 215, 106, .22); border-color: var(--lp-gold); }
.lp-herojm .lp-jm-l b { color: var(--lp-gold); font-size: 16px; }
.lp-jm-p { font-style: normal; font-size: 13px; font-weight: 700; color: #fff; }
.lp-jm-p del { opacity: .65; font-weight: 400; }
.lp-tt { display: none; position: absolute; left: 0; bottom: calc(100% + 10px); width: 270px; z-index: 6; padding: 11px 13px; border-radius: 12px; background: rgba(10, 12, 40, .97); border: 1px solid rgba(255, 215, 106, .7); box-shadow: 0 12px 28px rgba(0, 0, 0, .55); font-size: 13px; line-height: 1.55; color: #f3f1ff; text-align: left; text-shadow: none; white-space: normal; }
.lp-tt span { display: block; }
.lp-tt .lp-tm { margin-top: 4px; opacity: .9; font-size: 12px; }
.lp-herojm .lp-jm-l li:nth-last-child(-n+2) .lp-tt { left: auto; right: 0; }
@media (hover: hover) { .lp-herojm .lp-jm-l a:hover .lp-tt, .lp-herojm .lp-jm-l a:focus-visible .lp-tt { display: block; } }
@media (hover: none) { .lp-herojm .lp-tt { display: none !important; } }

.lp-herojm .lp-jm-l small.lp-tt { display: none; -webkit-line-clamp: unset; overflow: visible; margin: 0; }
@media (hover: hover) { .lp-herojm .lp-jm-l a:hover small.lp-tt, .lp-herojm .lp-jm-l a:focus-visible small.lp-tt { display: block; } }

/* 궁합 소개 쪽 */
.lp-match .lp-herojm { margin-left: 0; max-width: none; }
.lp-mtart { position: relative; height: 250px; max-width: 360px; width: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 0; }
.lp-mo { width: 128px; height: 128px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; border: 2px solid var(--lp-gold); box-shadow: 0 12px 30px rgba(0, 0, 0, .5); }
.lp-mo b { font-size: 52px; line-height: 1; }
.lp-mo small { font-size: 13px; opacity: .9; margin-top: 4px; }
.lp-mo.a { background: radial-gradient(circle at 35% 30%, #3f8f6b, #123a2b); margin-right: -14px; }
.lp-mo.b { background: radial-gradient(circle at 35% 30%, #d9b43a, #6a4a08); margin-left: -14px; }
.lp-mh { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; width: 74px; height: 74px; border-radius: 50%; background: #c41e3a; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 28px; line-height: 1; box-shadow: 0 6px 18px rgba(0, 0, 0, .5); border: 2px solid #fff; }
.lp-mh em { font-style: normal; font-size: 12px; font-weight: 800; margin-top: 2px; }
@media (max-width: 560px) { .lp-mo { width: 98px; height: 98px; } .lp-mo b { font-size: 40px; } .lp-mh { width: 60px; height: 60px; font-size: 22px; } .lp-mtart { height: 190px; } }

.lp-tarot .lp-herojm { margin-left: 0; max-width: none; }

/* 작명 소개 쪽 */
.lp-naming .lp-herojm { margin-left: 0; max-width: none; }
.lp-nmart { position: relative; height: 260px; max-width: 340px; width: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 18px; }
.lp-nm-seal { width: 96px; height: 96px; border-radius: 14px; background: #b3201a; color: #fff; display: flex; align-items: center; justify-content: center; border: 3px double #ffd76a; box-shadow: 0 10px 26px rgba(0, 0, 0, .5); transform: rotate(-6deg); }
.lp-nm-seal b { font-size: 58px; line-height: 1; }
.lp-nm-plate { display: grid; gap: 6px; padding: 14px 16px; border-radius: 12px; background: linear-gradient(160deg, #f1e4bd, #d9c68f); color: #2a1a08; border: 2px solid var(--lp-gold); box-shadow: 0 10px 26px rgba(0, 0, 0, .5); text-align: center; }
.lp-nm-plate span { font-size: 36px; font-weight: 800; line-height: 1.05; }
.lp-nm-plate em { font-style: normal; font-size: 12px; letter-spacing: .3em; opacity: .75; }
.lp-nm-els { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.lp-nm-els i { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-style: normal; font-weight: 800; font-size: 15px; border: 1px solid rgba(255, 255, 255, .6); }
.lp-nm-els .e0 { background: #145a74; color: #fff; } .lp-nm-els .e1 { background: #a52a1d; color: #fff; } .lp-nm-els .e2 { background: #f2c230; color: #3a2a00; } .lp-nm-els .e3 { background: #fff; color: #222; } .lp-nm-els .e4 { background: #1b1b1f; color: #fff; }
@media (max-width: 560px) { .lp-nmart { height: 210px; gap: 12px; } .lp-nm-seal { width: 76px; height: 76px; } .lp-nm-seal b { font-size: 44px; } .lp-nm-plate span { font-size: 28px; } }

/* 풍수 · 명리고전 · 관상학 소개 쪽 */
.lp-fengshui .lp-herojm, .lp-classics .lp-herojm, .lp-physio .lp-herojm { margin-left: 0; max-width: none; }
.lp-fsart { position: relative; width: 280px; height: 280px; margin: 0 auto; max-width: 100%; }
.lp-fs-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--lp-gold); background: radial-gradient(circle, rgba(255, 215, 106, .12), rgba(0, 0, 0, .25)); box-shadow: 0 12px 30px rgba(0, 0, 0, .5); }
.lp-fs-ring i { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px; font-style: normal; font-size: 30px; line-height: 34px; text-align: center; color: var(--lp-gold); }
.lp-fs-ring i:nth-child(1) { transform: translateY(calc(-1 * var(--fsr, 112px))); } .lp-fs-ring i:nth-child(2) { transform: rotate(45deg) translateY(calc(-1 * var(--fsr, 112px))) rotate(-45deg); } .lp-fs-ring i:nth-child(3) { transform: rotate(90deg) translateY(calc(-1 * var(--fsr, 112px))) rotate(-90deg); } .lp-fs-ring i:nth-child(4) { transform: rotate(135deg) translateY(calc(-1 * var(--fsr, 112px))) rotate(-135deg); }
.lp-fs-ring i:nth-child(5) { transform: rotate(180deg) translateY(calc(-1 * var(--fsr, 112px))) rotate(-180deg); } .lp-fs-ring i:nth-child(6) { transform: rotate(225deg) translateY(calc(-1 * var(--fsr, 112px))) rotate(-225deg); } .lp-fs-ring i:nth-child(7) { transform: rotate(270deg) translateY(calc(-1 * var(--fsr, 112px))) rotate(-270deg); } .lp-fs-ring i:nth-child(8) { transform: rotate(315deg) translateY(calc(-1 * var(--fsr, 112px))) rotate(-315deg); }
.lp-fs-core { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px; border-radius: 50%; background: linear-gradient(160deg, #1d6b4a, #0b2f22); border: 2px solid var(--lp-gold); display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; }
.lp-fs-core b { font-size: 34px; letter-spacing: .05em; } .lp-fs-core small { font-size: 12px; opacity: .85; }
.lp-clart { position: relative; height: 270px; width: 100%; max-width: 340px; margin: 0 auto; display: flex; align-items: flex-end; justify-content: center; gap: 10px; }
.lp-bkx { width: 62px; border-radius: 6px 6px 3px 3px; border: 2px solid var(--lp-gold); box-shadow: 0 12px 26px rgba(0, 0, 0, .5); display: flex; align-items: center; justify-content: center; color: #f7ecc8; }
.lp-bkx span { writing-mode: vertical-rl; font-size: 20px; font-weight: 800; letter-spacing: .12em; }
.lp-bkx.a { height: 220px; background: linear-gradient(160deg, #6a2a1a, #35130a); } .lp-bkx.b { height: 252px; background: linear-gradient(160deg, #1f4f6e, #0d2438); } .lp-bkx.c { height: 232px; background: linear-gradient(160deg, #46308a, #1e1448); } .lp-bkx.d { height: 205px; background: linear-gradient(160deg, #1d6b4a, #0b2f22); }
.lp-gsart { height: 270px; display: flex; align-items: center; justify-content: center; }
.lp-gs-face { position: relative; width: 170px; height: 240px; border-radius: 48% 48% 46% 46% / 40% 40% 60% 60%; border: 2px solid var(--lp-gold); background: radial-gradient(circle at 50% 30%, rgba(255, 224, 189, .35), rgba(255, 215, 106, .08)); box-shadow: 0 12px 30px rgba(0, 0, 0, .5); }
.lp-gs-face i { position: absolute; left: -2px; right: -2px; font-style: normal; font-size: 12px; text-align: center; color: var(--lp-gold); border-top: 1px dashed rgba(255, 215, 106, .75); padding-top: 3px; }
.lp-gs-face i.a { top: 20%; } .lp-gs-face i.b { top: 47%; } .lp-gs-face i.c { top: 73%; }
.lp-gs-face .eyes { position: absolute; left: 0; right: 0; top: 36%; text-align: center; font-size: 22px; color: #fff; letter-spacing: .15em; }
.lp-gs-face .mouth { position: absolute; left: 0; right: 0; top: 76%; text-align: center; font-size: 26px; color: #ffb3a6; }
@media (max-width: 560px) { .lp-fsart { --fsr: 86px; width: 220px; height: 220px; } .lp-fs-ring i { font-size: 24px; } .lp-fs-core { width: 96px; height: 96px; margin: -48px; } .lp-bkx { width: 52px; } .lp-clart { height: 230px; } .lp-bkx.a { height: 180px; } .lp-bkx.b { height: 210px; } .lp-bkx.c { height: 190px; } .lp-bkx.d { height: 170px; } .lp-gs-face { width: 140px; height: 200px; } .lp-gsart { height: 230px; } }

/* 닉네임 메뉴: 로그인했을 때만 「내 정보 · 로그아웃」 */
.lp-me:not(.logged) > .lp-acc { display: none !important; }
.lp-acc { min-width: 200px; }
.lp-acc .lp-out { display: block; width: 100%; text-align: left; padding: 8px 10px; border: 0; border-radius: 8px; background: none; color: #fff; font: inherit; cursor: pointer; }
.lp-acc .lp-out:hover, .lp-acc .lp-out:focus-visible { background: rgba(255, 215, 106, .16); }
.lp-acc .lp-out b { font-size: 14px; }
