/* MOA 앱 공통 스타일 - 모바일 중심
   2026-11-26 색상 기준 (소비자·판매자·관리자 공통): 검정 뚜껑 + 병 아래쪽 샴페인 크림
     넓은 화면 배경 = 밝은 샴페인 크림 · 카테고리 버튼 = 검정 바탕 + 밝은 글씨 · 주요 기능 버튼·광고 배너 = 샴페인 골드 + 검정 글씨
     (기존 변수 이름 --blue-* 는 그대로 두고 값만 바꿈: 50·100 = 옅은 샴페인 · 500·600 = 샴페인 골드(바탕용) · 700 = 짙은 갈색 검정(글자용)) */
:root {
  --blue-50: #F8F0DE;
  --blue-100: #EBDCB8;
  --blue-500: #CDAE72;
  --blue-600: #DCC394;
  --blue-700: #4A3A20;
  --gold: #DCC394;          /* 병 아래쪽 샴페인 골드 — 주요 버튼 · 광고 배너 */
  --gold-strong: #CDB07A;   /* 눌렀을 때 · 테두리 */
  --cream-bg: #F3E9D3;      /* 넓은 화면 배경 (밝은 샴페인 크림) */
  --cream: #FBF7EE;         /* 앱 바탕 */
  --black: #17140F;         /* 검정 뚜껑 — 카테고리 버튼 바탕 · 골드 위 글자 */
  --on-black: #F6EEDC;      /* 검정 위 밝은 글씨 */
  --ink-900: #17140F;
  --ink-700: #3D3729;
  --ink-500: #6E6656;
  --ink-400: #A1977F;
  --line: #E7DCC5;
  --surface: #F7F0E1;
  --white: #FFFFFF;
  --red-50: #FEF2F2;
  --red-600: #DC2626;
  --amber-50: #FFFBEB;
  --amber-700: #B45309;
  --green-50: #ECFDF5;
  --green-700: #047857;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(23, 20, 15, .04), 0 8px 24px rgba(120, 92, 40, .08);
  --tap: 54px;
}

* { box-sizing: border-box; }
/* hidden 속성은 항상 숨김 (display 를 지정한 목록·줄에서도 - 예: PC의 후기 전체 목록) */
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  color: var(--ink-900);
  background: var(--cream-bg);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
button, input, select, textarea { font: inherit; color: inherit; }

/* 휴대폰 폭으로 고정된 앱 영역 (PC에서도 휴대폰처럼 보이게) */
.app {
  max-width: 480px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--cream);
  display: flex;
  flex-direction: column;
}
@media (min-width: 520px) {
  .app { box-shadow: 0 0 0 1px var(--line), 0 20px 60px rgba(17, 24, 39, .08); }
}

.screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 20px calc(28px + env(safe-area-inset-bottom));
  animation: fade .2s ease-out;
}
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* 상단 바 */
.topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  margin: -8px -8px 12px;
}
.topbar h1 { font-size: 18px; font-weight: 700; margin: 0; flex: 1; }
.icon-btn {
  width: 44px; height: 44px;
  border: 0; border-radius: 12px;
  background: transparent;
  display: inline-grid; place-items: center;
  cursor: pointer; font-size: 22px; color: var(--ink-700);
}
.icon-btn:hover { background: var(--surface); }

.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; } /* 2026-11-26 골드 개미 MOA 로고 (원본 사진 그대로 축소) */
.brand span { font-weight: 800; font-size: 20px; letter-spacing: .5px; color: var(--black); }
.brand-btn { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }
/* QR 이미지 (매장 QR) */
.qr-img { display: flex; justify-content: center; margin: 8px 0; }
.qr-img svg { max-width: 260px; width: 100%; height: auto; background: #fff; }
/* 매장 QR · 이용 승인 (판매자 PC) · 현장 추가 내역 */
.store-qr-card { text-align: center; }
.store-qr-img svg { max-width: 300px; }
.store-qr-card.qr-big .store-qr-img svg { max-width: min(560px, 90vw); }
.store-qr-card.qr-big .order-title { font-size: 28px; }
.store-qr-guide { font-size: 14px; color: var(--ink-700); margin: 4px 0; }
.store-qr-url { font-size: 11px; color: var(--ink-400); word-break: break-all; margin: 4px 0 0; }
.visit-scan-btn { width: 100%; margin-bottom: 12px; }
.visit-pick { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.addon-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0; }
.addon-table th, .addon-table td { padding: 6px 4px; border-bottom: 1px solid var(--line); text-align: left; }
.addon-table .num { text-align: right; white-space: nowrap; }
.addon-table tfoot td { border-bottom: 0; padding-top: 8px; }
.addon-list { margin: 6px 0; padding-left: 18px; font-size: 14px; }
.addon-rows { display: grid; gap: 8px; }
/* 현장 추가 메뉴·시술 입력: 항목 카드마다 제목 붙은 입력칸 (상품 선택 · 항목명 = 한 줄 전체 / 단가 · 수량 · 단위 = 한 줄) → 좁은 화면에서도 글자 잘림 없음 */
.addon-item { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: var(--white); }
.addon-item-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.addon-row-title { font-size: 14px; white-space: nowrap; }
.addon-item-head .addon-del { flex: 0 0 auto; width: auto; min-height: 32px; padding: 4px 12px; }
.addon-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 0.8fr); gap: 10px; }
.addon-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.addon-field.f-product, .addon-field.f-name { grid-column: 1 / -1; }
.addon-label { font-size: 13px; font-weight: 700; color: var(--ink-700); }
.addon-field .input, .addon-field .select { width: 100%; min-width: 0; min-height: 44px; font-size: 15px; box-sizing: border-box; }
.addon-input-wrap { position: relative; display: block; }
.addon-input-wrap .input { padding-right: 30px; }
.addon-suffix { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 14px; color: var(--ink-500); pointer-events: none; }
.addon-line { margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 14px; }
.addon-line-total { font-size: 16px; white-space: nowrap; }
.addon-line-calc { margin-left: 4px; }
.addon-row-warn { margin: 6px 0 0; }
.addon-total { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: var(--surface); font-weight: 700; }
.addon-total-value { font-size: 20px; color: var(--blue-700); }
@media (max-width: 420px) { .addon-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .addon-field.f-price { grid-column: 1 / -1; } }
.addon-ref { font-size: 13px; }
.live-status { margin: 8px 0 0; font-size: 12px; }
/* 예약형 방문 일정: 결제 완료 = 예약 확정 / 결제 전 = 방문 일정 선택(미확정) */
.rsv-tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; vertical-align: middle; }
.rsv-tag.confirmed { background: #e7f6ec; color: #17803d; }
.rsv-tag.selected { background: #fff4e0; color: #9a5b00; }
.rsv-tag.canceled { background: var(--surface); color: var(--ink-500); }
@media print {
  /* 인쇄: 매장 QR 카드만 크게 */
  body * { visibility: hidden !important; }
  .print-area, .print-area * { visibility: visible !important; }
  .print-area { position: absolute; left: 0; top: 0; width: 100%; box-shadow: none; border: 0; }
  .print-area .store-qr-img svg { max-width: 14cm; }
}
.qr-video { width: 100%; max-width: 420px; border-radius: 12px; background: #000; margin-top: 12px; }
/* 판매자 카메라 QR 스캔: 영상 + 가운데 조준 칸 */
.qr-cam { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.qr-cam[hidden] { display: none; }
.qr-frame { position: relative; width: 100%; max-width: 420px; overflow: hidden; border-radius: 12px; }
.qr-frame .qr-video { display: block; margin-top: 0; aspect-ratio: 3 / 4; object-fit: cover; }
.qr-aim { position: absolute; inset: 18%; border: 3px solid rgba(255, 255, 255, .9); border-radius: 16px; box-shadow: 0 0 0 9999px rgba(0, 0, 0, .25); pointer-events: none; }

/* 시작 화면 */
.welcome { justify-content: space-between; }
.welcome-hero {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 18px; padding: 40px 0 24px;
}
.welcome-hero img { width: 104px; height: 104px; border-radius: 24px; filter: drop-shadow(0 12px 24px rgba(120, 92, 40, .28)); }
.welcome-hero .wordmark { font-size: 40px; font-weight: 800; letter-spacing: 3px; color: var(--black); margin: 0; }
.welcome-hero .slogan { font-size: 18px; font-weight: 500; color: var(--ink-700); margin: 0; }
.tier-preview { display: flex; gap: 8px; margin-top: 10px; }
.tier-preview span {
  padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700;
  background: var(--blue-50); color: var(--blue-700);
}
.tier-preview span:nth-child(2) { background: var(--blue-100); }
.tier-preview span:nth-child(3) { background: var(--gold); color: var(--black); }

/* 버튼 */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: var(--tap);
  padding: 0 20px;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  font-size: 16px; font-weight: 700;
  cursor: pointer; text-decoration: none;
  transition: background .15s, transform .05s, box-shadow .15s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.985); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--gold); color: var(--black); box-shadow: 0 6px 16px rgba(120, 92, 40, .22); }
.btn-primary:hover:not(:disabled) { background: var(--gold-strong); }
.btn-outline { background: var(--white); color: var(--blue-700); border-color: var(--blue-100); }
.btn-outline:hover { background: var(--blue-50); }
.btn-ghost { background: transparent; color: var(--ink-500); font-weight: 500; }
.btn-ghost:hover { background: var(--surface); }
.btn-danger-ghost { background: transparent; color: var(--ink-500); font-weight: 500; }
.btn-stack { display: flex; flex-direction: column; gap: 10px; }
.link-row { display: flex; justify-content: center; gap: 16px; margin-top: 16px; font-size: 14px; color: var(--ink-500); }
.link { color: var(--blue-700); font-weight: 500; text-decoration: none; background: none; border: 0; cursor: pointer; padding: 6px 2px; }
.link:hover { text-decoration: underline; }

/* 제목 */
.page-title { font-size: 24px; font-weight: 800; margin: 8px 0 6px; line-height: 1.35; }
.page-desc { font-size: 15px; color: var(--ink-500); margin: 0 0 24px; line-height: 1.6; }

/* 폼 */
.form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > label, .field-label { font-size: 14px; font-weight: 700; color: var(--ink-700); }
.field .req { color: var(--blue-700); margin-left: 2px; }
.input-wrap { position: relative; }
.input, .select, .textarea {
  width: 100%; min-height: 52px;
  padding: 14px 16px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 16px; /* iOS 확대 방지 */
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-500) 50%), linear-gradient(135deg, var(--ink-500) 50%, transparent 50%); background-position: calc(100% - 22px) 23px, calc(100% - 16px) 23px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--blue-500); box-shadow: 0 0 0 4px var(--blue-50); }
.input-wrap .input { padding-right: 56px; }
.input-wrap .icon-btn { position: absolute; right: 4px; top: 4px; font-size: 14px; color: var(--ink-500); width: auto; padding: 0 12px; }
.hint { font-size: 13px; color: var(--ink-400); margin: 0; }
.error { font-size: 13px; color: var(--red-600); margin: 0; font-weight: 500; }
.field.invalid .input, .field.invalid .select, .field.invalid .textarea { border-color: var(--red-600); }
.form-error {
  padding: 12px 14px; border-radius: var(--radius-sm);
  background: var(--red-50); color: var(--red-600); font-size: 14px; font-weight: 500;
}

/* 체크박스 */
.check {
  display: flex; align-items: center; gap: 12px;
  min-height: 44px; cursor: pointer; font-size: 15px;
}
.check input { width: 22px; height: 22px; accent-color: var(--blue-600); margin: 0; flex: none; }
.check.all { font-weight: 700; }
.terms-box { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 6px 14px; }
.terms-box hr { border: 0; border-top: 1px solid var(--line); margin: 4px 0; }
.terms-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.terms-item details { width: 100%; }
.terms-text { font-size: 13px; color: var(--ink-500); line-height: 1.6; background: var(--surface); border-radius: 10px; padding: 10px 12px; margin: 0 0 8px; }
.tag-req { font-size: 12px; color: var(--blue-700); font-weight: 700; }
.tag-opt { font-size: 12px; color: var(--gray-600, #6b6b6b); font-weight: 700; } /* 2026-12-02 [선택] 동의 */

/* 파일 첨부 */
.file-drop {
  display: flex; align-items: center; gap: 12px;
  min-height: 64px; padding: 12px 16px;
  border: 1.5px dashed var(--blue-100); border-radius: var(--radius-sm);
  background: var(--blue-50); cursor: pointer; color: var(--blue-700); font-weight: 500;
}
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-drop .file-name { color: var(--ink-700); font-size: 14px; word-break: break-all; }
.file-drop:focus-within { box-shadow: 0 0 0 4px var(--blue-100); }

/* 카드 */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow);
}
.role-card {
  display: flex; align-items: center; gap: 16px; width: 100%; text-align: left;
  padding: 22px 20px; min-height: 96px;
  border: 1.5px solid var(--line); border-radius: 20px; background: var(--white);
  cursor: pointer; box-shadow: var(--shadow);
  transition: border-color .15s, transform .05s, background .15s;
}
.role-card:hover { border-color: var(--blue-500); background: var(--blue-50); }
.role-card:active { transform: scale(.99); }
.role-card .emoji { font-size: 34px; width: 56px; height: 56px; display: grid; place-items: center; background: var(--blue-50); border-radius: 16px; flex: none; }
.role-card strong { display: block; font-size: 18px; margin-bottom: 4px; }
.role-card small { color: var(--ink-500); font-size: 14px; }
.role-card .arrow { margin-left: auto; color: var(--ink-400); font-size: 22px; }

/* 상태 화면 */
.status-hero { text-align: center; padding: 32px 0 20px; }
.status-icon { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; font-size: 40px; }
.status-icon.pending { background: var(--amber-50); }
.status-icon.rejected { background: var(--red-50); }
.status-icon.ok { background: var(--green-50); }
.info-list { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin: 0; font-size: 15px; }
.info-list dt { color: var(--ink-500); }
.info-list dd { margin: 0; font-weight: 500; text-align: right; word-break: break-all; }
/* 2026-11-22 모아 수수료 청구서 요약: 긴 항목명은 왼쪽 칸 안에서 줄바꿈 · 값은 단어 단위 줄바꿈 · 날짜(.date-chunk)는 중간에서 끊기지 않음 */
.info-list.fee-bill-summary { grid-template-columns: minmax(0, 42%) minmax(0, 1fr); }
.info-list.fee-bill-summary dt { word-break: keep-all; overflow-wrap: anywhere; }
.info-list.fee-bill-summary dd { word-break: keep-all; overflow-wrap: anywhere; }
.fee-bill-summary .date-chunk { display: inline-block; white-space: nowrap; }
.reason-box { background: var(--red-50); color: var(--ink-900); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 15px; line-height: 1.6; white-space: pre-wrap; }
.notice { background: var(--surface); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 14px; color: var(--ink-700); line-height: 1.6; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.badge.consumer { background: var(--blue-50); color: var(--blue-700); }
.badge.seller { background: var(--ink-900); color: var(--white); }
.badge.guest { background: var(--surface); color: var(--ink-500); }

/* 임시 메인 */
.home-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.home-hero {
  border-radius: 20px; padding: 24px 20px; color: var(--black);
  background: linear-gradient(135deg, #E7D4AC, var(--gold) 55%, var(--gold-strong));
  box-shadow: 0 12px 28px rgba(120, 92, 40, .22);
}
.home-hero.seller { background: linear-gradient(135deg, #2A251C, var(--black)); color: var(--on-black); }
.home-hero h2 { margin: 6px 0 4px; font-size: 22px; }
.home-hero p { margin: 0; opacity: .85; font-size: 14px; }
.placeholder {
  margin-top: 16px; border: 1.5px dashed var(--line); border-radius: var(--radius);
  padding: 28px 20px; text-align: center; color: var(--ink-400); font-size: 14px; line-height: 1.6;
}
.spacer { flex: 1; min-height: 24px; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.center { text-align: center; }
.muted { color: var(--ink-500); font-size: 14px; }

/* 로딩 */
.loading { flex: 1; display: grid; place-items: center; }
.spinner { width: 36px; height: 36px; border: 3px solid var(--blue-100); border-top-color: var(--blue-600); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 토스트 알림 */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  max-width: min(440px, calc(100% - 32px));
  background: var(--ink-900); color: var(--white);
  padding: 14px 18px; border-radius: 14px; font-size: 14px; font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2); z-index: 10;
}

/* =====================================================================
   2단계: 소비자 메인 · 검색 · 행사 상세 · 마이페이지
   ===================================================================== */
.screen.has-nav { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.header-actions { display: flex; align-items: center; gap: 4px; }
.mode-chip {
  min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--white); font-size: 13px; font-weight: 700; color: var(--ink-700); cursor: pointer;
}
.mode-chip:hover { background: var(--surface); }
.region-btn {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 4px;
  min-height: 44px; padding: 0 4px; margin: -8px 0 4px; border: 0; background: none;
  font-size: 16px; font-weight: 700; color: var(--ink-900); cursor: pointer;
}
.region-btn span { color: var(--ink-400); font-size: 12px; }
.search-bar {
  display: flex; align-items: center; width: 100%; min-height: 52px; padding: 0 16px;
  border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface);
  color: var(--ink-400); font-size: 15px; text-align: left; cursor: pointer;
}
.search-bar:hover { border-color: var(--blue-100); }
.search-input { background: var(--surface); }
.guest-banner {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: var(--blue-50);
  font-size: 13px; color: var(--blue-700);
}
.section-title { font-size: 17px; font-weight: 800; margin: 24px 0 12px; }
.section-title .count { color: var(--blue-700); }
.list-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.list-head .section-title { margin: 24px 0 12px; }
.sort-select {
  min-height: 40px; padding: 0 30px 0 12px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--white); font-size: 14px; font-weight: 500; appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-500) 50%), linear-gradient(135deg, var(--ink-500) 50%, transparent 50%);
  background-position: calc(100% - 16px) 17px, calc(100% - 11px) 17px; background-size: 5px 5px; background-repeat: no-repeat;
}

/* 카테고리 칩 (가로 스크롤) */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; margin: 0 -20px; padding-left: 20px; padding-right: 20px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--white); font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap;
}
.chip.active { background: var(--gold); border-color: var(--gold-strong); color: var(--black); font-weight: 700; }
.sub-chips { margin-top: 12px; }
.sub-chips .chip { min-height: 36px; font-size: 13px; padding: 0 12px; background: var(--black); border-color: var(--black); color: var(--on-black); } /* 소분류도 카테고리 버튼 */
.sub-chips .chip.active { background: var(--black); border-color: var(--gold); color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }

/* 대분류 격자: 휴대폰 = 2행 × 3열 페이지 + 좌우 스와이프(스크롤 스냅) + 페이지 점 */
.cat-pager { margin: 0 -20px; }
.cat-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.cat-track::-webkit-scrollbar { display: none; }
.cat-page {
  flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, auto); gap: 10px; padding: 2px 20px;
  align-content: start;
}
.cat-tile {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 84px; padding: 10px 6px; border: 1px solid var(--black); border-radius: var(--radius-sm); background: var(--black);
  cursor: pointer; font-size: 13px; font-weight: 600; color: var(--on-black); text-align: center;
}
.cat-tile .cat-icon { font-size: 26px; line-height: 1; }
.cat-tile .cat-name { line-height: 1.25; word-break: keep-all; }
.cat-tile .cat-count { position: absolute; top: 6px; right: 8px; font-size: 11px; font-weight: 700; color: var(--gold); }
.cat-tile.active { border-color: var(--gold); background: var(--black); color: var(--gold); box-shadow: inset 0 0 0 2px var(--gold); }
.cat-dots { display: flex; justify-content: center; gap: 6px; padding: 10px 0 2px; }
.cat-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: var(--line); cursor: pointer; transition: width .2s, background .2s; }
.cat-dot.active { width: 18px; background: var(--black); }

/* 행사 카드 */
.ev-list { display: flex; flex-direction: column; gap: 16px; }
.ev-card { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.ev-thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; background: var(--blue-50); cursor: pointer; overflow: hidden; }
.ev-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ev-thumb-icon { display: grid; place-items: center; height: 100%; font-size: 56px; }
.ev-badges { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.ev-badges.static { position: static; }
.ev-status, .ev-test, .ev-cat { font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 999px; }
.ev-status.active { background: var(--gold); color: var(--black); }
.ev-status.closing_soon { background: var(--red-600); color: var(--white); }
.ev-status.upcoming { background: var(--ink-700); color: var(--white); }
.ev-status.closed { background: var(--ink-400); color: var(--white); }
.ev-test { background: #FEF3C7; color: #92400E; }
.ev-cat { background: var(--surface); color: var(--ink-700); }
.ev-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.ev-store { margin: 0; font-size: 13px; font-weight: 500; color: var(--ink-500); }
.ev-title { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.4; }
.ev-price { display: flex; flex-direction: column; gap: 2px; }
.ev-regular { font-size: 13px; color: var(--ink-400); text-decoration: line-through; }
.ev-now { display: flex; align-items: baseline; gap: 8px; }
.ev-rate { font-size: 20px; font-weight: 800; color: var(--red-600); }
.ev-rate.none { font-size: 13px; font-weight: 500; color: var(--ink-400); }
.ev-current { font-size: 20px; font-weight: 800; }
.ev-progress { font-size: 14px; color: var(--ink-700); display: flex; flex-direction: column; gap: 6px; }
.ev-progress b { color: var(--blue-700); }
.ev-next { font-size: 13px; font-weight: 700; color: var(--blue-700); text-align: right; }
.bar { height: 8px; border-radius: 999px; background: var(--blue-50); overflow: hidden; }
.bar-fill { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--blue-700)); transition: width .4s ease; }
.ev-foot { padding-top: 4px; border-top: 1px solid var(--line); margin-top: 2px; }
.ev-deadline { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 13px; color: var(--ink-500); padding-top: 8px; }
.ev-left { font-size: 14px; color: var(--blue-700); }
.ev-left.closing_soon { color: var(--red-600); }
.ev-left.upcoming { color: var(--ink-700); }
.ev-foot .btn-sm { width: auto; min-height: 44px; padding: 0 14px; font-size: 14px; margin-top: 8px; flex: none; }

.empty-state { text-align: center; padding: 40px 16px; }
.empty-state.small { padding: 20px 16px; border: 1.5px dashed var(--line); border-radius: var(--radius); }
.cs-icon { font-size: 40px; margin-bottom: 8px; }
.cs-title { font-size: 16px; font-weight: 700; margin: 0 0 6px; }
.coming-soon { text-align: center; padding: 60px 16px; }

/* 하단 메뉴 */
.bottom-nav {
  position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 5;
  width: 100%; max-width: 480px; display: grid; grid-template-columns: repeat(5, 1fr);
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom); backdrop-filter: blur(8px);
}
.nav-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 64px; border: 0; background: none; cursor: pointer; font-size: 12px; font-weight: 500; color: var(--ink-400);
}
.nav-item .nav-icon { font-size: 20px; filter: grayscale(1); opacity: .7; }
.nav-item.active { color: var(--blue-700); font-weight: 700; }
.nav-item.active .nav-icon { filter: none; opacity: 1; }

/* 지역 선택 시트 */
.sheet-overlay { position: fixed; inset: 0; background: rgba(17, 24, 39, .45); z-index: 20; display: flex; align-items: flex-end; justify-content: center; animation: fade .15s ease-out; }
.sheet {
  width: 100%; max-width: 480px; max-height: 85vh; overflow: auto; background: var(--white);
  border-radius: 24px 24px 0 0; padding: 12px 20px calc(24px + env(safe-area-inset-bottom));
}
.sheet-handle { width: 40px; height: 4px; border-radius: 4px; background: var(--line); margin: 0 auto 12px; }
.sheet-title { font-size: 20px; margin: 0; }
.sheet-group-title { font-size: 14px; font-weight: 700; color: var(--ink-500); margin: 18px 0 8px; }
.region-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.region-option {
  min-height: 52px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white);
  font-size: 15px; font-weight: 700; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
}
.region-option.selected { border-color: var(--blue-600); background: var(--blue-50); color: var(--blue-700); }
.region-option.disabled { color: var(--ink-400); background: var(--surface); cursor: not-allowed; }
.region-option small { font-size: 11px; font-weight: 500; }

/* 행사 상세 */
.screen.detail { padding: 0 0 calc(110px + env(safe-area-inset-bottom)); }
.detail-hero { position: relative; aspect-ratio: 16 / 10; background: var(--blue-50); }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-back {
  position: absolute; left: 12px; top: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .92); font-size: 20px; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}
.detail-body { padding: 20px; }
.detail-title { font-size: 22px; font-weight: 800; line-height: 1.4; margin: 4px 0 8px; }
.price-card .info-list dd.strike { text-decoration: line-through; color: var(--ink-400); }
.price-card .info-list dd.blue { color: var(--red-600); font-weight: 800; }
.price-card .info-list dd.big { font-size: 22px; font-weight: 800; }
.card.pre { white-space: pre-wrap; line-height: 1.7; font-size: 15px; color: var(--ink-700); }
/* 2026-12-01 상세 화면 긴 설명: 6줄까지만 → ‘펼치기’로 전체 */
.card.pre.clamp:not(.open) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; line-clamp: 6; overflow: hidden; }
.long-text .more-toggle { display: block; width: 100%; margin-top: 6px; }
.store-name { margin: 0 0 4px; font-weight: 700; }
.tiers { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tier {
  display: grid; grid-template-columns: 28px 1fr auto auto; align-items: center; gap: 10px;
  padding: 14px 14px; border: 1.5px solid var(--line); border-radius: 14px; font-size: 15px; position: relative;
}
.tier-check { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-size: 13px; font-weight: 800; color: var(--white); }
.tier.reached .tier-check { background: var(--gold); border-color: var(--gold-strong); color: var(--black); }
.tier-people { font-weight: 500; }
.tier-rate { font-weight: 800; color: var(--red-600); }
.tier-price { font-weight: 700; min-width: 76px; text-align: right; }
.tier.current { border-color: var(--blue-600); background: var(--blue-50); }
.tier-now { position: absolute; right: 10px; top: -10px; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--gold); color: var(--black); }
.cta-bar {
  position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 5;
  width: 100%; max-width: 480px; display: flex; gap: 12px; align-items: center;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line);
}
.cta-price { display: flex; flex-direction: column; flex: none; }
.cta-price small { font-size: 12px; color: var(--ink-500); }
.cta-price b { font-size: 19px; }
.cta-bar .btn { flex: 1; }

/* 마이페이지 */
.profile-card { display: flex; align-items: center; gap: 16px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: var(--black); display: grid; place-items: center; font-size: 22px; font-weight: 800; flex: none; }
.profile-text strong { font-size: 18px; }
.profile-text .muted { margin: 2px 0 0; }
/* 홈·검색 '내 동네' 줄 (현재 지역 아래) */
.home-area-row { margin: 6px 0 4px; font-size: 13px; }
.home-area-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--blue-50); color: var(--blue-700); font-weight: 700; }
.home-area-row .home-area-back { width: auto; min-height: 36px; padding: 0 12px; font-size: 13px; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
/* 프로필 사진 · 한 줄 소개 · '프로필 수정' 버튼 */
.avatar.has-photo { background: var(--bg-soft, #f3f4f6); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.avatar-lg { width: 88px; height: 88px; font-size: 34px; }
.profile-text { min-width: 0; flex: 1; }
.profile-text strong { display: block; padding-right: 96px; overflow-wrap: anywhere; } /* 오른쪽 위 버튼과 닉네임이 겹치지 않게 (아래 줄은 카드 끝까지 사용) */
.profile-text .muted { overflow-wrap: anywhere; }
.profile-intro { margin: 2px 0 0; color: var(--ink-700); font-size: 14px; overflow-wrap: anywhere; }
/* '프로필 수정': 카드 오른쪽 위 · 글자 길이 + 좌우 여백만 (공통 .btn 의 width:100% 덮어씀) · 줄바꿈 없음 */
.profile-card { position: relative; }
.profile-card .profile-edit-btn { position: absolute; top: 12px; right: 12px; width: auto; min-height: 36px; padding: 0 12px; font-size: 13px; white-space: nowrap; flex: none; box-shadow: none; }
.profile-photo-edit { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.profile-photo-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.profile-photo-edit .hint { flex-basis: 100%; margin: 0; }
.menu-group { margin-top: 20px; }
.menu-group-title { font-size: 13px; font-weight: 700; color: var(--ink-500); margin: 0 0 8px 4px; }
.menu { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.menu li + li { border-top: 1px solid var(--line); }
.menu-item {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 0 16px;
  border: 0; background: var(--white); font-size: 15px; text-align: left; cursor: pointer;
}
.menu-item:hover { background: var(--surface); }
.menu-item.danger .menu-label { color: var(--ink-500); }
.menu-icon { width: 24px; text-align: center; }
.menu-label { flex: 1; }
.menu-item .arrow { color: var(--ink-400); font-size: 20px; }
.soon-badge { font-size: 12px; font-weight: 700; color: var(--ink-400); background: var(--surface); padding: 3px 8px; border-radius: 999px; }
.input[readonly] { background: var(--surface); color: var(--ink-500); }

/* 하단 메뉴/참여 버튼과 겹치지 않도록 알림 위치 조정 */
.toast { bottom: calc(92px + env(safe-area-inset-bottom)); }

/* =====================================================================
   3단계: 행사 상태 · 지역 선택(시·도→시·군·구→읍·면·동) · 판매자 센터
   ===================================================================== */
.ev-status.scheduled, .ev-status.upcoming { background: var(--ink-700); color: var(--white); }
.ev-status.paused { background: #B45309; color: var(--white); }
.ev-status.ended, .ev-status.closed { background: var(--ink-400); color: var(--white); }
.ev-status.draft { background: var(--surface); color: var(--ink-700); border: 1px solid var(--line); }
.ev-session { margin: -4px 0 0; font-size: 13px; color: var(--ink-700); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ev-type { font-size: 11px; font-weight: 700; color: var(--blue-700); background: var(--blue-50); padding: 2px 7px; border-radius: 999px; }
.scope-toggle { display: flex; gap: 8px; margin: 0 0 10px; }
.scope-toggle .chip { min-height: 36px; font-size: 13px; }

.area-sheet { display: flex; flex-direction: column; gap: 10px; height: 85vh; }
.crumbs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 14px; color: var(--ink-400); min-height: 32px; }
.crumb { border: 0; background: var(--surface); border-radius: 8px; padding: 6px 10px; font-size: 14px; font-weight: 700; color: var(--ink-700); cursor: pointer; }
.area-list { flex: 1; overflow: auto; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; }
.area-row { display: flex; align-items: center; gap: 8px; min-height: 54px; padding: 8px 14px; border: 0; border-bottom: 1px solid var(--line); background: var(--white); text-align: left; cursor: pointer; font-size: 15px; }
.area-row:last-child { border-bottom: 0; }
.area-row:hover { background: var(--surface); }
.area-row.selected { background: var(--blue-50); }
.area-row .area-name { flex: 1; font-weight: 500; }
.area-row .area-status { font-size: 12px; color: var(--ink-400); text-align: right; max-width: 55%; }
.area-row .area-status.on { color: var(--green-700); font-weight: 700; }
.area-row.disabled .area-name { color: var(--ink-400); }
.area-row .arrow { color: var(--ink-400); font-size: 20px; }

.notice.danger { background: var(--red-50); color: var(--red-600); }
.notice.ok { background: var(--green-50); color: var(--green-700); }
.product-line { margin: -4px 0 6px; font-size: 14px; color: var(--ink-700); }

/* 판매자 센터 */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat { border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 2px; background: var(--white); }
.stat-label { font-size: 13px; color: var(--ink-500); }
.stat-value { font-size: 22px; font-weight: 800; }
.stat small { font-size: 12px; color: var(--ink-400); }
.menu-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.menu-tile {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 92px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); cursor: pointer; font-size: 14px; font-weight: 700;
}
.menu-tile:hover { background: var(--surface); }
.menu-tile-icon { font-size: 26px; }
/* 메뉴 이름: 좁은 휴대폰에서도 칸 안에서 줄바꿈 (낱말 단위 · 넘치면 글자 단위) */
.menu-tile { min-width: 0; padding: 8px 4px; text-align: center; }
.menu-tile-label { display: block; max-width: 100%; line-height: 1.3; word-break: keep-all; overflow-wrap: anywhere; }
.menu-tile.soon { color: var(--ink-400); }
.menu-tile .soon-badge { position: absolute; top: 6px; right: 6px; font-size: 10px; padding: 2px 6px; }
.seller-ev-list { display: flex; flex-direction: column; gap: 10px; }
.seller-ev { display: flex; flex-direction: column; gap: 8px; width: 100%; text-align: left; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); cursor: pointer; }
.seller-ev:hover { border-color: var(--blue-100); background: var(--blue-50); }
.seller-ev-title { font-size: 16px; }
.seller-ev-title small { color: var(--ink-500); font-weight: 500; }
.seller-ev-stats { display: flex; gap: 14px; flex-wrap: wrap; font-size: 14px; color: var(--ink-700); }
.seller-ev-stats b { color: var(--blue-700); }
.seller-ev-time { margin: 0; font-size: 13px; color: var(--ink-500); }

.product-list { display: flex; flex-direction: column; gap: 10px; }
.product-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); cursor: pointer; text-align: left; }
.product-row img, .product-noimg { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex: none; background: var(--blue-50); display: grid; place-items: center; font-size: 28px; }
.product-info { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.product-info small { color: var(--ink-500); }
.product-price { font-weight: 700; }
.product-hero { width: 100%; border-radius: 16px; aspect-ratio: 16 / 10; object-fit: cover; background: var(--blue-50); }
.product-preview { width: 100%; max-height: 220px; object-fit: cover; border-radius: 12px; }
.pill { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pill.on_sale { background: var(--green-50); color: var(--green-700); }
.pill.stopped { background: var(--surface); color: var(--ink-500); }

.form-section { font-size: 16px; font-weight: 800; margin: 12px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--blue-700); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.two-col .input { padding: 14px 10px; }
.weekdays { display: flex; gap: 6px; flex-wrap: wrap; }
.wd { position: relative; }
.wd input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wd span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); font-weight: 700; cursor: pointer; }
.wd input:checked + span { background: var(--gold); border-color: var(--gold-strong); color: var(--black); }
.wd input:focus-visible + span { box-shadow: 0 0 0 3px var(--blue-100); }
.wd input:disabled + span { opacity: .55; cursor: not-allowed; }
.tier-editor { display: flex; flex-direction: column; gap: 8px; }
.tier-edit-row { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 14px; font-size: 14px; flex-wrap: wrap; }
.tier-no { font-weight: 700; color: var(--blue-700); width: 40px; }
.input.small { width: 76px; min-height: 44px; padding: 8px 10px; }
.tier-edit-price { margin-left: auto; font-weight: 700; }
.tier-msg { display: flex; flex-direction: column; gap: 2px; }
.ok-text { color: var(--green-700); font-weight: 500; }
.radio-cards { display: flex; flex-direction: column; gap: 8px; }
.radio-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; }
.radio-card input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue-600); }
.radio-card strong { display: block; }
.radio-card small { color: var(--ink-500); }
.radio-card:has(input:checked) { border-color: var(--blue-600); background: var(--blue-50); }
.reservation-box { display: flex; flex-direction: column; gap: 14px; padding: 16px; border-radius: 16px; background: var(--surface); }
.row-inline { display: flex; gap: 8px; align-items: center; }
.slot-chips { display: flex; gap: 6px; flex-wrap: wrap; }
/* 예약 시간대: ① 간격으로 만들기 ② 직접 추가 */
.slot-gen, .slot-add { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; margin: 6px 0; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.slot-gen .row-inline, .slot-add .row-inline { flex-wrap: wrap; }
.slot-gen .input.small { width: 96px; }
.field-label.small { font-size: 13px; margin: 0; }
.slot-msg { margin: 4px 0; min-height: 1em; }
.slot-msg.error-text { color: var(--red-600, #c62828); font-weight: 600; }
.slot-count { display: block; margin: 4px 0; }
.slot-chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 4px 4px 10px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.slot-chip button { border: 0; background: none; width: 28px; height: 28px; cursor: pointer; font-size: 16px; color: var(--ink-500); }
/* 2026-11-29 예약 시작 시간 자동 생성: 날짜별 미리보기 · 기존(유지) 시간 표시 · 빈자리 다시 열기 시간 고르기 */
.slot-chip.keep { border-style: dashed; }
.slot-chip small { color: var(--ink-500); font-size: 12px; padding-right: 6px; }
.slot-preview { margin-top: 8px; display: grid; gap: 8px; }
.slot-preview-day, .reopen-slot-day { display: grid; gap: 4px; padding: 8px 0; border-top: 1px solid var(--line); }
.reopen-slot-day .slot-chip { padding-right: 10px; min-height: 36px; }
.reopen-slot-day .slot-chip input { margin: 0; }
.seg { display: flex; gap: 6px; flex-wrap: wrap; }
.seg-item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg-item span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 10px; border: 1.5px solid var(--line); cursor: pointer; font-size: 14px; background: var(--white); }
.seg-item input:checked + span { border-color: var(--blue-600); background: var(--blue-50); color: var(--blue-700); font-weight: 700; }

/* ---- 4단계: 가상 결제 · 예약 선택 · 주문 · 포토리뷰 · 추천 ---- */
.screen.has-cta { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
.notice.warn { background: var(--amber-50); color: var(--amber-700); }
.virtual-banner { background: #FEF3C7; color: #92400E; border: 1px solid #FDE68A; }
.virtual-tag { display: inline-block; margin-top: 6px; font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 6px; background: #FEF3C7; color: #92400E; }
.info-list dd.big { font-size: 20px; font-weight: 800; }
.info-list dd.blue { color: var(--red-600); font-weight: 800; }
.join-summary { display: flex; gap: 12px; align-items: center; }
.join-summary img, .join-summary .ev-thumb-icon { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex: none; display: grid; place-items: center; background: var(--surface); font-size: 28px; }
/* 2026-12-01 날짜·시간 선택 버튼: 같은 너비 칸(격자) · 같은 높이 · 같은 간격 (글자 길이에 따라 버튼 폭·줄 간격이 들쭉날쭉하던 문제) */
.slot-dates, .slot-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; margin-bottom: 10px; }
.slot-dates > p, .slot-dates > .notice, .slot-times > p { grid-column: 1 / -1; }
.slot-dates .slot, .slot-times .slot { width: 100%; min-width: 0; height: 56px; white-space: nowrap; }
.slot { min-height: 48px; min-width: 72px; padding: 6px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 14px; }
.slot small { font-size: 11px; color: var(--ink-500); }
.slot.active { border-color: var(--blue-600); background: var(--blue-50); color: var(--blue-700); font-weight: 700; }
.slot:disabled { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.order-list, .review-list { display: flex; flex-direction: column; gap: 12px; }
.order-card { width: 100%; text-align: left; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; background: var(--white); cursor: pointer; display: flex; flex-direction: column; gap: 4px; }
.order-card:hover { background: var(--surface); }
.order-title { font-size: 17px; margin: 4px 0; }
.order-amount { margin-top: 6px; font-size: 14px; color: var(--ink-700); }
.order-status { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; white-space: nowrap; background: var(--surface); color: var(--ink-500); }
.order-status.paid { background: var(--green-50); color: var(--green-700); }
.order-status.pending { background: var(--amber-50); color: var(--amber-700); }
.order-status.canceled { background: var(--surface); color: var(--ink-400); }
.order-status.failed { background: var(--red-50); color: var(--red-600); }
/* 5단계: 수량 선택 · 자동결제 동의 · 표 */
.qty-row { display: flex; align-items: center; gap: 16px; }
.qty-row b { min-width: 40px; text-align: center; font-size: 18px; }
.consent-box { border-color: var(--blue-600); background: var(--blue-50); }
.notice-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.notice-card { width: 100%; text-align: left; display: flex; flex-direction: column; gap: 4px; cursor: pointer; font: inherit; }
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; white-space: nowrap; }
.table th, .table td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: right; }
.table th:first-child, .table td:first-child { text-align: left; white-space: normal; min-width: 140px; }
.table th { color: var(--ink-500); font-weight: 600; background: var(--surface); }
.review-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; background: var(--white); display: flex; flex-direction: column; gap: 6px; }
.review-card + .review-card { margin-top: 0; }
.stars { color: #F59E0B; letter-spacing: 1px; }
.stars-off { color: var(--line); }
.verified { font-size: 11px; font-weight: 700; color: var(--green-700); background: var(--green-50); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.review-photos { display: flex; gap: 8px; overflow-x: auto; }
.review-photos img { width: 88px; height: 88px; border-radius: 10px; object-fit: cover; flex: none; background: var(--surface); }
.review-text { margin: 0; white-space: pre-wrap; line-height: 1.6; font-size: 15px; }
.photo-thumb { position: relative; flex: none; }
.photo-thumb button { position: absolute; top: -6px; right: -6px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: var(--ink-900); color: var(--white); cursor: pointer; line-height: 1; }
.star-input { display: flex; gap: 4px; }
.star-input button { font-size: 32px; border: 0; background: none; color: var(--line); cursor: pointer; padding: 0 2px; }
.star-input button.on { color: #F59E0B; }
.link-card code.link-url { display: block; font-size: 12px; background: var(--surface); padding: 8px 10px; border-radius: 8px; word-break: break-all; margin-top: 6px; }
details.notice summary { cursor: pointer; font-weight: 700; }
details.notice ul { margin: 8px 0 0; padding-left: 18px; }
p.pre { white-space: pre-wrap; line-height: 1.6; color: var(--ink-700); margin: 0; }
.seller-order { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; background: var(--white); display: flex; flex-direction: column; gap: 6px; }
.seller-order .actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.date-input { max-width: 180px; }

/* 추천 링크 주소 표시 · 복사 */
.link-card input.link-url { margin-top: 8px; font-size: 13px; min-height: 44px; background: var(--surface); }
.copy-buffer { position: fixed; top: -1000px; left: 0; opacity: 0; }

/* ---------------- 매장 홈 ---------------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.store-hero { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--surface); display: flex; align-items: center; justify-content: center; }
.store-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.store-hero-icon { font-size: 56px; }
.store-info { margin-top: 12px; position: relative; }
/* 매장 상세: 대표 사진(있을 때만 · 높이 제한) · 요약 정보 · 포토후기 가로 카드 · 상품 분류 탭 */
.store-cover { border-radius: var(--radius); overflow: hidden; background: var(--surface); aspect-ratio: 16 / 9; max-height: 210px; width: 100%; }
.store-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.store-info.no-photo { margin-top: 8px; }
.store-head { display: flex; gap: 12px; align-items: center; }
.store-head-text { min-width: 0; }
.store-head-text .ev-store { margin: 0; }
.store-head-text .order-title { margin: 2px 0; }
.store-avatar { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 14px; background: var(--blue-50); display: grid; place-items: center; font-size: 28px; }
.store-line { margin: 8px 0 0; font-size: 14px; color: var(--ink-700); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.moa-week-card { display: flex; flex-direction: column; gap: 4px; width: 100%; text-align: left; margin: 12px 0 4px; padding: 14px 16px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--surface, #fff); color: inherit; font: inherit; cursor: pointer; }
.moa-week-card.on { border-color: var(--gold-strong); background: linear-gradient(135deg, rgba(220, 195, 148, .28), rgba(220, 195, 148, .06)); }
.moa-week-title { font-size: 15px; }
.moa-week-sub { font-size: 13px; color: var(--ink-700); line-height: 1.5; }
.moa-week-more { font-size: 13px; font-weight: 700; color: var(--blue-700); }
.moa-week-hero.on { border-color: var(--gold-strong); }
.moa-week-guide ul { margin: 6px 0 0; padding-left: 18px; font-size: 14px; line-height: 1.6; }
.link-monthly { margin-top: 8px; padding: 8px 10px; border-radius: 10px; font-size: 13px; line-height: 1.5; background: var(--bg-soft, #f3f4f6); }
.link-monthly.active { background: rgba(22, 163, 74, .10); }
.link-monthly b { display: block; }
/* 커뮤니티 */
.community-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.community-top .community-write { width: auto; margin: 0; flex: none; min-height: 0; height: 34px; padding: 0 14px; font-size: 14px; border-radius: 17px; box-shadow: none; }
/* 판매자: 카드단말기 연결 확인 */
.terminal-check .terminal-check-btn { margin-top: 8px; }
.terminal-result { margin-top: 16px; }
.terminal-verdict { display: flex; flex-direction: column; gap: 4px; }
.terminal-title { font-size: 20px; }
/* 새 화면 버전 안내 (앱으로 돌아왔을 때) */
.update-banner { position: fixed; z-index: 50; left: 50%; transform: translateX(-50%); bottom: calc(76px + env(safe-area-inset-bottom, 0px)); width: calc(100% - 24px); max-width: 456px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #111827; color: #fff; font-size: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.update-banner[hidden] { display: none; }
.update-banner span { flex: 1; min-width: 0; }
.update-banner-btn { flex: none; border: 0; border-radius: 8px; padding: 8px 12px; background: var(--gold); color: var(--black); font-weight: 700; white-space: nowrap; cursor: pointer; }
.app-version { text-align: center; margin-top: 16px; font-size: 12px; }
.app-version .hint { margin: 2px 0; font-size: 12px; }
.app-version .app-version-reload { width: auto; margin: 8px auto 0; min-height: 36px; padding: 0 12px; font-size: 13px; white-space: nowrap; }
/* 커뮤니티 제목: 좁은 휴대폰에서 버튼을 밀어내지 않도록 줄임 (‘전국 공개’는 줄바꿈 없이 · 320px 이하에서는 숨김) */
.community-top h1 { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 340px) { .community-scope { display: none; } }
/* 커뮤니티 오른쪽 위: 메시지(안 읽은 수) · 글쓰기 — 글자 길이만큼 · 줄바꿈 없음 */
.community-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.community-top .community-msg { width: auto; margin: 0; flex: none; min-height: 0; height: 34px; padding: 0 12px; font-size: 14px; border-radius: 17px; white-space: nowrap; gap: 2px; }
/* 작성자 닉네임 → '메시지 보내기' 메뉴 */
.author-wrap { position: relative; display: inline-block; }
.author-name { border: 0; background: none; padding: 0; font: inherit; font-weight: 700; font-size: 14px; color: inherit; cursor: pointer; }
.author-name:hover, .author-name:focus-visible { text-decoration: underline; }
.author-menu { position: absolute; z-index: 5; top: 100%; left: 0; margin-top: 4px; padding: 4px; min-width: 140px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface, #fff); box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.author-menu[hidden] { display: none !important; }
.author-menu-item { display: block; width: 100%; padding: 10px 12px; border: 0; background: transparent; text-align: left; font-size: 14px; cursor: pointer; border-radius: 8px; white-space: nowrap; }
.author-menu-item:hover { background: var(--bg-soft, #f3f4f6); }
/* 메시지: 대화 목록 */
.dm-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.dm-item { display: flex; gap: 12px; align-items: center; width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); text-align: left; font: inherit; cursor: pointer; }
.dm-item.unread { border-color: var(--blue-100); background: var(--blue-50); }
.dm-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--black); display: grid; place-items: center; font-weight: 800; flex: none; }
.dm-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dm-preview { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; font-size: 14px; }
.dm-blocked-tag { color: var(--red-600, #dc2626); font-weight: 600; }
/* 메시지: 대화방 (휴대폰·PC 공통 · 입력창은 화면 아래에 붙음) */
.chat-page { display: flex; flex-direction: column; min-height: 100vh; padding-bottom: 0; }
.chat-top { display: flex; align-items: center; gap: 8px; }
.chat-top h1 { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-top .chat-block { width: auto; flex: none; min-height: 34px; padding: 0 10px; font-size: 13px; white-space: nowrap; }
.chat-list { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 8px 0 12px; }
.chat-msg { display: flex; flex-direction: column; align-items: flex-start; max-width: 80%; }
.chat-msg.mine { align-self: flex-end; align-items: flex-end; }
.chat-bubble { margin: 0; padding: 10px 12px; border-radius: 14px 14px 14px 4px; background: var(--surface, #f3f4f6); color: var(--ink-900, #111); overflow-wrap: anywhere; font-size: 15px; line-height: 1.5; }
.chat-msg.mine .chat-bubble { border-radius: 14px 14px 4px 14px; background: var(--gold); color: var(--black); }
.chat-time { font-size: 11px; margin-top: 2px; }
.chat-empty { text-align: center; margin: 24px 0; }
.chat-composer { position: sticky; bottom: 0; display: flex; gap: 8px; align-items: flex-end; padding: 8px 0 calc(8px + env(safe-area-inset-bottom, 0px)); background: var(--bg, #fff); border-top: 1px solid var(--line); }
.chat-input { flex: 1; min-height: 44px; max-height: 140px; resize: vertical; }
.chat-composer .chat-send { width: auto; flex: none; min-height: 44px; padding: 0 16px; white-space: nowrap; }
.community-scope { font-size: 13px; font-weight: 400; }
.community-note { margin-top: 16px; }
.post-head { align-items: flex-start; gap: 8px; }
.post-head-right { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.post-carousel { position: relative; margin-top: 10px; border-radius: 12px; overflow: hidden; background: #111; }
.post-carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.post-carousel-track::-webkit-scrollbar { display: none; }
.post-slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 4 / 3; display: block; }
.post-carousel.single .post-slide { aspect-ratio: auto; max-height: 460px; }
.post-slide img { width: 100%; height: 100%; object-fit: contain; display: block; }
.post-carousel.single .post-slide img { max-height: 460px; }
.post-carousel-count { position: absolute; top: 8px; right: 8px; padding: 2px 8px; border-radius: 10px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; }
.post-carousel-dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.post-carousel-dots .dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.5); }
.post-carousel-dots .dot.on { background: #fff; }
.post-carousel-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(255,255,255,.85); color: #111; font-size: 20px; line-height: 1; cursor: pointer; display: none; }
.post-carousel-nav.prev { left: 8px; } .post-carousel-nav.next { right: 8px; }
@media (hover: hover) and (pointer: fine) { .post-carousel-nav { display: block; } }
.post-react { display: flex; align-items: center; gap: 4px; margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 13px; }
.react-btn { border: 0; background: transparent; padding: 6px 8px; border-radius: 8px; font: inherit; font-size: 13px; color: var(--ink-700); cursor: pointer; white-space: nowrap; }
.react-btn:hover { background: var(--bg-soft, #f3f4f6); }
.react-btn.like.on { color: #e11d48; font-weight: 700; }
.react-views { margin-left: auto; color: var(--ink-500, #6b7280); white-space: nowrap; padding-right: 4px; }
.post-comments { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); }
.post-comments[hidden] { display: none !important; }
.comment-list { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.comment p { margin: 2px 0 0; font-size: 14px; overflow-wrap: anywhere; }
/* 댓글 입력: 카드 너비 전체 입력칸 → 아래 오른쪽 작은 '등록' (공용 .btn 의 width:100% 가 입력칸을 좁히던 문제 수정) */
.comment-form { display: flex; flex-direction: column; align-items: stretch; gap: 6px; width: 100%; }
.comment-form .comment-input { display: block; width: 100%; min-width: 0; min-height: 72px; padding: 10px 12px; font-size: 16px; line-height: 1.5; box-sizing: border-box; }
.comment-form [data-act="send-comment"] { align-self: flex-end; width: auto; min-height: 0; height: 34px; padding: 0 16px; font-size: 14px; box-shadow: none; }
.link.small, .muted.small { font-size: 13px; }
.post-list { display: flex; flex-direction: column; gap: 10px; }
.post-card { padding: 14px 16px; }
.post-author b { font-size: 14px; }
.post-body { margin: 8px 0 0; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.post-attach { display: flex; gap: 10px; align-items: center; width: 100%; margin-top: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-soft, #f9fafb); text-align: left; font: inherit; color: inherit; cursor: pointer; }
.post-attach img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; flex: none; }
.post-actions { display: flex; gap: 14px; justify-content: flex-end; margin-top: 8px; font-size: 14px; }
.link.danger { color: #dc2626; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.photo-previews { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0; }
.photo-previews:empty { display: none; }
.photo-previews .photo-thumb img { width: 84px; height: 84px; border-radius: 10px; object-fit: cover; display: block; background: var(--bg-soft, #f3f4f6); }
.photo-add { cursor: pointer; display: inline-flex; align-items: center; gap: 4px; position: relative; }
.post-photos { display: grid; gap: 4px; margin-top: 10px; border-radius: 12px; overflow: hidden; }
.post-photos.n1 { grid-template-columns: 1fr; }
.post-photos.n2, .post-photos.n3 { grid-template-columns: 1fr 1fr; }
.post-photo { display: block; aspect-ratio: 1 / 1; background: var(--bg-soft, #f3f4f6); }
.post-photos.n1 .post-photo { aspect-ratio: auto; max-height: 420px; }
.post-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-photos.n1 .post-photo img { max-height: 420px; object-fit: contain; background: #111; }
.my-referral-shortcut { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 12px; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.my-referral-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
@media (min-width: 768px) { .post-list { max-width: 720px; } }
/* 참여 철회 카드: 왼쪽으로 밀면 '목록에서 숨기기' · ⋯ 메뉴 (PC) */
.swipe-wrap { position: relative; overflow: hidden; border-radius: var(--radius, 14px); }
.swipe-wrap .order-card { position: relative; z-index: 1; width: 100%; transition: transform .18s ease; touch-action: pan-y; }
.swipe-action { position: absolute; top: 0; right: 0; bottom: 0; width: 112px; border: 0; background: #6b7280; color: #fff; font-weight: 700; font-size: 14px; cursor: pointer; }
.card-more { position: absolute; z-index: 2; top: 8px; right: 8px; width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; font-size: 18px; line-height: 1; cursor: pointer; color: var(--ink-700); }
.swipe-wrap.open .card-more { display: none; }
.card-more:hover, .card-more:focus-visible { background: var(--bg-soft, #f3f4f6); }
.card-menu { position: absolute; z-index: 3; top: 42px; right: 8px; min-width: 150px; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface, #fff); box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.card-menu[hidden] { display: none !important; }
.card-menu button { display: block; width: 100%; padding: 10px 12px; border: 0; background: transparent; text-align: left; font-size: 14px; cursor: pointer; border-radius: 8px; }
.card-menu button:hover { background: var(--bg-soft, #f3f4f6); }
.swipe-wrap .order-card .row-between:first-child { padding-right: 32px; }
/* '예약·주문' 상단 알림 카드 숨기기: 휴대폰 = 왼쪽으로 밀기 · PC(마우스) = 오른쪽 위 ‘숨기기’ 버튼 */
.swipe-wrap.notice-swipe { border-radius: var(--radius-sm); }
.swipe-wrap .notice-card { position: relative; z-index: 1; transition: transform .18s ease; touch-action: pan-y; padding-right: 76px; }
.notice-swipe .notice-card:not(.warn):not(.ok):not(.danger) { background: var(--surface, #fff); }
.notice-hide { position: absolute; z-index: 2; top: 8px; right: 8px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface, #fff); color: var(--ink-700); font-size: 13px; cursor: pointer; }
.notice-hide:hover, .notice-hide:focus-visible { background: var(--bg-soft, #f3f4f6); }
.swipe-wrap.open .notice-hide { display: none; }
@media (hover: none) and (pointer: coarse) { .notice-hide { display: none; } .swipe-wrap .notice-card { padding-right: 16px; } }
.nav-item { position: relative; }
.nav-badge { position: absolute; top: 2px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #dc2626; color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.nav-badge[hidden] { display: none !important; }
.nav-badge.inline { position: static; display: inline-block; margin-left: 4px; vertical-align: middle; }
.seller-ev-actions { padding: 4px 12px 6px; gap: 8px; }
.seller-ev-actions small { min-width: 0; overflow-wrap: anywhere; }
.seller-ev-fill { padding: 8px 12px 10px; border-top: 1px dashed var(--line); }
.fill-table tr.focus td { background: var(--blue-50); font-weight: 700; }
.wait-tag { display: inline-block; padding: 1px 6px; border-radius: 6px; font-size: 12px; font-weight: 700; background: #fef3c7; color: #92400e; }
.wait-offer { border: 2px solid var(--gold-strong); }
.wait-entry.focus { box-shadow: 0 0 0 3px rgba(205, 176, 122, .55); }
.fill-stats { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 13px; color: var(--ink-700); margin-top: 4px; }
.fill-stats b { color: var(--ink-900, #111); }
.fill-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.fill-table th, .fill-table td { border-bottom: 1px solid var(--line); padding: 6px 4px; text-align: center; }
.fill-table th:first-child, .fill-table td:first-child { text-align: left; }
.fill-table-wrap { overflow-x: auto; }
.fill-state { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 12px; font-weight: 700; background: var(--bg-soft, #f3f4f6); }
.fill-state.filling, .fill-state.offered { background: var(--blue-100); color: var(--blue-700); }
.fill-state.filled { background: #dcfce7; color: #166534; }
.fill-state.stopped, .fill-state.usage_ended { background: #f3f4f6; color: #6b7280; }
.fill-state.reviewing, .fill-state.pending { background: #fef3c7; color: #92400e; }
.store-group-title { font-size: 14px; font-weight: 700; color: var(--ink-700); margin: 8px 0 6px; }
.store-intro-box { margin: 8px 0 0; font-size: 14px; color: var(--ink-700); }
.store-intro-box .store-intro-title { display: block; font-size: 13px; color: var(--ink-500, #6b7280); margin-bottom: 2px; }
.store-intro-box .store-intro { margin: 0; line-height: 1.5; overflow-wrap: anywhere; }
.store-more { margin-top: 8px; }
.store-more summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--blue-700); padding: 4px 0; list-style-position: inside; }
.store-sec { margin-top: 20px; }
.list-head.store-sec .section-title { margin: 0 0 10px; }
.store-empty { margin: 4px 0 8px; font-size: 14px; }
.review-track { display: grid; grid-auto-flow: column; grid-auto-columns: 80%; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
  margin: 0 -20px; padding: 0 20px 4px; scroll-padding: 0 20px; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.review-track::-webkit-scrollbar { display: none; }
.review-cell { scroll-snap-align: start; min-width: 0; }
.review-mini { display: flex; gap: 10px; width: 100%; height: 96px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); text-align: left; cursor: pointer; color: inherit; }
.review-mini:hover { border-color: var(--blue-100); }
.review-mini-img { flex: 0 0 76px; width: 76px; height: 76px; border-radius: 10px; object-fit: cover; }
.review-mini-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.review-mini-body .stars { font-size: 12px; }
.review-mini-text { font-size: 13px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.review-mini-meta { font-size: 11px; color: var(--ink-500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.review-detail { margin-top: 10px; }
.store-tabs { margin-bottom: 4px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.store-notice { margin-top: 10px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--amber-50); color: var(--amber-700); font-size: 14px; line-height: 1.5; }
/* 판매자: 행사·상품 등록 선택 · 상품·행사 관리 · 내 매장 메인 꾸미기 */
.register-choices { display: grid; gap: 12px; }
.register-choice .btn { width: 100%; }
.manage-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.manage-list { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); } /* 2026-11-29 PC·모바일 모두 한 줄에 상품 하나 */
.manage-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; background: var(--white);
  display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; align-items: start; } /* 2026-11-29 왼쪽 상품 사진 · 오른쪽 기존 정보 */
.manage-card.no-thumb { display: block; }
.manage-thumb { width: 88px; height: 88px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: var(--blue-50); cursor: pointer; display: block; }
.manage-thumb img, .manage-thumb .product-noimg { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; display: grid; place-items: center; font-size: 34px; }
.manage-body { min-width: 0; }
@media (min-width: 768px) { .manage-card { grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 14px; } .manage-thumb { width: 140px; height: 140px; } }
.manage-card .product-row { border: 0; box-shadow: none; padding: 4px; }
.manage-sessions { margin-top: 6px; padding: 8px 10px; background: var(--surface); border-radius: var(--radius-sm); }
.manage-sessions-head { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--ink-700); }
.manage-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.display-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.display-row { display: flex; align-items: center; gap: 10px; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.display-row.off { opacity: .6; }
.display-row img, .display-row .product-noimg { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; flex: 0 0 52px; }
.display-move { display: flex; flex-direction: column; gap: 2px; }
.btn-icon { min-width: 32px; min-height: 26px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); cursor: pointer; font-size: 11px; }
.btn-icon:disabled { opacity: .35; cursor: default; }
.display-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.display-info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.display-toggle { white-space: nowrap; }
.photo-edit { display: flex; align-items: center; gap: 12px; }
.photo-edit-img { width: 100%; max-height: 200px; object-fit: cover; border-radius: var(--radius); }
.preview-frame { border: 2px dashed var(--blue-100); border-radius: var(--radius); padding: 12px; background: var(--white); }
@media (min-width: 768px) { .register-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); } } /* 2026-11-29 상품·행사 관리 목록 = PC도 한 줄에 하나 (2열 격자 없앰) */
.group-tag { font-size: 11px; font-weight: 800; color: var(--red-600); background: var(--red-50); padding: 2px 7px; border-radius: 999px; }
.store-rating { margin: 2px 0 0; font-size: 15px; }
.store-link { padding: 0; font-weight: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.store-jump { margin-bottom: 0; }
.store-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.store-items > li { border-bottom: 1px solid var(--line); min-width: 0; }
.store-item { display: flex; gap: 14px; align-items: flex-start; width: 100%; padding: 16px 2px; background: none; border: 0; text-align: left; cursor: pointer; min-height: var(--tap); }
.store-item:hover .store-item-name { text-decoration: underline; }
.store-item:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 2px; border-radius: var(--radius-sm); }
.store-item-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.store-item-tags { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.store-item-name { font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; }
/* 매장 정보 더보기: 제목(주소·영업시간·매장 소개) 아래 내용 · 왼쪽 정렬 */
.info-list.store-info-list { grid-template-columns: 1fr; gap: 4px; }
.info-list.store-info-list dt { font-size: 13px; font-weight: 700; color: var(--ink-500); }
.info-list.store-info-list dt:not(:first-child) { margin-top: 10px; }
.info-list.store-info-list dd { text-align: left; word-break: keep-all; overflow-wrap: anywhere; line-height: 1.6; }
.seg-tabs.store-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); flex: 1 1 100%; }
.store-item-match { font-size: 12.5px; font-weight: 700; color: var(--red-600); }
.store-item-desc { font-size: 13px; color: var(--ink-500); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.store-item-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; font-size: 16px; }
.store-item-price .ev-rate { font-size: 16px; }
.store-item-price s { font-size: 12px; }
.store-item-meta { font-size: 12px; color: var(--ink-500); }
/* 2026-11-29 모집 중 공동구매 카드: 할인 단계 아래 참여 현황 한 줄 (마감 안내는 그 아래) */
.store-item-progress { font-size: 13px; font-weight: 700; color: var(--ink-900, #17140F); }
.store-item-meta.warn { color: var(--amber-700); font-weight: 600; }
.store-item.unavailable .store-item-thumb img { opacity: .55; }
.store-item.picked { background: var(--blue-50); border-radius: var(--radius-sm); padding-left: 10px; padding-right: 10px; box-shadow: inset 3px 0 0 var(--blue-600); }
.picked-tag { font-size: 11px; font-weight: 800; color: var(--black); background: var(--gold); padding: 2px 7px; border-radius: 999px; }
.store-item-thumb { flex: 0 0 92px; width: 92px; height: 92px; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); display: flex; align-items: center; justify-content: center; }
.store-item-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tier-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.tier-chip { font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 999px; background: var(--surface); color: var(--ink-500); border: 1px solid var(--line); }
.tier-chip.reached { background: var(--blue-50); color: var(--blue-700); border-color: var(--blue-100); }
@media (min-width: 768px) {
  .store-hero { aspect-ratio: 21 / 8; }
  .store-cover { aspect-ratio: 3 / 1; max-height: 240px; }
  .review-track { grid-auto-columns: 300px; margin: 0; padding: 0 0 4px; }
  .store-items { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .store-item-thumb { flex-basis: 108px; width: 108px; height: 108px; }
}

/* ---------------- 소비자 홈: 홍보 배너 · 상품 진열 코너 ---------------- */
.banner-pager { margin: 16px 0 0; }
.banner-track { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius); -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.banner-track::-webkit-scrollbar { display: none; }
.banner-slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 2.4 / 1; min-height: 132px; border: 0; padding: 0; margin: 0; overflow: hidden; text-align: left; cursor: pointer;
  background: linear-gradient(135deg, #E7D4AC, var(--gold) 60%, var(--gold-strong)); color: var(--black); display: flex; align-items: flex-end; }
.banner-slide.has-img { color: var(--white); } /* 사진 배너: 아래쪽 어두운 덧칠 위 흰 글씨 (기존) */
div.banner-slide { cursor: default; }
.banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner-slide.has-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 24, 39, 0) 35%, rgba(17, 24, 39, .62)); }
.banner-text { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; }
.banner-text strong { font-size: 19px; line-height: 1.3; font-weight: 800; }
.banner-text span { font-size: 13px; opacity: .92; line-height: 1.45; }
.banner-slide:focus-visible { outline: 3px solid var(--black); outline-offset: -3px; }
.shelf { margin-top: 8px; }
.shelf-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.shelf-head .section-title { margin: 24px 0 12px; }
.shelf-more { font-size: 14px; white-space: nowrap; }
/* 휴대폰: 가로 스크롤로 둘러보기 (한 화면에 약 2.3개) */
.shelf-track { display: grid; grid-auto-flow: column; grid-auto-columns: 42%; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
  margin: 0 -20px; padding: 0 20px 4px; scroll-padding: 0 20px; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.shelf-track::-webkit-scrollbar { display: none; }
.shelf-cell { scroll-snap-align: start; min-width: 0; }
.tile { display: flex; flex-direction: column; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: inherit; }
.tile-img { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--blue-50); }
.tile-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile-img .ev-thumb-icon { font-size: 40px; }
.tile-img .ev-badges { left: 8px; top: 8px; gap: 4px; }
.tile-body { display: flex; flex-direction: column; gap: 3px; padding: 8px 2px 0; min-width: 0; }
.tile-store { font-size: 12px; color: var(--ink-500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-name { font-size: 14.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.tile-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px; font-size: 15px; }
.tile-price .ev-rate { font-size: 15px; }
.tile-desc { font-size: 12.5px; color: var(--ink-700); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.load-error .status-hero { padding-top: 48px; }
.tile-meta { font-size: 12px; color: var(--ink-500); line-height: 1.4; }
.tile-meta .ev-left { font-size: 12px; }
.tile-meta.warn { color: var(--amber-700); font-weight: 600; }
.tile.unavailable .tile-img img { opacity: .55; }
.tile:hover .tile-name { text-decoration: underline; }
.tile:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 3px; border-radius: var(--radius-sm); }
/* 검색: 상품 유형 탭 · 필터 */
.seg-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 4px; background: var(--surface); border-radius: var(--radius-sm); }
.seg-tab { min-height: 44px; border: 0; border-radius: 10px; background: none; font-size: 14px; font-weight: 600; color: var(--ink-500); cursor: pointer; }
.seg-tab.active { background: var(--white); color: var(--blue-700); font-weight: 800; box-shadow: 0 1px 3px rgba(17, 24, 39, .1); }
/* 2026-11-24 판매자 매출·정산 탭 5개: 휴대폰 3칸 × 2줄(모두 보임) · PC 한 줄 5칸 */
.seg-tabs.settle-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 8px; }
.seg-tabs.settle-tabs .seg-tab { font-size: 13px; padding: 0 4px; word-break: keep-all; }
@media (min-width: 720px) { .seg-tabs.settle-tabs { grid-template-columns: repeat(5, minmax(0, 1fr)); } .seg-tabs.settle-tabs .seg-tab { font-size: 14px; } }
.seg-tabs.event-sub-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.seller-settlements tr.is-test td { color: var(--ink-500); background: #fffbeb; }
.seller-settlements .event-row { cursor: pointer; }
.seller-settlements .event-row:hover td { background: var(--surface); }
.seller-settlements .reward-bill-row { display: block; width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.seller-settlements .period-chips { margin-top: 12px; }
.seller-settlements .test-tag { font-size: 12px; }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; }
.filter-row:empty { display: none; }
.filter-row .chips { margin: 0; padding: 2px 0 2px; flex: 1 1 auto; }
.result-head { margin: 8px 0; }
.store-item-store { font-size: 12px; color: var(--ink-500); }

/* ---------------- 소비자 홈: 매장 홍보 · 광고 · 주제별 매장 추천 ---------------- */
.home-tagline { font-size: 21px; font-weight: 800; letter-spacing: -.3px; color: var(--ink-900); margin: 4px 0 12px; }
.ad-tag { position: absolute; top: 10px; left: 10px; z-index: 2; font-size: 11px; font-weight: 700; color: var(--white); background: rgba(17, 24, 39, .72); padding: 2px 7px; border-radius: 6px; }
.ad-tag.inline { position: static; display: inline-block; margin-right: 6px; vertical-align: 2px; background: var(--ink-700); }
.home-sec { margin-top: 28px; }
.home-sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; margin-bottom: 12px; }
.home-sec-head .section-title { margin: 0; }
.sec-sub { margin: 3px 0 0; font-size: 12.5px; color: var(--ink-500); }
.sec-reviews { background: var(--blue-50); margin-left: -20px; margin-right: -20px; padding: 18px 20px 20px; }
.h-track { display: grid; grid-auto-flow: column; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
  margin: 0 -20px; padding: 0 20px 4px; scroll-padding: 0 20px; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.h-track::-webkit-scrollbar { display: none; }
.ad-track { grid-auto-columns: 84%; }
.rv-track { grid-auto-columns: 84%; }
.rv-track.single { grid-auto-columns: 100%; }
.new-track { grid-auto-columns: 36%; }
.h-cell { scroll-snap-align: start; min-width: 0; }
.ad-card, .wide-card, .rv-card, .pop-row, .new-card { border: 0; background: var(--white); padding: 0; text-align: left; cursor: pointer; color: inherit; width: 100%; font: inherit; }
.ad-card:focus-visible, .wide-card:focus-visible, .rv-card:focus-visible, .pop-row:focus-visible, .new-card:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 2px; }
.store-ph { display: grid; place-items: center; width: 100%; height: 100%; font-size: 36px; background: var(--blue-50); }
.ad-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); height: 100%; }
.ad-card-img { display: block; aspect-ratio: 16 / 9; background: var(--blue-50); overflow: hidden; }
.ad-card-img img, .wide-card-img img, .rv-card-img img, .pop-row-img img, .new-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ad-card-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; }
.card-name { font-size: 15.5px; font-weight: 800; line-height: 1.3; overflow-wrap: anywhere; }
.card-name .ev-test { margin-left: 6px; font-size: 10px; vertical-align: 2px; }
.card-desc { font-size: 13px; color: var(--ink-700); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-desc.one { -webkit-line-clamp: 1; }
.card-meta { font-size: 12.5px; color: var(--ink-500); line-height: 1.4; }
.card-meta .stars { font-size: 12px; }
.wide-list { display: grid; gap: 10px; }
.wide-card { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: var(--radius); border: 1px solid var(--line); }
.wide-card-img { flex: 0 0 92px; width: 92px; height: 92px; border-radius: var(--radius-sm); overflow: hidden; background: var(--blue-50); }
.wide-card-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1 1 auto; }
.card-foot { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 3px; }
.card-key { font-size: 12.5px; color: var(--blue-700); background: var(--blue-50); padding: 3px 9px; border-radius: 999px; }
/* 2026-11-28 후기 카드: 작은 썸네일 + 매장명 · 평점 · 후기 두 줄 + ‘이 후기 보고 상품 고르기’ (세로 공간 축소 · 모든 정보가 카드 안) */
.rv-card { display: flex; flex-direction: column; gap: 10px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--blue-100); height: 100%; padding: 12px; box-sizing: border-box; cursor: default; }
.rv-card-main { display: flex; gap: 12px; align-items: flex-start; width: 100%; min-width: 0; border: 0; background: none; padding: 0; text-align: left; cursor: pointer; color: inherit; font: inherit; }
.rv-card-main:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 2px; }
.rv-card-img { flex: 0 0 64px; width: 64px; height: 64px; border-radius: var(--radius-sm); background: var(--blue-50); overflow: hidden; }
.rv-card-img .store-ph { font-size: 26px; }
.rv-card-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.rv-card-body .card-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-card .rv-pick { width: 100%; margin-top: auto; box-sizing: border-box; }
.rv-quote { font-size: 13.5px; line-height: 1.45; color: var(--ink-900); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pop-list { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.pop-list > li { border-bottom: 1px solid var(--line); min-width: 0; }
.pop-row { display: flex; align-items: center; gap: 12px; padding: 12px 2px; background: none; }
.pop-row-img { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 12px; overflow: hidden; background: var(--blue-50); }
.pop-row-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.pop-row-key { display: flex; flex-direction: column; align-items: flex-end; white-space: nowrap; }
.pop-row-key b { font-size: 16px; color: var(--blue-700); }
.pop-row-key small { font-size: 11px; color: var(--ink-500); }
.new-card { display: flex; flex-direction: column; gap: 4px; background: none; }
.new-card-img { display: block; aspect-ratio: 1 / 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--blue-50); }
.store-item-meta.key { color: var(--blue-700); font-weight: 600; }
.theme-chip { margin: 8px 0 0; padding-left: 0; padding-right: 0; }
@media (min-width: 768px) {
  .home-tagline { font-size: 26px; }
  .sec-reviews { margin-left: -32px; margin-right: -32px; padding: 22px 32px 26px; }
  .h-track { grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; gap: 16px; }
  .ad-track { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
  /* 2026-11-28 후기는 PC에서도 한 줄 · 옆으로 넘기기 (아래로 쌓지 않음) */
  .rv-track { grid-auto-flow: column; grid-auto-columns: 300px; overflow-x: auto; padding-bottom: 4px; }
  .rv-track.single { grid-auto-columns: minmax(300px, 420px); }
  .new-track { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .wide-list, .pop-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
}
@media (min-width: 1024px) {
  .sec-reviews { margin-left: -48px; margin-right: -48px; padding: 26px 48px 30px; }
  .ad-track { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
}

/* =====================================================================
   웹사이트 반응형 레이아웃
   - 스마트폰(767px 이하): 기존 앱 화면 그대로
   - 태블릿(768px~): 넓은 화면 + 2열 목록
   - PC(1024px~): 웹사이트 레이아웃 (상단 메뉴, 3열 행사 카드, 행사 상세 2단)
   화면 코드(JS)는 그대로 두고 CSS로만 확장합니다.
   ===================================================================== */
@media (min-width: 768px) {
  .app { max-width: 820px; box-shadow: 0 0 0 1px var(--line); }
  .screen { padding: 28px 32px calc(40px + env(safe-area-inset-bottom)); }
  .chips { margin: 0 -32px; padding-left: 32px; padding-right: 32px; }
  /* 대분류: 페이지 없이 화면 너비에 맞춰 한 번에 펼침 (스와이프·페이지 점 없음) */
  .cat-pager { margin: 0; }
  .cat-track { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; overflow: visible; scroll-snap-type: none; }
  .cat-page { display: contents; }
  .cat-dots { display: none; }
  .cat-tile:hover { border-color: var(--gold); }
  .ev-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .order-list, .review-list, .seller-ev-list, .product-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .menu-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bottom-nav, .cta-bar { max-width: 820px; }
  .form { max-width: 680px; }
  .welcome-hero { padding-top: 64px; }
  /* 지역 선택: 아래에서 올라오는 시트 → 가운데 창 */
  .sheet-overlay { align-items: center; padding: 24px; }
  .sheet { max-width: 560px; max-height: 80vh; border-radius: 24px; }
  .sheet-handle { display: none; }
  /* 홈 진열: 가로 스크롤 → 화면 너비에 맞춘 격자 · 배너는 더 넓은 비율 */
  .shelf-track { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); overflow: visible; margin: 0; padding: 0; gap: 16px; }
  .banner-slide { aspect-ratio: 3.4 / 1; }
  .banner-text { padding: 24px 32px; }
  .banner-text strong { font-size: 24px; }
  .banner-text span { font-size: 15px; }
  .banner-dots { display: flex; }
}

@media (min-width: 1024px) {
  body { background: var(--cream-bg); } /* 2026-11-26 넓은 화면 배경 = 밝은 샴페인 크림 */
  .app { max-width: 1200px; box-shadow: 0 0 0 1px var(--line); }
  .screen { padding: 36px 48px 64px; }
  .chips { margin: 0 -48px; padding-left: 48px; padding-right: 48px; }
  .cat-track { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 12px; }
  .topbar h1 { font-size: 22px; }
  .ev-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .shelf-track { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 20px; }
  /* 매장 상세: 넓은 PC 화면에서도 상단·사진이 과하게 커지지 않게 콘텐츠 폭 제한 */
  .screen.store-page { max-width: 960px; margin: 0 auto; width: 100%; }
  .banner-slide { aspect-ratio: 4.2 / 1; }
  .menu-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .home-hero { padding: 36px 40px; }
  .home-hero h2 { font-size: 28px; }
  .toast { bottom: 32px; }

  /* 하단 메뉴 → 웹사이트 상단 메뉴 (로고 + 메뉴) */
  .screen.has-nav { padding-top: 104px; padding-bottom: 64px; }
  .bottom-nav {
    top: 0; bottom: auto; max-width: 1200px; height: 72px;
    display: flex; align-items: center; justify-content: flex-end; gap: 4px;
    padding: 0 48px; border-top: 0; border-bottom: 1px solid var(--line);
    background: rgba(251, 247, 238, .97); backdrop-filter: blur(8px);
  }
  .bottom-nav::before {
    content: 'MOA'; margin-right: auto; padding-left: 46px; line-height: 36px;
    font-size: 22px; font-weight: 800; letter-spacing: .5px; color: var(--black);
    background: url('/img/moa-logo-96.png') left center / 36px 36px no-repeat; /* 2026-11-26 골드 개미 MOA 로고 */
  }
  .nav-item { flex-direction: row; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 12px; font-size: 15px; }
  .nav-item .nav-icon { font-size: 18px; }
  .nav-item:hover { background: var(--surface); }
  .nav-item.active { background: var(--blue-50); }
  /* 홈 상단의 로고 줄은 상단 메뉴와 겹치므로 지역·알림 버튼 줄로만 사용 */
  .screen.has-nav .home-header .brand { visibility: hidden; }

  /* 행사 상세: 왼쪽 사진(고정) | 오른쪽 정보 */
  .screen.detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; padding: 36px 48px 140px; }
  .detail-hero { position: sticky; top: 24px; border-radius: 24px; overflow: hidden; }
  .detail-body { padding: 0; }
  .cta-bar { max-width: 1200px; padding-left: 48px; padding-right: 48px; justify-content: flex-end; }
  .cta-bar .btn { flex: 0 0 340px; }

  /* 시작·로그인 화면: 가운데 정렬된 좁은 열 */
  .screen.welcome { max-width: 520px; margin: 0 auto; width: 100%; }
}

/* 웹사이트 하단 안내 */
.site-footer { display: none; }
@media (min-width: 1024px) {
  .site-footer { display: block; max-width: 1200px; margin: 0 auto; padding: 20px 48px 32px; font-size: 13px; color: var(--ink-400); }
}

/* 운영안: 취소·환불 정책 안내 · 대기자 · 노쇼 이의 제기 · 할인 설정 보조 */
.policy-box .policy-lines { margin: 8px 0 4px; padding-left: 18px; font-size: 13.5px; line-height: 1.6; color: var(--ink-700); }
.policy-box .chip-tag, .chip-tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--surface); color: var(--ink-700); }
.waitlist-box .row-inline, .tier-sim .row-inline { flex-wrap: wrap; gap: 8px; align-items: center; }
.wait-entry .btn { margin-top: 8px; }
.noshow-box textarea { margin: 8px 0; }
.tier-sim .input.small { width: 84px; }
.tier-sim .addon-table td:first-child { white-space: normal; }

/* 판매자 주문: 노쇼 단계 · 정산 보류 표시 */
.order-status.failed { background: #fdecec; color: #b42318; }
.noshow-note.confirmed, .settle-note.held { color: #b42318; font-weight: 600; }

/* 판매자: 매장 QR 방문 요청 → 주문 1건 처리 팝업 (2026-11-20) */
.visit-modal-backdrop { position: fixed; inset: 0; z-index: 1000; background: rgba(17, 24, 39, .45); display: flex; align-items: flex-start; justify-content: center; padding: 24px 16px; overflow-y: auto; }
.visit-modal { width: 100%; max-width: 520px; margin: auto 0; background: var(--white); box-shadow: 0 12px 40px rgba(17, 24, 39, .25); }
.visit-modal-title { font-size: 18px; }
.visit-modal .info-list dd.big { font-size: 20px; }
.visit-modal .terminal-pay { box-shadow: none; border: 1px solid var(--line); }
.visit-queue ul { margin: 6px 0; padding-left: 18px; }

/* 방문 요청 카드: 테이블 번호 (2026-11-20) */
.table-badge { display: inline-block; margin-bottom: 8px; padding: 6px 14px; border-radius: 10px; background: var(--black); color: var(--on-black); font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.table-row .row-inline { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.table-row .table-input { max-width: 180px; }
.visit-search { flex: 1; min-width: 0; }

/* '손님 도착' 팝업 (2026-11-20) */
.visit-modal.arrival { max-width: 420px; }
.visit-modal.arrival .visit-modal-title { font-size: 22px; }
.arrival-buyer { font-size: 18px; font-weight: 700; margin: 12px 0 4px; }
.arrival-product { font-size: 16px; margin: 0; }
.arrival-order { display: block; margin: 2px 0 12px; }
.arrival-table-none { color: #B45309; font-weight: 700; margin: 0 0 6px; }
.arrival-table .row-inline { display: flex; gap: 6px; flex-wrap: wrap; }

/* 2026-11-20 판매자 검색창 (고객 주문 찾기 · 방문 요청 목록): 넓은 입력칸 + 입력칸 안 × + 파란색 '검색' 버튼 한 줄 */
.qsearch { display: flex; gap: 8px; align-items: stretch; width: 100%; }
.qsearch-field { position: relative; flex: 1 1 auto; min-width: 0; }
.qsearch-input { width: 100%; padding-right: 40px; }
.qsearch-x { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--line); color: var(--ink-600, #4b5563); font-size: 18px; line-height: 30px; cursor: pointer; padding: 0; }
.qsearch-x[hidden] { display: none; }
.qsearch-go { flex: none; width: auto; min-width: 76px; padding-left: 18px; padding-right: 18px; margin: 0; }
.order-search-results { margin-top: 8px; }
.order-search-list { display: grid; gap: 8px; }
.order-search-row { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.order-search-main { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; min-width: 0; }
.order-search-table { font-weight: 700; color: var(--blue-700); }
.order-process .visit-req.embedded { border: 0; padding: 0; box-shadow: none; margin-top: 8px; }
.arrival-card { margin-top: 8px; }
/* 작은 화면: 팝업 안에서 스크롤 */
.visit-modal { max-height: calc(100vh - 48px); overflow-y: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 480px) { .visit-modal-backdrop { padding: 12px 8px; } .visit-modal { max-height: calc(100vh - 24px); } .order-search-row { flex-direction: column; align-items: stretch; } }

/* 2026-11-20 지역 선택: 주소·장소 검색 결과 · 자주 보는 지역 · 읍·면·동 ☆ 저장 */
.area-row-wrap { display: flex; align-items: stretch; border-bottom: 1px solid var(--line); background: var(--white); }
.area-row-wrap:last-child { border-bottom: 0; }
.area-row-wrap > .area-row, .area-row-wrap > .addr-row { flex: 1; min-width: 0; border-bottom: 0; }
.fav-star { flex: none; width: 48px; border: 0; background: transparent; font-size: 20px; color: #F59E0B; cursor: pointer; }
.fav-star:focus-visible { outline: 2px solid var(--blue-500); outline-offset: -2px; }
.addr-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 10px 14px; border: 0; background: var(--white); text-align: left; cursor: pointer; font-size: 14px; }
.addr-row:hover { background: var(--surface); }
.addr-row .addr-title { font-weight: 700; grid-column: 1; }
.addr-row .addr-line { color: var(--ink-400); font-size: 13px; grid-column: 1; }
.addr-row .addr-area { color: var(--blue-700); font-size: 13px; grid-column: 1; }
.addr-row .area-status { grid-column: 2; grid-row: 1 / span 3; align-self: center; font-size: 12px; color: var(--ink-400); }
.addr-row .area-status.on { color: var(--green-700); font-weight: 700; }
.addr-row.disabled .addr-title { color: var(--ink-400); }
.addr-row.unmatched .addr-area { color: var(--amber-700, #b45309); }
.area-group-title { margin: 0; padding: 8px 14px 4px; font-size: 12px; font-weight: 700; color: var(--ink-400); background: var(--surface); }
.fav-areas { margin: 8px 0 4px; }
.fav-title { margin: 0 0 6px; font-size: 13px; font-weight: 700; }
.fav-list { display: flex; flex-wrap: wrap; gap: 6px; }
.fav-chip { display: inline-flex; align-items: center; border: 1px solid var(--blue-100); border-radius: 999px; background: var(--blue-50); overflow: hidden; }
.fav-chip.selected { border-color: var(--blue-600); }
.fav-chip.disabled { background: var(--surface); border-color: var(--line); color: var(--ink-400); }
.fav-chip .fav-go { border: 0; background: transparent; padding: 6px 4px 6px 12px; font-size: 14px; font-weight: 600; color: inherit; cursor: pointer; }
.fav-chip .fav-del { border: 0; background: transparent; padding: 6px 10px 6px 4px; font-size: 16px; color: var(--ink-400); cursor: pointer; }

/* 2026-11-21 비밀번호 찾기 방법 선택 · 본인 확인 수단 · 추천 보상 지급 계좌 */
.method-list { display: grid; gap: 10px; }
.method-card { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; width: 100%; cursor: pointer; }
.method-card[disabled] { opacity: .5; cursor: not-allowed; }
.contact-verify .contact-row { padding: 10px 0; border-top: 1px solid var(--line); }
.contact-verify .contact-code { margin-top: 8px; }
.contact-verify .contact-code .input { flex: 1; min-width: 0; }
.row-end { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 8px; }
.payout-account-line { font-weight: 600; margin: 6px 0 2px; word-break: keep-all; }
.payout-consent { padding: 10px 14px; }
.consent-list { display: grid; grid-template-columns: 72px 1fr; gap: 4px 10px; margin: 8px 0; font-size: 14px; }
.consent-list dt { color: var(--muted, #666); }
.consent-list dd { margin: 0; }

/* 이용 완료 승인 버튼 (2026-11-21): 완료 후 '✓ 이용 완료' 비활성 · 실패 사유는 버튼 아래 줄 */
.approve-control { display: contents; }
.approve-control .approve-error { flex-basis: 100%; order: 99; margin: 6px 0 0; }
/* 대화방 상단 버튼 (2026-11-21 내 목록에서 숨기기 · 차단) */
.chat-actions { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
/* 추천 보상 카드·상세 (2026-11-21) */
.reward-card { cursor: pointer; }
.reward-card:focus-visible { outline: 2px solid var(--black); outline-offset: 2px; }
.reward-card .reward-order { margin: 2px 0; }
.reward-steps { list-style: none; margin: 0; padding: 12px 16px; }
.reward-steps li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; padding: 6px 0; }
.reward-steps li.todo { color: var(--text, #222); font-weight: 600; }
.reward-steps li.done { color: var(--muted, #666); }
.reward-step-mark { width: 18px; flex: none; text-align: center; }
.reward-steps li.done .reward-step-mark { color: var(--ok, #1f9d55); }
.reward-step-note { flex-basis: 100%; padding-left: 26px; font-weight: 400; }
/* 카드 취소 내역 등록 (2026-11-21) */
.cancel-record-steps { margin: 6px 0 4px; padding: 0; list-style: none; font-weight: 600; line-height: 1.6; }
.cancel-record-field .input[readonly] { background: var(--gray-100, #f3f4f6); color: var(--text, #222); cursor: not-allowed; }
.cancel-record-field .hint { margin: 4px 0 0; }
.cancel-record-note { margin: 4px 0 0; color: var(--danger, #c0392b); font-weight: 600; }
.btn.approve-done, .btn.approve-done:disabled { background: var(--ok, #1f9d55); border-color: var(--ok, #1f9d55); color: #fff; opacity: 1; cursor: default; }

/* 2026-11-24 카트: 매장 목록 화면 하단 고정 '카트 보기' (담은 수량 · 예약금 합계 · cta-bar 와 같은 위치) */
.bundle-bar[hidden] { display: none; }
/* 목록: 담기 버튼 없음 (카드 = 상세) · 카트에 담긴 상품은 카드에 '카트 N회' 표시 */
.cart-tag { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--black); background: var(--gold); }
/* 카트 수량: 수량 1이면 − 자리에 '삭제' */
.qty-stepper { display: inline-flex; align-items: center; gap: 8px; }
.qty-stepper b { min-width: 24px; text-align: center; }
.qty-stepper .qty-del { color: var(--red-600); }
.bundle-message textarea { width: 100%; min-height: 72px; resize: vertical; }
.customer-message-text { white-space: pre-wrap; word-break: break-word; }
/* 이체 사진 (예약 확정 요청 · 판매자 확인 · 추천 보상 송금) — 인라인 스타일은 CSP로 막혀 클래스로 */
.transfer-proof img, .payee-proof img, .transfer-popup-proof img, .deposit-photo img { max-width: 100%; max-height: 280px; border-radius: 8px; }

/* 2026-11-23 판매자 예약금 입금 확인: 표 안 이체 사진 미리보기 */
.deposit-thumb { display: block; max-width: 96px; max-height: 96px; border-radius: 6px; margin-bottom: 4px; cursor: zoom-in; object-fit: cover; }

/* 2026-11-25 판매자 메인 '오늘 예약·방문 현황' · 예약·주문 관리 '시간표' */
.today-board { border: 1px solid var(--line); border-radius: 16px; padding: 14px; background: var(--white); }
.today-board .section-title { margin: 0; }
.today-head { gap: 8px; flex-wrap: wrap; }
.today-days { flex-wrap: wrap; margin-top: 10px; }
.today-days .chip { min-height: 40px; }
.today-pick .date-input { min-height: 40px; width: auto; max-width: 100%; }
/* 상태 필터: 좁은 휴대폰에서도 가로 스크롤 없이 줄바꿈 → 모든 칩이 보이고 눌림 */
.chips.today-filters { flex-wrap: wrap; overflow: visible; margin: 8px 0 0; padding: 0; }
.today-count { margin-left: 2px; }
.today-list { display: flex; flex-direction: column; gap: 8px; }
.today-visits { margin-top: 10px; border-color: var(--amber-700); background: var(--amber-50); display: flex; flex-direction: column; gap: 8px; }
.today-row { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.today-row.state-visit_wait { border-color: var(--amber-700); }
.today-row-main { flex: 1; min-width: 0; display: flex; gap: 12px; align-items: flex-start; text-align: left; padding: 10px 12px; background: none; border: 0; cursor: pointer; font: inherit; color: inherit; border-radius: 12px; }
.today-row-main:hover { background: var(--surface); }
.today-time { flex: none; width: 56px; font-size: 18px; font-weight: 800; display: flex; flex-direction: column; }
.today-otherday { font-size: 11px; font-weight: 600; color: var(--ink-500); }
.today-info { min-width: 0; display: flex; flex-direction: column; gap: 2px; overflow-wrap: anywhere; }
.today-line1 { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.today-line2, .today-line3 { font-size: 13px; color: var(--ink-500); }
.today-pay { font-size: 13px; font-weight: 600; color: var(--amber-700); }
.today-pay.done { color: var(--green-700); }
.today-visit-btn { flex: none; margin-right: 10px; }
.order-status.warn { background: var(--amber-50); color: var(--amber-700); border: 1px solid var(--amber-700); }
.order-status.info { background: var(--blue-50); color: var(--blue-700); }
@media (max-width: 420px) {
  .today-row { flex-direction: column; align-items: stretch; gap: 0; }
  .today-visit-btn { margin: 0 10px 10px; }
  .today-time { width: 48px; font-size: 16px; }
  /* 2026-11-28 ‘방문 확인 대기 · 매장 QR 방문 요청’ 카드(휴대폰): .btn 의 width 100% + 좌우 여백 때문에 버튼이 카드 오른쪽 밖으로 나가던 문제
     → 버튼 너비 = 카드 안쪽(좌우 여백 12px 같게 · 카드 내용 여백과 같은 값) · 다른 날짜 ‘11/21(토)’ = 한 줄 (시간 칸이 글자 폭만큼 넓어짐) */
  .today-visits .today-row { min-width: 0; overflow: hidden; }
  .today-visits .today-visit-btn { width: auto; align-self: stretch; margin: 0 12px 12px; box-sizing: border-box; }
  .today-visits .today-time { width: auto; min-width: 48px; }
  .today-visits .today-otherday { white-space: nowrap; }
}
/* 예약 시간표: 가로 = 30분 칸 · 세로 = 담당자/상품 · 이름 칸 고정(가로로 넘겨도 보임) · 카드 = 시작 칸부터 소요시간만큼 */
.sched-controls { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-top: 10px; }
.sched-controls .today-days { margin-top: 0; }
.sched-toggle { margin: 0; display: inline-grid; grid-template-columns: repeat(2, auto); }
.sched-toggle .seg-tab { min-height: 40px; padding: 0 14px; }
.sched-controls .btn { width: auto; }
.sched-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 12px; background: var(--white); overscroll-behavior-x: contain; }
.sched { --sched-name-w: 120px; --sched-slot-w: 68px; /* 2026-11-29 46 → 68px: ‘예약 불가’ 한 줄 · ‘+’와 겹치지 않게 */ --sched-half: #d3d8e0; --sched-hour: #9aa2ae; --sched-row: #c3c9d2; display: grid; grid-template-rows: 36px; grid-auto-rows: minmax(58px, auto); position: relative; min-width: 100%; }
.sched-corner, .sched-time { position: sticky; top: 0; background: var(--surface); font-size: 12px; font-weight: 700; color: var(--ink-500); padding: 8px 6px; border-bottom: 1px solid var(--sched-hour); min-height: 34px; z-index: 2; }
/* 2026-11-28 칸 구분선: 30분 세로선(실선) · 정각 세로선(더 진하게) · 담당자 행 가로선 — 머리글과 칸이 같은 선 */
.sched-time { border-left: 1px solid var(--sched-half); white-space: nowrap; box-sizing: border-box; }
.sched-time.hour { border-left: 1px solid var(--sched-hour); color: var(--ink-900, #111); }
.sched-corner { left: 0; z-index: 12; border-right: 1px solid var(--sched-hour); background: var(--surface, #F7F0E1); } /* 2026-11-29 고정 열·머리글 = 칸 내용(z 1~3)보다 위 */
.sched-name { position: sticky; left: 0; z-index: 10; background: var(--white, #FFFFFF); background-clip: padding-box; border-right: 1px solid var(--sched-hour); border-bottom: 1px solid var(--sched-row); padding: 8px 10px; display: flex; flex-direction: column; justify-content: center; gap: 2px; overflow-wrap: anywhere; box-shadow: 2px 0 4px rgba(0, 0, 0, 0.04); }
.sched-name strong { font-size: 14px; }
.sched-count { font-size: 11px; color: var(--ink-400); }
.sched-cell { border-left: 1px solid var(--sched-half); border-bottom: 1px solid var(--sched-row); box-sizing: border-box; min-width: 0; }
.sched-cell.hour { border-left: 1px solid var(--sched-hour); }
/* 영업시간 밖 칸 = 옅게 (24시간 표시 · 예약은 그대로 보임) */
.sched-cell.off { background: #f6f7f9; }
.sched-time.off { color: var(--ink-400); font-weight: 500; }
.sched-corner { white-space: nowrap; }
/* 판매자 메인 맨 위 오른쪽 작은 버튼 (소비자 모드로 전환 · 알림 소리) — 좁으면 줄바꿈 */
.seller-home-header { flex-wrap: wrap; gap: 8px; }
.seller-head-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px; margin-left: auto; }
.seller-head-actions .btn.seller-head-btn { width: auto; min-height: 36px; padding: 0 12px; font-size: 13px; font-weight: 600; border-radius: 999px; white-space: nowrap; }
.sched-card { position: relative; z-index: 1; margin: 3px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; text-align: left; padding: 5px 8px; border: 1px solid var(--blue-100, #cfe0ff); border-left: 4px solid var(--blue-600); border-radius: 8px; background: var(--blue-50); color: inherit; font: inherit; font-size: 12px; line-height: 1.3; cursor: pointer; overflow: hidden; }
.sched-card:hover, .sched-card:focus-visible { background: var(--white); box-shadow: 0 2px 8px rgba(120, 92, 40, 0.22); }
.sched-card > span, .sched-card > strong { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sched-card-time { font-size: 11px; color: var(--ink-500); font-weight: 700; }
.sched-card-buyer { font-size: 13px; }
.sched-card-state { font-size: 11px; font-weight: 700; color: var(--blue-700); }
.sched-card.state-visit_wait { border-left-color: var(--amber-700); background: var(--amber-50); }
.sched-card.state-visit_wait .sched-card-state { color: var(--amber-700); }
.sched-card.state-visited { border-left-color: #7c3aed; background: #f3efff; }
.sched-card.state-visited .sched-card-state { color: #6d28d9; }
.sched-card.state-used { border-left-color: var(--green-700); background: var(--green-50); }
.sched-card.state-used .sched-card-state { color: var(--green-700); }
.sched-card.state-no_show { border-left-color: var(--ink-400); background: var(--surface); }
.sched-card.compact { padding: 4px 3px 4px 5px; gap: 0; }
.sched-card.compact .sched-card-time, .sched-card.compact .sched-card-state { display: none; }
.sched-card.compact > strong, .sched-card.compact > span { white-space: normal; word-break: break-all; text-overflow: clip; font-size: 11px; line-height: 1.25; }
.sched-avail { z-index: 1; align-self: center; margin: 1px 2px; font-size: 10px; font-weight: 700; line-height: 1.15; color: var(--green-700); background: var(--green-50); border-radius: 6px; padding: 1px 2px; text-align: center; white-space: normal; word-break: keep-all; overflow: hidden; }
.sched-notes { margin-top: 6px; }
.sched-legend { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 6px 0 0; font-size: 12px; color: var(--ink-500); }
.sched-legend-item::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 4px; vertical-align: -1px; background: var(--blue-600); }
.sched-legend-item.state-visit_wait::before { background: var(--amber-700); }
.sched-legend-item.state-visited::before { background: #7c3aed; }
.sched-legend-item.state-used::before { background: var(--green-700); }
@media (max-width: 767px) {
  .sched { --sched-name-w: 92px; --sched-slot-w: 72px; } /* 2026-11-29 58 → 72px */
  .sched-name strong { font-size: 13px; }
}
/* 매장 설정 › 담당자 */
.staff-list { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 8px; }
.staff-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.staff-row .input { flex: 1; min-width: 140px; }
.staff-add .input { flex: 1; }

/* 2026-11-25 예약금 입금 식별번호: 글자 칸 · 숫자 = 파란 글자 · 영문 = 검은 글자 · 복사 · 혼동 문자 안내 */
.ref-code { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; max-width: 100%; vertical-align: middle; }
.info-list dd .ref-code { align-items: flex-end; text-align: right; }
.ref-code-row { display: inline-flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px; }
.ref-code-text { display: inline-block; white-space: nowrap; font-family: ui-monospace, "Cascadia Mono", Consolas, "D2Coding", monospace; font-weight: 800; letter-spacing: 0; }
.ref-ch { display: inline-block; text-align: center; min-width: 1.25em; margin-right: 2px; padding: 1px 2px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); color: var(--ink-900, #111); font-size: 15px; line-height: 1.3; }
.ref-code-text.big .ref-ch { font-size: 18px; min-width: 1.2em; }
.ref-ch.digit { color: var(--blue-700); background: var(--blue-50); }
.ref-ch.confusable { border-color: #f59e0b; box-shadow: inset 0 -2px 0 #f59e0b; }
.ref-code .btn.ref-copy { width: auto; flex: none; min-height: 34px; padding: 0 10px; font-size: 13px; }
.ref-code-warn { color: #b45309; font-size: 12px; line-height: 1.4; }
/* 2026-11-25 관리자 사용 중지 안내 (소비자·판매자 화면 머리줄 아래) */
.restriction-notice { margin: 8px 16px 12px; }
.restriction-notice .restriction-line { margin: 6px 0 0; }
.restriction-notice .restriction-btn { display: inline-flex; width: auto; min-height: 40px; padding: 0 14px; margin-top: 10px; font-size: 14px; align-items: center; text-decoration: none; }

/* ---------------- 2026-11-26 멤버십 추천 · 커뮤니티 광고 ---------------- */
.ad-tag.inline.promo { background: var(--black); color: var(--gold); }
.featured-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.featured-cell { min-width: 0; animation: featured-in .35s ease; }
@keyframes featured-in { from { opacity: .3; } to { opacity: 1; } }
.featured-pos { white-space: nowrap; }
.search-recommend { margin-bottom: 4px; }
.search-recommend .store-items.recommend { border: 1px solid var(--blue-100); border-radius: var(--radius); background: var(--blue-50); padding: 0 12px; }
.community-ad { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; margin: 4px 0 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); color: inherit; text-align: left; font: inherit; text-decoration: none; cursor: pointer; overflow: hidden; }
.community-ad.has-img { padding: 0; display: block; }
.community-ad .cad-img { display: block; width: 100%; aspect-ratio: 4 / 1; object-fit: cover; }
.community-ad .ad-tag { position: static; flex: 0 0 auto; }
.community-ad.has-img .ad-tag { position: absolute; top: 8px; left: 8px; }
.community-ad.has-img .cad-text { display: block; padding: 8px 12px 10px; }
.community-ad:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 2px; }
.seller-membership { margin-top: 6px; font-size: 13px; }
.tier-badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-weight: 800; font-size: 12px; background: rgba(255,255,255,.85); color: var(--ink-700); }
.tier-badge.tier-pro { background: var(--blue-100); color: var(--blue-700); }
.tier-badge.tier-pro_max { background: var(--black); color: var(--gold); }

/* 2026-11-28 추천 보상 이체확인증 등록(판매자 휴대폰): 사진 = 카드 안 최대 160×160 미리보기(원본 비율 · 잘림 없음) · ‘사진 크게 보기’ 확대 화면
   (보안 정책상 화면 코드의 style 속성은 적용되지 않으므로 크기는 여기서만 정함) · 긴 계좌·주문번호도 카드 밖으로 밀리지 않게 */
.seller-payout-proof { max-width: 100%; overflow-x: hidden; }
.seller-payout-proof .card { min-width: 0; max-width: 100%; box-sizing: border-box; overflow-wrap: anywhere; }
.seller-payout-proof .info-list dd { min-width: 0; overflow-wrap: anywhere; }
.proof-preview { max-width: 100%; }
.proof-thumb { display: flex; flex-direction: column; align-items: flex-start; max-width: 100%; margin-top: 8px; }
.proof-thumb-frame { position: relative; display: inline-block; max-width: 100%; }
.proof-thumb-btn { display: block; max-width: 100%; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); cursor: zoom-in; }
.proof-thumb-img { display: block; width: auto; height: auto; max-width: min(160px, 100%); max-height: 160px; object-fit: contain; border-radius: 6px; }
.proof-remove { position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: var(--ink-900); color: var(--white); line-height: 1; cursor: pointer; }
.proof-viewer { position: fixed; inset: 0; z-index: 1100; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 16px; box-sizing: border-box; background: rgba(0, 0, 0, .88); }
.proof-viewer-body { flex: 1 1 auto; min-height: 0; width: 100%; display: flex; align-items: center; justify-content: center; }
.proof-viewer-img { display: block; max-width: 100%; max-height: calc(100vh - 110px); width: auto; height: auto; object-fit: contain; }
.proof-viewer-close { flex: none; min-width: 140px; }

/* 2026-11-28 회원탈퇴 화면 */
.btn-danger { background: var(--red-600); color: #fff; border: 0; }
.btn-danger:disabled { opacity: .5; }
.withdraw-change-list, .withdraw-blocker-list, .withdraw-items { margin: 8px 0 0; padding-left: 18px; }
.withdraw-change-list li, .withdraw-items li { margin: 4px 0; line-height: 1.5; overflow-wrap: anywhere; }
.withdraw-blocker-list { list-style: none; padding-left: 0; }
.withdraw-blocker { padding: 10px 0; border-top: 1px solid var(--line); }
.withdraw-blocker:first-child { border-top: 0; }
.withdraw-blocker .row-between { gap: 8px; flex-wrap: wrap; }

/* 2026-11-28 추천 보상금 지급 주체 안내 (휴대폰에서도 줄바꿈 · 읽기 쉬운 크기) */
.reward-payer-notice { font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; word-break: keep-all; }

/* 2026-11-28 홈 ‘좋은 경험’ 더 보기 = 동네 전체 포토후기 (#/reviews) */
.feed-reviews { display: grid; gap: 12px; margin-top: 8px; }
.feed-review { min-width: 0; }
.feed-review-store { display: inline-flex; align-items: baseline; gap: 2px; padding: 0; text-align: left; max-width: 100%; overflow-wrap: anywhere; }
.feed-review-text { font-size: 14.5px; overflow-wrap: anywhere; }
.feed-review .rv-pick { width: 100%; box-sizing: border-box; margin-top: 4px; }
.feed-sentinel { height: 1px; }
.feed-foot { padding: 16px 0 8px; text-align: center; }
.feed-end { margin: 0; }
@media (min-width: 768px) { .feed-reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 2026-11-28 후기 상세 (#/reviews/:id) · 홈 카드 ‘후기 상세 보기’ */
.review-detail-card { display: flex; flex-direction: column; gap: 6px; }
.review-detail-store { padding: 0; text-align: left; font-size: 16px; overflow-wrap: anywhere; }
.review-detail-photos { display: grid; gap: 8px; margin-top: 6px; }
.review-detail-photos img { width: 100%; max-height: 420px; object-fit: contain; border-radius: var(--radius-sm); background: var(--surface); display: block; }
.review-detail-text { overflow-wrap: anywhere; }
.review-detail-actions { display: grid; gap: 8px; margin-top: 16px; padding-bottom: 16px; }

/* 2026-11-28 담당자별 시간표 ‘+ 시간 막기 / − 시간 열기’ */
/* 빈 칸(누르면 ‘+ 시간 막기’) = 버튼이지만 다른 칸과 같은 구분선 유지 (기본 버튼 테두리만 없앰) */
.sched-cell.free { appearance: none; -webkit-appearance: none; border-top: 0; border-right: 0; border-radius: 0; padding: 0; margin: 0; background: transparent; cursor: pointer; font: inherit; color: inherit; width: 100%; height: 100%; display: block; }
.sched-cell.free:hover, .sched-cell.free:focus-visible { background: var(--blue-50); outline: none; }
.sched-cell.free.picked { background: var(--blue-100); box-shadow: inset 0 0 0 2px var(--blue-500); }
.sched-block { z-index: 1; margin: 3px 2px; border: 1px dashed var(--ink-500); border-radius: 8px; background: repeating-linear-gradient(135deg, var(--surface) 0 6px, var(--white) 6px 12px);
  color: var(--ink-700); font: inherit; font-size: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer; min-width: 0; overflow: hidden; }
.sched-block small { font-size: 10.5px; color: var(--ink-500); white-space: nowrap; }
.sched-block-label { font-weight: 700; white-space: nowrap; }
.sched-block.picked { box-shadow: 0 0 0 2px var(--blue-500); }
/* 2026-11-29 칸별 ‘−’ 예약 막기 · ‘+’ 차단 해제 (칸 오른쪽 위 · 휴대폰에서도 누르기 쉬운 크기) · 진행 중 예약 표시 */
.sched-mini { z-index: 3; align-self: start; justify-self: end; width: 24px; height: 24px; margin: 2px; padding: 0; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink-700); font-size: 16px; font-weight: 700; line-height: 1; cursor: pointer; }
.sched-mini.minus { opacity: .55; }
.sched-mini.minus:hover, .sched-mini.minus:focus-visible { opacity: 1; border-color: var(--red-600, #c62828); color: var(--red-600, #c62828); }
.sched-mini.plus { border-color: var(--blue-500); color: var(--blue-500); }
.sched-held { z-index: 1; align-self: center; margin: 1px 2px; font-size: 10px; font-weight: 700; line-height: 1.15; color: var(--ink-500); background: var(--surface); border-radius: 6px; padding: 2px 3px; text-align: center; }
@media (hover: none) { .sched-mini.minus { opacity: .8; } }
/* 2026-11-29 시간표 표시 보완
   · 머리글(시간)은 위쪽 고정 · 칸 내용보다 위 (왼쪽 모서리 칸 아래로는 지나감)
   · 막은 칸: ‘+’ = 칸 오른쪽 위 · ‘예약 불가’ = 그 아래 한 줄 (겹치지 않음) · 글자 진하게 + 흰 바탕 띠로 대비 높임
   · ‘−/+’ 버튼은 칸 내용 층(z 2) → 가로로 넘기면 고정 열(z 10) 아래로 가려지고 눌리지 않음 */
.sched-time { z-index: 6; }
.sched-mini { z-index: 2; }
.sched-block { justify-content: flex-start; padding: 28px 1px 5px; color: var(--ink-900, #17140F); border-color: var(--ink-700, #3D3729); } /* 위쪽 28px = ‘+’ 버튼 자리 (글자와 겹치지 않음 · 내용이 많으면 줄 높이가 늘어남) */
.sched-block-label { font-size: 12px; line-height: 1.2; color: var(--ink-900, #17140F); background: var(--white, #FFFFFF); padding: 2px 3px; border-radius: 5px; max-width: 100%; }
.sched-block small { color: var(--ink-700, #3D3729); background: var(--white, #FFFFFF); padding: 0 4px; border-radius: 4px; }
.block-panel .row-inline { flex-wrap: wrap; gap: 8px; }
.block-panel .select { width: auto; min-width: 120px; }

/* 2026-11-28 담당자 선택 창 · 담당자 사진 */
.staff-summary-row { gap: 8px; align-items: center; flex-wrap: wrap; }
.staff-summary { font-weight: 700; overflow-wrap: anywhere; }
.staff-modal-overlay { align-items: center; padding: 16px; }
.staff-modal { max-width: 420px; border-radius: 18px; padding: 16px 18px 18px; }
.staff-modal-list { display: grid; gap: 2px; margin: 8px 0; max-height: 40vh; overflow: auto; }
.staff-modal-list .staff-pick { display: flex; align-items: center; gap: 10px; padding: 10px 4px; border-bottom: 1px solid var(--line); }
.staff-add-box { display: grid; gap: 8px; margin-top: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.staff-add-box .input { width: 100%; box-sizing: border-box; }
.staff-photo-pick { gap: 8px; align-items: center; flex-wrap: wrap; }
.staff-thumb { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--surface); }
.staff-row { flex-wrap: wrap; }
.staff-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; margin: 8px 0; }
.staff-card { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); font: inherit; color: inherit; cursor: pointer; min-width: 0; }
.staff-card.active { border-color: var(--blue-500); background: var(--blue-50); }
.staff-photo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--surface); display: grid; place-items: center; font-size: 26px; }
.staff-card-name { font-size: 13.5px; font-weight: 700; text-align: center; overflow-wrap: anywhere; }

/* 2026-11-28 커뮤니티 작성자 사진 · 공개 프로필 · 메시지 보내기 */
.post-author .author-wrap { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.author-photo-btn { border: 0; padding: 0; background: none; cursor: pointer; line-height: 0; border-radius: 50%; }
.post-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: var(--surface); display: inline-grid; place-items: center; font-weight: 800; font-size: 14px; color: var(--ink-700); line-height: 1; }
.post-author .author-name { border: 0; background: none; padding: 0; font: inherit; font-weight: 800; color: inherit; cursor: pointer; }
.dm-btn { width: auto; min-height: 30px; padding: 0 10px; font-size: 12.5px; }
.profile-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.profile-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--surface); display: inline-grid; place-items: center; font-size: 26px; font-weight: 800; color: var(--ink-700); flex: none; }
.profile-head-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.profile-nickname { font-size: 18px; overflow-wrap: anywhere; }
.profile-head .dm-btn { flex: none; }
.profile-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin-top: 12px; }
.profile-post { position: relative; aspect-ratio: 1 / 1; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; padding: 0; background: var(--white); cursor: pointer; font: inherit; color: inherit; min-width: 0; }
.profile-post img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-post.text { padding: 8px; text-align: left; background: var(--surface); }
.profile-post-text { font-size: 12.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.profile-post-count { position: absolute; right: 4px; top: 4px; background: rgba(0,0,0,.55); color: #fff; font-size: 11px; border-radius: 6px; padding: 1px 5px; }
@media (min-width: 768px) { .profile-posts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; } }

/* 2026-11-28 작성자 프로필 글 목록 (세로 카드) · 긴 본문 더 보기 · 한 줄 소개 공개 */
.post-body.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-more { display: inline-block; margin: -2px 0 6px; padding: 0; }
.profile-post-list { margin-top: 12px; }
.profile-end { text-align: center; margin: 12px 0; }
.profile-intro { margin: 2px 0; overflow-wrap: anywhere; }
.intro-extra { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: -4px 0 8px; }
.intro-extra .hint { flex-basis: 100%; margin: 0; }

/* 2026-11-28 문의·의견 */
.support-list { display: grid; gap: 8px; }
.support-item { display: flex; flex-direction: column; gap: 4px; width: 100%; text-align: left; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); font: inherit; color: inherit; cursor: pointer; }
.support-title { overflow-wrap: anywhere; }
.support-card .pre, .support-answer .pre { overflow-wrap: anywhere; margin: 8px 0 0; }
.support-answer { border-color: var(--blue-100); background: var(--blue-50); }
.seller-support-link { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 12px 14px; font: inherit; color: inherit; cursor: pointer; }
.seller-support-text { flex: 1 1 auto; min-width: 0; }

/* 2026-11-28 홈 배너 영상 (사진 배너와 같은 높이 · 재생 버튼) */
.banner-slide.has-video { cursor: pointer; }
.banner-video { background: #111; }
.banner-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; width: 56px; height: 56px; border-radius: 50%; border: 0; background: rgba(17, 24, 39, .62); color: #fff; font-size: 22px; display: grid; place-items: center; cursor: pointer; }
.banner-play[hidden] { display: none; }
.banner-slide.has-video .banner-text, .banner-slide.has-video .ad-tag { z-index: 1; }

/* ---------- 2026-11-28 홈 메인 광고 배너 사진 배치 (관리자 미리보기 admin.css .hb- 와 같은 값) ----------
   휴대폰: 높이(2.4:1)·글자 배치(왼쪽 아래) 그대로 · 사진을 오른쪽 76% 폭으로 살짝 줄이고 위쪽(16%) 기준 → 캐릭터 머리·더듬이까지 보임
   PC(768px~): 높이 200px(1024px~ 220px)로 낮춤 · 사진은 원본 비율 그대로 전부 보이게(잘림 없음) 오른쪽에 · 글자는 왼쪽 가운데
   영상 배너는 기존 그대로(꽉 채움 · 같은 높이) · 글자만 있는 배너는 기존 그대로 */
.banner-slide.has-img:not(.has-video) { background: var(--black); }
.banner-slide.has-img:not(.has-video) .banner-img { left: auto; right: 0; width: 76%; object-position: 50% 16%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24%); mask-image: linear-gradient(90deg, transparent 0, #000 24%); }
.banner-slide.has-img::after { background: linear-gradient(90deg, rgba(23, 20, 15, .82) 0%, rgba(23, 20, 15, .45) 42%, rgba(23, 20, 15, 0) 68%), linear-gradient(180deg, rgba(23, 20, 15, 0) 45%, rgba(23, 20, 15, .55)); }
.banner-slide.has-img .banner-text { text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.banner-slide.has-img .banner-text span { opacity: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* ‘광고’ 표시: 어두운 사진 위에서도 보이게 골드 바탕 + 검정 글씨 */
.banner-slide .ad-tag { background: var(--gold); color: var(--black); box-shadow: 0 1px 4px rgba(0, 0, 0, .35); font-size: 12px; padding: 3px 8px; }
@media (max-width: 767px) {
  .banner-slide.has-img .banner-text { padding: 14px 16px; padding-top: 36px; }
  .banner-slide.has-img .banner-text strong { font-size: 18px; }
}
@media (min-width: 768px) {
  .banner-slide { aspect-ratio: auto; height: 200px; min-height: 0; }
  .banner-slide.has-img:not(.has-video) { align-items: center; background: radial-gradient(circle at 78% 50%, #2A2016 0, var(--black) 62%); }
  .banner-slide.has-img:not(.has-video) .banner-img { right: 6%; width: auto; max-width: 56%; height: 100%; object-fit: contain; object-position: 50% 50%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%); }
  .banner-slide.has-img:not(.has-video)::after { background: linear-gradient(90deg, rgba(23, 20, 15, .7) 0%, rgba(23, 20, 15, .25) 45%, rgba(23, 20, 15, 0) 60%); }
  .banner-slide.has-img:not(.has-video) .banner-text { max-width: 52%; padding: 24px 36px; }
  .banner-slide .ad-tag { top: 14px; left: 14px; }
}
.banner-backdrop { display: none; }
@media (min-width: 768px) {
  .banner-slide.has-img:not(.has-video) .banner-backdrop { display: block; position: absolute; top: -40px; left: -40px; width: calc(100% + 80px); height: calc(100% + 80px); object-fit: cover; filter: blur(80px) brightness(.32) saturate(1.2); }
}
@media (min-width: 1024px) { .banner-slide { height: 220px; } }

/* ---------- 2026-11-28 법정 표시: 통신판매중개자 고지 · 판매자 정보 · 모아 사업자 정보 · 추천 보상(경제적 이해관계) 표시 ---------- */
.broker-notice { margin: 10px 0; padding: 10px 12px; border-radius: 10px; background: var(--surface, #F5F1E8); color: var(--ink-700, #3D372C); font-size: 13px; line-height: 1.55; }
.cta-bar + .broker-notice, .broker-notice + .cta-bar { margin-top: 8px; }
.seller-info-card summary { cursor: pointer; list-style: revert; }
.seller-info-card .info-list { margin-top: 8px; }
.site-footer { margin: 28px 0 8px; padding: 16px 4px 0; border-top: 1px solid var(--line, #E5DFD3); font-size: 12px; color: var(--ink-500, #6B6457); line-height: 1.6; }
.site-footer .broker-notice { background: none; padding: 6px 0 0; font-size: 12px; }
.site-footer-biz { margin: 0; word-break: keep-all; }
.reward-disclosure { display: block; margin: 0 0 6px; font-size: 12px; line-height: 1.45; color: #7A5A12; background: #FBF3DF; border-radius: 6px; padding: 4px 8px; }
.rv-card .reward-disclosure { display: inline-block; margin: 4px 0; padding: 2px 6px; font-weight: 700; }
/* 2026-11-29 예약형 테이블 설정 (테이블당 최대 인원 × 테이블 수 · 여러 유형) */
.table-types { display: grid; gap: 8px; margin-top: 6px; }
.table-type-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 12px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--white, #FFFFFF); }
.table-type-row label { display: grid; gap: 4px; font-size: 13px; color: var(--ink-700, #3D3729); }
.table-type-row .input.small { width: 84px; }
.table-summary { font-weight: 700; color: var(--ink-900, #17140F); }

/* 2026-11-29 매장 QR·이용 승인: PC·모바일 모두 한 줄에 주문 하나 (위에서 아래로) · 카드 간격 (배치·간격만 · 카드 안 내용·버튼 그대로)
   넓은 화면의 .order-list 2열 격자를 이 화면에서만 1열로 */
.seller-visit .order-list { display: flex; flex-direction: column; gap: 16px; }
.seller-visit .order-list > .seller-order { width: 100%; box-sizing: border-box; margin: 0; }
@media (min-width: 768px) {
  .seller-visit .order-list { display: flex; flex-direction: column; gap: 18px; }
}

/* 2026-11-29 매장 QR·이용 승인: 카드 세로 간격 줄이기 (배치·간격만 · 주문 정보·버튼 그대로)
   화면 너비 = 원래대로 (최대 폭 제한 없음) · 한 줄에 주문 하나 · 글자 크기는 읽기 편하게 유지
   테이블 번호 = ‘테이블 번호 [넓은 입력칸] [저장] [지우기]’ 한 줄 · 저장·지우기 = 글자에 맞는 짧은 버튼 */
.seller-visit .order-list { gap: 8px; }
.seller-visit .seller-order { padding: 8px 12px; gap: 2px; }
.seller-visit .seller-order .mt-8 { margin-top: 4px; }
.seller-visit .seller-order .hint { margin: 0; line-height: 1.45; }
.seller-visit .seller-order .info-list { gap: 2px 12px; font-size: 14px; line-height: 1.45; }
.seller-visit .seller-order .info-list dd.big { font-size: 17px; }
.seller-visit .seller-order .actions { gap: 6px; margin-top: 4px; }
.seller-visit .table-row { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; }
.seller-visit .table-row .field-label.small { flex: none; white-space: nowrap; }
.seller-visit .table-row .row-inline { flex: 1; min-width: 0; flex-wrap: nowrap; gap: 6px; }
.seller-visit .table-row .table-input { flex: 1 1 260px; min-width: 150px; max-width: 360px; min-height: 40px; }
.seller-visit .table-row .btn { flex: none; width: auto; min-width: 0; min-height: 40px; padding: 0 12px; white-space: nowrap; }

/* 2026-11-29 매출·정산 → 매출 분석 (기간 선택 · 4개 메뉴 · 핵심 숫자 · 순매출 그래프) */
.analytics-periods { margin: 0; padding: 0; flex-wrap: wrap; overflow: visible; }
.analytics-custom { flex-wrap: wrap; margin-top: 8px; }
.analytics-custom .input { flex: 1 1 140px; min-width: 0; }
.analytics-range { margin: 6px 0 8px; }
.seg-tabs.analytics-subs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.seg-tabs.analytics-subs .seg-tab { font-size: 13px; padding: 0 4px; word-break: keep-all; line-height: 1.25; }
.analytics-key { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.analytics-key .stat-value { font-size: 17px; word-break: keep-all; overflow-wrap: anywhere; }
.an-change { margin: 4px 0 0; font-size: 15px; }
.an-change .ok { color: var(--green-700); }
.an-chart-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); padding: 10px 8px 4px; }
.an-chart { display: flex; align-items: stretch; gap: 3px; height: 160px; min-width: 100%; }
.an-col { flex: 1 0 14px; display: flex; flex-direction: column; align-items: center; min-width: 14px; }
.an-bar-wrap { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; }
.an-bar { display: block; width: 70%; max-width: 22px; min-height: 0; border-radius: 4px 4px 0 0; background: var(--gold-strong, #CDB07A); }
.an-bar.neg { background: var(--red-600, #DC2626); opacity: .7; }
.an-x { font-size: 10px; color: var(--ink-500); margin-top: 3px; white-space: nowrap; writing-mode: initial; }
.an-col:nth-child(odd) .an-x { visibility: visible; }
@media (max-width: 480px) { .an-col:nth-child(even) .an-x { visibility: hidden; } }
.an-tx { cursor: pointer; }
.an-tx:hover td { background: var(--surface); }

/* 2026-11-29 ‘받는 계좌’ 영역 (소비자 예약금 입금 · 판매자 추천 보상 송금) — 밝은 단색 바탕 · 진한 글씨 · 계좌번호 줄 중간에서 안 끊김 */
.payee-box { margin: 8px 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #FFFFFF; color: var(--ink-900, #17140F); text-align: left; }
.payee-box p { margin: 0; }
.payee-title { font-size: 13px; font-weight: 700; color: var(--ink-700, #3D3729); margin-bottom: 6px !important; }
.payee-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-size: 20px; font-weight: 800; line-height: 1.3; color: var(--ink-900, #17140F); }
.payee-bank { white-space: nowrap; }
.payee-no { white-space: nowrap; word-break: keep-all; overflow-wrap: normal; letter-spacing: .3px; font-variant-numeric: tabular-nums; }
.payee-sub { font-size: 15px; margin-top: 6px !important; color: var(--ink-900, #17140F); }
.payee-sub b { font-weight: 800; }
.payee-amount { font-size: 18px; font-variant-numeric: tabular-nums; }
.payee-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.payee-actions .btn { min-height: 40px; }
.payee-note { margin-top: 8px !important; font-size: 12.5px; line-height: 1.5; color: var(--ink-500, #6E6656); }
.info-list dd.payee-dd { grid-column: 1 / -1; text-align: left; word-break: normal; }
@media (max-width: 360px) { .payee-line { font-size: 18px; } }

/* 2026-11-29 매장 찾기: 업종 소분류 버튼 = 가로로 길게 이어져 잘리지 않게 줄바꿈 (한 줄에 다 들어가면 한 줄 · 길면 두 줄 이상)
   모바일 = 화면 너비에 맞춰 자연스럽게 줄바꿈 · 모든 항목을 누를 수 있음 · 버튼 안 이름은 한 줄 (홈 화면 등 다른 화면의 소분류 줄은 그대로) */
.screen.search .sub-chips { flex-wrap: wrap; overflow: visible; margin: 12px 0 0; padding: 2px 0 6px; gap: 8px 6px; }
.screen.search .sub-chips .chip { flex: 0 0 auto; white-space: nowrap; max-width: 100%; }
@media (min-width: 768px) {
  .screen.search .sub-chips { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
}

/* 2026-11-29 이용약관 · 개인정보 처리방침 전문 화면 · 가입 화면 전문 보기 · 홈 하단 링크 */
.legal-page .container { padding-bottom: 40px; }
.legal-body { margin-top: 8px; }
.legal-section { margin: 18px 0; }
.legal-section h3 { font-size: 15px; margin: 0 0 6px; }
.legal-section p, .legal-section li { font-size: 14px; line-height: 1.65; margin: 4px 0; word-break: keep-all; overflow-wrap: anywhere; }
.legal-section ul { padding-left: 18px; margin: 4px 0; }
.legal-operator .info-list { font-size: 14px; }
.terms-link { margin: 4px 0 0; font-size: 13px; }
.terms-link a, .site-footer-links a { text-decoration: underline; }
.site-footer-links { margin: 8px 0; font-size: 13px; }

/* 2026-12-01 판매자 신청 ‘매장 주소’ 검색: 입력칸 바로 아래 결과 · 고른 주소 · 상세주소 */
.addr-results { list-style: none; margin: 0; padding: 4px; border: 1px solid var(--gold-strong); border-radius: var(--radius-sm); background: var(--white); max-height: 280px; overflow-y: auto; box-shadow: var(--shadow); }
.addr-results li + li { border-top: 1px solid var(--line); }
.addr-result { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; min-height: 48px; padding: 10px 12px; border: 0; background: transparent; text-align: left; cursor: pointer; font: inherit; color: var(--ink-900); border-radius: 8px; }
.addr-result:hover, .addr-result:focus-visible { background: var(--surface); }
.addr-road { font-size: 15px; font-weight: 600; word-break: keep-all; overflow-wrap: anywhere; }
.addr-sub { font-size: 12px; color: var(--ink-500); }
.addr-chosen { display: flex; align-items: center; gap: 8px; padding: 12px; border: 1px solid var(--gold-strong); border-radius: var(--radius-sm); background: var(--blue-50); font-weight: 600; }
.addr-chosen-text { flex: 1; min-width: 0; overflow-wrap: anywhere; word-break: keep-all; }
.addr-change { flex: none; padding: 6px 10px; min-height: 36px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink-700); font: inherit; font-size: 13px; cursor: pointer; }
.addr-link { padding: 0; border: 0; background: none; color: var(--blue-700); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.addr-warn { color: var(--amber-700); }

/* 2026-12-01 휴대폰 번호 인증 → 계정 연결 (내 정보 수정 · 첫 예약) */
.phone-link { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.phone-link-title { margin: 0; }
.phone-link-row { display: flex; gap: 8px; align-items: center; }
.phone-link-row .input { flex: 1; min-width: 0; }
.phone-link-row .btn { flex: none; white-space: nowrap; }
.phone-link[data-linked="true"] { background: var(--blue-50); border-color: var(--gold-strong); }

/* 2026-12-01 가입 화면 ‘인증하기’ (인증번호 칸 바로 아래) · ‘휴대폰 인증 완료’ */
.signup-verify-btn { width: 100%; min-height: 48px; }
.signup-verified { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.signup-verified .link { margin-left: auto; }

/* 2026-12-01 판매자 예약 알림 설정 (알림 수신 번호 · 요일별 영업시간 · 휴무일) */
.notify-settings .row.gap-8 { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.notify-settings .row.gap-8 .input { flex: 1 1 160px; min-width: 0; }
.notify-hours { display: grid; gap: 6px; margin-top: 8px; }
.notify-hours-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto minmax(0, 1fr) auto; gap: 6px; align-items: center; }
.notify-hours-row .input-time { min-width: 0; padding: 6px 8px; }
.notify-hours-row .check { white-space: nowrap; font-size: 0.9em; }
/* 2026-12-02 기존 회원 휴대폰 인증 안내창 (로그인 직후 · 예약 신청 직전) */
/* (변경 2026-12-02) 아이폰 카카오톡 브라우저: 가입 화면과 같은 입력칸·버튼 · 한 줄씩 세로 · 같은 너비 · 안쪽 테두리 없음 · 키보드가 올라오면 보이는 영역 안에서 스크롤 */
.phone-prompt-backdrop { position: fixed; inset: 0; z-index: 1100; background: rgba(17, 24, 39, .45); display: flex; align-items: flex-start; justify-content: center; padding: 16px 12px; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; box-sizing: border-box; }
.phone-prompt { width: 100%; max-width: 420px; margin: auto 0; padding: 20px 16px; background: var(--white); border-radius: var(--radius); box-shadow: 0 12px 40px rgba(17, 24, 39, .25); box-sizing: border-box; display: flex; flex-direction: column; gap: 10px; }
.phone-prompt-title { font-size: 18px; display: block; line-height: 1.4; }
.phone-prompt .hint { margin: 0; }
.phone-link-stack { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 0; padding: 0; border: 0; background: none; box-shadow: none; }
.phone-link-stack .input, .phone-link-stack .btn, .phone-prompt-later { width: 100%; min-width: 0; box-sizing: border-box; margin: 0; }
.phone-link-stack .input { min-height: 52px; letter-spacing: .02em; }
.phone-link-stack .btn, .phone-prompt-later { min-height: 50px; white-space: nowrap; }
.phone-link-stack .hint, .phone-link-stack .error { margin: 0; }
.phone-prompt-later { border: 1px solid var(--line); }
/* 2026-12-02 판매자 결제 화면 단말기 안내 (PC·휴대폰 모두 줄바꿈 자연스럽게) */
.terminal-fallback-notice { word-break: keep-all; overflow-wrap: anywhere; line-height: 1.6; font-size: 14px; }
/* 2026-12-02 담당자 선택 창: 담당자별 예약 알림 이메일 한 줄 */
.staff-pick-row { display: flex; flex-direction: column; gap: 2px; }
.staff-pick-email { margin-left: 30px; font-size: 13px; overflow-wrap: anywhere; }
/* 2026-12-02 알림 설정 · 휴대폰 알림 안내 */
.push-steps { margin: 8px 0 0; padding-left: 20px; line-height: 1.6; word-break: keep-all; }
.push-steps li + li { margin-top: 4px; }

/* 2026-12-02 홈 화면 추가·알림 설정 안내 (/#/help/push · 알림 설정 · 알림 목록 · 관리자 도움말) */
.push-howto-intro { margin: 8px 0 0; line-height: 1.6; word-break: keep-all; font-weight: 600; }
.push-howto-lead { margin: 4px 0 0; word-break: keep-all; }
.push-howto-device .section-title { margin-top: 0; }
.push-howto-open { white-space: normal; text-align: left; }

/* 2026-12-02 담당자 삭제 확인창 · 삭제 불가(배정 예약) 안내 */
.staff-dialog-actions { display: flex; gap: 8px; margin-top: 4px; }
.staff-dialog-actions .staff-dialog-btn { flex: 1 1 0; min-height: 48px; }
.staff-block-list { margin: 0; padding-left: 18px; line-height: 1.6; max-height: 40vh; overflow-y: auto; }
.staff-block-list .btn-text { text-align: left; padding: 4px 0; white-space: normal; word-break: keep-all; }
.staff-sole-warn { border-left: 3px solid var(--gold-strong); padding: 2px 0 2px 10px; margin: 4px 0; } /* 2026-12-03 이 담당자만 맡는 상품 안내 */
