/* ─────────────────────────────────────────────────────────
   우리 어디서 만나? — 아이보리 배경 + 코랄/민트 포인트
   ───────────────────────────────────────────────────────── */
:root {
  --bg: #FFF8EE;
  --bg-soft: #FFF2E2;
  --surface: #FFFFFF;
  --line: #F0E3D2;
  --line-strong: #E2D0BA;
  --text: #33302B;
  --text-2: #6B6358;
  --text-3: #8E8578;
  --coral: #FF7A6B;
  --coral-strong: #E85A4A;
  --coral-soft: #FFE6E1;
  --mint: #2FB5A0;
  --mint-strong: #1E8C7B;
  --mint-soft: #DDF5F0;
  --yellow-soft: #FFF3C9;
  --danger: #D93B3B;
  --danger-soft: #FDE4E4;
  --ok: #1E8C5A;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 2px 0 rgba(120, 90, 50, .04), 0 8px 24px rgba(120, 90, 50, .08);
  --shadow-sm: 0 1px 3px rgba(120, 90, 50, .1);
  --focus: 0 0 0 3px #fff, 0 0 0 5px #3A7BD5;
  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 16px; line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere;
  min-height: 100vh; display: flex; flex-direction: column;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 8px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--text-3); font-weight: 400; }
.hint { color: var(--text-2); font-size: .875rem; margin: .5rem 0; }
code { background: var(--bg-soft); padding: .1em .4em; border-radius: 6px; font-size: .9em; }

.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--text); color: #fff; padding: .6rem 1rem; border-radius: 10px; }
.skip:focus { top: .75rem; }

/* ── 상단바 ─────────────────────────────────────── */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255, 248, 238, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar-inner { max-width: 1160px; margin: 0 auto; padding: .6rem 1rem; display: flex; align-items: center; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .5rem; font-weight: 800; text-decoration: none; font-size: 1.05rem; letter-spacing: -.02em; }
.brand-mark { width: 30px; height: 30px; }
.topnav { margin-left: auto; display: flex; gap: .25rem; align-items: center; }
.topnav a { text-decoration: none; padding: .45rem .7rem; border-radius: 999px; color: var(--text-2); font-weight: 600; font-size: .92rem; display: flex; gap: .3rem; align-items: center; min-height: 40px; }
.topnav a:hover { background: var(--bg-soft); }
.topnav a[aria-current="page"] { background: var(--coral-soft); color: var(--coral-strong); }
.topnav .nav-cta { background: var(--coral); color: #fff; }
.topnav .nav-cta:hover { background: var(--coral-strong); }
@media (max-width: 720px) {
  .brand span { display: none; }
  .nav-text { display: none; }
  .topnav a { padding: .45rem .65rem; font-size: 1.1rem; }
  .topnav .nav-cta .nav-text { display: inline; font-size: .9rem; }
}
.offline-bar, .mode-banner { max-width: 1160px; margin: .75rem auto 0; padding: .6rem 1rem; border-radius: var(--radius-sm); font-size: .9rem; width: calc(100% - 2rem); }
.offline-bar { background: var(--danger-soft); color: #8E2323; }
.mode-banner { background: var(--mint-soft); color: #145F54; display: flex; gap: .5rem; align-items: flex-start; }
.mode-banner p { flex: 1; }
.mode-banner[hidden], .offline-bar[hidden] { display: none; }

.main { flex: 1; width: 100%; max-width: 1160px; margin: 0 auto; padding: 1.25rem 1rem 3rem; }
.main:focus { box-shadow: none; }
.footer { text-align: center; color: var(--text-3); font-size: .8rem; padding: 1.5rem 1rem 2rem; }

/* ── 버튼 ───────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .35rem; min-height: 44px; padding: .55rem 1.1rem;
  border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: .95rem; cursor: pointer; text-decoration: none;
  transition: background .15s, transform .05s, border-color .15s; white-space: nowrap; line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--coral-strong); }
.btn-mint { background: var(--mint); color: #fff; }
.btn-mint:hover:not(:disabled) { background: var(--mint-strong); }
.btn-ghost { background: var(--surface); border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover:not(:disabled) { background: var(--bg-soft); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger-ghost { background: transparent; color: var(--danger); border-color: #F2B8B8; }
.btn-danger-ghost:hover { background: var(--danger-soft); }
.btn-sm { min-height: 36px; padding: .35rem .8rem; font-size: .85rem; }
.btn-lg { min-height: 52px; padding: .75rem 1.4rem; font-size: 1.02rem; }
.btn-block { width: 100%; white-space: normal; }
.btn-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.icon-btn { border: 0; background: transparent; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; display: inline-grid; place-items: center; color: var(--text-2); flex: none; }
.icon-btn:hover:not(:disabled) { background: var(--bg-soft); }
.icon-btn:disabled { opacity: .35; cursor: not-allowed; }
.link { color: var(--coral-strong); font-weight: 600; text-decoration: none; font-size: .9rem; }
.link:hover { text-decoration: underline; }
.link-btn { border: 0; background: none; padding: .25rem .1rem; color: var(--mint-strong); font-weight: 600; cursor: pointer; font-size: .875rem; text-decoration: underline; text-underline-offset: 3px; }
.link-btn.danger { color: var(--danger); }
.link-btn:disabled { color: var(--text-3); }

/* ── 카드·폼 ────────────────────────────────────── */
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.25rem; border: 1px solid var(--line); }
.card + .card { margin-top: 1rem; }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem; margin-bottom: .75rem; }
.card-title { font-size: 1.08rem; font-weight: 800; letter-spacing: -.01em; }
.page-narrow { max-width: 680px; margin: 0 auto; }
.page-title { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; margin: .5rem 0 .25rem; }
.page-desc { color: var(--text-2); margin-bottom: 1.25rem; }
.back { display: inline-block; color: var(--text-2); text-decoration: none; font-size: .9rem; padding: .25rem 0; }

.form .field { margin-bottom: 1rem; }
.form-compact .field { margin-bottom: .8rem; }
.field label, .field legend, .mini-field span { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .35rem; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.field-row { display: flex; gap: .75rem; flex-wrap: wrap; }
.field-row > .field { flex: 1 1 140px; }
.field-row > .grow { flex: 2 1 200px; }
.req { color: var(--coral-strong); }
.input {
  width: 100%; min-height: 46px; padding: .6rem .85rem; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  background: #fff; transition: border-color .15s;
}
textarea.input { resize: vertical; min-height: 70px; }
.input:focus { border-color: var(--mint); box-shadow: 0 0 0 3px var(--mint-soft); outline: none; }
.input::placeholder { color: #B3A99B; }
.input-sm { min-height: 38px; padding: .35rem .6rem; font-size: .9rem; }
.input-num { text-align: right; font-variant-numeric: tabular-nums; }
.input:disabled { background: var(--bg-soft); color: var(--text-3); }
.is-invalid, .input.is-invalid { border-color: var(--danger); background: #FFF8F8; }
.field-error { color: var(--danger); font-size: .85rem; margin-top: .3rem; font-weight: 600; }
.form-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between; align-items: center; margin-top: 1.25rem; }
.form-actions .btn-primary { margin-left: auto; }
.check { display: inline-flex; gap: .4rem; align-items: center; font-size: .9rem; cursor: pointer; min-height: 36px; }
.check input { width: 18px; height: 18px; accent-color: var(--mint); }

/* 세그먼트(라디오) */
.seg { display: inline-flex; background: var(--bg-soft); border-radius: 999px; padding: 3px; gap: 2px; }
.seg-block { display: flex; width: 100%; }
.seg-block .seg-item { flex: 1; }
.seg-item { position: relative; cursor: pointer; }
.seg-item input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg-item span { display: flex; justify-content: center; align-items: center; min-height: 38px; padding: .3rem .8rem; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.seg-item input:checked + span { background: #fff; color: var(--text); box-shadow: var(--shadow-sm); }
.seg-item input:focus-visible + span { box-shadow: var(--focus); }
.seg-xs .seg-item span { min-height: 32px; padding: .2rem .55rem; font-size: .82rem; }

/* 칩 */
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chips-scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: thin; }
.chip { display: inline-flex; align-items: center; gap: .3rem; background: var(--bg-soft); border-radius: 999px; padding: .2rem .65rem .2rem .25rem; font-size: .85rem; margin: 0 .2rem .2rem 0; }
.chip-xs { font-size: .78rem; padding: .1rem .5rem .1rem .15rem; }
.chip-radio, .chip-check { position: relative; cursor: pointer; flex: none; }
.chip-radio input, .chip-check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip-radio span, .chip-check span { display: inline-flex; align-items: center; gap: .3rem; min-height: 38px; padding: .3rem .85rem; border-radius: 999px; border: 1.5px solid var(--line-strong); background: #fff; font-size: .88rem; font-weight: 600; }
.chip-radio input:checked + span, .chip-check input:checked + span { background: var(--coral-soft); border-color: var(--coral); color: var(--coral-strong); }
.chip-radio input:focus-visible + span, .chip-check input:focus-visible + span { box-shadow: var(--focus); }
.chip-emoji span { font-size: 1.3rem; padding: .2rem .6rem; }

/* 아바타 */
.avatar { --c: var(--coral); width: 34px; height: 34px; border-radius: 50%; background: var(--c); color: #fff; display: inline-grid; place-items: center; font-weight: 800; font-size: .9rem; flex: none; vertical-align: middle; }
.avatar-sm { width: 28px; height: 28px; font-size: .78rem; }
.avatar-xs { width: 22px; height: 22px; font-size: .68rem; }
.avatar-more { background: var(--line-strong); color: var(--text-2); }
.avatars { display: inline-flex; flex-wrap: wrap; }
.avatars .avatar { margin-right: -6px; border: 2px solid #fff; }
.me-tag { display: inline-block; background: var(--mint-soft); color: var(--mint-strong); font-size: .72rem; font-weight: 800; padding: .05rem .45rem; border-radius: 999px; vertical-align: middle; }

/* 배지 */
.badge { display: inline-block; font-size: .7rem; font-weight: 800; padding: .1rem .45rem; border-radius: 6px; vertical-align: middle; white-space: nowrap; cursor: help; }
.badge-est { background: var(--yellow-soft); color: #8A6400; }
.badge-demo { background: #EDE3FF; color: #5B3BA8; }
.badge-real { background: var(--mint-soft); color: var(--mint-strong); }
.badge-ok { background: var(--mint); color: #fff; cursor: default; }
.count { display: inline-block; background: var(--coral-soft); color: var(--coral-strong); font-size: .78rem; font-weight: 800; padding: 0 .5rem; border-radius: 999px; min-width: 1.5em; text-align: center; }
.count:empty { display: none; }

/* ── 상태: 로딩·빈 결과·오류·안내 ─────────────────── */
.state { text-align: center; padding: 2rem 1rem; border-radius: var(--radius); }
.state-empty { background: rgba(255, 255, 255, .6); border: 2px dashed var(--line-strong); }
.state-error { background: #FFF6F4; border: 1.5px solid #F7C9C0; }
.state-loading { display: flex; align-items: center; justify-content: center; gap: .6rem; color: var(--text-2); padding: 1.25rem; }
.state-icon { font-size: 2.2rem; margin-bottom: .4rem; }
.state-title { font-weight: 800; font-size: 1.05rem; }
.state-desc { color: var(--text-2); font-size: .92rem; margin-top: .3rem; }
.state .btn { margin-top: 1rem; }
.state-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem; }
.state-actions .btn { margin-top: 1rem; }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 3px solid var(--coral-soft); border-top-color: var(--coral); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton-list { display: grid; gap: .75rem; margin-top: .75rem; }
.skeleton-card { background: #fff; border-radius: var(--radius); padding: 1rem; display: grid; gap: .5rem; border: 1px solid var(--line); }
.skeleton-card span { display: block; height: 14px; border-radius: 6px; background: linear-gradient(90deg, #F5EBDD 25%, #FBF4EA 50%, #F5EBDD 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
.skeleton-card span:nth-child(1) { width: 45%; height: 18px; }
.skeleton-card span:nth-child(3) { width: 70%; }
.skeleton-thumbs .skeleton-card { height: 72px; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (min-width: 900px) { .skeleton-row { grid-template-columns: repeat(3, 1fr); } }
.notice { padding: .7rem .9rem; border-radius: var(--radius-sm); font-size: .9rem; margin: .75rem 0; }
.notice-info { background: var(--mint-soft); color: #145F54; }
.notice-warn { background: var(--yellow-soft); color: #6B4E00; }
.notice-error { background: var(--danger-soft); color: #8E2323; }
.notice-ok { background: var(--mint-soft); color: #145F54; }
.notes { padding-left: 2rem; }

/* 토스트·다이얼로그 */
.toasts { position: fixed; left: 50%; bottom: calc(1rem + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 200; display: grid; gap: .5rem; width: min(92vw, 420px); }
.toast { background: var(--text); color: #fff; padding: .75rem 1rem; border-radius: 14px; box-shadow: var(--shadow); font-size: .92rem; animation: up .2s ease-out; transition: opacity .3s, transform .3s; }
.toast-success { background: #1F6E5F; }
.toast-error { background: #B33232; }
.toast.out { opacity: 0; transform: translateY(8px); }
@keyframes up { from { opacity: 0; transform: translateY(8px); } }
.dialog { border: 0; padding: 0; border-radius: 22px; width: min(94vw, 460px); box-shadow: 0 20px 60px rgba(0, 0, 0, .25); color: var(--text); }
.dialog-wide { width: min(94vw, 640px); }
.dialog::backdrop { background: rgba(40, 30, 20, .45); }
.dialog-inner { padding: 1.25rem; }
.dialog-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .75rem; }
.dialog-title { font-size: 1.15rem; font-weight: 800; }
.dialog-body { display: grid; gap: .75rem; max-height: 70vh; overflow: auto; }
.dialog-actions { display: flex; justify-content: flex-end; gap: .5rem; margin-top: 1rem; }
.lightbox-img { max-height: 70vh; margin: 0 auto; border-radius: 12px; }
.link-box { font-size: .8rem; font-family: ui-monospace, Consolas, monospace; word-break: break-all; }
.details summary { cursor: pointer; font-weight: 700; font-size: .9rem; }
.details ul { font-size: .88rem; color: var(--text-2); padding-left: 1.2rem; }

/* ── 홈 ─────────────────────────────────────────── */
.hero { display: grid; gap: 1.5rem; padding: 1.5rem 0 1rem; align-items: center; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.3fr 1fr; padding: 2.5rem 0 1.5rem; } }
.eyebrow { color: var(--mint-strong); font-weight: 800; font-size: .92rem; }
.hero-title { font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 900; letter-spacing: -.04em; line-height: 1.15; margin: .3rem 0 .75rem; }
.hero-title em { font-style: normal; color: var(--coral); }
.lead { color: var(--text-2); font-size: 1.05rem; max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.flow { list-style: none; margin: 0; padding: 1rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; background: #fff; border-radius: 24px; box-shadow: var(--shadow); counter-reset: f; }
.flow li { counter-increment: f; display: grid; justify-items: center; text-align: center; gap: .2rem; padding: .7rem .3rem; border-radius: 16px; background: var(--bg); font-size: .82rem; font-weight: 700; position: relative; }
.flow li span { font-size: 1.6rem; }
.flow li::before { content: counter(f); position: absolute; top: 6px; left: 8px; font-size: .7rem; color: var(--coral-strong); font-weight: 900; }
.section { margin-top: 2rem; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: .75rem; }
.section-head h2, .section-title { font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; }
.m-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.m-card { display: block; background: #fff; border-radius: var(--radius); padding: 1.1rem; text-decoration: none; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; height: 100%; }
.m-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(120, 90, 50, .14); }
.m-card-top { display: flex; gap: .5rem; align-items: center; font-size: .85rem; color: var(--text-2); }
.m-card-title { font-size: 1.1rem; font-weight: 800; margin: .35rem 0 .2rem; }
.m-card-venue { font-size: .9rem; }
.m-card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: .8rem; gap: .5rem; }
.m-card-stats { display: flex; gap: .5rem; font-size: .78rem; color: var(--text-2); flex-wrap: wrap; justify-content: flex-end; }
.dday { background: var(--coral); color: #fff; font-weight: 800; font-size: .75rem; padding: .1rem .5rem; border-radius: 999px; }
.dday.is-today { background: var(--mint); }
.dday.is-past { background: var(--line-strong); color: var(--text-2); }
.privacy { margin-top: 2.5rem; background: var(--bg-soft); border-radius: var(--radius); padding: 1.1rem 1.25rem; font-size: .92rem; color: var(--text-2); }
.privacy-title { font-size: 1rem; color: var(--text); margin-bottom: .3rem; }

/* 참여자 입력 */
.p-list { list-style: none; padding: 0; margin: 0 0 .75rem; display: grid; gap: .6rem; }
.p-row { display: flex; align-items: flex-start; gap: .5rem; flex-wrap: wrap; background: var(--bg); padding: .6rem; border-radius: var(--radius-sm); }
.p-row .avatar { margin-top: 6px; }
.p-name { flex: 1 1 140px; margin: 0 !important; }
.me-pick { display: inline-flex; gap: .25rem; align-items: center; font-size: .85rem; font-weight: 700; min-height: 44px; cursor: pointer; }
.me-pick input { accent-color: var(--mint); width: 18px; height: 18px; }

/* ── 모임 헤더·단계 ─────────────────────────────── */
.m-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: .9rem; }
.m-meta { color: var(--text-2); font-size: .9rem; display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; }
.m-title { font-size: clamp(1.4rem, 4vw, 1.9rem); font-weight: 900; letter-spacing: -.03em; }
.m-memo { background: #fff; padding: .6rem .9rem; border-radius: var(--radius-sm); margin-bottom: 1rem; color: var(--text-2); font-size: .92rem; border: 1px solid var(--line); }
.steps { display: flex; gap: .4rem; overflow-x: auto; padding: .25rem .1rem .6rem; margin-bottom: 1rem; scrollbar-width: none; }
.steps::-webkit-scrollbar { display: none; }
.step { flex: none; text-decoration: none; padding: .5rem .95rem; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font-weight: 700; font-size: .9rem; color: var(--text-2); position: relative; min-height: 42px; display: inline-flex; align-items: center; gap: .3rem; }
.step:hover { border-color: var(--line-strong); }
.step.is-done::after { content: '✓'; color: var(--mint-strong); font-weight: 900; margin-left: .15rem; }
.step.is-active { background: var(--text); color: #fff; border-color: var(--text); }
.step.is-active.is-done::after { color: #8DEBD9; }

/* ── 분할 레이아웃·패널 ─────────────────────────── */
.split { display: grid; gap: 1rem; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; }
  .split-explore { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .split-settle, .split-mem { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .map-panel { position: sticky; top: 76px; }
}
.panel { background: #fff; border-radius: var(--radius); padding: 1.1rem; box-shadow: var(--shadow); border: 1px solid var(--line); min-width: 0; }
.panel-title { font-size: 1.1rem; font-weight: 800; margin-bottom: .4rem; }
.panel .panel-title:not(:first-child) { margin-top: 1.5rem; }
.panel .card { box-shadow: none; background: var(--bg); border: 0; padding: 1rem; }

/* 지도 */
.map-panel { padding: .6rem; }
.map-wrap { position: relative; }
.map { height: 320px; border-radius: 14px; overflow: hidden; background: #EFE7DA; z-index: 0; }
@media (min-width: 900px) { .map { height: 480px; } .map-tall { height: calc(100vh - 140px); max-height: 640px; } }
.map-mini { height: 200px; margin: .5rem 0; }
.map-fallback { display: grid; place-items: center; padding: 1rem; }
.map.is-picking { outline: 3px dashed var(--coral); cursor: crosshair; }
.map.is-picking .leaflet-container, .map.is-picking.leaflet-container { cursor: crosshair; }
.map-note { position: absolute; left: 8px; bottom: 8px; z-index: 500; background: rgba(255, 255, 255, .95); padding: .3rem .6rem; border-radius: 8px; font-size: .78rem; }
.pick-banner { position: absolute; top: 10px; left: 10px; right: 10px; z-index: 600; background: var(--text); color: #fff; padding: .5rem .5rem .5rem .9rem; border-radius: 14px; display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-size: .9rem; box-shadow: var(--shadow); }
.pick-banner[hidden] { display: none; }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1rem; padding: .6rem .4rem 0; margin: 0; font-size: .8rem; color: var(--text-2); }
.legend li { display: flex; gap: .35rem; align-items: center; }
.lg { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.lg-person { background: var(--coral); }
.lg-cand { background: #fff; border: 3px solid var(--coral); }
.lg-venue { background: var(--mint); }
.lg-center { border: 2px dashed var(--text-3); }

/* 마커 */
.pin { --c: var(--coral); width: 34px; height: 42px; position: relative; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25)); }
.pin::before { content: ''; position: absolute; left: 3px; top: 0; width: 28px; height: 28px; border-radius: 50% 50% 50% 0; background: var(--c); transform: rotate(-45deg); transform-origin: center; top: 3px; border: 2px solid #fff; }
.pin span { position: absolute; left: 0; right: 0; top: 7px; text-align: center; color: #fff; font-weight: 900; font-size: 13px; line-height: 20px; font-family: var(--font); }
.pin-cand::before { background: #fff; border: 3px solid var(--coral); }
.pin-cand span { color: var(--coral-strong); }
.pin-cand.is-active::before { background: var(--coral); }
.pin-cand.is-active span { color: #fff; }
.pin-cand.is-active { transform: scale(1.18); transform-origin: bottom center; }
.pin-venue::before { background: var(--mint); width: 32px; height: 32px; left: 1px; top: 1px; }
.pin-venue span { top: 7px; font-size: 16px; }
.pin-place::before { width: 24px; height: 24px; left: 5px; top: 8px; }
.pin-place span { top: 10px; font-size: 11px; }
.pin-center { width: 18px; height: 18px; border-radius: 50%; border: 2.5px dashed #6B6358; background: rgba(255, 255, 255, .7); filter: none; }
.pin-center::before { display: none; }

/* ── 출발지 입력 ────────────────────────────────── */
.origin-list { list-style: none; padding: 0; margin: .75rem 0 1rem; display: grid; gap: .7rem; }
.origin { background: var(--bg); border-radius: var(--radius-sm); padding: .75rem; border: 2px solid transparent; }
.origin.is-picking { border-color: var(--coral); }
.origin-head { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.origin-name { flex: 1; }
.origin-set { display: flex; align-items: center; gap: .5rem; margin-top: .5rem; flex-wrap: wrap; }
.origin-chip { display: inline-flex; gap: .3rem; align-items: center; background: #fff; border: 1.5px solid var(--line-strong); border-radius: 999px; padding: .3rem .8rem; font-weight: 700; font-size: .9rem; }
.origin-chip small { color: var(--text-3); font-weight: 600; }
.origin-search { margin-top: .5rem; }
.input-group { display: flex; gap: .4rem; }
.input-group .input { flex: 1; }
.origin-tools { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: .3rem; }
.suggest:empty { display: none; }
.suggest { margin-top: .4rem; background: #fff; border-radius: var(--radius-sm); border: 1px solid var(--line); padding: .3rem; }
.suggest-label { font-size: .75rem; color: var(--text-3); font-weight: 700; padding: .3rem .5rem 0; }
.suggest-list { list-style: none; margin: 0; padding: 0; }
.suggest-item { width: 100%; display: flex; gap: .6rem; align-items: center; text-align: left; background: none; border: 0; padding: .5rem; border-radius: 10px; cursor: pointer; min-height: 44px; }
.suggest-item:hover, .suggest-item:focus-visible { background: var(--coral-soft); }
.suggest-item span:last-child { display: grid; }
.suggest-item small { color: var(--text-3); font-size: .78rem; }
.suggest-error, .suggest-empty { padding: .6rem; font-size: .88rem; }
.suggest-error { color: var(--danger); }
.suggest-empty { color: var(--text-2); }
.suggest .state-loading { padding: .6rem; }
.criteria { margin-bottom: 1rem; }
.criteria legend { font-weight: 800; margin-bottom: .4rem; }
@media (max-width: 420px) { .seg-text { display: none; } .seg-block .seg-item span { font-size: .8rem; padding: .3rem .4rem; } }

/* ── 후보 카드 ──────────────────────────────────── */
.cand-grid { display: grid; gap: 1rem; margin-top: 1rem; }
@media (min-width: 1000px) { .cand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cand { background: #fff; border-radius: var(--radius); padding: 1.1rem; border: 2px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .6rem; transition: border-color .2s; min-width: 0; }
.cand.is-focus { border-color: var(--coral); }
.cand.is-venue { border-color: var(--mint); background: linear-gradient(#fff, #F4FCFA); }
.cand-head { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.cand-rank { background: var(--coral); color: #fff; font-weight: 800; font-size: .78rem; padding: .15rem .55rem; border-radius: 999px; }
.cand-name { font-size: 1.2rem; font-weight: 900; letter-spacing: -.02em; }
.cand-lines { display: flex; flex-wrap: wrap; gap: .3rem; }
.line-chip { font-size: .75rem; font-weight: 700; background: var(--bg-soft); padding: .1rem .5rem; border-radius: 6px; color: var(--text-2); }
.cand-reasons { margin: 0; padding-left: 1.1rem; font-size: .88rem; color: var(--text-2); display: grid; gap: .15rem; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; font-size: .88rem; }
th, td { padding: .5rem .4rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
thead th { font-size: .78rem; color: var(--text-3); font-weight: 700; }
tbody th { font-weight: 600; white-space: nowrap; }
.cand-table td:nth-child(2) { position: relative; white-space: nowrap; }
.cand-table td:nth-child(3) { color: var(--text-2); white-space: nowrap; font-size: .82rem; }
.tbar { position: absolute; left: 0; bottom: 4px; height: 4px; border-radius: 4px; width: var(--w); background: var(--c); opacity: .5; }
.cand-stats { display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .85rem; color: var(--text-2); background: var(--bg); padding: .5rem .7rem; border-radius: 10px; }
.cand-stats b { color: var(--text); }
.cand-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: auto; }
.compare { background: #fff; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); }
.compare caption { text-align: left; font-weight: 800; padding: .3rem 0 .5rem; font-size: .95rem; }
.compare td { text-align: center; font-variant-numeric: tabular-nums; }
.compare th, .compare td { padding: .6rem .5rem; }
.compare .is-best { font-weight: 900; color: var(--mint-strong); background: #F0FBF8; }

/* ── 주변 탐색 ──────────────────────────────────── */
.explore-bar { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; margin-bottom: .75rem; font-size: .85rem; }
.tabs { display: flex; gap: .3rem; border-bottom: 2px solid var(--line); margin-bottom: 1rem; overflow-x: auto; }
.tabs [role="tab"] { border: 0; background: none; padding: .7rem 1rem; font-weight: 700; color: var(--text-2); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; min-height: 44px; }
.tabs [role="tab"].is-active { color: var(--coral-strong); border-bottom-color: var(--coral); }
.filters { display: grid; gap: .6rem; margin-bottom: .75rem; }
.filter-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
@media (min-width: 560px) { .filter-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mini-field span { font-size: .78rem; color: var(--text-2); margin-bottom: .15rem; }
.result-count { font-weight: 700; margin: .5rem 0; font-size: .92rem; }
.place-list { display: grid; gap: .7rem; }
.place { display: flex; gap: .8rem; background: var(--bg); border-radius: var(--radius-sm); padding: .75rem; transition: box-shadow .3s; min-width: 0; }
.place.flash { box-shadow: 0 0 0 3px var(--coral); }
.place-photo { --c: var(--coral); flex: none; width: 72px; height: 72px; border-radius: 14px; overflow: hidden; display: grid; place-items: center; font-size: 1.9rem; background: color-mix(in srgb, var(--c) 16%, #fff); }
.place-photo img { width: 100%; height: 100%; object-fit: cover; }
.place-body { flex: 1; min-width: 0; }
.place-cat { font-size: .78rem; color: var(--text-2); font-weight: 600; display: flex; align-items: center; gap: .3rem; flex-wrap: wrap; }
.cat-dot { --c: var(--coral); width: 8px; height: 8px; border-radius: 50%; background: var(--c); display: inline-block; }
.place-name { font-size: 1.02rem; font-weight: 800; margin: .1rem 0 .3rem; }
.facts { margin: 0; display: grid; gap: .1rem; font-size: .82rem; }
.facts div { display: flex; gap: .5rem; }
.facts dt { color: var(--text-3); flex: none; width: 4.2em; }
.facts dd { margin: 0; min-width: 0; }
.facts .hours { font-size: .78rem; }
.place-actions { display: flex; gap: .4rem .6rem; align-items: center; flex-wrap: wrap; margin-top: .5rem; }
.voters { margin-top: .4rem; }
.voter-bar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: .8rem; }
.voter-bar label { font-weight: 700; font-size: .9rem; }
.voter-bar select { width: auto; }
.voter-bar .hint { margin: 0; flex-basis: 100%; }
.course { list-style: none; padding: 0; margin: 0 0 1rem; }
.course-start { font-weight: 800; padding: .6rem .8rem; background: var(--mint-soft); border-radius: var(--radius-sm); color: #145F54; }
.course-move { font-size: .8rem; color: var(--text-2); padding: .35rem 0 .35rem 1.2rem; }
.course-step { display: flex; gap: .6rem; align-items: center; background: var(--bg); padding: .6rem; border-radius: var(--radius-sm); flex-wrap: wrap; }
.course-no { --c: var(--coral); width: 30px; height: 30px; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; font-weight: 900; flex: none; }
.course-body { flex: 1 1 120px; min-width: 0; }
.course-time { width: 150px; }
.course-ctrl { display: flex; }

/* ── 상세 ───────────────────────────────────────── */
.detail-grid { display: grid; gap: 1rem; }
@media (min-width: 760px) { .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .card-wide { grid-column: 1 / -1; } }
.detail-grid .card + .card { margin-top: 0; }
.venue-name { font-size: 1.35rem; font-weight: 900; letter-spacing: -.02em; }
.timeline-mini { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; border-left: 3px solid var(--coral-soft); }
.timeline-mini li { display: flex; gap: .6rem; padding: .35rem .7rem; position: relative; }
.timeline-mini li::before { content: ''; position: absolute; left: -7px; top: .8rem; width: 11px; height: 11px; border-radius: 50%; background: var(--coral); border: 2px solid #fff; }
.tm-time { color: var(--text-3); font-size: .85rem; min-width: 5.5em; }
.people { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.people li { display: flex; gap: .6rem; align-items: center; }
.people small { display: block; font-size: .8rem; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: .6rem; }
.stat-row-lg { margin-bottom: 1rem; }
.stat { background: var(--bg); border-radius: var(--radius-sm); padding: .7rem .9rem; display: grid; }
.stat-row-lg .stat { background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
.stat span { font-size: .8rem; color: var(--text-2); }
.stat b { font-size: 1.15rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.my-balance { margin-top: .7rem; font-weight: 800; padding: .55rem .8rem; border-radius: 10px; background: var(--bg); }
.my-balance.is-plus { background: var(--mint-soft); color: var(--mint-strong); }
.my-balance.is-minus { background: var(--coral-soft); color: var(--coral-strong); }
.thumbs-row { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .6rem; }
.thumb-sm { width: 72px; height: 72px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: var(--bg-soft); text-decoration: none; font-weight: 800; color: var(--text-2); }
.thumb-sm img { width: 100%; height: 100%; object-fit: cover; }
.rec-mini { margin: .4rem 0 0; padding: .5rem .8rem; background: var(--bg); border-radius: 10px; font-size: .9rem; }
.rec-mini cite { font-style: normal; font-size: .78rem; color: var(--text-3); }
.detail-foot { margin-top: 1.25rem; display: flex; justify-content: flex-end; }

/* ── 정산 ───────────────────────────────────────── */
.custom-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.custom-list li { display: flex; gap: .5rem; align-items: center; justify-content: space-between; }
.custom-list label { display: flex; gap: .35rem; align-items: center; font-weight: 600; font-size: .9rem; margin: 0; }
.custom-list .input { max-width: 150px; }
.preview { background: #fff; border-radius: 10px; padding: .6rem .8rem; margin-bottom: .8rem; border: 1px dashed var(--line-strong); }
.preview .hint { margin: .2rem 0; }
.custom-sum { font-size: .88rem; margin-bottom: .4rem; }
.custom-sum.is-ok { color: var(--ok); }
.custom-sum.is-bad { color: #9A5B00; }
.share-preview { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .3rem .9rem; font-size: .88rem; }
.share-preview li { display: flex; gap: .3rem; align-items: center; }
.exp-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.exp { background: var(--bg); border-radius: var(--radius-sm); padding: .7rem .9rem; border: 2px solid transparent; }
.exp.is-editing { border-color: var(--mint); }
.exp.is-invalid { border-color: #F2B8B8; background: #FFF6F6; }
.exp-main { display: flex; justify-content: space-between; gap: .5rem; }
.exp-amt { font-weight: 900; font-variant-numeric: tabular-nums; }
.exp-sub { font-size: .82rem; color: var(--text-2); display: flex; gap: .3rem; align-items: center; flex-wrap: wrap; }
.exp-actions { display: flex; gap: .8rem; justify-content: flex-end; }
.settle-table td { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.settle-table thead th:not(:first-child) { text-align: right; }
.settle-table tfoot th, .settle-table tfoot td { font-weight: 800; border-bottom: 0; }
.plus { color: var(--mint-strong); font-weight: 800; }
.minus { color: var(--coral-strong); font-weight: 800; }
.ok { color: var(--ok); font-weight: 800; }
.transfers { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.transfer { display: grid; grid-template-columns: 1fr auto; gap: .3rem .6rem; align-items: center; padding: .75rem .9rem; border-radius: var(--radius-sm); background: var(--coral-soft); }
.transfer.is-done { background: #EEF2EF; }
.transfer.is-done .tf-amt, .transfer.is-done .tf-who b { text-decoration: line-through; color: var(--text-3); }
.tf-who { display: flex; align-items: center; gap: .3rem; flex-wrap: wrap; }
.tf-arrow { color: var(--coral-strong); font-weight: 900; }
.tf-amt { font-weight: 900; font-size: 1.1rem; font-variant-numeric: tabular-nums; text-align: right; }
.tf-check { grid-column: 1 / -1; justify-self: end; font-size: .85rem; }

/* ── 추억 ───────────────────────────────────────── */
.dropzone { display: grid; justify-items: center; gap: .2rem; text-align: center; padding: 1.5rem 1rem; border: 2.5px dashed var(--line-strong); border-radius: var(--radius); cursor: pointer; background: var(--bg); transition: background .15s, border-color .15s; }
.dropzone:hover, .dropzone.is-over { background: var(--mint-soft); border-color: var(--mint); }
.dropzone:focus-within { box-shadow: var(--focus); }
.dz-icon { font-size: 2rem; }
.dropzone .muted { font-size: .82rem; }
.upload-queue { list-style: none; padding: 0; margin: .5rem 0; display: grid; gap: .4rem; }
.uq { display: grid; grid-template-columns: 1fr auto; gap: .2rem .6rem; align-items: center; font-size: .85rem; background: var(--bg); padding: .5rem .7rem; border-radius: 10px; }
.uq-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; grid-column: 1 / -1; font-weight: 600; }
.uq progress { width: 100%; height: 8px; accent-color: var(--mint); }
.uq-stage { color: var(--text-2); font-size: .78rem; white-space: nowrap; }
.uq-done .uq-stage { color: var(--ok); font-weight: 700; }
.uq-error { background: var(--danger-soft); }
.uq-err { color: #8E2323; }
.gallery { list-style: none; padding: 0; margin: .75rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .4rem; }
.g-item { position: relative; aspect-ratio: 1; }
.g-open { border: 0; padding: 0; width: 100%; height: 100%; border-radius: 12px; overflow: hidden; cursor: zoom-in; background: var(--bg-soft); }
.g-open img { width: 100%; height: 100%; object-fit: cover; }
.g-del { position: absolute; top: 4px; right: 4px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .6); color: #fff; cursor: pointer; font-size: .8rem; }
.g-del:hover { background: var(--danger); }
.timeline { list-style: none; padding: 0; margin: 0; }
.tl-day + .tl-day { margin-top: 1rem; }
.tl-date { font-size: .9rem; font-weight: 800; color: var(--coral-strong); margin-bottom: .4rem; }
.tl-day ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.tl-item { display: flex; gap: .7rem; background: var(--bg); border-radius: var(--radius-sm); padding: .7rem .9rem; }
.tl-mood { font-size: 1.6rem; line-height: 1; }
.tl-body { flex: 1; min-width: 0; display: grid; gap: .15rem; }
.tl-place { font-size: .82rem; color: var(--text-2); font-weight: 700; }
.tl-act { font-weight: 800; }
.tl-review { font-size: .95rem; }
.tl-memo { font-size: .85rem; color: var(--text-2); white-space: pre-wrap; }
.tl-meta { font-size: .78rem; color: var(--text-3); }
.album-month { margin-bottom: 1.75rem; }
.album-month-title { font-size: 1.1rem; font-weight: 900; margin-bottom: .6rem; color: var(--coral-strong); }

/* ── 설정 ───────────────────────────────────────── */
.svc-list { list-style: none; padding: 0; margin: 0 0 .8rem; display: grid; gap: .5rem; }
.svc { display: grid; grid-template-columns: 1fr auto; gap: .2rem .6rem; align-items: center; background: var(--bg); padding: .6rem .8rem; border-radius: 10px; }
.svc small { display: block; font-size: .8rem; }
.svc-result { grid-column: 1 / -1; font-size: .82rem; }
.svc-result:empty { display: none; }
.plain-list { padding-left: 1.1rem; margin: .5rem 0 0; display: grid; gap: .4rem; font-size: .92rem; }

/* Leaflet 툴팁 폰트 */
.leaflet-container { font-family: var(--font); }
.leaflet-tooltip { font-weight: 700; border-radius: 8px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* 작은 화면에서 그리드·플렉스 자식이 내용 때문에 넓어지지 않도록 */
.hero { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .hero { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hero > *, .split > *, .detail-grid > *, .m-grid > * { min-width: 0; }
html, body { overflow-x: hidden; }
@media (max-width: 480px) {
  .bal-word { display: none; }
  .settle-table th, .settle-table td { padding: .45rem .25rem; font-size: .82rem; }
  .stat-row-lg .stat b { font-size: 1rem; }
  .stat-row-lg { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat { padding: .6rem .7rem; }
}
.thumbs-row > .skeleton-list { flex: 1; margin-top: 0; }

/* ── 클라우드(로그인·공동 편집) ─────────────────── */
[hidden] { display: none !important; }
.nav-account .avatar { margin-right: .1rem; }
.sync-status { font-size: .78rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; background: var(--mint-soft); color: var(--mint-strong); white-space: nowrap; margin-left: auto; }
.sync-status:not([hidden]) + .topnav { margin-left: .5rem; }
.sync-status.is-error { background: var(--danger-soft); color: #8E2323; cursor: help; }
.sync-status.is-saving { background: var(--bg-soft); color: var(--text-2); }
.remote-bar { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(5rem + env(safe-area-inset-bottom)); z-index: 150; background: var(--text); color: #fff; border-radius: 999px; padding: .4rem .5rem .4rem 1rem; display: flex; gap: .75rem; align-items: center; box-shadow: var(--shadow); font-size: .9rem; width: max-content; max-width: 92vw; }
.sync-note { font-size: .88rem; color: var(--mint-strong); background: var(--mint-soft); padding: .5rem .9rem; border-radius: var(--radius-sm); margin-bottom: 1rem; }
.share-cta { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; justify-content: space-between; margin: 0 0 1rem; }
.share-cta span { flex: 1 1 240px; }
.link-tag { display: inline-block; background: #E8F0FF; color: #3557B5; font-size: .7rem; font-weight: 800; padding: .05rem .45rem; border-radius: 999px; vertical-align: middle; }
.cloud-mark { font-size: .9em; }
.divider { display: flex; align-items: center; gap: .75rem; color: var(--text-3); font-size: .85rem; margin: 1rem 0 .75rem; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line-strong); }
.oauth + .oauth { margin-top: .5rem; }
.oauth-kakao { background: #FEE500; border-color: #FEE500; color: #191919; }
.invite-hero { font-size: 2.6rem; text-align: center; }
.input-code { font-size: 1.3rem; letter-spacing: .3em; text-align: center; font-variant-numeric: tabular-nums; }
.account-row { display: flex; gap: .75rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
@media (max-width: 720px) { .sync-status { display: none !important; } }
.link-email { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--line-strong); }
.guest-card { margin-bottom: 1rem; border: 2px solid var(--mint); }

/* ── 헤더 로그인 상태 칩 ───────────────────────── */
.topnav .nav-account { border: 1.5px solid var(--line-strong); background: #fff; gap: .4rem; }
.topnav .nav-account.is-in { border-color: var(--mint); color: var(--mint-strong); }
.topnav .nav-account.is-guest { border-color: #B9AFA2; color: var(--text-2); }
.topnav .nav-account.is-out { border-color: var(--coral); color: var(--coral-strong); }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px var(--mint-soft); flex: none; }
.is-guest .status-dot { background: #8E8578; box-shadow: 0 0 0 3px #EDE8E1; }
.acc-name { max-width: 9em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 720px) {
  .topnav .nav-account .nav-text { display: inline; font-size: .8rem; max-width: 5.5em; }
  .topnav .nav-cta .nav-text { display: none; }
  .topnav .nav-account { padding: .35rem .6rem; }
}
.dialog-actions { flex-wrap: wrap; }
.auth-status { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; margin-top: 1rem; font-size: .92rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .6rem .9rem; }
.auth-status .grow { flex: 1 1 200px; }
