/* 운세 매거진 공용 스타일 — React 홈과 정적 글 페이지가 함께 쓴다 */
:root {
  --bg: #0b0b0f;
  --bg-2: #121216;
  --panel: rgba(24, 24, 32, .72);
  --panel-solid: #181820;
  --chip: #161821;
  --line: rgba(255, 255, 255, .08);
  --text: #f3f3f6;
  --muted: #9a9aa8;
  --dim: #6b6b78;
  --burgundy: #6b2144;
  --burgundy-hi: #831843;
  --pink: #f472b6;
  --purple: #c084fc;
  --gold: #f5b942;
  --sand: #e5d5be;
  --serif: 'Noto Serif KR', serif;
  --sans: Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  background-image:
    radial-gradient(circle at 18% 12%, rgba(131, 24, 67, .12), transparent 45%),
    radial-gradient(circle at 85% 25%, rgba(120, 53, 140, .1), transparent 50%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  padding-bottom: 76px;
}
a { color: inherit; text-decoration: none; }
:where(img[height]) { height: auto; } /* width·height 속성은 화면 밀림 방지용 비율 예약만 — 실제 높이는 각 스타일이 정한다(우선순위 0) */
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.serif { font-family: var(--serif); }
h1, h2, h3, .one strong { word-break: keep-all; }
.clamp { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.pc { display: none; }

/* 헤더 */
.top { position: sticky; top: 0; z-index: 30; background: rgba(11, 11, 15, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 18px 0 12px; }
.top-row { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 6px; }
.brand .serif { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.brand-sub, .gnb, .btn-login, .kicker { display: none; }
.actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { display: flex; padding: 6px; color: #c9c9d4; transition: color .2s; }
.icon-btn:hover, .icon-btn.on { color: #fff; }
.mobile-sub { display: flex; align-items: center; gap: 12px; margin-top: 8px; color: var(--muted); font-size: 13px; }
.mobile-sub i { flex: 1; height: 1px; background: linear-gradient(90deg, #3a3a46, transparent); }
.chips { display: flex; gap: 8px; margin-top: 14px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { padding: 8px 20px; border-radius: 999px; font-size: 14px; font-weight: 500; background: var(--chip); border: 1px solid var(--line); color: #cfcfd8; white-space: nowrap; transition: transform .15s; }
.chip:active { transform: scale(.96); }
.chip.on { background: var(--burgundy); border-color: rgba(157, 23, 77, .6); color: #fff; }

/* 첫 화면 */
main { display: flex; flex-direction: column; gap: 32px; padding-top: 8px; }
.hero-grid { display: grid; gap: 18px; }
.hero { position: relative; display: flex; align-items: flex-end; aspect-ratio: 16 / 11; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .7s ease-out; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, #0b0b0f 0%, rgba(11, 11, 15, .55) 45%, transparent), linear-gradient(90deg, rgba(11, 11, 15, .7), transparent 60%);
}
.hero:hover .hero-art { transform: scale(1.04); }
.hero-text { position: relative; z-index: 2; padding: 22px; }
.hero-tag { display: inline-block; font-size: 13px; color: #f9a8d4; border-bottom: 1px solid rgba(244, 114, 182, .5); padding-bottom: 3px; letter-spacing: .08em; }
.hero h1 { font-size: 26px; line-height: 1.35; margin: 12px 0 8px; text-shadow: 0 2px 12px #0008; }
.hero p { font-size: 13px; color: #cfcfd8; }

.side { display: flex; flex-direction: column; gap: 18px; }
.panel { border-radius: 20px; border: 1px solid var(--line); background: var(--panel); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.mine { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px; background: linear-gradient(135deg, rgba(41, 37, 60, .9), rgba(27, 24, 43, .95)); border-color: rgba(168, 140, 219, .2); }
.mine-head { display: flex; align-items: center; gap: 14px; min-width: 0; }
.moon { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; color: #d8b4fe; background: rgba(88, 28, 135, .35); border: 1px solid rgba(192, 132, 252, .2); }
.mine h2 { font-size: 16px; }
.mine p { font-size: 12px; color: #b9b9c6; margin-top: 3px; line-height: 1.5; }
.btn-free { flex: none; display: flex; align-items: center; gap: 4px; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; color: #e9d5ff; background: rgba(59, 7, 100, .55); border: 1px solid rgba(192, 132, 252, .35); transition: background .2s, transform .15s; }
.btn-free:hover { background: rgba(88, 28, 135, .7); }
.btn-free:active { transform: scale(.97); }
.zodiac { display: none; padding: 24px; }
.panel-head, .sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.panel-head h2 { font-size: 17px; }
.more { display: flex; align-items: center; gap: 2px; font-size: 13px; color: var(--muted); white-space: nowrap; transition: color .2s; }
.more:hover { color: #fff; }
.z-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px 6px; margin-top: 20px; }
.z { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.z-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; background: #20202b; border: 1px solid var(--line); transition: border-color .2s; }
.z:hover { color: #fff; }
.z:hover .z-ico { border-color: rgba(245, 185, 66, .5); }

/* 섹션 */
.sec { display: flex; flex-direction: column; gap: 14px; }
.sec-head h2 { font-size: 20px; white-space: nowrap; }
.sec-head i { flex: 0 1 60px; height: 1px; background: #2a2a34; margin-right: auto; }
.arrows { display: none; gap: 6px; }
.arrow { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); color: var(--muted); transition: color .2s, border-color .2s; }
.arrow:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.card { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, rgba(30, 33, 46, .85), rgba(20, 22, 32, .95)); border: 1px solid var(--line); transition: transform .25s, border-color .25s; }
.card:hover { transform: translateY(-3px); border-color: rgba(245, 185, 66, .25); }
.card-link { flex: 1; display: flex; flex-direction: column; }
.card-art { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 20%; transition: transform .5s; }
.card-link { overflow: hidden; }
.card:hover .card-art { transform: scale(1.04); }
.card-body { padding: 12px 12px 10px; }
.card h3 { font-size: 15px; }
.card p { font-size: 12px; color: var(--muted); margin-top: 5px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin: 0 12px; padding: 8px 0 10px; border-top: 1px solid rgba(255, 255, 255, .05); }
.tag { font-size: 12px; font-weight: 500; }
.tag.pink { color: var(--pink); }
.tag.purple { color: var(--purple); }
.tag.gold { color: var(--gold); }

.stories { display: flex; flex-direction: column; gap: 12px; }
.story { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); transition: border-color .2s; }
.story:hover { border-color: rgba(255, 255, 255, .2); }
.story-art { width: 112px; height: 80px; flex: none; border-radius: 10px; object-fit: cover; object-position: 50% 20%; }
.story-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.story h3 { font-size: 15px; }
.story p { font-size: 12px; color: var(--muted); }
.story-chev { color: var(--dim); }

/* 푸터 */
.foot { margin-top: 48px; border-top: 1px solid var(--line); padding: 36px 0; font-size: 12px; color: var(--muted); }
.foot-row { display: flex; flex-direction: column; gap: 14px; }
.foot-logo { font-size: 18px; font-weight: 700; color: #fff; }
.foot-ed { margin-left: 10px; padding-left: 10px; border-left: 1px solid #333; }
.foot-row nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-row nav a:hover { color: #fff; }
.foot-note { margin-top: 18px; color: var(--dim); line-height: 1.7; max-width: 720px; }
.foot-copy { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .05); color: var(--dim); font-size: 11px; }

/* 하단 탭 (모바일) */
.tabbar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; display: flex; justify-content: space-around; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(11, 11, 15, .95); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid rgba(255, 255, 255, .1); }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 56px; font-size: 11px; color: var(--muted); }
.tabbar a.on { color: var(--pink); }

/* 데스크톱 */
@media (min-width: 1024px) {
  body { padding-bottom: 0; }
  .wrap { padding: 0 32px; }
  .pc { display: inline; }
  .top { padding: 0; border-bottom: 1px solid var(--line); }
  .top-row { height: 76px; }
  .brand-sub { display: inline; margin-left: 12px; padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .12); font-size: 12px; color: var(--muted); }
  .gnb { display: flex; gap: 32px; font-size: 14px; color: #c9c9d4; }
  .gnb a:hover, .gnb a.active { color: #fff; }
  .gnb a.active { font-weight: 600; }
  .actions { gap: 16px; }
  .btn-login { display: block; padding: 9px 22px; border-radius: 999px; font-size: 14px; background: var(--burgundy); border: 1px solid rgba(157, 23, 77, .5); transition: background .2s, transform .15s; }
  .btn-login:hover { background: var(--burgundy-hi); }
  .btn-login:active { transform: scale(.96); }
  .mobile-sub, .chips, .tabbar { display: none; }
  .kicker { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); margin-top: 20px; }
  .kicker i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
  main { gap: 52px; }
  .hero-grid { grid-template-columns: 2fr 1fr; gap: 24px; margin-top: -24px; }
  .hero { aspect-ratio: auto; min-height: 480px; }
  .hero-text { padding: 48px; }
  .hero h1 { font-size: 48px; }
  .hero p { font-size: 16px; }
  .side { gap: 20px; }
  .mine { flex: 1; flex-direction: column; align-items: stretch; justify-content: space-between; padding: 26px; background: linear-gradient(135deg, rgba(24, 24, 32, .9), rgba(30, 19, 34, .85)); border-color: var(--line); }
  .mine-head { align-items: flex-start; }
  .mine h2 { font-size: 20px; }
  .mine p { font-size: 14px; }
  .btn-free { justify-content: center; padding: 13px; border-radius: 12px; font-size: 14px; color: #fff; background: var(--burgundy); border-color: rgba(157, 23, 77, .4); }
  .btn-free:hover { background: var(--burgundy-hi); }
  .zodiac { display: block; }
  .sec { gap: 20px; }
  .sec-head { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
  .sec-head h2 { font-size: 24px; }
  .sec-head i { display: none; }
  .sec-head .more { margin-left: auto; }
  .arrows { display: flex; }
  .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .card-art { aspect-ratio: auto; height: 200px; }
  .card-body { padding: 20px 20px 14px; }
  .card h3 { font-size: 16px; }
  .card-foot { margin: 0 20px; padding: 12px 0 16px; }
  .stories { flex-direction: row; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .stories::-webkit-scrollbar { display: none; }
  .story { flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start; padding: 16px; }
  .story-chev { display: none; }
  .foot-row { flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (min-width: 600px) and (max-width: 1023px) {
  .hero { aspect-ratio: 16 / 8; }
}
/* 로고 — 본진(HUSH) story-wordmark 와 같은 규칙: Pretendard→Apple SD Gothic Neo 900 대문자 + 머무를수록 연분홍→진분홍→빨강(40초) */
.logo { font-family: 'Pretendard', 'Apple SD Gothic Neo', sans-serif; font-size: 24px; font-weight: 900; letter-spacing: .5px; text-transform: uppercase; white-space: nowrap;
  background: linear-gradient(90deg, #FFC2D4 0%, #FFC2D4 33%, #F0508A 50%, #D7192E 67%, #D7192E 100%); background-size: 300% 100%; background-position: 0 0;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: hush-blush 40s ease-in-out forwards; }
.logo em { position: relative; font-style: normal; font-weight: 700; font-size: .5em; letter-spacing: .18em; color: #a9a9b6; -webkit-text-fill-color: #a9a9b6; margin-left: 8px; }
/* HUSH 오른쪽 위에서 반짝이는 별(본진 로고와 같음: ✦ 11px, 2.4초) */
.logo em::before { content: '✦'; position: absolute; left: -14px; top: -12px; font-size: 11px; line-height: 1; letter-spacing: 0; color: #F0508A; -webkit-text-fill-color: #F0508A; animation: hush-twinkle 2.4s ease-in-out infinite; }
@keyframes hush-blush { to { background-position: 100% 0; } }
@keyframes hush-twinkle { 0%, 100% { opacity: 1; transform: scale(1) rotate(0); } 50% { opacity: .35; transform: scale(.7) rotate(25deg); } }
@media (prefers-reduced-motion: reduce) { .logo { animation: none; background-position: 50% 0; } .logo em::before { animation: none; } }
.foot-logo .logo { font-size: 18px; }
.tag.red { color: #fb7185; }

/* 셀럽 사주 — 일주 한자 카드 */
.hanja-art { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: radial-gradient(circle at 50% 40%, rgba(215, 25, 46, .28), transparent 60%), linear-gradient(160deg, #24121a, #121218 75%); }
.hanja-art span { font-family: var(--serif); font-size: 44px; font-weight: 700; letter-spacing: .1em; color: #fde2e4; text-shadow: 0 0 24px rgba(240, 80, 138, .5); }
.hanja-art small { font-size: 12px; color: var(--muted); letter-spacing: .3em; }
.card:hover .hanja-art { transform: none; }

/* 글 페이지 */
.post { display: block; max-width: 720px; margin: 0 auto; padding: 8px 20px 40px; }
.post-back { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); margin: 8px 0 18px; }
.post-back:hover { color: #fff; }
.post-cover { display: block; width: 100%; object-fit: cover; object-position: 50% 20%; aspect-ratio: 16 / 9; border-radius: 20px; border: 1px solid var(--line); }
.post-head { margin: 24px 0 28px; }
.post-head h1 { font-family: var(--serif); font-size: 28px; line-height: 1.4; margin: 10px 0 8px; }
.post-head p { color: var(--muted); font-size: 15px; }
.post-body { font-size: 17px; line-height: 1.9; color: #dcdce4; }
.post-body p + p { margin-top: 1.2em; }
.post-body h2 { font-family: var(--serif); font-size: 21px; margin: 2em 0 .7em; color: #fff; }
/* 인용 박스: 유리 느낌 — 반투명 그라데이션 + 위쪽 하이라이트 + 분홍 테두리 광채 (HUSH 카드뉴스의 유리 박스와 같은 모양) */
.post-body blockquote { position: relative; overflow: hidden; margin: 1.6em 0; padding: 20px 26px; border-radius: 20px; background: linear-gradient(135deg, rgba(255, 255, 255, .15) 0%, rgba(255, 255, 255, .05) 42%, rgba(240, 80, 138, .12) 100%); border: 1px solid rgba(255, 170, 200, .5); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .32), inset 0 -1px 0 rgba(255, 255, 255, .06), 0 10px 30px rgba(240, 80, 138, .2); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); text-align: center; font-family: var(--serif); font-size: inherit; font-weight: 600; line-height: 1.75; color: #fff2f6; text-shadow: 0 1px 12px rgba(240, 80, 138, .35); word-break: keep-all; }
.post-body blockquote::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, .2) 0%, rgba(255, 255, 255, 0) 38%); pointer-events: none; }
.post-save { display: inline-flex; align-items: center; gap: 6px; margin-top: 32px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; color: #cfcfd8; }
.post-save[aria-pressed="true"] { color: #fff; background: var(--burgundy); border-color: rgba(157, 23, 77, .5); }
.post > .card { margin-top: 40px; }
.post-meta { display: flex; gap: 14px; font-size: 12px; color: var(--dim); margin-top: 14px; }
.post-photo { margin: 0 0 24px; }
.post-photo img { display: block; width: 100%; max-height: 560px; object-fit: cover; object-position: 50% 25%; border-radius: 20px; border: 1px solid var(--line); }
.post-photo figcaption { margin-top: 8px; font-size: 12px; color: var(--dim); text-align: right; }
.post-hero { position: relative; margin: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.post-hero img { display: block; width: 100%; height: 420px; object-fit: cover; object-position: 50% 25%; }
.post-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #0b0b0f 0%, rgba(11, 11, 15, .75) 28%, transparent 60%); }
.post-hero .post-head { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; margin: 0; padding: 20px; }
.post-hero .post-head h1 { font-size: 24px; margin: 6px 0 4px; }
.post-hero .post-head p { font-size: 14px; }
.post-hero .post-meta { margin-top: 8px; }
.post-hero .post-head p { color: #d4d4dc; }
.post-hero .post-meta { color: #a1a1ad; }
.post figure { margin: 0 0 24px; }
.post figcaption { margin-top: 6px; font-size: 12px; color: var(--dim); text-align: right; }
.lead { margin: 4px 0 16px; font-size: 17px; line-height: 1.85; color: #dcdce4; word-break: keep-all; }
.profile { margin: 8px 0 28px; padding: 22px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); }
.profile-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.profile-top b { font-family: var(--serif); font-size: 20px; }
.profile-top span { font-size: 12px; color: var(--muted); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; text-align: center; }
.one { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: rgba(245, 185, 66, .06); border: 1px solid rgba(245, 185, 66, .2); }
.one small { display: block; font-size: 12px; color: var(--gold); }
.one strong { display: block; font-family: var(--serif); font-size: 17px; line-height: 1.5; margin-top: 4px; }
.pillar { display: flex; flex-direction: column; align-items: center; padding: 12px 4px; border-radius: 12px; background: #1d1d27; border: 1px solid var(--line); }
.pillar small { display: block; font-size: 11px; color: var(--dim); }
.pillar .ch { font-family: var(--serif); font-size: 30px; font-weight: 700; line-height: 1.25; }
.pillar .god { font-style: normal; font-size: 11px; color: var(--muted); margin: 4px 0; }
.ch.wood { color: #4ade80; } .ch.fire { color: #f87171; } .ch.earth { color: #fbbf24; } .ch.metal { color: #f1f1f4; } .ch.water { color: #60a5fa; }
.sal { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.sal b, .legend b { font-size: 10px; font-weight: 500; padding: 2px 6px; border-radius: 6px; white-space: nowrap; }
.gold { color: #fbbf24; background: rgba(251, 191, 36, .12); }
.blue { color: #93c5fd; background: rgba(96, 165, 250, .12); }
.dim { color: var(--muted); background: rgba(255, 255, 255, .06); }
.no-hour { margin-top: 10px; font-size: 12px; color: var(--muted); }
.legend { margin-top: 10px; font-size: 11px; color: var(--dim); }
.five-bars { display: grid; gap: 6px; margin-top: 16px; }
.fb { display: grid; grid-template-columns: 20px 1fr 16px; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.fb i { height: 8px; border-radius: 4px; background: #1d1d27; overflow: hidden; }
.fb i b { display: block; height: 100%; border-radius: 4px; }
.fb em { font-style: normal; color: #fff; text-align: right; }
.fb.wood b { background: #4ade80; } .fb.fire b { background: #f87171; } .fb.earth b { background: #fbbf24; } .fb.metal b { background: #d4d4d8; } .fb.water b { background: #60a5fa; }
.pillar em { font-style: normal; font-size: 11px; color: var(--muted); }
.pillar.me { border-color: rgba(240, 80, 138, .5); background: rgba(107, 33, 68, .35); }
.pillar.none .ch { color: var(--dim); }
.five { display: flex; gap: 6px; margin-top: 14px; flex-wrap: wrap; }
.five span { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: #1d1d27; color: var(--muted); }
.five span b { color: #fff; font-weight: 600; margin-left: 4px; }
.toc { margin: 0 0 28px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); font-size: 14px; }
.toc p { font-size: 11px; letter-spacing: .2em; color: var(--dim); margin-bottom: 10px; }
.toc a { display: block; padding: 5px 0; color: var(--muted); }
.toc a:hover { color: #fff; }
.post-body h2 { scroll-margin-top: 90px; padding-left: 12px; border-left: 3px solid #f0508a; }
.post-body ul { margin: 1em 0; padding-left: 0; list-style: none; }
.post-body li { position: relative; padding-left: 18px; margin: .5em 0; }
.post-body li::before { content: ''; position: absolute; left: 2px; top: .75em; width: 6px; height: 6px; border-radius: 50%; background: #f0508a; }
.post-body strong { color: #fff; }
.cta { display: flex; justify-content: space-between; align-items: center; margin: 2em 0; padding: 16px 20px; border-radius: 14px; background: linear-gradient(90deg, rgba(107, 33, 68, .45), rgba(40, 20, 50, .5)); border: 1px solid rgba(240, 80, 138, .3); font-weight: 600; color: #fff; }
.cta small { display: block; font-size: 12px; color: #f0508a; margin-bottom: 4px; }
.cta span { font-size: 15px; line-height: 1.5; }
.cta b { font-size: 18px; margin-left: 12px; }
.cta:hover { border-color: rgba(240, 80, 138, .6); }
.pc-only { display: none; }
.promo { flex-direction: column; gap: 10px; margin: 28px 0; }
.mo-only { display: flex; }
.promo-free { display: block; padding: 16px 18px; border-radius: 14px; background: linear-gradient(135deg, rgba(107, 33, 68, .55), rgba(40, 20, 50, .6)); border: 1px solid rgba(240, 80, 138, .35); transition: border-color .2s; }
.promo-free:hover { border-color: rgba(240, 80, 138, .7); }
.promo small { display: block; font-size: 11px; letter-spacing: .15em; color: #f0508a; }
.promo-free strong { display: block; font-family: var(--serif); font-size: 17px; margin: 4px 0; color: #fff; }
.promo-free span { font-size: 13px; color: #d6c9d0; }
.promo-card { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); transition: border-color .2s; }
.promo-card:hover { border-color: rgba(245, 185, 66, .35); }
.promo-card img { width: 64px; height: 84px; flex: none; border-radius: 10px; object-fit: cover; object-position: 50% 20%; }
.promo-card strong { display: block; font-size: 14px; line-height: 1.4; margin: 3px 0; color: #fff; }
.promo-card em { font-style: normal; font-size: 12px; color: var(--muted); line-height: 1.4; }
.promo-hook { font-size: 12px; color: var(--dim); line-height: 1.6; }
.related { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.related h2 { font-size: 20px; margin-bottom: 16px; }
.related .card { margin-top: 0; }
.note { margin-top: 2em; font-size: 13px; color: var(--dim); line-height: 1.7; }
@media (min-width: 1024px) {
  .post-head h1 { font-size: 38px; }
  .post-hero img { height: 560px; }
  .post-hero .post-head { padding: 28px; }
  .post-hero .post-head h1 { font-size: 36px; }
  .post.wide { max-width: 1080px; display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 0 56px; }
  .post.wide > * { grid-column: 1; }
  .post.wide .rail { grid-column: 2; grid-row: 1 / span 20; align-self: start; position: sticky; top: 100px; margin-top: 60px; }
  .post.wide .toc { border: 0; border-left: 1px solid var(--line); border-radius: 0; }
  .mo-only { display: none; }
  .pc-only { display: flex; }
  .related .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* 모바일은 본문 안 "나도 ○○일주일까?" 상자가 같은 역할 → 아래 무료 상자 중복 숨김 */
.mo-only .promo-free { display: none; }

/* 공유·보관 버튼, 자주 묻는 질문 */
.post-actions { display: flex; gap: 8px; margin-top: 32px; }
.post-actions .post-save { margin-top: 0; }
.post-share { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; color: #cfcfd8; }
.post-share:hover, .post-save:hover { color: #fff; border-color: rgba(255, 255, 255, .25); }
.faq { display: flex; flex-direction: column; gap: 8px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.faq summary { cursor: pointer; list-style: none; padding: 14px 44px 14px 16px; font-size: 16px; font-weight: 600; color: #fff; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--muted); }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 16px 16px; margin: 0; font-size: 15px; color: #cfcfd8; }
.lead + .lead { margin-bottom: 28px; }
.sec-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); }
.post figcaption a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ── 홈 개편(11/23): 제목 2줄·연예인 가로 레일·시니어 섹션·상단 꺾임 방지 ── */
.clamp2 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; word-break: keep-all; line-height: 1.4; }
.card h3.clamp2 { min-height: 2.8em; }                       /* 1줄 제목도 카드 높이를 맞춘다 */
.story h3.clamp2, .story p.clamp2 { white-space: normal; }
.sec-note { margin-left: auto; font-size: 13px; color: var(--muted); white-space: nowrap; }
.cards.rail { display: flex; overflow-x: auto; scroll-snap-type: x proximity; gap: 12px; padding-bottom: 6px; scrollbar-width: thin; scrollbar-color: #3a3a46 transparent; }
.cards.rail .card { flex: 0 0 min(46vw, 190px); scroll-snap-align: start; }
.more-btn { align-self: center; padding: 11px 26px; border-radius: 999px; font-size: 14px; color: #e9d5ff; background: rgba(59, 7, 100, .45); border: 1px solid rgba(192, 132, 252, .3); transition: background .2s; }
.more-btn:hover { background: rgba(88, 28, 135, .65); }
.brand-sub, .gnb a { white-space: nowrap; }
@media (min-width: 1024px) {
  .gnb { gap: 18px; }
  .brand-sub { display: none; }                               /* 1024~1279 은 폭이 모자라 숨긴다(꺾임 방지) */
  .cards.rail .card { flex-basis: calc((100% - 72px) / 4); }
}
@media (min-width: 1280px) {
  .gnb { gap: 32px; }
  .brand-sub { display: inline; }
}
@media (min-width: 600px) and (max-width: 1023px) {
  .cards:not(.rail) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* 카테고리 화면(헤더·칩에서 연애·재물·관계·인생·연예인을 누르면 ?c= 주소로 이 화면이 열린다) */
.cat-page { padding: 22px 0 8px; }
.cat-title { font-size: 28px; margin: 6px 0 8px; }
.cat-desc { color: #b9b9c6; font-size: 14px; line-height: 1.65; margin: 0 0 6px; max-width: 560px; }
.cat-count { color: #8a8a98; font-size: 13px; margin: 0 0 16px; }
.cat-empty { color: #b9b9c6; padding: 40px 0; }
.cat-empty a { color: #fff; text-decoration: underline; }
@media (min-width: 900px) { .cat-page { padding-top: 34px; } .cat-title { font-size: 38px; } }
