@charset "UTF-8";

/* 글꼴: Pretendard GOV(OFL)를 자주 쓰는 한글 2,350자와 영문만 남겨 줄였다(tools/subset_fonts.py). 없는 글자는 시스템 글꼴로 그린다 */
@font-face { font-family: "PretendardGOV"; font-weight: 400; font-display: swap; src: url("../fonts/PretendardGOV-Regular.subset.woff2") format("woff2"); }
@font-face { font-family: "PretendardGOV"; font-weight: 600; font-display: swap; src: url("../fonts/PretendardGOV-SemiBold.subset.woff2") format("woff2"); }
@font-face { font-family: "PretendardGOV"; font-weight: 800; font-display: swap; src: url("../fonts/PretendardGOV-ExtraBold.subset.woff2") format("woff2"); }

:root {
  --bg: #070b16;
  --bg-2: #0b1222;
  --card: #0f1729;
  --card-2: #131d33;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eef2f9;
  --sub: #9aa6bd;
  --dim: #6b7790;
  --primary: #3b82f6;
  --primary-2: #60a5fa;
  --play: #22c55e;
  --star: #fbbf24;
  --danger: #f87171;
  --acc: #3b82f6;
  --radius: 18px;
  --wrap: 1180px;
  --font: "PretendardGOV", "Pretendard GOV", "Pretendard", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 16px; line-height: 1.65; word-break: keep-all; overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.3; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--sub); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--primary-2); outline-offset: 3px; border-radius: 8px; }

/* ---------- 머리 ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(7, 11, 22, 0.78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top-in { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 32px; width: auto; }
.brand-sub { white-space: nowrap; font-weight: 800; font-size: 15px; color: var(--sub); padding-left: 12px; border-left: 1px solid var(--line-2); }
.nav { display: flex; gap: 8px; }
.nav a { display: inline-flex; align-items: center; white-space: nowrap; min-height: 44px; padding: 0 14px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--sub); transition: color .15s, background .15s; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav a.on { color: var(--text); background: rgba(255, 255, 255, 0.08); }

/* ---------- 단추 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 14px; font-weight: 600; font-size: 16px; border: 1px solid transparent; cursor: pointer;
  transition: transform .12s, background .15s, border-color .15s, box-shadow .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35); }
.btn-primary:hover { background: #2f74e8; }
.btn-ghost { border-color: var(--line-2); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.06); }
.btn-play { background: #fff; color: #0b1222; }
.btn-play svg { color: var(--play); }
.btn-play:hover { box-shadow: 0 6px 22px rgba(255, 255, 255, 0.2); }
.btn-steam { background: #1b2838; color: #e6eef7; border-color: #3d6b8f; }
.btn-steam:hover { background: #22364b; }
.btn-off { background: rgba(255, 255, 255, 0.05); color: var(--dim); border-color: var(--line); cursor: default; }
.btn-small { min-height: 44px; padding: 0 16px; font-size: 15px; border-radius: 12px; }
.btn-big { min-height: 54px; padding: 0 26px; font-size: 17px; }
.btn[disabled] { opacity: .5; cursor: default; }

.chip { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: color-mix(in srgb, var(--acc) 70%, #fff); background: color-mix(in srgb, var(--acc) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--acc) 35%, transparent); }
.chip-wait { color: #fcd34d; background: rgba(252, 211, 77, 0.1); border-color: rgba(252, 211, 77, 0.3); }

/* ---------- 첫 화면 ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 56px; }
.hero-glow { position: absolute; inset: -20% -10% auto; height: 120%; pointer-events: none;
  background:
    radial-gradient(40% 50% at 78% 40%, rgba(110, 58, 217, 0.35), transparent 70%),
    radial-gradient(35% 45% at 20% 30%, rgba(59, 130, 246, 0.22), transparent 70%),
    radial-gradient(30% 40% at 60% 90%, rgba(34, 197, 94, 0.10), transparent 70%); }
.hero-in { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.2em; color: var(--primary-2); margin-bottom: 18px; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; }
.hero-count { background: linear-gradient(90deg, #93c5fd, #c4b5fd 55%, #f9a8d4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin-top: 20px; font-size: 18px; color: var(--sub); max-width: 32em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-stage { display: flex; justify-content: center; }

/* 폰 틀 */
.phone { position: relative; display: block; width: min(300px, 70vw); aspect-ratio: 9 / 16; border-radius: 34px; padding: 10px;
  background: linear-gradient(160deg, #1d2740, #0b1020); border: 1px solid var(--line-2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 90px color-mix(in srgb, var(--acc) 35%, transparent); }
.phone-wide { width: 100%; max-width: 640px; aspect-ratio: 16 / 9; border-radius: 26px; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 26px; overflow: hidden; background: #000; }
.phone-wide .phone-screen { border-radius: 18px; }
.phone-screen video, .phone-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* 가운데 기준(left 50%)이라 그대로 두면 폭이 폰의 절반으로 묶여 글이 이름표 밖으로 나간다(11/19 사용자 지적) → 글 길이만큼 */
.phone-tag { position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 32px); display: flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(15, 23, 41, 0.92); border: 1px solid var(--line-2);
  font-weight: 700; white-space: nowrap; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); }
.phone-tag img { width: 36px; height: 36px; border-radius: 10px; }

/* 사진 넘기기(영상이 없을 때) */
[data-slides] img { opacity: 0; transition: opacity .8s ease; }
[data-slides] img.show { opacity: 1; animation: kb 4.2s ease-out both; }
@keyframes kb { from { transform: scale(1.06); } to { transform: scale(1); } }

/* ---------- 마디 머리 ---------- */
.sec-head { margin-bottom: 24px; }
.sec-head h2, .sec-head h1 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.sec-sub { margin-top: 8px; color: var(--sub); }

/* ---------- 영상 줄 ---------- */
.reel-sec { padding: 48px 0 24px; }
.reel { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px max(24px, calc((100vw - var(--wrap)) / 2 + 24px)) 28px;
  scroll-padding-inline: max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); scroll-behavior: smooth;
  scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.2) transparent; }
.reel-card { flex: 0 0 auto; width: 210px; scroll-snap-align: start; border-radius: var(--radius); background: var(--card);
  border: 1px solid var(--line); overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s; }
.reel-card.wide { width: 420px; }
.reel-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--acc) 60%, transparent);
  box-shadow: 0 16px 40px color-mix(in srgb, var(--acc) 25%, transparent); }
.reel-media { position: relative; aspect-ratio: 9 / 16; background: #000; overflow: hidden; }
.reel-card.wide .reel-media { aspect-ratio: auto; height: 373px; }
.reel-media video, .reel-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* 가로 게임은 줄 높이에 맞추면 좌우가 37% 잘려(11/19 새 눈 점검) 통째로 보이게 위아래를 비운다 */
.reel-card.wide .reel-media video, .reel-card.wide .reel-media img { object-fit: contain; }
.reel-badge { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: rgba(0, 0, 0, 0.6); color: #cbd5e1; backdrop-filter: blur(6px); }
.reel-meta { display: flex; align-items: center; gap: 12px; padding: 14px; }
.reel-meta img { width: 40px; height: 40px; border-radius: 11px; flex: 0 0 auto; }
.reel-meta strong { display: block; font-size: 15px; line-height: 1.3; }
.reel-meta span { font-size: 13px; color: var(--sub); }

/* ---------- 게임 카드 ---------- */
.all-sec { padding: 40px 0 24px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--card);
  border: 1px solid var(--line); overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--acc) 55%, transparent);
  box-shadow: 0 18px 44px color-mix(in srgb, var(--acc) 22%, transparent); }
.card-art { display: block; aspect-ratio: 1024 / 500; overflow: hidden; background: #000; }
.card-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-art img { transform: scale(1.04); }
.card-body { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 48px 22px 22px; flex: 1; }
.card-icon { position: absolute; left: 20px; top: -40px; width: 72px; height: 72px; border-radius: 18px;
  border: 3px solid var(--card); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45); background: var(--card); }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.card-body .card-tags { position: absolute; right: 20px; top: 14px; justify-content: flex-end; }
.card h3 { font-size: 20px; font-weight: 800; }
.card-sum { color: var(--sub); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-rating { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 8px; }

.stars { position: relative; display: inline-block; width: 90px; height: 18px; vertical-align: -3px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath fill='%23334155' d='M9 1.3l2.3 4.8 5.2.7-3.8 3.6.9 5.2L9 13.1l-4.6 2.5.9-5.2L1.5 6.8l5.2-.7z'/%3E%3C/svg%3E") repeat-x 0 0 / 18px 18px; }
.stars-fill { position: absolute; inset: 0 auto 0 0; max-width: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath fill='%23fbbf24' d='M9 1.3l2.3 4.8 5.2.7-3.8 3.6.9 5.2L9 13.1l-4.6 2.5.9-5.2L1.5 6.8l5.2-.7z'/%3E%3C/svg%3E") repeat-x 0 0 / 18px 18px; }

/* ---------- 의견 남기기 ---------- */
.talk-sec { padding: 40px 0 72px; }
.talk { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.talk-card { display: flex; flex-direction: column; gap: 12px; padding: 32px; border-radius: var(--radius);
  background: linear-gradient(150deg, var(--card-2), var(--card)); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.talk-card:hover { border-color: rgba(96, 165, 250, 0.5); transform: translateY(-2px); }
.talk-card h3 { font-size: 22px; font-weight: 800; }
.talk-card p { color: var(--sub); }
.talk-go { margin-top: 8px; font-weight: 700; color: var(--primary-2); }
.talk-go::after { content: " →"; }

/* ---------- 게임 쪽 ---------- */
.g-hero { position: relative; overflow: hidden; padding: 64px 0 48px; border-bottom: 1px solid var(--line); }
.g-hero-bg { position: absolute; inset: 0; }
.g-hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(28px) saturate(1.2); transform: scale(1.15); opacity: 0.4; }
.g-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 11, 22, 0.4), var(--bg) 92%); }
.g-hero-in { position: relative; display: flex; gap: 32px; align-items: flex-start; }
.g-icon { width: 128px; height: 128px; border-radius: 30px; flex: 0 0 auto; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 60px color-mix(in srgb, var(--acc) 40%, transparent); }
.g-title { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.g-title h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
.g-sum { font-size: 18px; color: #cdd6e6; max-width: 40em; }
.g-title .hero-actions { margin-top: 12px; }

.g-main { display: grid; grid-template-columns: 340px 1fr; gap: 56px; padding-top: 56px; padding-bottom: 32px; align-items: start; }
.g-video { position: sticky; top: 92px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.g-video .phone { width: 320px; max-width: 100%; }
.g-video.wide { grid-column: 1 / -1; position: static; }
.g-video.wide .phone { width: min(760px, 100%); }
.g-video-note { font-size: 14px; color: var(--dim); text-align: center; }
.g-main:has(.g-video.wide) { grid-template-columns: 1fr; }
.g-desc h2 { font-size: 26px; font-weight: 800; margin-bottom: 16px; }
.g-desc h3 { font-size: 19px; font-weight: 800; margin: 28px 0 8px; color: color-mix(in srgb, var(--acc) 55%, #fff); }
.g-desc p { color: #c9d2e3; margin-bottom: 14px; max-width: 46em; }
.g-pkg { margin-top: 24px; font-size: 14px; }

.g-shots-sec { padding: 32px 0 16px; }
.g-shots-sec h2 { font-size: 24px; font-weight: 800; margin-bottom: 16px; }
.shots { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(24px, calc((100vw - var(--wrap)) / 2 + 24px)) 20px;
  scroll-padding-inline: max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); }
.shot { flex: 0 0 auto; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #000; cursor: zoom-in; scroll-snap-align: start; }
.shot img { height: 420px; width: auto; }
.shot.wide img { height: 300px; }

.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px;
  background: rgba(3, 6, 14, 0.92); backdrop-filter: blur(6px); }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; max-width: 92vw; width: auto; border-radius: 12px; }
.lb-close { position: absolute; top: 18px; right: 18px; min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.08); cursor: pointer; font-weight: 600; }

.more-sec { padding-top: 40px; padding-bottom: 80px; }
.more-sec h2 { font-size: 24px; font-weight: 800; margin-bottom: 20px; }
.more { display: grid; grid-template-columns: repeat(auto-fill, minmax(116px, 1fr)); gap: 16px; }
.more-item { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 10px; border-radius: 16px;
  border: 1px solid var(--line); background: var(--card); text-align: center; font-size: 14px; font-weight: 600; transition: border-color .2s, transform .2s; }
.more-item:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--acc) 60%, transparent); }
.more-item img { width: 64px; height: 64px; border-radius: 16px; }

/* ---------- 게시판 ---------- */
.talk-wrap { padding-top: 40px; padding-bottom: 24px; }
.board-page { padding-top: 48px; padding-bottom: 80px; }
.board { border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); padding: 8px 0 24px; }
.board-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-right: 20px; }
.tabs { display: flex; gap: 8px; padding: 12px 16px 0; }
.tabs button { min-height: 46px; padding: 0 20px; border: 0; border-radius: 12px; background: transparent; color: var(--sub);
  font-weight: 700; font-size: 16px; cursor: pointer; }
.tabs button:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.tabs button.on { color: var(--text); background: rgba(255, 255, 255, 0.08); }
.game-filter select, .admin-bar select { min-height: 44px; padding: 0 40px 0 14px; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239aa6bd' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center;
  appearance: none; -webkit-appearance: none; margin-top: 12px; cursor: pointer; }

.board-body { padding: 0 24px; }
.b-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0 18px; border-bottom: 1px solid var(--line); }
.b-sum { display: flex; align-items: center; gap: 14px; }
.b-avg { font-size: 40px; font-weight: 800; line-height: 1; }
.b-dist { display: grid; gap: 4px; min-width: 180px; }
.b-dist div { display: grid; grid-template-columns: 18px 1fr 28px; align-items: center; gap: 8px; font-size: 12px; color: var(--sub); }
.b-bar { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.b-bar i { display: block; height: 100%; background: var(--star); border-radius: 3px; }
.b-help { color: var(--sub); font-size: 15px; }

.b-form { margin: 20px 0 8px; padding: 22px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); display: grid; gap: 14px; }
.b-form[hidden] { display: none; }
.b-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.b-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--sub); }
.b-form input[type=text], .b-form input[type=password], .b-form textarea, .b-form select, .admin input[type=password], .admin textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg);
  color: var(--text); font-size: 16px; }
.b-form textarea, .admin textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.b-form input:focus, .b-form textarea:focus, .b-form select:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2); }
.b-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.b-rate { display: flex; gap: 4px; }
.b-rate button { width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; color: #334155; }
.b-rate button svg { width: 34px; height: 34px; }
.b-rate button.on { color: var(--star); }
.b-check { display: flex !important; grid-template-columns: none !important; align-items: center; gap: 10px; color: var(--text) !important; }
.b-check input { width: 20px; height: 20px; accent-color: var(--primary); }
.b-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: flex-end; }
.b-msg { margin-right: auto; font-size: 14px; color: var(--sub); }
.b-msg.err { color: var(--danger); }
.b-note { font-size: 13px; color: var(--dim); }

.b-list { list-style: none; margin: 0; padding: 0; }
.b-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.b-item-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.b-title { font-weight: 700; font-size: 17px; }
.b-lock { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--sub); }
.b-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px; font-size: 13px; color: var(--dim); }
.b-text { margin-top: 10px; white-space: pre-wrap; color: #d3dbea; }
.b-reply { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: rgba(59, 130, 246, 0.08); border: 1px solid rgba(59, 130, 246, 0.22); }
.b-reply strong { display: block; font-size: 13px; color: var(--primary-2); margin-bottom: 4px; }
.b-reply p { white-space: pre-wrap; color: #d3dbea; }
.b-state { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.b-state.done { color: #86efac; background: rgba(34, 197, 94, 0.12); }
.b-state.wait { color: var(--sub); background: rgba(255, 255, 255, 0.06); }
.b-tools { display: flex; gap: 8px; margin-top: 10px; }
.b-link { padding: 0 14px; min-height: 44px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--sub); font-size: 13px; cursor: pointer; }
.b-link:hover { color: var(--text); border-color: var(--line-2); }
.b-unlock { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.b-unlock input { min-height: 44px; padding: 6px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); width: 200px; }
.b-empty { padding: 40px 0; text-align: center; color: var(--sub); }
.b-pages { display: flex; justify-content: center; gap: 8px; padding-top: 20px; }
.b-pages button { min-width: 44px; min-height: 44px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--sub); cursor: pointer; }
.b-pages button.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.b-game { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: #cbd5e1; }

/* ---------- 관리 ---------- */
.admin { padding-top: 48px; padding-bottom: 80px; }
.admin h1 { font-size: 28px; margin-bottom: 20px; }
.admin-login { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.admin-login label { display: grid; gap: 6px; font-weight: 600; color: var(--sub); }
.admin-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 12px 0 16px; }
.admin-bar select { margin-top: 0; }
.admin-check { display: flex; gap: 8px; align-items: center; }
.admin-item { padding: 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); margin-bottom: 12px; }
.admin-item.hid { opacity: 0.55; }
.admin-item textarea { margin-top: 10px; min-height: 90px; }
.admin-item .b-actions { margin-top: 10px; }

/* ---------- 꼬리 ---------- */
.foot { border-top: 1px solid var(--line); background: #050811; padding: 40px 0 28px; }
.foot-in { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.foot-in img { height: 28px; width: auto; opacity: 0.85; }
.foot-line { margin-top: 12px; color: var(--sub); font-size: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 20px; font-size: 14px; color: var(--sub); }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; }
.foot-links a:hover { color: var(--text); }
.foot-copy { max-width: var(--wrap); margin: 24px auto 0; padding: 0 24px; font-size: 12px; color: var(--dim); }

/* ---------- 좁은 화면 ---------- */
@media (max-width: 900px) {
  .hero { padding: 40px 0 56px; }
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .hero-stage { order: -1; }
  .phone { width: min(240px, 62vw); }
  .g-main { grid-template-columns: 1fr; gap: 32px; padding-top: 36px; }
  .g-video { position: static; }
  .talk { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap, .top-in, .foot-in, .foot-copy { padding-left: 16px; padding-right: 16px; }
  .top-in { height: 60px; }
  .brand img { height: 26px; }
  .brand-sub { display: none; }
  .nav { gap: 2px; }
  .nav a { padding: 8px 10px; font-size: 14px; }
  .nav a.nav-home { display: none; }
  .hero-sub { font-size: 16px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .reel { padding-left: 16px; padding-right: 16px; gap: 12px; }
  .reel-card { width: 160px; }
  .reel-card.wide { width: 300px; }
  .reel-card.wide .reel-media { height: 284px; }
  .grid { grid-template-columns: 1fr; gap: 18px; }
  .card-body { padding: 44px 18px 18px; }
  .g-hero { padding: 36px 0 32px; }
  .g-hero-in { flex-direction: column; gap: 20px; }
  .g-icon { width: 96px; height: 96px; border-radius: 24px; }
  .g-sum { font-size: 16px; }
  .g-title .hero-actions .btn { flex: 1 1 auto; }
  .shots { padding-left: 16px; padding-right: 16px; }
  .shot img { height: 340px; }
  .shot.wide img { height: 190px; }
  .board-body { padding: 0 16px; }
  .tabs { padding: 12px 8px 0; }
  .tabs button { padding: 0 14px; }
  .board-top { padding-right: 0; padding-left: 8px; padding-bottom: 4px; }
  .b-row { grid-template-columns: 1fr; }
  .b-form { padding: 16px; }
  .talk-card { padding: 24px; }
}

/* ---------- 11/19 검토 뒤 더함 ---------- */
.card-rating a { display: inline-flex; align-items: center; min-height: 44px; }
.reel-sec .wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.reel-nav { display: flex; gap: 8px; margin-bottom: 24px; }
.reel-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04);
  color: var(--text); font-size: 24px; line-height: 1; cursor: pointer; transition: background .15s, border-color .15s; }
.reel-btn:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.3); }
@media (hover: none) { .reel-nav { display: none; } }
.g-desc ul { margin: 0 0 14px; padding-left: 20px; color: #c9d2e3; max-width: 46em; }
.g-desc li { margin: 4px 0; }
.b-notice { margin: 16px 0 0; padding: 12px 16px; border-radius: 12px; background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3); color: #bbf7d0; font-size: 15px; }
.err { padding-top: 96px; padding-bottom: 120px; }
.err h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.err .sec-sub { margin-top: 12px; }
@media (prefers-reduced-motion: reduce) {
  html, .reel { scroll-behavior: auto; }
  [data-slides] img.show { animation: none; }
}
