@charset "UTF-8";
/* ============================================================
   운세야(unseya.kr) 공통 스타일
   확정 테마 B · 프리미엄 오리엔탈 (다크 남색 + 골드)
   기본 콘텐츠 폰트 16px / 반응형 : ~767 모바일, 768~1023 태블릿, 1024~ PC
   ============================================================ */

:root {
	--font: "Pretendard Variable", Pretendard, -apple-system, "맑은 고딕", sans-serif;
	--maxw: 1160px;
	--radius: 18px;
	--ease: cubic-bezier(.4, .14, .3, 1);

	/* 확정 컬러 토큰 */
	--bg: #101326;
	--bg-soft: #161A32;
	--surface: #1A1F3B;
	--ink: #F3F1EA;
	--muted: #A6ABC6;
	--line: #2A3054;
	--gold: #D9B860;
	--gold-soft: #6a5a2e;
	--head: #FBFAF5;
	--hero-bg:
		radial-gradient(900px 500px at 80% -20%, #2b2f63 0%, rgba(20, 22, 45, 0) 60%),
		radial-gradient(700px 400px at 0% 10%, #241f43 0%, rgba(16, 19, 38, 0) 55%),
		#101326;
	--vip-grad: linear-gradient(165deg, #2b2350 0%, #141026 100%);
	--shadow: 0 22px 60px -26px rgba(0, 0, 0, .7);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
	font-family: var(--font);
	font-size: 16px;                /* 기본 콘텐츠 16px */
	line-height: 1.7;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4 { color: var(--head); line-height: 1.3; letter-spacing: -.01em; }
a { color: inherit; text-decoration: none; }
.eyebrow {
	font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
	color: var(--gold); font-weight: 700;
}
.muted { color: var(--muted); }

/* ---------- 버튼 ---------- */
.btn {
	font-family: var(--font); font-size: 15px; font-weight: 600; cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	border: 0; border-radius: 999px; padding: 13px 28px;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn-gold { background: linear-gradient(120deg, var(--gold), #EBD9A6); color: #241a06; }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(217, 184, 96, .55); }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 22px; font-size: 14px; }

/* ---------- 헤더 ---------- */
header.nav {
	position: sticky; top: 0; z-index: 40;
	background: rgba(16, 19, 38, .88);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; color: var(--head); }
.logo .mark {
	width: 30px; height: 30px; border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, var(--gold) 0%, #2E3B5C 75%);
	box-shadow: 0 0 0 4px rgba(217, 184, 96, .2);
}
.logo-sm { font-size: 17px; }
.nav-links { display: flex; gap: 28px; align-items: center; font-size: 15px; }
.nav-links a { color: var(--muted); transition: color .25s; }
.nav-links a:hover { color: var(--head); }
.nav-links .nav-cta { color: var(--bg); }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); font-size: 26px; cursor: pointer; }

/* ---------- 히어로 ---------- */
.hero { background: var(--hero-bg); padding: 96px 0 84px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 52px; font-weight: 900; margin: 18px 0 20px; }
.hero h1 .accent { color: var(--gold); }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 520px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.trust { display: flex; gap: 26px; margin-top: 40px; flex-wrap: wrap; }
.trust div { display: flex; flex-direction: column; }
.trust b { font-size: 24px; color: var(--head); }
.trust span { font-size: 13px; color: var(--muted); }

/* 히어로 추천 카드 */
.orb-card {
	position: relative; border-radius: 26px; padding: 34px;
	background: var(--surface); border: 1px solid var(--line);
	box-shadow: var(--shadow); overflow: hidden; text-align: center;
}
.orb {
	width: 190px; height: 190px; border-radius: 50%; margin: 6px auto 22px;
	background:
		radial-gradient(circle at 32% 28%, #EBD9A6 0%, var(--gold) 22%, transparent 60%),
		conic-gradient(from 210deg, #1F2A44, #2E3B5C, var(--gold), #1F2A44);
	box-shadow: inset 0 0 40px rgba(0, 0, 0, .25), 0 0 60px -8px rgba(217, 184, 96, .45);
	animation: orbspin 22s linear infinite;
}
@keyframes orbspin { to { transform: rotate(360deg); } }
.orb-card h3 { font-size: 22px; margin-bottom: 6px; }
.orb-card p { font-size: 14px; color: var(--muted); }
.orb-badge { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--gold); margin-bottom: 6px; }
.orb-go { margin-top: 18px; }
.spark { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); opacity: .8; box-shadow: 0 0 12px 2px var(--gold); }
.spark.s1 { top: 30px; right: 40px; }
.spark.s2 { bottom: 44px; left: 34px; width: 4px; height: 4px; }
.spark.s3 { top: 90px; left: 26px; width: 3px; height: 3px; }

/* ---------- 섹션 공통 ---------- */
section.block { padding: 88px 0; }
section.block.soft { background: var(--bg-soft); }
section.block.gap-sec { padding-top: 0; }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.sec-head h2 { font-size: 36px; font-weight: 800; margin: 12px 0 14px; }
.sec-head p { font-size: 16px; color: var(--muted); }

/* ---------- 대표 콘텐츠 카드 ---------- */
.featured { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fcard {
	position: relative; display: block;
	background: var(--surface); border: 1px solid var(--line);
	border-radius: var(--radius); padding: 32px 28px; overflow: hidden;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.fcard::before {
	content: ""; position: absolute; inset: 0;
	background: radial-gradient(420px 180px at 90% -10%, rgba(217, 184, 96, .22) 0%, transparent 70%);
	opacity: 0; transition: opacity .4s;
}
.fcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold); }
.fcard:hover::before { opacity: 1; }
.fcard .fic { font-size: 34px; display: block; margin-bottom: 16px; position: relative; }
.fcard h3 { font-size: 22px; margin-bottom: 8px; position: relative; }
.fcard p { font-size: 15px; color: var(--muted); margin-bottom: 20px; position: relative; }
.fcard .go { font-size: 14px; font-weight: 700; color: var(--gold); position: relative; }
.fcard .flag {
	position: absolute; top: 20px; right: 20px; z-index: 1;
	font-size: 11px; font-weight: 700; letter-spacing: .08em;
	padding: 4px 11px; border-radius: 999px; background: var(--gold); color: #2a1e05;
}
.fcard .flag.hot { background: linear-gradient(120deg, #E06A4A, #C0402a); color: #fff; }

/* ---------- 전체 콘텐츠 그리드 ---------- */
.content-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ccard {
	display: flex; flex-direction: column; gap: 7px;
	background: var(--surface); border: 1px solid var(--line);
	border-radius: 14px; padding: 22px 20px;
	transition: transform .3s var(--ease), border-color .3s;
}
.ccard:hover { transform: translateY(-4px); border-color: var(--gold); }
.ccard .cic { font-size: 26px; }
.ccard h4 { font-size: 16px; font-weight: 700; }
.ccard p { font-size: 13px; color: var(--muted); line-height: 1.55; }
.ccard .tag { align-self: flex-start; margin-top: 4px; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.tag.paid { background: rgba(217, 184, 96, .16); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(217, 184, 96, .45); }
.tag.free { background: rgba(79, 190, 128, .16); color: #4FBE80; box-shadow: inset 0 0 0 1px rgba(79, 190, 128, .45); }

/* ---------- 구독 한 줄 배너 ---------- */
.sub-strip {
	display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
	text-align: center; background: var(--bg-soft); border: 1px solid var(--line);
	border-radius: 999px; padding: 16px 28px; font-size: 15px; color: var(--muted);
}
.sub-strip b { color: var(--ink); font-weight: 700; }
.sub-strip a { color: var(--gold); font-weight: 700; white-space: nowrap; }

/* ---------- 푸터 ---------- */
footer { border-top: 1px solid var(--line); padding: 40px 0 34px; margin-top: 20px; }
.foot-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; align-items: center; }
.foot-links { display: flex; gap: 22px; font-size: 14px; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--head); }
.biz-info { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 20px; }
.biz-info p { font-size: 12.5px; line-height: 1.9; color: #7B819E; }
.biz-info .copy { margin-top: 8px; font-size: 12px; color: #666C88; }

/* ---------- 인증(로그인/가입) 페이지 ---------- */
.auth-wrap { min-height: calc(100vh - 260px); display: flex; align-items: flex-start; justify-content: center; padding: 70px 20px; }
.auth-box {
	width: 100%; max-width: 440px;
	background: var(--surface); border: 1px solid var(--line);
	border-radius: 22px; padding: 42px 36px; box-shadow: var(--shadow);
}
.auth-box-wide { max-width: 640px; }
.auth-title { font-size: 27px; font-weight: 800; text-align: center; }
.auth-sub { font-size: 14.5px; color: var(--muted); text-align: center; margin: 8px 0 26px; }
.auth-err {
	background: rgba(224, 106, 74, .12); border: 1px solid rgba(224, 106, 74, .4);
	color: #F0A08C; border-radius: 12px; padding: 11px 16px;
	font-size: 14px; margin-bottom: 18px; text-align: center;
}
.auth-ok {
	background: rgba(79, 190, 128, .12); border: 1px solid rgba(79, 190, 128, .4);
	color: #7FD8A5; border-radius: 12px; padding: 11px 16px;
	font-size: 14px; margin-bottom: 18px; text-align: center;
}
.sns-chip {
	display: inline-block; font-size: 12px; font-weight: 700;
	background: rgba(217, 184, 96, .16); color: var(--gold);
	box-shadow: inset 0 0 0 1px rgba(217, 184, 96, .4);
	padding: 3px 10px; border-radius: 999px; margin-left: 5px;
}
.edit-limit {
	font-size: 13.5px; color: var(--muted); text-align: center;
	background: var(--bg-soft); border: 1px solid var(--line);
	border-radius: 12px; padding: 10px 16px; margin-bottom: 18px;
}
.edit-limit b { color: var(--gold); }
.edit-limit.ok { border-color: rgba(217, 184, 96, .35); }
.sns-btns { display: flex; flex-direction: column; gap: 10px; }
.sns {
	display: flex; align-items: center; justify-content: center; gap: 10px;
	font-size: 15.5px; font-weight: 700; border-radius: 12px; padding: 14px 0;
	transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.sns:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .5); }
.sns .sns-ic { font-weight: 900; }
.sns.kakao { background: #FEE500; color: #191919; }
.sns.naver { background: #03C75A; color: #fff; }
.sns.google { background: #fff; color: #1F1F1F; border: 1px solid #d9d9e3; }
.sns { position: relative; }
.sns.last-used { box-shadow: 0 0 0 2px var(--gold), 0 8px 20px -8px rgba(217, 184, 96, .5); }
.last-badge {
	position: absolute; top: -9px; right: 12px;
	font-size: 10.5px; font-weight: 800; letter-spacing: .05em;
	background: var(--gold); color: #241a06;
	padding: 2px 9px; border-radius: 999px;
}
.auth-or { display: flex; align-items: center; gap: 14px; margin: 24px 0 18px; color: var(--muted); font-size: 13px; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-form { display: flex; flex-direction: column; gap: 12px; }
.auth-form input[type=text], .auth-form input[type=email], .auth-form input[type=password], .auth-form select {
	font-family: var(--font); font-size: 16px; color: var(--ink); width: 100%;
	background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px;
	padding: 13px 16px; outline: none; transition: border-color .25s, box-shadow .25s;
	appearance: none;
}
.auth-form input:focus, .auth-form select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 184, 96, .18); }
.auth-form input[readonly] { opacity: .6; }
.auth-form select:disabled { opacity: .45; }
.auth-submit { width: 100%; margin-top: 6px; }
.auth-foot { text-align: center; font-size: 14px; color: var(--muted); margin-top: 20px; }
.auth-foot a { color: var(--gold); font-weight: 700; }

/* 가입 폼 그리드 */
.reg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 16px; }
.reg-grid .field { display: flex; flex-direction: column; gap: 8px; }
.reg-grid .field.full, .reg-grid .auth-submit.full, .reg-grid .agree-row { grid-column: 1 / -1; }
.reg-grid label { font-size: 14px; font-weight: 700; color: var(--head); }
.reg-grid label small { font-weight: 400; color: var(--muted); margin-left: 6px; }
.inline { display: flex; gap: 8px; }
.inline > * { flex: 1; }
.seg-radio { display: flex; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 4px; gap: 4px; }
.seg-radio label { flex: 1; }
.seg-radio input { display: none; }
.seg-radio span {
	display: block; text-align: center; font-size: 15px; font-weight: 600;
	color: var(--muted); border-radius: 9px; padding: 10px 0; cursor: pointer;
	transition: all .25s var(--ease);
}
.seg-radio input:checked + span { background: var(--gold); color: #241a06; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); font-weight: 400 !important; cursor: pointer; }
.agree input { margin-top: 4px; accent-color: var(--gold); }
.agree a { color: var(--gold); text-decoration: underline; }

/* ---------- 콘텐츠 상세 페이지 ---------- */
.page-hero { background: var(--hero-bg); padding: 56px 0 44px; border-bottom: 1px solid var(--line); }
.crumb { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumb b, .crumb a:hover { color: var(--gold); }
.page-hero h1 { font-size: 38px; font-weight: 800; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ptag { font-size: 12px; font-weight: 700; letter-spacing: .1em; padding: 5px 13px; border-radius: 999px; background: rgba(217, 184, 96, .16); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(217, 184, 96, .45); }
.ptag.free { background: rgba(79, 190, 128, .16); color: #4FBE80; box-shadow: inset 0 0 0 1px rgba(79, 190, 128, .45); }
.couple-title { margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.page-hero p { margin-top: 10px; color: var(--muted); max-width: 620px; }
.steps { display: flex; gap: 10px; margin-top: 26px; align-items: center; }
.step { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.step .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: var(--surface); border: 1px solid var(--line); }
.step.on { color: var(--gold); }
.step.on .n { background: var(--gold); color: #241a06; border-color: var(--gold); }
.step-sep { color: var(--line); }

.wrap-narrow { max-width: 880px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 40px; box-shadow: var(--shadow); }
.panel-title { font-size: 22px; font-weight: 800; text-align: center; margin-bottom: 22px; }
.my-info { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.my-info > div { display: flex; justify-content: space-between; align-items: center; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 13px 18px; }
.my-info span { font-size: 14px; color: var(--muted); }
.my-info b { font-size: 15.5px; color: var(--head); }
.hint-center { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 16px; }
.hint-center a { color: var(--gold); font-weight: 700; }

/* 결과 리포트 */
.report-head { text-align: center; margin-bottom: 36px; }
.report-head h2 { font-size: 32px; font-weight: 800; margin-top: 8px; }
.report-head .who { font-size: 15px; color: var(--muted); margin-top: 8px; }
.report-head .who b { color: var(--gold); }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0 auto 14px; max-width: 720px; }
.pillar { text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 10px 20px; }
.pillar .lab { font-size: 13px; color: var(--muted); letter-spacing: .12em; margin-bottom: 12px; }
.pillar .han { width: 58px; height: 58px; margin: 0 auto 8px; display: grid; place-items: center; font-size: 27px; font-weight: 800; border-radius: 14px; }
.pillar .han.earth { margin-top: 8px; }
.pillar .han.sky { background: rgba(217, 184, 96, .14); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(217, 184, 96, .4); }
.pillar .han.earth { background: rgba(120, 140, 220, .13); color: #AEBBF3; box-shadow: inset 0 0 0 1px rgba(140, 160, 235, .35); }
.pillar .kor { font-size: 12px; color: var(--muted); }
.pillars-note { text-align: center; font-size: 13px; color: var(--muted); margin-bottom: 30px; }
.ohaeng { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; max-width: 720px; margin: 20px auto 0; }
.oh { text-align: center; border-radius: 14px; padding: 16px 6px 14px; background: var(--surface); border: 1px solid var(--line); }
.oh .sym { font-size: 22px; font-weight: 800; }
.oh .nm { font-size: 12px; color: var(--muted); margin: 2px 0 10px; }
.oh .bar { height: 6px; border-radius: 3px; background: #232948; overflow: hidden; margin: 0 10px; }
.oh .bar i { display: block; height: 100%; border-radius: 3px; }
.oh .cnt { font-size: 13px; font-weight: 700; margin-top: 7px; }
.oh-wood .sym, .oh-wood .cnt { color: #7FC98F; } .oh-wood .bar i { background: #7FC98F; }
.oh-fire .sym, .oh-fire .cnt { color: #E57B6A; } .oh-fire .bar i { background: #E57B6A; }
.oh-earth .sym, .oh-earth .cnt { color: #D9B860; } .oh-earth .bar i { background: #D9B860; }
.oh-metal .sym, .oh-metal .cnt { color: #C9CEDD; } .oh-metal .bar i { background: #C9CEDD; }
.oh-water .sym, .oh-water .cnt { color: #7FA8E0; } .oh-water .bar i { background: #7FA8E0; }
.rep-sec { max-width: 780px; margin: 44px auto 0; }
.rep-sec h3 { font-size: 21px; font-weight: 800; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.rep-sec h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px 1px rgba(217, 184, 96, .6); flex-shrink: 0; }
.rep-sec p { color: #D6D3E8; margin-bottom: 10px; }
.luck-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 780px; margin: 40px auto 0; }
.luck { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px 20px; }
.luck .t { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.luck .t h4 { font-size: 17px; }
.luck .score { font-size: 13px; font-weight: 800; color: var(--gold); letter-spacing: .06em; }
.luck p { font-size: 14.5px; color: var(--muted); }
.blur-lock { position: relative; }
.blur-lock .inner { filter: blur(7px); opacity: .55; user-select: none; pointer-events: none; }
.lock-cta { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 10px; }
.lock-cta .ico { font-size: 28px; }
.lock-cta b { color: var(--head); font-size: 16px; }
.lock-cta span { font-size: 13px; color: var(--muted); }
.rep-actions { display: flex; gap: 12px; justify-content: center; margin-top: 46px; flex-wrap: wrap; }
.rep-actions + .sub-strip { margin-top: 50px; }

/* ---------- 오류/준비중 레이어 ---------- */
.retry-panel {
	max-width: 560px; margin: 30px auto 0; text-align: center;
	background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
	padding: 52px 36px; box-shadow: var(--shadow);
	display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.retry-panel .ico { font-size: 42px; }
.retry-panel b { font-size: 22px; font-weight: 800; color: var(--head); }
.retry-panel > span:not(.ico) { font-size: 18px; color: var(--muted); }
.retry-panel form { margin-top: 14px; }
.retry-panel .btn { min-width: 220px; font-size: 18px; }
.retry-back { margin-top: 6px; font-size: 15px; color: var(--muted); }
.retry-back:hover { color: var(--gold); }

/* ---------- 결과 리포트 (매거진형) ----------
   글자 크기 : 리포트 영역 최소 18px, 제목은 크게+볼드
   색상      : 남색 → 인디고 → 바이올렛 계열로 섹션마다 조금씩 변화(4단 순환) */
.report-article { max-width: 860px; margin: 0 auto; font-size: 18px; }
.kv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; }
.kv {
	background: linear-gradient(160deg, #1C2242 0%, #161B33 100%);
	border: 1px solid var(--line); border-radius: 14px;
	padding: 16px 18px; display: flex; flex-direction: column; gap: 4px;
}
.kv:nth-child(3n+2) { background: linear-gradient(160deg, #1B2547 0%, #151E38 100%); }
.kv:nth-child(3n)   { background: linear-gradient(160deg, #221F45 0%, #181432 100%); }
.kv span { font-size: 18px; color: var(--muted); letter-spacing: .02em; }
.kv b { font-size: 20px; color: var(--head); font-weight: 800; line-height: 1.5; }

.rsec {
	border-radius: 18px; padding: 32px 32px 30px; margin-bottom: 16px;
	border: 1px solid var(--line); border-left-width: 4px;
	background: linear-gradient(160deg, #1C2242 0%, #161B33 100%);
	border-left-color: #D9B860;
}
.rsec:nth-of-type(4n+2) { background: linear-gradient(160deg, #1B2547 0%, #151E38 100%); border-left-color: #7FA8E0; }
.rsec:nth-of-type(4n+3) { background: linear-gradient(160deg, #221F45 0%, #181432 100%); border-left-color: #A88FE0; }
.rsec:nth-of-type(4n)   { background: linear-gradient(160deg, #1E2A45 0%, #152136 100%); border-left-color: #7FC9B0; }
.rsec h3 { font-size: 22px; font-weight: 800; margin-bottom: 16px; }
.rsec p { font-size: 18px; line-height: 1.95; color: #DDDAF0; text-align: justify; }

.rsec-hero {
	background: linear-gradient(165deg, #262B52 0%, #171C38 100%) !important;
	border: 1px solid rgba(217, 184, 96, .5); border-left-width: 4px; border-left-color: #D9B860 !important;
	padding: 40px 38px; margin-bottom: 20px;
	box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.rsec-hero::before {
	content: ""; position: absolute; inset: 0;
	background: radial-gradient(460px 180px at 88% -10%, rgba(217, 184, 96, .2) 0%, transparent 70%);
	pointer-events: none;
}
.rsec-hero h3 { font-size: 26px; }
.rsec-hero p { position: relative; font-size: 19px; font-weight: 500; color: #EAE6F4; }

.locked-rest { position: relative; margin-top: 28px; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; min-height: 280px; }
.locked-preview { filter: blur(8px); opacity: .5; padding: 32px; user-select: none; pointer-events: none; }
.locked-preview h3 { font-size: 22px; margin-bottom: 10px; }
.locked-preview p { color: var(--muted); line-height: 1.9; font-size: 18px; }
.locked-rest .lock-cta {
	position: absolute; inset: 0; display: flex; flex-direction: column;
	align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 20px;
	background: linear-gradient(180deg, rgba(16, 19, 38, .15) 0%, rgba(16, 19, 38, .88) 100%);
}
.locked-rest .lock-cta .ico { font-size: 32px; }
.locked-rest .lock-cta b { color: var(--head); font-size: 21px; font-weight: 800; }
.locked-rest .lock-cta > span:not(.ico) { font-size: 18px; color: var(--muted); }
.locked-rest .lock-cta .btn { margin-top: 12px; font-size: 18px; }

/* 그룹 제목 (타고난 팔자, 내면의 모습 등) */
.rgroup {
	display: flex; align-items: center; gap: 14px;
	margin: 54px 0 20px; font-size: 27px; font-weight: 800; color: var(--head);
}
.report-article > .rgroup:first-child { margin-top: 10px; }
.rgroup::before { content: "◆"; color: var(--gold); font-size: 13px; }
.rgroup::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
/* 큰 그룹 제목(1단계) : 골드 라인 박스로 강조 */
h2.rgroup {
	margin: 60px 0 22px; padding: 20px 26px;
	background: linear-gradient(120deg, rgba(217, 184, 96, .12), rgba(217, 184, 96, .03));
	border: 1px solid rgba(217, 184, 96, .35); border-radius: 14px;
	font-size: 33px;
}
.report-article > h2.rgroup:first-child { margin-top: 10px; }
/* 소제목(2단계) : 라인형 — 카드 안 제목(rsec h3)과 동일 크기 */
.rgroup.sub {
	margin: 36px 0 14px; padding: 0;
	background: none; border: 0; border-radius: 0;
	font-size: 22px; color: #C9CEDD;
}
.rgroup.sub::before { content: "◇"; color: var(--gold); font-size: 12px; opacity: .8; }
/* 무제 이어지는 섹션 (원문 구절 등) */
.rsec-plain { padding-top: 24px; padding-bottom: 24px; }
.rsec-plain p { color: #CFCBE6; }

/* 점수 행 리스트 (정통사주/오늘의운세/신년운세 점수형) */
.score-list {
	background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
	overflow: hidden; margin-bottom: 16px;
}
.srow { display: flex; gap: 24px; padding: 24px 26px; border-bottom: 1px solid var(--line); align-items: flex-start; }
.srow:last-child { border-bottom: 0; }
.sbadge { flex: 0 0 100px; text-align: center; border-radius: 14px; padding: 14px 6px 12px; }
.sbadge b { display: block; font-size: 27px; font-weight: 800; line-height: 1.2; }
.sbadge span { font-size: 16px; font-weight: 700; line-height: 1.4; word-break: keep-all; }
.s-top  { background: rgba(63, 190, 128, .16);  color: #6FD9A0; box-shadow: inset 0 0 0 1px rgba(63, 190, 128, .3); }
.s-hi   { background: rgba(168, 208, 110, .14); color: #C6E29A; box-shadow: inset 0 0 0 1px rgba(168, 208, 110, .28); }
.s-mid  { background: rgba(233, 196, 106, .14); color: #EBC46A; box-shadow: inset 0 0 0 1px rgba(233, 196, 106, .28); }
.s-low  { background: rgba(224, 122, 95, .14);  color: #F0937A; box-shadow: inset 0 0 0 1px rgba(224, 122, 95, .28); }
.s-zero { background: rgba(160, 165, 190, .1);  color: #A6ABC6; box-shadow: inset 0 0 0 1px rgba(160, 165, 190, .22); }
.srow p { font-size: 18px; line-height: 1.9; color: #DDDAF0; }
.srow-body { flex: 1; display: flex; flex-direction: column; gap: 14px; }

/* 월별 점수 막대그래프 (토정비결/신년운세) */
.mbar {
	display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px;
	align-items: end; height: 170px;
	background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
	padding: 22px 20px 16px; margin-bottom: 14px;
}
.mcol { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 5px; height: 100%; }
.mcol b { font-size: 14px; font-weight: 800; color: var(--head); }
.mcol i { display: block; width: 100%; max-width: 34px; border-radius: 7px 7px 2px 2px; }
.mcol i.s-top  { background: linear-gradient(180deg, #6FD9A0, rgba(63, 190, 128, .35)); }
.mcol i.s-hi   { background: linear-gradient(180deg, #C6E29A, rgba(168, 208, 110, .3)); }
.mcol i.s-mid  { background: linear-gradient(180deg, #EBC46A, rgba(233, 196, 106, .3)); }
.mcol i.s-low  { background: linear-gradient(180deg, #F0937A, rgba(224, 122, 95, .3)); }
.mcol i.s-zero { background: linear-gradient(180deg, #A6ABC6, rgba(160, 165, 190, .25)); }
.mcol span { font-size: 13px; color: var(--muted); white-space: nowrap; }

/* 카드 안 리드 문구 (토정비결 괘명 등) */
.rlead {
	font-size: 21px !important; font-weight: 800; color: #EBD9A6 !important;
	padding-bottom: 14px; margin-bottom: 4px;
	border-bottom: 1px dashed rgba(217, 184, 96, .3);
}

/* 항목 내 부속 블록 (조언/팁 등 — 본문과 구분) */
.ssub {
	background: rgba(217, 184, 96, .07);
	border-left: 3px solid var(--gold);
	border-radius: 10px; padding: 16px 20px; margin-top: 4px;
}
.ssub b { display: block; font-size: 16px; font-weight: 800; color: var(--gold); letter-spacing: .08em; margin-bottom: 7px; }
.ssub p { font-size: 17px !important; line-height: 1.85; color: #CFCBE6 !important; }

/* 섹션 부가 정보 칩 (오늘엔 딱, 기간 등) */
.rchips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; position: relative; }
.rchip {
	font-size: 15px; font-weight: 700; padding: 6px 15px; border-radius: 999px;
	background: rgba(79, 190, 128, .14); color: #7FD8A5;
	box-shadow: inset 0 0 0 1px rgba(79, 190, 128, .35);
}
.rchip i { font-style: normal; opacity: .75; margin-right: 7px; font-weight: 600; }

/* 목록형(띠별/별자리) 2열 */
.report-article.compact { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.report-article.compact .rgroup,
.report-article.compact .kv-grid,
.report-article.compact .score-list,
.report-article.compact .locked-rest { grid-column: 1 / -1; }
.report-article.compact .rsec { margin-bottom: 0; padding: 26px 24px; }

/* ---------- 반응형 : 태블릿 ---------- */
@media (max-width: 1023px) {
	.hero-grid { grid-template-columns: 1fr; gap: 40px; }
	.hero h1 { font-size: 40px; }
	.content-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- 반응형 : 모바일 ---------- */
@media (max-width: 767px) {
	.nav-links { display: none; }
	.nav-links.open {
		display: flex; position: absolute; flex-direction: column;
		top: 72px; right: 16px; background: var(--surface);
		padding: 18px 22px; border-radius: 16px;
		border: 1px solid var(--line); box-shadow: var(--shadow);
	}
	.nav-toggle { display: block; }
	.hero { padding: 78px 0 60px; }
	.hero h1 { font-size: 34px; }
	.sec-head h2 { font-size: 28px; }
	section.block { padding: 64px 0; }
	.featured { grid-template-columns: 1fr; }
	.content-grid { grid-template-columns: 1fr 1fr; }
	.auth-box { padding: 32px 22px; }
	.reg-grid { grid-template-columns: 1fr; }
	.page-hero h1 { font-size: 30px; }
	.panel { padding: 28px 20px; }
	.kv-grid { grid-template-columns: 1fr 1fr; }
	.rsec { padding: 24px 20px; }
	.rsec-hero { padding: 28px 22px; }
	.rsec h3, .rgroup.sub { font-size: 20px; }
	h2.rgroup { font-size: 26px; padding: 14px 18px; }
	.rsec-hero h3 { font-size: 23px; }
	.rsec p { text-align: left; }
	.pillars { gap: 8px; }
	.pillar .han { width: 46px; height: 46px; font-size: 22px; }
	.ohaeng { gap: 7px; }
	.luck-grid { grid-template-columns: 1fr; }
}
