/* Vybrant ⚡ High-Fidelity Light-First & Dark-Adaptive Responsive Styling */

:root {
  /* Light Theme (Default) Tokens */
  --bg-app: #f4f4f5;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-header: rgba(255, 255, 255, 0.92);
  --bg-nav: rgba(250, 250, 250, 0.94);
  --bg-chat-header: rgba(244, 244, 245, 0.85);
  --bg-chat-input: #f4f4f5;
  --bg-message-peer: #f4f4f5;
  --text-primary: #18181b;
  --text-secondary: #52525b;
  --text-muted: #71717a;
  --border-subtle: #e4e4e7;
  --border-strong: #d4d4d8;
  --border-focus: #7c3aed;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.06), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
  --shadow-floating: 0 12px 30px -4px rgba(0, 0, 0, 0.15);
  --video-bg: #141722;
  --glow-ambient: 0.22;
  --accent-purple: #7c3aed;
  --accent-cyan: #06b6d4;
  --accent-gold: #f59e0b;
}

html.dark {
  /* Dark Theme Tokens */
  --bg-app: #07080d;
  --bg-surface: #09090b;
  --bg-card: #0e111d;
  --bg-header: rgba(9, 11, 18, 0.88);
  --bg-nav: rgba(11, 14, 23, 0.92);
  --bg-chat-header: rgba(9, 11, 18, 0.75);
  --bg-chat-input: #141724;
  --bg-message-peer: #161926;
  --text-primary: #fafafa;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-focus: #a855f7;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.6);
  --shadow-floating: 0 14px 35px -4px rgba(0, 0, 0, 0.7);
  --video-bg: #0d0f17;
  --glow-ambient: 0.85;
  --accent-purple: #8b5cf6;
  --accent-cyan: #22d3ee;
  --accent-gold: #fbbf24;
}

/* Global Transitions for Seamless Theme Switching */
body, header, nav, main, aside, section, div, button, input, select {
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.2s ease, box-shadow 0.25s ease;
}

/* Custom Smooth Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(160, 160, 160, 0.25);
  border-radius: 9999px;
}

html.dark .custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: rgba(139, 92, 246, 0.6);
}

/* Ambient Background Glow Layer */
.ambient-glow-layer {
  opacity: var(--glow-ambient);
  transition: opacity 0.5s ease-in-out;
}

/* Local Video Mirror */
#localVideo {
  transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
}

/* Blur effect applied to Stranger Video during 3-second safety check */
.safety-blurred {
  filter: blur(36px) saturate(1.8) contrast(1.1);
  -webkit-filter: blur(36px) saturate(1.8) contrast(1.1);
  transform: scale(1.08);
  transition: filter 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.safety-unblurred {
  filter: blur(0px) saturate(1) contrast(1);
  -webkit-filter: blur(0px) saturate(1) contrast(1);
  transform: scale(1);
  transition: filter 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Checkbox shake & warning animation */
@keyframes shake-warning {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.shake-warning {
  animation: shake-warning 0.4s ease-in-out;
  border-color: rgba(244, 63, 94, 0.9) !important;
  box-shadow: 0 0 18px rgba(244, 63, 94, 0.45) !important;
}

/* VIP Gold & Neon Accents */
.gold-glow {
  box-shadow: 0 0 25px -4px rgba(245, 158, 11, 0.4);
}

.vip-gradient-text {
  background: linear-gradient(135deg, #fde68a 0%, #f59e0b 50%, #d97706 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.vip-border-glow {
  border: 1px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.15);
}

/* Glow and gradient borders */
.glow-purple {
  box-shadow: 0 0 25px -5px rgba(139, 92, 246, 0.35);
}

.glow-cyan {
  box-shadow: 0 0 25px -5px rgba(6, 182, 212, 0.35);
}

/* Subtle pulse for active connection indicator */
@keyframes soft-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.96);
  }
}

.animate-soft-pulse {
  animation: soft-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Chat bubble entrance animation */
@keyframes bubble-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.chat-bubble-enter {
  animation: bubble-in 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* QR Code Pulse */
@keyframes qr-scan {
  0% { top: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.animate-qr-scan {
  animation: qr-scan 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Audio-Only Fallback Placeholder */
#audioOnlyPlaceholder {
  background: radial-gradient(circle at center, rgba(30, 27, 75, 0.95) 0%, rgba(13, 15, 23, 0.98) 100%);
}

/* Responsive Text Wrapping Safeguards */
#radarTitle, #radarSubtitle, #antiFlashOverlay h4, #antiFlashOverlay p, #cameraPermissionNotice p, #audioOnlyPlaceholder p {
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  max-width: 100%;
}

/* Typography and Icon Clamping */
.clamp-title {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
}

.clamp-sub {
  font-size: clamp(0.75rem, 1.8vw, 0.875rem);
}

/* ========================================================== */
/* 2. DESKTOP / PC TWO-COLUMN LAYOUT (min-width: 1024px)       */
/* ========================================================== */
@media (min-width: 1024px) {
  /* Main Container Split: Two balanced columns stretching to available viewport height */
  main.vybrant-main {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 1.25rem !important;
    padding: 1rem 1.5rem 1.25rem 1.5rem !important;
    height: calc(100vh - 72px) !important;
    height: calc(100dvh - 72px) !important;
    max-height: calc(100vh - 72px) !important;
    max-height: calc(100dvh - 72px) !important;
    overflow: hidden !important;
    width: 100% !important;
    max-width: 1560px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }

  /* Left Column: Stranger and You Video Feeds (~52% width) stretching full height */
  #videoSection {
    width: 52% !important;
    flex: 1 1 52% !important;
    min-width: 440px !important;
    max-width: 800px !important;
    display: flex !important;
    flex-direction: column !important;
    height: calc(100vh - 108px) !important;
    height: calc(100dvh - 108px) !important;
    max-height: calc(100vh - 108px) !important;
    max-height: calc(100dvh - 108px) !important;
    min-height: 0 !important;
  }

  /* Video Grid: Two-row CSS Grid evenly dividing available vertical space */
  #videoGridContainer {
    display: grid !important;
    grid-template-rows: 1fr 1fr !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    height: 100% !important;
    width: 100% !important;
    min-height: 0 !important;
  }

  /* Stranger and You Panels: Taller usable height, equal halves, no clipping */
  #strangerVideoWrapper, #localVideoWrapper {
    height: 100% !important;
    width: 100% !important;
    min-height: 0 !important;
    position: relative !important;
    border-radius: 1.5rem !important;
    overflow: hidden !important;
    background-color: var(--video-bg) !important;
    box-shadow: var(--shadow-card) !important;
  }

  #remoteVideo, #localVideo {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  /* Local Control Buttons: Compact circular toolbar at bottom-center of You feed */
  #localControlsBar {
    position: absolute !important;
    bottom: 0.875rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 25 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.625rem !important;
    background: rgba(0, 0, 0, 0.45) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: 9999px !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
  }

  #localControlsBar button {
    cursor: pointer !important;
    transition: transform 0.15s ease, background-color 0.15s ease !important;
  }

  #localControlsBar button:hover {
    transform: scale(1.08) !important;
  }

  /* Right Column: Filter toolbar, Ephemeral Chat, Action controls */
  #rightColumn {
    width: 48% !important;
    flex: 1 1 48% !important;
    min-width: 400px !important;
    max-width: 760px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    height: calc(100vh - 108px) !important;
    height: calc(100dvh - 108px) !important;
    max-height: calc(100vh - 108px) !important;
    max-height: calc(100dvh - 108px) !important;
    min-height: 0 !important;
  }

  /* 1. Filter Toolbar aligned with Chat card width */
  #filterToolbar {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    border-radius: 1.25rem !important;
    box-shadow: var(--shadow-sm) !important;
    overflow: hidden !important;
  }

  /* 2. Chat Card with controlled height & internal scroll */
  #chatAside {
    flex: 1 1 0% !important;
    min-height: 0 !important;
    height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    border-radius: 1.5rem !important;
    overflow: hidden !important;
    box-shadow: var(--shadow-card) !important;
  }

  #chatMessages {
    flex: 1 1 0% !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain !important;
  }

  #chatForm {
    flex-shrink: 0 !important;
    margin-top: auto !important;
  }

  /* 3. Action Controls Row below Chat */
  #actionControlsBar {
    flex-shrink: 0 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.75rem !important;
  }

  #toggleMatchBtn, #skipBtn, #reportBtn {
    min-height: 44px !important;
    max-height: 48px !important;
  }
}

/* ========================================================== */
/* 3. MOBILE BROWSER UI (max-width: 1023px)                    */
/* ========================================================== */
@media (max-width: 1023px) {
  body {
    overscroll-behavior-y: none;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  /* Main Container: Natural vertical flow */
  main.vybrant-main {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    padding: 0.625rem 0.75rem 1.25rem 0.75rem !important;
    min-height: calc(100vh - 90px) !important;
    min-height: calc(100dvh - 90px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    width: 100% !important;
  }

  /* rightColumn allows flex order rearrangement of children */
  #rightColumn {
    display: contents !important;
  }

  /* 1. Matching Filter row at top of main */
  #filterToolbar {
    order: 1 !important;
    width: 100% !important;
    border-radius: 1rem !important;
    padding: 0.5rem 0.75rem !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
  }

  #filterToolbar .filter-pill-wrap {
    flex: 1 1 auto !important;
    min-width: 130px !important;
  }

  /* 2. Video Section: Large Stranger video */
  #videoSection {
    order: 2 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }

  /* Video Grid Area: prominent video container */
  #videoGridContainer {
    position: relative !important;
    width: 100% !important;
    height: 48vh !important;
    height: 48dvh !important;
    min-height: 270px !important;
    max-height: 440px !important;
    border-radius: 1.5rem !important;
    overflow: hidden !important;
    background-color: var(--video-bg) !important;
    box-shadow: var(--shadow-card) !important;
  }

  /* Stranger Video fills the main video view */
  #strangerVideoWrapper {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 1.5rem !important;
    overflow: hidden !important;
    z-index: 10 !important;
  }

  #remoteVideo {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  /* User preview: Small square picture-in-picture overlay in bottom-right */
  #localVideoWrapper {
    position: absolute !important;
    bottom: 0.75rem !important;
    right: 0.75rem !important;
    width: 100px !important;
    height: 100px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 1.15rem !important;
    z-index: 30 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55), 0 0 0 2px rgba(255, 255, 255, 0.4) !important;
    overflow: hidden !important;
    background-color: #0d0f17 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  }

  #localVideo {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  /* Hide nonessential text inside square PIP */
  #localVideoWrapper #localVideoPlaceholder h4,
  #localVideoWrapper #localVideoPlaceholder p,
  #localVideoWrapper #localVideoPlaceholder > div,
  #localVideoWrapper #audioOnlyPlaceholder h4,
  #localVideoWrapper #audioOnlyPlaceholder p,
  #localVideoWrapper #cameraPermissionNotice,
  #localBadgeText {
    display: none !important;
  }

  #localVideoWrapper #audioOnlyPlaceholder > div:first-child {
    width: 3rem !important;
    height: 3rem !important;
    margin-bottom: 0.25rem !important;
  }

  #localVideoWrapper .local-badge-pill {
    top: 0.35rem !important;
    left: 0.35rem !important;
    padding: 0.15rem 0.35rem !important;
    font-size: 9px !important;
  }

  /* Micro-controls inside square PIP */
  #localControlsBar {
    position: absolute !important;
    bottom: 0.25rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 35 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.2rem !important;
    background: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    padding: 0.15rem 0.3rem !important;
    border-radius: 9999px !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    width: auto !important;
  }

  #localControlsBar button {
    padding: 0 !important;
    width: 26px !important;
    height: 26px !important;
    border-radius: 9999px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
  }

  #localControlsBar svg {
    width: 11px !important;
    height: 11px !important;
  }

  /* 3. Action Controls Row: Placed immediately below video */
  #actionControlsBar {
    order: 3 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.5rem !important;
    padding: 0.15rem 0 !important;
  }

  #toggleMatchBtn, #reportBtn {
    flex: 1 !important;
    min-height: 44px !important;
    padding: 0.6rem 0.75rem !important;
  }

  #skipBtn {
    flex: 1.3 !important;
    min-height: 46px !important;
    font-size: 0.95rem !important;
    padding: 0.65rem 1rem !important;
  }

  /* 4. Ephemeral Chat Section below actions */
  #chatAside {
    order: 4 !important;
    width: 100% !important;
    height: 360px !important;
    min-height: 260px !important;
    max-height: 48vh !important;
    max-height: 48dvh !important;
    border-radius: 1.5rem !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    box-shadow: var(--shadow-card) !important;
    margin-bottom: 0.5rem !important;
  }

  #chatMessages {
    flex: 1 1 0% !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: auto !important;
    padding: 0.75rem 1rem !important;
  }

  #chatForm {
    flex-shrink: 0 !important;
    padding: 0.5rem 0.75rem !important;
    margin-top: auto !important;
  }
}

/* Small Handheld Screens (<= 480px) */
@media (max-width: 480px) {
  #videoGridContainer {
    height: 45vh !important;
    height: 45dvh !important;
    min-height: 250px !important;
  }

  #localVideoWrapper {
    width: 90px !important;
    height: 90px !important;
    bottom: 0.5rem !important;
    right: 0.5rem !important;
    border-radius: 1rem !important;
  }

  #chatAside {
    height: 320px !important;
    min-height: 230px !important;
  }

  #actionControlsBar {
    gap: 0.375rem !important;
  }

  #skipBtn {
    font-size: 0.875rem !important;
  }
}

/* Ultra Narrow Screens (<= 360px) */
@media (max-width: 360px) {
  #localVideoWrapper {
    width: 80px !important;
    height: 80px !important;
  }

  #filterCountrySelect {
    max-width: 140px !important;
  }

  #toggleMatchBtn, #skipBtn, #reportBtn {
    font-size: 0.8rem !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
}

/* ========================================================== */
/* 4. DARK MODE ELEVATION & CRISP SEPARATION                  */
/* Fixes card blending without clutter                       */
/* ========================================================== */
html.dark body {
  background-color: #08090f !important;
}

html.dark header {
  background-color: rgba(14, 17, 28, 0.94) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45) !important;
}

html.dark #strangerVideoWrapper,
html.dark #localVideoWrapper {
  background-color: #111422 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 10px 30px -4px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

html.dark #filterToolbar {
  background: rgba(17, 21, 35, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35) !important;
}

html.dark #chatAside {
  background-color: #111422 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 10px 30px -4px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

html.dark #chatAside > div:first-child {
  background-color: rgba(18, 22, 36, 0.95) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

html.dark #chatMessages {
  background-color: #0d101b !important;
}

html.dark #chatForm {
  background-color: rgba(18, 22, 36, 0.95) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

html.dark #chatInput {
  background-color: #161a2c !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #f8fafc !important;
}

html.dark #chatInput:focus {
  border-color: rgba(168, 85, 247, 0.6) !important;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.18) !important;
}

/* ========================================================== */
/* 5. SLEEK FILTER PILLS (Enhanced Gender & Country Selects)  */
/* ========================================================== */
.filter-pill-inner {
  background: linear-gradient(135deg, #ffffff 0%, #f6f7fb 100%);
  border: 1px solid rgba(139, 92, 246, 0.22);
  box-shadow: 0 2px 6px -1px rgba(99, 102, 241, 0.08);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-pill-inner:hover {
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: 0 3px 12px -2px rgba(99, 102, 241, 0.18);
  transform: translateY(-0.5px);
}

html.dark .filter-pill-inner {
  background: linear-gradient(135deg, #1b2034 0%, #131627 100%) !important;
  border: 1px solid rgba(168, 85, 247, 0.3) !important;
  box-shadow: 0 2px 8px -1px rgba(0, 0, 0, 0.45) !important;
}

html.dark .filter-pill-inner:hover {
  border-color: rgba(168, 85, 247, 0.6) !important;
  box-shadow: 0 3px 14px -2px rgba(168, 85, 247, 0.28) !important;
}

#filterGenderSelect,
#filterCountrySelect {
  cursor: pointer;
  color-scheme: dark light;
}

#filterGenderSelect option,
#filterCountrySelect option {
  background-color: #ffffff;
  color: #0f172a;
  padding: 8px 12px;
  font-weight: 500;
}

html.dark #filterGenderSelect option,
html.dark #filterCountrySelect option {
  background-color: #141828 !important;
  color: #f1f5f9 !important;
}

/* ========================================================== */
/* 6. AGE GATE MODAL CRISP TYPOGRAPHY & ANTI-BLUR             */
/* ========================================================== */
#ageGateModal {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

#ageGateModal .age-modal-card {
  transform: translateZ(0); /* Prevents subpixel text blur */
  backface-visibility: hidden;
  box-shadow: 0 25px 65px -12px rgba(0, 0, 0, 0.45) !important;
}

html.dark #ageGateModal .age-modal-card {
  box-shadow: 0 25px 65px -12px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.age-gate-gender-btn {
  user-select: none;
  touch-action: manipulation;
}

/* ========================================================== */
/* 7. RELIABILITY, ADAPTIVE QUALITY & AUDIO OVERLAYS          */
/* ========================================================== */
#tapToPlayAudioBtn {
  z-index: 38 !important;
  cursor: pointer;
}

#adaptiveQualityBanner {
  z-index: 37 !important;
  pointer-events: none;
  animation: bubble-in 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#connectionRecoveryOverlay {
  z-index: 39 !important;
  animation: bubble-in 0.25s ease-out forwards;
}

#inAppBrowserNotice {
  animation: bubble-in 0.3s ease-out forwards;
}


