/* ═══════════════════════════════════════
   BOTTOM SHEET — shared + add-spot
   ═══════════════════════════════════════ */

.sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0);
  z-index: calc(var(--sheet-z) - 1);
  pointer-events: none;
  transition: background 0.3s;
}
.sheet-overlay.visible {
  background: rgba(0,0,0,0.55);
  pointer-events: all;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

/* ── SHARED SHEET ────────────────────── */
.sheet {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: var(--sheet-z);
  background: var(--bg2);
  border-radius: 26px 26px 0 0;
  border-top: 1px solid var(--border2);
  transform: translateY(100%);
  transition: transform 0.38s cubic-bezier(0.32, 0.72, 0, 1);
  max-height: 90dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.sheet.open { transform: translateY(0); }

.sheet-handle-wrap {
  padding: 12px 0 4px;
  display: flex;
  justify-content: center;
  flex-shrink: 0;
}
.sheet-handle {
  width: 40px; height: 3px;
  /*background: var(--border2);*/
  border-radius: 2px;
}

/* ── ADD SPOT SHEET ──────────────────── */
.sheet-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 20px 18px;
  flex-shrink: 0;
}
.sheet-header-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #6d28d9);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: white;
}
.sheet-header-icon svg { width: 22px; height: 22px; }
.sheet-title    { font-family: var(--font-head); font-size: 20px; font-weight: 700; }
.sheet-subtitle { font-size: 12px; color: var(--text2); margin-top: 3px; font-family: monospace; letter-spacing: 0.3px; }

.sheet-body {
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 0 20px 32px;
  flex: 1;
  scrollbar-width: none;
}
.sheet-body::-webkit-scrollbar { display: none; }

/* ── MENU SHEET ──────────────────────── */
.sheet-menu {
  max-height: 80dvh;
}
.menu-brand {
  padding: 4px 20px 16px;
  border-bottom: 1px solid var(--border);
}
.menu-brand-sub { font-size: 12px; color: var(--text2); margin-top: 4px; }

.menu-nav { padding: 8px 0; overflow-y: auto; }

.menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  width: 100%;
  text-align: left;
  transition: background 0.15s;
}
.menu-item:active { background: var(--surface); }
.menu-item-disabled { opacity: 0.45; pointer-events: none; }

.menu-item-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--text2);
}
.menu-item-text { flex: 1; }
.menu-item-label { font-size: 15px; font-weight: 500; color: var(--text); }
.menu-item-sub   { font-size: 12px; color: var(--text3); margin-top: 2px; }
.menu-chevron    { color: var(--text3); flex-shrink: 0; }

.coming-soon {
  padding: 3px 9px;
  border-radius: 50px;
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
  background: rgba(251,191,36,0.1);
  border: 1px solid rgba(251,191,36,0.25);
  color: var(--amber);
}

/* ── INSTALL SHEET ───────────────────── */
.sheet-install { max-height: 85dvh; }

.install-section { margin-bottom: 8px; }

.install-os-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent3);
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  margin-bottom: 16px;
}

.install-steps {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.install-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}
.install-step-icon {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--text2);
}
.install-note {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 12px;
  color: var(--text2);
  background: rgba(139,92,246,0.06);
  border: 1px solid rgba(139,92,246,0.15);
  line-height: 1.5;
}