/* ============================================================
   ZION PBE - 공용 스타일 (화이트 클린 톤)
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f8fa;
  --ink: #0f172a;
  --ink-sub: #475569;
  --ink-faint: #94a3b8;
  --line: #e2e8f0;
  --brand: #1b2657;        /* 로고 네이비 */
  --brand-2: #33418f;      /* 밝은 네이비 (그라데이션용) */
  --brand-soft: #eef0f9;
  --pink: #ee2a5f;         /* 로고 핑크 */
  --pink-soft: #fdeaf1;
  --accent: #059669;       /* 적중 그린 */
  --accent-soft: #ecfdf5;
  --warn: #d97706;
  --warn-soft: #fffbeb;
  --lose: #dc2626;
  --lose-soft: #fef2f2;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
  --font: "Pretendard", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 20px; letter-spacing: -.02em;
}
.logo .logo-mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand-2), var(--pink));
  color: #fff; display: grid; place-items: center;
  font-size: 15px; font-weight: 900;
}
.logo .logo-sub { color: var(--pink); }
.logo > span { display: flex; flex-direction: column; line-height: 1.05; }
.logo .logo-word { font-weight: 800; white-space: nowrap; }
.logo .logo-tag {
  font-size: 8.5px; font-weight: 700; letter-spacing: .14em;
  color: var(--ink-faint); margin-top: 3px;
}

.gnb { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.gnb a { color: var(--ink-sub); font-weight: 500; transition: color .15s; }
.gnb a:hover, .gnb a.active { color: var(--ink); }
.gnb a.btn-primary, .gnb a.btn-primary:hover { color: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 10px;
  font-weight: 700; font-size: 15px; cursor: pointer;
  border: 1px solid transparent; transition: all .15s;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: #2a3775; transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--pink); color: var(--pink); }
.btn-lg { padding: 15px 32px; font-size: 16px; border-radius: 12px; }

/* ---------- 히어로 ---------- */
.hero {
  padding: 96px 0 80px;
  background:
    radial-gradient(600px 300px at 80% 0%, var(--pink-soft), transparent),
    radial-gradient(500px 260px at 10% 10%, var(--brand-soft), transparent);
  text-align: center;
}
.hero .badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 16px; font-size: 13.5px; font-weight: 600; color: var(--ink-sub);
  box-shadow: var(--shadow); margin-bottom: 28px;
}
.hero .badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }
.hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.2;
  margin-bottom: 20px;
}
.hero h1 .hl { color: var(--pink); }
.hero .lead {
  font-size: clamp(16px, 2vw, 19px); color: var(--ink-sub);
  max-width: 640px; margin: 0 auto 36px;
}
.hero .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* 히어로 지표 스트립 */
.stat-strip {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
  max-width: 520px; margin: 56px auto 0;
}
.stat-card .num { font-size: 28px; }
.stat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 16px; box-shadow: var(--shadow);
}
.stat-card .num { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.stat-card .num.green { color: var(--pink); }
.stat-card .num.blue { color: var(--brand); }
.stat-card .lbl { font-size: 13.5px; color: var(--ink-faint); margin-top: 4px; }

/* ---------- 공통 섹션 ---------- */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 52px; }
.section-head .eyebrow {
  color: var(--pink); font-weight: 700; font-size: 14px;
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
.section-head p { color: var(--ink-sub); font-size: 16.5px; }

/* 3단 특징 카드 */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow);
}
.feature-card .icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-soft), var(--pink-soft)); display: grid; place-items: center;
  font-size: 22px; margin-bottom: 18px;
}
.feature-card h3 { font-size: 18.5px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--ink-sub); font-size: 15px; }

/* 파이프라인 (작동 방식) */
.pipeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: step; }
.pipe-step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; position: relative;
}
.pipe-step .step-no {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 800; font-size: 14px;
  margin-bottom: 14px;
}
.pipe-step h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.pipe-step p { font-size: 14px; color: var(--ink-sub); }

/* 신뢰성 섹션 */
.trust-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.trust-list li {
  display: flex; gap: 14px; padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.trust-list li:last-child { border-bottom: none; }
.trust-list .check {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-weight: 800; font-size: 14px; margin-top: 2px;
}
.trust-list h4 { font-size: 16px; font-weight: 700; }
.trust-list p { font-size: 14.5px; color: var(--ink-sub); }

.trust-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px; text-align: center;
}
.trust-panel .big { font-size: 52px; font-weight: 800; color: var(--pink); letter-spacing: -.03em; }
.trust-panel .cap { color: var(--ink-sub); font-size: 15px; margin-top: 6px; }
.trust-panel .bar-wrap { margin-top: 24px; text-align: left; }
.trust-panel .bar-row { margin-bottom: 14px; }
.trust-panel .bar-row .bar-lbl {
  display: flex; justify-content: space-between;
  font-size: 13px; color: var(--ink-sub); margin-bottom: 5px;
}
.trust-panel .bar { height: 8px; border-radius: 999px; background: var(--bg-soft); overflow: hidden; }
.trust-panel .bar > span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--brand-2), var(--pink)); }

/* CTA 밴드 */
.cta-band {
  background: linear-gradient(135deg, var(--brand), var(--pink));
  border-radius: 20px; padding: 56px 40px; text-align: center; color: #fff;
}
.cta-band h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-bottom: 12px; }
.cta-band p { opacity: .85; margin-bottom: 28px; font-size: 16px; }
.cta-band .btn { background: #fff; color: var(--pink); }
.cta-band .btn:hover { transform: translateY(-1px); }

/* ---------- 푸터 ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; margin-top: 20px; }
.site-footer .container { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer p { font-size: 13.5px; color: var(--ink-faint); }
.site-footer .disclaimer { max-width: 560px; }

/* ============================================================
   대시보드
   ============================================================ */
.dash-head { padding: 48px 0 8px; }
.dash-head h1 { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.dash-head .sub { color: var(--ink-sub); margin-top: 6px; font-size: 15.5px; }
.dash-head .updated {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 14px; font-size: 13px; color: var(--ink-faint);
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 14px;
}
.dash-head .updated .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); }

/* 필터 바 */
.filter-bar {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 22px 0 6px;
}
.chip {
  padding: 8px 18px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: #fff; border: 1px solid var(--line); color: var(--ink-sub);
  cursor: pointer; transition: all .15s;
}
.chip:hover { border-color: var(--pink); color: var(--pink); }
.chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* 경기 카드 그리드 */
.match-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 20px; padding: 24px 0 60px;
}
.match-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform .15s, box-shadow .15s;
}
.match-card:hover { transform: translateY(-3px); box-shadow: 0 4px 8px rgba(15,23,42,.05), 0 16px 36px rgba(15,23,42,.1); }

.mc-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px; background: var(--bg-soft);
  border-bottom: 1px solid var(--line); font-size: 13px;
}
.mc-top .league { font-weight: 700; color: var(--ink-sub); }
.mc-top .kickoff { color: var(--ink-faint); }

.mc-teams {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 22px 18px 10px; gap: 8px; text-align: center;
}
.mc-teams .team .crest {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--bg-soft); border: 1px solid var(--line);
  display: grid; place-items: center; margin: 0 auto 8px;
  font-weight: 800; font-size: 15px; color: var(--ink-sub);
}
.mc-teams .team .name { font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.mc-teams .vs { color: var(--ink-faint); font-size: 13px; font-weight: 600; }

/* 예측 확률 바 */
.mc-prob { padding: 12px 18px 4px; }
.prob-bar {
  display: flex; height: 10px; border-radius: 999px; overflow: hidden;
  background: var(--bg-soft);
}
.prob-bar .p-home { background: var(--brand-2); }
.prob-bar .p-draw { background: #cbd5e1; }
.prob-bar .p-away { background: #f6a5c0; }
.prob-lbl {
  display: flex; justify-content: space-between;
  font-size: 12px; color: var(--ink-faint); margin-top: 6px;
}

/* 예측 픽 */
.mc-pick {
  margin: 12px 18px; padding: 12px 14px;
  background: var(--brand-soft); border-radius: 10px;
  display: flex; justify-content: space-between; align-items: center;
}
.mc-pick .pick-lbl { font-size: 12.5px; color: var(--ink-sub); font-weight: 600; }
.mc-pick .pick-val { font-size: 15px; font-weight: 800; color: var(--pink); }
.mc-pick .conf {
  font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.conf.high { background: var(--pink-soft); color: var(--pink); }
.conf.mid { background: var(--warn-soft); color: var(--warn); }

/* 근거 요약 (라인업/날씨) */
.mc-meta {
  display: flex; gap: 14px; padding: 4px 18px 18px;
  font-size: 12.5px; color: var(--ink-sub); flex-wrap: wrap;
}
.mc-meta span { display: inline-flex; align-items: center; gap: 5px; }

/* 결과 뱃지 (기록 탭) */
.result-badge {
  font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px;
}
.result-badge.hit { background: var(--accent-soft); color: var(--accent); }
.result-badge.miss { background: var(--lose-soft); color: var(--lose); }

/* 기록 테이블 */
.record-table-wrap {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow-x: auto; margin-bottom: 60px;
}
.record-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.record-table th {
  text-align: left; padding: 14px 18px; background: var(--bg-soft);
  color: var(--ink-sub); font-weight: 700; font-size: 13px;
  border-bottom: 1px solid var(--line); white-space: nowrap;
}
.record-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.record-table tr:last-child td { border-bottom: none; }

/* 샘플 데이터 안내 */
.sample-note {
  margin: 8px 0 4px; padding: 12px 16px;
  background: var(--warn-soft); border: 1px solid #fde68a; border-radius: 10px;
  font-size: 13.5px; color: #92400e;
}

.empty-state {
  padding: 60px 0; text-align: center; color: var(--ink-faint); font-size: 15px;
}

/* ---------- 반응형 ---------- */
@media (max-width: 900px) {
  .feature-grid, .pipeline { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .gnb a:not(.btn) { display: none; }
  .feature-grid, .pipeline { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 64px 0 56px; }
  .section { padding: 60px 0; }
}

/* ── 추가: 로고 이미지 ── */
.logo img { height: 34px; width: auto; display: block; }
.logo .logo-tagline { display:none; }

/* ── 추가: 로그인 · 가입 · 관리 ── */
.auth-wrap { max-width: 420px; margin: 64px auto; }
.auth-card {
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  box-shadow:var(--shadow); padding:36px 32px;
}
.auth-card h1 { font-size:24px; font-weight:800; letter-spacing:-.02em; margin-bottom:8px; }
.auth-card .d { color:var(--ink-sub); font-size:14.5px; margin-bottom:8px; }
.field { margin-top:18px; }
.field label { display:block; font-size:13.5px; font-weight:700; color:var(--ink-sub); margin-bottom:7px; }
.field input, .field select {
  width:100%; padding:12px 14px; border:1px solid var(--line); border-radius:10px;
  font-size:15px; font-family:inherit; color:var(--ink); background:#fff; outline:none;
}
.field input:focus, .field select:focus { border-color:var(--brand-2); box-shadow:0 0 0 3px var(--brand-soft); }
.field .help { font-size:12.5px; color:var(--ink-faint); margin-top:6px; }
.btn-block { width:100%; margin-top:24px; }
.msg { margin-top:18px; padding:12px 14px; border-radius:10px; font-size:14px; display:none; }
.msg.err { display:block; background:var(--lose-soft); border:1px solid #fecaca; color:var(--lose); }
.msg.ok  { display:block; background:var(--accent-soft); border:1px solid #a7f3d0; color:var(--accent); }
.auth-alt { text-align:center; margin-top:20px; font-size:14px; color:var(--ink-sub); }
.auth-alt a { color:var(--brand-2); font-weight:700; }

/* 관리 화면 */
.admin-sec { margin: 34px 0 48px; }
.admin-sec h2 { font-size:20px; font-weight:800; margin-bottom:6px; }
.admin-sec .sub { color:var(--ink-sub); font-size:14.5px; margin-bottom:16px; }
.mini { padding:6px 12px; font-size:13px; border-radius:8px; }
.mini.ghost { background:#fff; border:1px solid var(--line); color:var(--ink-sub); cursor:pointer; }
.mini.ghost:hover { border-color:var(--brand-2); color:var(--brand-2); }
.mini.danger:hover { border-color:var(--lose); color:var(--lose); }
.mini.on { background:var(--accent-soft); border-color:#a7f3d0; color:var(--accent); }
.sc-in { width:48px; padding:6px; text-align:center; border:1px solid var(--line);
  border-radius:8px; font-size:13px; font-family:inherit; }
.pill { display:inline-block; font-size:12px; font-weight:700; padding:3px 10px; border-radius:999px; }
.pill.wait { background:var(--warn-soft); color:var(--warn); }
.pill.live { background:var(--accent-soft); color:var(--accent); }
.pill.off  { background:var(--bg-soft); color:var(--ink-faint); }
.row-flex { display:flex; gap:10px; flex-wrap:wrap; align-items:flex-end; margin-top:16px; }
.row-flex > div { flex:1; min-width:150px; }
.row-flex .field { margin-top:0; }
.switch { display:inline-flex; align-items:center; gap:9px; font-size:14px;
  color:var(--ink-sub); cursor:pointer; }
.switch input { width:auto; accent-color:var(--brand); }

/* 홈 화면 추가 버튼 */
.a2hs {
  position:fixed; left:50%; bottom:22px; transform:translateX(-50%);
  background:var(--brand); color:#fff; border:none; border-radius:999px;
  padding:13px 24px; font-size:14.5px; font-weight:700; font-family:inherit;
  box-shadow:0 6px 24px rgba(15,23,42,.22); cursor:pointer; z-index:80;
  display:none; align-items:center; gap:9px;
}
.a2hs.show { display:inline-flex; }
.a2hs .x { opacity:.6; font-weight:400; margin-left:4px; }
.a2hs-guide {
  position:fixed; inset:0; background:rgba(15,23,42,.5); z-index:90;
  display:none; align-items:center; justify-content:center; padding:24px;
}
.a2hs-guide.show { display:flex; }
.a2hs-guide .box { background:#fff; border-radius:16px; padding:28px 26px; max-width:360px; }
.a2hs-guide h3 { font-size:18px; font-weight:800; margin-bottom:12px; }
.a2hs-guide ol { padding-left:20px; color:var(--ink-sub); font-size:14.5px; line-height:1.9; }
.a2hs-guide .btn { margin-top:20px; width:100%; }

.spin { display:inline-block; width:13px; height:13px; border:2px solid var(--line);
  border-top-color:var(--brand-2); border-radius:50%;
  animation:sp .65s linear infinite; vertical-align:-2px; margin-right:8px; }
@keyframes sp { to { transform:rotate(360deg) } }
.mc-sub { padding:0 18px 14px; font-size:13px; color:var(--ink-sub); }
.mc-sub b { color:var(--ink); }
.odds-row { display:flex; gap:6px; padding:0 18px 12px; }
.odds-row div { flex:1; text-align:center; background:var(--bg-soft);
  border:1px solid var(--line); border-radius:8px; padding:7px 4px; }
.odds-row span { display:block; font-size:11px; color:var(--ink-faint); }
.odds-row b { font-size:13.5px; font-weight:700; }
.odds-row div.on { background:var(--pink-soft); border-color:#f9c9d8; }
.odds-row div.on b { color:var(--pink); }
.locked-note { padding:0 18px 16px; font-size:13px; color:var(--ink-faint); }
.locked-note a { color:var(--brand-2); font-weight:700; }

/* ── 토스 톤: 스토리 섹션 ── */
.story { padding: 110px 0; }
.story.tint { background: var(--bg-soft); }
.story .container { max-width: 880px; }
.story .kicker {
  color: var(--pink); font-weight: 800; font-size: 14px;
  letter-spacing: .06em; margin-bottom: 18px;
}
.story h2 {
  font-size: clamp(28px, 4.6vw, 46px); font-weight: 800;
  letter-spacing: -.035em; line-height: 1.32; margin-bottom: 22px;
}
.story h2 .hl { color: var(--pink); }
.story h2 .dim { color: var(--ink-faint); }
.story p.body {
  font-size: clamp(16px, 1.9vw, 19px); color: var(--ink-sub);
  line-height: 1.85; max-width: 620px;
}
.story p.body + p.body { margin-top: 18px; }
.story.center { text-align: center; }
.story.center p.body { margin-left: auto; margin-right: auto; }

/* 비교 두 장 */
.vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 44px; }
.vs-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px 28px;
}
.vs-card.bad { background: var(--bg-soft); border-style: dashed; }
.vs-card .tag {
  font-size: 13px; font-weight: 800; padding: 5px 12px; border-radius: 999px;
  display: inline-block; margin-bottom: 16px;
}
.vs-card.bad .tag { background: #fff; color: var(--ink-faint); border: 1px solid var(--line); }
.vs-card.good .tag { background: var(--pink-soft); color: var(--pink); }
.vs-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 14px; letter-spacing: -.02em; }
.vs-card ul li {
  font-size: 15px; color: var(--ink-sub); padding: 9px 0 9px 26px; position: relative;
}
.vs-card.bad ul li::before { content: '✕'; position: absolute; left: 0; color: var(--ink-faint); font-weight: 800; }
.vs-card.good ul li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

/* 큰 숫자 한 줄 */
.bignum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.bignum div { text-align: center; }
.bignum .n {
  font-size: clamp(32px, 4.4vw, 46px); font-weight: 800;
  letter-spacing: -.04em; color: var(--brand); line-height: 1.1;
}
.bignum .n.pink { color: var(--pink); }
.bignum .c { font-size: 14.5px; color: var(--ink-sub); margin-top: 8px; }

/* 단계 타임라인 */
.tl { margin-top: 46px; }
.tl-row { display: flex; gap: 22px; padding: 26px 0; border-top: 1px solid var(--line); }
.tl-row:last-child { border-bottom: 1px solid var(--line); }
.tl-no {
  flex: none; width: 40px; height: 40px; border-radius: 12px;
  background: var(--brand); color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: 15px;
}
.tl-row.pink .tl-no { background: var(--pink); }
.tl-row h3 { font-size: 18.5px; font-weight: 800; margin-bottom: 8px; letter-spacing: -.02em; }
.tl-row p { font-size: 15.5px; color: var(--ink-sub); line-height: 1.8; }

/* 인용 강조 */
.pull {
  margin-top: 40px; padding: 28px 30px; border-radius: 18px;
  background: linear-gradient(135deg, var(--brand-soft), var(--pink-soft));
  font-size: clamp(17px, 2.2vw, 21px); font-weight: 700; line-height: 1.6;
  letter-spacing: -.02em; color: var(--brand);
}

@media (max-width: 760px) {
  .story { padding: 72px 0; }
  .vs-grid { grid-template-columns: 1fr; }
  .bignum { grid-template-columns: 1fr; gap: 28px; }
}

/* ── 경기 상세 (분석기의 최종 결론) ── */
.sheet {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(15, 23, 42, .55); backdrop-filter: blur(3px);
  align-items: flex-start; justify-content: center; padding: 40px 20px; overflow-y: auto;
}
.sheet.show { display: flex; }
.sheet .panel {
  background: #fff; border-radius: 20px; width: 100%; max-width: 620px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, .28); overflow: hidden;
  animation: pop .18s ease-out;
}
@keyframes pop { from { transform: translateY(10px); opacity: 0 } to { transform: none; opacity: 1 } }
.sheet .sh-top {
  display: flex; align-items: center; gap: 12px; padding: 18px 22px;
  border-bottom: 1px solid var(--line); background: var(--bg-soft);
}
.sheet .sh-top .lg { font-size: 13px; font-weight: 700; color: var(--ink-sub); }
.sheet .sh-top .ko { font-size: 13px; color: var(--ink-faint); margin-left: auto; }
.sheet .sh-x {
  border: none; background: none; font-size: 22px; line-height: 1; color: var(--ink-faint);
  cursor: pointer; padding: 0 2px;
}
.sheet .sh-x:hover { color: var(--ink); }
.sheet .sh-body { padding: 26px 24px 28px; }
.sheet .fx {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  font-size: 17px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 22px;
}
.sheet .fx i { font-style: normal; color: var(--ink-faint); font-size: 13px; font-weight: 600; }

.dt-lbl {
  font-size: 11.5px; font-weight: 800; letter-spacing: .14em;
  color: var(--pink); text-transform: uppercase;
}
.dt-pick { font-size: 34px; font-weight: 800; letter-spacing: -.035em; margin-top: 6px; }
.dt-grade {
  display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 800;
  padding: 5px 12px; border-radius: 999px;
}
.dt-grade.STRONG { background: var(--accent-soft); color: var(--accent); }
.dt-grade.NORMAL { background: var(--brand-soft); color: var(--brand); }
.dt-grade.WEAK   { background: var(--warn-soft); color: var(--warn); }
.dt-bar { display: flex; height: 34px; border-radius: 10px; overflow: hidden; margin-top: 18px; }
.dt-bar span {
  display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #fff;
}
.dt-bar .h { background: var(--brand-2); }
.dt-bar .d { background: #94a3b8; }
.dt-bar .a { background: #ef7fa4; }
.dt-legend {
  display: flex; justify-content: space-between; font-size: 12px;
  color: var(--ink-faint); margin-top: 6px;
}
.dt-odds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.dt-odds div {
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 6px; text-align: center;
}
.dt-odds span { display: block; font-size: 11.5px; color: var(--ink-faint); margin-bottom: 5px; }
.dt-odds b { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.dt-odds div.on { border-color: var(--pink); background: var(--pink-soft); }
.dt-odds div.on b, .dt-odds div.on span { color: var(--pink); }
.dt-meta {
  margin-top: 16px; font-size: 13px; color: var(--ink-sub);
  display: flex; flex-wrap: wrap; gap: 6px 14px;
}
.dt-meta b { color: var(--ink); }
.dt-meta b.pos { color: var(--accent); }
.dt-meta b.neg { color: var(--warn); }
.dt-meta b.re { color: var(--pink); }
.dt-comment { margin-top: 20px; font-size: 17px; font-weight: 800; letter-spacing: -.02em; line-height: 1.5; }
.dt-reason { margin-top: 10px; font-size: 15px; color: var(--ink-sub); line-height: 1.85; }
.dt-sub {
  margin-top: 22px; padding: 18px 20px; border: 1px solid var(--line);
  border-radius: 14px; background: var(--bg-soft);
}
.dt-sub .l { font-size: 11.5px; font-weight: 800; letter-spacing: .14em; color: var(--ink-faint); }
.dt-sub .v { margin-top: 6px; font-size: 21px; font-weight: 800; letter-spacing: -.03em; }
.dt-sub .g {
  display: inline-block; margin-top: 9px; font-size: 12px; font-weight: 800;
  padding: 4px 11px; border-radius: 999px; background: var(--brand-soft); color: var(--brand);
}
.dt-sub .n { margin-top: 10px; font-size: 13.5px; color: var(--ink-sub); line-height: 1.75; }
.dt-foot {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--ink-faint);
}
.dt-foot b { color: var(--ink-sub); }
.dt-foot b.warn { color: var(--warn); }
.dt-teams { margin-top: 22px; display: grid; gap: 10px; }
.dt-team { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.dt-team .nm { font-size: 13.5px; font-weight: 800; color: var(--brand); }
.dt-team .pk { margin-top: 6px; font-size: 15.5px; font-weight: 800; letter-spacing: -.02em; }
.dt-team .rs { margin-top: 7px; font-size: 13.5px; color: var(--ink-sub); line-height: 1.75; }
.dt-team .rb {
  margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line);
  font-size: 13px; color: var(--ink-faint);
}
.dt-lock { text-align: center; padding: 34px 20px; color: var(--ink-sub); font-size: 15px; line-height: 1.9; }
.match-card { cursor: pointer; }
.record-table tbody tr { cursor: pointer; }
.record-table tbody tr:hover td { background: var(--bg-soft); }

/* ============================================================
   하단 (운영 정보 · 법적 문서)
   ============================================================ */
.site-footer .container { align-items: flex-start; }
.ft-left { max-width: 620px; }
.ft-logo {
  font-size: 19px; font-weight: 900; letter-spacing: -.02em;
  color: var(--brand); margin-bottom: 10px;
}
.ft-logo span { color: var(--pink); }
.ft-biz { font-size: 12.5px; color: var(--ink-faint); line-height: 1.9; }
.ft-biz a { color: var(--ink-sub); }
.site-footer .disclaimer {
  margin-top: 12px; font-size: 12.5px; line-height: 1.85;
  color: var(--ink-faint);
  border-left: 3px solid var(--line); padding-left: 12px;
}
.site-footer .disclaimer b { color: var(--ink-sub); font-weight: 700; }
.ft-copy { margin-top: 14px; font-size: 12px; color: var(--ink-faint); }
.ft-links { display: flex; flex-direction: column; gap: 10px; }
.ft-links a {
  font-size: 13.5px; color: var(--ink-sub); text-decoration: none;
}
.ft-links a:hover { color: var(--brand); }
.ft-links a b { font-weight: 700; color: var(--ink); }
@media (max-width: 720px) {
  .ft-links { flex-direction: row; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; }
}

/* ============================================================
   법적 문서 페이지
   ============================================================ */
.legal { padding: 56px 0 72px; max-width: 820px; }
.legal h1 { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.legal .eff {
  margin-top: 12px; display: inline-block; font-size: 13px;
  color: var(--ink-sub); background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
}
.legal .intro {
  margin-top: 26px; font-size: 15.5px; line-height: 1.85; color: var(--ink-sub);
  background: var(--brand-soft); border-radius: var(--radius); padding: 20px 22px;
}
.legal h2 {
  margin-top: 44px; font-size: 19px; font-weight: 800; letter-spacing: -.01em;
  padding-bottom: 10px; border-bottom: 2px solid var(--brand);
}
.legal h3 { margin-top: 26px; font-size: 15.5px; font-weight: 700; }
.legal p, .legal li { font-size: 15px; line-height: 1.9; color: var(--ink-sub); }
.legal p { margin-top: 14px; }
.legal ul, .legal ol { margin: 12px 0 0 20px; }
.legal li { margin-top: 7px; }
.legal b { color: var(--ink); font-weight: 700; }
.legal table {
  width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 14.5px;
}
.legal th, .legal td {
  border: 1px solid var(--line); padding: 11px 13px; text-align: left;
  vertical-align: top; color: var(--ink-sub);
}
.legal th { background: var(--bg-soft); color: var(--ink); font-weight: 700; white-space: nowrap; }
.legal .note {
  margin-top: 18px; font-size: 14px; line-height: 1.85;
  background: var(--warn-soft); border: 1px solid #fde68a;
  border-radius: var(--radius); padding: 16px 18px; color: #92400e;
}
.legal .note b { color: #78350f; }
.legal .toc {
  margin-top: 26px; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 22px;
}
.legal .toc a { display: block; font-size: 14px; color: var(--ink-sub); padding: 4px 0; text-decoration: none; }
.legal .toc a:hover { color: var(--pink); }

/* ── 모델 카드 ── */
.mgrid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px; margin-top: 40px;
}
.mcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px 20px; box-shadow: var(--shadow); position: relative;
}
.mcard .mno {
  font-size: 12px; font-weight: 800; color: var(--ink-faint);
  letter-spacing: .08em; margin-bottom: 10px;
}
.mcard h3 { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.mcard .mw {
  display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 700;
  color: var(--brand); background: var(--brand-soft);
  border-radius: 999px; padding: 4px 11px;
}
.mcard p { font-size: 14.5px; line-height: 1.8; color: var(--ink-sub); margin-top: 12px; }
.mcard p.mw { margin-top: 8px; }
.mcard b { color: var(--ink); font-weight: 700; }
.mcard .msrc {
  display: block; margin-top: 16px; padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12px; color: var(--ink-faint);
}
.mcard.pinkish .mno { color: var(--pink); }
.mcard.pinkish .mw { color: var(--pink); background: var(--pink-soft); }
.mcard.dark { background: var(--brand); border-color: var(--brand); }
.mcard.dark .mno { color: rgba(255,255,255,.5); font-size: 18px; }
.mcard.dark h3 { color: #fff; }
.mcard.dark p { color: rgba(255,255,255,.82); }
.mcard.dark b { color: #fff; }
.mcard.dark .mw { color: #fff; background: rgba(255,255,255,.14); }
.mcard.dark .msrc { color: rgba(255,255,255,.55); border-top-color: rgba(255,255,255,.16); }

.tag-mini {
  display: inline-block; vertical-align: middle; margin-left: 8px;
  font-size: 11px; font-weight: 800; color: #fff; background: var(--pink);
  border-radius: 999px; padding: 3px 9px; letter-spacing: -.01em;
}
@media (max-width: 720px) { .mgrid { grid-template-columns: 1fr; } }

/* ============================================================
   가입 · 로그인 (소셜, 이메일 인증)
   ============================================================ */
.sso { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.sso-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; height: 50px; border-radius: 12px; cursor: pointer;
  font-size: 15px; font-weight: 700; text-decoration: none;
  border: 1px solid var(--line); background: #fff; color: #1f2937;
  transition: filter .12s, box-shadow .12s;
}
.sso-btn:hover { box-shadow: var(--shadow); }
.sso-btn:active { filter: brightness(.97); }
.sso-btn svg, .sso-btn .k { width: 19px; height: 19px; flex: none; }
.sso-btn.kakao { background: #FEE500; border-color: #FEE500; color: #191600; }
.sso-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 24px 0 4px; color: var(--ink-faint); font-size: 12.5px;
}
.sso-divider::before, .sso-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--line);
}

/* 인증번호 입력 줄 */
.code-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: start; }
.code-row .btn2s {
  height: 46px; padding: 0 16px; white-space: nowrap;
  border-radius: 10px; border: 1px solid var(--brand-2); background: #fff;
  color: var(--brand-2); font-size: 13.5px; font-weight: 700; cursor: pointer;
}
.code-row .btn2s:disabled { opacity: .45; cursor: default; }
.code-row .btn2s:hover:not(:disabled) { background: var(--brand-soft); }
#code { letter-spacing: .3em; font-weight: 700; text-align: center; }
.timer { font-size: 12.5px; color: var(--pink); font-weight: 700; margin-top: 6px; }
.verified {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 700; color: var(--accent); margin-top: 6px;
}

/* 약관 동의 */
.agree { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 18px; }
.agree label {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; color: var(--ink-sub); line-height: 1.6; cursor: pointer;
  padding: 5px 0;
}
.agree input[type=checkbox] {
  width: 18px; height: 18px; flex: none; margin-top: 1px;
  accent-color: var(--brand-2); cursor: pointer;
}
.agree a { color: var(--brand-2); font-weight: 700; text-decoration: underline; }
.agree .all {
  font-size: 14.5px; font-weight: 700; color: var(--ink);
  border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 6px;
}
.agree .req { color: var(--pink); font-weight: 700; }
.agree .opt { color: var(--ink-faint); }

/* 비밀번호 강도 */
.pwbar { display: flex; gap: 4px; margin-top: 7px; }
.pwbar i { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.pwbar.s1 i:nth-child(1) { background: var(--lose); }
.pwbar.s2 i:nth-child(-n+2) { background: var(--warn); }
.pwbar.s3 i:nth-child(-n+3) { background: var(--accent); }
.pwbar.s4 i { background: var(--accent); }

.auth-links { text-align: center; margin-top: 14px; font-size: 13.5px; }
.auth-links a { color: var(--ink-faint); text-decoration: none; }
.auth-links a:hover { color: var(--brand-2); text-decoration: underline; }
.field input:disabled { background: var(--bg-soft); color: var(--ink-faint); }

/* ============================================================
   PBE 최종 분석 (회원 전용)
   ============================================================ */
.pbe-box {
  margin-top: 22px; border: 1px solid var(--pink); border-radius: var(--radius);
  padding: 20px 18px 18px;
  background: linear-gradient(180deg, var(--pink-soft), #fff 70%);
}
.pbe-head {
  font-size: 13px; font-weight: 800; color: var(--brand);
  display: flex; align-items: center; gap: 8px; margin-bottom: 12px;
}
.pbe-tag {
  font-size: 10.5px; font-weight: 800; color: #fff; background: var(--pink);
  border-radius: 999px; padding: 3px 9px; letter-spacing: -.01em;
}
.pbe-box .dt-pick { margin-top: 0; }
.pbe-notes {
  margin-top: 14px; border: 1px dashed var(--line); border-radius: 10px;
  padding: 12px 14px; background: #fff;
}
.pbe-notes .l { font-size: 11.5px; color: var(--ink-faint); margin-bottom: 6px; }
.pbe-notes div { font-size: 13.5px; line-height: 1.75; color: var(--ink-sub); }
.pbe-notes b { color: var(--pink); font-weight: 700; margin-right: 6px; }
.pbe-foot {
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--ink-faint);
}
.pbe-foot b, .dt-sub b { font-weight: 700; }
.pbe-foot b.warn { color: var(--warn); }
.pbe-foot b.hit, .dt-sub b.hit { color: var(--accent); }
.pbe-foot b.miss, .dt-sub b.miss { color: var(--lose); }

.pbe-box.locked { text-align: center; }
.pbe-teaser { font-size: 14px; line-height: 1.8; color: var(--ink-sub); margin: 4px 0 16px; }
.pbe-teaser b { color: var(--ink); font-weight: 700; }
.pbe-cta { display: flex; gap: 8px; justify-content: center; }
.pbe-cta .btn { flex: 0 0 auto; }

/* 무료 공개 배지 */
.free-badge {
  display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: -.01em;
  color: #fff; background: var(--accent); border-radius: 999px; padding: 3px 9px;
}
.match-card .mc-top { position: relative; }

/* 문의 화면 */
.field textarea {
  width: 100%; padding: 13px 14px; font-size: 15px; line-height: 1.7;
  border: 1px solid var(--line); border-radius: 10px; font-family: var(--font);
  color: var(--ink); background: #fff; resize: vertical;
}
.field textarea:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px var(--brand-soft); }
.contact-note {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 13px; line-height: 1.8; color: var(--ink-faint);
}
.contact-note p + p { margin-top: 8px; }
.contact-note a { color: var(--brand-2); font-weight: 600; }
.contact-note b { color: var(--ink-sub); font-weight: 700; }

/* 관리 화면 문의 목록 */
.inq-msg {
  white-space: pre-wrap; font-size: 14px; line-height: 1.75; color: var(--ink-sub);
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; margin-top: 8px;
}
.inq-badge {
  display: inline-block; font-size: 11px; font-weight: 800; border-radius: 999px;
  padding: 3px 9px;
}
.inq-badge.open { background: var(--pink-soft); color: var(--pink); }
.inq-badge.done { background: var(--accent-soft); color: var(--accent); }
