/* 브랜드 톤: 라임 그린 배경 + 코발트 블루 포인트, 글자는 블랙/화이트 */
:root {
  --lime: #CCF988;          /* 로고 이미지 배경색과 동일한 라임 그린 */
  --primary: #1F45D9;       /* 포인트: 로고 코발트 블루 */
  --primary-dark: #1634B0;
  --ink: #111111;           /* 블랙 글자 */
  --ink-2: #3A3A3A;
  --ink-3: #757575;
  --white: #FFFFFF;
  --line: #EAEAEA;
  --soft: #F5F5F5;          /* 흰 카드 안의 옅은 영역 */
  --bubble: #EEF0F4;        /* 배너2 말풍선 (불편함을 나타내는 무채색) */
  --danger: #E5364B;
  --radius: 20px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  background: var(--lime);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.02em;
}
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
input, textarea { font: inherit; letter-spacing: inherit; }
button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

/* 모바일 프레임: 데스크톱에서도 폰 너비로 보이도록 */
.app {
  position: relative;
  max-width: 480px;
  min-height: 100%;
  margin: 0 auto;
  background: var(--lime);
  overflow-x: hidden;
}

.screen { display: none; min-height: 100vh; padding-bottom: calc(120px + var(--safe-bottom)); }
.screen.active { display: block; animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- 상단바 (A안: 로고 중앙 정렬) ---------- */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: grid; grid-template-columns: 60px 1fr 60px; align-items: center;
  padding: 2px 16px 6px;
  background: var(--lime);
}
.topbar-spacer { width: 40px; }
/* 로고 그림(가로 80~436, 세로 114~384px) 둘레에 여백을 두고 중앙 기준으로 자름 */
.logo {
  --w: 150px;
  justify-self: center;
  width: var(--w); height: calc(var(--w) * .8028);
  background: url(logo.png) no-repeat;
  background-size: calc(var(--w) * 1.1468);
  background-position: calc(var(--w) * -.0917) calc(var(--w) * -.1697);
}
.topbar-btn {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; background: var(--primary); color: var(--white);
}

.topbar.sub { display: flex; justify-content: space-between; height: 56px; padding: 0 16px; }
.topbar.sub h1 { font-size: 17px; font-weight: 700; color: var(--ink); }
.topbar.sub > span { width: 32px; }
.back { width: 32px; height: 32px; font-size: 22px; font-weight: 700; color: var(--ink); }

.home-body { padding: 0 16px; }

/* ---------- 배너: 블루 단계 (연블루 → 화이트 → 코발트) ---------- */
.banner {
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
  padding-bottom: 22px; /* 넘김 점이 들어갈 자리 */
}
.banner-track { display: flex; transition: transform .45s cubic-bezier(.22,.8,.3,1); }
.slide {
  position: relative;
  flex: 0 0 100%;
  height: 270px;
  padding: 20px 20px;
  border-radius: 24px;
  background: var(--white);
  color: var(--ink);
  overflow: hidden;
}
.slide-1 { background: #E4EBFF; }
.slide-2 { background: var(--white); }
/* 배너3: 코발트 배경이라 글자는 화이트, 강조는 라임 */
.slide-3 { background: var(--primary); color: var(--white); }
.slide-3 .slide-eyebrow { background: var(--white); color: var(--primary); }
.slide-3 .slide-title em { color: var(--lime); }
.slide-3 .tl-point small { color: rgba(255,255,255,.85); }
.slide-3 .tl-line { border-top-color: var(--lime); }
.slide-eyebrow {
  display: inline-block;
  padding: 5px 11px; border-radius: 999px;
  background: var(--primary); color: var(--white);
  font-size: 12px; font-weight: 700;
}
.slide-title {
  margin-top: 10px;
  font-weight: 800;
  font-size: 26px; line-height: 1.3;
  text-wrap: balance;
}
.slide-title em { font-style: normal; color: var(--primary); }
.slide-desc { margin-top: 8px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
/* 배너1: 제목은 왼쪽 위, 세탁 봉투 그림은 오른쪽 위, 설명은 아래 전체 폭 */
.slide-1 .slide-title em { font-size: 34px; }
/* 배너1 배치: 왼쪽 = 제목 + 품목 2×2, 오른쪽 아래 = 세탁봉투, 맨 아래 = 비교 문구 한 줄
   봉투 아래 끝을 품목 타일 아래 끝(배너 바닥에서 46px)에 맞추고, 사진은 원본 비율 그대로 */
/* 봉투 폭은 px로 고정: 봉투(배너 기준)와 품목 칸 옆 자리(하단 영역 기준)가 같은 값을 쓰도록 */
.slide-1 { --bag-w: 150px; }
/* 손잡이 2배로 늘린 사진 + 흰 스티커 테두리(상하좌우 2.5px) */
.bag-art {
  position: absolute; right: 20px; bottom: 46px; width: var(--bag-w); height: auto; aspect-ratio: 500 / 546; object-fit: contain;
  filter: drop-shadow(2.5px 0 0 #FFFFFF) drop-shadow(-2.5px 0 0 #FFFFFF) drop-shadow(0 2.5px 0 #FFFFFF) drop-shadow(0 -2.5px 0 #FFFFFF);
}

.price-compare {
  position: absolute; left: 20px; right: 20px; bottom: 16px;
  display: grid; grid-template-columns: minmax(0, 1fr) var(--bag-w); column-gap: 12px; row-gap: 10px;
}
.pc-row { grid-column: 1; width: min(100%, 176px); display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
/* 아이콘 칸 18px + 글자 칸 고정 폭 → 위아래 칸의 아이콘이 같은 세로선에 정렬되고, 묶음 전체는 칸 가운데 */
.pc-tile {
  min-width: 0; height: 34px;
  display: grid; grid-template-columns: 18px minmax(0, 38px); column-gap: 6px;
  align-items: center; justify-content: center;
  padding: 0 4px; border-radius: 10px;
  background: var(--white);
}
.pc-icon { display: block; width: 18px; height: 18px; }
.pc-tile b { font-size: 12px; font-weight: 700; white-space: nowrap; }
/* 휴대폰 폭: 봉투를 줄여 왼쪽 품목 칸(2×2)이 들어갈 자리를 확보 */
@media (max-width: 440px) {
  .slide-1 { --bag-w: 112px; }
  /* 품목 칸을 8px 위로: 아래 문구와의 간격을 넓히고, 봉투 아래 끝도 같이 맞춤 */
  .price-compare { row-gap: 18px; }
  .bag-art { bottom: 54px; }
  .pc-row { width: min(100%, 152px); }
  .pc-tile { grid-template-columns: 16px minmax(0, 35px); column-gap: 5px; padding: 0 3px; }
  .pc-icon { width: 16px; height: 16px; }
  .pc-tile b { font-size: 11px; }
}
.pc-caption { grid-column: 1 / -1; text-align: center; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.pc-caption b { color: var(--primary); }

/* 배너2: 코인세탁의 불편함에 공감하는 속마음 말풍선 (불편함은 회색, 마지막 바람만 라임) */
.slide-2 .slide-title { font-size: 24px; } /* 제목 한 줄 유지 → 말풍선 4개 공간 확보 */
.bubbles { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.bubble {
  max-width: 86%; padding: 7px 12px; border-radius: 14px;
  background: var(--bubble); color: var(--ink-2);
  font-size: 13px; font-weight: 600; line-height: 1.4;
}
.bubble b { color: var(--ink); font-weight: 800; }
.bubble.l { align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble.r { align-self: flex-end; border-bottom-right-radius: 4px; }
.bubble.hi { background: var(--lime); color: var(--ink); }

/* 배너3: 타임라인 */
.timeline { display: flex; align-items: flex-start; margin-top: 16px; }
.tl-point { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 104px; text-align: center; }
.tl-dot {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--lime); font-size: 22px;
}
.tl-point b { margin-top: 2px; font-weight: 800; font-size: 14px; }
.tl-point small { font-size: 12px; color: var(--ink-2); }
.tl-line {
  position: relative; flex: 1; height: 0; margin-top: 23px;
  border-top: 2px dashed var(--primary);
}
/* 🚚 이모지는 왼쪽을 보고 있어서 좌우로 뒤집어 진행 방향(오른쪽)을 보게 함 */
.tl-truck { position: absolute; top: -20px; left: 0; font-size: 24px; display: inline-block; transform: scaleX(-1); animation: drive 3s ease-in-out infinite; }
@keyframes drive { 0% { left: 0; } 60%, 100% { left: calc(100% - 28px); } }

.banner-dots {
  position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%);
  display: flex; gap: 5px;
}
.dot { width: 6px; height: 6px; border-radius: 3px; background: rgba(0,0,0,.2); transition: width .3s; }
.dot.active { width: 18px; background: var(--primary); }
.banner-count {
  position: absolute; right: 14px; top: 14px;
  padding: 3px 9px; border-radius: 999px;
  background: rgba(0,0,0,.08); color: var(--ink-2); font-size: 12px;
  transition: background .3s, color .3s;
}
.banner.on-dark .banner-count { background: rgba(255,255,255,.2); color: var(--white); }

/* ---------- 카드/섹션 ---------- */
.card { background: var(--white); border-radius: var(--radius); padding: 18px; }
.muted { color: var(--ink-3); font-size: 13px; }
.small { color: var(--ink-3); font-size: 13px; margin-top: 4px; }
.center { text-align: center; }

.price-card { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.price { margin-top: 4px; font-size: 16px; font-weight: 700; color: var(--ink); }
.price b { font-weight: 800; font-size: 30px; color: var(--primary); }
.price-badge {
  padding: 12px 14px; border-radius: 14px;
  background: var(--lime); color: var(--ink);
  font-size: 12px; font-weight: 600; text-align: center; line-height: 1.4;
}
.price-badge b { font-weight: 800; font-size: 18px; }

.section { margin-top: 12px; background: var(--white); border-radius: var(--radius); padding: 22px 18px; }
.section-title { font-weight: 800; font-size: 18px; color: var(--ink); margin-bottom: 16px; }

.steps { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; position: relative; }
.steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 15px; top: 34px; bottom: -14px;
  width: 2px; background: var(--line);
}
.step-num {
  flex: none; display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  font-weight: 700; font-size: 14px;
}
.steps b { font-size: 16px; }
.steps p { color: var(--ink-2); font-size: 14px; margin-top: 2px; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.compare-col { padding: 14px 12px; border-radius: 14px; background: var(--soft); }
.compare-col.ours { background: var(--lime); }
.compare-head { font-weight: 800; font-size: 14px; margin-bottom: 10px; color: var(--ink-3); }
.ours .compare-head { color: var(--primary); }
.compare ul { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--ink-2); line-height: 1.4; }
.ours ul { color: var(--ink); font-weight: 600; }
.compare li { word-break: keep-all; }
/* 휴대폰 폭: 비교 문구가 한 줄에 들어가도록 여백·글자 크기를 조금 줄임 */
@media (max-width: 400px) {
  .compare-col { padding: 14px 10px; }
  .compare ul { font-size: 12px; }
}

.faq { border-top: 1px solid var(--line); }
.faq:first-of-type { border-top: 0; }
.faq summary { list-style: none; padding: 14px 0; font-weight: 700; font-size: 15px; cursor: pointer; display: flex; justify-content: space-between; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "⌄"; color: var(--primary); transition: transform .2s; }
.faq[open] summary::after { transform: rotate(180deg); }
.faq p { padding: 0 0 14px; color: var(--ink-2); font-size: 14px; line-height: 1.6; }
/* FAQ 강조 문구: 코발트 굵은 글씨 + 라임 형광펜 밑줄 */
.faq-em { color: var(--primary); font-weight: 800; background: linear-gradient(transparent 58%, var(--lime) 58%); }

.footer { padding: 26px 4px 10px; color: var(--ink-2); font-size: 12px; line-height: 1.7; }
.footer-links { margin-top: 6px; }
.footer-links a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- 하단 CTA ---------- */
.bottom-cta {
  position: fixed; left: 50%; bottom: 0; z-index: 20;
  transform: translateX(-50%);
  width: 100%; max-width: 480px;
  padding: 12px 16px calc(12px + var(--safe-bottom));
  background: linear-gradient(to top, var(--lime) 70%, rgba(204,249,136,0));
}
.btn-primary {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--primary); color: var(--white);
  font-weight: 700;
  border-radius: 16px;
  transition: transform .1s, background .2s;
}
.btn-primary:active { transform: scale(.98); background: var(--primary-dark); }
.btn-primary:disabled { background: #A9B8EE; }
.btn-lg { height: 58px; font-size: 18px; }
.btn-ghost { width: 100%; height: 52px; border-radius: 14px; background: var(--white); color: var(--ink-2); font-weight: 700; }
.cta-hint { margin-top: 10px; text-align: center; font-size: 13px; font-weight: 500; color: var(--ink); }
.cta-hint b { color: var(--primary); font-weight: 800; }

/* ---------- 폼 ---------- */
.form-body { padding: 20px 16px; }
.form-lead { font-size: 22px; font-weight: 800; line-height: 1.4; margin-bottom: 24px; }
.form-lead b { color: var(--primary); }
.field { display: block; margin-bottom: 12px; }
.field span { display: block; font-size: 14px; color: var(--ink); margin-bottom: 6px; font-weight: 700; }
.field small { color: var(--ink-2); font-weight: 400; }
.field input, textarea {
  width: 100%; height: 52px; padding: 0 16px;
  border: 1.5px solid transparent; border-radius: 14px;
  background: var(--white); font-size: 16px; outline: none;
  transition: border-color .2s;
}
textarea { height: auto; padding: 14px 16px; resize: none; }
.field input:focus, textarea:focus { border-color: var(--primary); }
.field input.invalid { border-color: var(--danger); }

.agree { margin-top: 20px; background: var(--white); border-radius: 14px; padding: 6px 16px; }
.check { display: flex; align-items: center; gap: 10px; padding: 11px 0; font-size: 14px; color: var(--ink-2); }
.check.all { border-bottom: 1px solid var(--line); color: var(--ink); font-size: 15px; }
.check input { width: 20px; height: 20px; accent-color: var(--primary); }
.form-error { margin-top: 12px; color: var(--danger); font-size: 14px; font-weight: 600; min-height: 20px; }

.form-label { margin: 22px 0 10px; font-size: 16px; font-weight: 800; }
.form-label small { color: var(--ink-2); font-weight: 400; font-size: 13px; }
.addr-card .addr { margin-top: 4px; font-weight: 800; font-size: 16px; }

.date-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.date-opt {
  padding: 14px 6px; border-radius: 14px; background: var(--white);
  border: 2px solid transparent; text-align: center;
}
.date-opt b { display: block; font-size: 15px; }
.date-opt small { color: var(--ink-3); font-size: 12px; }
.date-opt.selected { border-color: var(--primary); }
.date-opt.selected b { color: var(--primary); }

.stepper-card { display: flex; align-items: center; justify-content: space-between; }
.stepper { display: flex; align-items: center; gap: 4px; background: var(--lime); border-radius: 12px; padding: 4px; }
.stepper button { width: 36px; height: 36px; border-radius: 10px; background: var(--white); font-size: 20px; font-weight: 800; color: var(--primary); }
.stepper button:disabled { color: var(--ink-3); }
.stepper span { min-width: 32px; text-align: center; font-weight: 800; font-size: 17px; }

.summary { margin-top: 22px; }
.row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 15px; color: var(--ink-2); }
.row b { color: var(--ink); }
.row.total { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 17px; }
.row.total b { color: var(--primary); font-weight: 800; font-size: 20px; }

/* ---------- 완료 ---------- */
.done-body { padding: 70px 20px 20px; text-align: center; }
.done-icon {
  width: 124px; height: 124px; margin: 0 auto 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: 46px;
  animation: pop .5s cubic-bezier(.2,1.6,.4,1);
}
.done-icon img { width: 92px; height: auto; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.done-body h2 { font-weight: 800; font-size: 26px; color: var(--ink); }
.done-desc { margin-top: 10px; font-size: 17px; color: var(--ink-2); line-height: 1.5; }
.done-desc b { color: var(--primary); }
.done-tag { display: inline-block; margin-top: 14px; padding: 9px 14px; border-radius: 12px; background: var(--white); font-size: 14px; color: var(--ink-2); }
.done-tag b { color: var(--primary); }
.done-card { margin: 22px 0 14px; text-align: left; }
.done-opts { margin: 0 0 4px 26px; padding: 4px 12px; border-radius: 10px; background: var(--soft); }
.done-opts .row { padding: 4px 0; font-size: 13px; }
.done-opts .row span:last-child { color: var(--ink); font-weight: 600; }
.done-body .small { color: var(--ink-2); }

/* ---------- 내 정보 ---------- */
.history-item { margin-top: 10px; }
.history-item .row { padding: 3px 0; font-size: 14px; }
.status { display: inline-block; padding: 3px 8px; border-radius: 8px; background: var(--primary); color: var(--white); font-size: 12px; font-weight: 700; }

/* ---------- 수거 요청 흐름: 진행 막대 · 선택 버튼 · 인증 ---------- */
[hidden] { display: none !important; }
.progress { display: flex; gap: 4px; padding: 10px 16px 0; }
.progress i { flex: 1; height: 4px; border-radius: 2px; background: rgba(0,0,0,.12); }
.progress i.on { background: var(--primary); }
.form-note { margin: -14px 0 18px; font-size: 13px; color: var(--ink-2); }

.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.seg button { padding: 12px 4px; border-radius: 12px; background: var(--white); border: 2px solid transparent; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.seg button.on { border-color: var(--primary); color: var(--primary); font-weight: 800; }
.seg-2 { grid-template-columns: repeat(2, 1fr); }
/* 옵션 버튼: 이름 아래에 금액·설명 */
.seg.opt button { padding: 10px 4px; line-height: 1.3; }
.seg.opt small { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; color: var(--ink-3); }
.seg.opt button.on small { color: var(--primary); font-weight: 700; }
.price-lines { margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line); }
.row.sub { padding: 3px 0; font-size: 13px; color: var(--ink-3); }

.field-row { display: flex; gap: 8px; align-items: center; position: relative; }
.field-row input { flex: 1; min-width: 0; }
.btn-inline { flex: none; height: 52px; padding: 0 14px; border-radius: 14px; background: var(--primary); color: var(--white); font-size: 14px; font-weight: 700; }
.btn-inline:disabled { background: #A9B8EE; }
.check .req { color: var(--primary); font-weight: 700; }

/* ---------- 홈 상단 아이콘 (서비스 지역 · 내 정보) ---------- */
.top-icon { display: flex; flex-direction: column; align-items: center; gap: 4px; justify-self: center; }
.top-icon-c { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--primary); color: var(--white); }
.top-icon small { font-size: 11px; font-weight: 700; color: var(--ink); white-space: nowrap; letter-spacing: -0.04em; }

/* ---------- 서비스 지역 ---------- */
.area-strip { margin: -10px 0 18px; padding: 12px 14px; border-radius: 14px; background: var(--white); display: flex; flex-direction: column; gap: 8px; }
.area-strip-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.area-strip-top b { color: var(--ink); }
.link-btn { flex: none; font-size: 13px; font-weight: 700; color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.loc-btn { width: 100%; height: 44px; border-radius: 12px; border: 2px solid var(--primary); color: var(--primary); font-size: 14px; font-weight: 800; background: var(--white); }
.loc-result { font-size: 13px; line-height: 1.5; padding: 8px 10px; border-radius: 10px; }
.loc-result.ok { background: var(--lime); color: var(--ink); font-weight: 700; }
.loc-result.out, .loc-result.warn { background: #FFF1F2; color: #B42335; }
.loc-result.wait { background: var(--soft); color: var(--ink-2); }
.addr-out { margin: -4px 0 6px; padding: 10px 12px; border-radius: 12px; background: #FFF1F2; color: #B42335; font-size: 13px; line-height: 1.55; }
.addr-out .link-btn { color: #B42335; font-size: 13px; }

.area-body { flex: 1; min-height: 0; overflow-y: auto; padding: 18px 16px calc(24px + var(--safe-bottom)); display: flex; flex-direction: column; gap: 12px; }
.area-body > * { flex: none; } /* 세로로 쌓인 요소가 눌려 작아지지 않게 */
.area-lead { font-size: 20px; font-weight: 800; line-height: 1.4; }
.area-lead b { color: var(--primary); }
.area-map { position: relative; z-index: 0; height: 300px; border-radius: 16px; overflow: hidden; background: var(--soft); flex: none; }
.map-fail { height: 100%; display: grid; place-items: center; text-align: center; padding: 16px; font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.area-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.area-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--soft); font-size: 13px; font-weight: 700; }
.dot-a { width: 10px; height: 10px; border-radius: 3px; background: var(--lime); border: 2px solid var(--primary); }
.area-notice { padding: 14px; border-radius: 14px; background: var(--lime); }
.area-notice b { display: block; font-size: 15px; margin-bottom: 4px; }
.area-notice p { font-size: 13px; line-height: 1.55; color: var(--ink); }
/* 지도 위 동 이름표 (Leaflet 기본 흰 말풍선 대신 브랜드 색) */
.leaflet-tooltip.area-label { background: var(--primary); color: var(--white); border: 0; border-radius: 8px; font-family: inherit; font-weight: 800; font-size: 12px; padding: 3px 8px; box-shadow: none; }
.leaflet-tooltip.area-label::before { display: none; }

/* ---------- 주소 검색 ---------- */
.field input[readonly] { cursor: pointer; }
#zonecode { flex: 0 1 140px; }
.addr-ok { margin: -4px 0 4px; font-size: 13px; font-weight: 700; color: var(--primary); }
.addr-layer {
  position: fixed; top: 0; bottom: 0; left: 50%; z-index: 45;
  width: 100%; max-width: 480px; transform: translateX(-50%);
  display: flex; flex-direction: column; background: var(--white);
  padding-top: env(safe-area-inset-top, 0px);
}
.addr-head { flex: none; height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid var(--line); }
.addr-head b { font-size: 17px; }
.addr-head button { width: 36px; height: 36px; font-size: 20px; color: var(--ink-2); }
.addr-embed { flex: 1; min-height: 0; }

/* ---------- ③ 안내사항 창 (아래에서 올라오는 창) ---------- */
body.sheet-open { overflow: hidden; }
.sheet-wrap { position: fixed; inset: 0; z-index: 40; }
.sheet-dim { position: absolute; inset: 0; background: rgba(17,17,17,.45); opacity: 0; transition: opacity .25s; }
.sheet {
  position: absolute; left: 50%; bottom: 0; width: 100%; max-width: 480px;
  transform: translate(-50%, 100%); transition: transform .25s ease;
  max-height: 90vh; display: flex; flex-direction: column; gap: 10px;
  padding: 10px 16px calc(16px + var(--safe-bottom));
  background: var(--white); border-radius: 24px 24px 0 0;
}
.sheet-wrap.show .sheet-dim { opacity: 1; }
.sheet-wrap.show .sheet { transform: translate(-50%, 0); }
.grab { width: 40px; height: 4px; border-radius: 2px; background: #D4D4D4; align-self: center; flex: none; }
.sheet h2 { font-size: 18px; font-weight: 800; line-height: 1.35; text-wrap: balance; }
.sheet-body { overflow-y: auto; display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.sec { background: var(--soft); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.sec-t { font-size: 14px; font-weight: 800; display: flex; align-items: center; gap: 6px; }
.sec-t i { font-style: normal; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--primary); color: var(--white); font-size: 11px; flex: none; }
.sec p { font-size: 13px; line-height: 1.55; color: var(--ink-2); }
.sec p b { color: var(--ink); }
.notes { list-style: none; display: flex; flex-direction: column; gap: 5px; padding: 0; margin: 0; }
.notes li { position: relative; padding-left: 11px; font-size: 13px; line-height: 1.55; color: var(--ink-2); }
.notes li::before { content: ""; position: absolute; left: 1px; top: .68em; width: 4px; height: 4px; border-radius: 50%; background: var(--primary); }
.tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tags span { padding: 4px 9px; border-radius: 999px; background: var(--white); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.sec.pay { background: var(--lime); }
.sec.pay p { color: var(--ink); }
.pay-box { background: var(--white); border-radius: 10px; padding: 6px 10px; }
.pay-box .row { font-size: 13px; padding: 4px 0; }
.confirm { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--primary); font-size: 15px; font-weight: 800; color: var(--primary); flex: none; }
.confirm input { width: 20px; height: 20px; accent-color: var(--primary); }
.sheet .btn-primary { flex: none; }

/* ---------- ④ 완료: 입금 안내 ---------- */
.pay-card { margin-bottom: 14px; text-align: left; border: 2px solid var(--primary); }
.pay-title { font-size: 15px; font-weight: 800; color: var(--primary); margin-bottom: 6px; }
.pay-card .row { font-size: 14px; padding: 5px 0; }
.pay-card .deadline { color: var(--primary); }
.btn-copy { width: 100%; height: 42px; margin-top: 8px; border-radius: 12px; background: var(--lime); color: var(--ink); font-size: 14px; font-weight: 700; }
.pay-note { margin-top: 10px; font-size: 13px; line-height: 1.55; color: var(--ink-2); }
.pay-note b { color: var(--ink); }

/* ---------- 토스트 ---------- */
.toast {
  position: fixed; left: 50%; bottom: 120px; z-index: 50;
  transform: translate(-50%, 20px);
  padding: 12px 18px; border-radius: 12px;
  background: var(--ink); color: var(--white); font-size: 14px; font-weight: 600;
  opacity: 0; pointer-events: none; transition: .25s;
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 360px) {
  .logo { --w: 130px; }
  .slide-title { font-size: 23px; }
  .slide-desc { font-size: 14px; }
  .slide-1 .slide-title em { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .tl-truck, .screen.active, .done-icon { animation: none; }
  .banner-track { transition: none; }
}

/* ---------- 간편로그인 ---------- */
.social-btns { display: flex; flex-direction: column; gap: 8px; }
.social-btn {
  width: 100%; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 16px; font-weight: 700; transition: transform .1s;
}
.social-btn:active { transform: scale(.98); }
.social-btn svg { width: 20px; height: 20px; flex: none; }
.social-btn.kakao { background: #FEE500; color: rgba(0, 0, 0, .85); }
.social-btn.naver { background: #03C75A; color: #FFFFFF; }
.social-btn.naver svg { width: 15px; height: 15px; }
.social-btn.google { background: var(--white); color: #1F1F1F; border: 1px solid #747775; }
.social-empty { padding: 18px 16px; border-radius: 14px; background: var(--white); text-align: center; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.social-or { display: flex; align-items: center; gap: 12px; margin: 20px 0 14px; font-size: 13px; color: var(--ink-3); }
.social-or::before, .social-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.social-mark { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); }
.social-mark svg { width: 16px; height: 16px; }
.social-mark.kakao { background: #FEE500; border-color: #FEE500; }
.social-mark.naver { background: #03C75A; border-color: #03C75A; }
.social-mark.naver svg { width: 12px; height: 12px; }
.social-linked { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 12px 14px; border-radius: 14px; background: var(--white); font-size: 14px; color: var(--ink-2); }
.social-linked b { color: var(--ink); }
.social-linked small { display: block; margin-top: 2px; font-size: 12px; color: var(--ink-3); }
.social-tag { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.social-tag .social-mark { width: 22px; height: 22px; }
.social-tag .social-mark svg { width: 12px; height: 12px; }

/* ---------- 약관·개인정보처리방침 문서 ---------- */
.doc { padding: 8px 16px 40px; color: var(--ink-2); font-size: 14px; line-height: 1.7; }
.doc-lead { margin-bottom: 8px; color: var(--ink); }
.doc-date { margin-bottom: 8px; font-size: 13px; color: var(--ink-3); }
.doc h2 { margin: 28px 0 10px; font-size: 16px; font-weight: 800; color: var(--ink); }
.doc p { margin-bottom: 8px; }
.doc ul { padding-left: 18px; margin-bottom: 8px; }
.doc ul ul { margin: 4px 0 0; }
.doc li { margin-bottom: 4px; }
.doc b { color: var(--ink); }
.doc a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.doc-table { width: 100%; margin: 6px 0 10px; border-collapse: collapse; background: var(--white); border-radius: 12px; overflow: hidden; font-size: 13px; }
.doc-table th, .doc-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.doc-table th { width: 32%; background: var(--soft); color: var(--ink); font-weight: 700; }
.doc-table thead th { width: auto; }
.doc-table tr:last-child th, .doc-table tr:last-child td { border-bottom: 0; }
.doc-footer { margin-top: 36px; padding-top: 16px; border-top: 1px solid rgba(0, 0, 0, .1); font-size: 12px; color: var(--ink-3); }
.doc-footer p { margin-bottom: 2px; }
/* 가입 화면 약관 '보기' 링크 */
.check .view { margin-left: auto; font-size: 13px; color: var(--ink-3); text-decoration: underline; text-underline-offset: 2px; }
