/* ═══════════════════════════════════════════════
   ParkScout India — style.css
   Design: Dark urban grid · Syne + Space Mono
   ═══════════════════════════════════════════════ */

/* ─── Reset & Tokens ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-deep:      #080e18;
  --bg-surface:   #0d1520;
  --bg-card:      #111d2e;
  --bg-elevated:  #162235;
  --bg-input:     #0f1a28;
  --border:       #1c2d42;
  --border-bright:#243550;

  --accent-teal:  #00e5c8;
  --accent-amber: #ffb300;
  --accent-coral: #ff4f4f;
  --accent-blue:  #3a9eff;

  --pin-green:    #00d97e;
  --pin-yellow:   #f0b429;
  --pin-red:      #f5424f;

  --txt-primary:  #e8f0fe;
  --txt-secondary:#7a94b8;
  --txt-muted:    #3d5470;

  --font-display: 'Syne', sans-serif;
  --font-mono:    'Space Mono', monospace;

  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    20px;
  --radius-xl:    28px;

  --nav-h:        68px;
  --status-h:     32px;
  --header-h:     64px;
}

html, body {
  height: 100%;
  background: #050a10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  color: var(--txt-primary);
  -webkit-font-smoothing: antialiased;
}

/* ─── Phone Frame (Desktop) ─── */
.phone-frame {
  position: relative;
  width: 393px;
  height: 852px;
  border-radius: 48px;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-bright);
  box-shadow:
    0 0 0 8px #0a1220,
    0 0 0 10px #1a2840,
    0 40px 80px rgba(0,0,0,0.9),
    0 0 60px rgba(0,229,200,0.04),
    inset 0 1px 0 rgba(255,255,255,0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ─── Status Bar ─── */
.status-bar {
  height: var(--status-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: var(--bg-deep);
  flex-shrink: 0;
  border-bottom: 1px solid var(--border);
}
.status-time {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--txt-primary);
  letter-spacing: 0.05em;
}
.status-icons {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--txt-primary);
}

/* ─── App Shell ─── */
.app-shell {
  flex: 1;
  position: relative;
  overflow: hidden;
}

/* ─── View Management ─── */
.view {
  position: absolute;
  inset: 0;
  bottom: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  background: var(--bg-surface);
}
.view::-webkit-scrollbar { display: none; }
.view.hidden { display: none; }
.view.active { display: block; }

/* ─── Footer Nav ─── */
.footer-nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  padding: 0 8px;
}
.nav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 4px;
  color: var(--txt-muted);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s, transform 0.15s;
  border-radius: var(--radius-md);
}
.nav-btn:hover { color: var(--txt-secondary); transform: translateY(-1px); }
.nav-btn.active { color: var(--accent-teal); }
.nav-btn.active svg { filter: drop-shadow(0 0 6px rgba(0,229,200,0.5)); }

/* ═══════════════════════════════════════════════
   MAP VIEW
═══════════════════════════════════════════════ */
#view-map {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
#view-map.hidden { display: none; }

.map-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  padding: 12px 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  background: linear-gradient(to bottom, rgba(8,14,24,0.95) 60%, transparent);
}
.search-bar {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: 50px;
  padding: 0 14px;
  gap: 8px;
  height: 40px;
}
.search-icon { color: var(--txt-muted); flex-shrink: 0; }
.search-bar input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--txt-primary);
  font-family: var(--font-display);
  font-size: 13px;
}
.search-bar input::placeholder { color: var(--txt-muted); }

.gps-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,217,126,0.12);
  border: 1px solid rgba(0,217,126,0.3);
  border-radius: 50px;
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 700;
  color: var(--pin-green);
  letter-spacing: 0.04em;
  white-space: nowrap;
  font-family: var(--font-mono);
  flex-shrink: 0;
}
.gps-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--pin-green);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0,217,126,0.5); }
  50% { box-shadow: 0 0 0 4px rgba(0,217,126,0); }
}

/* ─── Map Canvas ─── */
.map-canvas {
  position: relative;
  flex: 1;
  width: 100%;
  height: 100%;
  background: #0d1520;
  overflow: hidden;
  cursor: crosshair;
}
.map-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ─── Spot Pins ─── */
.spot-pin {
  position: absolute;
  background: none;
  border: none;
  cursor: pointer;
  transform: translate(-50%, -100%);
  transition: transform 0.15s, filter 0.15s;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
  z-index: 10;
}
.spot-pin:hover { transform: translate(-50%, -100%) scale(1.2); }
.spot-pin:active { transform: translate(-50%, -100%) scale(0.95); }
.pin-green { color: var(--pin-green); }
.pin-yellow { color: var(--pin-yellow); }
.pin-red { color: var(--pin-red); }

/* ─── Crosshair ─── */
.crosshair {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 15;
}
.crosshair-h {
  position: absolute;
  width: 28px; height: 2px;
  background: rgba(0,229,200,0.7);
  top: -1px; left: -14px;
}
.crosshair-v {
  position: absolute;
  width: 2px; height: 28px;
  background: rgba(0,229,200,0.7);
  left: -1px; top: -14px;
}
.crosshair-ring {
  position: absolute;
  width: 20px; height: 20px;
  border: 2px solid rgba(0,229,200,0.5);
  border-radius: 50%;
  top: -10px; left: -10px;
  animation: ring-pulse 3s ease-in-out infinite;
}
@keyframes ring-pulse {
  0%,100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.6); opacity: 0.1; }
}

/* ─── Coord Display ─── */
.coord-display {
  position: absolute;
  bottom: 18px; left: 50%;
  transform: translateX(-50%);
  background: rgba(8,14,24,0.82);
  border: 1px solid var(--border-bright);
  border-radius: 50px;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-teal);
  display: flex;
  gap: 8px;
  align-items: center;
  backdrop-filter: blur(8px);
  white-space: nowrap;
  z-index: 15;
}
.coord-sep { color: var(--txt-muted); }

/* ─── Locate Button ─── */
.locate-btn {
  position: absolute;
  right: 14px; bottom: 14px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  color: var(--accent-teal);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 15;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.locate-btn:hover { background: var(--bg-elevated); transform: scale(1.05); }
.locate-btn:active { transform: scale(0.95); }

/* ─── Spot Drawer ─── */
.spot-drawer {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-bright);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 30;
  padding-bottom: 8px;
}
.spot-drawer.open { transform: translateY(0); }
.drawer-handle {
  width: 36px; height: 4px;
  background: var(--border-bright);
  border-radius: 2px;
  margin: 12px auto 8px;
}
.drawer-content { padding: 0 18px 16px; }
.drawer-spot-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}
.drawer-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--txt-primary);
  letter-spacing: -0.01em;
}
.drawer-type {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--txt-secondary);
  display: block;
  margin-top: 3px;
}
.drawer-close {
  background: none;
  border: none;
  color: var(--txt-muted);
  font-size: 18px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  transition: color 0.2s;
}
.drawer-close:hover { color: var(--txt-primary); }

.survey-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 12px;
}
.survey-question {
  font-size: 13px;
  color: var(--txt-secondary);
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.survey-actions { display: flex; gap: 10px; }
.survey-btn {
  flex: 1;
  padding: 10px;
  border: 1.5px solid;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.btn-yes {
  background: rgba(0,217,126,0.1);
  border-color: rgba(0,217,126,0.4);
  color: var(--pin-green);
}
.btn-yes:hover { background: rgba(0,217,126,0.2); border-color: var(--pin-green); }
.btn-no {
  background: rgba(245,66,79,0.08);
  border-color: rgba(245,66,79,0.3);
  color: var(--pin-red);
}
.btn-no:hover { background: rgba(245,66,79,0.18); }
.pts {
  font-size: 11px;
  font-family: var(--font-mono);
  opacity: 0.8;
}
.drawer-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.meta-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--txt-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 3px 8px;
}

/* ═══════════════════════════════════════════════
   SHARED VIEW STYLES
═══════════════════════════════════════════════ */
.view-header {
  padding: 20px 20px 10px;
  background: linear-gradient(to bottom, var(--bg-deep), var(--bg-surface));
  border-bottom: 1px solid var(--border);
}
.view-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--txt-primary);
  line-height: 1.1;
}
.view-sub {
  font-size: 12px;
  color: var(--txt-muted);
  margin-top: 4px;
  font-family: var(--font-mono);
}
.section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--txt-muted);
  padding: 16px 20px 8px;
  font-family: var(--font-mono);
}

/* ═══════════════════════════════════════════════
   ADD SPOT VIEW
═══════════════════════════════════════════════ */
.form-body {
  padding: 16px 18px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.gps-sync-btn {
  width: 100%;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(0,229,200,0.15), rgba(58,158,255,0.1));
  border: 1.5px solid var(--accent-teal);
  border-radius: var(--radius-md);
  color: var(--accent-teal);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: all 0.2s;
  letter-spacing: 0.01em;
}
.gps-sync-btn:hover { background: linear-gradient(135deg, rgba(0,229,200,0.25), rgba(58,158,255,0.18)); }
.gps-sync-btn:active { transform: scale(0.98); }
.gps-sync-btn.loading {
  opacity: 0.7;
  animation: pulse-btn 1.2s ease-in-out infinite;
}
@keyframes pulse-btn {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,229,200,0.3); }
  50% { box-shadow: 0 0 0 8px rgba(0,229,200,0); }
}

.coord-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.field-group { display: flex; flex-direction: column; gap: 6px; }
.field-group label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--txt-muted);
  font-family: var(--font-mono);
}
.field-group input,
.field-group select {
  background: var(--bg-input);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  color: var(--txt-primary);
  font-family: var(--font-mono);
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.field-group input:focus,
.field-group select:focus { border-color: var(--accent-teal); }
.field-group input::placeholder { color: var(--txt-muted); }
.coord-field[readonly] {
  color: var(--accent-teal);
  cursor: not-allowed;
  background: rgba(0,229,200,0.04);
}

.styled-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a94b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px;
  cursor: pointer;
  color: var(--txt-primary) !important;
}
.styled-select option {
  background: var(--bg-card);
  color: var(--txt-primary);
}

.radio-group { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.radio-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: var(--bg-input);
  border: 1.5px solid var(--border-bright);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 12px;
  font-weight: 600;
  color: var(--txt-secondary);
  line-height: 1.3;
}
.radio-card input { display: none; }
.radio-card:has(input:checked) {
  border-color: var(--accent-teal);
  background: rgba(0,229,200,0.08);
  color: var(--txt-primary);
}
.radio-icon { font-size: 20px; flex-shrink: 0; }
.radio-card small { color: var(--txt-muted); font-family: var(--font-mono); font-size: 10px; }

.submit-btn {
  width: 100%;
  padding: 15px 20px;
  background: var(--accent-teal);
  border: none;
  border-radius: var(--radius-md);
  color: #040a10;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  letter-spacing: 0.02em;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(0,229,200,0.3);
  margin-top: 4px;
}
.submit-btn:hover { background: #00ffdf; box-shadow: 0 6px 24px rgba(0,229,200,0.45); }
.submit-btn:active { transform: scale(0.98); }

/* ═══════════════════════════════════════════════
   POINTS / LEDGER VIEW
═══════════════════════════════════════════════ */
.balance-card {
  margin: 16px 18px;
  padding: 22px;
  background: linear-gradient(135deg, #0a2a40 0%, #081830 50%, #0d2235 100%);
  border: 1px solid var(--accent-teal);
  border-radius: var(--radius-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,229,200,0.12);
}
.balance-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(0,229,200,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.balance-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--txt-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.balance-amount {
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  color: var(--accent-teal);
  font-family: var(--font-mono);
  letter-spacing: -2px;
  margin: 4px 0;
}
.balance-unit {
  font-size: 13px;
  color: var(--txt-secondary);
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.balance-level {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-amber);
  background: rgba(255,179,0,0.1);
  border: 1px solid rgba(255,179,0,0.25);
  border-radius: 50px;
  padding: 4px 12px;
  font-family: var(--font-mono);
}

.transaction-feed {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 12px;
}
.tx-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid transparent;
  transition: border-color 0.2s;
  margin-bottom: 4px;
}
.tx-item:hover { border-color: var(--border-bright); }
.tx-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-mono);
  flex-shrink: 0;
}
.tx-plus { background: rgba(0,217,126,0.12); color: var(--pin-green); }
.tx-minus { background: rgba(245,66,79,0.12); color: var(--pin-red); }
.tx-detail {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.tx-desc {
  font-size: 12px;
  font-weight: 600;
  color: var(--txt-secondary);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tx-time {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--txt-muted);
}
.tx-pts {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.tx-pts.green { color: var(--pin-green); }
.tx-pts.red { color: var(--pin-red); }

.voucher-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 14px 28px;
}
.voucher-card {
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-md);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  transition: border-color 0.2s, transform 0.15s;
}
.voucher-card:hover { border-color: var(--accent-blue); transform: translateY(-2px); }
.voucher-icon { font-size: 26px; }
.voucher-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--txt-primary);
  line-height: 1.2;
}
.voucher-partner {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--txt-muted);
  margin-bottom: 4px;
}
.voucher-btn {
  width: 100%;
  padding: 8px 6px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-sm);
  color: var(--accent-blue);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.voucher-btn:hover { background: rgba(58,158,255,0.1); border-color: var(--accent-blue); }
.voucher-btn:active { transform: scale(0.96); }

/* ═══════════════════════════════════════════════
   DEALS VIEW
═══════════════════════════════════════════════ */
.deals-list {
  padding: 12px 16px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.deal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: 16px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.15s;
}
.deal-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-blue));
}
.deal-card:hover { border-color: var(--accent-teal); transform: translateY(-1px); }
.deal-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--txt-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.deal-biz {
  font-size: 16px;
  font-weight: 800;
  color: var(--txt-primary);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.deal-desc {
  font-size: 12px;
  line-height: 1.6;
  color: var(--txt-secondary);
  margin-bottom: 12px;
}
.deal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.deal-dist {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--txt-muted);
}
.deal-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-amber);
  background: rgba(255,179,0,0.12);
  border: 1px solid rgba(255,179,0,0.25);
  border-radius: 50px;
  padding: 3px 10px;
}
.deal-btn {
  width: 100%;
  padding: 11px;
  background: linear-gradient(90deg, rgba(0,229,200,0.12), rgba(58,158,255,0.1));
  border: 1px solid rgba(0,229,200,0.35);
  border-radius: var(--radius-sm);
  color: var(--accent-teal);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.02em;
}
.deal-btn:hover { background: rgba(0,229,200,0.2); }
.deal-btn:active { transform: scale(0.98); }
.deal-btn.claimed {
  background: rgba(0,217,126,0.1);
  border-color: var(--pin-green);
  color: var(--pin-green);
  cursor: default;
}

/* ═══════════════════════════════════════════════
   TOAST
═══════════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-elevated);
  border: 1px solid var(--accent-teal);
  color: var(--txt-primary);
  padding: 12px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-display);
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,229,200,0.1);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  z-index: 9999;
  max-width: 360px;
  text-align: center;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ═══════════════════════════════════════════════
   MOBILE RESPONSIVE — Real Phone Override
═══════════════════════════════════════════════ */
@media (max-width: 500px), (max-height: 900px) and (max-width: 500px) {
  html, body {
    background: var(--bg-surface);
    display: block;
    height: 100%;
  }
  .phone-frame {
    width: 100vw;
    height: 100dvh;
    border-radius: 0;
    border: none;
    box-shadow: none;
    position: fixed;
    inset: 0;
  }
  .toast { bottom: 80px; }
}

/* ─── Utility ─── */
.hidden { display: none !important; }
