/* =============================================
   WakeProof — Style Sheet
   Design: Deep midnight blues + electric teal
   Mobile-first, PWA-ready
============================================= */

/* --- Tokens --- */
:root {
  --bg:         #0d0d14;
  --bg2:        #13131f;
  --bg3:        #1a1a2e;
  --surface:    #1e1e30;
  --border:     #2a2a42;
  --teal:       #00e5c8;
  --teal-dim:   #00b8a2;
  --teal-glow:  rgba(0, 229, 200, 0.18);
  --coral:      #ff5f6d;
  --coral-dim:  #cc4a57;
  --gold:       #ffd166;
  --text:       #e8e8f0;
  --text-mid:   #9090b0;
  --text-dim:   #5a5a78;
  --radius:     16px;
  --radius-sm:  10px;
  --shadow:     0 4px 24px rgba(0,0,0,0.5);
  --font-mono:  'Courier New', Courier, monospace;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  min-height: -webkit-fill-available;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

/* --- Screens --- */
.screen {
  display: none;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  position: relative;
  overflow: hidden;
}
.screen.active { display: flex; flex-direction: column; }

/* =============================================
   HOME SCREEN
============================================= */
.app-header {
  text-align: center;
  padding: 48px 24px 16px;
}
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 6px;
}
.logo-icon { font-size: 28px; }
.logo-text {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--teal), #7b68ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-sub {
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.3px;
}

.home-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 20px 40px;
  gap: 20px;
}

/* Clock ring */
.clock-ring {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: conic-gradient(var(--teal) 0deg, var(--teal-glow) 180deg, transparent 360deg);
  padding: 3px;
  position: relative;
  animation: ring-spin 12s linear infinite;
}
@keyframes ring-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.clock-face {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: ring-spin 12s linear infinite reverse; /* counter-rotate content */
}
.live-time {
  font-size: 40px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 2px;
  color: var(--text);
  font-family: var(--font-mono);
}
.live-date {
  font-size: 12px;
  color: var(--text-mid);
  margin-top: 4px;
  letter-spacing: 0.5px;
}

/* Alarm card */
.alarm-card {
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.alarm-card-header {
  margin-bottom: 16px;
}
.section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--teal-dim);
  text-transform: uppercase;
}

/* Time picker */
.time-picker-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 12px 0;
}
.time-scroll-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.scroll-btn {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--teal);
  font-size: 16px;
  width: 44px;
  height: 36px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.scroll-btn:active {
  background: var(--teal-glow);
  transform: scale(0.94);
}
.time-digit {
  font-size: 52px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text);
  line-height: 1;
  min-width: 72px;
  text-align: center;
  background: var(--bg3);
  border-radius: var(--radius-sm);
  padding: 8px 4px;
  border: 1px solid var(--border);
}
.time-colon {
  font-size: 52px;
  font-weight: 800;
  color: var(--text-mid);
  line-height: 1;
  margin-bottom: 6px;
}

/* Label input */
.alarm-label-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 14px 0;
}
.label-text {
  font-size: 11px;
  color: var(--text-mid);
  font-weight: 600;
  letter-spacing: 0.5px;
}
.label-input {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 15px;
  padding: 10px 14px;
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
}
.label-input:focus { border-color: var(--teal); }
.label-input::placeholder { color: var(--text-dim); }

/* Wake method info */
.wake-method-row {
  background: var(--bg3);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin: 10px 0;
}
.method-info {
  font-size: 12px;
  color: var(--text-mid);
  margin-top: 4px;
  line-height: 1.5;
}

/* Set button */
.alarm-actions { margin-top: 16px; }
.btn-set {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--teal), #7b68ee);
  color: #000;
  font-weight: 800;
  font-size: 16px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: opacity 0.2s, transform 0.1s;
  box-shadow: 0 4px 20px var(--teal-glow);
}
.btn-set:active { opacity: 0.85; transform: scale(0.98); }

/* Active alarm bar */
.active-alarm-bar {
  width: 100%;
  max-width: 400px;
  background: linear-gradient(135deg, rgba(0,229,200,0.08), rgba(123,104,238,0.08));
  border: 1px solid var(--teal-dim);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.active-alarm-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.active-icon { font-size: 22px; animation: bell-swing 1s ease-in-out infinite; }
@keyframes bell-swing {
  0%, 100% { transform: rotate(-8deg); }
  50%       { transform: rotate(8deg); }
}
.active-time {
  font-size: 22px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--teal);
}
.active-label { font-size: 12px; color: var(--text-mid); margin-top: 2px; }
.active-alarm-meta { text-align: right; }
.countdown-text {
  font-size: 12px;
  color: var(--text-mid);
  margin-bottom: 6px;
}
.btn-cancel-alarm {
  background: transparent;
  border: 1px solid var(--coral);
  color: var(--coral);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-cancel-alarm:hover { background: rgba(255,95,109,0.12); }

/* Tips card */
.tips-card {
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tip-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-mid);
}
.tip-icon { font-size: 18px; flex-shrink: 0; }

/* Hidden util */
.hidden { display: none !important; }

/* =============================================
   RINGING SCREEN
============================================= */
#screen-ringing {
  background: var(--bg);
  align-items: center;
  justify-content: center;
}
.ringing-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.pulse-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--teal);
  opacity: 0;
  animation: pulse-out 2.5s ease-out infinite;
}
.ring1 { width: 200px; height: 200px; animation-delay: 0s; }
.ring2 { width: 300px; height: 300px; animation-delay: 0.6s; }
.ring3 { width: 400px; height: 400px; animation-delay: 1.2s; }
@keyframes pulse-out {
  0%   { opacity: 0.6; transform: scale(0.6); }
  100% { opacity: 0;   transform: scale(1.2); }
}

.ringing-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 24px;
  width: 100%;
  max-width: 360px;
}
.ringing-icon {
  font-size: 72px;
  animation: shake 0.4s ease-in-out infinite;
}
@keyframes shake {
  0%, 100% { transform: rotate(-12deg); }
  50%       { transform: rotate(12deg); }
}
.ringing-time {
  font-size: 64px;
  font-weight: 900;
  font-family: var(--font-mono);
  color: var(--teal);
  letter-spacing: 4px;
  line-height: 1;
}
.ringing-label {
  font-size: 16px;
  color: var(--text-mid);
  letter-spacing: 0.4px;
}

/* Challenge progress dots */
.challenge-progress {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 8px 0 0;
}
.progress-step {
  display: flex;
  align-items: center;
}
.prog-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg3);
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.prog-dot.active {
  border-color: var(--teal);
  background: var(--teal-glow);
  color: var(--teal);
  box-shadow: 0 0 16px var(--teal-glow);
}
.prog-dot.done {
  border-color: var(--teal);
  background: var(--teal);
  color: #000;
}
.prog-line {
  width: 40px;
  height: 2px;
  background: var(--border);
  margin: 0 4px;
}
.challenge-desc {
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
}

.btn-challenge {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, var(--teal), #00b8a2);
  color: #000;
  font-weight: 800;
  font-size: 16px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  letter-spacing: 0.3px;
  margin-top: 8px;
  transition: transform 0.1s, opacity 0.2s;
  box-shadow: 0 6px 28px rgba(0,229,200,0.3);
  animation: btn-glow 1.5s ease-in-out infinite;
}
@keyframes btn-glow {
  0%, 100% { box-shadow: 0 6px 28px rgba(0,229,200,0.3); }
  50%       { box-shadow: 0 6px 40px rgba(0,229,200,0.55); }
}
.btn-challenge:active { transform: scale(0.97); opacity: 0.9; }

.btn-permanent-off {
  background: transparent;
  border: 1px solid var(--text-dim);
  color: var(--text-dim);
  font-size: 12px;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  margin-top: 8px;
  transition: color 0.15s, border-color 0.15s;
}
.btn-permanent-off:hover { color: var(--coral); border-color: var(--coral); }

/* =============================================
   CAMERA SCREEN
============================================= */
#screen-camera {
  background: #000;
  display: none;
  flex-direction: column;
}
#screen-camera.active { display: flex; }

.camera-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 48px 20px 16px;
  background: rgba(0,0,0,0.6);
  position: relative;
  z-index: 10;
}
.btn-back {
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 20px;
  cursor: pointer;
}
.camera-title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.camera-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 20px 36px;
  gap: 16px;
}

.camera-frame {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 3/4;
  border-radius: 20px;
  overflow: hidden;
  background: #111;
  border: 2px solid rgba(0,229,200,0.3);
}
#camera-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1); /* mirror for selfie */
}
.camera-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.face-guide {
  width: 170px;
  height: 210px;
  border: 2.5px dashed rgba(0,229,200,0.55);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(0,229,200,0.2);
  animation: face-pulse 2s ease-in-out infinite;
}
@keyframes face-pulse {
  0%, 100% { border-color: rgba(0,229,200,0.4); }
  50%       { border-color: rgba(0,229,200,0.8); }
}
.face-guide.sink-mode {
  width: 90%;
  height: 70%;
  border-radius: 12px;
}

.camera-flash {
  position: absolute;
  inset: 0;
  background: white;
  opacity: 0;
  animation: flash 0.25s ease-out forwards;
}
@keyframes flash { 0% { opacity: 1; } 100% { opacity: 0; } }

.camera-hint {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  text-align: center;
  padding: 0 10px;
}

.capture-preview {
  width: 100%;
  max-width: 340px;
  border-radius: 16px;
  border: 2px solid var(--teal);
  object-fit: cover;
}
.preview-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  width: 100%;
  max-width: 340px;
}
.btn-retake, .btn-confirm {
  flex: 1;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s;
}
.btn-retake {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
}
.btn-confirm {
  background: var(--teal);
  border: none;
  color: #000;
}
.btn-retake:active, .btn-confirm:active { opacity: 0.75; }

/* Capture shutter */
.btn-capture {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: transparent;
  border: 4px solid rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.1s;
}
.btn-capture:active { transform: scale(0.92); }
.capture-inner {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #fff;
  display: block;
}

.camera-switch-row {
  display: flex;
  justify-content: center;
  margin-top: 4px;
}
.btn-flip {
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
}

#camera-canvas { display: none; }

/* =============================================
   SUCCESS SCREEN
============================================= */
#screen-success {
  background: var(--bg);
  align-items: center;
  justify-content: center;
}
.success-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 40px 28px;
  text-align: center;
}
.success-anim {
  font-size: 80px;
  animation: pop-in 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes pop-in {
  from { transform: scale(0.3); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.success-title { font-size: 28px; font-weight: 800; color: var(--teal); }
.success-subtitle { font-size: 15px; color: var(--text-mid); }
.btn-next-challenge {
  margin-top: 12px;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--teal), #7b68ee);
  color: #000;
  font-weight: 800;
  font-size: 16px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.1s;
}
.btn-next-challenge:active { transform: scale(0.96); }

/* =============================================
   DONE SCREEN
============================================= */
#screen-done {
  background: var(--bg);
  align-items: center;
  justify-content: center;
}
.done-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 40px 28px;
  text-align: center;
}
.done-emoji { font-size: 80px; }
.done-title { font-size: 28px; font-weight: 800; color: var(--text); }
.done-subtitle { font-size: 15px; color: var(--text-mid); }
.done-stats {
  display: flex;
  gap: 20px;
  margin-top: 8px;
}
.stat-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.stat-val { font-size: 28px; font-weight: 800; color: var(--teal); }
.stat-lbl { font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; }
.btn-home {
  margin-top: 16px;
  padding: 16px 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-home:hover { background: var(--bg3); }

/* =============================================
   MODALS
============================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 24px;
}
.modal-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  max-width: 340px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow);
}
.modal-icon { font-size: 48px; margin-bottom: 12px; }
.modal-box h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.modal-box p { font-size: 14px; color: var(--text-mid); line-height: 1.5; margin-bottom: 20px; }
.btn-modal-ok, .btn-modal-cancel, .btn-modal-confirm {
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s;
}
.btn-modal-ok {
  background: var(--teal);
  border: none;
  color: #000;
  width: 100%;
}
.modal-actions { display: flex; gap: 10px; }
.btn-modal-cancel {
  flex: 1;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-mid);
}
.btn-modal-confirm {
  flex: 1;
  background: var(--coral);
  border: none;
  color: #fff;
}

/* =============================================
   TOAST
============================================= */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  z-index: 9999;
  box-shadow: var(--shadow);
  white-space: nowrap;
  animation: toast-in 0.25s ease;
}
@keyframes toast-in {
  from { opacity: 0; transform: translateX(-50%) translateY(16px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* =============================================
   RESPONSIVE TWEAKS
============================================= */
@media (max-height: 700px) {
  .app-header { padding-top: 24px; }
  .clock-ring { width: 160px; height: 160px; }
  .live-time { font-size: 32px; }
  .ringing-time { font-size: 50px; }
  .ringing-icon { font-size: 54px; }
}

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

/* =============================================
   LOCATION PROFILE SELECTOR
============================================= */
.profile-section {
  margin: 14px 0 10px;
}
.profile-helper {
  font-size: 11px;
  color: var(--text-dim);
  margin: 4px 0 10px;
}
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.profile-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 12px 8px;
  background: var(--bg3);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s, background 0.2s, transform 0.1s;
}
.profile-btn:active { transform: scale(0.96); }
.profile-btn.active {
  border-color: var(--teal);
  background: var(--teal-glow);
}
.profile-icon { font-size: 24px; line-height: 1; }
.profile-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.profile-desc {
  font-size: 10px;
  color: var(--text-dim);
  line-height: 1.3;
}
.profile-btn.active .profile-label { color: var(--teal); }

/* Step 2 preview box */
.step2-preview-box {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 12px;
}
.step2-preview-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--teal-dim);
  display: block;
  margin-bottom: 5px;
  text-transform: uppercase;
}
.step2-preview-content {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
}
.step2-icon { font-size: 20px; }

/* Challenge summary (step 1 + step 2 rows) */
.challenge-summary {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 4px;
}
.cs-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
}
.cs-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal-glow);
  border: 1.5px solid var(--teal-dim);
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cs-text { font-size: 13px; color: var(--text-mid); }
.cs-divider { height: 1px; background: var(--border); margin: 0 14px; }

/* Step 2 badge on ringing screen */
.step2-badge {
  background: rgba(0,229,200,0.08);
  border: 1px solid rgba(0,229,200,0.25);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  color: var(--teal-dim);
  font-weight: 600;
  text-align: center;
}


/* =============================================
   AI VERIFICATION STATUS (camera screen)
============================================= */
.verify-status {
  width: 100%;
  max-width: 340px;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  animation: toast-in 0.2s ease;
}
.verify-status.verifying {
  background: rgba(123,104,238,0.12);
  border: 1px solid rgba(123,104,238,0.35);
  color: #a99bff;
}
.verify-status.pass {
  background: rgba(0,229,200,0.1);
  border: 1px solid rgba(0,229,200,0.4);
  color: var(--teal);
}
.verify-status.fail {
  background: rgba(255,95,109,0.1);
  border: 1px solid rgba(255,95,109,0.4);
  color: var(--coral);
}
.verify-spinner {
  animation: spin 1s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* AI badge on home screen */
.ai-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(123,104,238,0.08);
  border: 1px solid rgba(123,104,238,0.25);
  border-radius: 20px;
  padding: 8px 14px;
  margin: 8px 0 4px;
  font-size: 12px;
  color: #a99bff;
  font-weight: 600;
}
.ai-badge-icon { font-size: 15px; }

