/* ─────────────────────────────────────────────────────────────
   투자·협찬 매칭 보드 — 애플 스타일 다크 테마
   (시스템 글꼴 · 큰 제목 · 둥근 타일 · 알약 버튼 · 파란 강조)
   색·글꼴은 :root 블록만 바꾸면 전체에 반영됩니다.
   ───────────────────────────────────────────────────────────── */
:root {
  color-scheme: dark;
  --bg: #000000;
  --surface: #161617;
  --surface-2: #1D1D1F;
  --surface-3: #2C2C2E;
  --ink: #F5F5F7;
  --ink-2: #D2D2D7;
  --muted: #86868B;
  --line: #2A2A2C;
  --line-strong: #424245;
  --blue: #0071E3;            /* 주요 버튼 */
  --blue-link: #2997FF;       /* 텍스트 링크 */
  --orange: #FF9F0A;          /* 협찬·마감 임박 */
  --invest: #F5F5F7;
  --sponsor: #FF9F0A;
  --both: #A1A1A6;
  --ok: #30D158;
  --warn: #FF6961;
  --notice: #1D1D1F;
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', system-ui, sans-serif;
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 28px;
  --pill: 980px;
  --nav-h: 52px;
  --ease: cubic-bezier(.25, .1, .25, 1);
}
/* 시스템 라이트/다크 설정과 관계없이 같은 다크 테마 유지 */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { color-scheme: dark; } }
:root[data-theme="dark"] { color-scheme: dark; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 64px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.6; letter-spacing: -0.01em;
  word-break: keep-all; overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.025em; font-weight: 700; }
h1 { font-size: 32px; }
h2 { font-size: 28px; }
h3 { font-size: 21px; letter-spacing: -0.02em; }
p { margin: 0; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(0, 113, 227, .6); outline-offset: 2px; }
::selection { background: var(--blue); color: #fff; }

/* ───── 상단 내비게이션 (반투명) ───── */
.demo-bar { background: var(--surface-2); color: var(--muted); font-size: 12px; padding: 8px 16px; text-align: center; }
.demo-bar .link-btn { color: var(--blue-link); text-decoration: none; margin-left: 4px; }
.top-wrap {
  position: sticky; top: 0; z-index: 20;
  background: rgba(22, 22, 23, .8);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.top { max-width: 1024px; margin: 0 auto; padding: 0 16px; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink); }
.brand-mark { width: 18px; height: 18px; border-radius: 6px; background: linear-gradient(135deg, #F5F5F7 0 50%, var(--orange) 50% 100%); }
.top nav { display: flex; gap: 4px; align-items: center; }
.nav-link { text-decoration: none; padding: 0 12px; min-height: 44px; display: inline-flex; align-items: center; color: var(--ink-2); font-size: 14px; opacity: .85; transition: opacity .2s var(--ease); }
.nav-link:hover, .nav-link.on { opacity: 1; color: #fff; }
.nav-link.cta { background: var(--blue); color: #fff; opacity: 1; min-height: 32px; border-radius: var(--pill); padding: 0 14px; font-size: 13px; font-weight: 500; margin-left: 4px; }
.nav-link.cta:hover { background: #0077ED; }

main { max-width: 1024px; margin: 0 auto; padding: 0 16px 120px; outline: none; }
.foot { max-width: 1024px; margin: 0 auto; padding: 20px 16px 40px; color: var(--muted); font-size: 12px; border-top: 1px solid var(--line); }

/* ───── 버튼 ───── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: var(--pill);
  border: 0; background: var(--surface-3); color: var(--ink);
  font: inherit; font-size: 17px; font-weight: 500; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), transform .2s var(--ease), opacity .2s var(--ease);
}
.btn:hover { background: #3A3A3C; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .45; cursor: progress; }
.btn.primary { background: var(--blue); color: #fff; }
.btn.primary:hover { background: #0077ED; }
.btn.small { min-height: 34px; padding: 0 14px; font-size: 14px; }
.btn.wide { width: 100%; }
.btn.armed { background: var(--orange); color: #000; }
.btn.danger-text { background: transparent; color: var(--warn); }
.btn.danger-text:hover { background: rgba(255, 105, 97, .12); }
.text-link, .link { color: var(--blue-link); text-decoration: none; font-size: 17px; }
.text-link:hover, .link:hover { text-decoration: underline; }
.link { font-size: 15px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; cursor: pointer; color: var(--blue-link); }
.back { display: inline-flex; min-height: 44px; align-items: center; margin-bottom: 4px; font-size: 15px; }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--orange); margin-bottom: 8px; }

/* ───── 히어로 ───── */
.hero { padding: 72px 0 48px; text-align: center; }
.hero-copy { max-width: 760px; margin: 0 auto; }
.hero-kicker { font-size: 17px; font-weight: 600; color: var(--orange); margin-bottom: 12px; }
.hero h1 { font-size: 40px; line-height: 1.1; letter-spacing: -0.035em; margin-bottom: 20px;
  background: linear-gradient(180deg, #FFFFFF 30%, #B9B9BE 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: 17px; line-height: 1.55; }
.hero .lead { font-size: 19px; max-width: 34em; margin: 0 auto 32px; }
.hero-cta { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }

/* 요약 타일 */
.summary-strip { margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: left; }
.sum { background: var(--surface); border-radius: var(--r); padding: 18px 16px; min-width: 0; }
.sum dt { font-size: 13px; color: var(--muted); font-weight: 500; }
.sum dd { margin: 6px 0 0; display: flex; align-items: baseline; gap: 4px; }
.sum dd b { font-size: 36px; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.sum dd span { font-size: 15px; color: var(--muted); font-weight: 500; }
.sum.soon dd b { color: var(--orange); }
.sum.closed dd b { color: var(--ink-2); }
.sum-note { font-size: 12px; color: var(--muted); margin-top: 8px; line-height: 1.45; }

/* ───── 섹션 머리 ───── */
.sec-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 24px; }
.sec-head.row { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.sec-sub { font-size: 17px; color: var(--muted); margin-top: 8px; }

/* ───── 카테고리 현황 타일 ───── */
.board { padding: 72px 0 0; }
.legend { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.lg { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-left: 10px; }
.lg:first-child { margin-left: 0; }
.lg.i { background: var(--invest); } .lg.s { background: var(--sponsor); } .lg.b { background: var(--both); }
.board-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.cell {
  appearance: none; background: var(--surface); color: inherit; font: inherit; text-align: left; cursor: pointer;
  border: 2px solid transparent; border-radius: var(--r); padding: 16px; min-height: 140px;
  display: flex; flex-direction: column; gap: 10px;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.cell:hover { background: var(--surface-2); transform: translateY(-2px); }
.cell.all { grid-column: span 2; }
.cell.on { border-color: var(--blue); background: var(--surface-2); }
.cell.zero .cell-num { color: var(--line-strong); }
.cell-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.cell-name { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.cell-num { font-size: 36px; font-weight: 700; line-height: 1; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.bar { display: flex; gap: 2px; height: 6px; border-radius: 3px; background: var(--surface-3); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--invest); width: 0; border-radius: 3px; transition: width .5s var(--ease); }
.bar i.s { background: var(--sponsor); }
.bar i.b { background: var(--both); }
.cell-break { font-size: 12px; color: var(--muted); line-height: 1.5; }
.cell-break.kinds { color: var(--orange); margin-top: -6px; }
.cell-break.kinds:empty { display: none; }
.type-sum { font-size: 13px; margin-top: 16px; text-align: center; }

/* ───── 목록 ───── */
.list { padding-top: 88px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  min-height: 36px; padding: 0 16px; border-radius: var(--pill); border: 0;
  background: transparent; color: var(--ink-2); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.chip:hover { color: #fff; }
/* 세그먼트 컨트롤 */
.chips.segmented { gap: 2px; padding: 3px; background: var(--surface-2); border-radius: var(--pill); flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.chips.segmented::-webkit-scrollbar { display: none; }
.chips.segmented .chip { flex: none; }
.chip.on { background: #48484A; color: #fff; font-weight: 600; }
.chips.sub { margin: -8px 0 24px; width: fit-content; }
.chips.sub .chip.on { background: var(--orange); color: #000; }
.chip.small { min-height: 32px; font-size: 13px; }

.banners { display: flex; flex-direction: column; gap: 16px; }
.banner {
  display: grid; grid-template-columns: 1fr; text-decoration: none; color: inherit;
  background: var(--surface); border-radius: var(--r-lg); overflow: hidden;
  transition: transform .35s var(--ease), background-color .35s var(--ease);
}
.banner:hover { background: var(--surface-2); }
.banner-img { position: relative; aspect-ratio: 16 / 9; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; }
.banner-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.banner:hover .banner-img img { transform: scale(1.03); }
.noimg { font-size: 48px; font-weight: 700; color: var(--line-strong); }
.dday {
  position: absolute; top: 14px; left: 14px; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: var(--pill); font-variant-numeric: tabular-nums;
  background: rgba(0, 0, 0, .55); color: #fff; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.dday.soon { background: var(--orange); color: #000; }
.banner-body { padding: 24px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; }
.tag { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: var(--pill); background: var(--surface-3); line-height: 1.5; }
.t-invest { color: var(--invest); }
.t-sponsor { color: var(--sponsor); background: rgba(255, 159, 10, .14); }
.t-both { background: var(--ink); color: #000; }
.kinds-label { font-size: 12px; font-weight: 600; color: var(--orange); }
.cat { color: var(--muted); }
.banner h3 { font-size: 24px; color: #fff; margin-top: 4px; }
.company { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.summary { color: var(--muted); font-size: 15px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.banner-foot { margin-top: auto; padding-top: 16px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); }
.banner .go { color: var(--blue-link); font-size: 15px; }
.banner:hover .go { text-decoration: underline; }
.more { display: flex; justify-content: center; padding-top: 32px; }
.skel { height: 180px; border-radius: var(--r-lg); background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: sk 1.4s linear infinite; }
@keyframes sk { to { background-position: -200% 0; } }

/* ───── 상태 ───── */
.state { padding: 72px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.state.empty { padding: 48px 24px; align-items: center; text-align: center; background: var(--surface); border-radius: var(--r-lg); color: var(--ink-2); }
.state.error p { color: var(--warn); }
.closed-state { padding: 120px 0; max-width: 560px; margin: 0 auto; align-items: center; text-align: center; }
.closed-state h1 { font-size: 40px; }
.closed-state .lead { margin-bottom: 20px; }
.notice { background: var(--surface-2); border-radius: var(--r-sm); padding: 14px 18px; font-size: 14px; margin-bottom: 20px; color: var(--ink-2); }
.notice::before { content: '●'; color: var(--orange); margin-right: 8px; font-size: 10px; vertical-align: 2px; }

/* ───── 상세 ───── */
.detail { max-width: 760px; margin: 0 auto; padding-top: 24px; }
.detail-head { margin: 16px 0 28px; }
.detail-head h1 { font-size: 36px; margin-top: 14px; color: #fff; letter-spacing: -0.035em; }
.detail-img { margin: 0 0 16px; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.detail-img:empty { display: none; }
.detail-img img { width: 100%; max-height: 520px; object-fit: cover; }
.company.big { font-size: 19px; margin-top: 10px; color: var(--muted); }
.facts { margin: 0 0 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.facts > div { background: var(--surface); padding: 16px 18px; border-radius: var(--r); min-width: 0; }
.facts dt { font-size: 12px; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
.facts dd { margin: 0; font-size: 16px; font-weight: 600; }
.dday-inline { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: var(--pill); background: var(--surface-3); color: var(--ink); margin-right: 4px; font-variant-numeric: tabular-nums; }
.dday-inline.soon { background: var(--orange); color: #000; }
.detail .lead { font-size: 21px; color: var(--ink); line-height: 1.55; letter-spacing: -0.02em; font-weight: 500; }
.body { white-space: pre-wrap; color: var(--ink-2); line-height: 1.8; font-size: 17px; }
h2.sub { font-size: 21px; font-weight: 700; color: #fff; margin: 48px 0 16px; }
.kv { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border-radius: var(--r); overflow: hidden; }
.kv th, .kv td { text-align: left; padding: 16px 18px; vertical-align: top; font-size: 16px; }
.kv tr + tr th, .kv tr + tr td { border-top: 1px solid var(--line); }
.kv th { width: 128px; font-weight: 600; color: var(--orange); white-space: nowrap; }
.links { margin: 0; padding: 0; list-style: none; background: var(--surface); border-radius: var(--r); overflow: hidden; }
.links li + li { border-top: 1px solid var(--line); }
.links a { display: flex; justify-content: space-between; min-height: 52px; padding: 0 18px; align-items: center; text-decoration: none; color: var(--blue-link); }
.links a::after { content: '↗'; color: var(--muted); }
.links a:hover { background: var(--surface-2); }
.inquiry { margin-top: 56px; padding: 28px; background: var(--surface); border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 20px; }
.inquiry .eyebrow { margin-bottom: 6px; }
.inquiry p { color: var(--ink-2); }
.inquiry-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.inquiry-contact { margin-top: 10px; font-size: 14px; color: var(--muted) !important; }
.inquiry-contact a { color: var(--blue-link); text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.owner { margin-top: 24px; text-align: center; }
.disclaimer { margin-top: 20px; font-size: 13px; line-height: 1.6; color: var(--muted); padding: 14px 18px; border-radius: var(--r-sm); background: var(--surface); }

/* ───── 폼 ───── */
.form-wrap, .gate, .done { max-width: 720px; margin: 0 auto; padding-top: 24px; }
.form-wrap h1, .gate h1, .done h1 { margin-bottom: 12px; color: #fff; font-size: 36px; letter-spacing: -0.035em; }
.form-wrap > .lead { margin-bottom: 24px; }
.progress {
  position: sticky; top: var(--nav-h); z-index: 10;
  background: rgba(0, 0, 0, .78); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  display: flex; gap: 6px; overflow-x: auto; padding: 12px 0; margin: 0 -16px 8px; padding-left: 16px; padding-right: 16px; scrollbar-width: none;
}
.progress::-webkit-scrollbar { display: none; }
.progress a { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 14px; border-radius: var(--pill); background: var(--surface-2); font-size: 13px; color: var(--muted); text-decoration: none; white-space: nowrap; }
.progress .pn { font-size: 12px; font-weight: 600; }
.progress a.done { color: var(--ink); }
.progress a.done .pn { color: var(--blue-link); }
.progress a.done .pn::before { content: '✓ '; }
.step { border: 0; background: var(--surface); border-radius: var(--r-lg); padding: 24px 20px 8px; margin: 0 0 16px; min-width: 0; }
.step legend { float: left; width: 100%; font-weight: 700; font-size: 21px; padding: 0; margin-bottom: 18px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; color: #fff; letter-spacing: -0.02em; }
.step legend + * { clear: both; }
.step legend .muted { font-weight: 400; font-size: 14px; }
.no { font-size: 14px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.field { margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
label, .label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.count { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.count.full { color: var(--warn); font-weight: 600; }
input, textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink); background: var(--surface-2);
  border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 12px 14px; min-height: 52px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
input::placeholder, textarea::placeholder { color: #6E6E73; }
textarea { resize: vertical; line-height: 1.65; }
input:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 113, 227, .3); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--warn); }
input[type="file"] { padding: 12px; background: transparent; border-style: dashed; font-size: 14px; color: var(--muted); }
input[type="date"] { max-width: 240px; }
.hint { font-size: 14px; color: var(--muted); line-height: 1.55; }
.hint b { color: var(--ink-2); font-weight: 600; }
.step > .hint { margin-bottom: 16px; }
.err { font-size: 14px; color: var(--warn); }
.err:empty { display: none; }
/* 선택 타일 (파란 테두리) */
.radio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.radio-card, .radio-pill { position: relative; cursor: pointer; font-weight: 400; }
.radio-card input, .radio-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.radio-card span { display: flex; flex-direction: column; gap: 2px; padding: 14px; min-height: 72px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface-2); transition: border-color .2s var(--ease); }
.radio-card:hover span { border-color: #6E6E73; }
.radio-card b { font-size: 15px; color: var(--ink); font-weight: 600; }
.radio-card small { font-size: 12px; color: var(--muted); }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-pill span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface-2); font-size: 15px; color: var(--ink); transition: border-color .2s var(--ease); }
.radio-card input:checked + span, .radio-pill input:checked + span { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.radio-pill input:checked + span { font-weight: 600; }
.radio-card input:focus-visible + span, .radio-pill input:focus-visible + span { outline: 3px solid rgba(0, 113, 227, .6); outline-offset: 2px; }
.sponsor-box { margin-top: 20px; padding: 18px; border-radius: var(--r-sm); background: var(--surface-2); }
.sponsor-box .label { color: var(--orange); }
.kind-row { padding-top: 4px; }
.kind-note { margin: 4px 0 8px 30px; }
.kind-note input { background: var(--surface); }
.due-pick { display: flex; flex-direction: column; gap: 14px; margin-top: 4px; }
.due-pick .quick { gap: 2px; padding: 3px; background: var(--surface-2); border-radius: var(--pill); width: fit-content; }
.due-pick .quick .chip.on { background: #48484A; color: #fff; }
.due-field { margin-bottom: 0; }
.due-preview { font-size: 15px; color: var(--ink-2); margin: 16px 0 12px; padding: 14px 16px; background: var(--surface-2); border-radius: var(--r-sm); }
.due-preview:empty { display: none; }
.due-preview b { color: #fff; font-weight: 600; }
.img-pick { display: flex; flex-direction: column; gap: 12px; }
.img-preview { aspect-ratio: 16 / 9; max-width: 360px; width: 100%; border: 1px dashed var(--line-strong); border-radius: var(--r); background: var(--surface-2); display: grid; place-items: center; overflow: hidden; font-size: 14px; text-align: center; font-weight: 400; cursor: pointer; color: var(--muted); }
.img-preview img { width: 100%; height: 100%; object-fit: cover; }
.img-actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.link-row { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 10px; }
.grid2, .grid3 { display: grid; grid-template-columns: 1fr; gap: 0 12px; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 400; font-size: 15px; min-height: 44px; cursor: pointer; color: var(--ink); }
.check input { width: 22px; height: 22px; min-height: 0; margin: 0; flex: none; accent-color: var(--blue); border-radius: 6px; }
.privacy { font-size: 14px; color: var(--muted); margin: 0 0 12px 32px; }
.privacy summary { cursor: pointer; min-height: 32px; color: var(--blue-link); }
.submit-bar {
  position: sticky; bottom: 0; z-index: 10; margin: 8px -16px 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(22, 22, 23, .85); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.submit-status { font-size: 13px; color: var(--muted); }
.submit-bar .btn { flex: 1; max-width: 280px; }
.owner-zone { margin-top: 32px; padding: 24px 20px; background: var(--surface); border-radius: var(--r-lg); }
.owner-zone h2 { font-size: 21px; margin-bottom: 16px; }
.zone-row { display: flex; flex-direction: column; gap: 14px; }
.zone-row b { font-size: 16px; }
.zone-row .hint { margin-top: 4px; }

/* ───── 완료 / 확인 ───── */
.done { text-align: center; padding-top: 72px; }
.done h1 { font-size: 36px; }
.done .lead { margin: 0 auto 32px; max-width: 34em; }
.url-box { display: flex; flex-direction: column; gap: 12px; padding: 18px; background: var(--surface); border-radius: var(--r); margin-bottom: 20px; text-align: left; }
.url-box code { font-size: 14px; word-break: break-all; color: var(--ink-2); font-family: ui-monospace, 'SF Mono', Menlo, monospace; }
.done-notes { margin: 0 auto; padding: 0; list-style: none; color: var(--muted); font-size: 14px; display: flex; flex-direction: column; gap: 6px; }
.done-notes b { color: var(--ink); }
.done-actions { display: flex; gap: 20px; align-items: center; justify-content: center; margin-top: 32px; }
.gate { max-width: 440px; padding-top: 72px; }
.gate h1 { text-align: center; }
.gate .lead { margin-bottom: 28px; text-align: center; }
.gate .hint { margin-top: 20px; text-align: center; }
.gate .back { display: flex; justify-content: center; }

/* ───── 관리자 ───── */
.admin { padding-top: 32px; }
.admin h1 { color: #fff; font-size: 36px; }
.admin-user { font-size: 14px; }
.tabs { display: inline-flex; gap: 2px; padding: 3px; background: var(--surface-2); border-radius: var(--pill); margin-bottom: 16px; max-width: 100%; overflow-x: auto; }
.tab { appearance: none; border: 0; background: none; font: inherit; font-size: 14px; padding: 0 16px; min-height: 36px; cursor: pointer; color: var(--ink-2); border-radius: var(--pill); white-space: nowrap; font-weight: 500; }
.tab.on { background: #48484A; color: #fff; font-weight: 600; }
#adminList { display: flex; flex-direction: column; gap: 10px; }
.arow { display: flex; flex-direction: column; gap: 14px; padding: 20px; background: var(--surface); border-radius: var(--r); }
.arow-main { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.arow-title { font-weight: 600; font-size: 17px; text-decoration: none; color: #fff; }
.arow-title:hover { color: var(--blue-link); }
.arow .muted { font-size: 14px; }
.arow-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.status { font-size: 12px; font-weight: 600; }
.s-pending { color: var(--orange); }
.s-approved { color: var(--ok); }
.s-rejected, .s-withdrawn { color: var(--muted); }
.contact { font-size: 14px; background: var(--surface-2); padding: 10px 14px; border-radius: var(--r-sm); margin-top: 6px; }

/* ───── 토스트 ───── */
.toasts { position: fixed; left: 16px; right: 16px; bottom: 96px; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; z-index: 30; }
.toast {
  background: rgba(44, 44, 46, .92); color: #fff; padding: 12px 20px; border-radius: var(--pill); font-size: 14px; font-weight: 500; max-width: 480px;
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 8px 32px rgba(0, 0, 0, .4);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.toast.warn { background: var(--warn); color: #000; }
.toast.out { opacity: 0; transform: translateY(8px); }

/* ───── 데스크톱 ───── */
@media (min-width: 734px) {
  body { font-size: 17px; }
  .hero { padding: 120px 0 64px; }
  .hero h1 { font-size: 64px; }
  .hero .lead { font-size: 21px; }
  .summary-strip { max-width: 760px; margin: 64px auto 0; gap: 12px; }
  .sum { padding: 24px; }
  .sum dd b { font-size: 48px; }
  h2 { font-size: 40px; }
  .board { padding-top: 120px; }
  .list { padding-top: 120px; }
  .board-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .cell.all { grid-column: span 1; }
  .cell { min-height: 168px; padding: 22px; }
  .cell-num { font-size: 48px; }
  .banner { grid-template-columns: 400px 1fr; }
  .banner-img { aspect-ratio: auto; min-height: 260px; }
  .banner-body { padding: 32px 36px; }
  .banner h3 { font-size: 28px; }
  .detail-head h1 { font-size: 56px; }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .radio-grid { grid-template-columns: repeat(4, 1fr); }
  .grid2 { grid-template-columns: 1fr 1fr; }
  .grid3 { grid-template-columns: 1fr 1fr 1.4fr; }
  .link-row { grid-template-columns: 220px 1fr; }
  .img-pick { flex-direction: row; align-items: flex-start; }
  .img-preview { width: 300px; flex: none; }
  .due-pick { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .step { padding: 32px 32px 12px; }
  .inquiry { padding: 36px; gap: 24px; }
  .form-wrap h1, .gate h1, .done h1, .admin h1 { font-size: 48px; }
  .submit-bar { margin: 16px 0 0; border: 0; border-radius: var(--pill); bottom: 20px; padding: 10px 10px 10px 24px; box-shadow: 0 12px 40px rgba(0, 0, 0, .5); }
  .zone-row { flex-direction: row; justify-content: space-between; align-items: center; }
  .zone-row .btn { flex: none; }
  .url-box { flex-direction: row; align-items: center; justify-content: space-between; }
  .arow { flex-direction: row; justify-content: space-between; align-items: center; padding: 20px 24px; }
  .arow-actions { flex: none; justify-content: flex-end; max-width: 400px; }
  .toasts { bottom: 32px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
