/* 프렌즈렌트카 — 화면별 CSS 조립. 순서=cascade: common → 화면들 → responsive(맨 뒤) */

/* 프렌즈렌트카 — 공통(토큰·리셋·chrome). 디자인 styles.css 미러 + chrome.jsx 시맨틱화 */

/* ───────── 폰트 (self-host) ───────── */

@font-face {
  font-family: "Pretendard Variable";

  font-style: normal;

  font-weight: 100 900;

  font-display: swap;

  src: url("/static/fonts/PretendardVariable.woff2") format("woff2");
}

/* 제목용(display) — 네이버 NanumSquareRound. 라이선스 표기: footer 참조 */

@font-face {
  font-family: "NanumSquareRound";

  font-weight: 300;

  font-display: swap;

  src: url("/static/fonts/NanumSquareRoundL.ttf") format("truetype");
}

@font-face {
  font-family: "NanumSquareRound";

  font-weight: 400;

  font-display: swap;

  src: url("/static/fonts/NanumSquareRoundR.ttf") format("truetype");
}

@font-face {
  font-family: "NanumSquareRound";

  font-weight: 700;

  font-display: swap;

  src: url("/static/fonts/NanumSquareRoundB.ttf") format("truetype");
}

@font-face {
  font-family: "NanumSquareRound";

  font-weight: 800;

  font-display: swap;

  src: url("/static/fonts/NanumSquareRoundEB.ttf") format("truetype");
}

/* ───────── 디자인 토큰 (styles.css :root 미러) ───────── */

:root {
  --brand: #0b5cff;
  --brand-ink: #001a4d;
  --brand-soft: #eaf2ff;
  --accent: #ffd23f;
  --accent-warm: #ff6b35;
  --ink-1: #0a0e1a;
  --ink-2: #2a2f3a;
  --ink-3: #6b7280;
  --ink-4: #9ca3af;
  --line: #e8eaee;
  --line-strong: #d4d8df;
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --bg-sand: #faf7f0;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-sans:
		"Pretendard Variable", system-ui, -apple-system, "Apple SD Gothic Neo",
		sans-serif;
  --font-display: "NanumSquareRound", var(--font-sans);
  --shadow-sm: 0 1px 2px rgba(10, 14, 26, 0.05);
  --shadow-md: 0 6px 24px -8px rgba(10, 14, 26, 0.12);
  --shadow-lg: 0 24px 60px -20px rgba(10, 14, 26, 0.18);
  --header-h: 72px;
}

/* ───────── 리셋 ───────── */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--ink-1);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "tnum";
}

body.service-pending {
  visibility: hidden;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input,
select,
textarea {
  font-family: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.h-display {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
}

.num {
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

/* 스크롤바 */

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  scrollbar-width: none;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

::-moz-selection {
  background: var(--brand);
  color: #fff;
}

::selection {
  background: var(--brand);
  color: #fff;
}

/* 이미지 박스 — 기본 배경은 연회색(투명 PNG 차량 뒤). 로드 실패 시(onerror 가 .is-broken 부여)에만 그라데이션 + 차 아이콘 폴백 */

.img-fallback {
  position: relative;
  background: #f0f3f7;
}

.img-fallback.is-broken {
  background: linear-gradient(135deg, #eaf2ff 0%, #c7dfff 60%, #ffd9b0 100%);
}

.img-fallback.is-broken::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 32 32' fill='none'%3E%3Cpath d='M4 22V14c0-3 2-5 5-5h14c3 0 5 2 5 5v8' stroke='%232A2F3A' stroke-width='2.4' stroke-linecap='round'/%3E%3Ccircle cx='10' cy='22' r='3' fill='%232A2F3A'/%3E%3Ccircle cx='22' cy='22' r='3' fill='%232A2F3A'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
}

.img-fallback > img {
  position: relative;
  z-index: 1;
}

/* ───────── 레이아웃 컨테이너 (components.jsx Container) ───────── */

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

/* ───────── 브랜드 로고 ─────────
   관리자에서 교체하는 가로형 로고도 안 잘리고 박스 안에서 축소되게 렌더한다. */

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  height: 44px;
  width: 180px;
}

.brand-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
}

.brand-logo.is-light img {
  filter: invert(1) brightness(2);
}

/* ───────── Trust strip (상단 검은 바) ───────── */

.trust-strip-bar {
  background: var(--ink-1);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.005em;
  overflow: hidden;
  border-bottom: 1px solid #1a1f2e;
}

.trust-strip-bar .container > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  gap: 24px;
}

.trust-strip {
  display: flex;
  gap: 28px;
  align-items: center;
  overflow: hidden;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  background: transparent;
  border: 0;
  padding: 0;
  color: #fff;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
  transition: opacity 0.15s;
}

.trust-item:hover {
  opacity: 0.75;
}

.trust-item .ico {
  color: var(--accent);
  font-size: 14px;
}

/* ───────── Header ───────── */

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
}

.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 32px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand-link {
  background: 0;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
}

.gnb {
  display: flex;
  gap: 4px;
}

.gnb a {
  position: relative;
  padding: 8px 18px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-3);
  letter-spacing: -0.01em;
  transition: color 0.15s;
}

.gnb a:hover {
  color: var(--ink-2);
}

.gnb a.active {
  color: var(--ink-1);
}

.gnb a.active::after {
  content: "";
  position: absolute;
  bottom: -22px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--ink-1);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.header-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-1);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  transition:
		background 0.15s,
		border-color 0.15s;
}

.header-tel:hover {
  background: var(--bg-alt);
  border-color: var(--ink-3);
}

.header-tel .label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

.header-tel .number {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.btn-lookup {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}

.mobile-call-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--ink-1);
  color: #fff;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

/* 헤더 — 텍스트 줄바꿈 방지(좁은 데스크톱에서 "예약조회"·"공지·소식" 내려감 방지) */

.gnb a,
.btn-lookup,
.header-tel .label,
.header-tel .number {
  white-space: nowrap;
}

/* 좁은 데스크톱(1025~1200) — GNB·전화번호가 한 줄에 들어오도록 컴팩트 */

@media (min-width: 1025px) and (max-width: 1200px) {
  .site-header .header-inner {
    gap: 18px;
  }

  .header-left {
    gap: 20px;
  }

  .gnb {
    gap: 2px;
  }

  .gnb a {
    padding: 8px 11px;
    font-size: 16px;
  }

  .gnb a.active::after {
    left: 11px;
    right: 11px;
  }

  .header-right {
    gap: 10px;
  }

  .header-tel {
    padding: 6px 10px;
    gap: 6px;
  }

  .header-tel .number {
    font-size: 17px;
  }
}

/* ───────── Footer ───────── */

.site-footer {
  background: var(--ink-1);
  color: #fff;
  padding: 16px 0 24px;
  margin-top: 32px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid #2a2f3a;
}

.footer-col h5 {
  font-size: 12px;
  font-weight: 800;
  margin: 0 0 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-col li a,
.footer-col li button,
.footer-col li span {
  color: #9ca3af;
  font-size: 13px;
  line-height: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  padding: 0;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 0.15s;
}

.footer-col li span {
  cursor: default;
}

.footer-col li a:hover,
.footer-col li button:hover {
  color: #fff;
}

.footer-col .footer-tel {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 10px;
}

.footer-col .footer-hours {
  font-size: 12.5px;
  color: #9ca3af;
  line-height: 1.7;
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.8;
}

.footer-legal .legal-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-legal .legal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  color: #9ca3af;
}

.footer-legal .legal-row strong {
  color: #fff;
  font-weight: 700;
}

.footer-legal .legal-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.footer-legal .legal-aside p {
  font-size: 13px;
  color: #9ca3af;
  margin: 0;
  line-height: 1.7;
  letter-spacing: -0.01em;
  max-width: 420px;
  text-align: right;
}

.footer-legal .legal-admin-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-legal .legal-admin-btn {
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.04);
  transition:
		border-color 0.15s,
		color 0.15s,
		background 0.15s;
}

.footer-legal .legal-admin-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.footer-legal .legal-aside .copy {
  color: #6b7280;
  letter-spacing: -0.005em;
}

.footer-legal .legal-info .font-credit {
  margin-top: 10px;
  font-size: 12px;
  color: #9ca3af;
  letter-spacing: -0.005em;
}

.friends-admin-modal-content {
  width: 1120px;
  max-width: 96vw;
  height: min(88vh, 920px);
}

.friends-admin-modal-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
  overflow: hidden;
}

.friends-admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.friends-admin-type-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.friends-admin-type-btn {
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: #475569;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.friends-admin-type-btn.is-on {
  background: #0f172a;
  color: #fff;
}

.friends-admin-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.friends-admin-status {
  min-height: 20px;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.friends-admin-save-btn {
  height: 38px;
  padding: 0 16px;
  border-radius: 12px;
  border: 0;
  background: #0f172a;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.friends-admin-save-btn:disabled {
  background: #cbd5e1;
  color: #64748b;
  cursor: not-allowed;
}

.friends-admin-manage-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  min-height: 0;
  height: 100%;
}

.friends-admin-panel {
  min-width: 0;
  min-height: 0;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.friends-admin-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid #e2e8f0;
}

.friends-admin-panel-head h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.friends-admin-panel-head p {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.6;
}

.friends-admin-count {
  flex-shrink: 0;
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
}

.friends-admin-search {
  padding: 14px 20px 0;
}

.friends-admin-search input {
  width: 100%;
  height: 42px;
  border-radius: 12px;
  border: 1px solid #dbe2ea;
  background: #f8fafc;
  padding: 0 14px;
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
}

.friends-admin-list-wrap {
  flex: 1;
  min-height: 0;
  padding: 16px 20px 20px;
  overflow: hidden;
}

.friends-admin-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  max-height: 100%;
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

.friends-admin-list-item {
  display: grid;
  grid-template-columns: 32px 96px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #fff;
}

.friends-admin-list-all .friends-admin-list-item {
  grid-template-columns: 96px minmax(0, 1fr) auto;
}

.friends-admin-list-all .friends-admin-drag {
  display: none;
}

.friends-admin-list-item.is-dragging {
  opacity: 0.55;
  border-color: var(--brand);
}

.friends-admin-list-item.is-drop-target {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(11, 92, 255, 0.12);
}

.friends-admin-drag {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.friends-admin-thumb {
  width: 96px;
  height: 72px;
  border-radius: 12px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.friends-admin-thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.friends-admin-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.friends-admin-copy strong {
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.02em;
  word-break: break-word;
}

.friends-admin-copy span {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.friends-admin-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.friends-admin-action-btn {
  min-width: 62px;
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  border: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.friends-admin-action-btn.is-add {
  background: var(--brand);
}

.friends-admin-action-btn.is-del {
  background: #ef4444;
}

.friends-admin-action-btn.is-icon-only {
  min-width: 40px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  color: #ef4444;
}

.friends-admin-action-btn.is-icon-only svg {
  width: 20px;
  height: 20px;
  display: block;
  margin: 0 auto;
}

.friends-admin-action-btn.is-disabled {
  background: #e2e8f0;
  color: #94a3b8;
  cursor: default;
}

.friends-admin-empty,
.friends-admin-loading {
  min-height: 100%;
  border: 1px dashed #dbe2ea;
  border-radius: 16px;
  background: #f8fafc;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px 18px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

.fr-alert-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.fr-alert-modal[hidden] {
  display: none !important;
}

.fr-alert-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 26, 0.48);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.fr-alert-dialog {
  position: relative;
  z-index: 1;
  width: min(420px, calc(100vw - 32px));
  padding: 24px 24px 20px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 28px 60px -24px rgba(10, 14, 26, 0.34);
}

.fr-alert-head {
  margin-bottom: 10px;
}

.fr-alert-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-1);
}

.fr-alert-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
  word-break: keep-all;
}

.fr-alert-actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
}

.fr-alert-confirm {
  min-width: 104px;
  height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  background: var(--ink-1);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.fr-alert-confirm:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* 가시성 헬퍼 */

.hide-on-mobile {
  display: revert;
}

.mobile-only {
  display: none;
}

/* 모바일 하단 탭바 (기본 숨김 — responsive.css 가 ≤720 에서 표시) */

.mobile-tabbar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: #fff;
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.mtb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 60px;
}

.mtb-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--ink-3);
}

.mtb-item.is-on {
  color: var(--ink-1);
}

.mtb-item svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
}

.mtb-item.is-on svg {
  stroke-width: 2.4;
}

.mtb-item span {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.mtb-item.is-on span {
  font-weight: 800;
}

/* 모바일 검색 strip (기본 숨김) */

.mobile-search-strip {
  display: none;
}

/* ───────── 모바일 풀스크린 검색 모달 (mobile.jsx MobileSearchModal) ───────── */

.msheet {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition:
		opacity 0.2s ease,
		transform 0.2s ease;
}

.msheet.is-open {
  opacity: 1;
  transform: none;
}

.msheet[hidden] {
  display: none;
}

.msheet-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.msheet-back {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.msheet-back svg {
  width: 16px;
  height: 16px;
}

.msheet-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink-1);
  letter-spacing: -0.01em;
}

.msheet-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.msheet-flabel {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.msheet-pick {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  cursor: pointer;
}

.msheet-pick.is-inline {
  padding: 12px 14px;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.msheet-pick-ico {
  color: var(--brand);
  font-size: 17px;
  flex-shrink: 0;
}

.msheet-pick-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.msheet-pick-val {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink-1);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.is-inline .msheet-pick-val {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink-1);
  letter-spacing: -0.015em;
  margin-top: 0;
}

.msheet-pick-sub {
  font-size: 13.5px;
  color: var(--ink-3);
  margin-top: 3px;
  font-weight: 700;
}

.is-inline .msheet-pick-sub {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 0.04em;
  margin-top: 0;
}

.msheet-pick-chev {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.msheet-dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.msheet-ages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.msheet-age {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink-1);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.msheet-age.is-on {
  border-color: var(--ink-1);
  background: var(--ink-1);
  color: #fff;
}

.msheet-cta-wrap {
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0));
  border-top: 1px solid var(--line);
  background: #fff;
  flex-shrink: 0;
}

.msheet-cta {
  width: 100%;
  height: 54px;
  border-radius: 14px;
  background: var(--ink-1);
  color: #fff;
  border: 0;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.msheet-cta svg {
  width: 18px;
  height: 18px;
}

/* ───────── 바텀시트/센터 모달형 달력 (Schedule Modal) ───────── */

.dsheet {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.dsheet.is-visible {
  opacity: 1;
}

.dsheet.is-open {
  opacity: 1;
}

.dsheet[hidden] {
  display: none !important;
}

.dsheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 26, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.dsheet-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  background: #fff;
  border-radius: 0;
  height: 100%;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
}

.dsheet.is-open .dsheet-panel {
  transform: none;
}

/* 태블릿+데스크탑 (≥641px) 에서는 중앙 모달로 변환 */

@media (min-width: 641px) {
  .dsheet {
    align-items: center;
    padding: 24px;
  }

  .dsheet-panel {
    width: 100%;
    max-width: 420px;
    height: auto;
    max-height: 80vh;
    border-radius: var(--radius-xl);
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  .dsheet.is-open .dsheet-panel {
    transform: none;
  }
}

.dsheet-handle-wrap {
  display: none !important;
}

.dsheet-head {
  padding: 12px 24px 16px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.dsheet-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink-1);
  margin: 0;
  letter-spacing: -0.02em;
}

.dsheet-x {
  background: var(--bg-alt);
  border: 0;
  padding: 6px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
		background 0.15s,
		color 0.15s;
}

.dsheet-x:hover {
  background: var(--line);
  color: var(--ink-1);
}

.dsheet-x svg {
  width: 18px;
  height: 18px;
}

.dsheet-dows {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: 10px 20px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  flex-shrink: 0;
}

.dsheet-dows > div {
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--ink-3);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dsheet-dows .is-sun {
  color: var(--accent-warm);
}

.dsheet-dows .is-sat {
  color: var(--brand);
}

/* 연속 캘린더 스크롤 바디 */

.dsheet-cal {
  flex: 1;
  overflow-y: auto;
  padding: 0 16px;
  min-height: 240px;
}

.dsheet-month-section {
  padding-bottom: 12px;
}

.dsheet-month-title {
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink-1);
  padding: 18px 0 12px;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 5;
  border-bottom: 1px solid var(--bg-alt);
  letter-spacing: -0.01em;
}

.dsheet-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  row-gap: 2px;
  margin-top: 8px;
}

.dsheet-cell {
  position: relative;
  height: 48px;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.dsheet-cell.is-empty {
  cursor: default;
}

.dsheet-cell-num {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
  transition: all 0.15s ease;
  position: relative;
  z-index: 2;
}

.dsheet-cell.is-sun .dsheet-cell-num {
  color: var(--accent-warm);
}

.dsheet-cell.is-sat .dsheet-cell-num {
  color: var(--brand);
}

.dsheet-cell:not(.is-empty):not(.is-pickup):not(.is-return):not(
		.is-same-day
	):hover
	.dsheet-cell-num {
  background: rgba(255, 210, 63, 0.15);
}

.dsheet-cell.is-past .dsheet-cell-num {
  color: var(--ink-4) !important;
  text-decoration: line-through;
  opacity: 0.4;
}

.dsheet-cell.is-past {
  cursor: not-allowed;
}

/* 오늘 표시 */

.dsheet-cell.is-today .dsheet-cell-num::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--brand);
}

/* 선택 범위 스타일 */

.dsheet-cell.is-pickup .dsheet-cell-num {
  background: var(--brand);
  color: #fff !important;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.dsheet-cell.is-pickup-range {
  background: linear-gradient(
		to right,
		transparent,
		var(--brand-soft) 50%,
		var(--brand-soft) 100%
	);
}

.dsheet-cell.is-return .dsheet-cell-num {
  background: var(--brand-ink);
  color: #fff !important;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.dsheet-cell.is-return-range {
  background: linear-gradient(
		to left,
		transparent,
		var(--brand-soft) 50%,
		var(--brand-soft) 100%
	);
}

.dsheet-cell.is-range {
  background: var(--brand-soft);
}

/* 대여/반납 동시(당일 대여) 스타일 */

.dsheet-cell.is-same-day .dsheet-cell-num {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-ink) 100%);
  color: #fff !important;
  font-weight: 800;
}

/* 시간 선택 영역 */

.dsheet-time-section {
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.dsheet-time-col {
  flex: 1;
}

.dsheet-time-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--ink-3);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
}

.dsheet-select-wrap {
  position: relative;
}

.dsheet-custom-trigger {
  width: 100%;
  height: 44px;
  border-radius: var(--radius);
  border: 1.5px solid var(--line);
  background: var(--bg-alt);
  padding: 0 16px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink-1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition:
		border-color 0.15s,
		background 0.15s;
}

.dsheet-custom-trigger:focus,
.dsheet-custom-trigger:active {
  border-color: var(--brand);
  outline: none;
}

.dsheet-trigger-arrow {
  color: var(--ink-3);
  transition: transform 0.2s;
}

.dsheet-select-wrap:has(.dsheet-options-dropdown:not([hidden]))
	.dsheet-trigger-arrow {
  transform: rotate(180deg);
}

.dsheet-options-dropdown {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  max-height: 200px;
  overflow-y: auto;
  z-index: 110;
  box-shadow: 0 -4px 20px rgba(10, 14, 26, 0.12);
  margin-bottom: 8px;
  padding: 6px;
}

.dsheet-options-dropdown[hidden] {
  display: none !important;
}

.dsheet-opt-item {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ink-1);
  cursor: pointer;
  text-align: center;
  transition:
		background 0.15s,
		color 0.15s;
}

.dsheet-opt-item:hover {
  background: var(--bg-alt);
}

.dsheet-opt-item.is-selected {
  background: var(--brand-soft) !important;
  color: var(--brand) !important;
}

.dsheet-time-divider {
  width: 1px;
  height: 32px;
  background: var(--line);
}

/* 요약 바 */

.dsheet-summary {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding: 12px 24px;
  flex-shrink: 0;
}

.dsheet-summary[hidden] {
  display: none !important;
}

.dsheet-sum-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dsheet-sum-date {
  text-align: center;
  flex: 1;
}

.dsheet-sum-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--ink-3);
  margin-bottom: 2px;
}

.dsheet-sum-val {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink-1);
  letter-spacing: -0.01em;
}

.dsheet-sum-time {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  margin-top: 1px;
}

.dsheet-sum-date:last-child .dsheet-sum-time {
  color: var(--brand-ink);
}

.dsheet-sum-arrow {
  color: var(--ink-4);
  display: flex;
  align-items: center;
  padding: 0 12px;
}

.dsheet-sum-arrow svg {
  width: 16px;
  height: 16px;
}

/* 확인 버튼 영역 */

.dsheet-confirm-wrap {
  padding: 14px 24px calc(14px + env(safe-area-inset-bottom, 0));
  border-top: 1px solid var(--line);
  background: #fff;
  flex-shrink: 0;
}

.dsheet-confirm {
  width: 100%;
  height: 52px;
  border-radius: var(--radius);
  background: var(--ink-1);
  color: #fff;
  border: 0;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition:
		background 0.2s,
		opacity 0.2s;
}

.dsheet-confirm:disabled {
  background: var(--line-strong);
  color: var(--ink-4);
  cursor: not-allowed;
  opacity: 0.7;
}

.dsheet-toast[hidden] {
  display: none;
}

.dsheet-toast {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  z-index: 5;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(17, 24, 39, 0.94);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.5);
  animation: dsheet-toast-in 0.22s ease-out;
  pointer-events: none;
}

@keyframes dsheet-toast-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   friends 테마에 맞춘 admin 모달 스타일 오버라이드
   ============================================================ */

.sjadmin-fee-modal-content {
  border-radius: 22px !important;
  box-shadow: var(--shadow-lg) !important;
  font-family: var(--font-sans) !important;
}

.sjadmin-fee-modal-header {
  background-color: #fff !important;
  border-bottom: 1px solid var(--line) !important;
  padding: 20px 24px !important;
}

.sjadmin-fee-modal-header h3 {
  color: var(--ink-1) !important;
  font-weight: 800 !important;
  font-size: 18px !important;
  font-family: var(--font-display) !important;
}

.sjadmin-fee-modal-body {
  padding: 24px !important;
  background-color: #fff !important;
}

/* 필터 바 & 입력 필드 */

.sjadmin-input-date,
.sjadmin-form-input,
.form-row-input {
  border: 1.5px solid var(--line-strong) !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  color: var(--ink-1) !important;
  transition: border-color 0.15s !important;
}

.sjadmin-input-date:focus,
.sjadmin-form-input:focus,
.form-row-input:focus {
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 3px rgba(11, 92, 255, 0.1) !important;
}

/* 테이블 th/td 디자인 */

.sjadmin-fee-table-wrap,
.form-table-wrap {
  border: 1.5px solid var(--line) !important;
  border-radius: var(--radius) !important;
}

.sjadmin-fee-table th,
.form-inner-table th {
  background-color: var(--bg-alt) !important;
  color: var(--ink-2) !important;
  font-weight: 800 !important;
  border-bottom: 1.5px solid var(--line-strong) !important;
  padding: 12px 14px !important;
}

.sjadmin-fee-table td,
.form-inner-table td {
  border-bottom: 1px solid var(--line) !important;
  color: var(--ink-2) !important;
  padding: 12px 14px !important;
}

/* 버튼 테마 컬러 교체 */

.btn-fee-search,
.btn-fee-save,
.btn-display-save {
  background-color: var(--brand) !important;
  color: #fff !important;
  font-weight: 800 !important;
  border-radius: var(--radius-sm) !important;
  height: 38px !important;
  padding: 0 20px !important;
  transition: background-color 0.15s !important;
}

.btn-fee-search:hover,
.btn-fee-save:hover,
.btn-display-save:hover {
  background-color: #004ecc !important;
}

.btn-fee-action.delete {
  background-color: var(--ink-1) !important;
  color: #fff !important;
  font-weight: 800 !important;
  border-radius: var(--radius-sm) !important;
  height: 38px !important;
}

.btn-fee-action.delete:hover {
  background-color: #1a202c !important;
}

.btn-fee-action.add {
  background-color: var(--brand) !important;
  color: #fff !important;
  font-weight: 800 !important;
  border-radius: var(--radius-sm) !important;
  height: 38px !important;
}

.btn-fee-action.add:hover {
  background-color: #004ecc !important;
}

.btn-fee-row-add {
  border: 1.5px solid var(--line-strong) !important;
  border-radius: var(--radius-sm) !important;
  background-color: #fff !important;
  color: var(--ink-2) !important;
  font-weight: 700 !important;
  padding: 6px 18px !important;
}

.btn-fee-row-add:hover {
  background-color: var(--bg-alt) !important;
  border-color: var(--ink-3) !important;
}

.btn-fee-row-del {
  background-color: #ef4444 !important;
  font-weight: 700 !important;
  border-radius: var(--radius-sm) !important;
}

.btn-fee-row-del:hover {
  background-color: #dc2626 !important;
}

/* 탭메뉴 (표시정보관리 카테고리) */

.sjadmin-display-sidebar {
  border-bottom: 1.5px solid var(--line) !important;
}

.tag-list li {
  background-color: var(--bg-alt) !important;
  border: 1.5px solid var(--line) !important;
  border-radius: var(--radius-sm) !important;
  color: var(--ink-2) !important;
  font-weight: 700 !important;
  height: 40px !important;
}

.tag-list li:hover {
  background-color: #f1f5f9 !important;
  border-color: var(--line-strong) !important;
}

.tag-list li.active {
  background-color: var(--brand-soft) !important;
  border-color: var(--brand) !important;
  color: var(--brand) !important;
  font-weight: 800 !important;
}

.btn-add-tag {
  background-color: var(--brand) !important;
  color: #fff !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 800 !important;
  height: 30px !important;
}

.btn-add-tag:hover {
  background-color: #004ecc !important;
}

.btn-update-tag-order {
  background-color: var(--accent-warm) !important;
  color: #fff !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 800 !important;
  height: 30px !important;
}

.btn-update-tag-order:hover {
  background-color: #e05a2b !important;
}

.display-placeholder {
  background-color: var(--bg-alt) !important;
  border: 2px dashed var(--line-strong) !important;
  border-radius: var(--radius) !important;
}

/* 토글 그룹 */

.sjadmin-toggle-group {
  border: 1.5px solid var(--line-strong) !important;
  border-radius: var(--radius-sm) !important;
  height: 36px !important;
}

.sjadmin-toggle-group .btn-toggle {
  font-weight: 700 !important;
  color: var(--ink-3) !important;
}

.sjadmin-toggle-group .btn-toggle:not(:last-child) {
  border-right: 1.5px solid var(--line-strong) !important;
}

.sjadmin-toggle-group .btn-toggle.active {
  background-color: var(--bg-alt) !important;
  color: var(--ink-1) !important;
}

/* 푸터 사업자 정보 우측 어드민 하이퍼링크 스타일 */

.footer-legal .legal-admin-link {
  display: none !important;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: underline;
  font-size: 12px;
  font-weight: 700;
  transition: color 0.15s ease;
  margin-left: 8px;
}

.footer-legal .legal-admin-link:hover {
  color: #fff;
}

body.on-manage .footer-legal .legal-admin-link {
  display: inline-block !important;
}

/* 프렌즈렌트카 — 공용 검색바 (홈 히어로 + 차량목록). chrome.jsx SearchBar 미러 */

.searchbar {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 30px 70px -25px rgba(10,14,26,.25);
  border: 1px solid var(--line);
  overflow: hidden;
  width: 100%;
}

.searchbar.is-compact {
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.search-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
}

.search-field {
  padding: 20px 22px;
  border-right: 1px solid var(--line);
  cursor: pointer;
  position: relative;
  transition: background .15s;
}

.search-field:hover {
  background: var(--bg-alt);
}

.search-field[data-field="pickupLoc"] {
  cursor: default;
  pointer-events: none;
  transition: none;
}

.search-field[data-field="pickupLoc"]:hover,
.search-field[data-field="pickupLoc"]:active,
.search-field[data-field="pickupLoc"]:focus {
  background: transparent;
}

.is-compact .search-field {
  padding: 14px 16px;
}

.sf-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sf-ico {
  color: var(--brand);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
}

.sf-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-1);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.is-compact .sf-value {
  font-size: 18px;
}

.sf-value .chevron {
  color: var(--ink-3);
  flex-shrink: 0;
  transition: transform .15s;
}

.search-field.is-open .sf-value .chevron {
  transform: rotate(180deg);
}

.sf-sub {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 4px;
  font-weight: 500;
}

.is-compact .sf-sub {
  display: none;
}

.search-submit {
  padding: 12px;
  display: flex;
  align-items: stretch;
}

.is-compact .search-submit {
  padding: 8px;
}

.btn-search {
  background: var(--ink-1);
  color: #fff;
  border: 0;
  padding: 0 40px;
  border-radius: 14px;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.01em;
  min-height: 70px;
  white-space: nowrap;
  transition: opacity .15s;
}

.btn-search:hover {
  opacity: .92;
}

.is-compact .btn-search {
  padding: 0 28px;
  border-radius: 10px;
  font-size: 17px;
  min-height: 52px;
}

/* 드롭다운(운전자 나이 / 날짜 선택) — page JS 가 .sf-dropdown 을 .search-field 안에 주입 */

.sf-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 8px;
  right: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 20px 50px -15px rgba(10,14,26,.25);
  padding: 6px;
  z-index: 50;
}

.sf-option {
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sf-option:hover, .sf-option.is-selected {
  background: var(--bg-alt);
}

.sf-option .check {
  color: var(--brand);
}

/* 드롭다운/달력이 펼쳐질 때 검색바 클립 해제 */

.searchbar:has(.search-field.is-open) {
  overflow: visible;
}

/* 날짜·시간 달력 (DateTimePicker) */

.sf-calendar {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 320px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 28px 70px -20px rgba(10,14,26,.32);
  z-index: 60;
  padding: 16px;
  cursor: default;
}

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cal-nav {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 0;
  background: var(--bg-alt);
  cursor: pointer;
  font-size: 16px;
  color: var(--ink-1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cal-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink-1);
}

.cal-dows {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.cal-dows > div {
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 0;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.cal-day {
  height: 38px;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
}

.cal-day:hover {
  background: var(--bg-alt);
}

.cal-hours {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  max-height: 220px;
  overflow-y: auto;
}

.cal-hour {
  padding: 9px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-1);
}

.cal-hour:hover {
  background: var(--ink-1);
  color: #fff;
}

/* 모바일 컴팩트 검색 strip (mobile.jsx MobileCompactSearch) */

.mobile-search-card {
  width: 100%;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.msc-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
  min-width: 0;
}

.msc-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(16,185,129,.1);
  color: #10B981;
  font-size: 10.5px;
  font-weight: 800;
  flex-shrink: 0;
}

.msc-dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #10B981;
}

.msc-ticker {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

.msc-fast {
  font-size: 11px;
  font-weight: 800;
  color: var(--brand);
  flex-shrink: 0;
}

.msc-schedule {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 14px;
  border-radius: 14px;
  background: var(--brand-soft);
  border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
}

.msc-sched-col {
  flex: 1;
  min-width: 0;
}

.msc-sched-label {
  font-size: 15px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.msc-sched-date {
  font-size: 15px;
  color: var(--ink-1);
  font-weight: 800;
  letter-spacing: -0.025em;
  white-space: nowrap;
  line-height: 1;
  overflow: hidden;
  text-overflow: clip;
  font-feature-settings: "tnum";
}

.msc-sched-arrow {
  display: flex;
  align-items: center;
  color: var(--brand);
  flex-shrink: 0;
}

.msc-sched-arrow svg {
  width: 18px;
  height: 18px;
}

.msc-bottom {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.msc-loc-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.msc-loc {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink-1);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.msc-age {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--ink-2);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 2px 7px;
  border-radius: 999px;
  flex-shrink: 0;
}

.msc-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ink-1);
  color: #fff;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 800;
  flex-shrink: 0;
}

.msc-cta svg {
  width: 13px;
  height: 13px;
}

/* 프렌즈렌트카 — 홈(다이렉트 홈). screens-home.jsx 미러. 섹션 순서대로 */

/* ───────── 공통: 섹션 타이틀 / 칩 / 태그 / 별점 (홈·목록 공용) ───────── */

.sec-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.sec-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.08em;
  line-height: 1.35;
  margin-bottom: 8px;
  padding: 1px 0;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: visible;
}

.sec-h {
  font-size: clamp(28px, 4vw, 44px);
  margin: 0;
  color: var(--ink-1);
}

.sec-sub {
  font-size: 15px;
  color: var(--ink-3);
  margin: 10px 0 0;
  max-width: 560px;
}

.sec-action {
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sec-action:hover {
  color: var(--ink-1);
}

.chip {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--ink-1);
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
}

.chip.is-active {
  background: var(--ink-1);
  color: #fff;
  border-color: var(--ink-1);
}

.chip-row {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.chip-count {
  font-size: 11px;
  opacity: .55;
  font-weight: 600;
}

.chip-sub {
  font-size: 10px;
  opacity: .6;
  font-weight: 500;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.tag-ink {
  background: var(--ink-1);
  color: #fff;
}

.tag-brand {
  background: var(--brand);
  color: #fff;
}

.tag-warm {
  background: var(--accent-warm);
  color: #fff;
}

.stars {
  display: inline-flex;
  gap: 1px;
}

/* ───────── 1. 히어로 ───────── */

.home-hero {
  position: relative;
  min-height: 720px;
  color: #fff;
  background: var(--ink-1);
}

.edit-mode-field.btn-banner-manage {
  display: none !important;
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 5;
  height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(15, 23, 42, .78);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 32px rgba(0,0,0,.22);
}

body.on-edit .edit-mode-field.btn-banner-manage {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.hero-bgs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  border-radius: inherit;
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 900ms ease;
  pointer-events: none;
}

.hero-bg-slide.is-active {
  opacity: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 7s ease-out;
}

.hero-bg-slide.is-active .hero-bg {
  transform: scale(1.04);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,14,26,.55) 0%, rgba(10,14,26,.25) 35%, rgba(10,14,26,.85) 100%);
}

.hero-arrow {
  position: absolute;
  top: 38%;
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(3px);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}

.hero-arrow:hover {
  background: rgba(255,255,255,.12);
}

.hero-arrow.is-left {
  left: 24px;
}

.hero-arrow.is-right {
  right: 24px;
}

.hero-inner {
  position: relative;
  padding-top: 80px;
  padding-bottom: 80px;
  min-height: 720px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1120px;
}

.hero-eyebrow {
  display: inline-flex;
  align-self: flex-start;
  gap: 8px;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 28px;
}

.he-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
}

.hero-title {
  font-size: clamp(40px, 6.4vw, 88px);
  margin: 0;
  text-shadow: 0 2px 30px rgba(0,0,0,.4);
  word-break: keep-all;
}

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,.88);
  margin: 24px 0 0;
  max-width: 540px;
  text-shadow: 0 1px 12px rgba(0,0,0,.4);
}

.hero-pager {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.4);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width .3s, background .3s;
}

.hero-dot.is-active {
  width: 32px;
  background: #fff;
}

.hero-counter {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  letter-spacing: 0.08em;
}

.hero-bottom {
  margin-top: 48px;
  position: relative;
  z-index: 2;
}

.hero-ticker {
  margin-bottom: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,.85);
  flex-wrap: wrap;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.12);
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
}

.ticker-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(16,185,129,.18);
  border-radius: 999px;
  font-weight: 700;
  font-size: 11px;
  color: #a7f3d0;
}

.ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16,185,129,.25);
}

.ticker-text {
  font-weight: 600;
  color: #fff;
}

.friends-banner-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(15, 23, 42, .62);
  padding: 24px;
}

body.on-edit .friends-banner-modal.open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.friends-banner-modal-dialog {
  width: min(1240px, 100%);
  height: min(88vh, 920px);
  max-height: min(88vh, 920px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(15, 23, 42, .32);
  overscroll-behavior: contain;
}

.friends-banner-modal-head,
.friends-banner-modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}

.friends-banner-modal-foot {
  border-bottom: 0;
  border-top: 1px solid var(--line);
}

.friends-banner-modal-eyebrow {
  font-size: 11px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 0.08em;
}

.friends-banner-modal-head h3 {
  margin: 6px 0 0;
  font-size: 28px;
  color: var(--ink-1);
  letter-spacing: -0.02em;
}

.friends-banner-modal-close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--ink-2);
  font-size: 28px;
  line-height: 1;
}

.friends-banner-modal-body {
  flex: 1;
  display: flex;
  min-height: 0;
  padding: 24px 28px 28px;
  overflow: hidden;
}

.friends-banner-manage-layout {
  display: grid;
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  flex: 1;
  height: 100%;
  min-height: 0;
}

.friends-banner-list-panel,
.friends-banner-editor-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  min-height: 0;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  background: #fff;
  overflow: hidden;
}

.friends-banner-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 20px 16px;
  border-bottom: 1px solid #eef2f7;
}

.friends-banner-panel-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink-1);
}

.friends-banner-panel-sub {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-3);
}

.friends-banner-editor-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.friends-banner-add {
  flex: 1;
  padding: 20px;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
}

.friends-banner-editor-empty {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  text-align: center;
}

.friends-banner-editor-empty[hidden],
.friends-banner-add[hidden] {
  display: none !important;
}

.friends-banner-editor-empty strong {
  font-size: 18px;
  color: var(--ink-1);
}

.friends-banner-editor-empty span {
  font-size: 13px;
  color: var(--ink-3);
}

.friends-banner-add-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.friends-banner-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.friends-banner-field-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--ink-2);
  letter-spacing: 0.01em;
}

.friends-banner-input,
.friends-banner-upload {
  width: 100%;
  min-height: 52px;
  border: 1px solid #dbe3ec;
  border-radius: 16px;
  background: #fff;
}

.friends-banner-input {
  padding: 0 16px;
  font-size: 14px;
  color: var(--ink-1);
}

.friends-banner-textarea {
  min-height: 96px;
  padding: 14px 16px;
  resize: vertical;
}

.friends-banner-upload {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  cursor: pointer;
}

.friends-banner-upload input {
  display: none;
}

.friends-banner-upload-label {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--bg-alt);
  font-size: 12px;
  font-weight: 800;
  color: var(--ink-1);
}

.friends-banner-upload-name {
  min-width: 0;
  font-size: 12px;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.friends-banner-upload-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #dbe3ec;
}

.friends-banner-upload-status {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-3);
}

.friends-banner-upload-status.is-uploading {
  color: #b45309;
}

.friends-banner-upload-status.is-done {
  color: #047857;
}

.friends-banner-upload-status.is-error {
  color: #b91c1c;
}

.friends-banner-preview {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(15,23,42,.04) 0%, rgba(15,23,42,.08) 100%);
  border: 1px dashed #cbd5e1;
}

.friends-banner-preview img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.friends-banner-preview-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-3);
}

.friends-banner-submit,
.friends-banner-primary,
.friends-banner-secondary,
.friends-banner-reset,
.friends-banner-danger,
.friends-banner-action,
.friends-banner-order-btn {
  border: 0;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 800;
}

.friends-banner-submit,
.friends-banner-primary {
  background: var(--ink-1);
  color: #fff;
}

.friends-banner-secondary {
  min-width: 96px;
  height: 48px;
  background: var(--bg-alt);
  color: var(--ink-2);
}

.friends-banner-reset {
  min-width: 96px;
  height: 40px;
  padding: 0 14px;
  background: #e2e8f0;
  color: var(--ink-2);
}

.friends-banner-danger {
  min-width: 88px;
  height: 40px;
  padding: 0 14px;
  background: #fee2e2;
  color: #b91c1c;
}

.friends-banner-primary {
  min-width: 120px;
  height: 48px;
  padding: 0 18px;
}

.friends-banner-order-save {
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.friends-banner-order-save.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.friends-banner-submit {
  min-height: 52px;
  align-self: flex-end;
  min-width: 112px;
}

.friends-banner-list {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
  padding: 16px;
  padding-bottom: 96px;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
}

.friends-banner-item,
.friends-banner-empty {
  list-style: none;
}

.friends-banner-empty {
  padding: 18px;
  border-radius: 18px;
  background: #f8fafc;
  text-align: center;
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 600;
}

.friends-banner-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.friends-banner-item:hover {
  transform: translateY(-1px);
  border-color: #cbd5e1;
}

.friends-banner-item.is-selected {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

.friends-banner-item.is-dragging {
  opacity: .56;
}

.friends-banner-item.is-drop-target {
  border-color: #0f172a;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, .1);
}

.friends-banner-drag {
  width: 28px;
  height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #f8fafc;
  color: var(--ink-3);
  font-size: 18px;
  font-weight: 800;
}

.friends-banner-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-alt);
}

.friends-banner-thumb::after {
  content: attr(data-order);
  position: absolute;
  top: 10px;
  right: 10px;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(15, 23, 42, .82);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .26);
}

.friends-banner-thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

/* ───────── 2. 신뢰 KPI ───────── */

.home-kpi {
  padding: 64px 0;
  background: #fff;
}

.trust-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.kpi-num {
  font-size: clamp(40px, 5vw, 56px);
  color: var(--ink-1);
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.kpi-unit {
  font-size: 18px;
  color: var(--ink-3);
  font-weight: 700;
}

.kpi-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-1);
  margin-top: 8px;
}

.kpi-detail {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 2px;
}

/* ───────── 3. 차량 라인업 ───────── */

.home-cars {
  padding: 80px 0;
  background: var(--bg-alt);
}

.car-cats {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 28px;
}

.cars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

/* 비동기 섹션(차량 라인업/이벤트·혜택/리뷰) 로딩 스피너 — 페이지 렌더링은 막지 않고 섹션 자체에만 표시.
   실제 카드와 동일한 클래스의 스켈레톤(.is-skeleton)을 먼저 채워 넣어 로딩 전/후 섹션 높이를 고정한다. */

.home-section-body {
  position: relative;
  min-height: 120px;
}

.home-section-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(2px);
  border-radius: 16px;
}

.home-section-loader[hidden] {
  display: none;
}

.home-spinner {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 3px solid rgba(10, 14, 26, .1);
  border-top-color: var(--brand);
  animation: home-spin .8s linear infinite;
}

@keyframes home-spin {
  to {
    transform: rotate(360deg);
  }
}

.is-skeleton {
  pointer-events: none;
}

.is-skeleton, .is-skeleton * {
  color: transparent !important;
  background-image: none !important;
}

.car-card.is-skeleton, .review-card.is-skeleton {
  background: var(--bg-alt);
  border-color: var(--bg-alt);
}

.car-card.is-skeleton .cc-img {
  background: var(--line);
}

.event-card.is-skeleton {
  background: var(--bg-alt);
  border-color: var(--bg-alt);
}

.chip.is-skeleton {
  background: var(--bg-alt);
  border-color: var(--bg-alt);
  width: 64px;
}

.car-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}

.car-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.cc-thumb {
  position: relative;
  padding: 16px;
  padding-bottom: 0;
}

.cc-img {
  position: relative;
  width: 100%;
  aspect-ratio: 5/4;
  border-radius: 14px;
  overflow: hidden;
  background: #f4f7fb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cc-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
}

.cc-tags {
  position: absolute;
  top: 24px;
  left: 24px;
  display: flex;
  gap: 6px;
}

.cc-body {
  padding: 20px;
}

.cc-meta {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

.cc-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink-1);
  margin-top: 4px;
  letter-spacing: -0.02em;
}

.cc-specs {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 8px;
  font-weight: 600;
}

.cc-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.cc-rate {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 2px;
}

.cc-score {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-1);
}

.cc-rev {
  font-size: 11px;
  color: var(--ink-3);
}

/* ───────── 4. 이벤트·혜택 ───────── */

.home-promos {
  padding: 88px 0;
  background: #fff;
}

.event-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.event-head-main {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}

.event-head-copy {
  font-size: 14px;
  color: var(--ink-3);
  font-weight: 600;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.event-card {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: 16px;
  overflow: hidden;
  padding: 22px;
  display: flex;
  flex-direction: column;
  color: #fff;
  cursor: pointer;
  border: 0;
  text-align: left;
  isolation: isolate;
}

.event-card.has-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  filter: brightness(.7);
  z-index: 0;
}

.event-card.has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,.08) 0%,
      rgba(0,0,0,.12) 14%,
      rgba(0,0,0,.20) 28%,
      rgba(0,0,0,.32) 46%,
      rgba(0,0,0,.46) 66%,
      rgba(0,0,0,.68) 84%,
      rgba(0,0,0,.82) 100%
    );
  z-index: 1;
}

.event-card > * {
  position: relative;
  z-index: 2;
}

/* 이미지 없는 카드(CARD 섹션) — meta tag==='Y' 면 검정/흰글씨, 아니면 흰 배경/검정 글씨 */

.event-card.is-accent {
  background: var(--ink-1);
}

.event-card.is-plain {
  background: #fff;
  color: var(--ink-1);
  border: 1.5px solid var(--line);
}

.event-card.is-plain .event-desc {
  color: var(--ink-3);
}

.event-card.is-plain .event-chip {
  background: var(--bg-alt);
  color: var(--ink-2);
}

.event-card:not(.has-image) .event-chip,
.event-card:not(.has-image) .event-title,
.event-card:not(.has-image) .event-desc,
.event-card:not(.has-image) .event-more {
  text-shadow: none;
}

.event-card.is-dim {
  opacity: .6;
}

.event-chip {
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 800;
  color: inherit;
  background: rgba(255,255,255,.22);
  border-radius: 999px;
  padding: 3px 9px;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 8px rgba(0,0,0,.45);
}

.event-title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin-top: 12px;
  white-space: pre-line;
  text-shadow: 0 2px 16px rgba(0,0,0,.42);
}

.event-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.event-desc {
  font-size: 12px;
  opacity: .92;
  font-weight: 600;
  text-shadow: 0 1px 10px rgba(0,0,0,.45);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-more {
  flex-shrink: 0;
  font-size: 11.5px;
  opacity: .95;
  font-weight: 700;
  white-space: nowrap;
  text-shadow: 0 1px 10px rgba(0,0,0,.45);
}

/* ───────── 5. 차고지 스토리 ───────── */

.home-garage {
  padding: 100px 0;
  background: var(--ink-1);
  color: #fff;
}

.home-garage-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

.home-garage-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.12em;
  line-height: 1.35;
  margin-bottom: 20px;
  padding: 1px 0;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: visible;
}

.home-garage-h {
  font-size: clamp(36px, 5vw, 64px);
  margin: 0;
  color: #fff;
}

.home-garage-lead {
  font-size: 16px;
  color: rgba(255,255,255,.7);
  margin-top: 24px;
  line-height: 1.7;
  max-width: 480px;
}

.home-garage-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.home-gs-num {
  font-size: 36px;
  color: var(--accent);
}

.home-gs-label {
  font-size: 12px;
  color: rgba(255,255,255,.6);
  margin-top: 4px;
  font-weight: 600;
}

.home-garage-photo {
  position: relative;
}

.home-gp-frame {
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(180deg, #1a3a5c 0%, #0c2340 100%);
  position: relative;
}

.home-gp-frame img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: .85;
}

.home-gp-pickup {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255,255,255,.95);
  color: var(--ink-1);
  padding: 20px;
  border-radius: 16px;
  backdrop-filter: blur(20px);
}

.home-gp-pickup-label {
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.home-gp-pickup-name {
  font-size: 16px;
  font-weight: 800;
  margin-top: 4px;
  letter-spacing: -0.01em;
}

.home-gp-pickup-sub {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 6px;
}

/* ───────── 6. 리뷰 ───────── */

.home-reviews {
  padding: 100px 0;
  background: #fff;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.review-card {
  background: var(--bg-alt);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rv-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-1);
  margin: 0;
  font-weight: 500;
}

.rv-foot {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 600;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}

@media (max-width: 1024px) {
  .edit-mode-field.btn-banner-manage {
    top: 14px;
    right: 14px;
    height: 36px;
    padding: 0 14px;
    font-size: 12px;
  }

  .friends-banner-modal {
    padding: 0;
  }

  .friends-banner-modal-dialog {
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
  }

  .friends-banner-modal-head,
  .friends-banner-modal-foot,
  .friends-banner-modal-body {
    padding-left: 18px;
    padding-right: 18px;
  }

  .friends-banner-manage-layout {
    grid-template-columns: 1fr;
    height: auto;
  }

  .friends-banner-list-panel,
  .friends-banner-editor-panel {
    height: auto;
  }

  .friends-banner-list,
  .friends-banner-add {
    height: auto;
    overflow: visible;
  }

  .friends-banner-item {
    grid-template-columns: 28px 1fr;
  }

  .friends-banner-preview {
    max-width: 100%;
  }

  .friends-banner-panel-head {
    flex-direction: column;
  }

  .friends-banner-editor-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

/* 프렌즈렌트카 — 차량 검색/목록. screens-flow.jsx ListScreen·CarRow 미러 */

.search-main {
  background: var(--bg-alt);
  min-height: 100vh;
}

/* 태그 보강 (home.css 의 tag-ink/brand/warm 에 더해) */

.tag-soft {
  background: var(--brand-soft);
  color: var(--brand);
}

.tag-line {
  background: transparent;
  color: var(--ink-2);
  border: 1px solid var(--line);
}

/* 데스크톱 검색바 */

.list-desktop-search {
  background: #fff;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

/* ───────── 모바일 전용 요소 (기본 숨김 — responsive.css 가 ≤720 에서 표시) ───────── */

.list-mobile-header {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}

.lmh-back {
  background: transparent;
  border: 0;
  padding: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lmh-back svg {
  width: 22px;
  height: 22px;
}

.lmh-title {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink-1);
  letter-spacing: -0.01em;
}

.lmh-spacer {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.lmh-search {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  color: var(--ink-1);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
}

.lmh-search svg {
  width: 16px;
  height: 16px;
}

.list-search-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--ink-1);
  border: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.list-search-btn svg {
  width: 18px;
  height: 18px;
}

.lt-sub-pc {
  display: block;
}

.lt-sub-mo {
  margin: 0;
}

.lt-sub-btn {
  display: none;
  align-items: center;
  gap: 0;
  margin-top: 6px;
  padding: 6px 12px;
  border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 7%, #fff);
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: left;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}

.lt-sub-btn:hover,
.lt-sub-btn:focus-visible {
  background: color-mix(in srgb, var(--brand) 11%, #fff);
  border-color: color-mix(in srgb, var(--brand) 34%, var(--line));
  transform: translateY(-1px);
}

.lt-sub-btn .lt-sub {
  font-size: 13px;
  line-height: 1.35;
  color: var(--ink-2);
  font-weight: 700;
}

.list-filter-btn {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  color: var(--ink-1);
}

.list-filter-btn svg {
  width: 14px;
  height: 14px;
}

.list-filter-badge {
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  padding: 1px 7px;
  font-size: 10.5px;
}

/* ───────── 모바일 필터 바텀시트 (screens-flow.jsx FilterSheet) ───────── */

.fsheet {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10,14,26,.45);
  display: flex;
  align-items: flex-end;
  opacity: 0;
  transition: opacity .2s ease;
}

.fsheet.is-open {
  opacity: 1;
}

.fsheet[hidden] {
  display: none;
}

.fsheet-panel {
  width: 100%;
  background: #fff;
  border-radius: 20px 20px 0 0;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 -10px 40px -10px rgba(10,14,26,.3);
  transform: translateY(100%);
  transition: transform .25s ease;
}

.fsheet.is-open .fsheet-panel {
  transform: none;
}

.fsheet-handle-wrap {
  display: flex;
  justify-content: center;
  padding: 10px 0 6px;
}

.fsheet-handle {
  width: 40px;
  height: 4px;
  border-radius: 999px;
  background: var(--line-strong);
}

.fsheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 20px 16px;
  border-bottom: 1px solid var(--line);
}

.fsheet-title {
  font-size: 20px;
  margin: 0;
  letter-spacing: -0.02em;
}

.fsheet-reset {
  background: transparent;
  border: 0;
  padding: 4px;
  cursor: pointer;
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
}

.fsheet-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 20px 24px;
}

.fsheet-group {
  margin-bottom: 22px;
}

.fsheet-glabel {
  font-size: 12px;
  font-weight: 800;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.fsheet-cats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.fsheet-cat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--bg-alt);
  color: var(--ink-1);
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
}

.fsheet-cat .num {
  font-size: 11px;
  opacity: .7;
}

.fsheet-cat.is-on {
  background: var(--ink-1);
  color: #fff;
  font-weight: 800;
}

.fsheet-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fsheet-chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink-1);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.fsheet-chip.is-fuel.is-on {
  border-color: var(--ink-1);
  background: var(--ink-1);
  color: #fff;
}

.fsheet-chip.is-opt.is-on {
  border-color: var(--brand);
  background: rgba(11,92,255,.08);
  color: var(--brand);
}

.fsheet-check {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  cursor: pointer;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-1);
}

.fsheet-box {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #fff;
  border: 1.5px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  flex-shrink: 0;
}

.fsheet-check.is-checked .fsheet-box {
  background: var(--ink-1);
  border-color: var(--ink-1);
}

.fsheet-check.is-checked .fsheet-box::after {
  content: "✓";
}

.fsheet-price {
  font-size: 12px;
  color: var(--ink-3);
}

.fsheet-price-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-weight: 700;
}

.fsheet-price-row .num {
  color: var(--ink-1);
  font-size: 14px;
  font-weight: 800;
}

.fsheet-price-track {
  height: 4px;
  background: var(--line);
  border-radius: 999px;
  position: relative;
  margin: 0 2px;
}

.fsheet-price-fill {
  position: absolute;
  left: 0;
  right: 100%;
  top: 0;
  bottom: 0;
  background: var(--ink-1);
  border-radius: 999px;
}

.fsheet-price-handle {
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-left: -10px;
  transform: translateY(-50%);
  background: #fff;
  border: 2px solid var(--ink-1);
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  touch-action: none;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}

.fsheet-price-handle.is-dragging {
  box-shadow: 0 0 0 6px rgba(0,0,0,.08);
}

.fsheet-cta-wrap {
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0));
  border-top: 1px solid var(--line);
  background: #fff;
  display: flex;
  gap: 8px;
}

.fsheet-close {
  flex: 0 0 auto;
  padding: 0 22px;
  height: 52px;
  border-radius: 14px;
  background: #fff;
  color: var(--ink-1);
  border: 1.5px solid var(--line);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}

.fsheet-apply {
  flex: 1;
  height: 52px;
  border-radius: 14px;
  background: var(--ink-1);
  color: #fff;
  border: 0;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}

/* .container 의 좌우 clamp 패딩 보존 — 상하만 지정 */

.list-container {
  padding-top: 40px;
  padding-bottom: 80px;
}

/* 타이틀 + 정렬 */

.list-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
  flex-wrap: wrap;
}

.lt-head h1 {
  font-size: 36px;
  margin: 0;
}

.lt-count {
  color: var(--brand);
}

.lt-sub {
  font-size: 14px;
  color: var(--ink-3);
  margin: 6px 0 0;
}

@keyframes searchFetchSpin {
  to {
    transform: rotate(360deg);
  }
}

.list-sort-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.sort-btn {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, color .15s;
}

.sort-btn.is-active {
  background: var(--ink-1);
  color: #fff;
  border-color: var(--ink-1);
}

/* 레이아웃 */

.list-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: flex-start;
}

/* 사이드바 */

.list-sidebar {
  background: #fff;
  border-radius: 16px;
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  max-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ls-scroll {
  padding: 24px;
  overflow-y: auto;
  flex: 1 1 auto;
}

.ls-scroll::-webkit-scrollbar {
  width: 4px;
}

.ls-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.ls-scroll::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 10px;
}

.ls-apply-bar {
  flex: 0 0 auto;
  display: flex;
  gap: 8px;
  padding: 14px 24px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.ls-reset-btn {
  flex: 0 0 auto;
  padding: 0 16px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.ls-apply-btn {
  flex: 1;
  height: 44px;
  border-radius: 10px;
  border: 0;
  background: var(--ink-1);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}

.ls-h {
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.ls-h-bd {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-bottom: 12px;
}

.ls-h-mt {
  margin-top: 20px;
}

.ls-cats {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}

.ls-cat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink-2);
  font-weight: 600;
  font-size: 13px;
}

.ls-cat.is-active {
  background: var(--bg-alt);
  color: var(--ink-1);
  font-weight: 800;
}

.ls-cat-n {
  font-size: 11px;
  color: var(--ink-3);
}

.ls-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.ls-chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.ls-chip.is-active {
  border-color: var(--brand);
  background: #EAF1FF;
  color: var(--brand);
}

.ls-check {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  cursor: pointer;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}

.ls-box {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: #fff;
  border: 1.5px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  flex-shrink: 0;
}

.ls-check.is-checked .ls-box {
  background: var(--ink-1);
  border-color: var(--ink-1);
}

.ls-check.is-checked .ls-box::after {
  content: "✓";
}

.ls-price {
  font-size: 12px;
  color: var(--ink-3);
}

.ls-price-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.ls-price-track {
  height: 4px;
  background: var(--line);
  border-radius: 999px;
  position: relative;
  margin: 0 2px;
}

.ls-price-fill {
  position: absolute;
  left: 0;
  right: 100%;
  top: 0;
  bottom: 0;
  background: var(--ink-1);
  border-radius: 999px;
}

.ls-price-handle {
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  transform: translateY(-50%);
  background: #fff;
  border: 2px solid var(--ink-1);
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  touch-action: none;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}

.ls-price-handle.is-dragging {
  box-shadow: 0 0 0 5px rgba(0,0,0,.08);
}

/* 결과 목록 */

.car-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.car-rows.is-fetching .car-row,
.car-rows.is-fetch-error .car-row {
  opacity: 0;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.car-rows-loading {
  position: absolute;
  inset: 0;
  z-index: 12;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 56px;
  background: rgba(246, 248, 252, .96);
}

.car-rows-loading[hidden] {
  display: none;
}

.car-rows-loading-box {
  min-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 22px 28px;
  color: var(--ink-2);
  text-align: center;
}

.car-rows-loading-box strong {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink-1);
  letter-spacing: -0.02em;
}

.car-rows-loading-box span:last-child {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-3);
}

.car-rows-loading-spin {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 3px solid var(--line-strong);
  border-top-color: var(--brand);
  animation: searchFetchSpin .75s linear infinite;
}

.car-rows-empty {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 40px 20px;
  text-align: center;
  color: var(--ink-3);
}

.car-rows-empty[hidden] {
  display: none;
}

.car-rows-empty strong {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink-1);
  letter-spacing: -0.02em;
}

.car-rows-empty span {
  font-size: 13px;
  font-weight: 700;
}

.car-row {
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  gap: 0;
  cursor: pointer;
  overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
  -webkit-tap-highlight-color: transparent;
}

.car-row:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}

.car-row[data-featured="event"] {
  border-color: var(--accent-warm);
  box-shadow: 0 12px 32px -16px rgba(10,14,26,.18);
}

.car-row[data-featured="new"] {
  border-color: var(--brand);
  box-shadow: 0 12px 32px -16px rgba(10,14,26,.18);
}

.cr-feature-banner {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 18px;
  border-bottom: 1px solid transparent;
}

.car-row:not([data-featured]) .cr-feature-banner {
  display: none;
}

.car-row[data-featured="event"] .cr-feature-banner {
  background: linear-gradient(90deg, #FFF0E6 0%, #FFE0CC 100%);
  border-bottom-color: color-mix(in srgb, var(--accent-warm) 25%, transparent);
}

.car-row[data-featured="new"] .cr-feature-banner {
  background: linear-gradient(90deg, var(--brand-soft) 0%, color-mix(in srgb, var(--brand) 18%, white) 100%);
  border-bottom-color: color-mix(in srgb, var(--brand) 18%, transparent);
}

.cr-feature-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.cr-feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
  flex-shrink: 0;
}

.car-row[data-featured="event"] .cr-feature-chip {
  background: var(--accent-warm);
}

.car-row[data-featured="new"] .cr-feature-chip {
  background: var(--brand);
}

.cr-feature-chip svg {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}

.cr-feature-copy {
  font-size: 12.5px;
  font-weight: 700;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.car-row[data-featured="event"] .cr-feature-copy {
  color: #9A4D1F;
}

.car-row[data-featured="new"] .cr-feature-copy {
  color: var(--brand);
}

.cr-feature-mark {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: -0.005em;
  flex-shrink: 0;
}

.car-row[data-featured="event"] .cr-feature-mark {
  color: #C75E27;
}

.car-row[data-featured="new"] .cr-feature-mark {
  color: var(--brand);
}

.copy-mo {
  display: none;
}

@media (max-width: 640px) {
  .copy-pc {
    display: none;
  }

  .copy-mo {
    display: inline;
  }

  .lt-sub-pc {
    display: none;
  }

  .lt-sub-btn {
    display: inline-flex;
  }
}

/* 좌: 이미지 */

.cr-thumb {
  padding: 16px;
  display: flex;
  align-items: center;
}

.cr-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 14px;
  overflow: hidden;
  background: #f4f7fb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cr-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
}

/* 중: 정보 + 혜택배지 */

.cr-body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 16px 16px 16px 0;
}

.cr-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.cr-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink-1);
  letter-spacing: -0.02em;
}

.cr-spec {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 4px;
}

.cr-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  flex-wrap: wrap;
}

.cr-rate {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cr-score {
  font-size: 13px;
  font-weight: 700;
}

.cr-rev {
  font-size: 12px;
  color: var(--ink-3);
}

.cr-ins {
  font-size: 12px;
  color: var(--brand);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cr-perks {
  display: grid;
  grid-template-columns: repeat(2, auto);
  row-gap: 4px;
  -moz-column-gap: 6px;
       column-gap: 6px;
  align-content: center;
  justify-content: end;
}

.cr-perk {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-1);
  white-space: nowrap;
  letter-spacing: -0.005em;
  line-height: 1.5;
}

.cr-perk svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.cr-perk.is-disabled {
  color: var(--ink-3);
  background: #f5f7fb;
  border-color: #d9e0ea;
}

.cr-perk.is-disabled svg {
  stroke: var(--line-strong);
}

/* 우: 가격 */

.cr-price {
  padding: 24px;
  background: var(--bg-alt);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 4px;
}

.cr-self {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #FAF1ED;
  color: var(--brand);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: -0.005em;
  margin-bottom: 2px;
}

.cr-self svg {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cr-list {
  font-size: 12px;
  color: var(--ink-3);
  text-decoration: line-through;
}

.cr-pay-head {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  margin-top: 2px;
}

.cr-pay-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-1);
  letter-spacing: -0.005em;
}

.cr-pay-hours {
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 700;
  margin-top: 1px;
}

.cr-disc {
  font-size: 15px;
  font-weight: 800;
  color: var(--accent-warm);
  letter-spacing: -0.01em;
}

.cr-now {
  font-size: 32px;
  color: var(--ink-1);
  display: flex;
  align-items: baseline;
  gap: 6px;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-top: 4px;
}

.cr-unit {
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 700;
}

.cr-book-btn {
  margin-top: 10px;
  min-width: 128px;
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  background: var(--ink-1);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, opacity .15s;
}

.cr-book-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -14px rgba(10,14,26,.55);
}

.cr-total {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--line-strong);
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: 4px;
}

.cr-total-v {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-3);
}

.cr-total-u {
  font-size: 10.5px;
  color: var(--ink-3);
  font-weight: 700;
  margin-left: 1px;
}

.cr-perks-mobile {
  display: none;
}

.cr-bar-wrap {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
}

.cr-ins-toggle {
  width: 100%;
  border: 0;
  padding: 14px 18px;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  white-space: nowrap;
  transition: background .15s;
}

.car-row:hover .cr-ins-toggle {
  background: var(--brand);
}

.car-row:hover .cr-bar-wrap {
  border-top-color: transparent;
}

.cr-bar-wrap.is-open {
  border-top-color: transparent;
}

.cr-bar-wrap.is-open .cr-ins-toggle {
  background: var(--brand);
}

.cr-ins-toggle-main {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.cr-ins-toggle-main svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--brand);
}

.car-row:hover .cr-ins-toggle-main svg {
  color: #fff;
}

.cr-bar-wrap.is-open .cr-ins-toggle-main svg {
  color: #fff;
}

.cr-ins-toggle-title {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink-1);
}

.car-row:hover .cr-ins-toggle-title {
  color: #fff;
}

.cr-bar-wrap.is-open .cr-ins-toggle-title {
  color: #fff;
}

.cr-ins-toggle-copy {
  font-size: 11.5px;
  color: var(--ink-3);
  font-weight: 600;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.car-row:hover .cr-ins-toggle-copy {
  color: rgba(255,255,255,.88);
}

.cr-bar-wrap.is-open .cr-ins-toggle-copy {
  color: rgba(255,255,255,.88);
}

.cr-ins-toggle-action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 800;
  color: var(--brand);
  flex-shrink: 0;
}

.car-row:hover .cr-ins-toggle-action {
  color: #fff;
}

.cr-bar-wrap.is-open .cr-ins-toggle-action {
  color: #fff;
}

.cr-ins-toggle-action svg {
  width: 14px;
  height: 14px;
  transition: transform .2s;
}

.cr-bar-wrap.is-open .cr-ins-toggle-action svg {
  transform: rotate(180deg);
}

.cr-ins-grid {
  padding: 18px 24px 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  background: var(--brand-soft);
}

.cr-ins-grid[hidden] {
  display: none !important;
}

.cr-ins-card {
  position: relative;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  min-width: 0;
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}

.cr-ins-card:hover {
  border-color: var(--brand);
  box-shadow: 0 8px 22px -12px rgba(11,92,255,.28);
  transform: translateY(-1px);
}

.cr-ins-card.is-on {
  border-color: var(--brand);
  box-shadow: 0 6px 20px -10px rgba(11,92,255,.35);
}

.cr-ins-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.cr-ins-check {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.cr-ins-card.is-on .cr-ins-check {
  background: var(--brand);
  border-color: var(--brand);
}

.cr-ins-card-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink-1);
  line-height: 1.35;
  letter-spacing: -0.01em;
  min-width: 0;
}

.cr-ins-card-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.01em;
}

.cr-ins-card-price span {
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 700;
  margin-left: 2px;
}

.cr-ins-card-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}

.cr-ins-card-limit,
.cr-ins-card-accident {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 700;
}

.cr-ins-card-meta > span {
  width: 100%;
}

.cr-ins-card-limit {
  color: var(--ink-2);
}

.cr-ins-card-limit svg {
  width: 11px;
  height: 11px;
  color: var(--ink-3);
}

.cr-ins-card.is-on .cr-ins-card-limit svg,
.cr-ins-card[data-tier-kind="full"] .cr-ins-card-limit svg,
.cr-ins-card[data-tier-kind="partial"] .cr-ins-card-limit svg,
.cr-ins-card[data-tier-kind="super"] .cr-ins-card-limit svg {
  color: var(--brand);
}

.cr-ins-card-accident {
  color: var(--accent-warm);
}

.cr-ins-card-accident svg {
  width: 11px;
  height: 11px;
}

.search-ins-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.search-ins-modal[hidden] {
  display: none;
}

.search-ins-modal-card {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 20px;
}

.search-ins-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
}

.search-ins-modal-close svg {
  width: 18px;
  height: 18px;
}

.search-ins-modal-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
  padding-right: 32px;
}

.search-ins-modal-copy {
  flex: 1;
  min-width: 0;
}

.search-ins-modal-meta {
  font-size: 11.5px;
  color: var(--ink-3);
  font-weight: 600;
  margin-bottom: 4px;
}

.search-ins-modal-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink-1);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.search-ins-modal-spec {
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 600;
}

.search-ins-modal-thumb {
  width: 130px;
  flex-shrink: 0;
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  background: transparent !important;
}

.search-ins-modal-thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
}

.search-ins-modal-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.search-ins-modal-item {
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: border-color .15s, box-shadow .15s, transform .15s;
  -webkit-tap-highlight-color: transparent;
}

.search-ins-modal-item:hover {
  border-color: var(--brand);
  box-shadow: 0 8px 22px -12px rgba(11,92,255,.28);
  transform: translateY(-1px);
}

.search-ins-modal-item.is-on {
  border: 2px solid var(--ink-1);
}

.search-ins-modal-item-main {
  flex: 1;
  min-width: 0;
}

.search-ins-modal-item-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.search-ins-modal-item-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink-1);
}

.search-ins-modal-item-badge {
  font-size: 10px;
  font-weight: 800;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 2px 7px;
  border-radius: 4px;
}

.search-ins-modal-item-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 600;
  flex-wrap: wrap;
  row-gap: 4px;
}

.search-ins-modal-item-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.search-ins-modal-item-meta svg {
  width: 13px;
  height: 13px;
}

.search-ins-modal-item-meta .is-warn {
  color: var(--accent-warm);
}

.search-ins-modal-item-price {
  font-size: 17px;
  font-weight: 800;
  color: var(--brand);
  white-space: nowrap;
}

/* 프렌즈렌트카 — 차량 상세. screens-flow.jsx DetailScreen·InsuranceUpsell 미러 */

.detail-main {
  background: var(--bg-alt);
  min-height: 100vh;
}

.detail-container-wrap {
  padding: 32px 0;
}

.detail-back-desktop {
  display: inline-block;
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 600;
  margin-bottom: 16px;
}

.detail-back-desktop:hover {
  color: var(--ink-1);
}

/* ───────── 모바일 전용 슬림 헤더 (기본 숨김 — responsive.css 가 ≤720 에서 표시) ───────── */

.detail-mobile-header {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}

.dmh-back {
  padding: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dmh-back svg {
  width: 22px;
  height: 22px;
}

.dmh-info {
  flex: 1;
  min-width: 0;
}

.dmh-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink-1);
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dmh-spec {
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 600;
}

.dmh-call {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--ink-1);
  color: #fff;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dmh-call svg {
  width: 16px;
  height: 16px;
}

/* ───────── 모바일 하단 고정 바 (detail-aside 내부, 기본 숨김) ───────── */

.detail-mobile-bar {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
}

.dmb-price {
  flex: 1;
  min-width: 0;
}

.dmb-topline {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 1px;
  font-size: 10px;
  color: var(--ink-3);
  font-weight: 700;
}

.dmb-now-row {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.dmb-disc {
  font-size: 11px;
  font-weight: 800;
  color: var(--accent-warm);
}

.dmb-now {
  font-size: 22px;
  color: var(--ink-1);
}

.dmb-unit {
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 700;
}

.dmb-total {
  font-size: 10.5px;
  color: var(--ink-3);
  font-weight: 600;
  margin-top: 3px;
  line-height: 1.5;
}

.dmb-book {
  background: var(--ink-1);
  color: #fff;
  padding: 0 18px;
  height: 44px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: flex-start;
}

.detail-left {
  min-width: 0;
}

/* 섹션 공통 헤더 */

.detail-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.ds-no {
  font-size: 12px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 0.08em;
}

.ds-title {
  font-size: 22px;
  margin: 0;
  letter-spacing: -0.02em;
}

.ds-alert {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff6f6;
  border: 1px solid #ffd6d6;
  color: #c94a4a;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.ds-aside {
  margin-left: auto;
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 700;
}

/* 차량 정보 카드 */

.detail-card-compact {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  border: 1px solid var(--line);
}

.detail-hero-info {
  margin-bottom: 10px;
}

.dh-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.dh-name {
  font-size: clamp(36px, 4vw, 56px);
  margin: 0;
}

.dh-spec {
  font-size: 15px;
  color: var(--ink-3);
  margin: 8px 0 0;
}

.detail-card-compact .detail-section-header {
  margin-top: 20px;
}

.detail-info-compact {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 20px;
  align-items: stretch;
}

.detail-car-image-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.detail-car-image-wrap img {
  width: 100%;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
}

.detail-info-side {
  display: flex;
  flex-direction: column;
}

.detail-stats-grid {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.detail-stats-grid-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
}

.detail-stats-grid-cell:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.detail-stats-grid-cell:nth-child(-n+2) {
  border-bottom: 1px solid var(--line);
}

.detail-stats-grid-cell span {
  font-size: 11.5px;
  color: var(--ink-3);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.detail-stats-grid-cell strong {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink-1);
  letter-spacing: -0.01em;
}

.dc-opt-h {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  margin: 16px 0 10px;
}

.detail-options-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.detail-options-grid-pill .dc-opt {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 12.5px;
}

.dc-opt {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  padding: 5px 10px;
  background: var(--bg-alt);
  border-radius: 8px;
}

.dc-opt-c {
  color: var(--brand);
  font-size: 12px;
}

/* 스택 섹션 */

.detail-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.detail-sec {
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--line);
  padding: 32px;
}

/* 보험·보장 */

.insurance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  align-items: stretch;
}

.ins-card {
  position: relative;
  text-align: left;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
  -webkit-tap-highlight-color: transparent;
}

.ins-card.is-on {
  border-color: var(--brand);
  box-shadow: inset 0 0 0 1px var(--brand), 0 6px 20px -10px rgba(11,92,255,0.35);
}

.ins-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  letter-spacing: -0.005em;
}

.ins-check {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
}

.ins-card.is-on .ins-check {
  display: flex;
}

.ins-check svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ins-body {
  padding: 20px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ins-card.is-on .ins-body, .ins-card .ins-body {
}

.ins-l {
  font-size: 17px;
  color: var(--ink-1);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  margin-top: 12px;
}

.ins-age {
  font-size: 10.5px;
  color: var(--ink-3);
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.5;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
}

.ins-age-req {
  font-size: 12px;
  color: var(--brand);
  font-weight: 800;
}

.ins-age-req, .ins-age-sub {
  white-space: nowrap;
}

.ins-age-sep {
  margin: 0 4px;
}

/* 두 줄로 내려가면 세로 배치 + 가운뎃점 숨김 (JS가 .is-stacked 토글) */

.ins-age.is-stacked {
  flex-direction: column;
  align-items: flex-start;
}

.ins-age.is-stacked .ins-age-sep {
  display: none;
}

.ins-rows {
  list-style: none;
  padding: 0;
  margin: 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: auto;
}

.ins-rows li {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

.ins-r-l {
  color: var(--ink-3);
  font-weight: 600;
}

.ins-r-v {
  font-weight: 800;
  color: var(--ink-1);
}

.ins-r-v.is-em {
  color: var(--brand);
}

.ins-price {
  padding: 12px 16px;
  background: var(--bg-alt);
  color: var(--ink-1);
  font-weight: 800;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 4px;
  font-size: 16px;
}

.ins-card.is-on .ins-price {
  background: var(--brand);
  color: #fff;
}

.ins-price-u {
  font-size: 11px;
  opacity: 0.85;
}

.ins-info {
  margin-top: 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.ins-info-head {
  display: grid;
  grid-template-columns: 160px 1fr;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}

.ins-info-h {
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 800;
  color: var(--ink-1);
}

.ins-info-h2 {
  border-left: 1px solid var(--line);
}

.ins-info-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  background: #fff;
}

.ins-info-title {
  padding: 16px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink-1);
  display: flex;
  align-items: center;
}

.ins-info-lines {
  padding: 14px 16px;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.7;
  border-left: 1px solid var(--line);
  min-height: 70px;
}

.ins-info-lines strong {
  color: var(--ink-1);
}

.ins-info-lines .muted {
  color: var(--ink-3);
  font-size: 11.5px;
  margin-top: 4px;
}

/* 픽업·반납 */

.pickup-h {
  font-size: 15px;
  margin: 0 0 14px;
  color: var(--ink-2);
  font-weight: 700;
}

.pickup-map {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  margin-bottom: 18px;
}

.pickup-map svg {
  display: block;
  width: 100%;
  height: auto;
}

.pickup-steps {
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-2);
  margin: 0;
}

.pickup-note {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  margin: 10px 0 0;
}

/* 리뷰 */

.detail-reviews {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dr-item {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.dr-item.is-last {
  padding-bottom: 0;
  border-bottom: 0;
}

.dr-head {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.dr-who {
  font-size: 13px;
  font-weight: 700;
}

.dr-when {
  font-size: 12px;
  color: var(--ink-3);
}

.dr-text {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
}

/* 우: sticky 가격 카드 */

.detail-aside {
  position: sticky;
  top: 96px;
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.da-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.da-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--accent-warm);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: -0.005em;
}

.da-list {
  font-size: 13px;
  color: var(--ink-3);
  text-decoration: line-through;
  font-weight: 600;
}

.da-total-kicker {
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 6px;
}

.da-now {
  font-size: 52px;
  color: var(--ink-1);
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 2px;
  line-height: 1;
  letter-spacing: -0.035em;
}

.da-unit {
  font-size: 16px;
  color: var(--ink-3);
  font-weight: 700;
}

.da-included {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--brand);
  font-weight: 800;
  margin-top: 8px;
}

.da-included svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.da-summary {
  margin-top: 20px;
  padding: 16px;
  background: var(--bg-alt);
  border-radius: 14px;
}

.da-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 600;
  margin-bottom: 6px;
}

.da-row:last-child {
  margin-bottom: 0;
}

.da-row-bd {
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 12px;
  font-size: 13px;
  color: var(--ink-2);
}

.da-strong {
  font-weight: 800;
  color: var(--ink-1);
}

.da-row-ins {
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 6px;
}

.da-free {
  color: var(--brand);
  font-weight: 700;
}

.da-book {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  height: 60px;
  background: var(--ink-1);
  color: #fff;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.da-book:hover {
  opacity: .92;
}

.da-safe {
  margin-top: 14px;
  padding: 12px 14px;
  background: var(--bg-alt);
  border-radius: 12px;
  border: 1px solid var(--line);
}

.da-safe-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}

.da-safe-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #FAF1ED;
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -0.005em;
  flex-shrink: 0;
}

.da-safe-badge svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.da-safe-title {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink-1);
}

.da-safe-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.da-safe-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 11.5px;
  line-height: 1.5;
}

.da-safe-list li svg {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: var(--ink-1);
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  transform: translateY(1px);
}

.da-safe-list strong {
  font-weight: 800;
  color: var(--ink-1);
}

.da-safe-list span {
  color: var(--ink-3);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .detail-info-compact {
    grid-template-columns: 1fr;
  }

  .detail-car-image-wrap {
    min-height: 180px;
  }
}

/* 프렌즈렌트카 — 예약. screens-flow.jsx BookingScreen 미러 */

.booking-main {
  background: var(--bg-alt);
  min-height: 100vh;
}

.booking-container {
  padding: 32px 0 80px;
}

.booking-back {
  display: inline-block;
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 600;
  margin-bottom: 16px;
}

.booking-back:hover {
  color: var(--ink-1);
}

/* Stepper */

.booking-stepper {
  display: flex;
  margin-bottom: 32px;
  background: #fff;
  border-radius: 16px;
  padding: 4px;
  border: 1px solid var(--line);
}

.bs-step {
  flex: 1;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--ink-3);
}

.bs-step.is-active {
  background: var(--ink-1);
  color: #fff;
}

.bs-step.is-done {
  color: var(--ink-1);
}

.bs-no {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.bs-step.is-active .bs-no {
  background: #fff;
  color: var(--ink-1);
}

.bs-step.is-done .bs-no {
  background: var(--brand);
  color: #fff;
  font-size: 0;
}

.bs-step.is-done .bs-no::after {
  content: "✓";
  font-size: 12px;
}

/* 레이아웃 */

.booking-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: flex-start;
}

.booking-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  border: 1px solid var(--line);
}

.booking-side-column {
  grid-column: 2;
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.booking-terms-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--line);
  padding: 20px;
  margin-top: 0;
}

.booking-terms-card[hidden] {
  display: none !important;
}

.booking-terms-h {
  font-size: 15px;
  margin: 0 0 6px;
  font-weight: 800;
}

.bk-h {
  font-size: 32px;
  margin: 0 0 8px;
}

.bk-sub {
  font-size: 15px;
  color: var(--ink-3);
  margin: 0 0 28px;
}

.bk-sub-sm {
  font-size: 14px;
  margin: 0 0 14px;
}

.bk-h3 {
  font-size: 20px;
  margin: 36px 0 12px;
}

.bk-h3-sm {
  font-size: 16px;
}

.booking-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.bk-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bk-field-full {
  grid-column: 1 / -1;
}

.bk-field > span {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
}

.bk-field input {
  display: block;
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1.5px solid var(--line-strong);
  background: #F4F5F7;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink-1);
  outline: none;
  box-sizing: border-box;
  transition: border-color .15s, background .15s, box-shadow .15s;
}

.bk-field input:focus {
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(11,92,255,.1);
}

.bk-field input.is-invalid {
  border-color: #d9485f;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(217,72,95,.12);
}

.bk-field-error {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #d9485f;
  font-weight: 700;
}

.bk-field-error[hidden] {
  display: none !important;
}

.bk-addon-head,
.bk-valet-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 36px 0 6px;
  flex-wrap: wrap;
}

.bk-addon-title {
  margin: 0;
}

.bk-addon-badge {
  font-size: 10px;
  font-weight: 800;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 6px;
  padding: 3px 7px;
  letter-spacing: 0.04em;
}

.bk-valet-loc {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-3);
}

.bk-addon-launch,
.bk-parking-launch {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: border-color .15s, background .15s;
}

.bk-addon-launch.is-on,
.bk-parking-launch.is-on {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.bk-addon-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 20px;
  flex-shrink: 0;
}

.bk-addon-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.bk-addon-main {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink-1);
}

.bk-addon-sub {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 3px;
}

.bk-addon-cta {
  font-size: 13px;
  font-weight: 800;
  color: var(--brand);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.bk-addon-cta::after {
  content: "›";
  font-size: 15px;
  line-height: 1;
}

.bk-addon-picked {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.bk-addon-picked[hidden] {
  display: none !important;
}

.bk-addon-picked-card {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
}

.bk-addon-picked-thumb {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bk-addon-picked-thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
  background: #fff;
}

.bk-addon-picked-thumb-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--ink-3);
  background: var(--bg-alt);
  line-height: 1.4;
}

.bk-addon-picked-thumb-fallback[hidden] {
  display: none !important;
}

.bk-addon-picked-body {
  flex: 1;
  min-width: 0;
}

.bk-addon-picked-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.bk-addon-picked-type {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-3);
}

.bk-addon-picked-name {
  margin-top: 4px;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bk-addon-picked-spec {
  margin-top: 4px;
  font-size: 12px;
  color: var(--ink-3);
}

.bk-addon-picked-meta {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.bk-addon-picked-qty,
.bk-addon-picked-price,
.bk-addon-picked-brand {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.bk-addon-picked-qty,
.bk-addon-picked-brand {
  background: var(--bg-alt);
  color: var(--ink-2);
}

.bk-addon-picked-price {
  background: var(--brand-soft);
  color: var(--brand);
}

.bk-addon-picked-remove {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  cursor: pointer;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
}

.bk-addon-picked-remove:hover {
  border-color: var(--line-strong);
  color: var(--ink-1);
}

.bk-addon-note {
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.bk-addon-note[hidden] {
  display: none !important;
}

.bk-addon-note-mark {
  flex-shrink: 0;
  color: #c43d55;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.65;
}

.bk-addon-note-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-2);
  font-weight: 700;
}

.bk-addon-note-text strong {
  color: #c43d55;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.bk-display {
  margin-top: 36px;
}

.bk-display[hidden] {
  display: none !important;
}

.bk-display-head {
  margin-bottom: 12px;
}

.bk-display-title {
  margin: 0;
}

.bk-display-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.bk-display-tab {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-3);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
}

.bk-display-tab.is-on {
  background: var(--ink-1);
  border-color: var(--ink-1);
  color: #fff;
}

.bk-display-body {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-alt);
  padding: 18px 20px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.7;
}

.bk-display-body:empty {
  display: none;
}

.bk-display-empty {
  color: var(--ink-3);
}

.bk-display-body h1, .bk-display-body h2, .bk-display-body h3, .bk-display-body h4, .bk-display-body h5, .bk-display-body h6 {
  margin: 0 0 10px;
  color: var(--ink-1);
}

.bk-display-body p {
  margin: 0 0 10px;
}

.bk-display-body p:last-child {
  margin-bottom: 0;
}

.bk-display-body ul, .bk-display-body ol {
  margin: 0 0 10px 18px;
  padding: 0;
}

.bk-display-body li + li {
  margin-top: 4px;
}

.bk-display-body figure {
  margin: 0 0 10px;
  max-width: 100%;
}

.bk-display-body figure:last-child {
  margin-bottom: 0;
}

.bk-display-body table {
  width: 100% !important;
  max-width: 100% !important;
  border-collapse: collapse;
  border-spacing: 0;
  margin: 0 0 10px;
  table-layout: fixed;
}

.bk-display-body table:last-child {
  margin-bottom: 0;
}

.bk-display-body colgroup,
.bk-display-body col {
  width: auto !important;
}

.bk-display-body thead,
.bk-display-body tbody,
.bk-display-body tr,
.bk-display-body th,
.bk-display-body td {
  vertical-align: top;
  max-width: 100%;
}

.bk-display-body th,
.bk-display-body td {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* 결제수단 */

.booking-pay-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.pay-card {
  padding: 20px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink-1);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  display: flex;
  flex-direction: column;
}

.pay-card.is-on {
  border-color: var(--ink-1);
  background: var(--ink-1);
  color: #fff;
}

.pay-card[hidden] {
  display: none !important;
}

.pay-l {
  font-size: 15px;
  font-weight: 800;
}

.pay-s {
  font-size: 12px;
  margin-top: 4px;
  opacity: 0.7;
}

.bk-pay-extra {
  margin-top: 16px;
}

.bk-pay-extra[hidden] {
  display: none !important;
}

.bk-pay-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.bk-select {
  display: block;
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1.5px solid var(--line-strong);
  background: #F4F5F7;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink-1);
  outline: none;
  box-sizing: border-box;
}

.bk-select:focus {
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(11,92,255,.1);
}

.bk-pay-note {
  margin-top: 10px;
}

/* 쿠폰 */

.bk-coupon {
  display: flex;
  gap: 8px;
}

.bk-coupon input {
  flex: 1;
  height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-family: inherit;
  outline: none;
}

.bk-coupon-btn {
  height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink-1);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

/* 약관 동의 */

.bk-term {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  align-items: center;
  cursor: pointer;
  border-bottom: 1px solid var(--line);
}

.bk-check {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  flex-shrink: 0;
  background: #fff;
  border: 1.5px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
}

.bk-term.is-read .bk-check, .bk-agree.is-agreed .bk-check {
  background: var(--ink-1);
  border-color: var(--ink-1);
}

.bk-term.is-read .bk-check::after, .bk-agree.is-agreed .bk-check::after {
  content: "✓";
}

.bk-term-l {
  font-size: 13px;
  font-weight: 700;
}

.bk-view {
  margin-left: auto;
  font-size: 11px;
  color: var(--brand);
  font-weight: 700;
}

.bk-agree {
  display: flex;
  gap: 10px;
  padding: 12px 0;
  align-items: center;
  cursor: pointer;
  border-bottom: 2px solid var(--line);
  margin-bottom: 4px;
}

.bk-agree-l {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.bk-agree-s {
  font-size: 11px;
  color: var(--ink-3);
  white-space: nowrap;
  margin-left: auto;
  text-align: right;
}

/* 다음 버튼 */

.bk-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.bk-actions[hidden] {
  display: none !important;
}

.bk-next {
  flex: 1;
  height: 52px;
  border-radius: 14px;
  border: 0;
  background: var(--ink-1);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}

.bk-next:disabled {
  background: var(--line);
  color: var(--ink-3);
  cursor: not-allowed;
}

.bk-next-terms {
  width: 100%;
  margin-top: 16px;
}

/* 요약 */

.booking-summary {
  position: static;
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.booking-summary.is-static {
  position: static;
  top: auto;
}

.bsum-car {
  padding: 12px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-alt);
  margin: 16px 16px 0;
}

.bsum-thumb {
  width: 80px;
  flex-shrink: 0;
  aspect-ratio: 4/3;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.bsum-thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
  display: block;
  background: #fff;
}

.bsum-meta {
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 700;
}

.bsum-name {
  font-size: 16px;
  font-weight: 800;
  margin-top: 2px;
  letter-spacing: -0.01em;
}

.bsum-body {
  padding: 20px;
}

.bsum-h {
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 700;
  margin-bottom: 8px;
}

.bsum-sched {
  font-size: 13px;
  font-weight: 600;
}

.bsum-days {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 2px;
}

.bsum-rows {
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bsum-row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
}

.bsum-row[hidden] {
  display: none !important;
}

.bsum-row > span:first-child {
  color: var(--ink-3);
  font-weight: 600;
}

.bsum-row .num {
  font-weight: 700;
  color: var(--ink-1);
}

.bsum-free {
  color: var(--brand) !important;
}

.bsum-cover {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: -2px;
  padding: 10px 12px;
  background: var(--brand-soft);
  border-radius: 10px;
}

.bsum-cover-row {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  gap: 12px;
}

.bsum-cover-row span:first-child {
  color: var(--ink-3);
  font-weight: 600;
}

.bsum-cover-row .num {
  color: var(--brand);
  font-weight: 800;
}

.bsum-cover-row span:last-child {
  color: var(--ink-1);
  font-weight: 700;
}

.bsum-total {
  border-top: 1px dashed var(--line);
  margin-top: 16px;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.bsum-total-l {
  font-size: 14px;
  font-weight: 700;
}

.bsum-total-v {
  font-size: 28px;
}

.bsum-total-u {
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 700;
  margin-left: 4px;
}

/* 예약 완료 */

.booking-complete {
  max-width: 620px;
  margin: 0 auto;
  padding: 40px clamp(20px, 4vw, 48px) 80px;
}

.bc-card {
  background: #fff;
  border-radius: 28px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.bc-head {
  padding: 28px 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.bc-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 800;
  color: #10B981;
}

.bc-status.is-ready {
  color: #c47b00;
}

.bc-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
}

.bc-h {
  font-size: 28px;
  margin: 0;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.bc-no {
  font-size: 14px;
  color: var(--ink-3);
  margin: 8px 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bc-no strong {
  color: var(--ink-1);
}

.bc-copy, .dm-copy {
  background: 0;
  border: 0;
  cursor: pointer;
  padding: 2px;
  color: var(--ink-3);
  line-height: 0;
}

.bc-head-side {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.bc-dday {
  background: var(--ink-1);
  color: #fff;
  border-radius: 12px;
  padding: 8px 18px;
  display: flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
}

.bc-dday span:first-child {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
}

.bc-dday .num {
  font-size: 24px;
  font-weight: 800;
}

.bc-close {
  background: 0;
  border: 0;
  cursor: pointer;
  padding: 4px;
  color: var(--ink-3);
  margin-top: 2px;
}

.bc-body {
  padding: 20px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bc-booker-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.bc-booker-box {
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 12px 16px;
}

.bc-booker-k {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-3);
  margin-bottom: 4px;
}

.bc-booker-v {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink-1);
}

.bc-car-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.bc-car-thumb {
  width: 80px;
  height: 60px;
  flex-shrink: 0;
  background: var(--bg-alt);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bc-car-thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
}

.bc-car-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink-1);
}

.bc-car-spec {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 2px;
}

.bc-option-stack,
.dm-option-stack {
  display: grid;
  gap: 10px;
}

.bc-option-stack {
  margin-top: 14px;
}

.dm-option-stack {
  margin-bottom: 14px;
}

.bc-option-stack[hidden],
.dm-option-stack[hidden],
.bc-option-card[hidden] {
  display: none !important;
}

.bc-option-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 14px 16px;
}

.bc-option-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-1);
}

.bc-option-meta {
  margin-top: 4px;
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.6;
}

.bc-option-price {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--brand);
}

.bc-sched-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.bc-sched-k {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-3);
  margin-bottom: 6px;
}

.bc-sched-d {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink-1);
  letter-spacing: -0.01em;
}

.bc-sched-t {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 2px;
}

.bc-sched-arrow {
  color: var(--ink-3);
  font-size: 16px;
}

.bc-shuttle-card {
  background: var(--bg-alt);
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.6;
}

.bc-shuttle-card svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.bc-shuttle-card strong {
  color: var(--ink-1);
}

.bc-pay-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.bc-pay-k {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink-1);
}

.bc-pay-cardno {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 4px;
}

.bc-pay-vbank[hidden] {
  display: none !important;
}

.bc-pay-vbank {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.bc-pay-vbank span {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-3);
}

.bc-pay-vbank strong {
  font-size: 14px;
  color: var(--ink-1);
  letter-spacing: -0.01em;
}

.bc-pay-side {
  text-align: right;
}

.bc-pay-v {
  font-size: 26px;
  color: var(--ink-1);
}

.bc-pay-date {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 2px;
}

.bc-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 4px;
}

.bc-act {
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.bc-act-warn {
  border-color: oklch(0.7 0.15 25);
  color: oklch(0.6 0.18 25);
}

.bc-free-line {
  text-align: center;
  font-size: 13px;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.bc-free-line strong {
  color: var(--ink-1);
}

.bc-home-wide {
  margin-top: 8px;
  height: 52px;
  width: 100%;
  border-radius: 14px;
  background: var(--ink-1);
  color: #fff;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* 약관 바텀시트 */

.terms-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10,14,26,0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.terms-modal[hidden] {
  display: none;
}

.terms-sheet {
  width: 100%;
  max-width: 760px;
  background: #fff;
  border-radius: 20px;
  height: 76vh;
  max-height: 640px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 80px -20px rgba(10,14,26,0.4);
}

.terms-handle {
  display: none;
}

.terms-head {
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
}

.terms-head-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-top: 20px;
}

.terms-title {
  font-size: 18px;
  margin: 0;
}

.terms-x {
  width: 32px;
  height: 32px;
  border: 0;
  background: var(--bg-alt);
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.terms-tabs {
  display: flex;
}

.terms-tab {
  flex: 1;
  padding: 12px 0;
  border: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink-3);
  border-bottom: 2px solid transparent;
  transition: color .15s;
}

.terms-tab.is-active {
  color: var(--ink-1);
  border-bottom-color: var(--ink-1);
}

.terms-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 20px 24px;
}

.terms-sec {
  margin-bottom: 28px;
}

.terms-sec:not(:last-child) {
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--line);
}

.terms-sec h4 {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--ink-1);
}

.terms-sec p {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.8;
  white-space: pre-line;
  margin: 0;
}

.terms-html-body {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.8;
}

.terms-html-body * {
  max-width: 100%;
  box-sizing: border-box;
}

.terms-table {
  border-radius: 10px;
  border: 1px solid var(--line);
  overflow: hidden;
  margin-bottom: 16px;
}

.terms-table-head {
  display: grid;
  grid-template-columns: 1fr auto;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}

.terms-table-head > div {
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
}

.terms-table-row {
  display: grid;
  grid-template-columns: 1fr auto;
}

.terms-table-row:not(:last-child) {
  border-bottom: 1px solid var(--line);
}

.terms-table-row > div:first-child {
  padding: 10px 12px;
  font-size: 13px;
  color: var(--ink-2);
}

.terms-table-row > div:last-child {
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-1);
}

.terms-table-row.is-last > div:last-child {
  color: var(--accent-warm);
}

.terms-foot {
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  background: #fff;
  border-radius: 0 0 20px 20px;
}

.terms-confirm {
  width: 100%;
  height: 52px;
  border-radius: 14px;
  border: 0;
  background: var(--line);
  color: var(--ink-3);
  font-size: 15px;
  font-weight: 800;
  cursor: not-allowed;
  font-family: inherit;
  transition: background .2s, color .2s;
}

.terms-confirm.is-ready {
  background: var(--ink-1);
  color: #fff;
  cursor: pointer;
}

.booking-confirm-modal[hidden] {
  display: none !important;
}

.booking-confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 230;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.booking-confirm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,14,26,0.56);
  backdrop-filter: blur(4px);
}

.booking-confirm-card {
  position: relative;
  width: min(440px, calc(100vw - 32px));
  background: #fff;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px -20px rgba(10,14,26,0.42);
  overflow: hidden;
}

.booking-confirm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 22px 0;
}

.booking-confirm-title {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink-1);
}

.booking-confirm-x {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 0;
  background: var(--bg-alt);
  color: var(--ink-3);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.booking-confirm-body {
  padding: 18px 22px 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
}

.booking-confirm-body strong {
  color: var(--ink-1);
  font-weight: 800;
}

.booking-confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 22px;
}

.booking-confirm-btn {
  height: 50px;
  border-radius: 14px;
  border: 0;
  font-size: 15px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
}

.booking-confirm-btn.is-ghost {
  background: #eef1f5;
  color: var(--ink-2);
}

.booking-confirm-btn.is-primary {
  background: var(--ink-1);
  color: #fff;
}

/* 예약 상세 모달 */

.detail-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10,14,26,0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.detail-modal[hidden] {
  display: none;
}

.dm-card {
  background: #fff;
  border-radius: 22px;
  width: 100%;
  max-width: 460px;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 30px 80px -20px rgba(10,14,26,0.4);
}

.dm-head {
  padding: 28px 28px 24px;
  position: relative;
}

.dm-x {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dm-dday {
  position: absolute;
  top: 20px;
  right: 60px;
  background: var(--brand);
  color: #fff;
  width: 56px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  line-height: 1;
  gap: 2px;
}

.dm-dday > span:first-child {
  font-size: 11px;
  opacity: 0.9;
}

.dm-dday .num {
  font-size: 26px;
}

.dm-confirmed {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  color: #10B981;
  letter-spacing: 0.08em;
}

.dm-confirmed.is-ready {
  color: #c47b00;
}

.dm-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
}

.dm-head-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-top: 8px;
}

.dm-h {
  font-size: 28px;
  margin: 8px 0 4px;
  letter-spacing: -0.02em;
}

.dm-no {
  font-size: 13px;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 6px;
}

.dm-no strong {
  color: var(--ink-1);
  font-weight: 800;
}

.dm-booker-side {
  text-align: right;
  margin-right: 36px;
}

.dm-booker-k {
  font-size: 10.5px;
  color: var(--ink-3);
  font-weight: 600;
}

.dm-booker-v {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink-1);
  margin-top: 2px;
}

.dm-body {
  padding: 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dm-carrow {
  background: var(--bg-alt);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.dm-thumb {
  width: 76px;
  height: 56px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.dm-thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
}

.dm-carname {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink-1);
}

.dm-carspec {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 3px;
}

.dm-route {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
}

.dm-route-l {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.dm-route-d {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink-1);
}

.dm-route-t {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 2px;
}

.dm-route-mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.dm-route-days {
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
  border-radius: 10px;
  padding: 3px 10px;
}

.dm-info-box {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dm-info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.dm-info-row span {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-3);
  flex-shrink: 0;
  width: 56px;
}

.dm-info-row strong {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-1);
  text-align: right;
}

.dm-breakdown {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dm-break-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.dm-break-row span {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
}

.dm-break-row strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-1);
}

.dm-break-total {
  border-top: 1px solid var(--line);
  margin-top: 4px;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.dm-break-total span {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink-1);
}

.dm-break-total strong {
  font-size: 22px;
  color: var(--brand);
}

.dm-actions {
  padding: 20px 28px 16px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.dm-act {
  padding: 12px 8px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-1);
  font-family: inherit;
}

.dm-act-warn {
  color: var(--accent-warm);
}

.dm-free {
  padding: 0 28px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-3);
}

.dm-free strong {
  color: var(--ink-1);
}

.addon-modal-wrap[hidden] {
  display: none;
}

.addon-modal-wrap {
  position: fixed;
  inset: 0;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.addon-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,14,26,.45);
}

.addon-modal-card {
  position: relative;
  width: min(560px, calc(100vw - 40px));
  height: min(720px, calc(100vh - 40px));
  background: #fff;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(10,14,26,.4);
}

.addon-modal-head {
  padding: 24px 24px 0;
  position: relative;
}

.addon-modal-x {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-alt);
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.addon-modal-title {
  font-size: 22px;
  margin: 0;
  letter-spacing: -0.02em;
}

.addon-tabs {
  display: flex;
  gap: 24px;
  padding: 20px 24px 0;
  border-bottom: 1px solid var(--line);
}

.addon-tab {
  background: 0;
  border: 0;
  padding: 0 0 12px;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink-3);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  letter-spacing: -0.01em;
}

.addon-tab.is-on {
  color: var(--ink-1);
  border-bottom-color: var(--ink-1);
}

.addon-subtypes {
  padding: 12px 24px 4px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.addon-chip {
  padding: 8px 16px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  background: var(--bg-alt);
  color: var(--ink-2);
}

.addon-chip.is-on {
  background: var(--ink-1);
  color: #fff;
}

.addon-chip.is-disabled,
.addon-chip:disabled {
  opacity: .38;
  cursor: not-allowed;
}

.addon-modal-notice {
  display: none;
  margin: 4px 24px 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(217, 72, 95, .96);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.addon-modal-notice.show {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.addon-type-guide {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 14px 24px 0;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease;
  background: var(--brand-soft);
  border-color: rgba(11,92,255,.18);
}

.atg-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--brand);
}

.atg-body {
  min-width: 0;
}

.atg-chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .01em;
  color: #fff;
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 6px;
  background: var(--brand);
}

.atg-desc {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-1);
  margin: 0 0 4px;
  line-height: 1.5;
}

.atg-note {
  font-size: 12px;
  color: var(--ink-3);
  margin: 0;
  line-height: 1.5;
}

.addon-exclusive-warning {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 24px 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(217,72,95,.08);
  border: 1px solid rgba(217,72,95,.28);
  color: #d9485f;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.45;
}

.addon-exclusive-warning svg {
  flex-shrink: 0;
}

.addon-exclusive-warning strong {
  font-weight: 800;
}

.addon-note {
  font-size: 12px;
  color: var(--ink-3);
  margin: 0 24px 10px;
  font-weight: 600;
}

.addon-scroll {
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.addon-list-divider {
  height: 1px;
  margin: 22px 24px 18px;
  background: var(--line);
}

.addon-list {
  padding: 0 24px 24px;
}

.addon-empty {
  text-align: center;
  padding: 60px 0;
  font-size: 13px;
  color: var(--ink-3);
}

.addon-loading {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

.booking-loading-overlay[hidden] {
  display: none !important;
}

.copy-toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-12px);
  z-index: 400;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(10,14,26,.9);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 14px 30px -10px rgba(10,14,26,.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.copy-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.booking-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(10,14,26,0.56);
  backdrop-filter: blur(4px);
}

.booking-loading-spinner {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 4px solid rgba(255,255,255,.25);
  border-top-color: #fff;
  animation: addon-spin .8s linear infinite;
}

.booking-loading-text {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}

.addon-spinner {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 3px solid rgba(10,14,26,.1);
  border-top-color: var(--brand);
  animation: addon-spin .8s linear infinite;
}

.addon-loading-text {
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 700;
}

@keyframes addon-spin {
  to {
    transform: rotate(360deg);
  }
}

.addon-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 14px;
  border-radius: 16px;
  border: 1px solid transparent;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.addon-item + .addon-item {
  margin-top: 10px;
}

.addon-item.is-disabled {
  opacity: .45;
}

.addon-item.is-selected {
  background: color-mix(in srgb, var(--brand) 7%, #fff);
  border-color: color-mix(in srgb, var(--brand) 44%, white);
  box-shadow: 0 10px 24px -18px color-mix(in srgb, var(--brand) 70%, transparent);
}

.addon-item.is-selected .addon-thumb {
  border-color: color-mix(in srgb, var(--brand) 34%, white);
}

.addon-item.is-selected .addon-step-num {
  color: var(--brand);
}

.addon-thumb {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.addon-thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
  display: block;
  background: #fff;
}

.addon-thumb-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 10px;
  font-size: 12px;
  font-weight: 800;
  color: var(--ink-3);
  background: var(--bg-alt);
  text-align: center;
  line-height: 1.4;
  word-break: keep-all;
}

.addon-thumb.is-broken .addon-thumb-fallback,
.addon-thumb.no-image .addon-thumb-fallback {
  display: flex;
}

.addon-body {
  flex: 1;
  min-width: 0;
}

.addon-row-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.addon-row-top > div {
  min-width: 0;
  flex: 1;
}

.addon-type {
  font-size: 11.5px;
  color: var(--ink-3);
  font-weight: 700;
}

.addon-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.addon-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink-1);
  letter-spacing: -0.02em;
  line-height: 1.35;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  word-break: keep-all;
}

.addon-spec {
  font-size: 11.5px;
  color: var(--ink-3);
  margin-top: 3px;
}

.addon-brand {
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  max-width: 92px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
}

.addon-row-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.addon-meta-bottom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.addon-total {
  font-size: 12px;
  color: var(--ink-3);
}

.addon-total .num {
  font-size: 14px;
  font-weight: 800;
  color: var(--accent-warm);
}

.addon-stepper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.addon-stock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
}

.addon-step-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.addon-step-btn:disabled {
  color: var(--ink-3);
  cursor: not-allowed;
}

.addon-step-num {
  min-width: 18px;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
}

.addon-foot {
  padding: 14px 24px;
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.addon-foot-copy {
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 700;
}

.addon-foot-copy .num:first-of-type {
  color: var(--ink-1);
  font-weight: 800;
}

.addon-foot-copy .num:last-of-type {
  color: var(--brand);
  font-weight: 800;
}

.addon-confirm {
  height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  border: 0;
  background: var(--ink-1);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  flex-shrink: 0;
}

.addon-confirm:disabled {
  background: var(--line);
  color: var(--ink-3);
  cursor: not-allowed;
}

.parking-modal-wrap[hidden] {
  display: none;
}

.parking-modal-wrap {
  position: fixed;
  inset: 0;
  z-index: 105;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.parking-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,14,26,.5);
}

.parking-toast[hidden] {
  display: none;
}

.parking-toast {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  z-index: 2;
  min-width: min(420px, calc(100vw - 48px));
  max-width: min(520px, calc(100vw - 48px));
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(17, 24, 39, .94);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .5);
  animation: parking-toast-in .22s ease-out;
  pointer-events: none;
}

@keyframes parking-toast-in {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.parking-modal-card {
  position: relative;
  width: min(640px, calc(100vw - 40px));
  max-height: min(820px, calc(100vh - 40px));
  background: #fff;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(10,14,26,.42);
}

.parking-modal-head {
  padding: 24px 24px 20px;
  position: relative;
  border-bottom: 1px solid var(--line);
}

.parking-modal-x {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 0;
  background: var(--bg-alt);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.parking-modal-chip {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
}

.parking-modal-title {
  margin: 14px 0 0;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.parking-modal-sub {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.65;
}

.parking-modal-body {
  flex: 1;
  overflow-y: auto;
  background: linear-gradient(180deg, #f8fbff 0%, #fff 24%);
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.parking-scroll-hint {
  position: sticky;
  bottom: 6px;
  align-self: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,14,26,.28);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(10,14,26,.3);
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease;
  z-index: 2;
}

.parking-scroll-hint.show {
  opacity: 1;
}

.parking-fare-board {
  border-radius: 20px;
  background: linear-gradient(135deg, #294cc9 0%, #4380f0 100%);
  color: #fff;
  padding: 22px 24px 18px;
  box-shadow: 0 18px 34px -20px rgba(22, 58, 170, .9);
}

.parking-fare-board-top {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 22px;
  align-items: stretch;
}

.parking-fare-airport {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding-right: 20px;
  border-right: 1px solid rgba(255,255,255,.22);
}

.parking-fare-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: -moz-fit-content;
  width: fit-content;
  height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  font-size: 11px;
  font-weight: 800;
}

.parking-fare-airport-name {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.parking-fare-table {
  display: flex;
  flex-direction: column;
}

.parking-fare-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 42px;
  font-size: 15px;
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,.22);
}

.parking-fare-row:last-child {
  border-bottom: 0;
}

.parking-fare-row strong {
  font-size: 15px;
  font-weight: 900;
}

.parking-fare-board-note {
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.22);
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.parking-panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  padding: 20px;
}

.parking-panel-hero {
  background: linear-gradient(135deg, #0b5cff 0%, #3f7cff 100%);
  color: #fff;
  border-color: transparent;
}

.parking-hero-badge {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  font-size: 11px;
  font-weight: 800;
}

.parking-hero-copy {
  margin: 14px 0 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.parking-hero-list {
  margin: 14px 0 0;
  padding: 0 0 0 18px;
  font-size: 12.5px;
  line-height: 1.75;
  color: rgba(255,255,255,.88);
}

.parking-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.parking-section-head h4 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.parking-section-head span {
  font-size: 11px;
  font-weight: 800;
  color: var(--brand);
}

.parking-date-trigger {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #f8fafc;
  text-align: left;
  color: var(--ink-1);
}

.parking-date-col {
  min-width: 0;
}

.parking-date-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--ink-3);
  margin-bottom: 6px;
}

.parking-date-value {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.parking-date-arrow {
  color: var(--ink-3);
  font-size: 18px;
  font-weight: 800;
}

.parking-inline-note {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--ink-3);
}

.parking-inline-guide {
  margin: 10px 0 0;
  padding-left: 18px;
  font-size: 12px;
  line-height: 1.75;
  color: var(--ink-3);
}

.parking-field-group + .parking-form-grid {
  margin-top: 16px;
}

.parking-field-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--ink-3);
  margin-bottom: 8px;
}

.parking-radio {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-1);
}

.parking-radio input[type="radio"] {
  margin: 0;
  width: 18px;
  height: 18px;
  accent-color: #1976ff;
  flex: 0 0 auto;
}

.parking-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.parking-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.parking-field-full {
  grid-column: 1 / -1;
}

.parking-name-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 12px;
}

.parking-field > span {
  font-size: 12px;
  font-weight: 800;
  color: var(--ink-2);
}

.parking-form-note {
  margin-top: -2px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-3);
  padding: 0 2px;
}

.parking-alert-box {
  margin-top: 4px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid #d9e5ff;
  background: linear-gradient(180deg, #f8fbff 0%, #f3f7ff 100%);
}

.parking-alert-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 900;
  color: #2b5fd9;
  letter-spacing: -0.02em;
}

.parking-alert-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #2b5fd9;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.parking-alert-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12.5px;
  line-height: 1.7;
  color: #4169c9;
}

.parking-alert-list li {
  position: relative;
  padding-left: 10px;
}

.parking-alert-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 900;
}

.parking-field input,
.parking-field textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #f8fafc;
  padding: 14px 16px;
  font-size: 14px;
  color: var(--ink-1);
  resize: none;
}

.parking-field input:focus,
.parking-field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(11,92,255,.1);
}

.parking-modal-foot {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 18px 24px 24px;
}

.parking-foot-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink-1);
}

.parking-foot-price strong {
  font-size: 32px;
  color: var(--brand);
  letter-spacing: -0.03em;
}

.parking-foot-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 16px;
}

.parking-foot-btn {
  height: 52px;
  border-radius: 14px;
  border: 0;
  font-size: 15px;
  font-weight: 800;
  font-family: inherit;
}

.parking-foot-btn.is-ghost {
  background: #eef1f5;
  color: var(--ink-2);
}

.parking-foot-btn.is-primary {
  background: var(--brand);
  color: #fff;
}

.parking-foot-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

/* 추가 선택 섹션 스타일 정의 */

.bsum-addon-section:has([data-addon-row][hidden]):has([data-valet-row][hidden]) {
  display: none !important;
}

.bsum-addon-section {
  margin-top: 14px;
}

.bsum-addon-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--ink-3);
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 12px;
}

.bsum-addon-divider::before,
.bsum-addon-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px dashed var(--line);
}

.bsum-addon-divider::before {
  margin-right: 10px;
}

.bsum-addon-divider::after {
  margin-left: 10px;
}

.bsum-addon-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg-alt);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink-1);
  margin-bottom: 8px;
}

.bsum-addon-box[hidden] {
  display: none !important;
}

.bsum-addon-box span:first-child {
  color: var(--ink-2);
}

.bsum-addon-box .num {
  color: var(--ink-1);
  font-weight: 800;
}

@media (max-width: 640px) {
  .parking-modal-wrap {
    padding: 0;
  }

  .parking-toast {
    left: 20px;
    right: 20px;
    bottom: 20px;
    min-width: 0;
    max-width: none;
    transform: none;
    border-radius: 14px;
  }

  @keyframes parking-toast-in {
    from {
      opacity: 0;
      transform: translateY(10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .parking-modal-card {
    width: 100vw;
    max-height: 100dvh;
    min-height: 100dvh;
    border-radius: 0;
  }

  .parking-modal-head,
  .parking-modal-body,
  .parking-modal-foot {
    padding-left: 20px;
    padding-right: 20px;
  }

  .parking-modal-head {
    padding-top: 20px;
  }

  .parking-fare-board {
    padding: 18px;
    border-radius: 18px;
  }

  .parking-fare-board-top {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .parking-fare-airport {
    padding-right: 0;
    padding-bottom: 14px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.22);
  }

  .parking-fare-airport-name {
    font-size: 20px;
  }

  .parking-fare-row {
    min-height: 38px;
    font-size: 14px;
  }

  .parking-panel {
    padding: 18px;
    border-radius: 18px;
  }

  .parking-form-grid {
    grid-template-columns: 1fr;
  }

  .parking-name-grid {
    grid-template-columns: 1fr 2fr;
  }

  .parking-foot-actions {
    grid-template-columns: 1fr;
  }
}

/* Payment forms styling */

.bk-pay-extra {
  margin-top: 20px;
  padding: 24px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.bk-pay-extra[hidden] {
  display: none !important;
}

/* Toggle group for personal/corporate and cash receipt type */

.bk-toggle-group {
  display: flex;
  background: #F4F5F7;
  border-radius: 14px;
  padding: 4px;
  border: 1.5px solid var(--line-strong);
  height: 52px;
  box-sizing: border-box;
}

.bk-toggle-btn {
  flex: 1;
  border: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 750;
  color: var(--ink-2);
  cursor: pointer;
  border-radius: 10px;
  transition: background .15s, color .15s;
  font-family: inherit;
}

.bk-toggle-btn.is-active {
  background: #FFFFFF;
  color: var(--ink-1);
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
}

/* Card number input fields */

.card-number-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.card-number-grid input {
  text-align: center;
}

/* Expiry month/year wrapper */

.card-expiry-grid {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F4F5F7;
  border-radius: 14px;
  border: 1.5px solid var(--line-strong);
  padding: 0 16px;
  height: 52px;
  box-sizing: border-box;
  transition: border-color .15s, background .15s, box-shadow .15s;
}

.card-expiry-grid input {
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  height: 100% !important;
  width: 40px !important;
  text-align: center;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  box-shadow: none !important;
}

.card-expiry-grid:focus-within {
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(11,92,255,.1);
}

.expiry-divider {
  font-size: 16px;
  color: var(--ink-3);
  font-weight: 700;
}

@media (max-width: 560px) {
  .card-number-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 프렌즈렌트카 — 예약 조회. screens-flow.jsx LookupScreen 기준 */

.lookup-main {
  background: var(--bg-alt);
  min-height: 70vh;
  padding: 64px 0 96px;
}

.lookup-shell {
  max-width: 680px;
}

.lookup-back {
  background: 0;
  border: 0;
  padding: 0;
  font-size: 13px;
  color: var(--ink-3);
  cursor: pointer;
  margin-bottom: 20px;
  font-weight: 600;
  font-family: inherit;
}

.lookup-back:hover,
.lookup-reset:hover {
  color: var(--ink-1);
}

.lookup-head {
  margin-bottom: 32px;
}

.lookup-eyebrow {
  font-size: 12px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.lookup-head h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0;
  letter-spacing: -0.02em;
}

.lookup-head p {
  font-size: 14px;
  color: var(--ink-3);
  margin: 8px 0 0;
}

.lookup-search-card,
.lookup-loading,
.lookup-result-card,
.lookup-cancelled {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--line);
}

.lookup-search-card[hidden],
.lookup-loading[hidden],
.lookup-result-wrap[hidden],
.lookup-alert[hidden],
.lookup-cancelled[hidden],
.lookup-actions[hidden] {
  display: none !important;
}

.lookup-form {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lookup-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lookup-label span {
  font-size: 12px;
  font-weight: 800;
  color: var(--ink-2);
  letter-spacing: -0.005em;
}

.lookup-label input {
  height: 50px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  background: #fff;
  width: 100%;
  transition: border-color .15s, box-shadow .15s;
}

.lookup-label input:focus {
  border-color: var(--ink-1);
  box-shadow: 0 0 0 3px rgba(10,14,26,.06);
}

.lookup-submit {
  width: 100%;
  height: 52px;
  border-radius: 14px;
  border: 0;
  background: var(--ink-1);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}

.lookup-submit:disabled {
  background: var(--line);
  color: var(--ink-3);
  cursor: not-allowed;
}

.lookup-help {
  font-size: 12px;
  color: var(--ink-3);
  text-align: center;
  line-height: 1.6;
}

.lookup-help strong {
  color: var(--ink-1);
}

.lookup-demo-btn {
  background: 0;
  border: 0;
  font-size: 12px;
  color: var(--brand);
  font-weight: 700;
  cursor: pointer;
  align-self: center;
  font-family: inherit;
}

.lookup-alert {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #fff1ee;
  border: 1px solid #f2c6b9;
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--accent-warm);
}

.lookup-alert svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.lookup-alert span {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.6;
}

.lookup-loading {
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.lookup-loading-spinner {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 3px solid var(--line);
  border-top-color: var(--brand);
  animation: lookup-spin .8s linear infinite;
}

.lookup-loading-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
}

@keyframes lookup-spin {
  to {
    transform: rotate(360deg);
  }
}

.lookup-cancel-loading-overlay[hidden] {
  display: none !important;
}

.lookup-cancel-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(10,14,26,0.56);
  backdrop-filter: blur(4px);
}

.lookup-cancel-loading-spinner {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 4px solid rgba(255,255,255,.25);
  border-top-color: #fff;
  animation: lookup-spin .8s linear infinite;
}

.lookup-cancel-loading-text {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}

.lookup-result-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lookup-reset {
  background: 0;
  border: 0;
  padding: 0;
  font-size: 13px;
  color: var(--ink-3);
  cursor: pointer;
  font-weight: 700;
  align-self: flex-start;
  font-family: inherit;
}

.lookup-result-card {
  overflow: hidden;
}

.lookup-result-head {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.lookup-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  color: #10b981;
  letter-spacing: 0.08em;
}

.lookup-status.is-ready {
  color: #c47b00;
}

.lookup-status.is-cancelled {
  color: #d92d20;
  background: #fef2f1;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
}

.lookup-status.is-cancelled .lookup-status-dot {
  width: 7px;
  height: 7px;
}

.lookup-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
}

.lookup-code-row {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.lookup-code-row strong {
  color: var(--ink-1);
}

.lookup-copy {
  background: 0;
  border: 0;
  cursor: pointer;
  padding: 2px;
  color: var(--ink-3);
  line-height: 0;
}

.lookup-booker {
  text-align: right;
}

.lookup-booker-label {
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 700;
}

.lookup-booker-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink-1);
  margin-top: 2px;
}

.lookup-car-row {
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.lookup-car-thumb {
  width: 132px;
  aspect-ratio: 5 / 4;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
}

.lookup-car-thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
}

.lookup-car-year {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

.lookup-car-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink-1);
  margin-top: 2px;
  letter-spacing: -0.02em;
}

.lookup-car-spec {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 8px;
  font-weight: 600;
}

.lookup-schedule {
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.lookup-sched-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.lookup-sched-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--ink-2);
  letter-spacing: 0.04em;
}

.lookup-sched-label.is-brand {
  color: var(--brand);
}

.lookup-sched-date {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink-1);
  margin-top: 4px;
}

.lookup-sched-mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.lookup-sched-days {
  font-size: 11px;
  font-weight: 800;
  color: var(--ink-3);
  background: var(--bg-alt);
  border-radius: 999px;
  padding: 3px 10px;
}

.lookup-sched-arrow {
  color: var(--line-strong);
}

.lookup-sched-end {
  text-align: right;
}

.lookup-info-rows {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lookup-info-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
}

.lookup-info-row[hidden] {
  display: none;
}

.lookup-info-row span {
  color: var(--ink-3);
  font-weight: 600;
}

.lookup-info-row strong {
  color: var(--ink-1);
  text-align: right;
}

.lookup-payment {
  padding: 24px;
  background: var(--bg-alt);
}

.lookup-pay-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lookup-pay-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13.5px;
}

.lookup-pay-row span {
  color: var(--ink-3);
  font-weight: 600;
}

.lookup-pay-row strong {
  color: var(--ink-1);
}

.lookup-pay-row.is-cancelled span {
  color: var(--ink-2);
  font-weight: 700;
}

.lookup-pay-amount {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.lookup-pay-amount strong {
  font-size: 14px;
  font-weight: 800;
}

.lookup-pay-original {
  color: var(--ink-4);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.lookup-pay-current {
  color: var(--ink-1);
}

.lookup-pay-summary {
  padding-top: 12px;
  margin-top: 2px;
  border-top: 1px dashed var(--line-strong);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lookup-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.lookup-total-row span {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink-1);
}

.lookup-total-row strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand);
}

.lookup-addon-wrap {
  padding: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #fff;
}

.lookup-addon-wrap[hidden],
.lookup-addon-block[hidden] {
  display: none !important;
}

.lookup-addon-block {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: linear-gradient(180deg, #fff 0%, #fcfcfd 100%);
}

.lookup-addon-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.lookup-addon-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--brand);
  margin-bottom: 4px;
}

.lookup-addon-head h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.lookup-addon-action {
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--accent-warm);
  font-size: 12px;
  font-weight: 800;
  padding: 0 14px;
  cursor: pointer;
  font-family: inherit;
}

.lookup-addon-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lookup-addon-group {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.lookup-addon-group.is-cancelled {
  opacity: .72;
}

.lookup-addon-group-head {
  padding: 18px 16px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.lookup-addon-group-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.lookup-addon-group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.lookup-addon-group-title strong {
  font-size: 14px;
  color: var(--ink-1);
}

.lookup-addon-group-sub {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.5;
}

.lookup-addon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: var(--bg-alt);
  color: var(--ink-2);
}

.lookup-addon-badge.is-confirmed {
  background: #edf9f4;
  color: #127a56;
}

.lookup-addon-badge.is-ready {
  background: #fff8ea;
  color: #9b6b00;
}

.lookup-addon-badge.is-cancelled {
  background: #f3f4f6;
  color: var(--ink-3);
}

.lookup-addon-items {
  padding: 14px 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lookup-addon-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lookup-addon-item-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.lookup-addon-item-main.is-selectable {
  cursor: pointer;
}

.lookup-addon-item-check {
  width: 16px;
  height: 16px;
  accent-color: var(--brand);
  margin: 0;
  flex-shrink: 0;
}

.lookup-addon-item-name {
  font-size: 14px;
  color: var(--ink-1);
  word-break: keep-all;
}

.lookup-addon-item.is-cancelled .lookup-addon-item-name,
.lookup-addon-item.is-cancelled .lookup-addon-item-price {
  color: var(--ink-4);
  text-decoration: line-through;
}

.lookup-addon-item-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink-1);
  flex-shrink: 0;
}

.lookup-addon-group-foot {
  padding: 18px 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.lookup-addon-total {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lookup-addon-total span {
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 700;
}

.lookup-addon-total strong {
  font-size: 16px;
  color: var(--ink-1);
}

.lookup-addon-group-action {
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--accent-warm);
  font-size: 12px;
  font-weight: 800;
  padding: 0 12px;
  cursor: pointer;
  font-family: inherit;
}

.lookup-parking-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lookup-parking-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.lookup-parking-title {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lookup-parking-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.lookup-parking-title strong {
  font-size: 15px;
  color: var(--ink-1);
}

.lookup-parking-title strong.is-cancelled {
  color: var(--ink-4);
  text-decoration: line-through;
}

.lookup-parking-title span {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.55;
}

.lookup-parking-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

.lookup-parking-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lookup-parking-field span {
  font-size: 11px;
  font-weight: 800;
  color: var(--ink-3);
}

.lookup-parking-field strong {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-1);
  word-break: break-word;
}

.lookup-parking-actions {
  display: flex;
  justify-content: flex-end;
}

.lookup-refund-grid {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lookup-refund-amount {
  min-height: 50px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  background: var(--bg-alt);
  font-size: 15px;
  font-weight: 800;
}

.lookup-label select {
  height: 50px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  background: #fff;
  width: 100%;
}

.lookup-refund-help {
  margin: 14px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-3);
}

.lookup-actions {
  display: flex;
  gap: 10px;
}

.lookup-action {
  flex: 1;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
}

.lookup-action-outline {
  background: transparent;
  color: var(--ink-1);
  border: 1px solid var(--line-strong);
}

.lookup-action-cancel {
  background: #fff;
  color: var(--accent-warm);
  border: 1px solid var(--line-strong);
}

.lookup-cancelled {
  padding: 18px;
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.6;
}

.lookup-modal[hidden] {
  display: none;
}

.lookup-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
}

.lookup-modal[data-refund-modal] {
  z-index: 210;
}

.lookup-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,14,26,.5);
  backdrop-filter: blur(4px);
}

.lookup-modal-dialog {
  position: relative;
  width: calc(100% - 40px);
  max-width: 420px;
  margin: 0 auto;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.lookup-modal-dialog h3 {
  font-size: 20px;
  margin: 0;
  letter-spacing: -0.02em;
}

.lookup-modal-dialog p {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.7;
  margin: 12px 0 0;
}

.lookup-modal-dialog strong {
  color: var(--ink-1);
}

.lookup-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.lookup-modal-btn {
  flex: 1;
  height: 48px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}

.lookup-modal-btn-light {
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink-2);
}

.lookup-modal-btn-dark {
  border: 0;
  background: var(--ink-1);
  color: #fff;
}

@media (max-width: 560px) {
  .lookup-main {
    padding: 48px 0 80px;
  }

  .lookup-form {
    padding: 22px;
  }

  .lookup-result-head,
  .lookup-car-row,
  .lookup-schedule,
  .lookup-payment {
    padding: 20px;
  }

  .lookup-status {
    font-size: 10.5px;
  }

  .lookup-code-row {
    font-size: 12.5px;
  }

  .lookup-booker-label {
    font-size: 10.5px;
  }

  .lookup-booker-name {
    font-size: 13px;
  }

  .lookup-booker {
    text-align: left;
  }

  .lookup-car-row {
    align-items: flex-start;
  }

  .lookup-car-thumb {
    width: 100px;
  }

  .lookup-car-year {
    font-size: 10.5px;
  }

  .lookup-car-name {
    font-size: 18px;
    margin-top: 1px;
  }

  .lookup-car-spec {
    gap: 10px;
    font-size: 11.5px;
    margin-top: 6px;
  }

  .lookup-schedule {
    background: #fff;
  }

  .lookup-sched-grid {
    grid-template-columns: 1fr auto 1fr;
    gap: 10px;
    align-items: center;
  }

  .lookup-sched-mid {
    align-items: center;
    text-align: center;
  }

  .lookup-sched-end {
    text-align: right;
  }

  .lookup-sched-label {
    font-size: 10px;
  }

  .lookup-sched-date {
    font-size: 12px;
    line-height: 1.3;
    white-space: nowrap;
    letter-spacing: -0.02em;
  }

  .lookup-sched-days {
    min-width: 34px;
    padding: 4px 0;
    text-align: center;
    line-height: 1.1;
    font-size: 10px;
  }

  .lookup-sched-arrow {
    font-size: 15px;
    line-height: 1;
  }

  .lookup-info-rows {
    gap: 8px;
  }

  .lookup-info-row {
    background: var(--bg-alt);
    border-radius: 12px;
    padding: 12px 14px;
    flex-direction: column;
    gap: 4px;
    font-size: 12.5px;
  }

  .lookup-info-row span {
    font-size: 11.5px;
  }

  .lookup-info-row strong {
    text-align: left;
  }

  .lookup-pay-list {
    gap: 12px;
  }

  .lookup-pay-row {
    align-items: flex-start;
    font-size: 12.5px;
  }

  .lookup-pay-row strong {
    font-size: 14px;
    font-weight: 800;
  }

  .lookup-addon-wrap {
    padding: 20px;
    gap: 14px;
  }

  .lookup-addon-block {
    padding: 16px;
    border-radius: 16px;
  }

  .lookup-addon-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .lookup-addon-action,
  .lookup-addon-group-action {
    width: 100%;
    height: 38px;
  }

  .lookup-addon-group-head,
  .lookup-addon-group-foot,
  .lookup-parking-head,
  .lookup-parking-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .lookup-addon-item {
    align-items: flex-start;
  }

  .lookup-addon-item-price {
    padding-top: 2px;
  }

  .lookup-parking-grid {
    grid-template-columns: 1fr;
  }

  .lookup-total-row {
    margin-top: 6px;
    padding: 14px 16px;
    border: 2px solid var(--brand);
    border-radius: 16px;
    background: #fff;
    flex-direction: row;
  }

  .lookup-total-row span {
    font-size: 12.5px;
  }

  .lookup-total-row strong {
    font-size: 18px;
  }

  .lookup-info-row,
  .lookup-actions {
    flex-direction: column;
  }

  .lookup-action {
    width: 100%;
    min-height: 44px;
    height: auto;
    padding: 11px 16px;
    line-height: 1.25;
    box-sizing: border-box;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .lookup-modal-dialog {
    width: calc(100% - 24px);
    border-radius: 24px;
    padding: 24px 20px 20px;
  }

  .lookup-modal-dialog h3 {
    font-size: 18px;
  }

  .lookup-modal-dialog p {
    font-size: 13px;
    line-height: 1.75;
    margin-top: 14px;
  }

  .lookup-modal-actions {
    margin-top: 28px;
    gap: 12px;
  }

  .lookup-modal-btn {
    height: 50px;
    border-radius: 14px;
    font-size: 15px;
  }
}

/* 여행용품 취소 모달 전용 스타일 */

.lookup-extra-modal-dialog {
  max-width: 480px;
  padding: 24px;
}

.lookup-extra-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}

.lookup-extra-modal-header h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink-1);
  margin: 0;
}

.lookup-extra-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--ink-3);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

.lookup-extra-modal-lead {
  margin-bottom: 16px;
}

.lookup-extra-modal-lead .lead-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink-1);
  margin: 0 0 6px 0;
}

.lookup-extra-modal-lead .lead-desc {
  font-size: 12.5px;
  color: var(--ink-3);
  margin: 0;
}

.lookup-extra-modal-items {
  background: #f8fafc;
  border-radius: 12px;
  padding: 14px;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 160px;
  overflow-y: auto;
}

.lookup-extra-modal-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.lookup-extra-modal-item:not(:last-child) {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 10px;
}

.lookup-extra-modal-item .category {
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 700;
}

.lookup-extra-modal-item .name {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink-1);
}

.lookup-extra-modal-info {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lookup-extra-modal-info .info-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.lookup-extra-modal-info .info-head strong {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink-1);
}

.lookup-extra-modal-info .info-head .badge {
  font-size: 11px;
  font-weight: 800;
  background: #e0f2fe;
  color: #0284c7;
  padding: 3px 8px;
  border-radius: 6px;
}

.lookup-extra-modal-info .info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--ink-2);
}

.lookup-extra-modal-breakdown {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lookup-extra-modal-breakdown[hidden] {
  display: none;
}

.lookup-extra-modal-breakdown .info-row span {
  color: var(--ink-3);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lookup-extra-modal-breakdown .info-row strong {
  color: var(--ink-1);
  font-weight: 800;
}

.lookup-extra-modal-breakdown .info-row span .label {
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 700;
}

.lookup-extra-modal-breakdown .info-row span small {
  color: var(--ink-4);
  font-size: 11px;
  font-weight: 700;
}

.lookup-extra-modal-info .info-row.total {
  border-top: 1px dashed var(--line-strong);
  padding-top: 12px;
  margin-top: 2px;
}

.lookup-extra-modal-info .info-row.total span {
  font-weight: 800;
  color: var(--ink-1);
}

.lookup-extra-modal-info .info-row.total .price {
  font-size: 18px;
  font-weight: 800;
  color: #3b82f6;
}

.lookup-extra-modal-warn {
  background: #fff5f5;
  border: 1px solid #fee2e2;
  border-radius: 10px;
  padding: 12px;
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.6;
  color: #ef4444;
  font-weight: 600;
  text-align: left;
}

.lookup-extra-modal-actions {
  margin-top: 20px;
}

.lookup-modal-btn-danger {
  border: 0;
  background: #ff4d4f;
  color: #fff;
}

.lookup-modal-btn-danger:hover {
  background: #ff7875;
}

.lookup-modal-btn-danger:disabled {
  background: var(--line);
  color: var(--ink-3);
  cursor: not-allowed;
}

.lookup-modal-btn-primary {
  border: 0;
  background: var(--brand);
  color: #fff;
}

.lookup-modal-btn-primary:hover {
  filter: brightness(0.9);
}

.lookup-modal-btn-primary:disabled {
  background: var(--line);
  color: var(--ink-3);
  cursor: not-allowed;
}

@media (max-width: 560px) {
  .lookup-extra-modal-dialog {
    width: calc(100% - 24px);
    border-radius: 24px;
    padding: 20px;
  }

  .lookup-extra-modal-actions {
    flex-direction: row !important;
  }
}

/* 프렌즈렌트카 — 이용안내. screen-guide.jsx GuideScreen 미러 */

.guide-main {
  background: var(--bg-alt);
  min-height: 80vh;
}

/* 히어로 + 탭바 */

.guide-hero {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 56px 0 0;
}

.guide-back {
  display: inline-block;
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 600;
  margin-bottom: 20px;
}

.guide-back:hover {
  color: var(--ink-1);
}

.guide-hero-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.guide-eyebrow {
  font-size: 12px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.guide-h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  margin: 0;
  letter-spacing: -0.02em;
}

.guide-lead {
  font-size: 14.5px;
  color: var(--ink-3);
  margin: 8px 0 0;
  max-width: 540px;
}

.guide-updated {
  font-size: 12px;
  color: var(--ink-3);
}

.guide-tabs {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.guide-tabs::-webkit-scrollbar {
  display: none;
}

.guide-tab {
  padding: 18px 24px;
  background: transparent;
  border: 0;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  color: var(--ink-3);
  position: relative;
  letter-spacing: -0.01em;
  font-family: inherit;
  white-space: nowrap;
}

.guide-tab.is-active {
  color: var(--ink-1);
}

.guide-tab.is-active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: -1px;
  height: 3px;
  background: var(--ink-1);
  border-radius: 2px;
}

/* 콘텐츠 */

.guide-content {
  padding: 48px 0 96px;
}

.guide-sec-head {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--line-strong);
}

.guide-sec-head h2 {
  font-size: 28px;
  margin: 0;
  letter-spacing: -0.02em;
}

.guide-sec-head p {
  font-size: 14px;
  color: var(--ink-3);
  margin: 8px 0 0;
}

.guide-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--line);
  padding: 28px;
}

.guide-card-h {
  font-size: 20px;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

/* 대여가이드 */

.guide-rent {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.guide-rows {
  border-top: 1px solid var(--line);
}

.guide-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  border-bottom: 1px solid var(--line);
}

.gr-k {
  padding: 14px 8px 14px 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-3);
}

.gr-v {
  padding: 14px 0;
  font-size: 14px;
  color: var(--ink-1);
  font-weight: 600;
}

.guide-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.guide-step-card {
  background: var(--bg-alt);
  border-radius: 14px;
  padding: 20px;
}

.guide-step-n {
  font-size: 11px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 0.08em;
}

.guide-step-t {
  font-size: 18px;
  line-height: 1.14;
  margin: 10px 0 8px;
  letter-spacing: -0.02em;
}

.guide-step-d {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.65;
  letter-spacing: -0.01em;
}

.guide-faqs {
  display: flex;
  flex-direction: column;
}

.gfaq {
  padding: 14px 0;
}

.gfaq:not(:last-child) {
  border-bottom: 1px solid var(--line);
}

.gfaq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.gfaq summary::-webkit-details-marker {
  display: none;
}

.gfaq-q {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-1);
}

.gfaq-mark {
  font-size: 18px;
  color: var(--ink-3);
  font-weight: 300;
  transition: transform .15s;
}

.gfaq[open] .gfaq-mark {
  transform: rotate(45deg);
}

.gfaq-a {
  margin: 12px 0 0;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.7;
}

/* 보험안내 */

.guide-ins {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.guide-tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gtier {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 22px 18px 18px;
  position: relative;
}

.gtier.is-reco {
  border: 2px solid var(--brand);
  box-shadow: 0 6px 20px -10px rgba(11,92,255,0.3);
}

.gtier-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  color: #fff;
}

.gtier-tag.is-reco {
  background: var(--brand);
}

.gtier-tag.is-basic {
  background: var(--ink-1);
}

.gtier-k {
  font-size: 18px;
  margin-top: 8px;
  letter-spacing: -0.01em;
}

.gtier-rows {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gtier-rows li {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.gtier-r-k {
  color: var(--ink-3);
  font-weight: 600;
}

.gtier-r-v {
  font-weight: 800;
  color: var(--ink-1);
}

.gtier-r-v.is-hl {
  color: var(--brand);
}

.guide-instable {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.gins-h {
  font-size: 18px;
  margin: 0;
  padding: 24px 28px 16px;
  letter-spacing: -0.01em;
}

.gins-table {
  border-top: 1px solid var(--line);
}

.gins-thead {
  display: grid;
  grid-template-columns: 160px 1fr;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}

.gins-thead > div {
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-1);
}

.gins-thead > div:last-child {
  border-left: 1px solid var(--line);
}

.gins-trow {
  display: grid;
  grid-template-columns: 160px 1fr;
}

.gins-trow:not(:last-child) {
  border-bottom: 1px solid var(--line);
}

.gins-name {
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink-1);
  display: flex;
  align-items: center;
}

.gins-info {
  padding: 16px 20px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.7;
  border-left: 1px solid var(--line);
  white-space: pre-line;
}

.gins-extra-bd {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.gins-extra-t {
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--ink-1);
}

.gins-extra-b {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.7;
  white-space: pre-line;
}

.gins-h2 {
  font-size: 18px;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.gins-notes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gins-notes li {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.7;
}

.gins-note-dot {
  color: var(--brand);
  font-weight: 800;
  flex-shrink: 0;
}

/* 개인정보·약관 */

.guide-article {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--line);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.gart-t {
  font-size: 16px;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
  color: var(--ink-1);
}

.gart-p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-2);
}

/* 프렌즈렌트카 — 프렌즈 차고지. screen-garage.jsx GarageScreen 미러 */

.garage-main {
  background: #fff;
}

/* 히어로 */

.garage-hero {
  background: var(--ink-1);
  color: #fff;
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}

.garage-hero-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.gh-eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.14em;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.gh-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  display: inline-block;
}

.gh-h1 {
  font-size: clamp(48px, 7.6vw, 112px);
  margin: 0;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.gh-lead {
  font-size: 18px;
  color: rgba(255,255,255,.78);
  margin-top: 28px;
  max-width: 520px;
  line-height: 1.7;
}

.gh-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.gh-stat-n {
  font-size: 28px;
  letter-spacing: -0.02em;
  color: #fff;
}

.gh-stat-l {
  font-size: 12px;
  color: rgba(255,255,255,.55);
  margin-top: 2px;
  font-weight: 600;
}

.gh-plan {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  padding-bottom: 60px;
}

.gh-plan svg {
  width: 100%;
  height: auto;
  display: block;
}

/* KPI 밴드 */

.garage-stats {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.gstats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  padding: 56px 0;
  gap: 40px;
}

.gstats-n {
  font-size: clamp(44px, 5vw, 64px);
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--ink-1);
}

.gstats-u {
  font-size: 18px;
  color: var(--ink-3);
  font-weight: 700;
}

.gstats-l {
  font-size: 14px;
  font-weight: 700;
  margin-top: 8px;
}

.gstats-d {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 2px;
}

/* 대형 사진 */

.garage-photo-sec {
  padding: 100px 0;
  background: #fff;
}

.garage-photo {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 21/9;
  background: #0A0E1A;
}

.garage-photo img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.gp-overlay {
  position: absolute;
  left: 32px;
  bottom: 32px;
  right: 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  color: #fff;
}

.gp-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0.85;
}

.gp-addr {
  font-size: clamp(28px, 4vw, 48px);
  margin-top: 8px;
  letter-spacing: -0.02em;
}

.gp-tel {
  background: rgba(255,255,255,.95);
  color: var(--ink-1);
  padding: 14px 20px;
  border-radius: 14px;
  backdrop-filter: blur(8px);
}

.gp-tel-l {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-3);
}

.gp-tel-v {
  font-size: 18px;
  font-weight: 800;
  margin-top: 2px;
}

/* 구역 투어 */

.garage-tour {
  padding: 100px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
}

.garage-zones {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.garage-zone {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 240px;
  display: flex;
  flex-direction: column;
}

.gz-media {
  height: 220px;
  overflow: hidden;
}

.gz-media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  display: block;
}

.gz-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.gz-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.gz-badge {
  color: #fff;
  font-weight: 800;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.gz-area {
  font-size: 12px;
  font-weight: 800;
  color: var(--ink-3);
  letter-spacing: 0.1em;
}

.gz-t {
  font-size: 24px;
  margin: 0;
  letter-spacing: -0.02em;
}

.gz-d {
  font-size: 14px;
  color: var(--ink-2);
  margin: 10px 0 0;
  line-height: 1.7;
}

/* 운영 사이클 */

.garage-ops {
  padding: 100px 0;
  background: #fff;
}

.garage-process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.garage-step {
  padding: 32px 24px;
}

.garage-step:not(:last-child) {
  border-right: 1px solid var(--line);
}

.gstep-no {
  font-size: 13px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 0.08em;
}

.gstep-t {
  font-size: 22px;
  margin: 12px 0 0;
  letter-spacing: -0.01em;
}

.gstep-d {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.7;
  margin: 10px 0 16px;
}

.gstep-m {
  display: inline-block;
  background: var(--bg-alt);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  color: var(--ink-1);
}

/* 프렌즈렌트카 — 공지·소식. screen-news.jsx 시맨틱 이식 */

.news-main {
  background: var(--bg-alt);
  min-height: 80vh;
}

.news-hero {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 56px 0 0;
}

.news-back {
  display: inline-block;
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 600;
  margin-bottom: 20px;
}

.news-back:hover {
  color: var(--ink-1);
}

.news-hero-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.news-eyebrow {
  font-size: 12px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.news-h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  margin: 0;
  letter-spacing: -0.02em;
}

.news-lead {
  font-size: 14.5px;
  color: var(--ink-3);
  margin: 8px 0 0;
  max-width: 540px;
}

.news-updated {
  font-size: 12px;
  color: var(--ink-3);
}

.news-tabs-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid var(--line-strong);
}

.news-tabs-wrap [data-support-write] {
  background: var(--brand);
  color: #fff;
  border: 0;
  border-radius: 8px;
  height: 36px;
  padding: 0 16px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .15s;
  margin-bottom: 8px;
}

.news-tabs-wrap [data-support-write]:hover {
  opacity: 0.9;
}

.news-tabs {
  display: flex;
  align-items: center;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 6px 0;
  margin-bottom: -6px;
}

.news-tabs::-webkit-scrollbar {
  display: none;
}

.news-tab {
  padding: 18px 24px;
  background: transparent;
  border: 0;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  color: var(--ink-3);
  position: relative;
  letter-spacing: -0.01em;
  font-family: inherit;
  white-space: nowrap;
}

.news-tab.is-active {
  color: var(--ink-1);
}

.news-tab.is-active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: -1px;
  height: 3px;
  background: var(--ink-1);
  border-radius: 2px;
}

.news-content {
  padding: 48px 0 96px;
}

.news-sec-head {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--line-strong);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.news-sec-head h2 {
  font-size: 28px;
  margin: 0;
  letter-spacing: -0.02em;
}

.news-sec-head p {
  font-size: 14px;
  color: var(--ink-3);
  margin: 8px 0 0;
}

.news-sec-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
}

.festival-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.festival-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.festival-thumb {
  position: relative;
  padding: 16px;
  padding-bottom: 0;
}

.festival-thumb .img-fallback {
  aspect-ratio: 16/10;
  border-radius: 14px;
  overflow: hidden;
}

.festival-thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.festival-tag {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 10;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  padding: 3px 9px;
  border-radius: 999px;
}

.festival-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.festival-period {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.02em;
}

.festival-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink-1);
  margin-top: 6px;
  letter-spacing: -0.02em;
}

.festival-place {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 6px;
  font-weight: 600;
}

.festival-desc {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 12px 0 0;
}

.festival-cta {
  margin-top: 32px;
  background: var(--ink-1);
  border-radius: 20px;
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  color: #fff;
}

.festival-cta h3 {
  font-size: 20px;
  margin: 0;
  letter-spacing: -0.02em;
}

.festival-cta p {
  font-size: 13.5px;
  color: rgba(255,255,255,.7);
  margin: 6px 0 0;
}

.festival-cta a {
  background: #fff;
  color: var(--ink-1);
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.notice-board {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.notice-row {
  display: grid;
  grid-template-columns: 88px 1fr auto auto;
  align-items: center;
  gap: 18px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background .15s;
}

.notice-row:last-child {
  border-bottom: 0;
}

.notice-row:hover {
  background: var(--bg-alt);
}

.notice-cat {
  font-size: 11px;
  font-weight: 800;
  border-radius: 999px;
  padding: 2.5px 0;
  text-align: center;
}

.notice-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.notice-pin {
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  background: var(--brand);
  border-radius: 4px;
  padding: 2px 6px;
  flex-shrink: 0;
}

.notice-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-1);
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notice-date, .notice-views {
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 600;
}

.notice-views {
  min-width: 56px;
  text-align: right;
}

.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
}

.news-page-btn {
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}

.news-page-btn:hover:not(:disabled) {
  background: var(--bg-alt);
}

.news-page-btn.is-active {
  background: var(--ink-1);
  border-color: var(--ink-1);
  color: #fff;
}

.news-page-btn:disabled {
  opacity: .35;
  cursor: default;
}

.news-event-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.news-event-card {
  background: #fff;
  border-radius: 20px;
  border: 1.5px solid var(--line);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .25s, border-color .25s;
}

.news-event-card.is-accent {
  background: var(--ink-1);
  border-color: var(--ink-1);
}

.news-event-card.is-dim {
  opacity: .62;
}

.news-event-chip-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.news-event-chip {
  font-size: 11px;
  font-weight: 800;
  padding: 3.5px 10px;
  border-radius: 999px;
}

.news-event-period {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-3);
}

.news-event-card.is-accent .news-event-period {
  color: rgba(255,255,255,.65);
}

.news-event-title {
  font-size: 21px;
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--ink-1);
}

.news-event-card.is-accent .news-event-title {
  color: #fff;
}

.news-event-desc {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  color: var(--ink-2);
  white-space: pre-line;
}

.news-event-card.is-accent .news-event-desc {
  color: rgba(255,255,255,.78);
}

@media (max-width: 1024px) {
  .festival-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .news-hero {
    padding-top: 40px;
  }

  .news-tab {
    padding: 16px;
    font-size: 14px;
  }

  .news-content {
    padding-bottom: 72px;
  }

  .festival-grid, .news-event-grid {
    grid-template-columns: 1fr;
  }

  .notice-row {
    grid-template-columns: 64px 1fr;
    row-gap: 8px;
  }

  .notice-date, .notice-views {
    grid-column: 2;
    text-align: left;
  }
}

/* 관리자 편집 모드 활성화 시에만 글쓰기 버튼 노출 */

body:not(.on-edit) [data-support-write] {
  display: none !important;
}

body.on-edit [data-support-write] {
  display: inline-block !important;
}

/* 어드민 모달 스타일 */

.news-admin-modal[hidden] {
  display: none !important;
}

.news-admin-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}

.news-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 32, 0.45);
  backdrop-filter: blur(4px);
}

.news-modal-window {
  position: relative;
  z-index: 10;
  background: #fff;
  border-radius: 20px;
  width: min(95vw, 820px);
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
}

.ck-editor__editable_inline {
  min-height: 250px;
  max-height: 450px;
}

.news-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.news-modal-head h3 {
  font-size: 18px;
  margin: 0;
  font-weight: 800;
  color: var(--ink-1);
}

.news-modal-close {
  background: transparent;
  border: 0;
  font-size: 24px;
  cursor: pointer;
  color: var(--ink-3);
  line-height: 1;
}

.news-modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
}

.news-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.news-field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
}

.news-field input, .news-field select, .news-field textarea {
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  background: #fff;
  color: var(--ink-1);
}

.news-field input:focus, .news-field select:focus, .news-field textarea:focus {
  border-color: var(--brand);
}

.news-modal-foot {
  display: flex;
  align-items: center;
  margin-top: 12px;
}

.btn-news-submit {
  background: var(--brand);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 12px 24px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .15s;
}

.btn-news-submit:hover {
  opacity: 0.9;
}

.btn-news-cancel {
  background: var(--bg-alt);
  color: var(--ink-2);
  border: 0;
  border-radius: 10px;
  padding: 12px 20px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .15s;
}

.btn-news-cancel:hover {
  opacity: 0.9;
}

.btn-news-del {
  background: oklch(0.6 0.18 20);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 12px 20px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .15s;
}

.btn-news-del:hover {
  opacity: 0.9;
}

/* 탭 관리 EDIT 모드 관련 스타일 */

.news-tab-item {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.news-tab-edit-gear {
  position: absolute;
  top: 8px;
  right: 4px;
  width: 22px;
  height: 22px;
  background: #f1f2f6;
  /* 연한 그레이 */
  color: #57606f;
  /* 먹색 */
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  z-index: 20;
  border: 1px solid #ced6e0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.15s ease, background 0.15s;
  padding: 0;
  line-height: 1;
}

.news-tab-edit-gear:hover {
  background: #e4e7eb;
  transform: scale(1.1) rotate(45deg);
}

.news-tab-add-btn {
  width: 28px;
  height: 28px;
  background: #f1f2f6;
  /* 연한 그레이 */
  color: #57606f;
  /* 먹색 */
  border: 1px solid #ced6e0;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background 0.15s, border-color 0.15s;
  margin-left: 12px;
  align-self: center;
  padding: 0;
  line-height: 0;
}

.news-tab-add-btn:hover {
  background: #e4e7eb;
  border-color: #a4b0be;
}

/* 어드민 모드에서 탭 제어 노출 */

body.on-edit .news-tab-edit-gear {
  display: inline-flex !important;
}

body.on-edit .news-tab-add-btn {
  display: inline-flex !important;
}

/* 업로드 영역 디자인 */

.upload-zone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed #ced6e0;
  border-radius: 12px;
  background: var(--bg-alt);
  min-height: 140px;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s, background-color 0.2s;
  padding: 20px;
}

.upload-zone:hover {
  border-color: var(--brand);
  background: rgba(11, 92, 255, 0.04);
}

.upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--ink-3);
  pointer-events: none;
}

.upload-icon {
  font-size: 28px;
}

.upload-text {
  font-size: 13px;
  font-weight: 700;
}

.upload-preview {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  z-index: 2;
  pointer-events: none;
}

.upload-preview img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.upload-preview:empty {
  display: none;
}

/* 사용자 전용 상세 보기 모달 스타일 */

.news-detail-modal[hidden] {
  display: none !important;
}

.news-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}

/* 프렌즈렌트카 — 반응형 3단 티어. 항상 cascade 맨 뒤
   · 데스크톱  ≥ 1025px
   · 태블릿    641–1024px  (중간 디자인: 검색바 2행 등)
   · 모바일    ≤ 640px     (폰 전용 크롬)
   · 소형폰    ≤ 420px */

/* ═══════════ ≤ 1024px (태블릿+폰 공통 — 뼈대/레이아웃 1단화) ═══════════ */

@media (max-width: 1024px) {
  /* 헤더 — GNB 숨기고 모바일 콜버튼 노출 */

  .hide-on-mobile {
    display: none !important;
  }

  .mobile-call-btn {
    display: inline-flex !important;
  }

  /* 2열 레이아웃 → 1열 */

  .home-garage .home-garage-split {
    grid-template-columns: 1fr !important;
    gap: 40px;
  }

  .garage-hero-split {
    grid-template-columns: 1fr !important;
    gap: 40px;
  }

  .gh-plan {
    padding-bottom: 0;
  }

  .list-layout {
    grid-template-columns: 1fr !important;
  }

  .list-sidebar {
    position: static !important;
    top: auto !important;
  }

  .detail-grid {
    grid-template-columns: 1fr !important;
  }

  .detail-aside {
    position: static !important;
    top: auto !important;
  }

  .booking-layout {
    grid-template-columns: 1fr !important;
  }

  .booking-side-column {
    grid-column: auto !important;
    position: static !important;
    top: auto !important;
  }

  .booking-summary {
    position: static !important;
    top: auto !important;
    order: -1;
    margin-bottom: 16px;
  }

  .lkd-body {
    grid-template-columns: 1fr !important;
  }

  .lkd-hero {
    grid-template-columns: 1fr !important;
  }

  .lookup-container {
    grid-template-columns: 1fr !important;
    grid-template-areas: "head" "notice" "form" "side" !important;
  }

  /* 그리드 축소 */

  .insurance-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .guide-tiers {
    grid-template-columns: 1fr 1fr !important;
  }

  .garage-zone {
    grid-column: span 12 !important;
  }

  .garage-process {
    grid-template-columns: 1fr !important;
  }

  .garage-step:not(:last-child) {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line);
  }
}

/* ═══════════ ≤ 640px (폰) — 전용 크롬/레이아웃 ═══════════ */

@media (max-width: 640px) {
  /* 헤더 컴팩트 */

  .site-header .header-inner {
    height: 56px;
    gap: 0;
  }

  .header-left {
    gap: 0;
  }

  .header-right {
    gap: 8px;
  }

  .btn-lookup {
    padding: 6px 10px;
    font-size: 12px;
  }

  /* 섹션 패딩 축소 */

  .home-kpi, .home-cars, .home-promos, .home-garage, .home-reviews {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .garage-stats .gstats-grid, .garage-tour, .garage-ops, .garage-photo-sec {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .garage-photo-sec {
    padding-top: 0;
  }

  /* 히어로 컴팩트 */

  .home-hero, .hero-inner {
    min-height: 560px;
  }

  .hero-inner {
    padding-top: 36px;
    padding-bottom: 18px;
  }

  .hero-title {
    font-size: clamp(30px, 8vw, 44px);
    line-height: .98;
  }

  .hero-sub {
    font-size: 14px;
    margin-top: 12px;
    max-width: 310px;
  }

  .hero-pager {
    margin-top: 24px;
  }

  .hero-bottom {
    margin-top: 28px;
  }

  .hero-arrow {
    display: none;
  }

  .trust-strip .trust-item:nth-child(n+3) {
    display: none;
  }

  /* 모바일 — 하단 탭바 노출 + 홈 검색 strip(홈 전용) 노출 */

  .mobile-tabbar {
    display: block !important;
  }

  .mobile-search-strip {
    display: block !important;
  }

  body {
    padding-bottom: calc(60px + env(safe-area-inset-bottom, 0));
    overflow-x: hidden;
  }

  /* 목록 모바일 — 트러스트바·헤더 숨기고 슬림 헤더로 대체 (원본 [data-route=list]) */

  body.route-search .trust-strip-bar,
  body.route-search .site-header {
    display: none !important;
  }

  .list-mobile-header {
    display: flex !important;
  }

  /* 목록 검색바·사이드바 숨기고 필터 버튼/시트 + 일정변경 FAB 로 대체 */

  .list-desktop-search {
    display: none !important;
  }

  .desktop-search {
    display: none !important;
  }

  .list-sidebar {
    display: none !important;
  }

  .list-layout {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .list-filter-btn {
    display: inline-flex !important;
  }

  .list-search-btn {
    display: inline-flex !important;
  }

  /* 홈 그리드 */

  .trust-kpi-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px 20px;
  }

  .kpi-num {
    font-size: clamp(34px, 9vw, 44px) !important;
  }

  .cars-grid {
    grid-template-columns: 1fr !important;
  }

  .event-head {
    align-items: flex-end !important;
  }

  .event-head-main {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .event-grid {
    grid-template-columns: 1fr !important;
  }

  .reviews-grid {
    grid-template-columns: 1fr !important;
  }

  .home-garage .home-garage-stats {
    gap: 24px;
  }

  .sec-h, .home-garage-h {
    font-size: clamp(26px, 7vw, 36px);
  }

  /* 목록 — 타이틀/정렬 컴팩트 (원본 [data-route=list] @media) */

  .list-container {
    padding-top: 16px !important;
    padding-bottom: 80px !important;
  }

  .list-title-row {
    margin-bottom: 16px !important;
    align-items: center !important;
    row-gap: 18px !important;
  }

  .lt-head h1 {
    font-size: 24px !important;
  }

  .lt-sub {
    font-size: 12px !important;
    margin-top: 2px !important;
  }

  .list-title-row .lt-head {
    flex: 1 1 auto;
    min-width: 0;
  }

  /* 타이틀 좌측 / FAB 우측 */

  .list-sort-row {
    gap: 6px !important;
    flex-wrap: wrap !important;
    width: 100%;
  }

  .list-sort-row .sort-btn {
    padding: 6px 10px !important;
    font-size: 11.5px !important;
  }
}

/* ═══════════ 차량 결과 카드 — 컴팩트(태블릿+폰 공용, ≤1024) ═══════════ */

@media (max-width: 1024px) {
  /* 차량 카드 — 가로 콤팩트 카드 */

  .car-row {
    grid-template-columns: 128px 1fr !important;
    grid-template-rows: auto !important;
    grid-template-areas: 
      "banner banner"
      "thumb body"
      "price price"
      "toggle toggle" !important;
    overflow: hidden !important;
  }

  .cr-feature-banner {
    grid-area: banner !important;
    display: none !important;
  }

  .car-row[data-featured] .cr-feature-banner {
    display: flex !important;
  }

  .cr-thumb {
    grid-area: thumb !important;
    padding: 12px 0 12px 12px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
  }

  .cr-img {
    aspect-ratio: 4/3 !important;
    width: 100% !important;
    border-radius: 10px !important;
  }

  .cr-body {
    grid-area: body !important;
    padding: 12px 14px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 0 !important;
    align-items: stretch !important;
  }

  /* 별점 + 완전자차 뱃지 숨김 */

  .cr-meta {
    display: none !important;
  }

  /* 일반 편의사항 뱃지 숨김 */

  .cr-perks {
    display: none !important;
  }

  /* 차량 명칭 + 스펙 콤팩트화 */

  .cr-name {
    font-size: 16px !important;
  }

  .cr-spec {
    font-size: 11px !important;
    margin-top: 2px !important;
  }

  .cr-tags span {
    font-size: 10px !important;
    padding: 1px 6px !important;
  }

  /* 가격/CTA 영역 (2행 전체 너비로 차지) */

  .cr-price {
    grid-area: price !important;
    background: #fff !important;
    padding: 14px 16px !important;
    border-top: 1px solid var(--line) !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-areas:
      "label   oldprice"
      "perks   price" !important;
    -moz-column-gap: 12px !important;
         column-gap: 12px !important;
    row-gap: 8px !important;
    align-items: center !important;
    flex-direction: unset !important;
    /* display: flex 무력화 */
  }

  /* 자차 뱃지 & 하루 가격 숨김 */

  .cr-self,
  .cr-total {
    display: none !important;
  }

  /* 총 결제 라벨 상단 좌측 */

  .cr-pay-head {
    grid-area: label !important;
    justify-self: start !important;
    align-self: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    margin-top: 0 !important;
  }

  .cr-pay-label {
    font-size: 13px !important;
  }

  .cr-pay-hours {
    font-size: 11px !important;
    margin-top: 1px !important;
  }

  /* 모바일 전용 Perks 상단 우측 -> 하단 좌측으로 변경 */

  .cr-perks-mobile {
    grid-area: perks !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    justify-self: start !important;
    align-self: center !important;
  }

  .cr-perk-m {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 3px 8px !important;
    background: var(--bg-alt) !important;
    border-radius: 999px !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    color: var(--ink-2) !important;
    white-space: nowrap !important;
  }

  .cr-perk-m svg {
    width: 11px !important;
    height: 11px !important;
    flex-shrink: 0 !important;
  }

  /* 기존 가격 취소선 우측 상단 */

  .cr-list {
    grid-area: oldprice !important;
    justify-self: end !important;
    align-self: center !important;
    font-size: 11px !important;
  }

  /* 현재 할인된 가격 좌측 하단 -> 우측 하단으로 변경 */

  .cr-now {
    grid-area: price !important;
    justify-self: end !important;
    align-self: center !important;
    font-size: 28px !important;
    gap: 4px !important;
    margin-top: 0 !important;
  }

  .cr-disc {
    font-size: 15px !important;
    font-weight: 800;
    color: var(--accent-warm) !important;
  }

  .cr-now .cr-unit {
    font-size: 12px !important;
    color: var(--ink-3) !important;
    font-weight: 700;
  }

  .cr-book-btn {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    margin-top: 2px !important;
    min-width: 0 !important;
  }

  /* 자차 선택 토글 영역 */

  .cr-bar-wrap {
    grid-area: toggle !important;
  }

  .cr-ins-toggle {
    padding: 12px 14px !important;
  }

  .cr-ins-toggle-main {
    flex-wrap: wrap !important;
    align-items: center !important;
  }

  .cr-ins-toggle-copy {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
  }

  .cr-ins-grid {
    grid-template-columns: 1fr !important;
    padding: 14px !important;
  }

  .cr-ins-card-title {
    min-height: 0 !important;
  }

  .search-ins-modal-card {
    padding: 18px !important;
    border-radius: 18px !important;
  }
}

/* ═══════════ ≤ 640px (폰) — 라우트별 전용 UX 이어서 ═══════════ */

@media (max-width: 640px) {
  /* ───────── 상세 — 트러스트바·헤더 숨기고 슬림 헤더 + 하단 고정 바 (원본 [data-route=detail]) ───────── */

  body.route-detail .trust-strip-bar,
  body.route-detail .site-header {
    display: none !important;
  }

  .detail-mobile-header {
    display: flex !important;
  }

  .detail-back-desktop {
    display: none !important;
  }

  .detail-hero-info {
    display: none !important;
  }

  /* 차량명은 슬림 헤더에 표시 */

  .detail-container-wrap {
    padding-top: 0 !important;
  }

  .detail-main {
    padding-bottom: 0 !important;
  }

  .detail-grid {
    grid-template-columns: 1fr !important;
  }

  /* 카드 상단 flush */

  .detail-card-compact {
    border-radius: 0 0 20px 20px !important;
    border-top: 0 !important;
    padding: 20px !important;
  }

  .detail-sec {
    padding: 20px;
  }

  .detail-options-grid {
    gap: 6px;
  }

  .detail-car-image-wrap {
    height: 136px !important;
    min-height: 0 !important;
    padding: 12px !important;
    border-radius: 12px !important;
  }

  .detail-car-image-wrap img {
    max-height: 100% !important;
    width: auto !important;
    -o-object-fit: contain !important;
       object-fit: contain !important;
    margin: 0 auto !important;
  }

  .detail-stats-grid-cell {
    padding: 8px 12px !important;
  }

  .detail-stats-grid-cell strong {
    font-size: 14px !important;
  }

  .detail-options-grid-pill .dc-opt {
    padding: 4px 10px !important;
    font-size: 11.5px !important;
  }

  .insurance-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  .ins-body {
    padding: 14px 10px 12px !important;
  }

  .ins-l {
    font-size: 14px !important;
    margin-top: 16px !important;
    margin-bottom: 4px !important;
  }

  .ins-age {
    font-size: 9.5px !important;
    margin-bottom: 10px !important;
    line-height: 1.3 !important;
  }

  .ins-rows {
    gap: 5px !important;
  }

  .ins-rows li {
    font-size: 10.5px !important;
  }

  .ins-price {
    padding: 10px 12px !important;
    font-size: 13.5px !important;
  }

  .ins-price-u {
    font-size: 9.5px !important;
  }

  .ins-badge {
    top: 6px !important;
    right: 6px !important;
    padding: 2px 6px !important;
    font-size: 9px !important;
  }

  .ins-check {
    top: 6px !important;
    left: 6px !important;
    width: 15px !important;
    height: 15px !important;
  }

  .ins-check svg {
    width: 9px !important;
    height: 9px !important;
  }

  .ins-info-head, .ins-info-row {
    grid-template-columns: 110px 1fr;
  }

  /* 가격 카드(aside) → 화면 하단 고정 바. 내부는 .detail-mobile-bar 만 노출 */

  .detail-aside {
    position: fixed !important;
    left: 0;
    right: 0;
    top: auto !important;
    bottom: calc(60px + env(safe-area-inset-bottom, 0)) !important;
    z-index: 50;
    max-width: none !important;
    padding: 0 !important;
    border: 0 !important;
    border-top: 1px solid var(--line) !important;
    border-radius: 18px 18px 0 0 !important;
    overflow: visible !important;
    box-shadow: 0 -8px 30px -10px rgba(10,14,26,.18) !important;
    background: #fff !important;
  }

  .detail-aside > *:not(.detail-mobile-bar) {
    display: none !important;
  }

  .detail-mobile-bar {
    display: flex !important;
  }

  /* 하단 바에 가리지 않도록 본문 끝 여백 */

  .detail-stack {
    padding-bottom: 84px;
  }

  /* ───────── 예약 — 트러스트바·헤더 숨김(원본 [data-route=booking]). 요약카드 상단 인라인 ───────── */

  body.route-booking .trust-strip-bar,
  body.route-booking .site-header {
    display: none !important;
  }

  .booking-container {
    padding-top: 16px !important;
  }

  .booking-layout {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .booking-side-column {
    display: contents !important;
  }

  .booking-layout:has(.booking-terms-card:not([hidden])) {
    padding-bottom: 240px !important;
  }

  .booking-layout:has(.booking-summary.is-mobile-preview) {
    padding-bottom: 152px !important;
  }

  .booking-summary {
    display: none !important;
    position: static !important;
    top: auto !important;
    order: -1 !important;
    margin-bottom: 14px !important;
  }

  .booking-summary.is-static {
    display: block !important;
  }

  .booking-summary.is-mobile-preview {
    display: block !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 95 !important;
    border: 0 !important;
    border-top: 1px solid var(--line) !important;
    border-radius: 18px 18px 0 0 !important;
    margin: 0 !important;
    background: #fff !important;
    box-shadow: 0 -8px 24px -10px rgba(10,14,26,0.12) !important;
    overflow: hidden !important;
  }

  .booking-summary.is-mobile-preview .bsum-car {
    margin: 0 !important;
    padding: 12px 20px 8px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
  }

  .booking-summary.is-mobile-preview .bsum-car.is-collapsible {
    position: relative !important;
    cursor: pointer !important;
    padding-right: 44px !important;
  }

  .booking-summary.is-mobile-preview .bsum-car.is-collapsible::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--ink-3);
    border-bottom: 2px solid var(--ink-3);
    transform: translateY(-65%) rotate(45deg);
    transition: transform .18s ease;
  }

  .booking-summary.is-mobile-preview.is-collapsed .bsum-car.is-collapsible::after {
    transform: translateY(-35%) rotate(-135deg);
  }

  .booking-summary.is-mobile-preview .bsum-thumb {
    width: 56px !important;
  }

  .booking-summary.is-mobile-preview .bsum-meta {
    font-size: 10.5px !important;
  }

  .booking-summary.is-mobile-preview .bsum-name {
    font-size: 14px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .booking-summary.is-mobile-preview .bsum-body {
    padding: 8px 20px calc(12px + env(safe-area-inset-bottom, 0)) !important;
  }

  .booking-summary.is-mobile-preview .bsum-h,
  .booking-summary.is-mobile-preview .bsum-rows,
  .booking-summary.is-mobile-preview .bsum-row:nth-child(2),
  .booking-summary.is-mobile-preview .bsum-cover,
  .booking-summary.is-mobile-preview .bsum-row:nth-child(3),
  .booking-summary.is-mobile-preview .bsum-addon-section,
  .booking-summary.is-mobile-preview .bsum-total {
    display: none !important;
  }

  .booking-summary.is-mobile-preview .bsum-sched {
    font-size: 12.5px !important;
  }

  .booking-summary.is-mobile-preview .bsum-days {
    font-size: 11px !important;
  }

  .booking-summary.is-mobile-preview.is-collapsed .bsum-body {
    display: none !important;
  }

  .booking-terms-card {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 100 !important;
    background: #fff !important;
    border: 0 !important;
    border-top: 1px solid var(--line) !important;
    border-radius: 0 !important;
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0)) !important;
    box-shadow: 0 -8px 24px -10px rgba(10,14,26,0.12) !important;
    margin-top: 0 !important;
  }

  .booking-terms-card .booking-terms-h {
    display: none !important;
  }

  .booking-terms-card .bk-agree {
    padding: 8px 0 !important;
    border-bottom: 1px solid var(--line) !important;
    margin-bottom: 4px !important;
  }

  .booking-terms-card .bk-term {
    padding: 8px 0 !important;
    border-bottom: 0 !important;
  }

  .booking-terms-card .bk-next-terms {
    margin-top: 10px !important;
    height: 48px !important;
    border-radius: 12px !important;
  }

  .booking-card {
    padding: 24px;
  }

  .booking-form-grid {
    grid-template-columns: 1fr !important;
  }

  .booking-pay-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .bk-addon-launch,
  .bk-valet-toggle {
    align-items: flex-start;
  }

  .bk-addon-cta,
  .bk-valet-price {
    margin-top: 2px;
  }

  .addon-modal-card {
    width: calc(100% - 16px) !important;
    max-height: calc(100vh - 24px) !important;
    margin: 12px auto !important;
    border-radius: 18px !important;
  }

  .addon-tabs {
    gap: 16px !important;
    overflow-x: auto;
  }

  .addon-modal-head {
    padding: 20px 20px 0 !important;
  }

  .addon-tabs {
    padding: 18px 20px 0 !important;
  }

  .addon-subtypes {
    padding: 12px 20px 4px !important;
  }

  .addon-modal-notice,
  .addon-type-guide,
  .addon-exclusive-warning {
    margin-left: 20px !important;
    margin-right: 20px !important;
  }

  .addon-list-divider {
    margin: 20px 20px 16px !important;
  }

  .addon-list {
    padding: 0 20px 20px !important;
  }

  .addon-item {
    gap: 12px !important;
    padding: 14px 12px !important;
  }

  .addon-thumb {
    width: 92px !important;
    height: 92px !important;
  }

  .addon-row-top {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }

  .addon-brand {
    max-width: none !important;
    text-align: left !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }

  .addon-name {
    font-size: 17px !important;
    line-height: 1.3 !important;
  }

  .addon-spec {
    font-size: 12px !important;
    line-height: 1.45 !important;
  }

  .addon-row-bottom {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: end !important;
    gap: 10px !important;
    margin-top: 12px !important;
  }

  .addon-meta-bottom {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
  }

  .addon-total {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
    line-height: 1.15 !important;
  }

  .addon-total .num {
    display: block !important;
  }

  .addon-stock {
    min-width: 0 !important;
    width: -moz-fit-content !important;
    width: fit-content !important;
  }

  .addon-stepper {
    justify-self: end !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
  }

  .addon-step-btn {
    width: 34px !important;
    height: 34px !important;
  }

  .addon-step-num {
    min-width: 16px !important;
    font-size: 14px !important;
  }

  .addon-foot {
    padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0)) !important;
  }

  .bs-step {
    padding: 12px 6px;
    font-size: 11.5px;
    gap: 4px;
  }

  .bs-no {
    width: 18px;
    height: 18px;
    font-size: 10px;
  }

  .booking-complete {
    padding: 24px 16px 80px !important;
  }

  .bc-head {
    padding: 22px 20px 0 !important;
    flex-direction: column !important;
  }

  .bc-head-side {
    width: 100%;
    justify-content: space-between;
  }

  .bc-h {
    font-size: clamp(28px, 8vw, 40px);
    white-space: normal;
  }

  .bc-body {
    padding: 18px 20px 24px !important;
  }

  .bc-booker-box {
    padding: 12px 10px !important;
  }

  .bc-booker-v {
    font-size: 13.5px !important;
    white-space: nowrap !important;
  }

  .bc-pay-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .bc-pay-side {
    text-align: left;
  }

  .bc-actions-grid {
    grid-template-columns: 1fr !important;
  }

  .dm-head-top {
    flex-direction: column;
    gap: 10px !important;
  }

  .dm-booker-side {
    text-align: left !important;
    margin-right: 0 !important;
  }

  .dm-route {
    grid-template-columns: 1fr !important;
  }

  .dm-route-mid {
    flex-direction: row;
    justify-content: flex-start;
  }

  .dm-info-row {
    flex-direction: column;
    gap: 4px !important;
  }

  .dm-info-row span {
    width: auto !important;
  }

  .dm-info-row strong {
    text-align: left !important;
  }

  .dm-break-row,
  .dm-break-total {
    align-items: flex-start !important;
  }

  .dm-actions {
    grid-template-columns: 1fr !important;
  }

  /* 가이드 */

  .guide-hero {
    padding-top: 40px;
  }

  .guide-tabs {
    gap: 0;
  }

  .guide-tab {
    padding: 16px;
    font-size: 13px;
  }

  .guide-tiers {
    grid-template-columns: 1fr !important;
  }

  .guide-steps {
    grid-template-columns: 1fr 1fr !important;
  }

  .guide-row, .gins-thead, .gins-trow {
    grid-template-columns: 110px 1fr;
  }

  .guide-article {
    padding: 24px;
  }

  /* 차고지 */

  .gh-h1 {
    font-size: clamp(44px, 13vw, 72px);
  }

  .garage-photo .gp-overlay {
    left: 16px;
    right: 16px;
    bottom: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* lookup — 조회 폼: 상단 여백 축소 */

  .lookup-container {
    padding-top: 28px !important;
    padding-bottom: 56px !important;
  }

  .lookup-head {
    margin-bottom: 18px !important;
  }

  .lookup-side {
    margin-top: 4px;
  }

  /* lookup — 예약 상세 */

  .detail-top {
    padding-top: 20px !important;
  }

  .lkd-hero {
    padding: 24px;
    text-align: left;
  }

  /* 히어로 차량 사진이 화면을 잡아먹지 않도록 컴팩트하게 */

  .lkd-hero-right {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
    margin-top: 4px;
  }

  .lkd-hero-right .lkd-car {
    width: 120px;
    flex-shrink: 0;
    aspect-ratio: 4/3;
    margin: 0;
  }

  .lkd-car-name {
    margin-top: 0 !important;
  }

  .lkd-actions .lkd-btn {
    flex: 1 1 auto;
    min-width: 0;
  }

  .lkd-body {
    padding-top: 16px !important;
    padding-bottom: 24px !important;
  }

  .lkd-card {
    padding: 20px !important;
  }

  .lkd-sched {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .lkd-sb-arrow {
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
  }

  /* 푸터 2열 */

  .footer-nav {
    grid-template-columns: 1fr 1fr !important;
    gap: 28px 16px;
  }

  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-legal .legal-aside {
    align-items: flex-start;
  }

  .footer-legal .legal-aside p {
    text-align: left;
  }

  .footer-legal .legal-admin-row {
    justify-content: flex-start;
  }

  .friends-admin-toolbar {
    align-items: stretch;
  }

  .friends-admin-toolbar-actions {
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
  }

  .friends-admin-status {
    text-align: left;
  }

  .friends-admin-manage-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .friends-admin-list-item {
    grid-template-columns: 28px 76px minmax(0, 1fr);
    grid-template-areas:
      "drag thumb actions"
      "drag copy copy";
    align-items: center;
  }

  .friends-admin-drag {
    grid-area: drag;
  }

  .friends-admin-thumb {
    grid-area: thumb;
    width: 76px;
    height: 60px;
  }

  .friends-admin-copy {
    grid-area: copy;
  }

  .friends-admin-actions {
    grid-area: actions;
    justify-self: end;
  }
}

@media (max-width: 420px) {
  .addon-modal-card {
    width: calc(100% - 12px) !important;
    max-height: calc(100dvh - 12px) !important;
    margin: 6px auto !important;
  }

  .addon-item {
    grid-template-columns: 84px minmax(0, 1fr) !important;
  }

  .addon-thumb {
    width: 84px !important;
    height: 84px !important;
  }

  .addon-name {
    font-size: 16px !important;
  }

  .addon-step-btn {
    width: 32px !important;
    height: 32px !important;
  }

  .addon-foot {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  .addon-confirm {
    width: 100% !important;
  }
}

/* ═══════════ 641–1024px (태블릿 — 중간 디자인) ═══════════ */

@media (min-width: 641px) and (max-width: 1024px) {
  /* ── 검색 영역(홈 히어로): 배치가 근본적으로 바뀌는 컴포넌트는
     태블릿에서도 모바일 검색 UI를 그대로 재사용 (폭만 컴팩트하게 제약) ── */

  .desktop-search {
    display: none !important;
  }

  .mobile-search-strip {
    display: block !important;
  }

  /* ── 목록 검색 영역도 동일 원칙: 태블릿에서 모바일 UI(슬림 헤더 + 필터 시트) 사용 ── */

  body.route-search .trust-strip-bar,
  body.route-search .site-header {
    display: none !important;
  }

  .list-mobile-header {
    display: flex !important;
  }

  .list-desktop-search {
    display: none !important;
  }

  .list-sidebar {
    display: none !important;
  }

  .list-filter-btn,
  .list-search-btn {
    display: inline-flex !important;
  }

  /* 모바일처럼 컨텐츠를 가운데 좁은 컬럼으로 모아 좌우 여백 확보(컬럼 안은 꽉 채움) */

  body.route-search .list-container {
    max-width: 680px;
  }

  /* 슬림 헤더 배경은 풀폭 유지하되, 안쪽 항목을 컨텐츠 컬럼에 맞춰 정렬 */

  body.route-search .list-mobile-header {
    padding-left: max(16px, calc((100% - 680px) / 2));
    padding-right: max(16px, calc((100% - 680px) / 2));
  }

  /* ── 결과 카드: 컴팩트 카드 유지하되 썸네일을 키워 태블릿 균형 ── */

  .car-row {
    grid-template-columns: 176px 1fr !important;
  }

  /* ── 홈 라인업/이벤트/리뷰: 태블릿 2열 ── */

  .cars-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .event-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .reviews-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}
