/* ============================================================
   더타이어샵 차사랑카센터 · carlove.kr
   손님 화면 + 관리자 화면 공용 스타일
   (기존 미니앱의 색·여백·둥근 모서리 톤을 그대로 이어받았습니다)
   ============================================================ */

:root {
  --bg: #F3F4F6;
  --surface: #FFFFFF;
  --surface-2: #F7F8FA;
  --ink: #14171C;
  --ink-sub: #5B6370;
  --line: #E3E6EC;
  --brand: #1A1F26;
  --brand-2: #262D37;
  --brand-ink: #FFFFFF;
  --accent: #E86F12;
  --accent-hover: #D45F08;
  --accent-soft: #FFF2E6;
  --green: #16A34A;
  --green-bg: #DCFCE7;
  --yellow: #D97706;
  --yellow-bg: #FEF3C7;
  --red: #DC2626;
  --red-bg: #FEE2E2;
  --radius: 18px;
  --shadow: 0 2px 10px rgba(17, 24, 39, 0.05);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F1115;
    --surface: #181C23;
    --surface-2: #212630;
    --ink: #F3F4F6;
    --ink-sub: #9CA3AF;
    --line: #2C3340;
    --brand: #1E242D;
    --brand-2: #2A313D;
    --brand-ink: #F9FAFB;
    --accent: #F59E0B;
    --accent-hover: #D97706;
    --accent-soft: rgba(245, 158, 11, 0.14);
    --green: #22C55E;
    --green-bg: rgba(34, 197, 94, 0.16);
    --yellow: #FBBF24;
    --yellow-bg: rgba(251, 191, 36, 0.16);
    --red: #F87171;
    --red-bg: rgba(248, 113, 113, 0.16);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
  }
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
    'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  line-height: 1.5;
  padding-bottom: calc(36px + env(safe-area-inset-bottom));
  -webkit-text-size-adjust: 100%;
}
a { color: var(--accent); }
button, input, select, textarea { font-family: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hidden { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 상단 바 ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  border: none;
  background: none;
  color: var(--ink);
  padding: 0;
  text-align: left;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brand);
  color: #FDE68A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
}
.brand-text-main {
  display: block;
  font-family: 'Do Hyeon', 'Pretendard Variable', Pretendard, sans-serif;
  font-size: 18px;
  line-height: 1.1;
}
.brand-text-sub { display: block; font-size: 11px; color: var(--ink-sub); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-btn {
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink);
  border-radius: 10px;
  padding: 7px 12px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.nav-btn.active { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.nav-btn.desktop-only { display: none; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 16px; }

/* ---------- 히어로 ---------- */
.hero {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: var(--brand-ink);
  border-radius: 22px;
  padding: 22px 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.13);
  color: #FDE68A;
  padding: 5px 11px;
  border-radius: 999px;
}
.hero h1 {
  margin: 0;
  font-family: 'Do Hyeon', 'Pretendard Variable', Pretendard, sans-serif;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.hero p { margin: 0; font-size: 13.5px; opacity: 0.85; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.hero-chip {
  font-size: 12px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4px 10px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.92);
}

/* ---------- 리프트 현황 ---------- */
.board {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.board-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.board-title {
  font-size: 15.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}
.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
  box-shadow: 0 0 0 4px var(--green-bg);
  flex-shrink: 0;
}
.live-dot.stale { background: var(--ink-sub); box-shadow: 0 0 0 4px var(--surface-2); }
.board-hint { font-size: 12px; color: var(--ink-sub); }
.lifts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lift-card {
  background: var(--surface-2);
  border-radius: 14px;
  padding: 13px 10px;
  text-align: center;
  border: 1.5px solid var(--line);
  transition: transform 0.12s ease, border-color 0.15s ease;
  color: var(--ink);
}
.lift-card.editable { cursor: pointer; }
.lift-card.editable:hover { border-color: var(--accent); }
.lift-card.editable:active { transform: scale(0.97); }
.lift-card:disabled { cursor: progress; opacity: 0.7; }
.lift-name { font-size: 12px; font-weight: 800; color: var(--ink-sub); margin-bottom: 7px; }
.lift-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  width: 100%;
}
.lift-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.state-green { background: var(--green-bg); color: var(--green); }
.state-yellow { background: var(--yellow-bg); color: var(--yellow); }
.state-red { background: var(--red-bg); color: var(--red); }
.lift-sub { margin-top: 7px; font-size: 11.5px; color: var(--ink-sub); word-break: keep-all; }
/* 진단중 리프트: '14:20 등록 · 예상 종료 ~14:30' */
.lift-time {
  margin-top: 4px;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--yellow);
  word-break: keep-all;
}

/* ---------- 큰 버튼 2개 ---------- */
.main-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.big-btn {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 22px 18px;
  min-height: 164px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: border-color 0.15s, transform 0.12s, box-shadow 0.15s;
}
.big-btn:hover { border-color: var(--accent); transform: translateY(-2px); }
.big-btn:active { transform: scale(0.98); }
.big-btn.primary {
  border-color: var(--accent);
  background: linear-gradient(155deg, var(--accent-soft) 0%, var(--surface) 62%);
}
.big-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  margin-bottom: 14px;
}
.big-btn.primary .big-icon { background: var(--accent); color: #fff; }
.big-title { display: block; font-size: 20px; font-weight: 800; margin: 0 0 5px; }
.big-desc { display: block; font-size: 13px; color: var(--ink-sub); margin: 0; word-break: keep-all; }
.big-arrow { display: block; margin-top: 12px; font-size: 12.5px; font-weight: 700; color: var(--accent); }

/* ---------- 안내 카드 ---------- */
.info-grid { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 16px; }
.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
}
.info-label { font-size: 12px; font-weight: 800; color: var(--accent); margin-bottom: 4px; }
.info-val { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.info-sub { font-size: 12px; color: var(--ink-sub); margin-top: 2px; }
.info-sub a { font-weight: 700; text-decoration: none; }

/* ---------- 패널 ---------- */
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
}
.back-btn {
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink);
  border-radius: 10px;
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.steps { display: flex; gap: 6px; margin-bottom: 18px; }
.step-bar { flex: 1; height: 5px; border-radius: 5px; background: var(--line); }
.step-bar.active { background: var(--accent); }

.sec-title { font-size: 18px; font-weight: 800; margin: 0 0 4px; }
.sec-sub { font-size: 13px; color: var(--ink-sub); margin: 0 0 16px; }

/* ---------- 선택 목록 ---------- */
.opt-list { display: grid; grid-template-columns: 1fr; gap: 10px; }
.opt-item {
  border: 1.5px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  padding: 14px 16px;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
  transition: border-color 0.15s, background 0.15s;
}
.opt-item:hover { border-color: var(--accent); }
.opt-item.selected { border-color: var(--accent); background: var(--accent-soft); }
.opt-name {
  font-size: 15px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.opt-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink-sub);
  flex-shrink: 0;
}
.opt-detail { display: block; font-size: 12.5px; color: var(--ink-sub); margin-top: 5px; }

/* ---------- 달력 ---------- */
.cal-box {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 14px;
}
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.cal-title { font-size: 15px; font-weight: 800; }
.cal-nav { display: flex; gap: 6px; }
.cal-nav-btn {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.cal-nav-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.cal-weekdays, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal-weekdays {
  margin-bottom: 6px;
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-sub);
}
.cal-weekdays span:first-child { color: var(--red); }
.cal-day {
  border: 1.5px solid transparent;
  background: var(--surface);
  color: var(--ink);
  border-radius: 10px;
  min-height: 46px;
  padding: 4px 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}
.cal-day.empty { background: transparent; cursor: default; }
.cal-day:not(.empty):not(:disabled):hover { border-color: var(--accent); }
.cal-day.selected { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.cal-day.closed, .cal-day.past { opacity: 0.36; cursor: not-allowed; background: transparent; }
.cal-day.today { box-shadow: inset 0 0 0 1.5px var(--ink-sub); }
.cal-tag { font-size: 9.5px; font-weight: 700; line-height: 1; color: var(--ink-sub); }
.cal-day.selected .cal-tag { color: var(--accent); }
.cal-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* ---------- 시간 칩 ---------- */
.time-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.chip {
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 11px;
  padding: 10px 6px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  line-height: 1.25;
}
.chip:hover:not(:disabled) { border-color: var(--accent); }
.chip.selected { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.chip.closed { opacity: 0.42; cursor: not-allowed; }
.chip.locked { border-color: var(--red); color: var(--red); background: var(--red-bg); opacity: 1; }
.chip-sub { display: block; font-size: 10.5px; font-weight: 700; color: var(--ink-sub); margin-top: 1px; }
.chip.selected .chip-sub { color: var(--accent); }
.chip.locked .chip-sub { color: var(--red); }

/* ---------- 폼 ---------- */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--ink-sub);
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-family: inherit;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
}
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--ink-sub);
  cursor: pointer;
  word-break: keep-all;
}
.check-row input { margin-top: 3px; flex-shrink: 0; }
.check-row strong { color: var(--ink); }

/* ---------- 픽업 요청 ---------- */
.pickup-toggle { margin-top: 2px; }
.pickup-box {
  margin-top: 10px;
  padding: 14px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
}
.pickup-note {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 5px 11px;
  margin-bottom: 12px;
  word-break: keep-all;
}
.pickup-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-sub);
  margin-bottom: 6px;
}
.pickup-zones {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.zone-chip {
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.zone-chip:hover { border-color: var(--accent); }
.zone-chip.selected {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}
.pickup-box input {
  width: 100%;
  padding: 12px;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-family: inherit;
}
.pickup-box input:focus { outline: none; border-color: var(--accent); }
.pickup-hint {
  margin: 8px 0 0;
  font-size: 11.5px;
  color: var(--ink-sub);
}
.pickup-badge { background: var(--yellow-bg); color: var(--yellow); }
.cta {
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 14px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  margin-top: 14px;
  transition: background 0.15s;
}
.cta:hover:not(:disabled) { background: var(--accent-hover); }
.cta:disabled { opacity: 0.42; cursor: not-allowed; }
.cta.secondary { background: var(--brand); }
.cta.ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
  margin-top: 8px;
}

/* ---------- 알림 ---------- */
.alert {
  border-radius: 12px;
  padding: 11px 13px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.45;
  margin-top: 12px;
  border: 1px solid transparent;
  word-break: keep-all;
}
.alert-error { background: var(--red-bg); color: var(--red); border-color: rgba(220, 38, 38, 0.25); }
.alert-info { background: var(--surface-2); color: var(--ink-sub); border-color: var(--line); }
.alert-warn { background: var(--yellow-bg); color: var(--yellow); border-color: rgba(217, 119, 6, 0.25); }
.alert-ok { background: var(--green-bg); color: var(--green); border-color: rgba(22, 163, 74, 0.25); }

/* ---------- 문의 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.contact-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: var(--surface-2);
}
.call-link {
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- 요약 ---------- */
.summary-box {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  font-size: 13.5px;
  margin: 12px 0;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
}
.summary-row:last-child { border-bottom: none; }
.summary-row span { color: var(--ink-sub); flex-shrink: 0; }
.summary-row strong { text-align: right; word-break: keep-all; }

.note-footer {
  text-align: center;
  font-size: 12px;
  color: var(--ink-sub);
  margin-top: 8px;
  line-height: 1.7;
}

/* ---------- 관리자: 예약 목록 ---------- */
.res-list { display: grid; gap: 10px; margin-top: 12px; }
.res-item {
  border: 1px solid var(--line);
  background: var(--surface-2);
  border-radius: 14px;
  padding: 14px;
}
.res-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.res-top strong { font-size: 14.5px; }
.res-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  white-space: nowrap;
}
.res-badge.done { background: var(--green-bg); color: var(--green); }
.res-badge.manual { background: var(--surface); color: var(--ink-sub); border: 1px solid var(--line); font-weight: 700; }
.mini-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.mini-btn {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.mini-btn.danger { color: var(--red); border-color: rgba(220, 38, 38, 0.3); }
.res-meta { font-size: 12.5px; color: var(--ink-sub); margin-top: 3px; word-break: keep-all; }
.res-meta a { color: var(--accent); font-weight: 700; text-decoration: none; }
.res-meta.res-pickup {
  color: var(--yellow);
  font-weight: 700;
  background: var(--yellow-bg);
  border-radius: 9px;
  padding: 6px 10px;
  margin-top: 6px;
}

/* ---------- 관리자 공통 ---------- */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.toolbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.seg { display: flex; gap: 4px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.seg button {
  border: none;
  background: transparent;
  color: var(--ink-sub);
  border-radius: 7px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.seg button.active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.adm-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.adm-title { font-size: 17px; font-weight: 800; }
.muted { color: var(--ink-sub); font-size: 12.5px; }
.empty {
  font-size: 13px;
  color: var(--ink-sub);
  padding: 14px 4px;
  text-align: center;
}
.skeleton {
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--surface-2), var(--line), var(--surface-2));
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  margin: 6px 0;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ---------- 로그인 화면 ---------- */
.login-wrap {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}
.login-card {
  width: 100%;
  max-width: 380px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 22px;
  box-shadow: var(--shadow);
}
.login-card h1 { font-size: 20px; margin: 14px 0 4px; font-weight: 800; }
.login-card p { font-size: 13px; color: var(--ink-sub); margin: 0 0 18px; }

/* ---------- 토스트 ---------- */
#toast {
  position: fixed;
  left: 50%;
  bottom: calc(20px + env(safe-area-inset-bottom));
  transform: translateX(-50%) translateY(20px);
  max-width: min(92vw, 480px);
  background: var(--brand);
  color: var(--brand-ink);
  font-size: 13px;
  font-weight: 600;
  padding: 11px 16px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 60;
  text-align: center;
  word-break: keep-all;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#toast.error { background: var(--red); }

/* ---------- 데스크톱 ---------- */
@media (min-width: 768px) {
  .nav-btn.desktop-only { display: inline-flex; }
  .wrap { padding: 24px 20px; }
  .hero {
    padding: 30px 28px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 14.5px; }
  .desktop-split {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 18px;
    align-items: start;
  }
  .big-btn { min-height: 210px; padding: 26px 24px; }
  .big-title { font-size: 22px; }
  .info-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .opt-list { grid-template-columns: 1fr 1fr; }
  .time-grid { grid-template-columns: repeat(4, 1fr); }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field.full { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .no-desktop { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
