/*
 * LUNA CRAFT
 * 달밤의 남흑색 위에 은빛 글자, 행동을 부르는 곳에만 핏빛 크림슨.
 * 제목은 명조(로고의 세리프와 같은 결), 본문은 고딕. 힘은 히어로 한 곳에만 준다.
 */
:root {
    --night: #121212;
    --night-2: #191919;
    --night-3: #222222;
    --ink-line: rgba(255, 255, 255, .1);
    --ink-line-2: rgba(255, 255, 255, .2);
    --pale: #ebebeb;
    --moon: #ffffff;
    --dim: #b2b2b2;
    --faint: rgba(255, 255, 255, .5);
    --crimson: #e8334a;
    --crimson-hi: #f0475d;
    --brass: #d9b36c;
    --gutter: clamp(18px, 4vw, 56px);
    --max: 1200px;
    --top-h: 40px;
    --gnb-h: 64px;
    --head-h: calc(var(--top-h) + var(--gnb-h));
    --sans: Pretendard, "Pretendard Variable", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
    --serif: var(--sans);
    --display: var(--sans);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--night);
    color: var(--pale);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: -.03em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.lang-ko { word-break: keep-all; overflow-wrap: break-word; }
h1, h2, h3, h4, .hero-title, .sec-head p, .hero-sub, blockquote, .bubble { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
body.lang-ja { --sans: Pretendard, "Pretendard JP", "Noto Sans JP", sans-serif; line-break: strict; }
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: #fff; color: #000; padding: 8px 12px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--moon); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 780px; }
.center { text-align: center; }
.fine { font-size: 13px; color: var(--faint); margin: 14px 0 0; }
.latin { font-family: var(--display); font-size: 14px; color: var(--brass); margin: 0; letter-spacing: .02em; }
.latin.big { font-size: clamp(30px, 4vw, 42px); color: var(--pale); }

h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.025em; }

/* ───────── 버튼: 크림슨 한 가지, 나머지는 선 ───────── */
.btn-cta, .btn-ghost {
    display: inline-flex; align-items: center; justify-content: center;
    height: 50px; padding: 0 28px; border-radius: 3px; cursor: pointer;
    font-family: var(--sans); font-weight: 700; font-size: 15px; white-space: nowrap;
    transition: background .15s, border-color .15s, color .15s;
}
.btn-cta { background: var(--crimson); border: 1px solid var(--crimson); color: #fff; }
.btn-cta:hover { background: var(--crimson-hi); border-color: var(--crimson-hi); }
.btn-cta:disabled { opacity: .45; cursor: default; }
.btn-cta.lg { height: 58px; padding: 0 40px; font-size: 17px; }
.btn-cta.sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn-cta.block { width: 100%; }
.btn-ghost { background: transparent; border: 1px solid var(--ink-line-2); color: var(--pale); }
.btn-ghost:hover { border-color: var(--moon); }
.link-btn { background: none; border: 0; padding: 0; color: var(--dim); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 14px; }
.link-btn:hover { color: var(--pale); }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; font-size: 22px; }
.badge { display: inline-block; font-size: 13px; font-weight: 600; color: var(--brass); }
.badge.hot { color: #ff8095; }

/* ───────── 상단: 얇은 띠(계정·언어) + 메뉴 줄 ───────── */
.topbar { position: fixed; inset: 0 0 auto; z-index: 51; height: var(--top-h); background: #111; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.topbar-inner { height: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar-logo img { height: 16px; width: auto; }
.topbar-tools { display: flex; align-items: center; gap: 10px; }
.pill { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 999px; background: #2a2a2a; color: #cccccc; font-size: 12px; font-weight: 500; }
.pill:hover { background: #333; color: #fff; }
.pill.solid { background: #ebebeb; color: #111; }
.pill.solid:hover { background: #fff; }
.visits { display: flex; gap: 10px; margin: 0 6px 0 0; font-size: 11px; letter-spacing: 0; }
.visits div { display: flex; gap: 4px; align-items: baseline; }
.visits dt { color: var(--faint); }
.visits dd { margin: 0; font-weight: 600; color: var(--dim); font-variant-numeric: tabular-nums; }
.sound { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border: 0; border-radius: 999px; background: #2a2a2a; color: #cccccc; font-size: 11px; font-weight: 600; cursor: pointer; letter-spacing: 0; }
.sound:hover, .sound.playing { color: #fff; }
.bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 10px; }
.bars i { width: 2px; height: 3px; background: currentColor; }
.sound.playing .bars i { animation: eq 1s ease-in-out infinite; }
.sound.playing .bars i:nth-child(2) { animation-delay: -.6s; }
.sound.playing .bars i:nth-child(3) { animation-delay: -.3s; }
.sound.playing .bars i:nth-child(4) { animation-delay: -.8s; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 10px; } }
.lang-pick { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border: 0; border-radius: 999px; background: #2a2a2a; color: #cccccc; font-size: 12px; font-weight: 500; cursor: pointer; }
.lang-btn svg { font-size: 14px; stroke-width: 1.6; }
.lang-list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 5; min-width: 132px; margin: 0; padding: 6px 0; list-style: none; background: #222; border: 1px solid var(--ink-line-2); border-radius: 6px; display: none; }
.lang-pick.open .lang-list { display: block; }
.lang-pick.up .lang-list { top: auto; bottom: calc(100% + 6px); }
.lang-list a { display: block; padding: 8px 14px; font-size: 14px; color: var(--dim); }
.lang-list a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.lang-list a.on { color: #fff; font-weight: 600; }

.gnb { position: fixed; top: var(--top-h); left: 0; right: 0; z-index: 50; height: var(--gnb-h); background: rgba(25, 25, 25, .92); border-bottom: 1px solid rgba(255, 255, 255, .06); transition: background .3s; }
.gnb.solid, body:not(.page-home) .gnb { background: #191919; }
.gnb-inner { height: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 36px; }
.gnb-logo img { height: 34px; width: auto; }
.gnb-menu { display: flex; gap: 30px; flex: 1; }
.gnb-menu a { position: relative; padding: 6px 0; font-size: 16px; font-weight: 500; color: #ebebeb; letter-spacing: -.03em; }
.gnb-menu a:hover { color: #fff; }
.gnb-menu a.on { color: #fff; font-weight: 700; }
.gnb-menu a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: #fff; }
.gnb-tools { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.sns { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: #222; }
.sns:empty { display: none; }
.sns a { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: #ebebeb; }
.sns a:hover { background: #333; }
.sns svg { fill: currentColor; stroke: none; font-size: 16px; }
.gnb-burger { display: none; width: 40px; height: 40px; background: none; border: 0; cursor: pointer; padding: 12px 8px; flex-direction: column; justify-content: space-between; }
.gnb-burger i { display: block; height: 2px; background: #ebebeb; }

.drawer { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .6); }
.drawer-panel { position: absolute; inset: 0 0 0 auto; width: min(340px, 86vw); background: var(--night-2); border-left: 1px solid var(--ink-line); padding: 14px 22px 32px; display: flex; flex-direction: column; gap: 24px; overflow-y: auto; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; }
.drawer-top img { height: 18px; width: auto; }
.drawer-account { display: flex; gap: 8px; }
.drawer-account .pill { height: 34px; padding: 0 16px; font-size: 14px; }
.drawer-menu { display: flex; flex-direction: column; }
.drawer-menu a { padding: 15px 0; font-family: var(--display); font-size: 18px; font-weight: 600; border-bottom: 1px solid var(--ink-line); color: var(--dim); }
.drawer-menu a.on { color: var(--pale); }
.drawer-langs { display: flex; gap: 18px; }
.drawer-langs a { font-size: 14px; color: var(--faint); }
.drawer-langs a.on { color: var(--pale); text-decoration: underline; text-underline-offset: 4px; }

/* ───────── 히어로: 이 페이지에서 유일하게 힘을 주는 곳 ───────── */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; text-align: center; overflow: hidden; padding: calc(var(--head-h) + 24px) 0 clamp(48px, 7vh, 80px); }
.hero-bg { position: absolute; inset: 0; z-index: 0; background: url('/img/luna/chevalier-art.jpg') 50% 20% / cover no-repeat, var(--night); }
.yt-bg { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; overflow: hidden; }
.yt-bg.ready { opacity: 1; }
.yt-bg iframe { position: absolute; top: 50%; left: 50%; width: 100vw; height: 56.25vw; min-width: 177.78vh; min-height: 100vh; transform: translate(-50%, -50%); border: 0; pointer-events: none; }
.hero-shade { position: absolute; inset: 0; background:
        radial-gradient(60% 55% at 50% 72%, rgba(18, 18, 18, .78) 0%, rgba(18, 18, 18, .35) 60%, rgba(18, 18, 18, 0) 100%),
        linear-gradient(0deg, var(--night) 0%, rgba(18, 18, 18, .2) 45%, rgba(18, 18, 18, .35) 100%); }
.moon-glow { display: none; }
.hero-inner { position: relative; z-index: 1; }
.hero-copy { max-width: 720px; margin: 0 auto; animation: rise 1.1s .15s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.game-logo { margin: 0 auto; width: min(380px, 74vw); }
.game-logo img { width: 100%; height: auto; }
.game-logo .craft { display: block; margin-top: 8px; font-family: var(--display); font-weight: 900; font-size: clamp(18px, 2.2vw, 24px); letter-spacing: .72em; text-indent: .72em; text-align: center; color: var(--moon); }
.game-logo.small { width: min(300px, 70vw); margin: 0 auto 4px; }
.hero-genre { margin: 26px 0 0; font-size: 14px; color: var(--brass); }
.hero-title { margin: 10px 0 0; font-family: var(--display); font-size: clamp(26px, 3.4vw, 42px); line-height: 1.32; font-weight: 700; }
.hero-title span, .hero-title strong { display: block; font-weight: inherit; }
.hero-sub { margin: 16px auto 0; color: var(--dim); font-size: clamp(15px, 1.3vw, 17px); max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px; margin-top: 34px; }
.play-btn { display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; cursor: pointer; font-weight: 600; color: var(--pale); padding: 0; }
.play-btn span { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--moon); }
.play-btn span svg { fill: var(--pale); stroke: none; font-size: 16px; margin-left: 3px; }
.play-btn:hover span { background: rgba(255, 255, 255, .08); }
.hero-count { display: flex; align-items: baseline; justify-content: center; gap: 6px; margin: 22px 0 0; font-size: 14px; color: var(--dim); }
.hero-count.center { justify-content: center; }
.hero-count b { color: var(--pale); font-size: 20px; font-family: var(--display); font-variant-numeric: tabular-nums; }
.dot { display: none; }
.stores { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.store { padding: 9px 14px; border: 1px solid var(--ink-line-2); border-radius: 3px; font-weight: 600; font-size: 14px; }
.stores:empty { display: none; }
.scroll-hint { display: none; }

/* ───────── 섹션 공통 ───────── */
.sec { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.sec.tight { padding: clamp(44px, 6vw, 80px) 0; }
.sec-head { margin: 0 auto clamp(34px, 5vw, 56px); max-width: 680px; text-align: center; }
.sec-head h2 { margin: 0; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.28; }
.sec-head p { margin: 14px 0 0; color: var(--dim); }
.sec-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.sec-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; max-width: none; text-align: left; }
.more-link { color: var(--dim); font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.more-link:hover { color: var(--pale); }
.panel { background: var(--night-2); border: 1px solid var(--ink-line); border-radius: 4px; }
.mini-title { font-size: 22px; margin: 56px 0 20px; }
.empty { color: var(--faint); padding: 40px 0; text-align: center; grid-column: 1 / -1; }

/* 사전예약 보상: 카드 대신 한 줄 목록 */
.rewards { border-top: 1px solid var(--ink-line); }
.reward-grid { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 168px)); justify-content: center; gap: clamp(16px, 3vw, 36px); }
.reward { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.reward strong { font-size: 15px; font-weight: 600; color: var(--pale); }
/* 게임 인벤토리 칸: 등급색 테두리, 안쪽 빛, 오른쪽 아래 수량 */
.slot { --g1: #6fa8ff; --g2: #2a4f9e; position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1; border-radius: 10px;
    background: radial-gradient(70% 70% at 50% 40%, color-mix(in srgb, var(--g1) 34%, transparent), transparent 72%), linear-gradient(160deg, #1b2236, #0b0f1a);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), inset 0 0 22px color-mix(in srgb, var(--g1) 30%, transparent), 0 0 0 2px var(--g2), 0 0 0 3px #05070c, 0 0 0 4px color-mix(in srgb, var(--g1) 70%, #000); }
.slot::before { content: ""; position: absolute; inset: 6px; border-radius: 6px; border: 1px solid color-mix(in srgb, var(--g1) 35%, transparent); pointer-events: none; }
.slot img { width: 78%; height: 78%; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .6)); }
.slot .qty { position: absolute; right: 9px; bottom: 7px; font-family: var(--display); font-weight: 900; font-size: clamp(15px, 1.5vw, 19px); color: #fff; text-shadow: 0 0 2px #000, 0 2px 6px #000, 0 0 1px #000; }
.slot.sm { width: 64px; border-radius: 7px; }
.slot.sm::before { inset: 4px; }
.slot.sm .qty { right: 5px; bottom: 3px; font-size: 12px; }
.grade-rare .slot { --g1: #63b4ff; --g2: #24508f; }
.grade-epic .slot { --g1: #b57bff; --g2: #5a2ca0; }
.grade-legend .slot { --g1: #ffb547; --g2: #9a5a12; }
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding: 0 24px 0 0; }
.steps li + li { padding-left: 24px; border-left: 1px solid var(--ink-line); }
.steps b { grid-row: span 2; font-family: var(--display); font-size: 26px; color: var(--brass); line-height: 1.1; font-weight: 700; }
.steps strong { font-size: 16px; }
.steps span { color: var(--faint); font-size: 14px; }
.rewards .center { margin-top: 44px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.rewards .center .fine { margin: 0; }

/* 미리 즐기기: 캐릭터 대화를 크게, 나머지는 옆에 목록으로 */
.exp-grid { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: repeat(3, auto); gap: 0 48px; }
.exp-card { position: relative; display: grid; grid-template-columns: 132px 1fr; gap: 22px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--ink-line); }
.exp-card.parry { grid-column: 2; grid-row: 1; border-top: 1px solid var(--ink-line); }
.exp-card.fate { grid-column: 2; grid-row: 2; }
.exp-card.costume { grid-column: 2; grid-row: 3; }
.exp-art { width: 132px; aspect-ratio: 1; background-size: cover; background-position: center 25%; border-radius: 2px; }
.exp-body .badge { display: block; margin-bottom: 4px; }
.exp-body h3 { margin: 0 0 6px; font-size: 21px; }
.exp-body p { margin: 0; color: var(--dim); font-size: 15px; }
.exp-body .more { display: inline-block; margin-top: 10px; font-size: 14px; color: var(--pale); text-decoration: underline; text-underline-offset: 4px; }
.exp-card:hover h3 { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.exp-card.story { grid-column: 1; grid-row: 1 / span 3; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0; border: 0; }
.exp-faces { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.exp-faces img { width: 100%; aspect-ratio: 3/5; object-fit: cover; object-position: center 22%; filter: saturate(.9); transition: filter .2s; }
.exp-card.story:hover .exp-faces img { filter: saturate(1.05); }
.exp-card.story .exp-body { padding: 22px 0 0; }
.exp-card.story h3 { font-size: 28px; }
.event-banner { margin-top: 56px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; padding: 34px 36px; border: 1px solid var(--ink-line-2); background: linear-gradient(90deg, rgba(18, 18, 18, .96) 30%, rgba(18, 18, 18, .55)), url('/img/luna/banner.jpg') right center / cover; }
.event-banner .badge { grid-column: 1 / -1; }
.event-banner strong { font-family: var(--display); font-size: clamp(22px, 2.6vw, 30px); font-weight: 900; letter-spacing: .01em; }
.event-banner p { margin: 6px 0 0; color: var(--dim); max-width: 52ch; }
.event-banner .more { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }

/* 캐릭터 쇼케이스 */
.showcase { border-top: 1px solid var(--ink-line); }
.show-stage { position: relative; }
.show-item { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 460px); justify-content: center; gap: clamp(28px, 5vw, 64px); align-items: center; }
.show-art { position: relative; aspect-ratio: 2/3; }
.show-art::before { content: ""; position: absolute; inset: 18% 6% 4%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--ac, #8a7cff) 34%, transparent), transparent); filter: blur(10px); }
.show-art img { position: relative; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .55)); -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent); mask-image: linear-gradient(180deg, #000 78%, transparent); }
.show-copy { padding-bottom: 8px; }
.show-copy h3 { margin: 4px 0 0; font-size: clamp(44px, 6vw, 76px); line-height: 1.05; font-weight: 900; }
.show-copy .title { margin: 10px 0 0; color: var(--ac); font-weight: 600; }
.show-copy blockquote { margin: 28px 0 30px; padding: 0 0 0 0; font-family: var(--display); font-size: clamp(20px, 2.2vw, 26px); line-height: 1.55; color: var(--pale); max-width: 22em; }
.show-thumbs { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.show-thumbs button { position: relative; flex: 1; max-width: 110px; text-align: center; background: none; border: 0; cursor: pointer; padding: 0; color: var(--faint); font-size: 13px; font-weight: 600; text-align: left; }
.show-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 22%; opacity: .5; transition: opacity .2s; margin-bottom: 8px; }
.show-thumbs button:hover img { opacity: .8; }
.show-thumbs button.on { color: var(--pale); }
.show-thumbs button.on img { opacity: 1; box-shadow: inset 0 0 0 0, 0 2px 0 var(--ac); }

/* 소식 */
.news-sec { border-top: 1px solid var(--ink-line); }
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--ink-line-2); }
.news-card { display: flex; flex-direction: column; gap: 10px; padding: 24px 22px 26px 0; }
.news-card + .news-card { padding-left: 22px; border-left: 1px solid var(--ink-line); }
.news-card strong { font-family: var(--display); font-size: 18px; line-height: 1.45; }
.news-card:hover strong { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.news-card p { margin: 0; color: var(--faint); font-size: 14px; flex: 1; }
.news-card time, .news-list time { font-size: 13px; color: var(--faint); font-variant-numeric: tabular-nums; }
.cat { align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--moon); }
.cat.event { color: #ff8095; }
.cat.update { color: var(--brass); }

/* ───────── 하위 화면 ───────── */
.sub-page { padding-top: var(--head-h); min-height: calc(100svh - 120px); }
.page-hero { position: relative; padding: clamp(64px, 9vw, 120px) 0 clamp(44px, 6vw, 72px); overflow: hidden; border-bottom: 1px solid var(--ink-line); }
.page-hero[style*="--hero"]::before { content: ""; position: absolute; inset: 0; background: var(--hero) 70% 25% / cover; opacity: .45; }
.page-hero[style*="--hero"]::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--night) 25%, rgba(18, 18, 18, .4)); }
.page-hero > .wrap { position: relative; z-index: 1; }
.page-hero h1 { margin: 0; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.2; max-width: 16em; }
.page-hero p:not(.fine) { color: var(--dim); max-width: 46ch; margin: 16px 0 0; white-space: pre-line; }
.page-hero .center h1, .page-hero .center p:not(.fine) { margin-left: auto; margin-right: auto; }
.page-hero .btn-cta, .page-hero .play-btn { margin-top: 30px; }
.page-hero.compact { padding: clamp(56px, 7vw, 88px) 0 clamp(40px, 5vw, 56px); text-align: center; }
.page-hero.compact::before { content: ""; position: absolute; inset: 0; background: url('/img/luna/lineup.jpg') center 18% / cover no-repeat; opacity: .4; }
.page-hero.compact::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 18, 18, .2), var(--night) 96%); }
.page-hero.compact h1 { margin: 0 auto; font-size: clamp(30px, 3.6vw, 44px); }
.page-hero.compact p:not(.fine) { margin: 12px auto 0; }
.page-hero.tall { padding: clamp(84px, 12vw, 150px) 0 clamp(56px, 8vw, 96px); }
.hero-h2 { margin: 18px 0 0; font-size: clamp(22px, 3vw, 32px); }
.display { font-weight: 900; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--dim); font-size: 14px; margin-bottom: 22px; }
.back-link svg { font-size: 18px; }

/* 캐릭터 목록 */
.char-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.char-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 18px; }
.char-card a { display: block; position: relative; }
.char-img { aspect-ratio: 3/4; overflow: hidden; border-radius: 2px; }
.char-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform .4s; }
.char-card a:hover .char-img img { transform: scale(1.03); }
.char-meta { padding: 12px 0 0; }
.char-meta .latin { font-size: 13px; }
.char-meta strong { display: block; font-family: var(--display); font-size: 22px; line-height: 1.3; }
.char-meta em { font-style: normal; font-size: 14px; color: var(--ac); }
.talk-chip { display: none; }
.ranking { padding: 24px; position: sticky; top: calc(var(--head-h) + 24px); }
.ranking h2 { margin: 0; font-size: 20px; }
.ranking ol { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; }
.ranking li { display: grid; grid-template-columns: 22px 40px 1fr auto; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--ink-line); }
.rank { font-family: var(--display); font-weight: 900; color: var(--brass); text-align: center; }
.ranking img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.rank-top { display: flex; justify-content: space-between; gap: 6px; font-size: 14px; }
.rank-top span { color: var(--faint); font-size: 12px; white-space: nowrap; }
.bar { height: 3px; background: rgba(255, 255, 255, .08); margin-top: 7px; }
.bar i { display: block; height: 100%; background: var(--ac); transition: width .6s; }
.vote-btn { height: 30px; padding: 0 12px; border-radius: 3px; border: 1px solid var(--ink-line-2); background: transparent; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; color: var(--dim); }
.vote-btn:hover { border-color: var(--moon); color: var(--pale); }
.vote-btn.done { background: var(--crimson); border-color: var(--crimson); color: #fff; }

/* 캐릭터 대화 */
.talk-stage { position: relative; overflow: hidden; padding: 20px 0 80px; }
.talk-stage::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(60% 70% at 26% 40%, color-mix(in srgb, var(--ac, #8a7cff) 20%, transparent), transparent 70%); pointer-events: none; }
.talk-bg { display: none; }
.talk-wrap { position: relative; z-index: 1; }
.talk-grid { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; min-height: min(72vh, 760px); }
.talk-art { position: relative; align-self: end; }
.talk-art::after { content: ""; position: absolute; left: 50%; bottom: 2%; width: 70%; height: 24px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent); filter: blur(6px); }
.talk-art img { position: relative; width: 100%; aspect-ratio: 3/4; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .6)); animation: rise 1s cubic-bezier(.2, .7, .2, 1) both; }

/* 비주얼노벨식 대화창 */
.vn-box { position: relative; margin-top: 30px; padding: 30px 26px 26px; background: linear-gradient(180deg, rgba(20, 20, 26, .82), rgba(14, 14, 18, .9)); border: 1px solid var(--ink-line-2); border-radius: 14px; backdrop-filter: blur(8px); box-shadow: 0 18px 50px rgba(0, 0, 0, .4); }
.vn-box::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 2px; background: linear-gradient(90deg, var(--ac, #8a7cff), transparent 75%); border-radius: 2px; }
.vn-name { position: absolute; top: -15px; left: 22px; display: inline-flex; align-items: baseline; gap: 10px; padding: 7px 16px; background: var(--night-3); border: 1px solid var(--ink-line-2); border-left: 3px solid var(--ac, #8a7cff); border-radius: 8px; font-family: var(--display); font-size: 19px; font-weight: 800; color: var(--moon); box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
.vn-name small { font-family: var(--sans); font-size: 12.5px; font-weight: 600; color: var(--ac, #8a7cff); }
.vn-name .vn-latin { font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.vn-name.sm { position: static; top: auto; left: auto; margin-bottom: 10px; font-size: 15px; padding: 5px 12px; }
.vn-box .bubble { font-family: var(--display); font-size: clamp(19px, 1.7vw, 23px); line-height: 1.68; min-height: 40px; color: var(--pale); margin: 0; }
.vn-box.reply { margin-top: 20px; }
.bubble.reply { color: var(--moon); }
.bubble.typing::after { content: "▍"; animation: blink 1s steps(1) infinite; color: var(--ac, #8a7cff); margin-left: 2px; }

.talk-panel > h1 { display: none; }
.choices { display: grid; gap: 10px; margin-top: 26px; }
.choices button { display: flex; align-items: center; gap: 14px; text-align: left; padding: 15px 18px; border: 1px solid var(--ink-line); border-radius: 12px; background: rgba(255, 255, 255, .02); cursor: pointer; font-size: 15.5px; font-weight: 500; color: var(--dim); transition: border-color .15s, color .15s, background .15s, transform .15s; }
.choices button b { font-family: var(--display); font-size: 13px; font-weight: 800; color: var(--ac, #8a7cff); letter-spacing: .04em; min-width: 22px; }
.choices button span { flex: 1; }
.choices button::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); opacity: .4; transition: transform .15s, opacity .15s; }
.choices button:hover { color: var(--pale); border-color: color-mix(in srgb, var(--ac, #8a7cff) 55%, var(--ink-line-2)); background: color-mix(in srgb, var(--ac, #8a7cff) 9%, transparent); transform: translateX(3px); }
.choices button:hover::after { opacity: 1; transform: rotate(-45deg) translate(1px, 1px); }

.welcome, .profile { margin-top: 20px; padding: 22px; }
.welcome strong { display: block; font-family: var(--display); font-size: 21px; }
.welcome p { margin: 4px 0 16px; color: var(--dim); }
.profile h2 { margin: 0 0 8px; font-size: 17px; color: var(--ac); }
.profile h3 { margin: 18px 0 6px; font-family: var(--sans); font-size: 14px; color: var(--faint); font-weight: 600; }
.profile p { margin: 0; color: var(--dim); white-space: pre-line; }
.answer-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.talk-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--ink-line); }
.talk-foot .vote-btn { display: inline-flex; align-items: center; gap: 7px; padding: 10px 18px; border: 1px solid var(--ink-line-2); border-radius: 999px; background: none; color: var(--dim); font-weight: 600; cursor: pointer; transition: color .15s, border-color .15s, background .15s; }
.talk-foot .vote-btn::before { content: "♥"; color: var(--crimson); }
.talk-foot .vote-btn:hover { color: var(--pale); border-color: var(--crimson); background: color-mix(in srgb, var(--crimson) 12%, transparent); }
.talk-foot .vote-btn.done { color: var(--pale); border-color: var(--crimson); }

.other-chars { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; flex-wrap: wrap; }
.other-chars a { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--dim); width: 96px; }
.other-chars img { width: 96px; aspect-ratio: 1; object-fit: cover; object-position: center 22%; border-radius: 2px; }
.other-chars a:hover { color: var(--pale); }
.mini-rewards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mini-rewards li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.mini-rewards li > span:last-child { font-size: 11.5px; color: var(--dim); line-height: 1.3; }

/* 게임 소개 */
.game-info { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.info-panel { padding: 0; background: none; border: 0; }
.info-panel h2 { margin: 0 0 14px; font-size: 20px; }
.info-panel dl { margin: 0; border-top: 1px solid var(--ink-line-2); }
.info-panel dl div { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--ink-line); }
.info-panel dt { color: var(--faint); font-size: 14px; }
.info-panel dd { margin: 0; }
.world h2 { font-size: clamp(26px, 3vw, 36px); margin: 0 0 16px; }
.world p { color: var(--dim); white-space: pre-line; font-family: var(--display); font-size: 18px; line-height: 1.9; margin: 0 0 26px; }
.feature-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink-line-2); }
.feature { padding: 28px 24px 8px 0; }
.feature + .feature { padding-left: 24px; border-left: 1px solid var(--ink-line); }
.feature h3 { margin: 0 0 10px; font-size: 22px; }
.feature p { margin: 0; color: var(--dim); font-size: 15px; }
.feat-icon { display: block; width: 30px; height: 30px; margin-bottom: 18px; background: var(--moon); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.feat-icon { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3 6 6 1-4.5 4 1 6-5.5-3-5.5 3 1-6L3 9l6-1z'/%3E%3C/svg%3E"); }
.feat-icon.parry { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l8 3v6c0 5-3.5 9-8 11-4.5-2-8-6-8-11V5z'/%3E%3C/svg%3E"); }
.feat-icon.dodge { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 12c4-6 10-8 18-6-6 1-10 4-12 8l4 1-9 7 3-10z'/%3E%3C/svg%3E"); }
.feat-icon.exec { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 2l2 2-11 11 2 2-2 2-2-2-4 4-3-1-1-3 4-4-2-2 2-2 2 2z'/%3E%3C/svg%3E"); }
.cta-band { border-top: 1px solid var(--ink-line); }
.cta-band h2 { margin: 0 0 28px; font-size: clamp(24px, 3vw, 34px); }

/* 운명 테스트 */
.fate-stage { padding: 48px 0 96px; }
.fate-wrap { max-width: 720px; }
.fate-step[data-step="intro"] { text-align: center; }
.fate-step h1 { margin: 0; font-size: clamp(34px, 5vw, 56px); font-weight: 900; }
.fate-step .lead { color: var(--dim); font-size: 18px; margin: 12px 0 0; }
.fate-step .desc { color: var(--faint); white-space: pre-line; margin: 18px 0 0; }
.fate-faces { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; max-width: 520px; margin: 0 auto 36px; }
.fate-faces img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: center 22%; }
.fate-meta { list-style: none; display: flex; justify-content: center; gap: 22px; padding: 0; margin: 26px 0 34px; font-size: 14px; color: var(--dim); }
.fate-step.panel { padding: clamp(24px, 4vw, 40px); }
.fate-progress { height: 2px; background: rgba(255, 255, 255, .1); }
.fate-progress i { display: block; height: 100%; background: var(--pale); transition: width .3s; }
.fate-count { margin: 18px 0 8px; color: var(--faint); font-size: 14px; }
.fate-count b { color: var(--pale); font-family: var(--display); }
.fate-step h2 { margin: 0 0 24px; font-size: clamp(21px, 2.6vw, 27px); line-height: 1.45; }
.fate-options { display: flex; flex-direction: column; border-top: 1px solid var(--ink-line-2); }
.fate-options button { display: flex; align-items: baseline; gap: 16px; padding: 17px 4px; border: 0; border-bottom: 1px solid var(--ink-line); background: none; cursor: pointer; text-align: left; font-size: 16px; color: var(--dim); }
.fate-options button b { font-family: var(--display); font-weight: 700; color: var(--faint); width: 14px; flex: none; }
.fate-options button:hover { color: var(--pale); }
.fate-options button[aria-pressed="true"] { color: var(--pale); }
.fate-options button[aria-pressed="true"] b { color: var(--crimson-hi); }
.fate-options button[aria-pressed="true"]::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--crimson-hi); align-self: center; }
.fate-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 28px; }
.fate-card { position: relative; max-width: 400px; margin: 0 auto; }
.fate-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: center 22%; border-radius: 2px; }
.fate-card-body { padding: 22px 0 0; text-align: center; }
.fate-card-body strong { display: block; font-family: var(--display); font-size: 24px; }
.fate-card-body em { font-style: normal; color: var(--ac, var(--brass)); }
.fate-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.fate-actions.minor { gap: 22px; margin-top: 20px; }

/* 이벤트 */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: f; border-top: 1px solid var(--ink-line-2); }
.flow li { counter-increment: f; padding: 20px 18px 6px 0; font-size: 15px; }
.flow li + li { padding-left: 18px; border-left: 1px solid var(--ink-line); }
.flow li::before { content: counter(f); display: block; font-family: var(--display); color: var(--brass); font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.event-rewards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--ink-line-2); }
.event-rewards li { padding: 20px 18px 6px 0; background: none; border: 0; border-radius: 0; }
.event-rewards li + li { padding-left: 18px; border-left: 1px solid var(--ink-line); }
.event-rewards strong { display: block; font-family: var(--display); font-size: 18px; }
.event-rewards span { color: var(--faint); font-size: 14px; }
.detail-table { margin: 0; padding: 0; background: none; border: 0; border-top: 1px solid var(--ink-line-2); }
.detail-table div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--ink-line); }
.detail-table dt { color: var(--faint); }
.detail-table dd { margin: 0; }
.legal-note { padding: 12px 16px; background: var(--night-2); color: var(--dim); font-size: 14px; }
.soon-faces { display: grid; grid-template-columns: repeat(5, 64px); justify-content: center; gap: 4px; margin: 34px 0 4px; }
.soon-faces img { width: 64px; height: 80px; object-fit: cover; object-position: center 22%; }
.page-hero.soon .badge { margin-bottom: 14px; }
.closed-note { color: #ff8095 !important; font-weight: 700; }

/* 소식 목록·본문 */
.tabs { display: flex; gap: 22px; flex-wrap: wrap; margin-bottom: 18px; }
.tabs a { padding: 6px 0; color: var(--faint); font-weight: 600; font-size: 15px; }
.tabs a.on { color: var(--pale); box-shadow: inset 0 -1px 0 var(--pale); }
.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink-line-2); }
.news-list a { display: grid; grid-template-columns: 96px 1fr auto; align-items: baseline; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--ink-line); }
.news-list strong { font-family: var(--display); font-size: 18px; font-weight: 700; }
.news-list a:hover strong { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.pin { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--crimson-hi); margin-right: 10px; vertical-align: middle; }
.pager { display: flex; justify-content: center; gap: 4px; margin-top: 32px; }
.pager a { min-width: 36px; height: 36px; display: grid; place-items: center; color: var(--faint); }
.pager a.on { color: var(--pale); box-shadow: inset 0 -1px 0 var(--pale); }
.article-head { padding-bottom: 24px; border-bottom: 1px solid var(--ink-line-2); }
.article-head h1 { margin: 12px 0 8px; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.35; }
.article-head time { color: var(--faint); font-size: 14px; }
.article-thumb { margin: 28px 0 0; }
.article-body { padding: 32px 0 44px; white-space: pre-line; font-size: 17px; line-height: 1.9; color: var(--dim); }
.legal h1 { margin: 0; font-size: 32px; }
.legal-body { color: var(--dim); font-size: 15px; line-height: 1.85; margin-top: 28px; }
.legal-body h2 { color: var(--pale); font-size: 19px; margin: 34px 0 8px; }
.legal-body ul { padding-left: 20px; }

/* ───────── 회사소개 ───────── */
.company-intro { text-align: center; padding-top: calc(var(--head-h) + 70px); }
.company-logo { width: 180px; height: auto; margin: 0 auto 36px; }
.company-intro h1 { margin: 0 0 22px; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.35; }
.company-intro p { margin: 0 auto 12px; max-width: 560px; color: var(--dim); font-size: 17px; line-height: 1.75; }
.company-intro .company-vision { margin-top: 30px; color: var(--pale); font-weight: 600; }
.company h2 { margin: 0 0 26px; font-size: 22px; text-align: center; }
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 560px; }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--ink-line); }
.timeline li:last-child { border-bottom: 1px solid var(--ink-line); }
.timeline time { color: var(--brass); font-weight: 700; font-variant-numeric: tabular-nums; }
.timeline span { color: var(--pale); }
.ci-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ci-pair figure { margin: 0; display: grid; place-items: center; aspect-ratio: 16/10; border-radius: 4px; }
.ci-dark { background: #1a1a1a; border: 1px solid var(--ink-line); }
.ci-dark img { width: 34%; height: auto; }
.ci-light { background: #ebebeb; }
.ci-light img { width: 52%; height: auto; filter: invert(1); }
.info-list { margin: 0 auto; max-width: 560px; }
.info-list div { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 14px 0; border-top: 1px solid var(--ink-line); }
.info-list div:last-child { border-bottom: 1px solid var(--ink-line); }
.info-list dt { color: var(--faint); }
.info-list dd { margin: 0; color: var(--pale); }
.info-list a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
    .timeline li, .info-list div { grid-template-columns: 1fr; gap: 4px; }
    .ci-pair { grid-template-columns: 1fr; }
}

/* ───────── 하단 ───────── */
.site-foot { background: #0b0b0b; border-top: 1px solid rgba(255, 255, 255, .06); padding: 36px 0 44px; }
.foot-wrap { max-width: 1040px; margin: 0 auto; padding: 0 var(--gutter); }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 24px; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.foot-links a { font-size: 15px; color: rgba(255, 255, 255, .5); letter-spacing: -.03em; }
.foot-links a:hover { color: rgba(255, 255, 255, .8); }
.foot-links a.strong { color: #fff; font-weight: 600; }
.foot-body { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-top: 18px; }
.foot-info p { margin: 0; font-size: 13px; line-height: 20px; color: rgba(255, 255, 255, .5); }
.foot-info span + span::before { content: ""; display: inline-block; width: 1px; height: 10px; margin: 0 10px; background: rgba(255, 255, 255, .2); vertical-align: -1px; }
.foot-info a { text-decoration: underline; text-underline-offset: 2px; }
.foot-copy { margin-top: 12px !important; }
.foot-lang-btn { display: inline-flex; align-items: center; gap: 8px; width: 140px; height: 36px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 4px; background: transparent; color: #ebebeb; font-size: 13px; cursor: pointer; }
.foot-lang-btn span { flex: 1; text-align: left; }
.foot-lang-btn svg { font-size: 14px; stroke-width: 1.6; }
.foot-lang-btn .chev { font-size: 14px; color: rgba(255, 255, 255, .5); }
.mbar { display: none; }

/* ───────── 모달 ───────── */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4, 6, 12, .82); }
.modal-panel { position: relative; width: min(500px, 100%); max-height: calc(100svh - 32px); overflow-y: auto; padding: 34px 30px 28px; border-radius: 4px; background: var(--night-2); border: 1px solid var(--ink-line-2); }
.modal-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: none; cursor: pointer; font-size: 20px; color: var(--dim); z-index: 2; }
.modal-x:hover { color: var(--pale); }
.prereg-form h2 { margin: 0 0 20px; font-size: 24px; }
.prereg-form .mini-rewards { margin-bottom: 24px; }
.fld-label { display: block; margin: 18px 0 8px; font-size: 14px; font-weight: 600; color: var(--dim); }
.prereg-form input[type=tel], .prereg-form input[type=email] { width: 100%; height: 48px; padding: 0 14px; border-radius: 3px; border: 1px solid var(--ink-line-2); background: var(--night); color: var(--pale); font-size: 16px; outline: none; }
.prereg-form input:focus { border-color: var(--moon); }
.prereg-form input::placeholder { color: rgba(238, 241, 246, .28); }
.phone-row { display: grid; grid-template-columns: 104px 1fr; gap: 8px; }
.select { position: relative; }
.select-btn { width: 100%; height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 0 10px 0 14px; border-radius: 3px; border: 1px solid var(--ink-line-2); background: var(--night); cursor: pointer; font-weight: 600; }
.select-btn svg { font-size: 15px; color: var(--faint); }
.select.open .select-btn { border-color: var(--moon); }
.select-list { position: absolute; left: 0; top: calc(100% + 4px); z-index: 5; width: 230px; max-height: 260px; overflow-y: auto; margin: 0; padding: 4px 0; list-style: none; background: var(--night-2); border: 1px solid var(--ink-line-2); border-radius: 3px; display: none; }
.select.open .select-list { display: block; }
.select-list li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 14px; cursor: pointer; font-size: 14px; color: var(--dim); }
.select-list li b { color: var(--faint); font-weight: 500; }
.select-list li:hover { background: rgba(255, 255, 255, .05); color: var(--pale); }
.select-list li[aria-selected="true"] { color: var(--pale); font-weight: 700; }
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; }
.chips span { display: flex; align-items: center; justify-content: center; height: 42px; border-radius: 3px; border: 1px solid var(--ink-line-2); font-weight: 600; font-size: 14px; color: var(--dim); }
.chips input:checked + span { border-color: var(--pale); color: var(--pale); }
.chips input:focus-visible + span { outline: 2px solid var(--moon); outline-offset: 2px; }
.consents { margin: 24px 0 18px; display: flex; flex-direction: column; gap: 10px; }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 13.5px; color: var(--dim); line-height: 1.5; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 18px; height: 18px; margin: 1px 0 0; border-radius: 2px; border: 1px solid var(--ink-line-2); background: var(--night); display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--pale); border-color: var(--pale); }
.check input:checked::after { content: ""; width: 9px; height: 5px; border-left: 2px solid var(--night); border-bottom: 2px solid var(--night); transform: rotate(-45deg) translate(1px, -1px); }
.check.all { padding-bottom: 12px; border-bottom: 1px solid var(--ink-line); font-weight: 700; color: var(--pale); font-size: 14.5px; }
.check-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.check-row .link-btn { font-size: 12.5px; white-space: nowrap; }
.privacy-summary { margin: 0 0 0 28px; padding: 10px 12px; background: var(--night); font-size: 12.5px; color: var(--faint); white-space: pre-line; line-height: 1.6; }
.form-error { margin: 0 0 12px; padding: 10px 12px; background: rgba(179, 18, 46, .14); color: #ffb0bc; font-size: 14px; }
.prereg-done { text-align: center; padding: 16px 0 4px; }
.done-mark { width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 50%; border: 1px solid var(--pale); display: grid; place-items: center; }
.done-mark svg { width: 26px; height: 26px; stroke: var(--pale); stroke-width: 2.5; }
.prereg-done h2 { margin: 0 0 12px; font-size: 24px; }
.prereg-done p { margin: 0; color: var(--dim); white-space: pre-line; }
.done-actions { display: flex; gap: 10px; justify-content: center; margin-top: 28px; }
.video-modal .video-frame { position: relative; width: min(1100px, 100%); }
.video-modal .modal-x { top: -44px; right: -6px; }
.video-box { position: relative; aspect-ratio: 16/9; background: #000; }
.video-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 90; padding: 11px 18px; border-radius: 3px; background: var(--pale); color: var(--night); font-weight: 600; font-size: 14px; }

/* ───────── 반응형 ───────── */
@media (max-width: 1100px) {
    .gnb-menu { display: none; }
    .gnb-burger { display: flex; }
    .reward-grid { grid-template-columns: repeat(4, minmax(0, 150px)); }
    .feature-grid, .news-grid, .event-rewards { grid-template-columns: repeat(2, 1fr); }
    .feature:nth-child(3), .news-card:nth-child(3), .event-rewards li:nth-child(3) { border-left: 0; padding-left: 0; }
    .char-layout { grid-template-columns: 1fr; }
    .ranking { position: static; }
    .talk-grid, .game-info { grid-template-columns: 1fr; min-height: 0; }
    .talk-art { max-width: 340px; margin: 0 auto; }
    .vn-box { padding: 28px 18px 20px; }
    .flow { grid-template-columns: repeat(3, 1fr); }
    .flow li:nth-child(4) { border-left: 0; padding-left: 0; }
}
@media (max-width: 760px) {
    :root { --gnb-h: 56px; --top-h: 36px; }
    .gnb-inner { gap: 12px; }
    .gnb-logo img { height: 26px; }
    .topbar .visits, .topbar .pill, .gnb-cta, .sound-text, .sns { display: none; }
    .foot-body { flex-direction: column; }
    .foot-info span { display: block; }
    .foot-info span + span::before { display: none; }
    .hero { padding-bottom: 96px; }
    .hero-bg { background-position: 55% 18%; }
    .hero-shade { background: linear-gradient(0deg, var(--night) 8%, rgba(18, 18, 18, .75) 48%, rgba(18, 18, 18, .1) 80%); }
    .hero-actions .btn-cta { width: 100%; }
    .reward-grid { grid-template-columns: repeat(2, minmax(0, 150px)); gap: 26px 22px; }
    .steps { grid-template-columns: 1fr; gap: 18px; }
    .steps li, .steps li + li { padding: 0; border: 0; }
    .exp-grid { grid-template-columns: 1fr; gap: 0; }
    .exp-card.story, .exp-card.parry, .exp-card.fate, .exp-card.costume { grid-column: 1; grid-row: auto; }
    .exp-card.story { margin-bottom: 28px; }
    .exp-card { grid-template-columns: 96px 1fr; gap: 16px; }
    .exp-art { width: 96px; }
    .event-banner { grid-template-columns: 1fr; padding: 26px 22px; }
    .show-item { grid-template-columns: 1fr; gap: 22px; text-align: center; }
    .show-copy blockquote { margin-left: auto; margin-right: auto; }
    .show-art { aspect-ratio: 2/3; max-width: 340px; margin: 0 auto; }
    .show-thumbs { gap: 4px; }
    .news-grid { grid-template-columns: 1fr; }
    .news-card, .news-card + .news-card { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--ink-line); }
    .sec-head.row { align-items: flex-start; flex-direction: column; }
    .char-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-grid, .event-rewards { grid-template-columns: 1fr; }
    .feature, .feature + .feature, .event-rewards li, .event-rewards li + li { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--ink-line); }
    .flow { grid-template-columns: 1fr 1fr; }
    .flow li:nth-child(n) { border-left: 0; padding-left: 0; }
    .detail-table div { grid-template-columns: 1fr; gap: 2px; }
    .news-list a { grid-template-columns: 1fr; gap: 4px; }
    .slot.sm { width: 56px; }
    .foot-info { flex-direction: column; }
    .mbar { position: fixed; inset: auto 0 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(18, 18, 18, .96); border-top: 1px solid var(--ink-line-2); }
    .mbar-count { font-size: 12px; color: var(--dim); }
    .mbar-count b { color: var(--pale); }
    .mbar .btn-cta { height: 44px; padding: 0 20px; }
    .site-foot { padding-bottom: 104px; }
    .modal { padding: 0; align-items: end; }
    .modal-panel { width: 100%; max-height: 92svh; border-radius: 6px 6px 0 0; padding: 28px 18px calc(22px + env(safe-area-inset-bottom)); }
    .video-modal { align-items: center; padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ───────── 스크롤 등장 (스크립트가 켜졌을 때만) ───────── */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--rd, 0ms); }
.js-reveal [data-reveal="fade"] { transform: none; }
.js-reveal [data-reveal="scale"] { transform: scale(.96); }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .js-reveal [data-reveal] { opacity: 1; transform: none; }
}

.hero-title, .show-copy h3, .talk-panel h1, .fate-step h1 { font-weight: 900; }
