/* ══════════════════════════════════════════
   itshonigo — desktop.css
   Dark theme · 3-column layout
══════════════════════════════════════════ */

:root {
  --bg-0: #0b0e17;
  --bg-1: #10141f;
  --bg-2: #181d2e;
  --bg-3: #1f2540;
  --bg-4: #252b42;
  --blue: #4e7fff;
  --blue-d: #3a6ae8;
  --blue-muted: rgba(78,127,255,.14);
  --blue-border: rgba(78,127,255,.28);
  --green: #3db87a;
  --green-muted: rgba(61,184,122,.12);
  --green-bdr: rgba(61,184,122,.3);
  --amber: #d4a017;
  --amber-muted: rgba(212,160,23,.12);
  --red: #e05252;
  --red-muted: rgba(224,82,82,.1);
  --t-hi: #e8ecf4;
  --t-mid: #8a94a8;
  --t-lo: #4a5568;
  --bdr: rgba(255,255,255,.07);
  --bdr-h: rgba(255,255,255,.13);
  --sh-blue: 0 4px 18px rgba(78,127,255,.28);
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-pill: 9999px;
  --font: 'Noto Sans JP', 'Inter', sans-serif;
}

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

html, body {
  height: 100%;
  font-family: var(--font);
  background: var(--bg-0);
  color: var(--t-hi);
  overflow: hidden;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--bg-4); border-radius: 99px; }

/* ════════════════════════════════════════
   HEADER  (52px)
════════════════════════════════════════ */
.app-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 52px;
  background: rgba(11,14,23,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--bdr);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
  z-index: 200;
}

.hdr-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.hdr-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.hdr-logo-mark {
  width: 30px; height: 30px;
  background: linear-gradient(135deg, var(--blue), #7b5ea7);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sh-blue);
}

.hdr-logo-text {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.3px;
  color: var(--t-hi);
}

.hdr-search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-2);
  border: 1px solid var(--bdr);
  border-radius: var(--r-pill);
  padding: 0 14px;
  width: 260px;
  height: 34px;
  color: var(--t-mid);
  transition: border-color .2s;
}
.hdr-search-wrap:focus-within {
  border-color: var(--blue-border);
}

.hdr-search {
  background: none;
  border: none;
  outline: none;
  color: var(--t-hi);
  font-size: 13px;
  width: 100%;
  font-family: var(--font);
}
.hdr-search::placeholder { color: var(--t-lo); }

.hdr-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 auto;
}

.hnav-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: none;
  background: none;
  color: var(--t-mid);
  font-size: 13px;
  font-family: var(--font);
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: all .18s;
  white-space: nowrap;
}
.hnav-btn:hover { background: var(--bg-2); color: var(--t-hi); }
.hnav-btn.active { background: var(--blue-muted); color: var(--blue); }

.hdr-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.hdr-create-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: var(--blue);
  border: none;
  border-radius: var(--r-pill);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  box-shadow: var(--sh-blue);
  transition: all .18s;
}
.hdr-create-btn:hover { background: var(--blue-d); transform: translateY(-1px); }

.hdr-avatar {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, #7b5ea7, var(--blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  position: relative;
}
.hdr-avatar-dot {
  position: absolute;
  bottom: 1px; right: 1px;
  width: 8px; height: 8px;
  background: var(--green);
  border: 2px solid var(--bg-0);
  border-radius: 50%;
}

/* ════════════════════════════════════════
   APP BODY  (below header)
════════════════════════════════════════ */
.app-body {
  position: fixed;
  top: 52px; bottom: 0; left: 0; right: 0;
  display: flex;
  overflow: hidden;
}

/* ════════════════════════════════════════
   LEFT PANEL  (360px)
════════════════════════════════════════ */
.left-panel {
  width: 360px;
  flex-shrink: 0;
  background: var(--bg-1);
  border-right: 1px solid var(--bdr);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .28s cubic-bezier(.4,0,.2,1);
}

.left-panel.hidden {
  transform: translateX(-100%);
}

/* Tab bar */
.lp-tabs {
  display: flex;
  border-bottom: 1px solid var(--bdr);
  padding: 0 12px;
  gap: 2px;
  flex-shrink: 0;
}

.lp-tab {
  flex: 1;
  padding: 12px 8px;
  border: none;
  background: none;
  color: var(--t-mid);
  font-size: 12px;
  font-family: var(--font);
  font-weight: 500;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all .18s;
  white-space: nowrap;
}
.lp-tab:hover { color: var(--t-hi); }
.lp-tab.active { color: var(--blue); border-bottom-color: var(--blue); }

/* Content */
.lp-content {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Place card */
.place-card {
  background: var(--bg-2);
  border: 1px solid var(--bdr);
  border-radius: var(--r-md);
  padding: 14px;
  cursor: pointer;
  transition: all .18s;
  position: relative;
}
.place-card:hover { border-color: var(--bdr-h); background: var(--bg-3); }
.place-card.active { border-color: var(--blue-border); background: var(--blue-muted); }

.pc-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pc-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.pc-info { flex: 1; min-width: 0; }
.pc-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--t-hi);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pc-sub { font-size: 12px; color: var(--t-mid); margin-top: 2px; }

.pc-badge {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  font-weight: 600;
  flex-shrink: 0;
}
.pc-badge.active-party {
  background: var(--green-muted);
  color: var(--green);
  border: 1px solid var(--green-bdr);
}
.pc-badge.no-party {
  background: var(--bg-3);
  color: var(--t-lo);
}

.pc-stats {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}
.pc-stat { font-size: 11px; color: var(--t-mid); }
.pc-stat strong { color: var(--t-hi); font-weight: 600; }

/* Party card */
.party-card {
  background: var(--bg-2);
  border: 1px solid var(--bdr);
  border-radius: var(--r-md);
  padding: 14px;
  cursor: pointer;
  transition: all .18s;
}
.party-card:hover { border-color: var(--bdr-h); background: var(--bg-3); }

.party-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.party-card-route {
  font-size: 13px;
  font-weight: 600;
  color: var(--t-hi);
}
.party-card-time {
  font-size: 12px;
  color: var(--blue);
  font-weight: 600;
}

.party-card-host {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.party-host-avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}
.party-host-name { font-size: 12px; color: var(--t-mid); }

.seats-row {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}
.seat-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.seat-dot.filled { background: var(--blue); }
.seat-dot.open { background: var(--bg-4); border: 1px solid var(--bdr-h); }

.party-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.party-save {
  font-size: 12px;
  color: var(--green);
  font-weight: 600;
}
.party-status-badge {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: var(--r-pill);
  font-weight: 600;
}
.party-status-badge.open {
  background: var(--green-muted);
  color: var(--green);
}
.party-status-badge.full {
  background: var(--red-muted);
  color: var(--red);
}

/* ════════════════════════════════════════
   MAP AREA
════════════════════════════════════════ */
.map-area {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: var(--bg-0);
}

#mapCanvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: block;
}

.pins-layer {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

.map-pin {
  position: absolute;
  transform: translate(-50%, -100%);
  pointer-events: all;
  cursor: pointer;
  transition: transform .18s;
}
.map-pin:hover { transform: translate(-50%, -100%) scale(1.15); }
.map-pin.active { transform: translate(-50%, -100%) scale(1.2); }

.map-pin-body {
  background: var(--blue);
  color: #fff;
  border-radius: var(--r-md) var(--r-md) var(--r-md) 0;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(78,127,255,.4);
  display: flex;
  align-items: center;
  gap: 5px;
  position: relative;
}
.map-pin-body::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 0; height: 0;
  border-left: 8px solid var(--blue);
  border-bottom: 6px solid transparent;
}

.map-pin.active .map-pin-body {
  background: var(--green);
  box-shadow: 0 4px 16px rgba(61,184,122,.4);
}
.map-pin.active .map-pin-body::after {
  border-left-color: var(--green);
}

.map-pin-count {
  background: rgba(255,255,255,.25);
  border-radius: var(--r-pill);
  padding: 1px 6px;
  font-size: 10px;
}

/* Map controls */
.map-controls {
  position: absolute;
  right: 16px;
  top: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mc-btn {
  width: 36px; height: 36px;
  background: var(--bg-2);
  border: 1px solid var(--bdr);
  border-radius: var(--r-sm);
  color: var(--t-hi);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .18s;
  backdrop-filter: blur(8px);
}
.mc-btn:hover { background: var(--bg-3); border-color: var(--bdr-h); }

/* My location */
.my-location {
  position: absolute;
  pointer-events: none;
}
.my-loc-aura {
  width: 40px; height: 40px;
  background: rgba(78,127,255,.18);
  border-radius: 50%;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 2.4s ease-in-out infinite;
}
.my-loc-core {
  width: 14px; height: 14px;
  background: var(--blue);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(78,127,255,.5);
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%,-50%) scale(1); opacity: .6; }
  50% { transform: translate(-50%,-50%) scale(1.5); opacity: .2; }
}

/* FAB */
.map-fab {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--blue);
  border: none;
  border-radius: var(--r-pill);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(78,127,255,.4);
  transition: all .2s;
  white-space: nowrap;
}
.map-fab:hover { transform: translateX(-50%) translateY(-2px); box-shadow: 0 10px 32px rgba(78,127,255,.5); }

.map-empty-hint {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
  opacity: .4;
}
.meh-icon { font-size: 36px; margin-bottom: 8px; }
.meh-text { font-size: 13px; color: var(--t-mid); }

/* ════════════════════════════════════════
   RIGHT PANEL  (380px)
════════════════════════════════════════ */
.right-panel {
  width: 380px;
  flex-shrink: 0;
  background: var(--bg-1);
  border-left: 1px solid var(--bdr);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
}
.right-panel.open {
  transform: translateX(0);
}

.rp-close-bar {
  display: flex;
  justify-content: flex-end;
  padding: 10px 12px 0;
  flex-shrink: 0;
}
.rp-close-btn {
  width: 28px; height: 28px;
  background: var(--bg-3);
  border: none;
  border-radius: 50%;
  color: var(--t-mid);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .18s;
}
.rp-close-btn:hover { background: var(--bg-4); color: var(--t-hi); }

.rp-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

/* ── Spot Detail ── */
.spot-hero {
  background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--bdr);
  border-radius: var(--r-lg);
  padding: 20px;
  margin-bottom: 16px;
  text-align: center;
}
.spot-hero-icon { font-size: 40px; margin-bottom: 8px; }
.spot-hero-name { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.spot-hero-sub { font-size: 13px; color: var(--t-mid); }

.spot-stats {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.spot-stat-card {
  flex: 1;
  background: var(--bg-2);
  border: 1px solid var(--bdr);
  border-radius: var(--r-md);
  padding: 12px;
  text-align: center;
}
.spot-stat-val { font-size: 22px; font-weight: 700; color: var(--blue); }
.spot-stat-lbl { font-size: 10px; color: var(--t-mid); margin-top: 2px; }

.rp-cta-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  transition: all .2s;
  margin-bottom: 10px;
}
.rp-cta-btn.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: var(--sh-blue);
}
.rp-cta-btn.primary:hover { background: var(--blue-d); transform: translateY(-1px); }
.rp-cta-btn.secondary {
  background: var(--bg-3);
  color: var(--t-hi);
  border: 1px solid var(--bdr);
}
.rp-cta-btn.secondary:hover { border-color: var(--bdr-h); background: var(--bg-4); }

.rp-section-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--t-mid);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin: 16px 0 8px;
}

/* ── Party Detail (right panel) ── */
.pd-route-card {
  background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--bdr);
  border-radius: var(--r-lg);
  padding: 16px;
  margin-bottom: 12px;
}
.pd-route-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
.pd-route-arrow { color: var(--blue); }
.pd-depart-time {
  font-size: 28px;
  font-weight: 700;
  color: var(--blue);
}
.pd-depart-date { font-size: 12px; color: var(--t-mid); margin-top: 2px; }

.pd-fare-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--bdr);
  font-size: 13px;
}
.pd-fare-row:last-child { border-bottom: none; }
.pd-fare-label { color: var(--t-mid); }
.pd-fare-val { font-weight: 600; color: var(--t-hi); }
.pd-fare-save { color: var(--green); font-weight: 700; }

/* ── Create Party Sheet ── */
.create-sheet {
  background: var(--bg-1);
}
.cs-section {
  margin-bottom: 20px;
}
.cs-label {
  font-size: 11px;
  color: var(--t-mid);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 8px;
}
.cs-value-display {
  background: var(--bg-2);
  border: 1px solid var(--bdr);
  border-radius: var(--r-md);
  padding: 12px 14px;
  font-size: 14px;
  color: var(--t-hi);
}
.cs-input {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--bdr);
  border-radius: var(--r-md);
  padding: 12px 14px;
  font-size: 14px;
  color: var(--t-hi);
  font-family: var(--font);
  outline: none;
  transition: border-color .18s;
}
.cs-input:focus { border-color: var(--blue-border); }
.cs-input::placeholder { color: var(--t-lo); }

.suggest-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 6px;
}
.suggest-item {
  padding: 10px 14px;
  background: var(--bg-2);
  border: 1px solid var(--bdr);
  border-radius: var(--r-sm);
  font-size: 13px;
  color: var(--t-hi);
  cursor: pointer;
  transition: all .15s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.suggest-item:hover { border-color: var(--blue-border); background: var(--blue-muted); }

.stepper {
  display: flex;
  align-items: center;
  gap: 12px;
}
.stepper-btn {
  width: 36px; height: 36px;
  background: var(--bg-3);
  border: 1px solid var(--bdr);
  border-radius: 50%;
  color: var(--t-hi);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s;
}
.stepper-btn:hover { background: var(--blue); border-color: var(--blue); }
.stepper-val {
  font-size: 24px;
  font-weight: 700;
  color: var(--t-hi);
  min-width: 32px;
  text-align: center;
}

.save-preview {
  background: var(--green-muted);
  border: 1px solid var(--green-bdr);
  border-radius: var(--r-md);
  padding: 14px;
  text-align: center;
  margin: 16px 0;
}
.save-preview-val {
  font-size: 28px;
  font-weight: 700;
  color: var(--green);
}
.save-preview-lbl { font-size: 12px; color: var(--t-mid); margin-top: 2px; }

/* ── Chat Panel ── */
.chat-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--bdr);
  flex-shrink: 0;
}
.chat-title { font-size: 14px; font-weight: 700; }
.chat-sub { font-size: 12px; color: var(--t-mid); margin-top: 2px; }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-msg { display: flex; gap: 8px; }
.chat-msg.mine { flex-direction: row-reverse; }

.chat-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.chat-bubble {
  max-width: 70%;
  padding: 10px 13px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
}
.chat-msg:not(.mine) .chat-bubble {
  background: var(--bg-3);
  border-radius: 2px 12px 12px 12px;
  color: var(--t-hi);
}
.chat-msg.mine .chat-bubble {
  background: var(--blue);
  border-radius: 12px 2px 12px 12px;
  color: #fff;
}

.chat-input-bar {
  padding: 10px 12px;
  border-top: 1px solid var(--bdr);
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.chat-input {
  flex: 1;
  background: var(--bg-2);
  border: 1px solid var(--bdr);
  border-radius: var(--r-pill);
  padding: 8px 14px;
  font-size: 13px;
  color: var(--t-hi);
  font-family: var(--font);
  outline: none;
  transition: border-color .18s;
}
.chat-input:focus { border-color: var(--blue-border); }
.chat-input::placeholder { color: var(--t-lo); }
.chat-send-btn {
  width: 36px; height: 36px;
  background: var(--blue);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .18s;
}
.chat-send-btn:hover { background: var(--blue-d); }

/* ── Section toggle for spot vs parties view ── */
.spots-view { display: block; }
.spots-view.hidden { display: none; }

/* ── Utility ── */
.divider {
  height: 1px;
  background: var(--bdr);
  margin: 12px 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: var(--bg-3);
  border: 1px solid var(--bdr);
  border-radius: var(--r-pill);
  font-size: 11px;
  color: var(--t-mid);
}

.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--t-mid);
}
.empty-icon { font-size: 32px; margin-bottom: 10px; }
.empty-text { font-size: 13px; }

/* ── Rating stars ── */
.stars { color: var(--amber); font-size: 13px; }

/* Modal overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(4px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--bg-1);
  border: 1px solid var(--bdr-h);
  border-radius: var(--r-lg);
  padding: 28px;
  width: 420px;
  max-width: 94vw;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  transform: translateY(20px) scale(.97);
  transition: transform .2s;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }

.modal-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}
.modal-sub {
  font-size: 13px;
  color: var(--t-mid);
  margin-bottom: 20px;
}
.modal-actions {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.modal-btn {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: var(--r-md);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: all .18s;
}
.modal-btn.primary {
  background: var(--blue);
  color: #fff;
}
.modal-btn.primary:hover { background: var(--blue-d); }
.modal-btn.cancel {
  background: var(--bg-3);
  color: var(--t-hi);
}
.modal-btn.cancel:hover { background: var(--bg-4); }
