:root {
  --bg-top: #fff3f7;
  --bg-bottom: #ffe3ec;
  --surface: #ffffff;
  --surface-soft: #fff8fa;
  --surface-muted: #fdf1f5;
  --border: #f5d8e2;
  --border-strong: #f0bed0;
  --text: #1e1b2e;
  --text-secondary: #6e677a;
  --text-muted: #9e96ab;
  --rose-400: #ff7ba5;
  --rose-500: #f43f6e;
  --rose-600: #dc2959;
  --peach-400: #ff9f7a;
  --rose-grad: linear-gradient(135deg, #ff749f 0%, #f43f6e 100%);
  --peach-grad: linear-gradient(135deg, #ff9f7a 0%, #ff6b98 100%);
  --shadow-card: 0 18px 40px rgba(244, 63, 110, 0.08), 0 4px 12px rgba(30, 27, 46, 0.04);
  --shadow-btn: 0 10px 24px rgba(244, 63, 110, 0.28);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(165deg, var(--bg-top) 0%, var(--bg-bottom) 60%, #fff7f9 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

button, input, textarea, select {
  font-family: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.app-shell {
  max-width: 460px;
  min-height: 100dvh;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Auth & Onboarding Shell */
.auth-screen {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 0 16px 24px;
}

.auth-card-frame {
  background: var(--surface);
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin: 12px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.auth-hero {
  position: relative;
  background: linear-gradient(180deg, #ffe7ef 0%, #fff4f8 100%);
  padding: 22px 20px 0;
  text-align: center;
  overflow: hidden;
}

.brand-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--rose-500);
}

.brand-logo-svg {
  width: 30px;
  height: 28px;
  display: inline-flex;
}

.hero-art {
  width: 210px;
  height: 170px;
  object-fit: cover;
  margin: 10px auto -12px;
  border-radius: 26px;
}

.cloud-divider {
  display: block;
  width: 100%;
  height: 36px;
  margin-top: -10px;
}

.auth-body {
  padding: 18px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.auth-title {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.auth-subtitle {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Form controls */
.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  padding-left: 4px;
}

.input-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-soft);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input-box:focus-within {
  border-color: var(--rose-500);
  box-shadow: 0 0 0 4px rgba(244, 63, 110, 0.1);
  background: #fff;
}

.input-box .icon-slot {
  width: 18px;
  height: 18px;
  color: var(--rose-400);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.input-box input,
.input-box select,
.input-box textarea {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 15px;
  color: var(--text);
}

.input-box textarea {
  resize: vertical;
  min-height: 86px;
  line-height: 1.45;
}

.field-hint {
  font-size: 12px;
  padding-left: 4px;
  color: var(--text-muted);
}

.field-hint.ok {
  color: #169c5b;
}

.field-hint.err {
  color: var(--rose-600);
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.segmented.tri {
  grid-template-columns: repeat(3, 1fr);
}

.seg-btn {
  padding: 11px 10px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  background: var(--surface-soft);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.seg-btn.active {
  background: var(--rose-grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 18px rgba(244, 63, 110, 0.22);
}

/* Primary & Secondary Buttons */
.btn-primary {
  width: 100%;
  padding: 15px 20px;
  border-radius: 999px;
  background: var(--rose-grad);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: var(--shadow-btn);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn-primary:active {
  transform: scale(0.985);
}

.btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-secondary {
  width: 100%;
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1.5px solid var(--border-strong);
  color: var(--rose-500);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-pill-sm {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.btn-pill-sm.rose {
  background: var(--rose-grad);
  color: #fff;
  box-shadow: 0 6px 14px rgba(244, 63, 110, 0.22);
}

.btn-pill-sm.ghost {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

/* Main App Layout */
.main-viewport {
  flex: 1;
  padding: 12px 16px calc(92px + var(--safe-bottom));
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 2px;
}

.icon-circle-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 6px 16px rgba(244, 63, 110, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  flex-shrink: 0;
}

.city-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  max-width: 210px;
}

.city-pill span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.city-pill svg {
  color: var(--rose-500);
  flex-shrink: 0;
}

.avatar-ring-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  padding: 3px;
  background: var(--surface);
  box-shadow: 0 6px 16px rgba(244, 63, 110, 0.12);
  flex-shrink: 0;
}

.avatar-ring-svg {
  position: absolute;
  inset: 0;
  width: 44px;
  height: 44px;
  transform: rotate(-90deg);
}

.avatar-ring-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: var(--rose-500);
}

/* Promo Banner (mirrors Lovina mockup) */
.promo-banner {
  position: relative;
  border-radius: var(--radius-xl);
  background: var(--rose-grad);
  padding: 22px 20px;
  color: #fff;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 20px 38px rgba(244, 63, 110, 0.28);
}

.promo-deco-left,
.promo-deco-right {
  position: absolute;
  width: 58px;
  height: 58px;
  opacity: 0.22;
  pointer-events: none;
}

.promo-deco-left {
  top: -8px;
  left: -6px;
}

.promo-deco-right {
  bottom: -10px;
  right: -4px;
}

.promo-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.88;
}

.promo-heading {
  margin: 6px 0 4px;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
}

.promo-sub {
  margin: 0 0 14px;
  font-size: 13px;
  opacity: 0.92;
}

.promo-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #fff;
  color: var(--rose-500);
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

/* Bento Cards */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.bento-card {
  background: var(--surface);
  border: 1px solid rgba(245, 216, 226, 0.8);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-card);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.16s ease;
}

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

.bento-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  background: linear-gradient(145deg, #ffe5ee 0%, #fff3f6 100%);
  color: var(--rose-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bento-icon-badge.peach {
  background: linear-gradient(145deg, #ffebe3 0%, #fff5f1 100%);
  color: #f97048;
}

.bento-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
}

.bento-meta {
  font-size: 13px;
  color: var(--text-secondary);
}

.bento-meta strong {
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
  margin-right: 4px;
}

/* Generic Card */
.card {
  background: var(--surface);
  border: 1px solid rgba(245, 216, 226, 0.75);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-card);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.section-title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.section-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--rose-500);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Completeness Card */
.completeness-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ring-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ring-wrap svg {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}

.ring-value {
  font-size: 15px;
  font-weight: 800;
  color: var(--rose-500);
}

.progress-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.progress-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.progress-item-top {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-secondary);
}

.progress-track {
  height: 7px;
  border-radius: 999px;
  background: var(--surface-muted);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--rose-grad);
}

/* Request List (mirrors Latest Requests from mockup) */
.request-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.request-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  border: 1px solid rgba(245, 216, 226, 0.7);
}

.request-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, #ffd1e0, #ffe6dc);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rose-500);
  font-weight: 800;
}

.request-avatar.blurred {
  filter: blur(5px);
}

.request-info {
  flex: 1;
  min-width: 0;
}

.request-name {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 5px;
}

.request-sub {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.request-sub .time {
  color: var(--rose-400);
  font-weight: 600;
}

.request-actions {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}

/* Discovery Swipe Deck */
.swipe-deck-wrap {
  position: relative;
  flex: 1;
  min-height: 470px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.swipe-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: #1f1926;
  box-shadow: 0 22px 44px rgba(30, 27, 46, 0.16);
  height: 460px;
  user-select: none;
  touch-action: pan-y;
}

.swipe-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swipe-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(155deg, #ffd6e4 0%, #ffe6d9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rose-500);
}

.photo-dots {
  position: absolute;
  top: 12px;
  left: 14px;
  right: 14px;
  display: flex;
  gap: 5px;
  z-index: 3;
}

.photo-dot {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
}

.photo-dot.active {
  background: #fff;
}

.photo-tap-zones {
  position: absolute;
  inset: 0 0 130px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  z-index: 2;
}

.swipe-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 64px 20px 20px;
  background: linear-gradient(180deg, rgba(22, 16, 28, 0) 0%, rgba(22, 16, 28, 0.82) 65%, rgba(22, 16, 28, 0.94) 100%);
  color: #fff;
  z-index: 3;
}

.swipe-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 800;
}

.swipe-meta {
  font-size: 13px;
  opacity: 0.9;
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.swipe-bio {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.4;
  opacity: 0.92;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.swipe-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.action-fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-card);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.14s ease;
}

.action-fab:active {
  transform: scale(0.92);
}

.action-fab.sm {
  width: 44px;
  height: 44px;
}

.action-fab.like {
  width: 64px;
  height: 64px;
  background: var(--rose-grad);
  color: #fff;
  box-shadow: var(--shadow-btn);
}

.action-fab.pass {
  color: #7b7388;
}

.action-fab.superlike {
  color: var(--peach-400);
}

.action-fab.undo {
  color: var(--rose-500);
}

/* Badges & Chips */
.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(244, 63, 110, 0.12);
  color: var(--rose-500);
  font-size: 11px;
  font-weight: 700;
}

.badge-verified.on-dark {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.badge-premium {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--peach-grad);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.chip.selected {
  background: var(--rose-grad);
  border-color: transparent;
  color: #fff;
}

/* Photo Grid */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.photo-slot {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-soft);
  border: 1.5px dashed var(--border-strong);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--rose-400);
  font-size: 11px;
  font-weight: 600;
  gap: 4px;
}

.photo-slot.filled {
  border-style: solid;
  border-color: var(--border);
}

.photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-slot-actions {
  position: absolute;
  bottom: 6px;
  left: 6px;
  right: 6px;
  display: flex;
  justify-content: space-between;
  gap: 4px;
}

.photo-mini-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(30, 27, 46, 0.72);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Matches & Chat */
.match-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.match-bubble {
  width: 72px;
  flex-shrink: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.match-bubble img,
.match-bubble .fallback {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--rose-400);
  padding: 2px;
  background: #fff;
}

.match-bubble span {
  font-size: 12px;
  font-weight: 700;
  max-width: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-shell {
  display: flex;
  flex-direction: column;
  height: calc(100dvh - 110px - var(--safe-bottom));
  background: var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--surface-soft);
}

.msg-bubble {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.4;
  word-break: break-word;
}

.msg-bubble.mine {
  align-self: flex-end;
  background: var(--rose-grad);
  color: #fff;
  border-bottom-right-radius: 6px;
}

.msg-bubble.theirs {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  border-bottom-left-radius: 6px;
}

.msg-time {
  font-size: 10px;
  opacity: 0.72;
  margin-top: 4px;
  text-align: right;
}

.chat-composer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #fff;
  border-top: 1px solid var(--border);
}

.chat-composer input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
  outline: none;
}

.chat-composer input:focus {
  border-color: var(--rose-500);
}

/* Tariff Plans */
.plan-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 16px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 8px 22px rgba(244, 63, 110, 0.06);
}

.plan-card.popular {
  border-color: var(--rose-500);
  background: linear-gradient(135deg, #fff 0%, #fff4f8 100%);
}

.plan-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--rose-grad);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  margin-bottom: 4px;
}

/* Bottom Nav */
.bottom-nav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(10px + var(--safe-bottom));
  width: min(432px, calc(100% - 24px));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(245, 216, 226, 0.9);
  border-radius: 26px;
  padding: 8px 10px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  box-shadow: 0 18px 38px rgba(30, 27, 46, 0.12);
  z-index: 40;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 2px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
  position: relative;
}

.nav-item.active {
  color: var(--rose-500);
}

.nav-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--rose-500);
  opacity: 0;
  transition: opacity 0.15s;
}

.nav-item.active .nav-dot {
  opacity: 1;
}

.nav-badge {
  position: absolute;
  top: 2px;
  right: 16px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--rose-500);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Drawer & Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(30, 27, 46, 0.45);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 80;
  padding: 12px;
}

.modal-backdrop.center {
  align-items: center;
}

.modal-sheet {
  width: min(440px, 100%);
  max-height: 86dvh;
  overflow-y: auto;
  background: #fff;
  border-radius: 28px;
  padding: 20px;
  box-shadow: 0 24px 60px rgba(30, 27, 46, 0.25);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(30, 27, 46, 0.42);
  z-index: 90;
  display: flex;
}

.drawer-panel {
  width: 290px;
  max-width: 84vw;
  height: 100%;
  background: #fff;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 12px 0 36px rgba(30, 27, 46, 0.16);
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  background: var(--surface-soft);
}

.drawer-link.active {
  background: var(--rose-grad);
  color: #fff;
}

.city-option {
  width: 100%;
  padding: 11px 12px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  background: var(--surface-soft);
  border: 1px solid transparent;
}

.city-option:hover {
  border-color: var(--rose-400);
}

.toast-root {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(410px, calc(100% - 24px));
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background: #1e1b2e;
  color: #fff;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.toast.err {
  background: var(--rose-600);
}

.toast.ok {
  background: #15804b;
}

.empty-state {
  text-align: center;
  padding: 30px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
}

.empty-state-icon {
  width: 56px;
  height: 56px;
  border-radius: 20px;
  background: var(--surface-muted);
  color: var(--rose-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
