* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

/* 초기 로딩 오버레이 */
.app-loading {
  position: fixed; inset: 0; z-index: 3000; background: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.35s ease;
}
.app-loading.hide { opacity: 0; pointer-events: none; }
.app-loading-anim { width: 70px; height: 70px; }

html, body {
  touch-action: pan-x pan-y;
}

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f5f5f0;
  color: #1a1a1a;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  /* 텍스트/이미지 선택·드래그 방지 (앱 느낌). 입력 요소는 아래에서 예외 처리 */
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
/* 입력/검색/제보 폼은 선택·붙여넣기 가능하도록 예외 */
input, textarea, [contenteditable="true"], select {
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}
/* 이미지·링크 끌어당기기(드래그) 방지 */
img, a { -webkit-user-drag: none; user-drag: none; }

/* ===== PC 네브바 ===== */
.pc-nav {
  width: 72px;
  flex-shrink: 0;
  background: #39395c;
  display: flex;
  flex-direction: column;
  z-index: 300;
}

.pc-nav-logo {
  height: 100px;
  background: #e82a2d;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pc-nav-tabs {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding-top: 0;
}

.pc-nav-tab {
  width: 72px;
  height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: none;
  background: none;
  cursor: pointer;
  color: rgba(255,255,255,0.45);
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 11px;
  font-weight: 700;
  transition: color 0.15s, background 0.15s;
  padding: 0;
}
.pc-nav-tab.active { color: #39395c; background: white; }
.pc-nav-tab:hover:not(.active) { color: rgba(255,255,255,0.7); }

.pc-nav-auth {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding-bottom: 24px;
  flex-shrink: 0;
}
/* 하단 MY 영역 (로그인 전/후) */
.pc-nav-my-guest, .pc-nav-my-user {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.pc-nav-my-login-group {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.pc-nav-my-providers { display: flex; align-items: center; gap: 4px; }
.pc-nav-my-providers img { width: 16px; height: 16px; display: block; }
.pc-nav-my-guest-text {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px; font-weight: 400; line-height: 16px; color: #fff; text-align: center;
}
.pc-nav-my-guest-text strong { font-weight: 700; }
.pc-nav-my-btn {
  border: none; cursor: pointer;
  background: rgba(255,255,255,0.16); color: #fff;
  border-radius: 4px; height: 24px; padding: 4px 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 11px; font-weight: 600;
}
.pc-nav-my-btn:hover { background: rgba(255,255,255,0.24); }
.pc-nav-my {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  border: none; background: none; padding: 0; cursor: pointer;
}
.pc-nav-my-avatar {
  width: 32px; height: 32px; border-radius: 50%; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.16); flex-shrink: 0;
}
.pc-nav-my-avatar img { width: 32px; height: 32px; object-fit: cover; }
.pc-nav-my-name {
  max-width: 60px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px; font-weight: 700; color: #fff;
}
.pc-nav-login-btn, .pc-nav-logout-btn {
  border: none;
  cursor: pointer;
  background: rgba(255,255,255,0.16);
  color: white;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 11px;
  font-weight: 400;
  height: 24px;
  padding: 4px 6px;
  border-radius: 4px;
}
.pc-nav-withdraw-btn {
  border: none;
  cursor: pointer;
  background: transparent;
  color: rgba(255,255,255,0.5);
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 10px;
  font-weight: 400;
  height: 18px;
  padding: 0;
  text-decoration: underline;
}
.pc-nav-profile-btn {
  border: none;
  cursor: pointer;
  background: rgba(255,255,255,0.16);
  color: white;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 11px;
  font-weight: 400;
  height: 24px;
  padding: 4px 6px;
  border-radius: 4px;
}
.pc-nav-user {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.pc-nav-user-name {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: white;
}

/* ===== 간편로그인 시트 ===== */
.login-modal-handle-wrap { display: none; }
.login-modal-header {
  display: flex; align-items: center; gap: 8px;
  min-height: 60px;
  padding: 16px 20px 20px;
}
.login-modal-header h2 {
  flex: 1;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px; font-weight: 600; color: #1a1a1a;
  margin: 0;
}
.login-modal-header .modal-close {
  display: flex; align-items: center; justify-content: center;
  width: 16px; height: 16px;
  border: none; background: none; padding: 0; cursor: pointer;
}
.login-modal .login-modal-body { display: flex; flex-direction: column; gap: 10px; padding: 0 20px 20px; }
.login-provider-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 56px; padding: 0 20px; border-radius: 8px;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px; font-weight: 500;
  text-decoration: none; cursor: pointer;
}
.login-provider-btn span:not(.login-provider-spacer) { flex: 1; text-align: center; }
.login-provider-spacer { width: 24px; height: 24px; flex-shrink: 0; }
.login-provider-kakao { background: #FEE404; color: #1a1a1a; }
.login-provider-naver { background: #08C659; color: white; }
.login-modal-header-spacer { display: none; }
/* PC: Figma 디자인(폭 320px, 타이틀 가운데정렬, 그림자)에 맞춤 */
@media (min-width: 641px) {
  .modal.login-modal { width: 320px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
  .login-modal-header { padding-top: 20px; }
  .login-modal-header h2 { text-align: center; }
  .login-modal-header-spacer { display: block; width: 16px; height: 16px; flex-shrink: 0; }
}

/* ===== 회원탈퇴 바텀시트 ===== */
/* 열기/닫기 애니메이션 (오버레이 페이드 + 시트 슬라이드/스케일) */
.modal-overlay.withdraw-overlay {
  display: flex;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.modal-overlay.withdraw-overlay.open { opacity: 1; visibility: visible; pointer-events: auto; }
.modal-overlay.withdraw-overlay .login-modal {
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (max-width: 640px) {
  .modal-overlay.withdraw-overlay .login-modal { transform: translateY(100%); }
  .modal-overlay.withdraw-overlay.open .login-modal { transform: translateY(0); }
}
@media (min-width: 641px) {
  .modal-overlay.withdraw-overlay .login-modal { transform: scale(0.96); }
  .modal-overlay.withdraw-overlay.open .login-modal { transform: scale(1); }
}

.withdraw-message {
  display: flex; flex-direction: column; gap: 8px;
  padding: 16px 20px 32px; width: 100%; text-align: center;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
}
.withdraw-message-title { font-size: 20px; font-weight: 500; letter-spacing: -0.4px; color: #000; }
.withdraw-message-desc { font-size: 16px; font-weight: 400; color: #333; }
.withdraw-actions { display: flex; gap: 8px; padding: 0 20px 20px; width: 100%; }
.withdraw-btn {
  height: 64px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 20px; border: none; cursor: pointer;
}
.withdraw-btn-cancel { flex: 4 1 0; background: #fff; border: 1px solid rgba(170,170,170,0.87); color: #000; font-weight: 400; }
.withdraw-btn-danger { flex: 6 1 0; background: #e82a2d; color: #fff; font-weight: 700; }

/* 공통 알림 팝업: 타이틀 항상 중앙정렬, 빈 서브텍스트 숨김 */
.alert-popup .login-modal-header h2 { text-align: center; }
.alert-popup .withdraw-message-desc:empty { display: none; }

/* PC 회원탈퇴 팝업: 타이틀 중앙정렬(X 없음) + 메시지/버튼 축소 (Figma 1169:2959) */
@media (min-width: 641px) {
  .withdraw-overlay .modal-close { display: none; }
  .withdraw-overlay .login-modal-header h2 { text-align: center; }
  .withdraw-overlay .withdraw-message { padding: 24px 20px; }
  .withdraw-overlay .withdraw-message-title { font-size: 16px; letter-spacing: -0.32px; }
  .withdraw-overlay .withdraw-message-desc { font-size: 14px; }
  .withdraw-overlay .withdraw-btn { height: 48px; font-size: 16px; }
}

@media (max-width: 640px) {
  .modal-overlay.login-overlay { align-items: flex-end; }
  .modal.login-modal {
    height: auto; max-height: 100dvh;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 8px rgba(0,0,0,0.08);
    position: static;
    align-self: flex-end;
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .login-modal-handle-wrap {
    display: block;
    height: 20px; padding: 8px 10px;
    box-sizing: border-box;
  }
}

/* ===== 간편로그인 가입 직후: 추가 정보 입력 / 가입완료 ===== */
.fullpage-overlay {
  display: none; position: fixed; inset: 0;
  background: #fff; z-index: 2000;
  flex-direction: column;
}
.fullpage-overlay.open { display: flex; }
.signup-page {
  flex: 1; display: flex; flex-direction: column;
  max-width: 480px; width: 100%; margin: 0 auto;
  height: 100%; position: relative;
}
.signup-content {
  flex: 1; overflow-y: auto;
  padding: 40px 20px 0; display: flex; flex-direction: column; gap: 24px;
}
.signup-title-wrap { display: flex; flex-direction: column; gap: 8px; }
.signup-title-wrap h2 {
  font-size: 26px; font-weight: 500; color: #000;
  letter-spacing: -0.52px; line-height: normal;
}
.signup-subtitle { font-size: 16px; color: #333; line-height: normal; }
.signup-hint {
  display: flex; align-items: flex-start; gap: 6px;
  font-size: 14px; line-height: 22px; color: #555;
}
.signup-hint img { flex-shrink: 0; margin-top: 3px; }
.signup-footer {
  flex-shrink: 0; display: flex; gap: 8px;
  padding: 20px 20px 24px;
}
.signup-btn-cancel {
  flex: 4 1 0; height: 56px;
  background: #fff; border: 1px solid rgba(170,170,170,0.87); border-radius: 8px;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px; font-weight: 400; color: #000; cursor: pointer;
}
.signup-btn-confirm {
  flex: 6 1 0; height: 56px;
  background: #e82a2d; border: none; border-radius: 8px;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px; font-weight: 700; color: #fff; cursor: pointer;
}
/* PC: 추가 정보 입력은 풀페이지 대신 Figma 디자인의 가운데 카드 팝업으로 (node 1178:12354) */
@media (min-width: 641px) {
  #signupInfoOverlay { background: rgba(0,0,0,0.5); align-items: center; justify-content: center; }
  #signupInfoOverlay .signup-page {
    flex: 0 1 auto; width: 360px; max-width: calc(100vw - 40px);
    height: auto; max-height: 85vh; margin: 0;
    background: #fff; border-radius: 16px; overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  }
  #signupInfoOverlay .signup-content { flex: 0 1 auto; padding: 20px 20px 0; }
  #signupInfoOverlay .signup-title-wrap { gap: 24px; }
  #signupInfoOverlay .signup-title-wrap h2 { font-size: 18px; font-weight: 600; text-align: center; }
  #signupInfoOverlay .signup-footer { padding: 24px 20px 20px; }
  #signupInfoOverlay .signup-btn-cancel,
  #signupInfoOverlay .signup-btn-confirm { height: 48px; font-size: 16px; }
  /* PC: input/select/트리거를 협찬 제보하기 기준(48px/16px)으로 축소 */
  #signupInfoOverlay .form-group input,
  #signupInfoOverlay .form-group select,
  #signupInfoOverlay .custom-select-trigger { height: 48px; font-size: 16px; }
  #signupInfoOverlay .url-id-row .url-domain-prefix { font-size: 16px; }
  /* 하단 info 힌트도 컴팩트 PC 카드에 맞게 */
  #signupInfoOverlay .signup-subtitle { font-size: 14px; }
  #signupInfoOverlay .signup-hint { font-size: 13px; line-height: 20px; }
}

.signup-done-content {
  flex: 1; justify-content: center; align-items: center; text-align: center;
  padding: 40px 20px 0;
}
.signup-done-img {
  width: 136px; height: 136px; object-fit: contain;
}
.signup-done-content h2 {
  font-size: 20px; font-weight: 500; color: #000;
  letter-spacing: -0.4px; line-height: normal;
}
.signup-done-content .signup-subtitle { text-align: center; }

/* PC: 가입완료는 풀페이지 대신 가운데 팝업 + 캐릭터 이미지가 상단에 걸침 (node 1178:12682) */
@media (min-width: 641px) {
  #signupDoneOverlay { background: rgba(0,0,0,0.32); align-items: center; justify-content: center; }
  #signupDoneOverlay .signup-page {
    flex: 0 1 auto; width: 320px; max-width: calc(100vw - 40px);
    height: auto; margin: 0; position: relative;
    background: #fff; border-radius: 16px; overflow: visible;
    box-shadow: 0 8px 24px rgba(0,0,0,0.16);
  }
  #signupDoneOverlay .signup-done-content {
    flex: 0 1 auto; overflow: visible;
    padding: 100px 20px 24px; gap: 8px;
  }
  #signupDoneOverlay .signup-done-img {
    position: absolute; top: -50px; left: 50%; transform: translateX(-50%); z-index: 1;
  }
  #signupDoneOverlay .signup-done-content h2 { font-size: 16px; letter-spacing: -0.32px; }
  #signupDoneOverlay .signup-done-content .signup-subtitle { font-size: 14px; }
  #signupDoneOverlay .signup-footer { padding: 0 20px 20px; }
  #signupDoneOverlay .signup-btn-confirm { height: 48px; font-size: 16px; }
}

/* ===== 개인정보처리방침 / 이용약관 팝업 ===== */
.policy-modal { max-width: 480px; }
.policy-modal .modal-body p { font-size: 14px; line-height: 1.6; color: #555; }
.policy-modal .modal-body .about-section-title { font-size: 15px; font-weight: 700; color: #1a1a1a; margin-bottom: 6px; }

/* ===== PC 지도 상단 검색 + 칩 바 ===== */
.pc-map-top {
  position: absolute;
  top: 20px; left: 20px;
  right: 20px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.pc-map-top > * { pointer-events: auto; }

.pc-map-top-row1 {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  pointer-events: none;
}
.pc-map-top-row1 > * { pointer-events: auto; }

.pc-search-wrap {
  width: 320px;
  flex-shrink: 0;
  background: white;
  border: 2px solid transparent;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  height: 56px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 10px;
  position: relative;
}
.pc-search-wrap:focus-within {
  outline: 2px solid #e82a2d;
  outline-offset: -2px;
}
.pc-search-icon { color: #bbb; }
.pc-search-wrap:focus-within .pc-search-icon { color: #e82a2d; }
.pc-search-wrap input {
  flex: 1; min-width: 0;
  border: none; outline: none;
  font-size: 16px;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #333; background: none;
  padding-right: 24px;
}
.pc-search-wrap input::placeholder { color: #bbb; }
.pc-search-wrap .btn-input-clear {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.pc-stat-pill {
  flex-shrink: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  height: 56px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 16px;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  white-space: nowrap;
}
.pc-stat-label { display: flex; align-items: center; gap: 6px; }
.pc-stat-label span { font-size: 15px; color: #555; }
.pc-stat-value { display: flex; align-items: center; gap: 4px; }
.pc-stat-value strong { font-size: 18px; color: #000; font-weight: 700; }
.pc-stat-value span { font-size: 15px; color: #555; }

.pc-chips-row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  flex-wrap: nowrap;
  box-sizing: border-box;
  width: calc(100% + 20px);
  padding: 6px 20px 10px 0;
  margin: -6px 0 -10px;
}
.pc-chips-row::-webkit-scrollbar { display: none; }

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

.filter-chip {
  display: flex; align-items: center; gap: 4px;
  height: 40px; padding: 0 14px;
  border-radius: 20px;
  border: 1px solid #ddd;
  background: white;
  font-size: 16px; font-weight: 400;
  cursor: pointer; white-space: nowrap;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  transition: all 0.15s; color: #333;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.filter-chip img { border-radius: 4px; display: block; flex-shrink: 0; }
.filter-chip:hover { border-color: #bbb; }
.filter-chip.active { background: #383838; border-color: #383838; color: white; font-weight: 700; }

/* ===== PC 제보 모드: 모달을 왼쪽 사이드 패널로 전환 ===== */
body.pc-report-mode .sidebar { display: none !important; }
body.pc-report-mode .pc-map-top { display: none; }
body.pc-report-mode #map::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 500;
}

body.pc-report-mode #modalOverlay.open {
  position: fixed !important;
  left: 72px !important;
  right: auto !important;
  width: 360px !important;
  top: 0 !important;
  bottom: 0 !important;
  background: none !important;
  z-index: 300 !important;
  padding: 0 !important;
  align-items: stretch !important;
}

body.pc-report-mode #modalOverlay .modal {
  width: 360px !important;
  max-width: 360px !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* PC: 버튼을 콘텐츠 하단에 인플로우로 배치 (플로팅 제거) */
body.pc-report-mode #modalOverlay .modal-footer {
  position: static !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  background: white !important;
  padding: 12px 20px 24px !important;
  flex-shrink: 0 !important;
}

body.pc-report-mode #modalOverlay .modal-header {
  padding: 37px 20px 20px !important;
  align-items: flex-start !important;
}
body.pc-report-mode #modalOverlay .modal-header h2 {
  font-size: 18px !important;
  font-weight: 600 !important;
  letter-spacing: normal !important;
}
body.pc-report-mode #step2 .modal-body {
  padding-top: 16px !important;
}
body.pc-report-mode .step1-scroll-header,
body.pc-report-mode .step2-scroll-header {
  display: none !important;
}
body.pc-report-mode .step2-scroll-header h2 {
  font-size: 18px !important;
  font-weight: 600 !important;
  letter-spacing: normal !important;
}
body.pc-report-mode #modalOverlay .modal-body {
  padding-top: 16px !important;
  padding-bottom: 20px !important;
}

/* PC 폼 컴포넌트 -8px */
body.pc-report-mode .form-group input,
body.pc-report-mode .form-group select,
body.pc-report-mode .custom-select-trigger,
body.pc-report-mode .btn-search-addr,
body.pc-report-mode .date-selects select,
body.pc-report-mode .channel-btn {
  height: 48px !important;
}
body.pc-report-mode .day-btn {
  height: 48px !important;
  width: 48px !important;
  min-width: 48px !important;
}
body.pc-report-mode .btn-cancel,
body.pc-report-mode .btn-next,
body.pc-report-mode .btn-submit {
  height: 56px !important;
  font-size: 18px !important;
}
body.pc-report-mode .form-group input,
body.pc-report-mode .btn-search-addr,
body.pc-report-mode .channel-btn,
body.pc-report-mode .day-btn,
body.pc-report-mode .custom-select-trigger {
  font-size: 16px !important;
}
body.pc-report-mode .form-group select,
body.pc-report-mode .date-selects select,
body.pc-report-mode .custom-select-trigger.date-trigger {
  font-size: 14px !important;
}
body.pc-report-mode .optional-section-title {
  font-size: 16px !important;
}
body.pc-report-mode .optional-section-desc {
  font-size: 14px !important;
}
body.pc-report-mode .holiday-check-row span {
  font-size: 16px !important;
}
body.pc-report-mode .holiday-checkbox {
  width: 20px !important; height: 20px !important;
}
body.pc-report-mode .holiday-checkbox.active {
  background-size: 20px !important;
}

/* ===== PC 서비스소개 모드: 모달을 왼쪽 사이드 패널로 전환 ===== */
body.pc-about-mode .sidebar { display: none !important; }
body.pc-about-mode .pc-map-top { display: none; }
body.pc-about-mode #map::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 500;
}

body.pc-about-mode #aboutOverlay.open {
  position: fixed !important;
  left: 72px !important;
  right: auto !important;
  width: 360px !important;
  top: 0 !important;
  bottom: 0 !important;
  background: none !important;
  z-index: 300 !important;
  padding: 0 !important;
  align-items: stretch !important;
}

body.pc-about-mode #aboutOverlay .modal {
  width: 360px !important;
  max-width: 360px !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.pc-about-mode #aboutOverlay .about-drag-handle { display: none !important; }
body.pc-about-mode #aboutOverlay .modal-close { display: none !important; }
body.pc-about-mode #aboutOverlay .modal-header {
  padding: 37px 20px 20px !important;
  align-items: flex-start !important;
}
body.pc-about-mode #aboutOverlay .modal-header h2 {
  font-size: 18px !important;
  font-weight: 600 !important;
  letter-spacing: normal !important;
}

/* ===== PC 내 정보 모드: 프로필 오버레이를 왼쪽 사이드 패널로 전환 ===== */
body.pc-myinfo-mode .sidebar { display: none !important; }
body.pc-myinfo-mode .pc-map-top { display: none; }
body.pc-myinfo-mode #map::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 500;
}
body.pc-myinfo-mode #profileOverlay.open {
  position: fixed !important;
  left: 72px !important;
  right: auto !important;
  width: 360px !important;
  top: 0 !important;
  bottom: 0 !important;
  background: none !important;
  z-index: 300 !important;
  padding: 0 !important;
  align-items: stretch !important;
}
body.pc-myinfo-mode #profileOverlay .modal {
  width: 360px !important;
  max-width: 360px !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body.pc-myinfo-mode #profileOverlay .modal-sticky-header,
body.pc-myinfo-mode #profileOverlay .modal-scroll-header { display: none !important; }
body.pc-myinfo-mode #profileOverlay .modal-header {
  padding: 37px 20px 20px !important;
  align-items: flex-start !important;
}
body.pc-myinfo-mode #profileOverlay .modal-header h2 {
  font-size: 18px !important;
  font-weight: 600 !important;
  letter-spacing: normal !important;
}
/* PC 내 정보: 하단 닫기/저장 footer 노출 + 콘텐츠가 가리지 않게 패딩 (Figma 1179:12854) */
body.pc-myinfo-mode #profileOverlay .modal-footer { display: flex !important; }
body.pc-myinfo-mode #profileOverlay .modal-body { padding-bottom: 100px; }
body.pc-myinfo-mode #profileLoggedIn { flex: 1 0 auto; min-height: 0; }
/* PC 폼 컴포넌트를 협찬 제보하기 기준(48px/16px)으로 */
body.pc-myinfo-mode #profileOverlay .form-group input,
body.pc-myinfo-mode #profileOverlay .form-group select,
body.pc-myinfo-mode #profileOverlay .custom-select-trigger { height: 48px !important; font-size: 16px !important; }
body.pc-myinfo-mode #profileOverlay .modal-footer .btn-cancel,
body.pc-myinfo-mode #profileOverlay .modal-footer .btn-submit { height: 56px !important; font-size: 18px !important; }
/* PC 패널은 항상 떠있어 닫기 불필요 → 저장만 풀폭 */
body.pc-myinfo-mode #profileOverlay .modal-footer .btn-cancel { display: none !important; }

/* 내 정보 로그인 전 화면 (Figma node 1179:13779) */
.profile-logged-out {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 80px 20px; text-align: center;
}
.profile-lo-char { width: 80px; height: 80px; object-fit: cover; }
.profile-lo-text {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px; font-weight: 500; color: #777;
}
.profile-lo-btn {
  width: 120px; height: 40px; border: none; border-radius: 8px;
  background: #e82a2d; color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px; font-weight: 700;
}
.profile-lo-btn:active { opacity: 0.9; }

/* ===== PC 신고하기 모드: 모달을 왼쪽 사이드 패널로 전환 ===== */
body.pc-reportissue-mode .sidebar { display: none !important; }
body.pc-reportissue-mode .pc-map-top { display: none; }
body.pc-reportissue-mode #map::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 500;
}

body.pc-reportissue-mode #reportOverlay.open {
  position: fixed !important;
  left: 72px !important;
  right: auto !important;
  width: 360px !important;
  top: 0 !important;
  bottom: 0 !important;
  background: none !important;
  z-index: 300 !important;
  padding: 0 !important;
  align-items: stretch !important;
}

body.pc-reportissue-mode #reportOverlay .modal {
  width: 360px !important;
  max-width: 360px !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.pc-reportissue-mode #reportOverlay .modal-header {
  padding: 37px 20px 20px !important;
  align-items: flex-start !important;
}
body.pc-reportissue-mode #reportOverlay .modal-sticky-header,
body.pc-reportissue-mode #reportOverlay .modal-scroll-header {
  display: none !important;
}
body.pc-reportissue-mode #reportOverlay .modal-body {
  padding-top: 16px !important;
}
body.pc-reportissue-mode #reportOverlay .modal-header h2 {
  font-size: 18px !important;
  font-weight: 600 !important;
  letter-spacing: normal !important;
  line-height: 24px !important;
}
body.pc-reportissue-mode #reportOverlay .modal-footer {
  position: static !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  background: white !important;
  padding: 12px 20px 24px !important;
  flex-shrink: 0 !important;
}
body.pc-reportissue-mode #reportOverlay .form-group input,
body.pc-reportissue-mode #reportOverlay .custom-select-trigger {
  height: 48px !important;
  font-size: 16px !important;
}
body.pc-reportissue-mode #reportOverlay textarea#reportDetail {
  height: 120px !important;
  font-size: 16px !important;
}
body.pc-reportissue-mode #reportOverlay .btn-cancel,
body.pc-reportissue-mode #reportOverlay .btn-next {
  height: 56px !important;
  font-size: 18px !important;
}

/* ===== 레이아웃 ===== */
#map { flex: 1; min-width: 0; z-index: 1; position: relative; touch-action: none; }
/* 지도 로딩 실패 안내 (지도 영역만 덮음) */
.map-error {
  position: absolute; inset: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center;
  background: #f2f4f6; padding: 24px;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
}
.map-error[hidden] { display: none; }
.map-error-inner { text-align: center; max-width: 300px; }
.map-error-icon { display: block; margin: 0 auto; }
.map-error-title { font-size: 18px; font-weight: 600; color: #1a1a1a; margin: 16px 0 8px; }
.map-error-desc { font-size: 14px; color: #888; line-height: 1.5; margin: 0 0 20px; }
.map-error-retry {
  height: 48px; padding: 0 28px; border-radius: 8px;
  background: #006cff; color: #fff; border: none; cursor: pointer;
  font-size: 15px; font-weight: 600;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
}
.map-error-retry:active { opacity: 0.85; }
.mobile-search-bar { display: none; }

.btn-my-location {
  position: fixed;
  bottom: 20px; left: 452px;
  z-index: 400;
  width: 40px; height: 40px;
  border-radius: 8px;
  background: white;
  border: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.btn-my-location:hover { background: #f5f5f0; }

.btn-zoom-group {
  position: fixed;
  bottom: 68px; left: 452px;
  z-index: 400;
  width: 40px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  display: flex; flex-direction: column; align-items: center;
  overflow: hidden;
}
.btn-zoom {
  width: 100%; height: 40px;
  background: none; border: none;
  font-size: 18px; font-weight: 400; color: #333;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.btn-zoom:hover { background: #f5f5f5; }
.btn-zoom-divider {
  width: 20px; height: 1px; background: #e0e0e0;
}

/* ===== 사이드바 (PC: 인플로우 왼쪽 패널) ===== */
.sidebar {
  width: 360px;
  flex-shrink: 0;
  background: white;
  display: flex; flex-direction: column;
  overflow: hidden;
}

/* 제보하기 버튼 (사이드 패널 헤더) */
.btn-report-sidebar {
  margin-left: auto;
  background: #e82a2d;
  color: white;
  border: none;
  height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-report-sidebar:hover { background: #c82020; }

.sidebar-handle-wrap {
  display: none;
}
.sidebar-handle-bar {
  width: 48px; height: 4px;
  background: rgba(0,0,0,0.1); border-radius: 2px;
}
.sidebar-header {
  padding: 32px 20px 20px;
  border-bottom: none;
  display: flex; justify-content: space-between; align-items: center;
  flex-shrink: 0;
}
.sidebar-header-left { display: flex; align-items: center; gap: 8px; }
.sidebar-header-right { display: flex; align-items: center; gap: 6px; }
.refresh-btn {
  background: none; border: none; padding: 4px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 4px;
  border-radius: 6px;
}
.refresh-btn img { width: 24px; height: 24px; display: block; }
.refresh-btn span { font-size: 14px; color: #777; }
.refresh-btn:hover img { animation: spin 0.5s linear; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
.sidebar-title { font-size: 18px; font-weight: 600; color: #000; }
.sidebar-count {
  font-size: 14px; font-weight: 700; color: #555;
  background: rgba(26,26,46,0.08);
  min-width: 32px; height: 24px;
  padding: 0 8px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
}
.btn-refresh-list {
  font-size: 14px; color: #555; background: #f0f0ea;
  border: none; border-radius: 50%; width: 30px; height: 30px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.btn-refresh-list:hover { background: #e8e8e0; }
.sidebar-arrow {
  font-size: 16px; color: #999; line-height: 1;
  display: none; /* PC에서는 숨김 */
}

.leaderboard-banner {
  display: none; align-items: center; gap: 8px;
  padding: 12px 14px; flex-shrink: 0;
  background: rgba(232,42,45,0.08); border-radius: 10px;
}
.leaderboard-banner.show { display: flex; }
.leaderboard-banner img { flex-shrink: 0; }
.leaderboard-text { font-size: 14px; color: #1a1a1a; }
.leaderboard-text strong { color: #E82A2D; font-weight: 700; }
.leaderboard-banner.mobile-only { margin: 0 20px 16px; }
@media (max-width: 640px) {
  .leaderboard-banner.pc-only { display: none !important; }
}
@media (min-width: 641px) {
  .leaderboard-banner.mobile-only { display: none !important; }
}

.sidebar-list { flex: 1; min-height: 0; overflow-y: auto; }
.sidebar-list::-webkit-scrollbar { width: 4px; }
.sidebar-list::-webkit-scrollbar-thumb { background: #ddd; border-radius: 2px; }

.sb-item {
  padding: 16px 20px;
  border-bottom: none;
  cursor: pointer; transition: background 0.1s;
  display: flex; flex-direction: column; gap: 4px;
}
.sb-item:hover { background: #fafafa; }
.sb-item + .sb-item::before {
  content: '';
  display: block;
  height: 1px;
  background: #f5f5f5;
  margin: 0 0 16px;
}
.sb-item + .sb-item { padding-top: 0; }

.sb-row-name {
  display: flex; align-items: center;
  gap: 8px; min-height: 27px;
}
.sb-name {
  font-size: 16px; font-weight: 500; color: #000;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  flex-shrink: 1; min-width: 0;
}
.sb-channels { display: flex; gap: 4px; align-items: center; flex-shrink: 0; }
.sb-channels img { border-radius: 4px; display: block; }

.sb-address {
  font-size: 14px; color: #777;
  display: flex; align-items: center; min-height: 27px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sb-campaign {
  display: flex; align-items: center;
  gap: 8px; min-height: 27px;
}
.sb-platform-tag {
  font-size: 13px; font-weight: 700;
  height: 24px; padding: 0 6px; border-radius: 4px;
  display: flex; align-items: center; white-space: nowrap; flex-shrink: 0;
}
.sb-content {
  font-size: 15px; color: #000;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  flex: 1; min-width: 0;
}
.sb-dday {
  font-size: 13px; height: 22px; padding: 0 8px; border-radius: 11px;
  display: flex; align-items: center; background: #eee; color: #777; flex-shrink: 0;
}
.sb-dday.urgent { background: #e82a2d; color: white; }

/* 기존 sidebar-card 호환 유지 */
.sidebar-card {
  padding: 12px 16px;
  border-bottom: 1px solid #f5f5f0;
  cursor: pointer; transition: background 0.1s;
}
.sidebar-card:hover { background: #fafaf7; }
.card-top { display: flex; align-items: center; gap: 6px; margin-bottom: 3px; }
.card-icon { font-size: 15px; }
.card-name { font-size: 13px; font-weight: 700; color: #1a1a2e; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-dl { font-size: 11px; color: #fff; background: #aaa; border-radius: 4px; padding: 1px 6px; white-space: nowrap; }
.card-dl.urgent { background: #e8453c; font-weight: 700; }
.card-addr { font-size: 11px; color: #aaa; margin-bottom: 7px; }
.card-platforms { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.platform-badge { font-size: 10px; padding: 2px 7px; border-radius: 4px; font-weight: 700; white-space: nowrap; }
.count-badge {
  font-size: 10px; color: #888;
  background: #f0f0f0; padding: 2px 7px; border-radius: 10px;
}

/* ===== 지도 마커 ===== */
.map-pin {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: transform 0.15s;
}
.map-pin .map-pin-svg {
  display: block;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.28));
}
.map-pin:hover { transform: scale(1.12); }
.map-pin-selected { width: 48px; height: 48px; }
.map-pin-selected:hover { transform: none; }

/* ===== 클러스터 마커 ===== */
.cluster-marker {
  width: 44px; height: 44px; border-radius: 50%;
  background: #e82a2d;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.cluster-count {
  color: #fff; font-size: 15px; font-weight: 700;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== PC 팝업 카드 ===== */
.pc-card {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 20px;
  z-index: 400;
  width: 320px;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.16);
}
.pc-card.visible { display: block; }
.pc-card-arrow {
  position: absolute;
  right: -10px;
  top: calc(50% - 20px);
  transform: translateY(-50%);
  width: 10px; height: 15px;
  pointer-events: none;
}
.pc-card-close {
  flex-shrink: 0;
  width: 16px; height: 16px;
  border: none; background: none; padding: 0;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0.45;
}
.pc-card-close:hover { opacity: 1; }

/* ===== 인포윈도우 ===== */
.info-window {
  background: white; border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  width: 320px;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow: hidden;
}

/* 매장 정보 */
.iw-place { display: flex; flex-direction: column; padding: 20px 20px 0; }
.iw-name-row { display: flex; align-items: center; gap: 8px; padding: 3px 0; }
.iw-name-text-group { display: flex; flex: 1; min-width: 0; gap: 8px; align-items: center; }
.iw-report-link { font-size: 13px; color: #777; text-decoration: underline; cursor: pointer; flex-shrink: 0; }
.iw-name-link { cursor: pointer; gap: 6px; }
.iw-name-link-icon { flex-shrink: 0; display: block; }
.iw-name {
  font-size: 16px; font-weight: 500; color: #000;
  flex-shrink: 1; min-width: 0;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden; text-overflow: ellipsis;
  white-space: normal; word-break: break-all;
}
.iw-channels { display: flex; gap: 4px; align-items: center; flex-shrink: 0; }
.iw-channels img { border-radius: 4px; display: block; }
.iw-address { font-size: 14px; color: #777; padding: 5px 0; }

/* 최초제보자 */
.iw-meta-founder { padding: 0 20px 0; display: flex; flex-direction: column; gap: 12px; }
.iw-founder { display: flex; align-items: center; gap: 8px; height: 26px; }
.iw-founder-label { font-size: 14px; color: #777; flex-shrink: 0; }
.iw-founder-right { display: flex; align-items: center; gap: 2px; }
.iw-founder-name-group { display: flex; align-items: center; gap: 8px; }
.iw-founder-name { font-size: 15px; font-weight: 700; color: #006cff; text-decoration: none; }
.iw-founder-chevron { display: block; flex-shrink: 0; }

/* 구분선 */
.iw-divider { height: 1px; background: #eee; }
.iw-divider-top { margin: 12px 20px 0; }

/* 캠페인 목록 */
.iw-campaigns-wrap {
  display: flex; flex-direction: column; gap: 12px;
  padding: 12px 20px 20px;
  max-height: 360px; overflow-y: auto;
}
.iw-campaign { display: flex; flex-direction: column; gap: 8px; }
.iw-campaign-header { display: flex; align-items: center; justify-content: space-between; height: 27px; }
.iw-platform-channels { display: flex; align-items: center; gap: 6px; min-width: 0; }
.iw-ch-icons { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; }
.iw-ch-icons img { display: block; border-radius: 4px; }
.iw-platform-tag { font-size: 13px; font-weight: 700; height: 24px; padding: 0 6px; border-radius: 4px; display: inline-flex; align-items: center; flex-shrink: 0; }
.iw-content { font-size: 15px; color: #000; line-height: normal; }
.iw-info-rows { display: flex; flex-direction: column; }
.iw-report-btn { font-size: 13px; color: #999; text-decoration: underline; cursor: pointer; flex-shrink: 0; }
.iw-dday { font-size: 15px; height: 26px; padding: 0 10px; border-radius: 13px; display: flex; align-items: center; background: #eee; color: #777; flex-shrink: 0; }
.iw-dday.urgent { background: #e82a2d; color: white; }
.iw-info-row { display: flex; align-items: flex-start; gap: 8px; min-height: 26px; }
.iw-info-label-group { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.iw-info-label { font-size: 14px; color: #777; flex-shrink: 0; }
.iw-info-value { font-size: 15px; color: #000; }
.iw-reporter-group { display: flex; align-items: center; gap: 2px; }
.iw-reporter-link { font-size: 15px; color: #000; text-decoration: none; }
.iw-empty { font-size: 14px; color: #bbb; text-align: center; padding: 8px 0; }

.optional-section-title {
  font-size: 20px !important; font-weight: 700 !important; color: #000;
}
.optional-section-desc { font-size: 18px !important; color: #333; }

.btn-apply {
  margin-left: auto;
  background: #1a1a2e; color: #e8c96d;
  padding: 4px 10px; border-radius: 12px;
  font-size: 11px; font-weight: 700;
  text-decoration: none; white-space: nowrap;
}
.btn-apply:hover { background: #2a2a4e; }

.btn-naver-map {
  flex-shrink: 0;
  background: #03C75A; color: white;
  padding: 5px 10px; border-radius: 12px;
  font-size: 11px; font-weight: 700;
  text-decoration: none; white-space: nowrap;
  cursor: pointer; border: none;
}
.btn-naver-map:hover { background: #02a84d; }

/* ===== 모달 ===== */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.5); z-index: 1000;
  align-items: center; justify-content: center;
}
.modal-overlay.open { display: flex; }

.modal {
  background: white; border-radius: 16px;
  width: 480px; max-width: 90vw; max-height: 85vh;
  display: flex; flex-direction: column; overflow: hidden;
  position: relative;
}

/* ===== 공지/이벤트 배너 팝업 ===== */
.banner-popup-overlay {
  display: flex; position: fixed; inset: 0;
  background: rgba(0,0,0,0.5); z-index: 1500;
  align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.25s ease;
}
.banner-popup-overlay.show { opacity: 1; visibility: visible; pointer-events: auto; }
.banner-popup {
  background: #fff; border-radius: 16px;
  width: 320px; max-width: 90vw;
  display: flex; flex-direction: column; overflow: hidden;
  transform: translateY(16px) scale(0.96);
  transition: transform 0.25s ease;
}
.banner-popup-overlay.show .banner-popup { transform: translateY(0) scale(1); }
.banner-popup-image { width: 100%; display: block; }
.banner-popup-actions {
  display: flex; border-top: 1px solid #eee;
}
.banner-popup-btn {
  flex: 1; padding: 14px 16px; border: none; background: #fff;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px; color: #555; cursor: pointer;
}
.banner-popup-btn:first-child { text-align: left; }
.banner-popup-btn:last-child { text-align: right; }
.banner-popup-btn:hover { color: #000; }
@media (max-width: 640px) {
  .banner-popup-overlay { align-items: flex-end; }
  .banner-popup {
    width: 100%; max-width: 100%;
    border-radius: 16px 16px 0 0;
    padding-bottom: env(safe-area-inset-bottom);
    transform: translateY(100%);
  }
  .banner-popup-overlay.show .banner-popup { transform: translateY(0); }
}

#step1, #step2 {
  display: flex; flex-direction: column;
  flex: 1; overflow: hidden; min-height: 0;
}

.modal-header {
  padding: 40px 20px 0; border-bottom: none;
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-shrink: 0;
}
.modal-header h2 {
  font-size: 26px; font-weight: 500; color: #000;
  letter-spacing: -0.52px; line-height: normal;
}

/* 스텝 도트 인디케이터 */
.step-dots { display: flex; align-items: center; gap: 4px; padding-top: 4px; }
.step-dot {
  width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid #ccc; background: white; color: #ccc;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.step-dot.active { background: #000; border-color: #000; color: white; }
.step-dot.done { background: #000; border-color: #000; color: white; font-size: 12px; }
.step-dot-sep { width: 4px; height: 4px; border-radius: 50%; background: #ccc; }

.modal-body {
  padding: 24px 20px calc(120px + env(safe-area-inset-bottom)); overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex; flex-direction: column; gap: 24px;
  flex: 1; min-height: 0;
}

.date-selects {
  display: flex; align-items: center; gap: 6px;
}
.date-selects select {
  padding: 0 26px 0 10px; height: 56px; border: 1px solid rgba(221,221,221,0.87);
  border-radius: 8px; font-size: 16px;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a1a1a; outline: none; cursor: pointer;
}
.date-selects select:focus { border-color: rgba(0,0,0,0.87); }
.date-selects #inputDeadlineYear { flex: 1.6; min-width: 0; }
.date-selects #inputDeadlineMonth { flex: 1; min-width: 0; }
.date-selects #inputDeadlineDay { flex: 1; min-width: 0; }
.date-selects span { font-size: 16px; color: #000; flex-shrink: 0; }

/* 폼 */
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 14px; font-weight: 400; color: #777; }
.required { color: #E82A2D; }
.optional { color: #999; font-weight: 400; }
.label-sub { font-size: 14px; color: #777; font-weight: 400; }

.form-group input,
.form-group select {
  padding: 0 16px; height: 56px; border: 1px solid rgba(221,221,221,0.87);
  border-radius: 8px; font-size: 18px;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif; color: #1a1a1a;
  transition: border-color 0.15s; outline: none;
}
.form-group input::placeholder { color: #bbb; opacity: 1; }
.form-group input:focus,
.form-group select:focus { border-color: rgba(0,0,0,0.87); }
.form-group input[readonly] { background: #f5f5f5; color: #777; cursor: not-allowed; }
.url-platform-trigger.locked { background: #f5f5f5; color: #777; cursor: not-allowed; }
.locked-hint { font-size: 13px; color: #999; }
.locked-hint a { color: #E82A2D; cursor: pointer; text-decoration: underline; }
.guest-hint { display: flex; align-items: flex-start; gap: 6px; }
.guest-hint img { flex-shrink: 0; margin-top: 3px; }
.guest-hint span { font-size: 14px; line-height: 22px; color: #555; }

.form-group textarea {
  padding: 14px 16px; min-height: 100px; border: 1px solid rgba(221,221,221,0.87);
  border-radius: 8px; font-size: 18px; resize: none;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif; color: #1a1a1a;
  transition: border-color 0.15s; outline: none;
}
.form-group textarea::placeholder { color: #bbb; opacity: 1; }
.form-group textarea:focus { border-color: rgba(0,0,0,0.87); }

/* ===== 인라인 오류 메시지 ===== */
.field-error-msg { font-size: 14px; color: #E82A2D; margin-top: 0; display: none; }
.field-error-msg.show { display: block; }
.field-hint { margin-top: 8px; }
.field-hint ul { margin: 0; padding: 0; list-style: none; }
.field-hint li { position: relative; padding-left: 12px; font-size: 14px; color: #555; line-height: normal; }
.field-hint li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 3px; height: 3px; border-radius: 50%; background: #555;
}
.field-hint li + li { margin-top: 4px; }
.input-error,
.input-error.custom-select-trigger { border-color: #E82A2D !important; }
.channel-error .channel-btns { outline: none; }
.channel-error-msg { font-size: 14px; color: #E82A2D; margin-top: 6px; display: none; }
.channel-error-msg.show { display: block; }

.form-group select,
.date-selects select {
  appearance: none; -webkit-appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg width='9' height='5' viewBox='0 0 9 5' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L4.5 4L8 1' stroke='%231a1a1a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

/* ===== 내 링크 (플랫폼 + 아이디) ===== */
.url-platform-trigger-left { display: flex; align-items: center; gap: 8px; }
.url-platform-icon { border-radius: 4px; display: block; flex-shrink: 0; }
.url-id-row { display: flex; align-items: center; gap: 10px; height: 56px; }
.url-domain-prefix { font-size: 18px; color: #1a1a1a; white-space: nowrap; flex-shrink: 0; }
.url-id-input { flex: 1; min-width: 0; }

/* ===== 커스텀 셀렉트 트리거 ===== */
.custom-select-trigger {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px; height: 56px;
  border: 1px solid rgba(221,221,221,0.87); border-radius: 8px;
  background: #fff url("data:image/svg+xml,%3Csvg width='9' height='5' viewBox='0 0 9 5' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L4.5 4L8 1' stroke='%231a1a1a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center;
  cursor: pointer; width: 100%; font-size: 18px;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
}
.custom-select-trigger.date-trigger { font-size: 16px; padding: 0 28px 0 10px; }
.custom-select-value { color: #bbb; }
.custom-select-value.selected { color: #1a1a1a; }

/* 날짜 트리거 flex */
.date-selects .custom-select-trigger { min-width: 0; }
.date-selects #inputDeadlineYearTrigger { flex: 1.6; }
.date-selects #inputDeadlineMonthTrigger { flex: 1; }
.date-selects #inputDeadlineDayTrigger { flex: 1; }

/* ===== 셀렉트 바텀시트 ===== */
.select-sheet-overlay {
  display: none; position: absolute; inset: 0;
  background: rgba(0,0,0,0.4); z-index: 1000;
}
.select-sheet-overlay.show { display: block; }
.select-sheet-panel {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: #fff; border-radius: 20px 20px 0 0;
  z-index: 1001; max-height: 70%;
  display: flex; flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.select-sheet-panel.show { transform: translateY(0); }
.select-sheet-handle { display: none; }
.select-sheet-title {
  font-size: 16px; font-weight: 600; color: #333;
  padding: 20px 20px 12px; flex-shrink: 0;
  border-bottom: 1px solid #f0f0f0;
  margin: 0 20px;
  padding-left: 0; padding-right: 0;
}
.select-sheet-list { overflow-y: auto; padding: 8px 0 max(20px, env(safe-area-inset-bottom)); }
.select-sheet-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; font-size: 18px; color: #1a1a1a; cursor: pointer;
}
.select-sheet-item.active { color: #E82A2D; font-weight: 600; }
.select-sheet-item.active::after {
  content: '';
  display: block; width: 20px; height: 20px; flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath fill='none' d='M6 14L11 19L22 8' stroke='%23E82A2D' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
}
@media (hover: hover) { .select-sheet-item:hover { background: #f9f9f9; } }

.addr-row { display: flex; gap: 8px; }
.addr-row input { flex: 1; min-width: 0; }
.addr-row .input-wrap { flex: 1; min-width: 0; }
.addr-row input:disabled { background: #f5f5f5; color: #999; cursor: not-allowed; }

.btn-search-addr {
  width: 80px; height: 56px; background: white; color: #000;
  border: 1px solid #000; border-radius: 8px; font-size: 18px;
  font-weight: 700; cursor: pointer; white-space: nowrap;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  flex-shrink: 0;
}
.btn-search-addr:hover { background: #f5f5f5; }
.btn-search-addr:disabled { background: #f5f5f5; color: #999; border-color: #ccc; cursor: not-allowed; }

/* 검색 결과 */
.search-result { margin-top: 0; }
.search-hint { padding: 8px 0; font-size: 14px; color: #888; }
.search-hint.error { color: #e82a2d; }

.search-item {
  padding: 16px; background: #f5f5f5;
  border: 1px solid #ddd; border-radius: 8px; margin-bottom: 4px;
  cursor: pointer; transition: background 0.1s;
  display: flex; flex-direction: column; gap: 2px;
}
.search-item:hover { background: #ebebeb; }
.item-name { font-size: 16px; font-weight: 400; color: #555; }
.item-sub { font-size: 14px; color: #777; }

.selected-addr {
  display: flex; flex-direction: column; gap: 2px;
  margin-top: 8px; padding: 16px; background: #f5f5f5;
  border: 1px solid #ddd; border-radius: 8px;
}
.selected-addr-main { font-size: 16px; color: #000; line-height: normal; }
.selected-addr-sub { font-size: 14px; color: #777; line-height: normal; }

.addr-duplicate-warning {
  display: flex; flex-direction: column; gap: 12px;
  margin-top: 16px; padding: 16px;
  background: rgba(232,42,45,0.08); border: 1px solid #e82a2d;
  border-radius: 8px;
}
.addr-dup-message { display: flex; gap: 10px; align-items: flex-start; }
.addr-dup-message img { flex-shrink: 0; margin-top: 1px; }
.addr-dup-text { font-size: 14px; color: #e82a2d; line-height: 20px; }
.addr-dup-text p { margin: 0; }
.addr-dup-text strong { font-weight: 700; text-decoration: underline; }
.addr-dup-actions { display: flex; gap: 6px; padding-left: 30px; }
.addr-dup-select, .addr-dup-ignore {
  flex: 1; display: flex; align-items: center; gap: 6px;
  font-size: 14px; color: #555; cursor: pointer;
}
.addr-dup-chevron { font-size: 14px; color: #555; }

/* 기존 장소 */
.existing-label { font-size: 14px; font-weight: 700; color: #006cff; margin-bottom: 8px; }

.existing-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px; border: 1.5px solid transparent;
  background: rgba(0,108,255,0.08);
  border-radius: 8px; margin-bottom: 8px;
  cursor: pointer; transition: all 0.15s;
}
@media (hover: hover) { .existing-item:hover { background: rgba(0,108,255,0.14); } }
.existing-item.selected { border: 1.5px solid #006cff; background: rgba(0,108,255,0.08); }
.existing-item-info { display: flex; flex-direction: column; gap: 4px; }
.existing-name { font-size: 16px; font-weight: 400; color: #000; }
.existing-addr { font-size: 14px; color: #777; }
.existing-item-check { color: #006cff; font-size: 18px; opacity: 0.25; }
.existing-item-check.selected { opacity: 1; }

.existing-new {
  font-size: 16px; color: #555; cursor: pointer;
  padding: 4px 0; display: flex; align-items: center; gap: 6px;
}
.existing-new-arrow { font-size: 14px; color: #555; }

/* 매장 검색 결과 (통합) */
.place-results-list { margin-top: 8px; }
.place-results-list:empty { display: none; }
.place-results-list:not(:empty) { margin-top: -16px; }
/* 협찬 제보하기 step1: 검색 결과 리스트 하단 여백 (컨텐츠 영역 하단 여백 확보) */
#placeResultsList:not(:empty) { margin-bottom: 100px; }
/* 신고하기: 상세 내용 인풋(마지막 요소) 아래 100px 여백 */
.form-group:has(> #reportDetail) { margin-bottom: 100px; }
.place-result-item {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 16px 4px;
  border-bottom: 1px solid #ececec;
  cursor: pointer; transition: color 0.1s;
}
.place-result-item:last-child { border-bottom: none; }
@media (hover: hover) { .place-result-item:hover { background: #fafafa; } }
.place-result-info { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.place-result-name { font-size: 16px; font-weight: 600; color: #000; }
.place-result-meta { display: flex; align-items: center; gap: 8px; min-width: 0; }
.place-result-addr { font-size: 14px; font-weight: 400; color: #777; }
.report-platform-tag {
  flex-shrink: 0; height: 24px; padding: 0 6px; border-radius: 4px;
  display: inline-flex; align-items: center;
  font-size: 13px; font-weight: 700; white-space: nowrap;
}
.place-result-item.selected .place-result-name,
.place-result-item.selected .place-result-addr { color: #006cff; }
.place-result-check { color: #006cff; font-size: 18px; opacity: 0; flex-shrink: 0; }
.place-result-check.selected { opacity: 1; }

.place-result-more-wrap { display: flex; justify-content: center; padding-top: 24px; }
.place-result-more {
  width: 72px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: #f2f2f2; border-radius: 8px;
  font-size: 16px; font-weight: 400; color: #777; cursor: pointer;
}
@media (hover: hover) { .place-result-more:hover { background: #ebebeb; } }

.place-campaign-preview {
  display: flex; flex-direction: column; gap: 8px;
  margin: 0 0 12px; padding: 16px;
  background: #f2f6ff; border: 1px solid #006cff; border-radius: 4px;
}
.place-campaign-preview-label { font-size: 14px; font-weight: 600; color: #006cff; }
.place-campaign-preview-empty { font-size: 14px; color: #888; }
.place-campaign-preview-items { display: flex; flex-direction: column; gap: 4px; }
.place-campaign-preview-item { display: flex; align-items: center; gap: 8px; }
.place-campaign-tag { font-size: 12px; font-weight: 700; height: 22px; padding: 0 6px; border-radius: 4px; display: inline-flex; align-items: center; flex-shrink: 0; }
.place-campaign-content { font-size: 14px; color: #333; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 선택된 장소 뱃지 */
.place-badge {
  background: #f5f5f0; padding: 10px 14px;
  border-radius: 8px; font-size: 13px; color: #1a1a2e;
  border-left: 3px solid #e8c96d;
}

/* 선택 항목 토글 */
.optional-toggle {
  cursor: pointer; padding: 8px 0;
  font-size: 12px; color: #888;
  border-top: 1px dashed #e8e8e8;
  user-select: none;
}
.optional-toggle:hover { color: #555; }

/* 채널 선택 */
.channel-label-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; color: #777;
}
.channel-btns { display: flex; gap: 6px; }
.channel-btn {
  flex: 1; height: 56px; background: white;
  border: 1px solid rgba(221,221,221,0.87); border-radius: 8px;
  font-size: 18px; font-weight: 400; color: #000; cursor: pointer;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  transition: border-color 0.15s, font-weight 0.15s;
}
.channel-btn.active {
  border-color: rgba(0,0,0,0.87); font-weight: 700;
}

/* 요일 선택 */
.day-selector {
  display: flex; gap: 6px;
  overflow-x: auto; flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}
.day-selector::-webkit-scrollbar { display: none; }
.day-btn {
  height: 56px; width: 56px; min-width: 56px; padding: 0; border-radius: 8px;
  border: 1px solid rgba(221,221,221,0.87); background: white;
  font-size: 18px; font-weight: 400; cursor: pointer; color: #000;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif; transition: all 0.15s;
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
}
.day-btn-all { width: 80px; min-width: 80px; }
.day-btn:hover { border-color: rgba(0,0,0,0.87); }
.day-btn.active { border-color: rgba(0,0,0,0.87); font-weight: 700; }

/* 방문 가능 요일 내부 컨테이너 */
.day-field-inner { display: flex; flex-direction: column; gap: 16px; }

/* 공휴일 제외 */
.holiday-check-row {
  display: flex; align-items: center; gap: 8px;
  cursor: pointer; user-select: none;
}
.holiday-check-row span { font-size: 18px; color: #000; }
.holiday-checkbox {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid #ccc; background: white;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all 0.15s;
}
.holiday-checkbox.active {
  background: #E82A2D url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath fill='none' d='M8 14L12 18L20 10' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/28px no-repeat;
  border-color: #E82A2D;
}
.holiday-checkbox.active::after { display: none; }

/* optionalFields / founderSection 내부 간격 */
#optionalFields { display: flex; flex-direction: column; gap: 24px; }
#founderSection { display: flex; flex-direction: column; gap: 24px; }
/* 닉네임/SNS계정 입력란 간격을 다른 항목과 동일하게 (24px) */
#founderInputFields { display: flex; flex-direction: column; gap: 24px; }

/* 구분선 */
.section-divider { height: 1px; background: #eee; }

/* 내 이름 남기기 */
.founder-section-header { display: flex; flex-direction: column; gap: 8px; }

/* 로그인 사용자 닉네임/SNS 요약 카드 */
.founder-summary-card {
  display: flex; flex-direction: column; gap: 8px;
  background: #f2f6ff; border: 1px solid #006cff; border-radius: 4px;
  padding: 16px; width: 100%;
}
.founder-summary-nick {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px; font-weight: 600; color: #006cff;
}
.founder-summary-sns { display: flex; align-items: center; gap: 8px; min-width: 0; }
.founder-summary-sns img { flex-shrink: 0; border-radius: 4px; }
.founder-summary-sns span {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px; color: #000; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* 선택된 장소 배지 */
.selected-place-badge {
  display: flex; align-items: center; gap: 2px;
  background: rgba(0,108,255,0.08); border-radius: 8px;
  height: 64px; padding: 0 16px;
}
.selected-place-badge .badge-icon {
  width: 24px; height: 24px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.selected-place-badge .badge-icon::after {
  content: '';
  width: 12px; height: 7px;
  border-left: 2px solid #006cff; border-bottom: 2px solid #006cff;
  transform: rotate(-45deg) translateY(-1px);
  display: block;
}
.selected-place-badge .badge-text {
  font-size: 16px; color: #777; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.selected-place-badge .badge-text strong { color: #000; font-weight: 600; }

/* 모바일 공통: 모달 body 안에서 같이 스크롤되는 타이틀 헤더 (스크롤 시 sticky 헤더로 대체됨) */
.step1-scroll-header,
.step2-scroll-header,
.modal-scroll-header {
  display: flex; justify-content: space-between; align-items: center;
  flex-shrink: 0;
}
/* PC에서는 정적 .modal-header가 보이므로 스크롤 헤더는 숨김 (모바일에서만 노출) */
@media (min-width: 641px) {
  .profile-modal .modal-scroll-header { display: none; }
}
.step1-scroll-header h2,
.step2-scroll-header h2,
.modal-scroll-header h2 {
  font-size: 26px; font-weight: 500; color: #000;
  letter-spacing: -0.52px; line-height: normal;
}

/* 모달 sticky 헤더 (step2 스크롤 시 나타남) */
.modal-sticky-header {
  display: none;
  position: absolute; top: 0; left: 0; right: 0; z-index: 50;
  height: 56px; background: white;
  box-shadow: 0px 4px 2px rgba(0,0,0,0.04);
  padding: 10px 20px;
  align-items: center; gap: 10px;
}
.modal-sticky-header.show { display: flex; }
.modal-sticky-header > span {
  flex: 1; font-size: 18px; font-weight: 500;
  letter-spacing: -0.36px; color: #000;
}

/* 모달 푸터 */
.modal-footer {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 12px 20px calc(24px + env(safe-area-inset-bottom)); border-top: none;
  display: flex; gap: 8px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, white 30%);
}
.btn-cancel {
  flex: 4 1 0; height: 64px; background: white;
  border: 1px solid rgba(170,170,170,0.87); border-radius: 8px;
  font-size: 20px; font-weight: 400; cursor: pointer; color: #000;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
}
.btn-cancel:hover { background: #f5f5f5; }
.btn-next, .btn-submit {
  flex: 6 1 0; height: 64px; background: #E82A2D; color: white;
  border: none; border-radius: 8px; font-size: 20px; font-weight: 700;
  cursor: pointer; font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  transition: background 0.2s;
}
.btn-next:hover, .btn-submit:hover { background: #c82020; }

/* ===== 서비스 소개 모달 ===== */
.about-modal { max-width: 460px; }
.about-footer { display: none; }
@media (max-width: 640px) {
  .about-footer { display: flex; }
}
.about-drag-handle {
  display: none;
}
@media (max-width: 640px) {
  .about-drag-handle {
    display: block;
    width: 36px; height: 4px;
    background: #ddd; border-radius: 2px;
    margin: 12px auto 0;
    cursor: pointer;
  }
}

.about-hero {
  text-align: center; padding: 10px 0 20px;
  border-bottom: 1px solid #f0f0f0; margin-bottom: 4px;
}
.about-hero-img { width: 80px; height: 80px; object-fit: contain; margin-bottom: 12px; }
.about-hero-title {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 22px; font-weight: 800; color: #1a1a2e;
}
.about-hero-sub { font-size: 16px; font-weight: 700; color: #1a1a2e; margin-top: 6px; }
.about-hero-desc { font-size: 13px; color: #888; margin-top: 4px; }
.about-legal {
  padding: 16px 0 4px; font-size: 11px; color: #aaa; line-height: 1.7; text-align: center;
}
.about-legal p { margin: 0 0 4px; }
.about-legal p:last-child { margin-bottom: 0; }

.about-list { margin: 0 0 10px; padding-left: 18px; }
.about-list li { font-size: 13px; color: #555; line-height: 1.7; }

.about-policy-links {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 0 4px;
}
.about-policy-links button {
  border: none; background: none; cursor: pointer; padding: 0;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 11px; color: #999;
}
.about-policy-links button:hover { color: #555; text-decoration: underline; }
.about-policy-sep { font-size: 11px; color: #ddd; }

.about-section { padding: 14px 0; border-bottom: 1px solid #f5f5f0; }
.about-section:last-child { border-bottom: none; }
.about-section-title {
  font-size: 13px; font-weight: 700; color: #1a1a2e; margin-bottom: 8px;
}
.about-desc { font-size: 13px; color: #555; line-height: 1.7; }
.about-desc strong { color: #1a1a2e; }

.about-steps { display: flex; flex-direction: column; gap: 12px; }
.about-step {
  display: flex; align-items: flex-start; gap: 12px;
}
.step-num {
  min-width: 26px; height: 26px; border-radius: 50%;
  background: #1a1a2e; color: #e8c96d;
  font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
}
.about-step strong { font-size: 13px; color: #1a1a2e; display: block; margin-bottom: 2px; }
.about-step p { font-size: 12px; color: #777; line-height: 1.6; margin: 0; }

.btn-about-mobile { display: none; }

@media (max-width: 640px) {
  .btn-about { font-size: 11px; padding: 6px 10px; }
  .btn-about-mobile { display: none; }
}

/* ===== 모바일 바텀시트 ===== */
.mobile-sheet {
  display: none;
}
@media (max-width: 640px) {
  .mobile-sheet-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 300;
  }
  .mobile-sheet-overlay.show { display: block; }

  .mobile-sheet {
    display: block;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: white;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 8px rgba(0,0,0,0.08);
    z-index: 400;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    max-height: calc(100dvh - 120px);
    display: flex;
    flex-direction: column;
  }
  .mobile-sheet.show { transform: translateY(0); }

  .mobile-sheet-handle-wrap {
    display: flex; justify-content: center; align-items: center;
    height: 20px; flex-shrink: 0; cursor: pointer;
  }
  .mobile-sheet-handle-bar {
    width: 48px; height: 4px;
    background: rgba(0,0,0,0.1); border-radius: 2px;
  }

  .mobile-sheet-content {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  /* ===== 매장 상세 스타일 ===== */
  .detail-fixed {
    flex-shrink: 0;
    padding: 16px 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .detail-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 0 20px 24px;
  }
  .detail-campaigns-wrap { display: flex; flex-direction: column; gap: 12px; padding-top: 12px; }

  .detail-meta-founder { display: flex; flex-direction: column; gap: 12px; }
  .detail-divider-top { margin-top: 0; }

  .detail-place { display: flex; flex-direction: column; }
  .detail-name-row { display: flex; align-items: flex-start; gap: 8px; padding: 3px 0; }
  .detail-name-text-group { display: flex; flex: 1; min-width: 0; align-items: flex-start; }
  .detail-report-link { font-size: 13px; color: #777; text-decoration: underline; cursor: pointer; flex-shrink: 0; margin-top: 2px; }
  .detail-name-link { cursor: pointer; gap: 6px; }
  .detail-name-link-icon { flex-shrink: 0; display: block; margin-top: 2px; }
  .detail-name {
    font-size: 16px; font-weight: 500; color: #000;
    flex-shrink: 1; min-width: 0;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
    overflow: hidden; text-overflow: ellipsis;
    white-space: normal; word-break: break-all;
  }
  .detail-channels { display: flex; gap: 4px; align-items: center; flex-shrink: 0; margin-top: 2px; }
  .detail-channels img { border-radius: 4px; display: block; }

  .detail-address { font-size: 14px; color: #777; line-height: normal; padding: 5px 0; }

  .detail-campaigns-wrap > .detail-campaign + .detail-divider + .detail-campaign { margin-top: 0; }

  .detail-founder { display: flex; align-items: center; gap: 8px; height: 26px; }
  .detail-founder-label { font-size: 14px; color: #777; flex-shrink: 0; }
  .detail-founder-right { display: flex; align-items: center; gap: 2px; }
  .detail-founder-icon-img { flex-shrink: 0; }
  .detail-founder-name-group { display: flex; align-items: center; gap: 8px; }
  .detail-founder-link { font-size: 15px; font-weight: 700; color: #006cff; text-decoration: none; }
  .detail-founder-chevron { display: block; flex-shrink: 0; }

  .detail-divider { height: 1px; background: #eee; margin: 0 0; }

  .detail-campaign { display: flex; flex-direction: column; gap: 8px; }
  .detail-campaign-header { display: flex; align-items: center; justify-content: space-between; height: 27px; }
  .detail-campaign-tag-wrap { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; }
  .detail-ch-icons { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; }
  .detail-ch-icons img { display: block; border-radius: 4px; }
  .detail-platform-tag { font-size: 13px; font-weight: 700; height: 24px; padding: 0 6px; border-radius: 4px; display: inline-flex; align-items: center; flex-shrink: 0; }
  .detail-report-btn { font-size: 13px; color: #999; text-decoration: underline; cursor: pointer; flex-shrink: 0; }
  .detail-dday { font-size: 15px; height: 26px; padding: 0 10px; border-radius: 13px; display: flex; align-items: center; background: #eee; color: #777; flex-shrink: 0; }
  .detail-dday.urgent { background: #e82a2d; color: white; }

  .detail-content { font-size: 15px; font-weight: 400; color: #000; line-height: normal; }

  .detail-info-rows { display: flex; flex-direction: column; }
  .detail-info-row { display: flex; align-items: flex-start; gap: 8px; min-height: 26px; }
  .detail-info-label-group { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
  .detail-info-icon { flex-shrink: 0; }
  .detail-info-label { font-size: 14px; color: #777; flex-shrink: 0; }
  .detail-info-value { font-size: 15px; color: #000; }
  .detail-info-value .day-active { color: #000; }
  .detail-info-value .day-dim { color: #ccc; }
  .holiday-badge-active { color: #000; }
  .detail-reporter-group { display: flex; align-items: center; gap: 2px; }
  .detail-info-reporter-link { font-size: 15px; color: #000; text-decoration: none; }
  .detail-reporter-chevron { display: block; flex-shrink: 0; }
}

/* ===== 빈 상태 ===== */
.empty-state {
  display: flex; flex-direction: column; align-items: center;
  gap: 16px; padding: 80px 20px; text-align: center;
}
.empty-img { width: 80px; height: 80px; object-fit: contain; }
.empty-state p { font-size: 16px; font-weight: 400; color: #777; line-height: 1.5; }
.empty-state-btn {
  width: 120px; height: 40px;
  background: #e82a2d; color: #fff;
  font-size: 16px; font-weight: 700;
  border: none; border-radius: 8px;
  cursor: pointer;
}

/* ===== 실시간 제보 알림 캐릭터 ===== */
.live-alert {
  position: fixed; bottom: 24px; right: 24px;
  display: flex; flex-direction: column; align-items: flex-end; gap: 16px;
  z-index: 300; pointer-events: none;
}
.live-character-group {
  display: flex; flex-direction: column; align-items: flex-end; gap: 0;
}
.live-character-wrap {
  width: 72px; height: 72px; flex-shrink: 0;
  background: #f0f0f0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18), 0 2px 6px rgba(0,0,0,0.1);
  pointer-events: auto;
  cursor: pointer;
}
.live-cta-btn {
  display: none;
}
.live-character {
  width: 72px; height: 72px; object-fit: cover;
}
.live-bubble {
  position: relative;
  background: white;
  border: 2px solid #aaaaaa;
  border-radius: 16px;
  padding: 14px 20px;
  white-space: nowrap;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.08));
  font-size: 15px; color: #1a1a1a; line-height: 1.55;
  opacity: 0; transform: translateY(8px) scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform-origin: bottom right;
  cursor: pointer;
}
.live-bubble-tail-mob { display: none; }
.live-bubble-tail {
  position: absolute;
  right: 26px;
  bottom: -10px;
  width: 12px;
  height: 10px;
  display: block;
}
.live-bubble.show {
  opacity: 1; transform: translateY(0) scale(1);
  pointer-events: auto;
}
.live-bubble strong { color: #006cff; font-weight: 700; }
@media (max-width: 640px) {
  .live-alert {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    bottom: 152px;
    right: 10px;
    left: auto;
    gap: 16px;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s ease 0.15s, visibility 0.35s ease 0.15s;
  }
  body:has(.sidebar.expanded) .live-alert,
  body:has(.sidebar.expanded-full) .live-alert {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }
  .live-bubble {
    font-size: 14px;
    padding: 12px 16px;
    border-radius: 16px;
    min-height: 64px;
    white-space: nowrap;
    line-height: 1.5;
    transform-origin: bottom right;
  }
  .live-bubble {
    border-width: 1px;
  }
  .live-bubble-tail-pc { display: none; }
  .live-bubble-tail-mob { display: block; right: 24px; height: 8px; bottom: -8px; }
  .live-character-wrap {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
  }
  .live-character {
    width: 64px;
    height: 64px;
    object-fit: contain;
  }
  .live-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    cursor: pointer;
    border: none;
    padding: 4px 6px;
    border-radius: 8px;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    color: #fff;
    white-space: nowrap;
    background: linear-gradient(270deg, #e82a2d, #ff7173, #e82a2d);
    background-size: 200% 100%;
    box-shadow: 0 4px 10px rgba(232,42,45,0.35);
    animation: liveCtaGradient 3s ease infinite;
    transform: translate(-2px, -3px);
  }
}

@keyframes liveCtaGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===== 토스트 ===== */
.toast {
  position: fixed; bottom: 24px; left: 20px; right: 20px;
  transform: translateY(calc(100% + 40px));
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
  color: #fff; text-align: center;
  padding: 16px 10px; border-radius: 8px;
  font-size: 15px; font-weight: 400;
  box-shadow: 0 4px 8px rgba(0,0,0,0.16);
  z-index: 9999; transition: transform 0.3s ease; pointer-events: none;
}
.toast.show { transform: translateY(0); }

/* ===== 모바일 맵 오버레이 (기본 숨김) ===== */
.mobile-map-overlay { display: none; }

/* ===== 모바일 헤더 전용 컴포넌트 (미디어 쿼리 밖, 항상 정의) ===== */
.mobile-row1 {
  display: flex;
  gap: 12px;
  align-items: center;
}
.mobile-header-search {
  flex: 1;
  min-width: 0;
  display: flex;
  background: white;
  border: 1px solid transparent;
  box-sizing: border-box;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0,0,0,0.16);
  height: 56px;
  align-items: center;
  padding: 0 20px;
  gap: 8px;
  position: relative;
}
.mobile-header-search:focus-within {
  border-color: #e82a2d;
  box-shadow: 0 0 8px rgba(232,42,45,0.4);
}
.mobile-header-search input { padding-right: 40px; box-sizing: border-box; }
.mobile-header-search .btn-input-clear {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}
.mobile-search-icon {
  color: #bbb;
  flex-shrink: 0;
}
.mobile-header-search:focus-within .mobile-search-icon { color: #e82a2d; }
.mobile-header-search input {
  flex: 1; min-width: 0; background: none; border: none; outline: none;
  color: #333;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
}
.mobile-header-search input::placeholder { color: #bbb; }

/* 텍스트 필드 clear 버튼 */
.btn-input-clear {
  display: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  line-height: 0;
  flex-shrink: 0;
}
.btn-input-clear.show { display: flex; }
.input-wrap { position: relative; display: block; }
.input-wrap input { padding-right: 44px !important; box-sizing: border-box; width: 100%; }
.input-wrap .btn-input-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}
.mobile-icon-btn {
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; line-height: 1;
}
.mobile-icon-btn.mobile-icon-add {
  width: 56px; height: 56px;
  border-radius: 8px;
  background: white;
  box-shadow: 0 0 8px rgba(0,0,0,0.16);
}
.side-menu-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.5);
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.side-menu-overlay.open { opacity: 1; pointer-events: auto; }
.side-menu {
  position: absolute; top: 0; right: 0; height: 100%;
  width: 280px; max-width: 80vw;
  background: #fff;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}
.side-menu-overlay.open .side-menu { transform: translateX(0); }
.side-menu-header {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; flex-shrink: 0;
  padding: 10px 20px;
}
.side-menu-logo-wrap { display: flex; align-items: center; gap: 6px; flex: 1 0 0; min-width: 0; }
.side-menu-logo { height: 24px; width: auto; }
.side-menu-close {
  border: none; background: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; padding: 0; flex-shrink: 0;
}
.side-menu-content {
  display: flex; flex-direction: column; gap: 24px; flex: 1 0 0; min-height: 0;
  padding: 0 20px 24px; overflow-y: auto;
}
.side-menu-auth { flex-shrink: 0; }
.side-menu-profile-card {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; padding: 16px; border-radius: 8px; background: #f2f6ff;
}
.side-menu-profile-info { display: flex; flex-direction: column; gap: 4px; flex: 1 0 0; min-width: 0; }
.side-menu-login-text {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px; font-weight: 400; color: #000; margin: 0;
}
.side-menu-login-text strong { font-weight: 700; }
.side-menu-profile-name-row { display: flex; align-items: center; gap: 4px; }
.side-menu-provider-icon { border-radius: 3px; flex-shrink: 0; }
.side-menu-user-name {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px; font-weight: 400; color: #000;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.side-menu-user-name strong { font-weight: 700; }
.side-menu-myinfo-link {
  display: flex; align-items: center; gap: 4px;
  border: none; background: none; cursor: pointer; padding: 0;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px; color: #555;
}
.side-menu-pill-btn {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  border: 1px solid #ddd; background: #fff; cursor: pointer;
  border-radius: 16px; height: 28px; padding: 0 12px;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px; font-weight: 400; color: #555;
}
.profile-desc {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px; color: #888; margin: 8px 0 0;
}
/* 내 정보 하단은 닫기(흰)+저장(빨강) 2버튼 row — 표준 .btn-cancel/.btn-submit 사용 */
.profile-withdraw-link {
  align-self: center; flex-shrink: 0; white-space: nowrap;
  border: none; background: none; cursor: pointer; padding: 0;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px; color: #777; text-decoration: underline;
}
/* 내 정보 카드 */
/* 내 정보 콘텐츠 블록 간 간격 24px 균일 (Figma) */
#profileLoggedIn { display: flex; flex-direction: column; gap: 24px; }
.myinfo-card {
  display: flex; flex-direction: column; gap: 16px;
  background: #f2f6ff; border: 1px solid #006cff; border-radius: 4px;
  padding: 16px; width: 100%;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
}
.myinfo-card-user { display: flex; align-items: center; gap: 8px; }
.myinfo-card-user img { flex-shrink: 0; }
.myinfo-nick { font-size: 16px; font-weight: 600; color: #006cff; }
.myinfo-rows { display: flex; flex-direction: column; gap: 8px; }
.myinfo-row { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.myinfo-label { flex: 1 0 0; min-width: 0; color: #555; }
.myinfo-value { color: #000; white-space: nowrap; }
.myinfo-value b { font-size: 16px; font-weight: 700; }
.btn-change-sns {
  width: 100%; height: 48px; flex-shrink: 0;
  background: #fff; border: 1px solid rgba(170,170,170,0.87); border-radius: 8px;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px; font-weight: 400; color: #000; cursor: pointer;
}
.side-menu-list {
  display: flex; flex-direction: column; flex-shrink: 0;
}
.side-menu-item {
  text-align: left; border: none; background: none; cursor: pointer;
  width: 100%; height: 48px; flex-shrink: 0;
  font-size: 16px; font-weight: 400; color: #1a1a1a; line-height: 40px;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
}
.side-menu-item:active { opacity: 0.6; }
.side-menu-footer {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
  padding: 10px 20px;
}
.side-menu-footer-link {
  border: none; background: none; cursor: pointer; padding: 0;
  font-size: 14px; color: #555; line-height: 32px;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
}
.side-menu-footer-divider { width: 1px; height: 12px; background: #ddd; flex-shrink: 0; }
.mobile-icon-btn.mobile-icon-info {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: #555;
  font-size: 16px;
  font-style: normal;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.mobile-chips-row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  min-width: 0;
  width: 100%;
  padding: 6px 0 10px;
  margin: -6px 0 -10px;
}
.mobile-chips-row::-webkit-scrollbar { display: none; }
.mobile-chips-row .filter-chip {
  height: 32px;
  padding: 0 14px;
  border-radius: 20px;
  border: 1.5px solid #ddd;
  background: white;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  transition: all 0.15s;
}
.mobile-chips-row .filter-chip.active {
  background: #383838;
  border-color: #383838;
  color: white;
  font-weight: 700;
}

/* ===== 모바일 ===== */
@media (max-width: 640px) {
  .pc-card { display: none !important; }
}

@media (max-width: 640px) {
  /* PC 레이아웃 구조 해제 */
  body { flex-direction: column; }
  .pc-nav { display: none; }
  .btn-report-sidebar { display: none; }
  .mobile-sheet-overlay { display: none; }

  /* PC 검색+칩바 숨김 (모바일 오버레이가 대체) */
  .pc-map-top { display: none; }

  /* 모바일 맵 오버레이: 지도 위 절대 위치 */
  .mobile-map-overlay {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 16px;
    left: 20px;
    right: 20px;
    z-index: 1000;
    gap: 10px;
    pointer-events: none;
  }
  .mobile-map-overlay > * { pointer-events: auto; }
  .mobile-row1 {
    display: flex;
    gap: 12px;
    align-items: center;
    width: 100%;
  }
  .mobile-map-overlay .mobile-chips-row {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
    width: calc(100% + 40px);
    min-width: 0;
  }

  /* input/select 자동 줌 방지 (font-size 16px 이상 필수) */
  input, select, textarea {
    font-size: 16px !important;
  }

  /* 지도 위 플로팅 검색창 — 모바일에서 숨김 (헤더로 올라감) */
  .mobile-search-bar { display: none; }

  /* 레이아웃 — 지도 풀스크린, 바텀시트 fixed */
  .main-layout { flex-direction: column; }
  #map { flex: 1; min-height: 0; }
  .btn-my-location {
    position: fixed;
    bottom: 100px; left: auto; right: 20px;
    width: 44px; height: 44px;
    border-radius: 50%;
    z-index: 250;
  }
  .btn-zoom-group { display: none !important; }

  /* 사이드바 → fixed 바텀시트 */
  .sidebar-handle-wrap {
    display: flex; justify-content: center; align-items: center;
    height: 20px; flex-shrink: 0;
  }
  .sidebar {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: auto; bottom: 0; left: 0; right: 0;
    width: 100%;
    border-right: none;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 8px rgba(0,0,0,0.08);
    z-index: 200;
    transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    height: 78px;
    overflow: hidden;
    background: white;
  }
  .sidebar.expanded { height: 50vh; }
  .sidebar.expanded-full { height: calc(100dvh - 120px); }

  .sidebar-list .empty-state { min-height: 100%; justify-content: center; padding: 20px; box-sizing: border-box; }

  .sidebar-header {
    cursor: pointer;
    border-radius: 16px 16px 0 0;
    flex-shrink: 0;
    padding: 16px 20px 20px;
    border-bottom: none;
    height: auto;
  }
  .sidebar-header::before { display: none; }

  .sidebar-arrow { display: flex; align-items: center; }
  .refresh-btn { display: none; }
  .btn-refresh-list { display: none; }
  .sidebar.expanded .btn-refresh-list { display: flex; }
  .sidebar-title { font-size: 18px; }
  .sidebar-count { font-size: 14px; }

  /* 모달 모바일 */
  .modal {
    width: 100%; max-width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    position: fixed; top: 0; bottom: 0; left: 0; right: 0;
  }
  .modal-header { padding-top: max(40px, env(safe-area-inset-top, 40px)); }
  .modal-overlay { align-items: stretch; }

  /* 내 정보: 제보하기/신고하기와 동일하게 풀스크린 모달로 표시
     (.modal 기본 모바일 규칙 + .modal-footer 하단 고정 그대로 상속) */


  /* ===== 모바일 폰트 사이즈 전반 업스케일 ===== */
  /* 헤더/필터 */
  .logo-text { font-size: 18px; }
  .btn-add { font-size: 13px; }
  .filter-chip { font-size: 12px; }

  /* 사이드바 리스트 */
  .card-icon { font-size: 18px; }
  .card-name { font-size: 15px; }
  .card-dl { font-size: 12px; }
  .card-deadline-date { font-size: 12px; }
  .card-addr { font-size: 12px; }
  .card-badge { font-size: 12px; padding: 3px 9px; }
  .card-reporter { font-size: 12px; }

  /* 바텀시트 인포창 */
  .info-name { font-size: 16px; }
  .info-addr { font-size: 13px; }
  .c-content { font-size: 14px; }
  .c-deadline { font-size: 13px; }
  .c-deadline-date { font-size: 13px; }
  .c-hours, .c-days { font-size: 13px; }
  .c-link { font-size: 13px; }
  .c-badge { font-size: 12px; padding: 3px 9px; }
  .c-reporter { font-size: 13px; }
  .c-empty { font-size: 14px; }
  .info-founder { font-size: 13px; }

  /* 모달 */
  .modal-header h2 { font-size: 18px; }
  .custom-select-trigger { font-size: 16px; }
  .channel-btn { font-size: 16px; }
  .day-btn { font-size: 16px; }
  .holiday-check-row span { font-size: 16px; }
  .form-group label { font-size: 14px; }
  .step-indicator .step { font-size: 13px; }
  .optional-section-title { font-size: 14px; }
  .optional-section-desc { font-size: 13px; }
  .selected-place-badge { font-size: 13px; }
  .search-hint { font-size: 14px; }
  .item-name { font-size: 16px; }
  .item-sub { font-size: 14px; }
  .existing-label { font-size: 13px; }
  .existing-name { font-size: 15px; }
  .existing-addr { font-size: 13px; }
  .existing-new { font-size: 14px; }

  /* 서비스 소개 */
  .about-section-title { font-size: 15px; }
  .about-desc { font-size: 14px; }
  .about-step strong { font-size: 15px; }
  .about-step p { font-size: 13px; }
  .about-hero-title { font-size: 24px; }
  .about-hero-sub { font-size: 13px; }
}

/* ===== 후기(리뷰) 탭 / 리스트 / 등록 ===== */
.rv-tabs-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rv-tabs { display: flex; gap: 6px; }
.rv-tab {
  border: none; cursor: pointer; padding: 8px 12px; border-radius: 16px; line-height: 16px;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px; font-weight: 400; background: rgba(57,57,92,0.12); color: #39395c; transition: all .15s;
}
.rv-tab.active { background: #39395c; color: #fff; font-weight: 700; }
.rv-register-btn {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  border: none; background: none; cursor: pointer; padding: 4px 0;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px; color: #1a1a1a; white-space: nowrap;
}
.rv-register-btn img { border-radius: 4px; display: block; }
.rv-tab-body { width: 100%; }
.rv-pane { width: 100%; }
.rv-loading { padding: 28px 0; text-align: center; color: #999; font-size: 14px; }
.rv-line { height: 1px; background: #eee; }

/* PC 카드(info-window): 매장명과 동일한 20px 인셋 + 라인 아래 영역만 스크롤 */
.info-window .rv-tabs-row { padding: 12px 20px 0; }
.info-window .rv-line { margin: 12px 20px 0; }
.info-window .rv-pane-review { padding: 12px 20px 20px; max-height: 360px; overflow-y: auto; }
.info-window .rv-empty { padding: 24px 20px; }
/* 모바일: 라인은 detail-fixed 안(탭 아래), 리스트는 detail-scroll이 스크롤 */
.detail-scroll .rv-pane-review { padding-top: 12px; }

/* 빈 상태 (캠페인/후기 공통) */
.rv-empty { padding: 28px 16px 24px; text-align: center; }
.rv-empty-text { font-size: 15px; color: #1a1a1a; line-height: 1.5; font-weight: 500; }
.rv-empty-text b { font-weight: 700; }
.rv-empty-sub { font-size: 13px; color: #999; margin-top: 6px; }
.rv-empty-btn {
  margin-top: 16px; padding: 10px 22px; border: 1px solid rgba(170,170,170,0.6);
  background: #fff; border-radius: 8px; cursor: pointer;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px; color: #1a1a1a;
}
.rv-empty-btn:hover { background: #f5f5f5; }

/* 후기 리스트 */
.rv-list-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 0 10px; }
.rv-count { font-size: 14px; color: #1a1a1a; }
.rv-sort-wrap { position: relative; flex-shrink: 0; }
.rv-sort { display: inline-flex; align-items: center; gap: 4px; border: none; background: none; cursor: pointer; font-size: 14px; color: #555; font-family: inherit; padding: 0; }
.rv-sort-caret { display: block; transition: transform .15s; transform: rotate(180deg); }
.rv-sort-wrap.open .rv-sort-caret { transform: rotate(0deg); }
.rv-sort-menu {
  display: none; position: absolute; top: calc(100% + 6px); right: 0; width: 80px;
  background: #fff; border: 1px solid #ddd; border-radius: 4px;
  box-shadow: 0 4px 2px rgba(0,0,0,0.04); overflow: hidden; z-index: 20;
}
.rv-sort-wrap.open .rv-sort-menu { display: block; }
.rv-sort-opt {
  display: block; width: 100%; height: 40px; padding: 0 12px; border: none; background: none;
  cursor: pointer; font-family: inherit; font-size: 14px; color: #555; text-align: left; white-space: nowrap;
}
.rv-sort-opt.active { color: #1a1a1a; font-weight: 600; }
.rv-sort-opt + .rv-sort-opt { border-top: 1px solid #eee; }
.rv-sort-opt:hover { background: #f7f7f7; }
.rv-cards { display: flex; flex-direction: column; gap: 14px; }
.rv-card { display: flex; gap: 16px; cursor: pointer; }
.rv-thumb { width: 88px; height: 88px; flex-shrink: 0; border-radius: 8px; overflow: hidden; background: #eee; }
.rv-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rv-thumb-empty { background: #ededed; }
.rv-card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rv-card-title {
  font-size: 15px; font-weight: 400; color: #1a1a1a; margin: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rv-card-excerpt {
  font-size: 13px; color: #777; margin: 0; line-height: 1.4;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.rv-card-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; gap: 8px; }
.rv-card-byline { display: flex; align-items: center; gap: 4px; min-width: 0; flex: 1; }
.rv-card-author { font-size: 14px; font-weight: 700; color: #555; line-height: 16px; flex-shrink: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-card-dot { width: 2px; height: 2px; border-radius: 50%; background: #bbb; flex-shrink: 0; }
.rv-card-date { font-size: 12px; color: #777; line-height: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-like { display: inline-flex; align-items: center; gap: 4px; border: none; background: none; cursor: pointer; padding: 2px 0 2px 8px; flex-shrink: 0; }
.rv-heart-off, .rv-heart-on { display: block; }
.rv-heart-on { display: none; }
.rv-like.liked .rv-heart-off { display: none; }
.rv-like.liked .rv-heart-on { display: block; }
.rv-like-count { font-size: 12px; color: #777; }

/* 후기 등록 폼 */
.rv-required { color: #E82A2D; }
.rv-url-row { display: flex; gap: 8px; }
.rv-url-row input { flex: 1; min-width: 0; }
.rv-url-row .input-wrap { flex: 1; min-width: 0; }
.rv-verify-btn {
  flex-shrink: 0; padding: 0 18px; border: 1px solid rgba(170,170,170,0.87); background: #fff;
  border-radius: 8px; cursor: pointer; font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px; color: #1a1a1a;
}
.rv-verify-btn:hover { background: #f5f5f5; }
.rv-form-error { color: #E82A2D; font-size: 14px; margin: 4px 0 0; }
.rv-preview-label { font-size: 14px; color: #555; margin: 8px 0; }

/* PC: 후기 등록은 가운데 팝업 (signup 팝업과 동일 패턴) */
@media (min-width: 641px) {
  #reviewFormOverlay { background: rgba(0,0,0,0.5); align-items: center; justify-content: center; }
  #reviewFormOverlay .signup-page {
    flex: 0 1 auto; width: 420px; max-width: calc(100vw - 40px);
    height: auto; max-height: 85vh; margin: 0;
    background: #fff; border-radius: 16px; overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  }
  #reviewFormOverlay .signup-content { flex: 0 1 auto; padding: 24px 20px 0; }
  #reviewFormOverlay .signup-title-wrap h2 { font-size: 20px; }
  #reviewFormOverlay .form-group input,
  #reviewFormOverlay .rv-verify-btn { height: 48px; font-size: 16px; }
  #reviewFormOverlay .signup-footer { padding: 20px; }
  #reviewFormOverlay .signup-btn-cancel,
  #reviewFormOverlay .signup-btn-confirm { height: 48px; font-size: 16px; }
}
