/* ============================================================
   V.E.L.O. — 브랜드 랜딩페이지
   밝고 영롱한 화이트·라벤더 / 우아한 세리프 / 미스틱 장식 / 실사 캐릭터
   ============================================================ */
:root {
  /* 흰 · 검 · 보라 3색 + 무채색 그레이(흑백 계열) */
  --bg: #ffffff;
  --bg-soft: #ffffff;
  --lav-bg: #f3f2f6;
  --lav-bg2: #eceaf1;
  --lav: #6a3fb0;
  --lav-2: #8456d4;
  --purple: #6a3fb0;
  --purple-2: #8456d4;
  --purple-deep: #3f2578;
  --ink: #161320;
  --ink-2: #635f72;
  --ink-3: #9d99a8;
  --line: #ebeaef;
  --line-2: #dddbe4;
  --gold: #6a3fb0;
  --shadow-s: 0 6px 20px rgba(110,80,180,0.08);
  --shadow-m: 0 16px 44px rgba(110,80,180,0.13);
  --shadow-l: 0 30px 70px rgba(90,60,160,0.18);
  --serif: "Cormorant Garamond", serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, system-ui, sans-serif;
  --label: "Inter", var(--sans);
  --maxw: 1200px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
em { font-style: normal; }
::selection { background: var(--lav); color: #fff; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.section { padding: 7rem 1.6rem; position: relative; }
.section > *:not(.hero-bg) { max-width: var(--maxw); margin-left: auto; margin-right: auto; }

/* ---- 섹션 헤더 ---- */
.eyebrow { display: inline-flex; align-items: center; gap: .65rem; font-family: var(--label); font-size: .76rem; font-weight: 700; letter-spacing: .34em; line-height: 1.9; color: var(--purple); text-transform: uppercase; }
.eyebrow img { width: .95rem; height: .95rem; }
.sec-head { margin-bottom: 3.2rem; }
.sec-head.center { text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; letter-spacing: -0.02em; margin-top: .9rem; line-height: 1.25; }
.sec-desc { color: var(--ink-2); font-size: 1.02rem; margin-top: .9rem; }

/* ---- 버튼 ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--sans); font-weight: 700; font-size: .96rem; padding: .95rem 1.7rem; border-radius: 999px; cursor: pointer; border: 1px solid transparent; transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s, background .22s, color .22s; white-space: nowrap; }
.btn-primary { color: #fff; background: linear-gradient(120deg, #9472e0, #7c5fd0 55%, #6a3fb0); box-shadow: 0 10px 26px rgba(124,95,208,0.34), inset 0 1px 0 rgba(255,255,255,0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(124,95,208,0.44); }
.btn-ghost { color: var(--purple); background: rgba(255,255,255,0.7); border-color: var(--line-2); backdrop-filter: blur(6px); box-shadow: var(--shadow-s); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--lav); }
.btn-star { font-size: .8em; opacity: .9; }

/* ============================================================ HEADER */
.hd { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.hd.scrolled { background: rgba(255,255,255,0.8); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--line), 0 6px 26px rgba(110,80,180,0.06); }
.hd-inner { max-width: 1320px; margin: 0 auto; height: 76px; padding: 0 2rem; display: flex; align-items: center; gap: 2rem; }
.logo { display: inline-flex; align-items: center; gap: .5rem; }
.logo-star { width: 1.5rem; height: 1.5rem; filter: drop-shadow(0 1px 5px rgba(150,110,230,0.5)); }
.logo-text { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; letter-spacing: .08em; color: var(--ink); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 1.7rem; }
.nav a { font-size: .94rem; font-weight: 500; color: var(--ink-2); transition: color .2s; }
.nav a:hover { color: var(--purple); }
.hd-cta { padding: .66rem 1.3rem; font-size: .88rem; }
.nav-toggle { display: none; }

/* ============================================================ HERO */
.hero { position: relative; min-height: 100vh; overflow: hidden;
  background: radial-gradient(120% 80% at 70% -10%, #f3ebff 0%, #fbf8ff 45%, #ffffff 75%); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-arch { position: absolute; right: 6%; top: 4%; width: 46vw; max-width: 720px; height: 88%;
  border-radius: 50% 50% 0 0 / 40% 40% 0 0; border: 1px solid rgba(180,150,235,0.28);
  background: linear-gradient(180deg, rgba(220,205,250,0.28), rgba(245,238,255,0.05) 55%, transparent); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(70px); }
.hero-glow.g1 { width: 40vw; height: 40vw; right: 6%; top: 6%; background: radial-gradient(circle, rgba(208,184,250,0.55), transparent 70%); }
.hero-glow.g2 { width: 32vw; height: 32vw; left: 0; bottom: 0; background: radial-gradient(circle, rgba(244,212,236,0.4), transparent 70%); }
.petals { position: absolute; inset: 0; overflow: hidden; }
.petals i { position: absolute; top: -6%; border-radius: 60% 10% 60% 10%; background: linear-gradient(135deg, rgba(231,168,236,0.8), rgba(201,179,245,0.5)); animation: petal linear infinite; }
@keyframes petal { 0% { transform: translateY(-10vh) rotate(0); } 100% { transform: translateY(115vh) rotate(320deg); } }
.sparkles, .cast-halo { position: absolute; inset: 0; }
.sparkles i { position: absolute; border-radius: 50%; background: #fff; box-shadow: 0 0 8px 2px rgba(200,178,250,0.9); animation: spk ease-in-out infinite; }
@keyframes spk { 0%,100% { opacity: .15; transform: scale(.5); } 50% { opacity: 1; transform: scale(1); } }

.hero-wrap { position: relative; z-index: 2; max-width: 1320px; margin: 0 auto; padding: 0 2rem;
  min-height: 100vh; display: grid; grid-template-columns: 0.92fr 1.08fr; align-items: center; gap: 1rem; }
.hero-copy { padding-top: 4rem; }
.hero-logo { font-family: var(--serif); font-weight: 600; font-size: clamp(3.6rem, 8vw, 6.6rem); line-height: .95; letter-spacing: .04em;
  background: linear-gradient(180deg, #5a3aa0, #8a64d8 60%, #b89af0); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 22px rgba(140,100,220,0.22)); }
.hero-core { font-family: var(--sans); font-size: clamp(1.25rem, 2.2vw, 1.85rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.45; margin-top: 1.4rem; color: var(--ink); word-break: keep-all; }
.hero-core em { color: var(--purple); }
.hero-sub { display: flex; align-items: center; gap: .5rem; font-size: .96rem; font-weight: 600; color: var(--purple); margin-top: 1.2rem; letter-spacing: .02em; }
.sub-star { width: 1.1rem; height: 1.1rem; }
.hero-cta { display: flex; gap: .8rem; margin-top: 2.2rem; flex-wrap: wrap; }

/* 5인 캐스트 그룹 */
.hero-cast { position: relative; height: 100vh; }
.cast-halo { position: absolute; left: 50%; top: 42%; width: 42vw; max-width: 640px; aspect-ratio: 1; transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(244,238,255,0.85), rgba(231,222,250,0.2) 55%, transparent 70%); }
.cast { position: absolute; bottom: -2vh; width: auto; object-fit: contain; object-position: bottom;
  transition: transform .5s cubic-bezier(.2,.8,.2,1); }
/* 실제 설정 키(하나171·리아168·서윤165·미나161·지우157cm) 비율에 맞춘 높이 */
.c-ria    { height: 90.4vh; left: 50%; transform: translateX(-50%); z-index: 6; }
.c-mina   { height: 86.6vh; left: 30%; transform: translateX(-50%); z-index: 7; }
.c-jiwu   { height: 84.5vh; left: 64%; transform: translateX(-50%); z-index: 7; }
.c-hana   { height: 92vh; left: 13%; transform: translateX(-50%); z-index: 4; }
.c-seoyun { height: 88.8vh; left: 88%; transform: translateX(-50%); z-index: 4; }

/* ============================================================ NOTICE + VOTE */
.split { background: var(--bg); }
.split-grid { display: grid; grid-template-columns: 1fr 1.18fr; gap: 2.2rem; align-items: start; }
.block-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.4rem; }
.block-head h2 { display: flex; align-items: center; gap: .5rem; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.01em; }
.head-star { width: 1.2rem; height: 1.2rem; }
.more { font-size: .85rem; font-weight: 600; color: var(--ink-3); }
.notice-list { display: flex; flex-direction: column; gap: .9rem; }
.ncard { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 1rem; align-items: center;
  padding: 1.2rem 1.4rem; border-radius: 18px; background: var(--bg-soft); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; cursor: pointer; }
.ncard:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.nc-ic { grid-row: 1 / 3; width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 14px; color: var(--purple);
  background: linear-gradient(160deg, #fff, var(--lav-bg)); border: 1px solid var(--line); }
.nc-ic svg { width: 1.5rem; height: 1.5rem; } .nc-ic img { width: 1.7rem; height: 1.7rem; }
.ncard time { font-family: var(--label); font-size: .8rem; font-weight: 600; letter-spacing: .08em; color: var(--ink-3); }
.ncard p { font-size: 1.04rem; font-weight: 700; color: var(--ink); margin-top: .1rem; }

.vote-card { padding: 2rem; border-radius: 22px; background: linear-gradient(165deg, #f6f0ff, #efe6fb); border: 1px solid var(--line-2); box-shadow: var(--shadow-s); }
.vote-q { font-family: var(--sans); font-size: 1.28rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.55; color: var(--ink); margin-bottom: 1.6rem; }
.vote-q em { color: var(--purple); }
.vote-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.vopt { cursor: pointer; text-align: center; padding: 1.3rem .8rem; border-radius: 16px; background: rgba(255,255,255,0.8); border: 1px solid var(--line-2); transition: transform .22s, box-shadow .22s, border-color .22s; }
.vopt:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: var(--lav); }
.vopt.on { border-color: var(--purple); box-shadow: 0 0 0 2px rgba(124,95,208,0.3), var(--shadow-m); }
.vl { display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--lav), var(--purple)); margin-bottom: .7rem; }
.vopt p { font-size: .9rem; font-weight: 600; color: var(--ink); line-height: 1.4; }
.vote-note { text-align: center; font-size: .9rem; color: var(--ink-2); margin-top: 1.5rem; line-height: 1.6; }
.vote-note em { color: var(--purple); font-weight: 700; }
.vote-note.rewind em { animation: rewind 1s ease; }
@keyframes rewind { 0% { color: var(--lav); letter-spacing: .03em; } 100% { color: var(--purple); } }

/* ============================================================ MEMBERS */
.members { background: linear-gradient(180deg, #fbf8ff, #f4eefe); }
.member-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.1rem; }
.mcard { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; transition: transform .32s cubic-bezier(.2,.8,.2,1), box-shadow .32s; }
.mcard:hover { transform: translateY(-8px); box-shadow: var(--shadow-l); }
.mc-photo { position: relative; aspect-ratio: 0.82; overflow: hidden;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 30%, #fff), color-mix(in srgb, var(--accent) 10%, #fbf8ff) 70%, #fff); }
.mc-img { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); height: 104%; width: auto; max-width: none; object-fit: contain; object-position: bottom; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.mcard:hover .mc-img { transform: translateX(-50%) scale(1.05); }
.mc-photo::after { content: ""; position: absolute; inset: 0; background: radial-gradient(75% 50% at 50% 6%, rgba(255,255,255,0.5), transparent 55%); }
.mc-star { position: absolute; top: .8rem; left: .9rem; z-index: 2; width: 1.5rem; height: 1.5rem; }
.mc-star img { width: 100%; height: 100%; }
.mc-no { position: absolute; top: .8rem; right: 1rem; z-index: 2; font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: rgba(255,255,255,0.92); text-shadow: 0 2px 6px rgba(90,60,160,0.3); }
.mc-body { padding: 1.3rem 1.2rem 1.5rem; }
.mc-name { font-size: 1.4rem; font-weight: 800; display: flex; align-items: baseline; gap: .45rem; letter-spacing: -0.01em; }
.mc-name small { font-family: var(--label); font-size: .6rem; font-weight: 600; letter-spacing: .18em; color: var(--ink-3); }
.mc-role { display: inline-block; font-size: .72rem; font-weight: 700; color: var(--purple); background: var(--lav-bg); padding: .26rem .65rem; border-radius: 999px; margin-top: .6rem; }
.mc-intro { font-size: .85rem; color: var(--ink-2); line-height: 1.5; margin-top: .8rem; min-height: 2.5em; }
.mc-kw { display: flex; flex-wrap: wrap; gap: .35rem; margin: .9rem 0; }
.mc-kw span { font-size: .72rem; font-weight: 600; color: color-mix(in srgb, var(--accent) 75%, #5a3aa0); background: color-mix(in srgb, var(--accent) 14%, #fff); padding: .24rem .6rem; border-radius: 7px; }
.mc-line { font-family: var(--sans); font-size: .92rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); line-height: 1.55; padding: .85rem 0; border-top: 1px solid var(--line); margin-bottom: 1.1rem; }
.mc-foot { display: flex; gap: .5rem; }
.mc-btn { flex: 1; cursor: pointer; font-family: var(--sans); font-size: .84rem; font-weight: 700; color: var(--purple); background: var(--lav-bg); border: none; border-radius: 11px; padding: .7rem; transition: background .2s, color .2s; }
.mcard:hover .mc-btn { background: var(--purple); color: #fff; }
.mc-heart { min-width: 2.6rem; flex: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: .2rem; border-radius: 11px; color: var(--ink-3); background: var(--lav-bg); border: 1px solid transparent; padding: .7rem .55rem; transition: all .2s; }
.mc-heart.on { color: var(--ink); background: #fff0f3; border-color: #ffb3c1; }
.heart-symbol { display: inline-flex; align-items: center; justify-content: center; flex: none; color: #ef233c; font-size: 1.08rem; line-height: 1; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.mc-heart-count { font-size: .78rem; font-weight: 800; line-height: 1; min-width: .8rem; }

/* ============================================================ PRODUCER CLUB */
.club { background: var(--bg); }
.club-card { display: grid; grid-template-columns: 1fr 280px; gap: 2rem; align-items: stretch; padding: 2.6rem; border-radius: 28px;
  background: linear-gradient(150deg, #f7f2ff, #f0e8fc); border: 1px solid var(--line-2); box-shadow: var(--shadow-s); position: relative; overflow: hidden; }
.club-left { display: flex; align-items: center; gap: 2rem; }
.club-sigil { width: 8rem; height: 8rem; flex: none; filter: drop-shadow(0 8px 22px rgba(150,110,230,0.35)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.club-body .eyebrow { margin-bottom: .8rem; }
.club-body h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; line-height: 1.3; letter-spacing: -0.02em; }
.club-body p { color: var(--ink-2); font-size: .98rem; line-height: 1.65; margin-top: 1rem; max-width: 46ch; }
.club-perks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1.4rem; margin-top: 1.5rem; }
.club-perks li { display: flex; align-items: center; gap: .6rem; font-size: .92rem; font-weight: 600; color: var(--ink); }
.club-perks i { width: 1.2rem; height: 1.2rem; flex: none; border-radius: 50%; background: linear-gradient(135deg, var(--lav), var(--purple)); position: relative; }
.club-perks i::after { content: ""; position: absolute; left: .38rem; top: .2rem; width: .26rem; height: .5rem; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.club-cta { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem; padding: 2rem; border-radius: 22px; color: #fff; text-align: center;
  background: linear-gradient(160deg, #9472e0, #6a3fb0); box-shadow: 0 18px 40px rgba(106,63,176,0.4); transition: transform .25s, box-shadow .25s; }
.club-cta:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(106,63,176,0.5); }
.club-cta img { width: 4.6rem; height: 4.6rem; filter: drop-shadow(0 4px 14px rgba(255,255,255,0.4)); }
.club-cta b { font-size: 1.2rem; line-height: 1.4; }
.cta-arrow { width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,0.2); font-size: 1.1rem; }

/* ============================================================ FAN ZONE */
.fan { background: linear-gradient(180deg, #f4eefe, #fbf8ff); }
.fan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.fcard { padding: 2.2rem 1.8rem; border-radius: 22px; background: #fff; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; cursor: pointer; }
.fcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); }
.fc-ic { width: 3.4rem; height: 3.4rem; display: grid; place-items: center; border-radius: 16px; color: var(--purple); background: linear-gradient(160deg, #fff, var(--lav-bg)); border: 1px solid var(--line); margin-bottom: 1.3rem; }
.fc-ic svg { width: 1.8rem; height: 1.8rem; }
.fcard h3 { font-size: 1.2rem; font-weight: 800; }
.fcard p { font-size: .92rem; color: var(--ink-2); line-height: 1.55; margin-top: .6rem; }
.fc-go { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 700; color: var(--purple); margin-top: 1.2rem; }
.fc-go i { width: .42rem; height: .42rem; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }

/* ============================================================ PREVIEW CARD BASE */
.preview { background: var(--bg); }
.preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.pcard { border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s); transition: transform .28s, box-shadow .28s; }
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-l); }
.pc-img { position: relative; aspect-ratio: 16/10; background-size: cover; background-position: center; }
.pc-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(30,16,60,0.35)); }
.pc-tag { position: absolute; top: 1rem; left: 1rem; z-index: 2; font-family: var(--label); font-size: .66rem; font-weight: 700; letter-spacing: .14em; color: #fff; background: rgba(74,47,134,0.55); backdrop-filter: blur(6px); padding: .3rem .7rem; border-radius: 8px; }
.pc-body { padding: 1.3rem 1.4rem 1.5rem; }
.pc-body h3 { font-size: 1.2rem; font-weight: 800; }
.pc-body p { font-size: .9rem; color: var(--ink-2); margin-top: .4rem; line-height: 1.55; }
.loop { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem .2rem; margin-top: 2.8rem; }
.loop span { font-size: .82rem; font-weight: 600; color: var(--ink-2); padding: .5rem 1rem; border-radius: 999px; background: var(--lav-bg); }
.loop .loop-last { color: #fff; background: linear-gradient(120deg, var(--lav), var(--purple)); font-weight: 700; }
.loop i { width: 1.3rem; height: 1px; background: var(--line-2); position: relative; }
.loop i::after { content: ""; position: absolute; right: 0; top: -2px; width: 4px; height: 4px; border-top: 1px solid var(--lav); border-right: 1px solid var(--lav); transform: rotate(45deg); }

/* ============================================================ DEV LOG */
.devlog { background: linear-gradient(180deg, #fbf8ff, #f4eefe); }
.dev-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.dcard { padding: 1.8rem 1.5rem; border-radius: 20px; background: #fff; border: 1px solid var(--line); text-align: center; box-shadow: var(--shadow-s); }
.dc-ring { width: 5rem; height: 5rem; margin: 0 auto 1.2rem; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: conic-gradient(var(--purple) calc(var(--p) * 1%), var(--lav-bg) 0); }
.dc-ring::before { content: ""; position: absolute; inset: 7px; background: #fff; border-radius: 50%; }
.dc-ring b { position: relative; font-family: var(--label); font-size: 1.2rem; font-weight: 800; color: var(--purple); }
.dc-ring b i { font-size: .7rem; }
.dc-check { position: relative; width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--lav), var(--purple)); }
.dc-check svg { width: 1.1rem; height: 1.1rem; }
.dcard h3 { font-size: 1rem; font-weight: 800; }
.dcard p { font-size: .82rem; color: var(--ink-2); margin-top: .5rem; line-height: 1.5; min-height: 2.8em; }
.dc-pct { display: inline-block; margin-top: .9rem; font-family: var(--label); font-size: .68rem; font-weight: 700; letter-spacing: .08em; color: var(--ink-3); }
.dc-pct.done { color: var(--purple); }

/* ============================================================ FOOTER */
.ft { background: #1f1640; color: #c7bce4; padding: 3.6rem 2rem 2.2rem; }
.ft-top { max-width: var(--maxw); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; justify-content: space-between; }
.ft .logo-text { color: #fff; }
.ft-tag { font-size: .86rem; color: #948ab8; margin-top: .7rem; }
.ft-mid { text-align: center; }
.ft-q { font-size: .94rem; color: #cfc6ea; margin-bottom: .9rem; }
.ft-sns { display: flex; gap: .6rem; }
.sns { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 12px; color: #c7bce4; background: rgba(255,255,255,0.07); transition: all .2s; }
.sns svg { width: 1.1rem; height: 1.1rem; } .sns:hover { color: #fff; background: var(--purple); transform: translateY(-2px); }
.ft-bottom { max-width: var(--maxw); margin: 2.6rem auto 0; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,0.08); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.ft-links { display: flex; gap: 1.2rem; }
.ft-links a { font-size: .82rem; color: #948ab8; } .ft-links a:hover { color: #c7bce4; }
.copyright { font-family: var(--label); font-size: .76rem; color: #6f6498; }

/* ============================================================ REVEAL / 반응형 */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } * { animation: none !important; } }

@media (max-width: 1080px) {
  .hero-wrap { grid-template-columns: 1fr; }
  .hero-copy { padding-top: 7rem; text-align: center; }
  .hero-sub { justify-content: center; } .hero-cta { justify-content: center; }
  .hero-cast { height: 56vh; }
  .c-ria { height: 53.1vh; } .c-mina { height: 50.8vh; } .c-jiwu { height: 49.6vh; } .c-hana { height: 54vh; } .c-seoyun { height: 52.1vh; }
  .split-grid { grid-template-columns: 1fr; }
  .member-grid { grid-template-columns: repeat(3, 1fr); }
  .dev-grid { grid-template-columns: repeat(2, 1fr); }
  .club-card { grid-template-columns: 1fr; } .club-left { flex-direction: column; text-align: center; }
  .club-perks { justify-items: center; }
}
@media (max-width: 720px) {
  .hd-cta { display: none; }
  .nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 0; background: rgba(255,255,255,0.98); backdrop-filter: blur(14px); max-height: 0; overflow: hidden; transition: max-height .3s; box-shadow: var(--shadow-m); }
  body.nav-open .nav { max-height: 70vh; }
  .nav a { width: 100%; padding: 1rem 2rem; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: flex; flex-direction: column; gap: 5px; margin-left: auto; background: none; border: none; cursor: pointer; padding: .4rem; }
  .nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .member-grid { grid-template-columns: repeat(2, 1fr); }
  .fan-grid, .preview-grid { grid-template-columns: 1fr; }
  .vote-opts { grid-template-columns: 1fr; } .dev-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   3-COLOR 팔레트 강제 — 흰 · 검 · 보라 (파스텔 제거)
   캐릭터 일러스트(콘텐츠)는 컬러 유지, UI만 모노+퍼플
   ============================================================ */
/* 히어로: 클린 화이트, 파스텔 글로우/꽃잎 제거 */
.hero { background: #ffffff; }
.hero-arch { display: none; }
.hero-glow { display: none; }
.petals { display: none; }
.cast-halo { background: radial-gradient(circle, rgba(245,243,248,0.9), rgba(240,238,245,0.25) 55%, transparent 70%); }
.sparkles i { background: var(--purple); box-shadow: 0 0 7px 1px rgba(106,63,176,0.5); opacity: .35; }
.hero-logo { background: none; -webkit-text-fill-color: var(--purple); color: var(--purple); }

/* 버튼/그라데이션 → 단색 퍼플 */
.btn-primary { background: var(--purple); box-shadow: 0 8px 22px rgba(106,63,176,0.28); }
.btn-primary:hover { background: #5a3399; }
.vl { background: var(--purple); }
.loop .loop-last { background: var(--purple); }
.dc-check { background: var(--purple); }
.club-perks i { background: var(--purple); }
.mc-heart.on { background: #fff0f3; color: var(--ink); border-color: #ffb3c1; }

/* 섹션 배경: 화이트 / 연그레이 교차 (무채색) */
.split, .club, .preview, .members, .fan, .devlog { background: #ffffff; }
.members, .fan, .devlog { background: #faf9fc; }

/* 멤버 카드: 파스텔 악센트 제거 → 무채색 + 퍼플 */
.mc-photo { background: linear-gradient(180deg, #f1f0f5, #f8f7fb 72%, #fff) !important; }
.mc-kw span { color: var(--purple) !important; background: #f3f2f6 !important; }
.mc-role { color: var(--purple); background: var(--lav-bg); }

/* 투표/클럽/팬 카드: 파스텔 그라데이션 → 화이트·연그레이 */
.vote-card { background: #f8f7fb; border-color: var(--line-2); }
.club-card { background: #f8f7fb; }
.club-cta { background: linear-gradient(160deg, #8456d4, #4a2f86); }

/* 푸터: 니어 블랙 */
.ft { background: #161320; }

/* 골드 화폐 등 비-팔레트 에셋의 톤 — 별/크리스털만 사용(퍼플) */

/* ============================================================
   에디토리얼 리듬 — 템플릿 반복 깨기 + 멤버 카드 비율 수정
   ============================================================ */
.eyebrow img { display: none; }   /* 반짝이 스팸 제거 */

/* ---- 멤버: 비율 수정(정사각 사진+타이트) + 좌측 헤더 + 지그재그 ---- */
.mem-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: end; margin-bottom: 3rem; }
.mem-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; margin-top: .8rem; }
.mem-head .sec-desc { margin: 0; padding-bottom: .4rem; }
.members { background: #fff !important; }
.member-grid { align-items: start; }
.mcard:nth-child(even) { margin-top: 2.4rem; }
.mc-photo { aspect-ratio: 1 / 1 !important; }
.mc-img { height: 116%; }
.mc-body { padding: 1.1rem 1.1rem 1.3rem; }
.mc-name { font-size: 1.3rem; }
.mc-role { margin-top: .5rem; padding: .22rem .6rem; font-size: .7rem; }
.mc-intro { font-size: .82rem; margin-top: .65rem; min-height: 0; line-height: 1.5; }
.mc-kw { margin: .75rem 0; }
.mc-line { font-size: .88rem; padding: .7rem 0; margin-bottom: .9rem; }
.mc-btn { padding: .62rem; font-size: .82rem; }
.mc-heart { min-width: 2.4rem; padding: .62rem .5rem; }

/* ---- 게임 미리보기: 블랙 섹션 (강한 대비) ---- */
.preview { background: #141019 !important; }
.preview .eyebrow { color: var(--lav-2); }
.preview .sec-head h2 { color: #fff; }
.preview .pcard { background: #1e1a29; border-color: rgba(255,255,255,0.08); box-shadow: none; }
.preview .pc-body h3 { color: #fff; }
.preview .pc-body p { color: #b7b2c4; }
.preview .loop span { background: rgba(255,255,255,0.07); color: #c9c4d6; }
.preview .loop .loop-last { background: var(--purple); color: #fff; }
.preview .loop i { background: rgba(255,255,255,0.18); }
.preview .loop i::after { border-color: var(--lav-2); }

/* ---- 개발 소식: 가로 타임라인 (카드 그리드 X) ---- */
.devlog { background: #fff !important; }
.dev-grid { position: relative; }
.dev-grid::before { content: ""; position: absolute; top: 2.5rem; left: 11%; right: 11%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 14px); z-index: 0; }
.dcard { background: none !important; border: none !important; box-shadow: none !important; padding: 0 .6rem; position: relative; z-index: 1; }
.dc-ring { background: conic-gradient(var(--purple) calc(var(--p) * 1%), #ececf2 0); box-shadow: 0 0 0 8px #fff; }
.dcard h3 { margin-top: 1rem; font-size: .95rem; }

/* ---- 팬존: 비대칭 2단 (좌 인트로 + 우 리스트) ---- */
.fan { background: #faf9fc !important; }
.fan-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3.5rem; align-items: center; }
.fan-intro h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.25; margin: .8rem 0 1.1rem; }
.fan-intro .sec-desc { margin: 0 0 1.8rem; }
.fan-list { display: flex; flex-direction: column; }
.frow { display: flex; align-items: center; gap: 1.3rem; padding: 1.6rem .5rem; border-top: 1px solid var(--line); cursor: pointer; transition: padding .25s; }
.frow:last-child { border-bottom: 1px solid var(--line); }
.frow:hover { padding-left: 1.2rem; }
.fr-no { font-family: var(--label); font-size: .9rem; font-weight: 700; color: var(--ink-3); width: 1.6rem; flex: none; }
.fr-ic { width: 3rem; height: 3rem; flex: none; display: grid; place-items: center; border-radius: 14px; color: var(--purple); background: var(--lav-bg); }
.fr-ic svg { width: 1.6rem; height: 1.6rem; }
.fr-tx { flex: 1; } .fr-tx h3 { font-size: 1.15rem; font-weight: 800; } .fr-tx p { font-size: .9rem; color: var(--ink-2); margin-top: .2rem; }
.fr-arrow { width: .7rem; height: .7rem; flex: none; border-top: 2px solid var(--ink-3); border-right: 2px solid var(--ink-3); transform: rotate(45deg); transition: border-color .2s, transform .2s; }
.frow:hover .fr-arrow { border-color: var(--purple); transform: rotate(45deg) translate(2px,-2px); }

/* ============================================================
   홈 프롤로그 진입 섹션
   ============================================================ */
.story-entry { background: #fff; padding-top: 5.4rem; padding-bottom: 5.4rem; }
.story-entry-title { margin-bottom: 1.25rem; }
.section-title { margin-bottom: 2rem; }
.story-entry-head { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2rem; align-items: end; margin-bottom: 1.45rem; }
.story-entry-head h3 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.18; letter-spacing: -0.04em; margin: 0; }
.story-entry-head .sec-desc { margin: 0; }
.story-entry-card { display: grid; grid-template-columns: .78fr 1fr; gap: 1.35rem; align-items: center; padding: 1.35rem; border-radius: 24px; background: linear-gradient(135deg, #f8f7fb, #fff); border: 1px solid var(--line); box-shadow: var(--shadow-m); }
.story-entry-copy { display: flex; flex-direction: column; justify-content: center; min-height: 0; }
.story-entry-copy b { font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -0.04em; }
.story-entry-copy p { color: var(--ink-2); margin: 1rem 0 1.5rem; line-height: 1.75; }
.story-entry-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.story-mini-list { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.story-mini-list a { display: flex; align-items: center; min-height: 3.35rem; padding: .95rem 1rem; border-radius: 16px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 800; letter-spacing: -0.02em; transition: color .2s, border-color .2s, transform .2s; }
.story-mini-list a:hover { color: var(--purple); border-color: var(--lav); transform: translateY(-2px); }
.story-mini-list .locked { color: var(--ink-3); background: #f4f3f7; }
.story-mini-list .locked::after { content: ""; width: .72rem; height: .72rem; margin-left: auto; border-radius: 50%; background: #f1d33b; box-shadow: inset 0 0 0 3px #161320; }

/* ============================================================
   팬존 자유게시판
   ============================================================ */
.fan-page { background: #faf9fc; }
.fan-hd .nav a[aria-current="page"] { color: var(--purple); font-weight: 800; }
.community { padding-top: 76px; }
.community-hero { min-height: 520px; padding: 7rem 1.6rem 5rem; display: grid; grid-template-columns: 1fr 340px; gap: 3rem; align-items: end;
  max-width: var(--maxw); margin: 0 auto; }
.community-copy h1 { font-size: clamp(2.5rem, 6vw, 5.5rem); line-height: .95; letter-spacing: -0.06em; margin: 1rem 0 1.4rem; }
.community-copy p { max-width: 58ch; color: var(--ink-2); font-size: 1.08rem; }
.community-card { padding: 2rem; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-m); }
.community-card img { width: 4.4rem; height: 4.4rem; margin-bottom: 1.2rem; filter: drop-shadow(0 10px 22px rgba(106,63,176,.25)); }
.community-card b { display: block; font-size: 1.2rem; margin-bottom: .5rem; }
.community-card p { color: var(--ink-2); font-size: .94rem; }
.board-shell { max-width: var(--maxw); margin: 0 auto 6rem; padding: 2rem; border-radius: 32px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-l); }
.board-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.board-toolbar h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.03em; margin-top: .35rem; }
.board-actions, .editor-actions, .detail-actions { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.board-view { margin-top: 1.4rem; }
.board-head, .post-row { display: grid; grid-template-columns: minmax(0, 1fr) 140px 120px; gap: 1rem; align-items: center; }
.board-head { padding: .85rem 1.1rem; color: var(--ink-3); font-family: var(--label); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.post-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.post-row { width: 100%; padding: 1.15rem 1.1rem; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: background .2s, padding .2s; }
.post-row:hover { background: #faf9fc; padding-left: 1.45rem; }
.post-title { min-width: 0; }
.post-title b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1.02rem; }
.post-title small { display: block; color: var(--purple); font-size: .8rem; margin-top: .2rem; }
.post-row span:not(.post-title), .post-row time { color: var(--ink-2); font-size: .92rem; }
.empty-board { padding: 3rem 1rem; text-align: center; color: var(--ink-3); }
.hidden { display: none !important; }
.post-detail, .post-editor { padding: 1rem .2rem .4rem; }
.detail-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.back-link { border: 0; background: transparent; color: var(--purple); font-weight: 800; cursor: pointer; }
.post-chip { display: inline-flex; padding: .45rem .8rem; border-radius: 999px; background: var(--lav-bg); color: var(--purple); font-size: .8rem; font-weight: 800; }
.post-detail h2 { font-size: clamp(1.7rem, 4vw, 2.8rem); line-height: 1.25; letter-spacing: -0.04em; margin: 1.4rem 0 .8rem; }
.detail-meta { display: flex; gap: .8rem; flex-wrap: wrap; color: var(--ink-3); font-size: .92rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.detail-image { margin: 1.6rem 0; overflow: hidden; border-radius: 22px; border: 1px solid var(--line); background: #f6f5f8; }
.detail-image img { width: 100%; max-height: 620px; object-fit: contain; }
.detail-body { padding: 1.7rem 0; color: var(--ink); font-size: 1.05rem; line-height: 1.9; white-space: normal; }
.detail-actions { justify-content: flex-end; padding-top: 1rem; border-top: 1px solid var(--line); }
.detail-actions p, .editor-note { color: var(--ink-3); font-size: .9rem; }
.admin-tools-label { display: inline-flex; align-items: center; padding: .55rem .75rem; border-radius: 999px; background: #161320; color: #fff; font-size: .78rem; font-weight: 900; }
.danger { color: #b83555; border-color: #f0c8d2; }
.post-editor label { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1rem; color: var(--ink); font-weight: 800; }
.post-editor input, .post-editor select, .post-editor textarea { width: 100%; border: 1px solid var(--line-2); border-radius: 18px; padding: .95rem 1rem; background: #fff; color: var(--ink); font: inherit; outline: none; transition: border-color .2s, box-shadow .2s; }
.post-editor textarea { resize: vertical; min-height: 220px; }
.post-editor input:focus, .post-editor select:focus, .post-editor textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(106,63,176,.1); }
.editor-grid { display: grid; grid-template-columns: 1fr 220px; gap: 1rem; }
.image-field small { color: var(--ink-3); font-weight: 500; }
.image-preview { display: grid; grid-template-columns: 180px auto; gap: 1rem; align-items: center; padding: 1rem; border-radius: 20px; background: #faf9fc; border: 1px solid var(--line); margin-bottom: 1rem; }
.image-preview img { width: 180px; max-height: 140px; object-fit: cover; border-radius: 14px; }
.editor-actions { justify-content: flex-end; margin-top: 1.4rem; }
.fan-ft { margin-top: 0; }

/* ============================================================
   프롤로그 대본
   ============================================================ */
.story-page { background: #f5f3f8; }
.story-main { padding-top: 76px; }
.story-hero { max-width: 880px; margin: 0 auto; padding: 7rem 1.6rem 3rem; }
.story-hero h1 { font-size: clamp(2.4rem, 7vw, 5rem); line-height: 1.02; letter-spacing: -0.06em; margin: 1rem 0 1.2rem; }
.story-hero p { color: var(--ink-2); font-size: 1.05rem; max-width: 58ch; }
.episode-shell { max-width: 880px; margin: 0 auto 7rem; padding: 0 1.6rem; }
.episode-list { display: flex; flex-direction: column; gap: 1.7rem; padding: 2.2rem 0; }
.episode-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; padding: 0; border: 0; background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.episode-row span { font-size: clamp(1.05rem, 2.4vw, 1.42rem); font-weight: 800; letter-spacing: -0.03em; }
.episode-row i { width: .8rem; height: .8rem; display: inline-grid; place-items: center; border-radius: 50%; background: #f1d33b; color: #1c1726; font-size: .45rem; font-style: normal; box-shadow: inset 0 0 0 3px #161320; }
.episode-row.locked span { color: var(--ink-3); }
.episode-row:hover span { color: var(--purple); }
.novel-reader { padding: 4rem 0 1rem; }
.novel-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--ink-3); font-size: .9rem; margin-bottom: 2rem; }
.story-side-nav { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.story-side-btn { position: fixed; top: 50%; display: inline-flex; align-items: center; justify-content: center; min-width: 8.6rem; border: 1px solid var(--line); border-radius: 999px; padding: .86rem 1.15rem; background: rgba(255,255,255,.92); color: var(--purple); font-weight: 900; font-family: var(--sans); cursor: pointer; box-shadow: var(--shadow-s); backdrop-filter: blur(14px); pointer-events: auto; transition: transform .2s, box-shadow .2s, background .2s; }
.story-side-btn-prev { left: clamp(1rem, 4vw, 4rem); transform: translateY(-50%); }
.story-side-btn-next { right: clamp(1rem, 4vw, 4rem); transform: translateY(-50%); background: var(--purple); color: #fff; border-color: transparent; }
.story-side-btn:hover { transform: translateY(calc(-50% - 2px)); box-shadow: var(--shadow-m); }
.novel-reader h1 { font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.2; letter-spacing: -0.05em; margin-bottom: 3rem; }
.novel-flow { display: flex; flex-direction: column; gap: 1.4rem; }
.novel-flow h2 { margin: 1.8rem 0 .4rem; padding-top: 1.4rem; border-top: 1px solid var(--line-2); font-size: 1.05rem; color: var(--purple); letter-spacing: .02em; }
.novel-meta { display: inline-flex; width: fit-content; padding: .45rem .8rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-3); font-size: .84rem; }
.novel-narration { color: var(--ink); font-size: 1.04rem; line-height: 2.05; text-indent: 0; text-align: left; word-break: keep-all; }
.novel-line { display: grid; grid-template-columns: 6rem minmax(0, 1fr); column-gap: 3.25rem; align-items: start; margin-left: 0; padding: .3rem 0; text-align: left; }
.novel-line strong { display: block; color: var(--purple); font-size: .98rem; line-height: 1.9; white-space: nowrap; word-break: keep-all; }
.novel-line p { min-width: 0; margin: 0; color: var(--ink); font-size: 1.02rem; line-height: 1.9; text-align: left; white-space: normal; overflow: visible; word-break: keep-all; }

@media (max-width: 1080px) {
  .mem-head { grid-template-columns: 1fr; gap: .8rem; }
  .fan-layout { grid-template-columns: 1fr; gap: 2rem; }
  .community-hero { grid-template-columns: 1fr; align-items: start; }
  .story-entry-head, .story-entry-card { grid-template-columns: 1fr; }
  .dev-grid::before { display: none; }
}
@media (max-width: 900px) {
  .fan-page .hd-cta { display: none; }
  .fan-page .nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 0; background: rgba(255,255,255,0.98); backdrop-filter: blur(14px); max-height: 0; overflow: hidden; transition: max-height .3s; box-shadow: var(--shadow-m); }
  .fan-page .nav a { width: 100%; padding: 1rem 2rem; border-top: 1px solid var(--line); white-space: nowrap; }
  .fan-page.nav-open .nav { max-height: 460px; }
  .fan-page .nav-toggle { display: flex; margin-left: auto; width: 42px; height: 42px; border: 0; background: transparent; flex-direction: column; justify-content: center; gap: 5px; cursor: pointer; }
  .fan-page .nav-toggle span { display: block; height: 2px; width: 26px; background: var(--ink); transition: transform .25s, opacity .25s; }
  .fan-page.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .fan-page.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .fan-page.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 720px) {
  .mcard:nth-child(even) { margin-top: 0; }
  .frow { gap: 1rem; } .fr-no { display: none; }
  .community-hero { padding-top: 5rem; }
  .board-shell { margin: 0 1rem 4rem; padding: 1.2rem; border-radius: 24px; }
  .board-toolbar { align-items: flex-start; flex-direction: column; }
  .board-head { display: none; }
  .post-row { grid-template-columns: 1fr; gap: .35rem; }
  .editor-grid, .image-preview { grid-template-columns: 1fr; }
  .image-preview img { width: 100%; max-height: 220px; }
  .story-hero { padding-top: 5rem; }
  .story-mini-list { grid-template-columns: 1fr; }
  .novel-line { grid-template-columns: 5.2rem minmax(0, 1fr); column-gap: 1.1rem; margin-left: 0; }
  .story-side-nav { inset: auto 1rem 1rem; display: flex; justify-content: space-between; gap: .75rem; }
  .story-side-btn { position: static; min-width: 0; flex: 1; padding: .78rem .8rem; font-size: .86rem; transform: none; }
  .story-side-btn:hover { transform: translateY(-2px); }
}

/* ============================================================
   멤버 카드 — 캐릭터 안 잘리게(contain 전신) + 스태거 제거
   ============================================================ */
.mcard:nth-child(even) { margin-top: 0 !important; }
.mc-photo { aspect-ratio: 0.74 / 1 !important; overflow: hidden;
  background: linear-gradient(180deg, #f1f0f5, #f8f7fb 78%, #fff) !important; }
.mc-img { position: absolute; left: 50%; bottom: 0; top: auto; transform: translateX(-50%);
  height: 100%; width: 100%; max-width: none; object-fit: contain; object-position: center bottom; }
.mcard:hover .mc-img { transform: translateX(-50%) scale(1.04); }

/* ============================================================
   참여하기 모달 / 집계 UI
   ============================================================ */
body.modal-open { overflow: hidden; }
.velo-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1.2rem; }
.velo-modal.hidden { display: none; }
.velo-modal-backdrop { position: absolute; inset: 0; background: rgba(22,19,32,.48); backdrop-filter: blur(6px); }
.velo-modal-panel { position: relative; width: min(100%, 28rem); padding: 2rem 1.8rem 1.6rem; border-radius: 24px; background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-l); }
.velo-modal-close { position: absolute; top: .9rem; right: .9rem; width: 2rem; height: 2rem; border: 0; border-radius: 999px; background: var(--lav-bg); color: var(--ink-2); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.velo-modal-panel h2 { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: .6rem; }
.velo-modal-desc { color: var(--ink-2); font-size: .95rem; line-height: 1.6; margin-bottom: 1.2rem; }
.velo-modal-panel form { display: flex; flex-direction: column; gap: .75rem; }
.velo-modal-panel input { width: 100%; padding: .95rem 1rem; border: 1px solid var(--line-2); border-radius: 14px; font: inherit; color: var(--ink); background: #fff; }
.velo-modal-panel input:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(106,63,176,.12); }
.velo-modal-msg { margin-top: .8rem; padding: .75rem .9rem; border-radius: 12px; background: var(--lav-bg); color: var(--purple); font-size: .9rem; font-weight: 600; text-align: center; }
.velo-modal-msg.hidden { display: none; }

.episode-meta { display: inline-flex; align-items: center; gap: .55rem; flex: none; }
.episode-views { font-style: normal; font-size: .82rem; font-weight: 700; color: var(--ink-3); white-space: nowrap; }
.novel-top-stats { color: var(--ink-3); font-size: .88rem; font-weight: 700; white-space: nowrap; }
.story-like-bar { display: flex; justify-content: center; margin: 2.5rem 0 1rem; }
.story-like-btn { display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.25rem; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--ink-2); font: inherit; font-weight: 700; cursor: pointer; box-shadow: var(--shadow-s); transition: transform .2s, background .2s, color .2s, border-color .2s; }
.story-like-btn .heart-symbol { font-size: 1.12rem; }
.story-like-btn.on { background: #fff0f3; border-color: #ffb3c1; color: var(--ink); }
.story-like-btn:hover { transform: translateY(-2px); }
.story-like-count { font-size: .88rem; font-weight: 800; }

/* ============================================================
   랜딩 메시지 개편 — 게임 루프 우선 노출
   ============================================================ */
.game-overview { background: #fff; padding-top: 5rem; padding-bottom: 5rem; }
.game-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 400px); gap: 1.8rem; align-items: center; margin-bottom: 1.85rem; }
.game-head h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.1; letter-spacing: -0.05em; margin-top: .7rem; }
.game-head .sec-desc { margin-top: 1.4rem; max-width: 62ch; font-size: 1.05rem; line-height: 1.75; }
.game-visual { justify-self: end; width: 100%; max-width: 400px; margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,0.12); background: #141019; box-shadow: var(--shadow-m); }
.game-visual img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.game-visual figcaption,
.story-entry-visual figcaption { padding: .45rem .7rem .55rem; background: #fff; color: var(--ink-3); font-size: .72rem; font-weight: 700; line-height: 1.45; word-break: keep-all; }
.game-loop { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr); gap: .55rem; align-items: center; }
.game-step { position: relative; min-height: 170px; padding: 1.05rem .95rem; border: 1px solid var(--line); border-radius: 18px; background: #faf9fc; overflow: hidden; }
.game-step::after { content: ""; position: absolute; right: 1rem; bottom: 1rem; width: 2.2rem; height: 1px; background: var(--line-2); }
.game-arrow { display: block; width: .72rem; height: .72rem; border-top: 2px solid var(--purple); border-right: 2px solid var(--purple); transform: rotate(45deg); opacity: .86; }
.step-no { display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--purple); color: #fff; font-family: var(--label); font-size: .78rem; font-weight: 900; }
.game-step h3 { margin-top: 1.2rem; font-size: 1.08rem; font-weight: 900; letter-spacing: -0.03em; }
.game-step p { margin-top: .55rem; color: var(--ink-2); font-size: .9rem; line-height: 1.62; word-break: keep-all; }

.pc-body p { word-break: keep-all; }

.story-entry-side { display: flex; flex-direction: column; gap: .8rem; min-width: 0; }
.story-entry-visual { align-self: end; width: 100%; max-width: 440px; margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #141019; box-shadow: var(--shadow-s); }
.story-entry-visual img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.story-beats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.story-beats span { min-height: 3.05rem; padding: .75rem .85rem; font-size: .9rem; }
.story-beats span::before { content: ""; width: .5rem; height: .5rem; margin-right: .75rem; border-radius: 50%; background: var(--purple); flex: none; }
.story-beats .locked::after { display: none; }

@media (max-width: 900px) {
  .game-loop { grid-template-columns: repeat(2, 1fr); }
  .game-arrow { display: none; }
}

@media (max-width: 720px) {
  .game-head { grid-template-columns: 1fr; gap: .8rem; text-align: left; }
  .game-head .sec-desc { margin-top: .2rem; }
  .game-loop { grid-template-columns: 1fr; }
  .game-step { min-height: 0; }
}

/* ============================================================
   ADMIN METRICS
   ============================================================ */
.metrics-page { background: #f7f6fa; }
.metrics-shell { max-width: 1120px; margin: 0 auto; padding: 3rem 1.4rem 5rem; }
.metrics-hero { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.metrics-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.05; letter-spacing: -0.04em; margin-top: .4rem; }
.metrics-auth { display: flex; gap: .7rem; align-items: center; padding: 1rem; border: 1px solid var(--line-2); border-radius: 18px; background: #fff; box-shadow: var(--shadow-s); }
.metrics-auth input { flex: 1; min-width: 0; padding: .9rem 1rem; border: 1px solid var(--line-2); border-radius: 12px; font: inherit; }
.metrics-auth input:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(106,63,176,.12); }
.metrics-message { min-height: 1.5rem; margin: 1rem 0 1.4rem; color: var(--ink-2); font-weight: 700; }
.metrics-message.error { color: #b3261e; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; margin-bottom: 1.6rem; }
.metrics-card { padding: 1.2rem; border: 1px solid var(--line-2); border-radius: 18px; background: #fff; box-shadow: var(--shadow-s); }
.metrics-card span { display: block; color: var(--ink-3); font-size: .86rem; font-weight: 800; }
.metrics-card strong { display: block; margin-top: .35rem; font-size: 2rem; line-height: 1; color: var(--purple); }
.metrics-section { margin-top: 1.3rem; padding: 1.2rem; border: 1px solid var(--line-2); border-radius: 18px; background: #fff; box-shadow: var(--shadow-s); }
.metrics-section h2 { font-size: 1.1rem; margin-bottom: .9rem; }
.metrics-table-wrap { overflow-x: auto; }
.metrics-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.metrics-table th, .metrics-table td { padding: .75rem .7rem; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.metrics-table th { color: var(--ink-3); font-size: .8rem; font-weight: 900; }
.metrics-table td { color: var(--ink); }

@media (max-width: 720px) {
  .metrics-hero, .metrics-auth { align-items: stretch; flex-direction: column; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
}
