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

:root {
  --green: #1DBF73;
  --green-dim: rgba(29, 191, 115, 0.15);
  --green-glow: rgba(29, 191, 115, 0.35);
  --bg: #0d0d0d;
  --surface: #161616;
  --surface-2: #1e1e1e;
  --border: rgba(255,255,255,0.08);
  --text: #ffffff;
  --text-2: rgba(255,255,255,0.55);
  --text-3: rgba(255,255,255,0.3);
  --danger: #ff3b5c;
  --danger-glow: rgba(255, 59, 92, 0.4);
  --radius: 18px;
  --phone-w: 375px;
  --phone-h: 780px;
}

html, body {
  height: 100%;
  background: #060608;
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

.hidden { display: none !important; }

/* ── Desktop wrapper ── */
.desktop-wrapper {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(29,191,115,0.07) 0%, transparent 70%),
    #060608;
}

/* ── Phone frame ── */
.phone-frame {
  width: var(--phone-w);
  height: var(--phone-h);
  background: #111113;
  border-radius: 48px;
  border: 1.5px solid rgba(255,255,255,0.1);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.8),
    0 50px 120px rgba(0,0,0,0.9),
    inset 0 1px 0 rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.phone-frame::before {
  content: '';
  position: absolute;
  left: -3px;
  top: 120px;
  width: 3px;
  height: 56px;
  background: #222;
  border-radius: 2px 0 0 2px;
  box-shadow: 0 70px 0 #222;
}

.phone-frame::after {
  content: '';
  position: absolute;
  right: -3px;
  top: 155px;
  width: 3px;
  height: 76px;
  background: #222;
  border-radius: 0 2px 2px 0;
}

/* ── Notch ── */
.phone-notch {
  width: 120px;
  height: 32px;
  background: #060608;
  border-radius: 0 0 22px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  z-index: 20;
  position: relative;
}

.phone-camera {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #1a1a20;
  border: 1.5px solid #2a2a30;
}

.phone-speaker {
  width: 48px;
  height: 5px;
  background: #1a1a20;
  border-radius: 3px;
  border: 1px solid #2a2a30;
}

/* ── Screen ── */
.phone-screen {
  flex: 1;
  width: 100%;
  background: var(--bg);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* ── Home bar ── */
.phone-home-bar {
  width: 130px;
  height: 4px;
  background: rgba(255,255,255,0.18);
  border-radius: 2px;
  margin: 9px auto;
  flex-shrink: 0;
}

/* ── App ── */
.app {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ── Status bar ── */
.status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px 4px;
  flex-shrink: 0;
}

.status-bar-time {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
}

.status-bar-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ── Main ── */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 20px 20px;
  gap: 20px;
  overflow-y: auto;
  scrollbar-width: none;
}

.main::-webkit-scrollbar { display: none; }

/* ── Activate section ── */
.activate-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.brand-hero {
  text-align: center;
  padding: 8px 0 4px;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}

.brand-name {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text);
}

.brand-tagline {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.2;
  color: var(--text-2);
}

.brand-tagline strong {
  color: var(--text);
  font-weight: 900;
}

.activate-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
}

.activate-icon-wrap {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.activate-icon-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--green);
  opacity: 0.4;
  animation: spin-ring 3s linear infinite;
  background: conic-gradient(from 0deg, transparent 75%, var(--green) 100%);
  border: none;
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), white calc(100% - 2px));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), white calc(100% - 2px));
}

@keyframes spin-ring {
  to { transform: rotate(360deg); }
}

.activate-icon-core {
  width: 64px;
  height: 64px;
  background: var(--green-dim);
  border-radius: 50%;
  border: 1px solid rgba(29,191,115,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.activate-title {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
  color: var(--text);
}

.activate-desc {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-2);
  line-height: 1.55;
  margin-bottom: 24px;
}

.btn-activate {
  width: 100%;
  padding: 16px 20px;
  background: var(--green);
  color: #0a1a10;
  border: none;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.02em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 0 0 0 var(--green-glow);
  animation: btn-breathe 2.5s ease-in-out infinite;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

@keyframes btn-breathe {
  0%, 100% { box-shadow: 0 4px 20px rgba(29,191,115,0.3); }
  50% { box-shadow: 0 4px 40px rgba(29,191,115,0.6); }
}

.btn-activate:active { transform: scale(0.97); }

/* ── Listening section ── */
.listening-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.listening-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
}

.listening-rings {
  position: relative;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--green);
}

.lring-1 { inset: 0; opacity: 0.5; animation: lring-out 2.4s ease-out infinite 0s; }
.lring-2 { inset: 0; opacity: 0.35; animation: lring-out 2.4s ease-out infinite 0.6s; }
.lring-3 { inset: 0; opacity: 0.2; animation: lring-out 2.4s ease-out infinite 1.2s; }

@keyframes lring-out {
  0% { transform: scale(0.7); opacity: 0.5; }
  80% { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}

.lring-core {
  position: relative;
  z-index: 2;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(29,191,115,0.4);
}

.listening-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-2);
  letter-spacing: -0.01em;
}

.listening-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: dot-blink 1.8s ease-in-out infinite;
}

@keyframes dot-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.listening-stats {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.stat-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-2);
}

.btn-test {
  padding: 10px 22px;
  background: var(--surface-2);
  color: var(--text-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
  -webkit-tap-highlight-color: transparent;
  letter-spacing: -0.01em;
}

.btn-test:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.2);
  background: #252525;
}

.test-buttons {
  display: flex;
  gap: 8px;
  align-items: center;
}

.btn-test-order {
  border-color: rgba(255, 215, 0, 0.2);
  color: #FFD700;
}

.btn-test-order:hover {
  border-color: rgba(255, 215, 0, 0.4);
  color: #FFD700;
  background: rgba(255, 215, 0, 0.08);
}

/* ── History cards ── */
.notifications-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.history-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 13px 15px;
  animation: slide-in 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slide-in {
  from { opacity: 0; transform: translateY(-10px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

.history-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
}

.history-seller {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.history-time {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-3);
}

.history-platform {
  display: inline-flex;
  align-items: center;
  background: var(--green-dim);
  color: var(--green);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: capitalize;
}

/* ═══════════════════════════════════════════
   NOTIFICATION RINGING OVERLAY
═══════════════════════════════════════════ */
.notification-overlay {
  position: absolute;
  inset: 0;
  background: #0a0a0a;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 28px 24px 28px;
  overflow: hidden;
  animation: overlay-in 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes overlay-in {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: none; }
}

/* Animated background glow */
.notif-bg-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(29,191,115,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(29,191,115,0.08) 0%, transparent 60%);
  animation: glow-breathe 2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glow-breathe {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* ── Top section ── */
.notif-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 2;
  flex: 1;
  justify-content: center;
}

/* Wave rings around avatar */
.notif-wave-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.wave {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--green);
  animation: wave-expand 2.4s ease-out infinite;
}

.w1 { inset: 0; animation-delay: 0s; }
.w2 { inset: 0; animation-delay: 0.55s; }
.w3 { inset: 0; animation-delay: 1.1s; }

@keyframes wave-expand {
  0% { transform: scale(0.65); opacity: 0.8; border-color: var(--green); }
  60% { transform: scale(1.55); opacity: 0; border-color: rgba(29,191,115,0.2); }
  100% { transform: scale(1.55); opacity: 0; }
}

.notif-avatar {
  position: relative;
  z-index: 3;
  border-radius: 20px;
  box-shadow:
    0 0 0 3px rgba(29,191,115,0.3),
    0 12px 40px rgba(29,191,115,0.35);
  animation: avatar-float 3s ease-in-out infinite;
}

@keyframes avatar-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Badge pill */
.notif-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green);
  color: #051a0c;
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: badge-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: 0.2s;
}

@keyframes badge-pop {
  from { opacity: 0; transform: scale(0.7); }
  to { opacity: 1; transform: none; }
}

/* Headline */
.notif-headline {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-align: center;
  line-height: 1.2;
  color: var(--text);
  animation: text-rise 0.5s ease both;
  animation-delay: 0.3s;
}

@keyframes text-rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* Seller row */
.notif-seller-row {
  display: flex;
  align-items: center;
  gap: 8px;
  animation: text-rise 0.5s ease both;
  animation-delay: 0.4s;
}

.notif-seller-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(29,191,115,0.12);
  border: 1.5px solid rgba(29,191,115,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notif-seller-name {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text);
}

/* ── Info strip ── */
.notif-info-strip {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
  z-index: 2;
  animation: text-rise 0.5s ease both;
  animation-delay: 0.5s;
}

.notif-info-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.notif-info-label {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.notif-info-val {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.platform-chip {
  background: var(--green-dim);
  color: var(--green);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: capitalize;
}

.notif-info-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── Actions ── */
.notif-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 2;
}

.btn-dismiss {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--danger);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform 0.15s ease;
  box-shadow: 0 0 0 0 var(--danger-glow);
  animation: dismiss-ring 1.8s ease-in-out infinite;
}

@keyframes dismiss-ring {
  0%, 100% { box-shadow: 0 0 0 0 var(--danger-glow), 0 8px 24px rgba(255,59,92,0.4); }
  50% { box-shadow: 0 0 0 14px rgba(255,59,92,0), 0 8px 24px rgba(255,59,92,0.5); }
}

.btn-dismiss:active { transform: scale(0.92); }

.dismiss-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ═══════════════════════════════════════════
   ORDER CELEBRATION STYLES
═══════════════════════════════════════════ */

.confetti-canvas {
  position: absolute;
  inset: 0;
  z-index: 150;
  pointer-events: none;
}

.overlay-order .notif-headline {
  font-size: 28px;
  background: linear-gradient(
    90deg,
    #FFD700 0%,
    #FFA500 20%,
    #FFD700 40%,
    #FFF8DC 50%,
    #FFD700 60%,
    #FFA500 80%,
    #FFD700 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: text-rise 0.5s ease both, headline-shimmer 2.5s linear infinite;
  animation-delay: 0.3s, 0s;
}

@keyframes headline-shimmer {
  0% { background-position: 100% 50%; }
  100% { background-position: -100% 50%; }
}

.glow-order {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255, 215, 0, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(255, 165, 0, 0.12) 0%, transparent 60%);
  animation: glow-breathe-gold 2s ease-in-out infinite;
}

@keyframes glow-breathe-gold {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.overlay-order .wave {
  border-color: #FFD700;
}

@keyframes wave-expand-gold {
  0% { transform: scale(0.65); opacity: 0.8; border-color: #FFD700; }
  60% { transform: scale(1.55); opacity: 0; border-color: rgba(255, 215, 0, 0.2); }
  100% { transform: scale(1.55); opacity: 0; }
}

.overlay-order .w1 { animation: wave-expand-gold 2.4s ease-out infinite 0s; }
.overlay-order .w2 { animation: wave-expand-gold 2.4s ease-out infinite 0.55s; }
.overlay-order .w3 { animation: wave-expand-gold 2.4s ease-out infinite 1.1s; }

.overlay-order .notif-avatar {
  box-shadow:
    0 0 0 3px rgba(255, 215, 0, 0.4),
    0 12px 40px rgba(255, 215, 0, 0.35);
}

.badge-order {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #1a0f00;
  animation: badge-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both, badge-glow 1.5s ease-in-out infinite;
  animation-delay: 0.2s, 0.7s;
}

@keyframes badge-glow {
  0%, 100% { box-shadow: 0 0 12px rgba(255, 215, 0, 0.3); }
  50% { box-shadow: 0 0 28px rgba(255, 215, 0, 0.6); }
}

.badge-message {
  background: var(--green);
  color: #051a0c;
}

.overlay-order .notif-seller-avatar {
  background: rgba(255, 215, 0, 0.12);
  border-color: rgba(255, 215, 0, 0.3);
}

.overlay-order .notif-seller-avatar svg path,
.overlay-order .notif-seller-avatar svg circle {
  stroke: #FFD700;
}

.overlay-order .platform-chip {
  background: rgba(255, 215, 0, 0.15);
  color: #FFD700;
}

.history-card-order {
  border-color: rgba(255, 215, 0, 0.2);
}

.history-type-order {
  background: rgba(255, 215, 0, 0.15);
  color: #FFD700;
}

.history-type-message {
  background: var(--green-dim);
  color: var(--green);
}

/* ═══════════════════════════════════════════
   LOCK SCREEN
═══════════════════════════════════════════ */
.lock-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #060608;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: lock-fade-in 0.3s ease;
}

@keyframes lock-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lock-screen.lock-exit {
  animation: lock-fade-out 0.35s ease forwards;
}

@keyframes lock-fade-out {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(1.04); }
}

.lock-inner {
  width: 100%;
  max-width: 320px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.lock-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
}

.lock-app-name {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text);
}

.lock-icon-wrap {
  position: relative;
  width: 68px;
  height: 68px;
  background: var(--green-dim);
  border-radius: 50%;
  border: 1px solid rgba(29,191,115,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 0 32px rgba(29,191,115,0.15);
  animation: lock-icon-pulse 2.5s ease-in-out infinite;
}

.lock-icon-wrap::before,
.lock-icon-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(29,191,115,0.4);
  animation: lock-ring-expand 2.5s ease-out infinite;
}

.lock-icon-wrap::after {
  animation-delay: 1.1s;
}

@keyframes lock-icon-pulse {
  0%, 100% { box-shadow: 0 0 16px rgba(29,191,115,0.2); }
  50% { box-shadow: 0 0 40px rgba(29,191,115,0.45); }
}

@keyframes lock-ring-expand {
  0% { transform: scale(1); opacity: 0.6; }
  70% { transform: scale(1.8); opacity: 0; }
  100% { transform: scale(1.8); opacity: 0; }
}

.lock-icon-wrap svg {
  animation: lock-svg-bob 2.5s ease-in-out infinite;
}

@keyframes lock-svg-bob {
  0%, 100% { transform: translateY(0) scale(1); }
  40% { transform: translateY(-3px) scale(1.08); }
  60% { transform: translateY(-2px) scale(1.05); }
}

.lock-title {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 8px;
}

.lock-desc {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-2);
  text-align: center;
  line-height: 1.55;
  margin-bottom: 28px;
}

.lock-input-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.lock-input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  outline: none;
  letter-spacing: 0.1em;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
  -webkit-appearance: none;
}

.lock-input::placeholder {
  color: var(--text-3);
  letter-spacing: 0;
  font-weight: 700;
}

.lock-input:focus {
  border-color: rgba(29,191,115,0.5);
  box-shadow: 0 0 0 3px rgba(29,191,115,0.1);
}

.lock-input.lock-input-error {
  border-color: rgba(255,59,92,0.5);
  box-shadow: 0 0 0 3px rgba(255,59,92,0.1);
  animation: lock-shake 0.4s ease;
}

@keyframes lock-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

.lock-submit {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--green);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px rgba(29,191,115,0.3);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.lock-submit:active { transform: scale(0.92); }

.lock-error {
  font-size: 12px;
  font-weight: 800;
  color: var(--danger);
  text-align: center;
  letter-spacing: -0.01em;
}

/* ── Responsive: real mobile ── */
@media (max-width: 500px) {
  html, body { overflow: auto; }

  .desktop-wrapper {
    display: block;
    width: 100%;
    height: auto;
    background: var(--bg);
  }

  .phone-frame {
    width: 100%;
    height: 100dvh;
    border-radius: 0;
    border: none;
    box-shadow: none;
  }

  .phone-frame::before,
  .phone-frame::after { display: none; }
  .phone-notch { display: none; }
  .phone-home-bar { display: none; }
  .phone-screen { border-radius: 0; }

  .notification-overlay { position: fixed; }
}
