/* ============================================================
   guide.css – 승객 안내 페이지 전용 스타일
   ============================================================ */

/* ── 기본 변수 ── */
:root {
  --blue:    #1a56db;
  --blue-lt: #dbeafe;
  --green:   #10b981;
  --green-lt:#d1fae5;
  --red:     #ef4444;
  --red-lt:  #fee2e2;
  --orange:  #f59e0b;
  --orange-lt:#fef3c7;
  --purple:  #8b5cf6;
  --purple-lt:#ede9fe;
  --gray:    #64748b;
  --gray-lt: #f1f5f9;
  --dark:    #1e293b;
  --text:    #334155;
  --border:  #e2e8f0;
  --radius:  14px;
  --shadow:  0 2px 12px rgba(0,0,0,0.10);
  --font: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;
}

/* ── 리셋 & 기본 ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }

body.guide-body {
  font-family: var(--font);
  background: #f0f4f8;
  color: var(--text);
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}

/* ── 화면 전환 ── */
.screen {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}
.screen.hidden { display: none !important; }
.screen.active { display: flex; }

/* ── 화면 바디 스크롤 ── */
.screen-body {
  flex: 1;
  overflow-y: auto;
  padding: 0 0 16px 0;
}

/* ── 공통 헤더 ── */
.screen-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.screen-header.blue   { background: linear-gradient(135deg, #1a56db 0%, #1d4ed8 100%); }
.screen-header.green  { background: linear-gradient(135deg, #059669 0%, #10b981 100%); }

.hd-back, .hd-qr {
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  width: 40px; height: 40px;
  border-radius: 10px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
  transition: background 0.2s;
}
.hd-back:hover, .hd-qr:hover { background: rgba(255,255,255,0.35); }

.hd-title {
  flex: 1;
  display: flex; flex-direction: column;
}
.hd-main { font-size: 17px; font-weight: 700; line-height: 1.3; }
.hd-sub  { font-size: 12px; opacity: 0.85; }

/* ── 화재 비상 배너 ── */
.emergency-banner {
  position: sticky;
  top: 0; z-index: 999;
  background: linear-gradient(90deg, #dc2626, #ef4444);
  color: #fff;
  padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 14px;
  animation: pulseRed 1s infinite alternate;
}
@keyframes pulseRed {
  from { background: linear-gradient(90deg,#dc2626,#ef4444); }
  to   { background: linear-gradient(90deg,#b91c1c,#dc2626); }
}
.emergency-banner.hidden { display: none; }
.btn-evacuate-now {
  margin-left: auto;
  background: #fff;
  color: #dc2626;
  border: none;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px; font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

/* ── 위치 확인 카드 ── */
.loc-confirmed {
  padding: 16px 16px 0;
}
.loc-confirm-card {
  background: #fff;
  border: 2px solid var(--green);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow);
}
.loc-confirm-icon {
  width: 44px; height: 44px;
  background: var(--green-lt);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  font-size: 22px;
  flex-shrink: 0;
}
.loc-confirm-info {
  flex: 1;
  display: flex; flex-direction: column; gap: 2px;
}
.loc-confirm-badge {
  font-size: 11px; color: var(--green); font-weight: 700;
  text-transform: uppercase;
}
.loc-confirm-name {
  font-size: 16px; font-weight: 700; color: var(--dark);
}
.loc-confirm-floor {
  font-size: 12px; color: var(--gray);
}
.loc-change-btn {
  background: var(--gray-lt);
  border: none;
  color: var(--gray);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px; font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.loc-change-btn:hover { background: #e2e8f0; }

/* ── 교통약자 모드 바 ── */
.accessible-bar {
  margin: 12px 16px 0;
  background: #fff;
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
}
.accessible-bar-left {
  flex: 1;
  display: flex; align-items: center; gap: 10px;
}
.accessible-icon {
  font-size: 26px;
  width: 40px; height: 40px;
  background: var(--purple-lt);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.accessible-text strong { display: block; font-size: 14px; color: var(--dark); }
.accessible-text small  { font-size: 11px; color: var(--gray); }

/* 토글 스위치 */
.toggle-switch {
  position: relative;
  width: 52px; height: 28px;
  flex-shrink: 0;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; inset: 0;
  background: #cbd5e1;
  border-radius: 28px;
  cursor: pointer;
  transition: background 0.3s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 22px; height: 22px;
  left: 3px; top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
input:checked + .toggle-slider { background: var(--purple); }
input:checked + .toggle-slider::before { transform: translateX(24px); }

/* ── 목적지 섹션 ── */
.dest-section {
  padding: 16px 16px 0;
  display: flex; flex-direction: column; gap: 12px;
}
.dest-section-title {
  font-size: 15px; font-weight: 700; color: var(--dark);
  display: flex; align-items: center; gap: 8px;
}
.dest-section-title i { color: var(--blue); }

.dest-group {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
}
.dest-group-header {
  padding: 10px 16px;
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
.transfer-header { background: #eff6ff; color: var(--blue); }
.exit-header     { background: var(--green-lt); color: #065f46; }
.evac-header     { background: var(--red-lt); color: #991b1b; }

.dest-list { padding: 6px 8px 8px; display: flex; flex-direction: column; gap: 6px; }

.dest-loading {
  text-align: center; color: var(--gray);
  font-size: 13px; padding: 16px 0;
}
.dest-empty {
  text-align: center; color: #94a3b8;
  font-size: 12px; padding: 14px 0;
}

/* 목적지 아이템 */
.dest-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--gray-lt);
  border-radius: 10px;
  padding: 12px 14px;
  cursor: pointer;
  transition: all 0.2s;
  border: 1.5px solid transparent;
  text-decoration: none;
}
.dest-item:hover {
  background: #e0f2fe;
  border-color: var(--blue);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(26,86,219,0.12);
}
.dest-item.dest-blocked {
  opacity: 0.5;
  background: var(--red-lt);
  cursor: not-allowed;
}

.dest-item-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.dest-icon-transfer { background: #dbeafe; color: var(--blue); }
.dest-icon-exit     { background: var(--green-lt); color: var(--green); }
.dest-icon-evacuation { background: var(--red-lt); color: var(--red); }

.dest-item-body { flex: 1; min-width: 0; }
.dest-item-name {
  font-size: 14px; font-weight: 700; color: var(--dark);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dest-item-meta {
  font-size: 11px; color: var(--gray); margin-top: 3px;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}

.dest-badge {
  font-size: 10px; font-weight: 700;
  padding: 2px 7px; border-radius: 99px;
  display: inline-flex; align-items: center; gap: 3px;
}
.accessible-badge { background: var(--purple-lt); color: var(--purple); }
.blocked-badge    { background: var(--red-lt); color: var(--red); }

.dest-item-time {
  font-size: 12px; color: var(--gray); font-weight: 600;
  display: flex; align-items: center; gap: 4px; flex-shrink: 0;
  flex-direction: column;
}
.dest-arrow { margin-top: 4px; color: #94a3b8; font-size: 11px; }

/* ── 직접 위치 선택 ── */
.manual-loc-section {
  margin: 12px 16px 0;
  background: #fff;
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
}
.manual-loc-title {
  font-size: 14px; font-weight: 700; color: var(--dark);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.manual-loc-title i { color: var(--blue); }

.sel-full {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14px; font-family: var(--font);
  color: var(--dark);
  background: #fff;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  margin-bottom: 8px;
}
.sel-full:focus { outline: none; border-color: var(--blue); }

/* ── QR 스캔 CTA ── */
.qr-scan-cta {
  padding: 12px 16px 0;
}
.btn-scan-qr {
  width: 100%;
  background: linear-gradient(135deg, var(--blue) 0%, #1d4ed8 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 16px;
  cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  box-shadow: 0 4px 14px rgba(26,86,219,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-scan-qr:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,86,219,0.45);
}
.btn-scan-qr i    { font-size: 28px; }
.btn-scan-qr span { font-size: 15px; font-weight: 700; }
.btn-scan-qr small{ font-size: 11px; opacity: 0.8; }

/* ── 경로 요약 카드 ── */
.route-summary-card {
  margin: 16px;
  background: #fff;
  border-radius: var(--radius);
  padding: 16px;
  display: flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
}
.rs-from, .rs-to {
  flex: 1;
  display: flex; flex-direction: column; gap: 3px;
}
.rs-from { align-items: flex-start; }
.rs-to   { align-items: flex-end; }
.rs-label {
  font-size: 11px; color: var(--gray); font-weight: 600; text-transform: uppercase;
}
.rs-name {
  font-size: 14px; font-weight: 700; color: var(--dark);
  text-align: right;
  word-break: break-word;
}
.rs-from .rs-name { text-align: left; }
.rs-arrow-col {
  font-size: 22px; color: var(--blue);
  flex-shrink: 0;
}

/* ── 메타 바 ── */
.route-meta-bar {
  margin: 0 16px 12px;
  background: var(--blue-lt);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex; gap: 16px; align-items: center;
  font-size: 13px; color: var(--blue); font-weight: 600;
  flex-wrap: wrap;
}
.rm-accessible {
  background: var(--purple-lt);
  color: var(--purple);
  padding: 2px 10px;
  border-radius: 99px;
  font-size: 12px;
}
.rm-accessible.hidden { display: none; }

/* ── 평면도 카드 ── */
.map-card {
  margin: 0 16px 12px;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
}
.map-card-header {
  padding: 10px 14px;
  background: var(--gray-lt);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; font-weight: 700; color: var(--dark);
  flex-wrap: wrap; gap: 8px;
}
.floor-tabs {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.floor-tab {
  background: #fff;
  border: 1.5px solid var(--border);
  color: var(--gray);
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 12px; font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.floor-tab.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.map-wrap {
  padding: 12px;
  background: #f8fafc;
  display: flex; justify-content: center;
}
.map-wrap canvas {
  width: 100%; max-width: 380px; height: auto;
  border-radius: 8px;
  display: block;
}
.map-legend {
  padding: 8px 14px;
  display: flex; gap: 14px; flex-wrap: wrap;
  font-size: 11px; color: var(--gray);
  border-top: 1px solid var(--border);
}
.leg {
  display: inline-block;
  width: 14px; height: 14px;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 4px;
}
.leg-start { background: #ef4444; }
.leg-line  { background: var(--blue); border-radius: 2px; height: 4px; margin-top: 5px; }
.leg-end   { background: var(--green); }

/* ── 단계별 안내 카드 ── */
.steps-card {
  margin: 0 16px 12px;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
}
.steps-card-header {
  padding: 10px 14px;
  background: var(--gray-lt);
  border-bottom: 1px solid var(--border);
  font-size: 13px; font-weight: 700; color: var(--dark);
  display: flex; align-items: center; gap: 8px;
}
#steps-list { padding: 12px; }

/* 경로 단계 아이템 */
.route-step-item {
  display: flex; gap: 0;
  min-height: 60px;
}
.step-line-col {
  display: flex; flex-direction: column; align-items: center;
  width: 44px; flex-shrink: 0;
}
.step-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  z-index: 1;
}
.step-start    { background: #fee2e2; color: #ef4444; border: 2px solid #ef4444; }
.step-end      { background: var(--green-lt); color: var(--green); border: 2px solid var(--green); }
.step-walk     { background: #f1f5f9; color: var(--gray); border: 2px solid #cbd5e1; }
.step-elevator { background: var(--purple-lt); color: var(--purple); border: 2px solid var(--purple); }
.step-escalator{ background: var(--blue-lt); color: var(--blue); border: 2px solid var(--blue); }
.step-stair    { background: var(--orange-lt); color: var(--orange); border: 2px solid var(--orange); }
.step-gate     { background: var(--green-lt); color: var(--green); border: 2px solid var(--green); }
.step-exit     { background: var(--green-lt); color: #065f46; border: 2px solid var(--green); }
.step-evac     { background: var(--red-lt); color: var(--red); border: 2px solid var(--red); }
.step-platform { background: #e0f2fe; color: #0284c7; border: 2px solid #0284c7; }

.step-connector {
  flex: 1;
  width: 2px;
  background: var(--border);
  margin: 2px 0;
  min-height: 20px;
}
.step-content-col {
  flex: 1;
  padding: 6px 8px 16px 10px;
}
.step-action-row {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  margin-bottom: 3px;
}
.step-action {
  font-size: 14px; font-weight: 700; color: var(--dark);
}
.step-floor-badge {
  background: #1e293b; color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 2px 7px; border-radius: 99px;
}
.step-acc-badge {
  background: var(--purple-lt); color: var(--purple);
  font-size: 11px;
  padding: 2px 7px; border-radius: 99px;
}
.step-detail {
  font-size: 12px; color: var(--gray); line-height: 1.5;
}

/* ── 설명 카드 ── */
.desc-card {
  margin: 0 16px 12px;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
}
.desc-card-header {
  padding: 10px 14px;
  background: var(--gray-lt);
  border-bottom: 1px solid var(--border);
  font-size: 13px; font-weight: 700; color: var(--dark);
  display: flex; align-items: center; justify-content: space-between;
}
.btn-tts {
  background: var(--blue);
  color: #fff; border: none;
  padding: 6px 14px; border-radius: 8px;
  font-size: 12px; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; gap: 5px;
}
.btn-tts:hover { background: #1d4ed8; }

.desc-text { padding: 14px; font-size: 13px; line-height: 1.8; color: var(--text); }
.desc-route-title { font-size: 14px; margin-bottom: 10px; }
.desc-steps-ol { padding-left: 18px; }
.desc-step-li {
  margin-bottom: 8px;
  line-height: 1.6;
}
.badge-acc {
  background: var(--purple-lt); color: var(--purple);
  font-size: 11px; font-weight: 700;
  padding: 2px 8px; border-radius: 99px;
  display: inline-flex; align-items: center; gap: 3px;
}

/* ── 재스캔 팁 ── */
.rescan-tip {
  margin: 0 16px 12px;
  background: #eff6ff;
  border: 1.5px solid #bfdbfe;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 12px; color: var(--blue);
  display: flex; align-items: flex-start; gap: 8px;
  line-height: 1.5;
}

/* ── QR 스캐너 전체화면 ── */
.qr-scanner-screen {
  position: fixed; inset: 0; z-index: 9999;
  background: #000;
  display: flex; flex-direction: column;
}
.qr-scanner-screen.hidden { display: none !important; }

.qrs-header {
  padding: 14px 16px;
  background: rgba(0,0,0,0.6);
  display: flex; align-items: center; gap: 12px;
  color: #fff;
}
.qrs-header button {
  background: rgba(255,255,255,0.2);
  border: none; color: #fff;
  width: 38px; height: 38px;
  border-radius: 10px; cursor: pointer;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.qrs-header > span:nth-child(2) { flex: 1; font-size: 16px; font-weight: 700; }
.qrs-header > span:last-child   { font-size: 12px; color: rgba(255,255,255,0.7); }

.qrs-body {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px;
}
.qrs-viewfinder {
  position: relative;
  width: min(80vw, 280px); height: min(80vw, 280px);
}
.qrs-viewfinder video {
  width: 100%; height: 100%;
  object-fit: cover; border-radius: 16px;
}
.qrs-frame {
  position: absolute; inset: 0;
  pointer-events: none;
}
.qrf {
  position: absolute;
  width: 28px; height: 28px;
  border-color: #fff;
  border-style: solid;
}
.qrf.tl { top: 8px; left: 8px; border-width: 3px 0 0 3px; border-radius: 4px 0 0 0; }
.qrf.tr { top: 8px; right: 8px; border-width: 3px 3px 0 0; border-radius: 0 4px 0 0; }
.qrf.bl { bottom: 8px; left: 8px; border-width: 0 0 3px 3px; border-radius: 0 0 0 4px; }
.qrf.br { bottom: 8px; right: 8px; border-width: 0 3px 3px 0; border-radius: 0 0 4px 0; }
.qrs-line {
  position: absolute; left: 8px; right: 8px;
  height: 2px; background: rgba(26,86,219,0.8);
  top: 50%; transform: translateY(-50%);
  animation: scanLine 2s linear infinite;
}
@keyframes scanLine {
  0%   { top: 15%; }
  100% { top: 85%; }
}
.qrs-guide {
  color: rgba(255,255,255,0.8); font-size: 13px; text-align: center;
}

.qrs-manual {
  background: rgba(0,0,0,0.6);
  padding: 16px 20px;
  width: 100%;
}
.qrs-input-row {
  display: flex; gap: 8px; margin-bottom: 10px;
}
.qrs-input-row input {
  flex: 1;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: #fff; font-size: 14px;
  padding: 10px 12px; border-radius: 10px;
  font-family: var(--font);
}
.qrs-input-row input::placeholder { color: rgba(255,255,255,0.4); }
.qrs-input-row button {
  background: var(--blue); color: #fff; border: none;
  padding: 10px 18px; border-radius: 10px;
  font-size: 14px; font-weight: 700; cursor: pointer;
}
.qrs-quick-btns {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.qrs-quick-btns button {
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: #fff; font-size: 12px; font-weight: 600;
  padding: 7px 14px; border-radius: 8px;
  cursor: pointer; font-family: var(--font);
  transition: background 0.2s;
}
.qrs-quick-btns button:hover { background: rgba(255,255,255,0.3); }

/* ── 팝업 오버레이 ── */
.popup-overlay {
  position: fixed; inset: 0; z-index: 8888;
  background: rgba(0,0,0,0.55);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.popup-overlay.hidden { display: none !important; }

.popup-card {
  background: #fff; border-radius: 20px;
  padding: 28px 24px;
  max-width: 340px; width: 100%;
  text-align: center;
  box-shadow: 0 8px 40px rgba(0,0,0,0.28);
  animation: popupIn 0.3s ease;
}
@keyframes popupIn {
  from { transform: scale(0.85); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.popup-emoji { font-size: 48px; margin-bottom: 12px; }
.popup-card h3 { font-size: 20px; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.popup-card p  { font-size: 14px; color: var(--gray); margin-bottom: 6px; }
.popup-sub { font-size: 12px !important; }
.popup-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }

.btn-update-route {
  background: var(--blue); color: #fff; border: none;
  padding: 13px; border-radius: 12px;
  font-size: 15px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-close-popup {
  background: var(--gray-lt); color: var(--gray); border: none;
  padding: 12px; border-radius: 12px;
  font-size: 14px; font-weight: 600; cursor: pointer;
}

/* 화재 팝업 */
.fire-popup { border: 3px solid #ef4444; }
.fire-emoji { animation: fireAnim 0.5s infinite alternate; }
@keyframes fireAnim { from { transform: scale(1); } to { transform: scale(1.15); } }
.fire-title { color: #ef4444 !important; }
.fire-warning { color: #dc2626 !important; font-weight: 700 !important; }
.btn-evacuate-emergency {
  background: linear-gradient(135deg, #dc2626, #ef4444);
  color: #fff; border: none;
  padding: 14px 20px; border-radius: 12px;
  font-size: 15px; font-weight: 700; cursor: pointer;
  width: 100%; margin-top: 14px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 4px 14px rgba(239,68,68,0.4);
}

/* ── 반응형 ── */
@media (max-width: 400px) {
  .hd-main { font-size: 15px; }
  .dest-item-name { font-size: 13px; }
  .route-summary-card { padding: 12px; }
  .rs-name { font-size: 13px; }
}
