/* DevMatch — терминальная эстетика для айтишников.
   Space Grotesk для текста, JetBrains Mono для акцентов, зелёный терминальный акцент. */

:root {
  --bg: #0d1117;
  --bg-raise: #161c26;
  --bg-card: #1a212e;
  --line: #2a3342;
  --text: #e6edf3;
  --text-dim: #8b98a9;
  --accent: #3ddc84;
  --accent-dim: rgba(61, 220, 132, 0.14);
  --danger: #ff6b6b;
  --star: #ffc83d;
  --radius: 14px;
  --font-body: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f4f6f8;
    --bg-raise: #ffffff;
    --bg-card: #ffffff;
    --line: #dde3ea;
    --text: #17212b;
    --text-dim: #66717f;
    --accent: #17a45f;
    --accent-dim: rgba(23, 164, 95, 0.12);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  background:
    radial-gradient(1200px 500px at 80% -10%, var(--accent-dim), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}

.mono { font-family: var(--font-mono); }
.hidden { display: none !important; }

#app { max-width: 560px; margin: 0 auto; min-height: 100dvh; }

.screen { min-height: 100dvh; padding: 20px 16px calc(20px + env(safe-area-inset-bottom)); }

/* ---------- загрузка ---------- */
#screen-loading { display: grid; place-items: center; }
.boot { text-align: center; }
.boot-logo {
  font-family: var(--font-mono); font-size: 34px; font-weight: 600; letter-spacing: -1px;
}
.boot-logo span, .brand span { color: var(--accent); }
.boot-line { margin-top: 12px; color: var(--text-dim); font-size: 13px; }
.cursor { animation: blink 1s steps(1) infinite; color: var(--accent); }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- онбординг ---------- */
.ob-head { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.brand { font-size: 18px; font-weight: 600; }
.ob-progress { flex: 1; height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
#ob-bar { height: 100%; width: 33%; background: var(--accent); transition: width 0.35s ease; }

h1 { font-size: 30px; font-weight: 700; line-height: 1.15; letter-spacing: -0.5px; }
.sub { color: var(--text-dim); font-size: 13px; margin: 10px 0 26px; }

.field { display: block; margin-bottom: 18px; }
.field > span {
  display: block; font-family: var(--font-mono); font-size: 12px;
  color: var(--text-dim); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.06em;
}
.field em { text-transform: none; opacity: 0.7; font-style: normal; }

input[type="text"], input[type="number"], textarea {
  width: 100%; padding: 14px; font-size: 16px; font-family: var(--font-body);
  background: var(--bg-raise); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius);
  outline: none; transition: border-color 0.2s;
}
input:focus, textarea:focus { border-color: var(--accent); }
textarea { resize: none; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.city-row { display: flex; gap: 8px; }
.city-row input { flex: 1; }
.city-row .btn-ghost { min-width: 52px; min-height: 52px; border-radius: var(--radius); font-size: 20px; }

/* сегмент-контрол */
.seg { display: flex; gap: 8px; }
.seg.seg-wrap { flex-wrap: wrap; }
.seg.seg-wrap button { flex: 1 1 40%; }
.seg button {
  flex: 1; min-height: 46px; padding: 10px 8px; font-family: var(--font-body); font-size: 15px;
  background: var(--bg-raise); color: var(--text-dim);
  border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
  transition: all 0.15s;
}
.seg button.on {
  background: var(--accent-dim); color: var(--accent);
  border-color: var(--accent); font-weight: 500;
}

/* чипы сфер */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button {
  padding: 10px 14px; min-height: 44px; font-family: var(--font-mono); font-size: 13px;
  background: var(--bg-raise); color: var(--text-dim);
  border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
  transition: all 0.15s;
}
.chips button.on { background: var(--accent-dim); color: var(--accent); border-color: var(--accent); }

/* ползунок возраста: два бегунка на одной линии */
.range-pair { position: relative; height: 34px; padding: 0 2px; }
.range-track {
  position: absolute; left: 2px; right: 2px; top: 50%; transform: translateY(-50%);
  height: 4px; background: var(--line); border-radius: 2px;
}
.range-fill { position: absolute; top: 0; bottom: 0; background: var(--accent); border-radius: 2px; }
.range-pair input[type="range"] {
  -webkit-appearance: none; appearance: none;
  position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 34px; margin: 0;
  background: none; outline: none; pointer-events: none; /* ловят клики только бегунки */
}
.range-pair input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent); border: 4px solid var(--bg); cursor: pointer;
  pointer-events: auto;
}
.range-pair input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent); border: 4px solid var(--bg); cursor: pointer;
  pointer-events: auto;
}

.btn-primary {
  display: block; width: 100%; min-height: 52px; margin-top: 8px;
  font-family: var(--font-mono); font-size: 15px; font-weight: 600;
  background: var(--accent); color: #08110b;
  border: none; border-radius: var(--radius); cursor: pointer;
  transition: transform 0.1s, opacity 0.2s;
}
.btn-primary:active { transform: scale(0.98); }
.btn-primary:disabled { opacity: 0.5; }

.btn-ghost {
  background: none; border: 1px solid var(--line); color: var(--text-dim);
  padding: 8px 14px; min-height: 40px; border-radius: 999px; font-size: 13px; cursor: pointer;
}
.btn-ghost.wide { width: 100%; min-height: 48px; border-radius: var(--radius); margin-top: 14px; }

.error { color: var(--danger); font-size: 13px; margin-top: 12px; }

/* ---------- загрузка фото ---------- */
.photo-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px;
}
.photo-slot {
  position: relative; aspect-ratio: 3/4; border-radius: 12px; overflow: hidden;
  border: 1px dashed var(--line); background: var(--bg-raise);
  display: grid; place-items: center; cursor: pointer;
  color: var(--text-dim); font-size: 24px;
}
.photo-slot.main { grid-row: span 2; grid-column: span 2; }
.photo-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-slot.filled { border-style: solid; border-color: var(--accent); }
.photo-slot .slot-hint {
  position: absolute; bottom: 6px; left: 0; right: 0; text-align: center;
  font-family: var(--font-mono); font-size: 10px; color: var(--text-dim);
}
.photo-del {
  position: absolute; top: 6px; right: 6px; z-index: 2;
  width: 26px; height: 26px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(0,0,0,0.65); color: #fff; font-size: 13px; display: grid; place-items: center;
}
.photo-slot.uploading::after {
  content: '…'; position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(0,0,0,0.5); color: var(--accent); font-size: 28px;
}

/* ---------- основной интерфейс ---------- */
#screen-main { padding: 0; }
.tab { padding: 16px 16px calc(84px + env(safe-area-inset-bottom)); min-height: 100dvh; }
.bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px; min-height: 40px;
}
.bar h2 { font-size: 22px; letter-spacing: -0.3px; }

/* ---------- колода как в Тиндере ---------- */
.tab-deck { padding: 0 0 calc(60px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; }

.deck-bar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 16px calc(24px + 14px);
  background: linear-gradient(180deg, rgba(0,0,0,0.55), transparent);
  pointer-events: none;
}
.deck-bar .brand, .deck-bar .btn-ghost { pointer-events: auto; }
.deck-bar .btn-ghost { background: rgba(0,0,0,0.35); backdrop-filter: blur(8px); color: #e6edf3; border-color: rgba(255,255,255,0.25); display: inline-flex; align-items: center; gap: 6px; }
#btn-filters .material-symbols-outlined { font-size: 18px; font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 20; }
.deck-counter { font-size: 11px; color: rgba(230,237,243,0.75); }

.tab-deck { position: relative; }
.deck { position: relative; flex: 1; min-height: 0; }

.card {
  position: absolute; inset: 0;
  background: var(--bg-card);
  overflow: hidden;
  display: flex; flex-direction: column;
  touch-action: pan-y;
  will-change: transform;
}
.card.leaving { transition: transform 0.35s ease, opacity 0.35s ease; opacity: 0; }
.card.entering { animation: card-in 0.3s ease; }
@keyframes card-in { from { transform: scale(0.96); opacity: 0.4; } }

.card-photo { position: absolute; inset: 0; background: var(--bg-raise); }
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.card-photo img.blurred { filter: blur(24px) brightness(0.6); transform: scale(1.1); }

/* сторис-бары: сколько фото и какое открыто */
.photo-bars {
  position: absolute; top: 52px; left: 12px; right: 12px; z-index: 6;
  display: flex; gap: 5px;
}
.photo-bars i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.35); }
.photo-bars i.on { background: #fff; }

/* зоны перелистывания фото */
.photo-nav { position: absolute; inset: 0 0 30% 0; z-index: 4; display: flex; }
.photo-nav span { flex: 1; }

/* замок на заблюренном фото */
.photo-lock {
  position: absolute; inset: 0; z-index: 5;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  text-align: center; color: #fff; padding: 24px;
}
.photo-lock .lock-icon { font-size: 40px; }
.photo-lock p { font-size: 14px; max-width: 240px; text-shadow: 0 1px 6px rgba(0,0,0,0.6); }
.photo-lock button { pointer-events: auto; }
.card-photo .initial {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 120px; font-weight: 600; color: var(--accent);
  background:
    radial-gradient(500px 400px at 70% 20%, var(--accent-dim), transparent 70%),
    var(--bg-raise);
}
/* градиент, чтобы текст читался на фото */
.card-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.78) 78%, rgba(0,0,0,0.92));
  pointer-events: none;
}

.boost-flag {
  position: absolute; top: 64px; left: 16px; z-index: 5;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  background: var(--accent); color: #08110b; padding: 4px 10px; border-radius: 999px;
}

/* стемпы LIKE / NOPE при свайпе */
.stamp {
  position: absolute; top: 80px; z-index: 6; padding: 6px 14px;
  font-family: var(--font-mono); font-size: 22px; font-weight: 600; letter-spacing: 2px;
  border: 3px solid; border-radius: 8px; opacity: 0; transform: rotate(-12deg);
}
.stamp-like { left: 18px; color: var(--accent); border-color: var(--accent); }
.stamp-nope { right: 18px; color: var(--danger); border-color: var(--danger); transform: rotate(12deg); }

.card-info {
  position: relative; z-index: 5; margin-top: auto;
  padding: 16px 18px 12px; color: #fff;
}
.card-name { font-size: 30px; font-weight: 700; letter-spacing: -0.5px; text-shadow: 0 1px 8px rgba(0,0,0,0.5); }
.card-sub { font-size: 14px; color: rgba(255,255,255,0.85); margin-top: 4px; text-shadow: 0 1px 6px rgba(0,0,0,0.5); }
.card-meta { font-family: var(--font-mono); font-size: 13px; color: var(--accent); margin-top: 4px; }
.card-about { font-size: 14.5px; color: rgba(255,255,255,0.85); margin-top: 8px; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* раскрытое описание */
.card.open .card-about { -webkit-line-clamp: unset; }
.card-details { display: none; margin-top: 10px; }
.card.open .card-details { display: flex; flex-wrap: wrap; gap: 6px; }
.card-details .tag {
  font-family: var(--font-mono); font-size: 11px; color: var(--accent);
  background: rgba(0,0,0,0.45); border: 1px solid var(--accent);
  padding: 3px 9px; border-radius: 999px;
}

.card-actions {
  position: relative; z-index: 5;
  display: flex; align-items: center; justify-content: center; gap: 22px;
  padding: 4px 18px calc(16px + env(safe-area-inset-bottom) * 0);
}
.act {
  width: 58px; height: 58px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; font-size: 24px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.4); backdrop-filter: blur(8px);
  color: #fff; transition: transform 0.12s;
}
.act:active { transform: scale(0.9); }
.act-pass { width: 52px; height: 52px; color: #fff; font-size: 22px; }
/* «Написать» — второстепенная, как крестик: белый бордер, без заливки */
.act-write {
  width: 52px; height: 52px; color: #fff;
  border-color: rgba(255,255,255,0.55); background: rgba(0,0,0,0.4);
}
.act-write svg { width: 22px; height: 22px; margin-left: -2px; } /* центровка самолётика */
/* лайк — ключевое действие, по центру, крупнее и красное */
.act-like {
  width: 66px; height: 66px; font-size: 32px;
  background: var(--danger); border-color: var(--danger); color: #fff;
  box-shadow: 0 6px 18px rgba(255, 107, 107, 0.45);
}

.empty { text-align: center; padding: 60px 20px; color: var(--text-dim); }
.tab-deck .empty {
  position: absolute; inset: 0; padding: 20px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
}
.empty-icon { font-size: 40px; color: var(--line); font-weight: 600; margin-bottom: 12px; }

/* лайки */
.section-title { font-size: 12px; color: var(--text-dim); margin: 18px 0 10px; }
.row {
  display: flex; align-items: center; gap: 12px; padding: 12px;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 10px;
}
.ava {
  width: 52px; height: 52px; border-radius: 50%; background: var(--bg-raise);
  display: grid; place-items: center; overflow: hidden; flex-shrink: 0;
  font-family: var(--font-mono); font-weight: 600; color: var(--accent); font-size: 20px;
}
.ava img { width: 100%; height: 100%; object-fit: cover; }
.row .info { flex: 1; min-width: 0; }
.row .info b { display: block; font-size: 15px; }
.row .info small { color: var(--text-dim); font-family: var(--font-mono); font-size: 11px; }
.row a.btn-ghost { text-decoration: none; display: inline-flex; align-items: center; }

/* пейволы */
.paywall-card {
  background: linear-gradient(135deg, var(--accent-dim), transparent 70%), var(--bg-card);
  border: 1px solid var(--accent); border-radius: var(--radius);
  padding: 18px; margin-top: 16px;
}
.paywall-title { font-weight: 700; font-size: 17px; margin-bottom: 6px; }
.paywall-card p { font-size: 13.5px; color: var(--text-dim); margin-bottom: 14px; }
.boost-status { color: var(--accent); font-size: 12px; margin-top: 10px; }

.locked {
  filter: blur(6px); pointer-events: none; user-select: none;
}
.locked-wrap { position: relative; }
.locked-overlay {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 2;
}

/* таббар */
.tabbar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 560px;
  display: flex; background: color-mix(in srgb, var(--bg-raise) 92%, transparent);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar button {
  flex: 1; min-height: 60px; background: none; border: none; cursor: pointer;
  color: var(--text-dim); font-family: var(--font-mono); font-size: 11px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  position: relative;
}
.tabbar button.active { color: var(--accent); }
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal; font-style: normal;
  line-height: 1; letter-spacing: normal; text-transform: none;
  white-space: nowrap; word-wrap: normal; direction: ltr;
  -webkit-font-feature-settings: 'liga'; -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
.tabbar .ti { font-size: 24px; line-height: 1; }
/* активная вкладка — залитая иконка */
.tabbar button.active .ti { font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24; }
/* сердце на кнопке лайка — залитое */
.act-like .material-symbols-outlined { font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 40; }
.badge {
  position: absolute; top: 8px; right: calc(50% - 26px);
  background: var(--danger); color: #fff; font-size: 10px; font-weight: 600;
  min-width: 16px; height: 16px; border-radius: 8px; display: grid; place-items: center; padding: 0 4px;
}

/* шторка фильтров */
.backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 40;
  animation: fade 0.2s ease;
}
@keyframes fade { from { opacity: 0; } }
.sheet {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 560px; z-index: 50;
  background: var(--bg-raise); border-radius: 20px 20px 0 0;
  padding: 10px 18px calc(22px + env(safe-area-inset-bottom));
  animation: up 0.25s ease;
  max-height: 85dvh; overflow-y: auto;
}
@keyframes up { from { transform: translate(-50%, 30%); opacity: 0.5; } }
.sheet-handle { width: 40px; height: 4px; background: var(--line); border-radius: 2px; margin: 0 auto 14px; }
.sheet h3 { margin-bottom: 16px; font-size: 18px; }
.wide { width: 100%; }

/* мой профиль */
.my-card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; display: flex; gap: 14px; align-items: flex-start;
}
.my-card .ava { width: 64px; height: 64px; font-size: 24px; }
.my-card .tags { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.my-card .tag {
  font-family: var(--font-mono); font-size: 11px; color: var(--accent);
  background: var(--accent-dim); padding: 3px 8px; border-radius: 999px;
}

/* тост */
.toast {
  position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom));
  transform: translateX(-50%); z-index: 100;
  background: var(--text); color: var(--bg); font-size: 14px; font-weight: 500;
  padding: 12px 18px; border-radius: 999px; white-space: nowrap;
  animation: pop 0.25s ease;
}
@keyframes pop { from { transform: translate(-50%, 10px); opacity: 0; } }

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

/* ---------- экран мэтча ---------- */
.match-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(4, 10, 7, 0.9); backdrop-filter: blur(10px);
  display: grid; place-items: center; padding: 24px;
  animation: fade 0.25s ease;
}
.match-box {
  width: 100%; max-width: 420px; text-align: center;
  background: var(--bg-card); border: 1px solid var(--accent); border-radius: 20px;
  padding: 26px 22px calc(22px + env(safe-area-inset-bottom));
  animation: pop-in 0.3s ease;
}
@keyframes pop-in { from { transform: scale(0.92); opacity: 0; } }
.match-title { font-size: 12px; color: var(--text-dim); }
.match-head { font-size: 28px; letter-spacing: -0.5px; margin: 8px 0 18px; }
.match-avatars { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 18px; }
.match-heart { font-size: 26px; animation: heart-beat 1.2s ease infinite; }
@keyframes heart-beat { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.25); } }
.ava.big {
  width: 84px; height: 84px; font-size: 32px;
  border: 2px solid var(--accent); box-shadow: 0 0 24px rgba(61, 220, 132, 0.35);
}
.match-text { color: var(--text-dim); font-size: 15px; line-height: 1.5; margin-bottom: 20px; }
#match-write { text-decoration: none; display: flex; align-items: center; justify-content: center; }

/* ---------- видео-визитка ---------- */
.video-slot {
  position: relative; border-radius: 12px; overflow: hidden;
  border: 1px dashed var(--line); background: var(--bg-raise);
  aspect-ratio: 16/10; display: grid; place-items: center;
  color: var(--text-dim); cursor: pointer; text-align: center; font-size: 14px;
}
.video-slot.filled { border-style: solid; border-color: var(--accent); }
.video-slot video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-slot .video-hint { font-family: var(--font-mono); font-size: 11px; margin-top: 4px; }
.video-slot.uploading::after {
  content: '…'; position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(0,0,0,0.5); color: var(--accent); font-size: 28px;
}
.card-photo video { width: 100%; height: 100%; object-fit: cover; }
.video-badge {
  position: absolute; bottom: 8px; right: 8px; z-index: 4;
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  background: rgba(0,0,0,0.55); color: #fff; padding: 3px 8px; border-radius: 999px;
}

/* пилюля расстояния и бейдж проверки */
.nearby-pill {
  display: inline-block; margin-bottom: 8px;
  font-family: var(--font-mono); font-size: 11px; color: #fff;
  background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.3);
  padding: 4px 12px; border-radius: 999px; backdrop-filter: blur(6px);
}
.card-name .verified {
  font-size: 22px; color: #229ED9; vertical-align: -3px; margin-left: 4px;
  font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}

/* ---------- слайд-окно «Написать первым» (в стиле референса) ---------- */
.dm-sheet {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 560px; z-index: 95;
  background: #1c1c1e; border-radius: 24px 24px 0 0;
  padding: 12px 22px calc(26px + env(safe-area-inset-bottom));
  animation: up 0.28s ease;
}
.dm-title { font-size: 24px; font-weight: 700; margin: 6px 0 10px; color: #fff; }
.dm-sub { font-size: 15px; line-height: 1.5; color: #9a9aa2; margin-bottom: 22px; }
.dm-sub b { color: #fff; font-weight: 600; }
.dm-actions { display: flex; align-items: stretch; gap: 16px; }
.dm-pay {
  flex: 0 0 auto; margin: 0; min-height: 52px; padding: 0 30px; width: auto;
  border-radius: 999px; background: #229ED9; color: #fff; font-size: 16px;
}
.dm-later {
  flex: 0 0 auto; background: none; border: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0 8px; color: #6b6b73;
}
.dm-later b { font-size: 16px; font-weight: 500; }
.dm-later small { font-size: 12px; margin-top: 2px; }
