/* 로그인 화면 — 프로젝트 지침 기준(카드 12px / 버튼 10~12px / flat / 테두리 0.5px) */

.login-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2.5rem 1.5rem 2rem;
}

.login-header {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding-top: 1.5rem;
}

.login-eyebrow {
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.login-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
}

.login-desc {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-sub);
  line-height: 1.6;
  margin-top: 0.25rem;
}

.consent-card {
  background-color: var(--white);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.125rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

/* 탄소여권 설명(위)과 동의 항목(아래) 사이 빈 공간의 한가운데에 이름 입력을 배치 */
.nickname-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 3rem;
}

.nickname-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.nickname-label {
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--text-main);
}

.nickname-input {
  border: 0.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-main);
  background-color: var(--bg-main);
  outline: none;
}

.nickname-input:focus {
  border-color: var(--primary);
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  cursor: pointer;
}

.consent-row input[type='checkbox'] {
  width: 20px;
  height: 20px;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--primary);
  cursor: pointer;
}

.consent-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.45;
}

.consent-label b {
  font-weight: 800;
}

.consent-toggle {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-sub);
  text-decoration: underline;
  padding: 0;
  margin-left: 1.875rem;
}

.consent-detail {
  margin-left: 1.875rem;
  background-color: var(--bg-main);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.consent-detail p {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-sub);
  line-height: 1.5;
}

.consent-detail-key {
  display: inline-block;
  min-width: 4.5rem;
  font-weight: 800;
  color: var(--text-main);
}

.consent-detail-note {
  color: var(--primary-dark) !important;
}

.consent-divider {
  height: 0.5px;
  background-color: var(--border);
  margin: 0.25rem 0;
}

.consent-sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-sub);
  line-height: 1.55;
  margin-left: 1.875rem;
}

.login-error {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #B4443F;
  background-color: var(--soft-coral);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  line-height: 1.5;
}

.login-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-google {
  width: 100%;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background-color: var(--primary-dark);
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
}

.btn-google:disabled {
  background-color: var(--light-gray);
  color: var(--text-sub);
  cursor: not-allowed;
}

.btn-text {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-sub);
  text-decoration: underline;
  padding: 0.25rem;
}

.login-foot {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-sub);
  text-align: center;
  margin-top: 0.25rem;
}

/* ------------------------------------------------------------------
   인앱 브라우저 경고 (2026-09-14)
   구글은 임베디드 웹뷰에서의 OAuth 로그인을 정책적으로 막습니다.
   카카오톡으로 링크를 공유하면 가장 많이 나오는 문의라 미리 안내합니다.
------------------------------------------------------------------- */
.login-inapp-warn {
  margin-bottom: 1rem;
  padding: 0.875rem 1rem;
  background-color: var(--soft-coral);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text-main);
}

/* 개인정보 처리방침 링크 (제30조 공개 의무) */
.login-privacy-link {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: underline;
}

/* ------------------------------------------------------------------
   부스 코드로 시작하기 (2026-09-19 만물공동회)
   구글 로그인이 막히거나 시간이 걸리는 참가자용 우회로입니다.
   끄려면 src/lib/boothAccess.ts 의 BOOTH_MODE_ENABLED 를 false 로.
------------------------------------------------------------------- */
.booth-block {
  margin-top: 0.75rem;
}

.booth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.25rem 0 0.75rem;
}

.booth-divider::before,
.booth-divider::after {
  content: '';
  flex: 1;
  height: 0.5px;
  background-color: var(--light-gray, #E6EBEF);
}

.booth-divider span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-sub);
}

.booth-toggle {
  display: block;
  width: 100%;
}

.booth-box {
  margin-top: 0.75rem;
  padding: 1rem;
  background-color: #FFFFFF;
  border: 0.5px solid var(--light-gray, #E6EBEF);
  border-radius: var(--radius-sm, 12px);
}

.booth-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-sub);
  margin-bottom: 0.375rem;
}

.booth-input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 0.875rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-main);
  background-color: #FFFFFF;
  border: 0.5px solid var(--light-gray, #E6EBEF);
  border-radius: 10px;
  outline: none;
}

.booth-input:focus {
  border-color: var(--primary, #4F9163);
}

.booth-submit {
  width: 100%;
  margin-top: 0.75rem;
}

.booth-note {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--text-sub);
}

/* 번호 확인 단계 (2026-10-30) */
.booth-confirm-q {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-sub);
  text-align: center;
}

.booth-confirm-num {
  margin-top: 0.375rem;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-main);
  text-align: center;
}

.booth-back {
  display: block;
  width: 100%;
  margin-top: 0.625rem;
}

/* ── 로그인 페이지 /login (2026-11-05) ── */
.signin-screen { gap: 14px; }
.signin-top { display: flex; align-items: center; gap: 8px; }
.signin-back {
  width: 44px; height: 44px; margin-left: -10px;
  border: none; background: transparent; color: var(--text-sub);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.signin-title { margin: 0; font-size: 1.25rem; font-weight: 900; color: var(--text-main); }
.signin-hero {
  background: var(--primary); color: var(--white);
  border-radius: var(--radius-card); padding: 24px 18px;
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.signin-hero h2 { margin: 0; font-size: 1.25rem; font-weight: 900; }
.signin-hero p { margin: 0; font-size: 0.85rem; line-height: 1.6; }
.signin-note {
  background: #5F7291; border-radius: 16px; padding: 14px 16px; text-align: center;
  font-size: 0.8125rem; line-height: 1.65; color: #FFFFFF; word-break: keep-all;
}
.signin-switch { margin: 6px 0 0; font-size: 0.8125rem; text-align: center; color: var(--text-sub); }
.signin-switch a, .login-switch a { color: var(--primary-dark); font-weight: 800; }
.login-switch { margin: 4px 0 0; font-size: 0.8125rem; text-align: center; color: var(--text-sub); }
.login-back-home {
  align-self: flex-start; border: none; background: none; padding: 6px 0;
  font-family: inherit; font-size: 0.8125rem; font-weight: 700; color: var(--text-sub); cursor: pointer;
}

/* 가입 페이지 — 휴대폰 시작 버튼 아래 안내 (2026-11-05 캔버스 반영) */
.login-phone-hint { margin: 0; font-size: 0.75rem; line-height: 1.6; color: var(--text-sub); text-align: center; word-break: keep-all; }
.login-phone-hint b { color: var(--text-main); }
/* 하루 비교하기 (2026-11-05) — 캔버스 B-1 · B-3 */
.cmp-screen {
  padding: 22px 16px 32px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  word-break: keep-all;
  color: var(--text-main);
}

.cmp-header { display: flex; align-items: center; gap: 8px; }
.cmp-header h1 { margin: 0; font-size: 1.25rem; font-weight: 900; }
.cmp-back {
  width: 44px; height: 44px; margin-left: -10px;
  border: none; background: transparent; color: var(--text-sub);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}

.cmp-guide {
  background: var(--pale-teal);
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 0.875rem;
  line-height: 1.65;
  font-weight: 500;
  text-align: center;
}

.cmp-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cmp-card h2 { margin: 0; font-size: 0.97rem; font-weight: 900; }

.cmp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }

.cmp-col {
  border-radius: 14px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.cmp-col-a { background: #FCF4F2; }
.cmp-col-b { background: #EEF6F0; }
.cmp-col-head { display: flex; justify-content: center; }

.cmp-badge {
  font-size: 0.75rem;
  font-weight: 900;
  padding: 2px 12px;
  border-radius: var(--radius-pill);
}
.cmp-badge-a { background: var(--soft-coral); color: var(--text-main); }
.cmp-badge-b { background: var(--primary-dark); color: var(--white); }

.cmp-sub { font-size: 0.75rem; font-weight: 800; color: var(--text-sub); text-align: center; margin-top: 4px; }

.cmp-select {
  width: 100%;
  min-height: 44px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-main);
  text-align: center;
  text-align-last: center;
  padding: 8px 18px 8px 6px;
  -webkit-appearance: none;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #5F7291 50%), linear-gradient(135deg, #5F7291 50%, transparent 50%);
  background-position: calc(100% - 11px) 50%, calc(100% - 7px) 50%;
  background-size: 4px 4px, 4px 4px;
  background-repeat: no-repeat;
}
.cmp-select.is-empty { color: #9AA6B6; font-weight: 500; }

.cmp-transport { display: flex; flex-direction: column; gap: 4px; }

.cmp-min { display: flex; align-items: center; justify-content: center; gap: 4px; }
.cmp-min input {
  width: 74px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 6px 8px;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 800;
  text-align: center;
  background: var(--white);
  color: var(--text-main);
}
.cmp-min span { font-size: 0.75rem; color: var(--text-sub); }
.cmp-remove {
  border: none; background: none; color: var(--text-sub);
  font-size: 1.1rem; padding: 0 4px; cursor: pointer;
}

.cmp-add {
  min-height: 36px;
  border: none;
  background: transparent;
  color: var(--primary-dark);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.cmp-checks {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.cmp-checks-list { display: flex; flex-direction: column; gap: 6px; }
.cmp-checks-list label { display: flex; gap: 6px; align-items: center; font-size: 0.75rem; }
.cmp-checks-list input { margin: 0; width: 16px; height: 16px; accent-color: var(--primary); }
.cmp-sub-score { font-size: 0.72rem; font-weight: 700; color: var(--text-sub); }

.cmp-result {
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
}
.cmp-result-a { background: #FBEDEA; }
.cmp-result-b { background: #E7F3EA; }
.cmp-result-num { font-size: 1.875rem; font-weight: 900; line-height: 1.15; }
.cmp-result-num small { font-size: 0.8rem; font-weight: 700; margin-left: 2px; }
.cmp-num-b { color: var(--primary-dark); }
.cmp-num-empty { color: #9AA6B6; }
.cmp-over { font-size: 0.72rem; font-weight: 800; color: #B4554A; }
.cmp-ok { font-size: 0.72rem; font-weight: 800; color: var(--primary-dark); }
.cmp-progress { font-size: 0.72rem; font-weight: 800; color: var(--text-sub); }
.cmp-muted { color: #9AA6B6; }

.cmp-banner {
  background: var(--light-lemon);
  border-radius: 12px;
  padding: 10px;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--primary-dark);
}
.cmp-banner b { font-size: 1.2rem; font-weight: 900; }
.cmp-sep { color: #9AA6B6; margin: 0 4px; }

.cmp-stack { gap: 6px; }
.cmp-barlabel {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 800;
  margin-top: 6px;
}
.cmp-barlabel .cmp-over, .cmp-barlabel .cmp-ok { font-size: 0.75rem; }
.cmp-barlabel-mid { margin-top: 0; padding-top: 2px; }

.cmp-bars { position: relative; display: flex; flex-direction: column; gap: 6px; }
.cmp-bar { display: flex; height: 22px; border-radius: 7px; overflow: hidden; background: #F1F3F5; }
.cmp-bar > div { height: 100%; }
.cmp-bar-empty {
  padding-left: 52%;
  height: 22px;
  border-radius: 7px;
  border: 1.5px dashed #C9D1DD;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.69rem;
  font-weight: 700;
  color: #9AA6B6;
}
.cmp-target {
  position: absolute;
  top: -4px;
  bottom: -4px;
  border-left: 2px dashed var(--text-main);
}
.cmp-target-label { position: relative; height: 16px; font-size: 0.69rem; font-weight: 800; }
.cmp-target-label span { position: absolute; transform: translateX(-50%); white-space: nowrap; }

.cmp-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-top: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-sub);
}
.cmp-legend span { display: flex; align-items: center; gap: 4px; }
.cmp-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }

.cmp-reset {
  min-height: 48px;
  border: 2px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  color: var(--text-sub);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
}

.cmp-foot { font-size: 0.69rem; line-height: 1.7; color: var(--text-sub); text-align: center; }
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 20;

  display: flex;
  background-color: var(--white);
  border-top: 1px solid var(--border);
  overflow: hidden;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.625rem 0 0.75rem;
  color: var(--text-sub);
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
}

.bottom-nav-item.active {
  color: var(--primary);
}

/* 탭이 두 칸으로 나뉘어 보이도록 사이에 구분선을 둔다 */
.bottom-nav-item + .bottom-nav-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.625rem;
  bottom: 0.625rem;
  width: 1px;
  background-color: var(--border);
}

.bottom-nav-label {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* 활성 탭은 색만 바꾸지 않고 배경까지 살짝 넣어 눈에 들어오게 */
.bottom-nav-item.active {
  background-color: rgba(174, 217, 187, 0.28);
}
/* 로그아웃 상태 첫 화면 — 홈 아래 「같은 광주 여행」 비교 (2026-11-05) */
.lc {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: center;
  word-break: keep-all;
}

.lc-scroll {
  margin: 4px 0 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-sub);
  line-height: 1.6;
}

.lc-intro {
  margin-top: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lc-badge {
  align-self: center;
  background: var(--light-lemon);
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 900;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
}

.lc-title {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1.4;
  color: var(--text-main);
}

.lc-sub {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-sub);
}

.lc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lc-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.lc-trip {
  border-radius: 14px;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.lc-trip-high { background: #FBEDEA; }
.lc-trip-low { background: #E7F3EA; }

.lc-pill {
  font-size: 0.7rem;
  font-weight: 900;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
}
.lc-pill-high { background: var(--soft-coral); color: var(--text-main); }
.lc-pill-low { background: var(--primary-dark); color: var(--white); }

.lc-list {
  font-size: 0.75rem;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  color: var(--text-main);
}

.lc-score {
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--text-main);
}
.lc-score small { font-size: 0.8rem; font-weight: 700; margin-left: 2px; }
.lc-score-low { color: var(--primary-dark); }

.lc-diff {
  background: var(--light-lemon);
  border-radius: 14px;
  padding: 12px;
  font-weight: 800;
  color: var(--primary-dark);
  font-size: 0.875rem;
}
.lc-diff b { font-size: 1.375rem; font-weight: 900; }

.lc-stack { gap: 6px; }

.lc-h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 900;
  color: var(--text-main);
}

.lc-barlabel {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 800;
  margin-top: 6px;
  color: var(--text-main);
}

.lc-bar {
  display: flex;
  height: 22px;
  border-radius: 7px;
  overflow: hidden;
  background: #F1F3F5;
}
.lc-bar > div { height: 100%; }

.lc-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 12px;
  margin-top: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-sub);
}
.lc-legend span { display: flex; align-items: center; gap: 4px; }
.lc-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }

.lc-why {
  background: var(--pale-teal);
  border-radius: 16px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--text-main);
}
.lc-why b { font-size: 0.84rem; }

.lc-why-title {
  margin: 0 0 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(45, 58, 79, 0.15);
  font-size: 1.2rem;
  font-weight: 900;
}

.lc-why-foot {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(45, 58, 79, 0.15);
  font-weight: 700;
}

.lc-cta { padding: 20px 15px; align-items: center; }

.lc-cta-title {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.5;
}

.lc-cta-btn {
  display: block;
  text-decoration: none;
  box-sizing: border-box;
}

.lc-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-dark);
  padding: 8px;
}

.lc-foot {
  font-size: 0.69rem;
  line-height: 1.7;
  color: var(--text-sub);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

/* ── 로그인 전 팝업 (가입 / 로그인 안내) ───────────────── */
.auth-sheet-dim {
  position: fixed;
  inset: 0;
  background: rgba(20, 28, 40, 0.5);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 50;
}

.auth-sheet {
  width: 100%;
  max-width: 430px;
  background: var(--white);
  border-radius: 24px 24px 0 0;
  padding: 26px 22px 30px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  word-break: keep-all;
}

.auth-sheet-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-main);
}

.auth-sheet-body {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-sub);
}

.auth-sheet-primary {
  min-height: 52px;
  border: none;
  border-radius: var(--radius-btn);
  background: var(--primary);
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}
.auth-sheet-primary:disabled { opacity: 0.6; cursor: default; }

.auth-sheet-secondary {
  min-height: 48px;
  border: 2px solid var(--light-navy);
  border-radius: var(--radius-btn);
  background: var(--white);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
}

.auth-sheet-note {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--text-sub);
}

.auth-sheet-close {
  min-height: 40px;
  border: none;
  background: none;
  color: var(--text-sub);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

/* ── 홈 버튼 (2026-11-05) ── */
.btn-secondary.home-continue-btn {
  background-color: #46566F;
  color: #F2F6FA;
  border-color: #46566F;
}

.home-compare-btn {
  min-height: 60px;
  border: 2px dashed var(--primary);
  border-radius: var(--radius-btn);
  background: var(--white);
  color: var(--primary-dark);
  font-family: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 8px;
  cursor: pointer;
}
.home-compare-btn b { font-size: 1rem; font-weight: 900; }
.home-compare-btn span { font-size: 0.75rem; font-weight: 500; color: var(--text-sub); }

.home-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.home-login-link {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--primary-dark);
  padding: 10px 0 10px 12px;
  cursor: pointer;
}

/* 로그아웃 소개 화면 맨 밑 개인정보 처리방침 링크 */
.lc-foot.lc-foot-end { margin-top: 20px; }
/* 로그아웃 소개 화면 하단 「제비여행 알아보기」 (2026-11-13)
   카드 라운드 12px · 테두리 0.5px · 그림자·그라데이션 없음 · 왼쪽만 굵은 테두리 없음 · 375px 가로 스크롤 없음 */
.about-zeve {
  display: flex;
  flex-direction: column;
  gap: 12px;
  /* 위의 「탄소여권 가입하기」 카드에 이어 붙어 보이도록 카드 사이 간격(14px)과 같게 둡니다 */
  margin-top: 14px;
  min-width: 0;
  text-align: left;
  color: #2D3A4F;
  font-family: inherit; /* 앱 전체와 같은 Pretendard */
  word-break: keep-all;
  overflow-wrap: break-word;
}
.about-zeve-eyebrow { margin: 0 0 -6px; font-size: 12px; font-weight: 800; color: #2F7348; }
.about-zeve-title { margin: 0; font-size: 20px; font-weight: 800; line-height: 1.4; color: #2D3A4F; }

.about-card { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 12px; min-width: 0; }
.about-target-labels span:nth-child(2) { text-align: center; }
.about-target-labels span:nth-child(3) { text-align: right; }
.about-card.is-zeve { background: #DCEFED; }
.about-card.is-passport { background: #F1F4F8; }
.about-card-head { display: flex; align-items: center; gap: 10px; }
.about-card-head h3 { margin: 0; font-size: 1rem; font-weight: 900; color: #2D3A4F; }
.about-icon-chip {
  flex: none; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: #FFFFFF; color: #2F7348;
}
.about-card-text { margin: 0; font-size: 14px; line-height: 1.7; font-weight: 500; color: #2D3A4F; }

.about-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.about-chips li { padding: 4px 12px; border-radius: 999px; background: #FFFFFF; font-size: 12px; font-weight: 700; line-height: 1.5; }
.about-chips.is-white li { color: #2F7348; }
.about-chips.is-gray li { color: #5F7291; }

.about-label { font-size: 12px; font-weight: 700; color: #5F7291; margin-bottom: -6px; }
.about-target { display: flex; gap: 4px; }
.about-target span { flex: 1 1 0; height: 8px; border-radius: 4px; }
/* 왼쪽·가운데·오른쪽 세 라벨 — 가운데 「대학생」은 막대 가운데에 맞춥니다 */
.about-target-labels { display: grid; grid-template-columns: 1fr auto 1fr; margin-top: -6px; font-size: 12px; font-weight: 700; color: #5F7291; }

.about-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.about-tile {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 12px; box-sizing: border-box; min-width: 0;
  background: #F7F8F5; border: 0.5px solid #E6EBEF; border-radius: 12px;
  font-size: 14px; font-weight: 700; color: #2D3A4F; text-align: center; text-decoration: none;
}
.about-tile svg { flex: none; color: #2F7348; }
.about-tile span { min-width: 0; overflow-wrap: anywhere; }

.about-divider { margin: 4px 0; border: none; border-top: 0.5px solid #E6EBEF; }

.about-mail-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 48px; box-sizing: border-box;
  border-radius: 12px; background: #4F9163; color: #FFFFFF; font-size: 15px; font-weight: 800; text-decoration: none;
}
.about-mail-note { display: block; margin: 0; font-size: 12px; font-weight: 600; line-height: 1.6; color: #5F7291; text-align: center; overflow-wrap: anywhere; }
.about-mail-note svg { display: inline-block; vertical-align: -2px; margin-right: 6px; }


.start-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 1rem;
}

.brand-text {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.hero-card {
  background-color: var(--primary);
  border-radius: var(--radius-card);
  padding: 2rem 1.5rem;
  color: white;
  box-shadow: var(--shadow-soft);
}

.hero-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.hero-desc {
  font-size: 0.9375rem;
  line-height: 1.5;
  opacity: 0.9;
  white-space: pre-line;
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}



.recent-trips-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section-title {
  font-size: 0.875rem;
  color: var(--text-sub);
  font-weight: 600;
}

.trip-card {
  background-color: var(--white);
  border-radius: var(--radius-card);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--border);
  position: relative;
}

.trip-thumb {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.trip-info {
  flex: 1;
}

.trip-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.trip-meta {
  font-size: 0.75rem;
  color: var(--text-sub);
}

.status-badge {
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
}

.status-ongoing {
  background-color: var(--soft-mint);
  color: var(--primary-dark);
}

.status-completed {
  background-color: #F3F4F6;
  color: #9CA3AF;
  border: 1px solid #E5E7EB;
}

.bottom-tab-bar {
  position: sticky;
  bottom: 0;
  width: 100%;
}

.primary-btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

.secondary-btn {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.secondary-btn:hover {
  background-color: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.current-trip-info {
  margin-top: 2rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  animation: slideUp 0.5s ease-out;
}

.current-trip-info p {
  margin: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--primary-color);
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 최근 여행 → 마이페이지 전체 목록으로 */
.home-see-all {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
}

/* ------------------------------------------------------------------
   "___의 탄소여권" — 이름 빈칸
   로그인 화면에서 이름 입력을 없애면서(2026-09-14), 이름을 채우는 자리를
   여기 제목 안의 밑줄 빈칸으로 옮겼습니다. 입력 후 포커스를 벗어나면
   participants/{uid}.nickname 에 저장돼 다음 로그인에도 그대로 남습니다.
------------------------------------------------------------------- */
/* "___의 탄소여권" 한 줄 제목.
   좁은 화면에서 이름이 길면 "의 탄소여권"이 다음 줄로 밀리는데, 예전에는
   왼쪽 정렬이라 줄이 어긋나 보였습니다. 가운데 정렬로 바꿔 한 줄일 때도
   두 줄일 때도 균형이 맞게 했습니다(2026-09-16).
   글자 크기도 화면 폭에 따라 줄여, 웬만한 이름은 한 줄에 들어갑니다. */
h1.home-passport-title {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.125rem 0.25rem;
  text-align: center;
  font-size: clamp(1.125rem, 5.6vw, 1.5rem);
}

.home-name-blank {
  min-width: 3rem;
  max-width: 100%;
  padding: 0 0.25rem 0.125rem;
  font: inherit;
  color: #ffffff;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 0;
  outline: none;
  text-align: center;
}

.home-name-blank::placeholder {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

.home-name-blank:focus {
  border-bottom-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.12);
}

/* 여권 카드 설명 문구 (2026-09-16).
   기본 줄바꿈은 한글 단어 중간도 끊어서 "…확인해보세 / 요." 처럼 마지막 글자만
   다음 줄로 떨어졌습니다. keep-all 로 어절 단위로만 끊고, 글자를 살짝 줄여
   두 줄에 들어가게 했습니다. */
.home-hero-desc {
  color: rgba(255, 255, 255, 0.9);
  white-space: pre-line;
  word-break: keep-all;
  overflow-wrap: break-word;
  font-size: 0.9375rem;
  line-height: 1.55;
  /* 위의 "___의 탄소여권" 제목과 축을 맞춥니다(2026-09-16).
     제목만 가운데이고 설명이 왼쪽이면 카드가 한쪽으로 쏠려 보였습니다. */
  text-align: center;
}

/* 사용 전 쿠폰 카드 · 설문 한 줄 (2026-11-16) — 「최근 여행」 위, 둘 사이 8px */
/* 부모(.screen-container)의 gap 1.5rem 을 상쇄 — 「하루 비교해보기」와 8px, 「최근 여행」과 24px */
.home-reward-stack { display: flex; flex-direction: column; gap: 8px; margin-top: -1rem; }
/* 쿠폰 카드·설문 줄이 있으면 「최근 여행」과의 간격도 좁힘(2026-11-16 시원님 요청 — 「하루 비교해보기」 바로 아래 붙임) */
.home-reward-stack:not(:empty) + section { margin-top: 0 !important; }
.home-reward-stack:empty { display: none; }
.home-coupon {
  box-sizing: border-box;
  width: 100%;
  background: #EAEFA9;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  word-break: keep-all;
}
.home-coupon-head { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.home-coupon-chip {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: #2F7348;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
  white-space: nowrap;
}
.home-coupon-chip.is-last { background: #FCC1BF; color: #8B3A38; }
.home-coupon-title { font-size: 15px; font-weight: 800; color: #2D3A4F; }
.home-coupon-sub { font-size: 13px; color: #2D3A4F; }
.home-coupon-btn {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  border: none;
  border-radius: 10px;
  background: #3B424F;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}
.create-trip-wrapper {
  background-color: var(--bg-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* 공통 헤더가 ct-content 바깥에 있어 좌우 여백을 따로 준다 */
.create-trip-wrapper > .header-row {
  padding: 1rem 1rem 0;
}




.ct-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  padding-bottom: 110px; /* 고정 CTA 자리 (캔버스 기준 110px, 2026-11-18) */
}







.ct-form-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ct-input-box {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ct-input-label {
  font-size: 11px;
  color: var(--text-sub);
  font-weight: 600;
  line-height: 1.4;
}

.ct-input-field {
  /* 입력창(<input>)은 body 글꼴을 자동으로 물려받지 않아 날짜 칸이 브라우저 기본 글꼴로
     보였습니다. 앱 글꼴(Pretendard)을 그대로 쓰도록 상속시킵니다(2026-11-17). */
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: #2D3A4F;
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
}

.ct-input-field::placeholder {
  color: #66768A;
  font-weight: 500;
}

/* 입력한 값(여행지)은 딥 세이지로 — 캔버스 기준(2026-11-18) */
.ct-input-field.accent {
  color: var(--primary-dark);
}

.ct-form-row {
  display: flex;
  gap: 8px;
}

/* 시작일·종료일 아래 안내 칩 — 날짜를 모두 고르면 나타납니다 */
.ct-date-summary {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background-color: #DCEFED;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.ct-date-summary-tag {
  flex-shrink: 0;
  /* 흰 글자가 얹히는 채움은 딥 세이지(대비 약 5.7:1) — 이 화면 한정(2026-11-18) */
  background-color: var(--primary-dark);
  color: var(--white);
  border-radius: var(--radius-pill);
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

.ct-date-summary-text {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--primary-dark);
}

.ct-preview-box {
  background-color: var(--soft-mint);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ct-preview-title {
  font-size: 11px;
  color: var(--deep-navy);
  font-weight: 800;
}

.ct-day-pill-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.ct-day-pill {
  background-color: #FFFFFF;
  border-radius: var(--radius-xs);
  padding: 3px 8px;
  font-size: 12px;
  color: var(--primary-dark);
  font-weight: 700;
}

.ct-day-pill-more {
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-xs);
  padding: 3px 8px;
  font-size: 12px;
  color: var(--primary-dark);
  font-weight: 700;
}

.ct-preview-empty {
  font-size: 12px;
  color: var(--deep-navy);
  font-weight: 600;
  line-height: 1.5;
}

.ct-bottom-cta {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  box-sizing: border-box;
}

/* 이 화면의 「다음」 버튼만 딥 세이지로 — 흰 글자 대비 확보(2026-11-18). 공통 .submit-btn-full 은 그대로 */
.ct-bottom-cta .submit-btn-full {
  background-color: var(--primary-dark);
}


/* 입력칸 아래 보조 안내문 (여행지 표기 규칙 등) */
.ct-input-hint {
  margin: 0.375rem 0 0;
  font-size: 0.6875rem;
  line-height: 1.5;
  color: var(--text-sub);
}


/* ── 시작일·종료일 칸 (2026-11-17) ──────────────────────────────
   <input type="date"> 대신 버튼 — 누르면 아래에 직접 만든 달력(RangeCalendar)이 열립니다 */
.ct-date-btn {
  flex: 1;
  min-width: 0;
  min-height: 56px;
  align-items: flex-start;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
}

/* 열려 있는 칸: 테두리 1.5px 을 쓰므로 안쪽 여백을 0.5px 줄여 글자 위치를 맞춥니다 */
.ct-date-btn.active {
  border: 1.5px solid var(--primary);
  padding: 9.5px 11.5px;
}

.ct-date-btn.error {
  border-color: var(--soft-coral);
}

.ct-date-value {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: #2D3A4F;
}

.ct-date-value.empty {
  color: #66768A;
  font-weight: 500;
}

.ct-date-error {
  background-color: var(--soft-coral);
  color: var(--deep-navy);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
}


/* ── 여행 기간 달력 ───────────────────────────────────────────── */
.rc-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 8px 10px 12px;
}

.rc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
}

.rc-month {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
}

/* 월 이동: 터치 영역 44×44, 보이는 원은 안쪽 32×32 (캔버스 기준) */
.rc-nav {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  color: var(--text-main);
}

.rc-nav-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--bg-main);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rc-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  row-gap: 4px;
}

.rc-week {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-sub);
  text-align: center;
  padding: 2px 0 6px;
}

/* 칸 하나 — 여행 기간 띠는 칸 배경으로 그려서 날짜 원 뒤로 이어지게 합니다 */
.rc-cell {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rc-cell.in-range {
  background-color: #DCEFED;
}

.rc-cell.band-right {
  background: linear-gradient(90deg, transparent 50%, #DCEFED 50%);
}

.rc-cell.band-left {
  background: linear-gradient(90deg, #DCEFED 50%, transparent 50%);
}

.rc-day {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
}

.rc-day.today {
  box-shadow: none;
  border: 1.5px solid var(--primary);
  color: var(--primary-dark);
  font-weight: 800;
}

.rc-day.selected {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  font-weight: 800;
}

.rc-day.disabled {
  color: #9AA6B5;
  font-weight: 500;
  cursor: not-allowed;
}

.rc-guide {
  margin: 8px 0 0;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-sub);
}


/* ── 동행 인원 칸 (2026-11-17) — 아이콘 + 「본인 제외」 + −/+ ─────── */
.ct-companion {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 12px;
}

.ct-icon-tile {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background-color: #DCEFED;
  color: var(--primary-dark);
}

.ct-icon-tile svg {
  width: 17px;
  height: 17px;
}

.ct-companion-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.ct-companion-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-sub);
}

/* 값 줄은 400, 숫자만 <b> 로 700 (캔버스 기준) */
.ct-companion-value {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--text-main);
}

.ct-companion-value b {
  font-weight: 700;
}

.ct-stepper {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

/* 터치 영역 44×44, 보이는 원(.ct-stepper-circle)은 30×30 (캔버스 기준) */
.ct-stepper-btn {
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ct-stepper-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #DCEFED;
  color: var(--primary-dark);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ct-stepper-btn:disabled {
  cursor: not-allowed;
}

.ct-stepper-btn:disabled .ct-stepper-circle {
  background-color: #E6EBEF;
  color: #8795A8;
}

/* 가운데 숫자는 직접 입력도 됩니다(여러 명일 때 + 를 여러 번 누르지 않도록) */
.ct-stepper-input {
  width: 30px;
  border: none;
  background: transparent;
  outline: none;
  text-align: center;
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  -moz-appearance: textfield;
  appearance: textfield;
}

.ct-stepper-input::-webkit-outer-spin-button,
.ct-stepper-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.travel-input-screen {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
  padding-bottom: 2rem;
}






/* Segment Card Styles */
.segment-card {
  background-color: var(--white);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  box-shadow: var(--shadow-soft);
}

.segment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.segment-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
}

.delete-btn {
  color: var(--soft-coral);
  font-size: 1.25rem;
}

.route-inputs {
  display: flex;
  gap: 1rem;
}

.route-field {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.route-field label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-sub);
}

.route-field input {
  /* width/min-width 가 없으면 입력값 길이에 따라 칸이 부모를 넘어가 화면이 밀린다 */
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 0;
  font-size: 1rem;
  font-weight: 600;
  outline: none;
}

.transport-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.transport-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.transport-chip {
  padding: 8px 16px;
  border-radius: var(--radius-card);
  background-color: var(--bg-main);
  color: var(--text-main);
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.transport-chip.active {
  background-color: var(--primary);
  color: white;
}

.transport-chips-air-economy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.transport-chips-air-economy .transport-chip {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.duration-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* 소요시간 슬라이더 (2026-09-16, 드롭다운 .duration-select 대체).
   엄지로 끌기 편하도록 손잡이를 26px 로 키웠습니다 — 44px 터치 영역 권고에는
   못 미치지만, 트랙 자체가 가로 전체라 실사용에서 놓치는 일은 없었습니다. */
.duration-readout {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.duration-readout-main {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.01em;
}

.duration-readout-kg {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-sub);
  text-align: right;
}

.duration-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background-color: var(--border);
  outline: none;
  margin: 0.25rem 0 0;
  cursor: pointer;
}

.duration-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--primary);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1px var(--border);
  cursor: pointer;
}

.duration-range::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--primary);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1px var(--border);
  cursor: pointer;
}

.duration-range:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

.duration-scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-sub);
}

.duration-hint {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-sub);
}

.duration-note {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-sub);
  background-color: var(--role-info);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.625rem;
  line-height: 1.4;
}

.duration-warn {
  font-size: 0.75rem;
  font-weight: 700;
  color: #C2410C;
  background-color: var(--role-warning);
  border-radius: var(--radius-sm);
  padding: 0.625rem 0.75rem;
  line-height: 1.4;
}

/* 국제선 항공 지역 토글 */
.region-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.region-toggle {
  display: flex;
  gap: 0.5rem;
}

.region-btn {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.125rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background-color: var(--white);
  cursor: pointer;
  text-align: left;
}

.region-btn.active {
  background-color: var(--role-positive);
  border-color: var(--primary);
}

.region-btn-label {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--text-main);
}

.region-btn-note {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-sub);
}

/* 같은 거리 비교 근거 한 줄 */
.result-basis {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-sub);
  line-height: 1.5;
}

.round-trip-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
}

.round-trip-badge {
  background-color: var(--light-lemon);
  color: var(--primary-dark);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  font-size: 0.625rem;
  font-weight: 800;
}

.add-segment-btn {
  border: 2px dashed var(--border);
  border-radius: var(--radius-card);
  padding: 1rem;
  color: var(--text-sub);
  font-weight: 700;
  font-size: 0.875rem;
  text-align: center;
}

/* Results Styles */
.results-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.total-score-card {
  background-color: var(--deep-navy);
  color: white;
  border-radius: var(--radius-card);
  padding: 1.5rem;
  text-align: center;
}

.total-score-value {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0.5rem 0;
}

.segment-result-card {
  background-color: var(--white);
  border-radius: var(--radius-card);
  padding: 1.25rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.result-label {
  font-size: 0.8125rem;
  color: var(--text-sub);
}

.result-value {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main);
}

.score-diff {
  font-size: 0.75rem;
  font-weight: 700;
}

.score-plus { color: var(--soft-coral); }
.score-minus { color: var(--primary); }

/* Mission Styles */
.mission-card {
  border-radius: var(--radius-card);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border: 1px solid transparent;
}

.mission-achieved {
  background-color: rgba(79, 145, 99, 0.1);
  border-color: var(--soft-mint);
}

.mission-failed {
  background-color: rgba(252, 193, 191, 0.1);
  border-color: var(--soft-coral);
}

.mission-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mission-badge {
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 800;
}

.badge-achieved {
  background-color: var(--primary);
  color: white;
}

.badge-failed {
  background-color: var(--soft-coral);
  color: white;
}

.mission-desc {
  font-size: 0.875rem;
  line-height: 1.5;
}

.mission-footer {
  font-size: 0.75rem;
  opacity: 0.7;
}

.error-msg {
  color: var(--soft-coral);
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
}
.daily-list-screen {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 1.5rem;
  background-color: var(--bg-color);
  padding-bottom: 6rem;
}

.day-list-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.day-list-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #FFFFFF;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.day-list-card:active {
  transform: scale(0.98);
}

.day-list-card.completed {
  border: 1px solid var(--primary);
  background-color: rgba(79, 145, 99, 0.03);
}

.day-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.day-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-main);
}

.day-date {
  font-size: 0.875rem;
  color: var(--text-sub);
}

.day-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.status-icon.pending {
  border: 2px solid var(--light-gray);
  background-color: transparent;
}

.status-icon.completed {
  background-color: var(--primary);
  border: none;
}

.status-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-sub);
}

.status-text.completed {
  color: var(--primary);
}

.bottom-action-container {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 2rem;
}

.action-notice {
  font-size: 0.875rem;
  color: var(--soft-coral);
  text-align: center;
  font-weight: 600;
}

.daily-record-screen {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
  padding-bottom: 2rem;
}




.day-badge {
  background-color: var(--primary);
  color: white;
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  font-size: 0.875rem;
  font-weight: 700;
}


.section-card {
  background-color: var(--white);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-soft);
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.section-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text-main);
}

.section-guide {
  font-size: 0.75rem;
  color: var(--text-sub);
}

.transport-card {
  background-color: var(--bg-main);
  border-radius: var(--radius-btn);
  padding: 1rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.transport-card.eco {
  background-color: var(--pale-teal);
  border-color: rgba(95, 169, 164, 0.3);
}

.transport-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.transport-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.delete-btn {
  color: var(--soft-coral);
  font-size: 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
}

.input-row {
  display: flex;
  gap: 0.5rem;
}

.dropdown-select {
  flex: 1;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background-color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  outline: none;
  color: var(--text-main);
}

.add-transport-btn {
  border: 2px dashed var(--soft-teal);
  border-radius: var(--radius-btn);
  padding: 0.875rem;
  color: var(--soft-teal);
  font-weight: 700;
  font-size: 0.875rem;
  text-align: center;
  background: none;
  cursor: pointer;
}

.meal-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.meal-label {
  width: 40px;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text-sub);
}

.eco-icon {
  width: 24px;
  font-size: 1.25rem;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.checkbox-label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.checkbox-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tag-mission {
  background-color: var(--primary);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.625rem;
  font-weight: 700;
}

.tag-score {
  background-color: var(--soft-coral);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.625rem;
  font-weight: 700;
}

.summary-card {
  background-color: var(--deep-navy);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: white;
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 0.5rem;
}

.summary-item-label {
  color: rgba(255,255,255,0.7);
}

.summary-item-val {
  font-weight: 700;
}

.total-score-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.total-score-label {
  font-size: 1.125rem;
  font-weight: 800;
}

.total-score-val {
  font-size: 2.5rem;
  font-weight: 800;
}

.status-badge {
  padding: 6px 16px;
  border-radius: var(--radius-btn);
  font-size: 0.875rem;
  font-weight: 800;
  text-align: center;
  /* 위쪽 '이동 1' 카드(.transport-card.eco)와 같은 페일 블루로 통일 */
  background-color: var(--pale-teal);
  color: var(--primary-dark);
}

/* 이동시간 분 단위 직접 입력 (30분 드롭다운 대체) */
.duration-input-row {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--bg-main);
  padding: 0.75rem;
}

.duration-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-main);
  outline: none;
}

.duration-unit {
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-sub);
}

.duration-hint {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-sub);
}

/* Day 1 내용을 그대로 불러왔을 때의 안내 (2026-09-16).
   "이미 저장됨"으로 오해하지 않도록 달성·완료에 쓰는 민트가 아니라
   정보용 페일틸을 씁니다. */
.prefill-notice {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background-color: var(--pale-teal);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.875rem;
  margin-bottom: 0.25rem;
}

.prefill-notice-title {
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.4;
}

.prefill-notice-desc {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-sub);
  line-height: 1.6;
}

.prefill-notice-desc b {
  font-weight: 800;
  color: var(--text-main);
}

/* ------------------------------------------------------------------
   오늘의 동선 메모 (2026-10-30)
   선택 입력이며 점수 계산과 무관합니다.
------------------------------------------------------------------- */
.dr-note-card {
  margin-top: 1rem;
  padding: 1rem;
  background-color: #FFFFFF;
  border: 0.5px solid #E6EBEF;
  border-radius: 12px;
}

.dr-note-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.625rem;
}

.dr-note-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main, #2D3A4F);
}

.dr-note-label-sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-sub, #5F7291);
}

.dr-note-badge {
  flex-shrink: 0;
  padding: 0.1875rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-sub, #5F7291);
  background-color: #F7F8F5;
  border-radius: 999px;
}

.dr-note-input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 0.875rem;
  font-family: inherit;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-main, #2D3A4F);
  background-color: #FFFFFF;
  border: 0.5px solid #E6EBEF;
  border-radius: 10px;
  outline: none;
  resize: none;
}

.dr-note-input::placeholder {
  color: #A8B2C1;
}

.dr-note-input:focus {
  border-color: var(--primary, #4F9163);
}

.dr-note-count {
  margin-top: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-sub, #5F7291);
  text-align: right;
}
/* 마이페이지 「내 리워드」 카드 (2026-11-16) — 흰 카드, 테두리 0.5px, 그림자 없음, 가운데 정렬 */
.mr-card {
  box-sizing: border-box;
  width: 100%;
  background: #FFFFFF;
  border: 0.5px solid #E6EBEF;
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  word-break: keep-all;
}
.mr-head { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.mr-label { font-size: 13px; font-weight: 700; color: #5F7291; }
.mr-chip {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
  white-space: nowrap;
}
.mr-chip.is-green { background: #2F7348; color: #FFFFFF; }
.mr-chip.is-last { background: #FCC1BF; color: #8B3A38; }
.mr-chip.is-gray { background: #E6EBEF; color: #5F7291; }
.mr-chip.is-mint { background: #DCEFED; color: #2F7348; }
.mr-title { font-size: 18px; font-weight: 800; color: #2D3A4F; line-height: 1.4; }
.mr-title.is-sm { font-size: 15px; }
.mr-shop { font-size: 15px; color: #2D3A4F; }
.mr-shop b { font-weight: 700; }
.mr-area { font-size: 13px; font-weight: 500; color: #5F7291; }
.mr-line { font-size: 13px; line-height: 1.6; color: #5F7291; }
.mr-line.is-last { font-weight: 800; color: #8B3A38; }
.mr-left { color: #2F7348; font-weight: 800; }
.mr-fine { font-size: 12px; color: #5F7291; }
.mr-btn {
  box-sizing: border-box;
  width: 100%;
  min-height: 50px;
  border: none;
  border-radius: 12px;
  background: #4F9163;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}
.mr-btn-line {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  border: 1px solid #E6EBEF;
  border-radius: 12px;
  background: #FFFFFF;
  color: #2D3A4F;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.mr-btn-line.is-green { border-color: #4F9163; color: #2F7348; font-weight: 800; }
.mypage-screen {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem;
  padding-bottom: 6rem; /* 하단 네비게이션에 가리지 않도록 */
  min-height: 100vh;
}

/* 다른 화면의 .screen-title 과 같은 크기·굵기를 이 파일 안에서 직접 지정 */
.mypage-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  text-align: center;
}

/* --- 프로필 --- */
.mypage-profile {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.25rem;
}

.mypage-avatar {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: var(--soft-mint);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 800;
}

.mypage-profile-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mypage-profile-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.mypage-profile-email {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-sub);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mypage-signout {
  flex-shrink: 0;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background-color: transparent;
  color: var(--text-sub);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

/* --- 목록 --- */
.mypage-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mypage-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mypage-trip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mypage-trip-card {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  padding: 0.875rem 1rem;
}

.mypage-trip-main {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.mypage-trip-main:disabled {
  opacity: 0.5;
  cursor: default;
}

.mypage-trip-thumb {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
}

.mypage-trip-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mypage-trip-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-main);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mypage-trip-meta {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-sub);
}

.mypage-badge-ongoing {
  background-color: var(--soft-mint);
  color: var(--primary-dark);
}

.mypage-badge-done {
  background-color: #F3F4F6;
  color: #9CA3AF;
}

.mypage-trip-delete {
  flex-shrink: 0;
  align-self: center;
  padding: 0.5rem 0.625rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background-color: transparent;
  color: var(--text-sub);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.mypage-trip-delete:disabled {
  opacity: 0.5;
  cursor: default;
}

/* --- 비어있음·오류 --- */
.mypage-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  padding: 1.5rem;
  text-align: center;
}

.mypage-error {
  color: var(--soft-coral);
}

.mypage-retry {
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background-color: transparent;
  color: var(--primary-dark);
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
}

/* '내 여행 기록' 사용법 안내문 (2026-09-14) */
.mypage-section-note {
  margin: 0 0 0.75rem;
  padding: 0.625rem 0.75rem;
  background-color: var(--light-gray);
  border-radius: var(--radius-sm);
  font-size: 0.6875rem;
  line-height: 1.7;
  color: var(--text-sub);
}

/* ------------------------------------------------------------------
   개인정보 — 처리방침 열람 / 삭제 요청 (2026-09-14)
------------------------------------------------------------------- */
/* 개인정보 박스 — 내용을 가운데로 모읍니다(2026-09-16).
   align-items: center 가 있어서 버튼도 내용 폭에 맞게 줄어듭니다. */
.mypage-privacy-box {
  background-color: var(--white);
  border: 0.5px solid var(--light-gray);
  border-radius: var(--radius-sm);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.625rem;
}

.mypage-privacy-link {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-decoration: underline;
}

.mypage-privacy-note {
  margin: 0;
  font-size: 0.6875rem;
  line-height: 1.7;
  color: var(--text-sub);
}

.mypage-privacy-request {
  padding: 0.5rem 1.25rem;
  background-color: transparent;
  border: 1px solid var(--light-gray);
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-sub);
  cursor: pointer;
}

.mypage-privacy-request:disabled {
  opacity: 0.6;
  cursor: default;
}

.mypage-privacy-done {
  margin: 0;
  padding: 0.5rem 0.75rem;
  background-color: var(--pale-teal);
  border-radius: 10px;
  font-size: 0.6875rem;
  line-height: 1.7;
  font-weight: 600;
  color: var(--primary-dark);
}

.mypage-privacy-contact {
  margin: 0;
  font-size: 0.6875rem;
  color: var(--text-sub);
}

/* 내 리워드 · 설문 카드 묶음 (2026-11-16) — 카드 사이 14px */
.mypage-cards { display: flex; flex-direction: column; gap: 14px; }
.mypage-cards:empty { display: none; }
/* 개인정보 처리방침 화면 — 읽는 문서라 본문 가독성 위주로 잡았습니다 */

.privacy-screen {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.25rem 2rem;
  background-color: var(--bg-main);
  min-height: 100%;
}

.privacy-title {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0.5rem 0 0.25rem;
}

.privacy-meta {
  font-size: 0.75rem;
  color: var(--text-sub);
  margin: 0 0 1rem;
}

.privacy-intro {
  font-size: 0.8125rem;
  line-height: 1.8;
  color: var(--text-main);
  background-color: var(--white);
  border: 0.5px solid var(--light-gray);
  border-radius: var(--radius-sm);
  padding: 0.875rem 1rem;
  margin: 0 0 1.25rem;
}

.privacy-section {
  margin-bottom: 1.5rem;
}

.privacy-section h2 {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 0 0 0.5rem;
}

.privacy-section p {
  font-size: 0.8125rem;
  line-height: 1.8;
  color: var(--text-main);
  margin: 0 0 0.5rem;
}

.privacy-section ul {
  margin: 0 0 0.5rem;
  padding-left: 1.125rem;
}

.privacy-section li {
  font-size: 0.8125rem;
  line-height: 1.8;
  color: var(--text-main);
  margin-bottom: 0.375rem;
}

.privacy-section b {
  font-weight: 700;
  color: var(--text-main);
}

.privacy-note {
  font-size: 0.75rem !important;
  color: var(--text-sub) !important;
  background-color: var(--light-gray);
  border-radius: var(--radius-sm);
  padding: 0.625rem 0.75rem;
  margin-top: 0.5rem !important;
}

.privacy-foot {
  font-size: 0.75rem;
  color: var(--text-sub);
  text-align: center;
  margin-top: 1rem;
}
