/* UIKEY LABS Production Stylesheet v7.0 - 10-Point Audit & All-Viewport Zero-Overflow Build (360px, 390px, 768px, 1440px) */
:root {
  --bg-obsidian: #050811;
  --bg-card: #0A1022;
  --bg-card-alt: #101935;
  --text-main: #F8FAFC;
  --text-muted: #CBD5E1;
  --text-dim: #94A3B8;
  --cyan: #22D3EE;
  --amber: #FBBF24;
  --emerald: #34D399;
  --rose: #FB7185;
  --border: #1E293B;
}

/* 1. Universal Box-Sizing, Flex/Grid Intrinsic Width Fix (`min-width: 0`, `max-width: 100%`) */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  min-width: 0;
  max-width: 100%;
}

html {
  width: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-obsidian);
  color: var(--text-main);
  line-height: 1.5;
}

body {
  width: 100%;
  overflow-x: clip; /* Last-resort safeguard; root cause is fixed via min-width:0 and minmax(0,1fr) */
  overflow-wrap: anywhere;
  word-break: break-word;
  background-color: var(--bg-obsidian);
  color: var(--text-main);
  min-height: 100vh;
  /* Exact bottom padding equal to sticky bottom bar height + safe-area-inset-bottom so zero content is hidden */
  padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 1024px) {
  body {
    padding-bottom: 2rem;
  }
}

img, svg, picture, video, canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

/* Prevent iOS Safari auto-zoom on form inputs */
input, select, textarea {
  font-size: 16px !important;
}

button, a.btn, select, input[type="text"], input[type="tel"], input[type="email"], input[type="number"], input[type="password"] {
  min-height: 44px;
}

:focus-visible {
  outline: 3px solid var(--cyan) !important;
  outline-offset: 2px !important;
}

/* 2. Full-Width Fluid Container (Zero Blank Space on Laptop/Desktop + Zero Overflow on 360px Mobile) */
.container {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(0.875rem, 2.25vw, 2.5rem);
  padding-right: clamp(0.875rem, 2.25vw, 2.5rem);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--cyan);
  color: #050811;
  font-weight: 800;
  padding: 0.75rem 1.25rem;
}
.skip-link:focus {
  left: 0;
}

/* 3. Top Launch Campaign Banner (Real Headline + Fixed-Date Countdown + Solid 8px Status Dot) */
.campaign-banner {
  background: linear-gradient(90deg, rgba(251,191,36,0.14), rgba(34,211,238,0.1));
  border-bottom: 1px solid rgba(251,191,36,0.28);
  font-size: 0.75rem;
  padding: 0.5rem 0;
  width: 100%;
}
.campaign-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
}

/* 5. Solid Pulsing 8px Status Dot (Strict 8px circle, NEVER a stretched blob) */
.status-dot-8px {
  display: inline-block;
  width: 8px !important;
  height: 8px !important;
  min-width: 8px !important;
  min-height: 8px !important;
  max-width: 8px !important;
  max-height: 8px !important;
  border-radius: 50% !important;
  background-color: #22C55E;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulseDot8 2s infinite ease-in-out;
}
@keyframes pulseDot8 {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.slots-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(52, 211, 153, 0.45);
  color: #A7F3D0;
  font-size: 0.7rem;
  font-weight: 800;
}

.countdown-mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--amber);
  background: rgba(5, 8, 17, 0.85);
  border: 1px solid rgba(251, 191, 36, 0.4);
  padding: 0.18rem 0.55rem;
  border-radius: 0.45rem;
}

/* Badges */
.badge-pill {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.25;
  white-space: normal;
}
.badge-amber {
  background: var(--amber);
  color: #050811;
}
.badge-cyan {
  background: rgba(34,211,238,0.14);
  border: 1px solid rgba(34,211,238,0.4);
  color: var(--cyan);
}
.badge-emerald {
  background: rgba(52,211,153,0.14);
  border: 1px solid rgba(52,211,153,0.4);
  color: var(--emerald);
}

/* 2. Header at 360px: Logo + Flag-Only Language Toggle (44x44) + Hamburger (44x44) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  width: 100%;
  background: rgba(5, 8, 17, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 60px;
  width: 100%;
}
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  flex-shrink: 1;
}
.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 0.6rem;
  border: 2px solid rgba(34,211,238,0.65);
  object-fit: cover;
  flex-shrink: 0;
}
.brand-name {
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
}
.brand-sub {
  display: block;
  font-size: 0.62rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-dim);
  white-space: nowrap;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

/* Compact Flag-Only Language Toggle at 360px/390px (44x44px tap target) */
.lang-flag-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 0.7rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 1.15rem;
  cursor: pointer;
  flex-shrink: 0;
}
.lang-label-desktop {
  display: none;
}
@media (min-width: 768px) {
  .lang-flag-btn {
    width: auto;
    padding: 0 0.75rem;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 800;
  }
  .lang-label-desktop {
    display: inline;
  }
}

/* App-Style Page Switcher Strip (2x3 Grid on Mobile, Pill Bar on Desktop) */
.app-tab-strip {
  background: #070C1A;
  border-bottom: 1px solid var(--border);
  padding: 0.45rem 0;
  width: 100%;
}
.app-tab-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
  width: 100%;
}
@media (min-width: 768px) {
  .app-tab-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
  }
}
.app-tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.45rem 0.25rem;
  border-radius: 0.65rem;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  min-height: 44px;
  width: 100%;
  transition: all 0.15s ease;
}
@media (min-width: 768px) {
  .app-tab-btn {
    width: auto;
    padding: 0.5rem 0.9rem;
    font-size: 0.82rem;
    white-space: nowrap;
  }
}
.app-tab-btn.active, .app-tab-btn:hover {
  background: linear-gradient(135deg, rgba(34,211,238,0.22), rgba(16,185,129,0.18));
  border-color: var(--cyan);
  color: #FFFFFF;
}

/* App View Panels */
.app-view-panel {
  display: none !important;
  padding: 1.5rem 0 2rem;
  width: 100%;
}
.app-view-panel.is-active {
  display: block !important;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}
.desktop-only {
  display: none !important;
}
@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }
  .desktop-only {
    display: inline-flex !important;
  }
  .mobile-menu-btn {
    display: none !important;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1rem;
  border-radius: 0.85rem;
  font-weight: 800;
  font-size: 0.88rem;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  cursor: pointer;
  border: none;
  min-height: 44px;
  transition: all 0.15s ease;
}
.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.25rem;
  width: 100%;
}
.hero-cta-group .btn {
  width: 100%;
}
@media (min-width: 640px) {
  .hero-cta-group {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .hero-cta-group .btn {
    width: auto;
  }
}
.btn-whatsapp {
  background: linear-gradient(135deg, #22C55E, #10B981);
  color: #050811;
}
.btn-secondary {
  background: var(--bg-card);
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.45);
}
.btn-amber {
  background: linear-gradient(135deg, #FBBF24, #F59E0B);
  color: #050811;
}
.btn-outline {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border);
  color: var(--text-main);
}

/* Mobile Hamburger Menu (44x44px tap target) */
.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 0.7rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main);
  cursor: pointer;
  flex-shrink: 0;
}
.mobile-menu-panel {
  display: none;
  background: var(--bg-card);
  border-bottom: 2px solid var(--border);
  padding: 0.875rem;
  width: 100%;
}
.mobile-menu-panel.is-open {
  display: block;
}
.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  list-style: none;
}
.mobile-nav-list a, .mobile-nav-list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  min-height: 44px;
  padding: 0.6rem 0.75rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 0.85rem;
  text-align: left;
  background: rgba(5, 8, 17, 0.65);
  border: 1px solid rgba(30, 41, 59, 0.85);
}

/* Grids & Cards (Strict minmax(0, 1fr) so zero horizontal overflow) */
.section-block {
  padding: 1.75rem 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.35rem;
  align-items: center;
  width: 100%;
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 2.25rem;
  }
}
.grid-3 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
  width: 100%;
}
@media (min-width: 640px) {
  .grid-3.sm-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}
.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  width: 100%;
}
@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}
.grid-4-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  width: 100%;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.1rem;
  width: 100%;
  min-width: 0;
}
@media (min-width: 640px) {
  .card {
    padding: 1.35rem;
  }
}
.card-featured {
  border: 2px solid var(--amber);
}

.portal-tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  padding: 0.85rem;
  border-radius: 0.9rem;
  background: linear-gradient(145deg, #0B1328, #070C1A);
  border: 1px solid rgba(34, 211, 238, 0.3);
  cursor: pointer;
  width: 100%;
  min-width: 0;
}

.h1-title {
  font-size: clamp(1.45rem, 4.8vw, 2.75rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0.55rem 0 0.75rem;
}
.h2-title {
  font-size: clamp(1.25rem, 3.8vw, 2.05rem);
  font-weight: 900;
  line-height: 1.22;
  margin: 0.35rem 0 0.6rem;
}
.text-gradient {
  background: linear-gradient(90deg, var(--cyan), #A5F3FC, var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead-text {
  font-size: clamp(0.88rem, 2.5vw, 1.02rem);
  color: var(--text-muted);
  max-width: 64ch;
}

/* Filter Bar */
.filter-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
  margin: 0.85rem 0 1.25rem;
  width: 100%;
}
@media (min-width: 640px) {
  .filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
  }
}
.filter-btn {
  padding: 0.45rem 0.6rem;
  border-radius: 0.6rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 44px;
  width: 100%;
  text-align: center;
}
@media (min-width: 640px) {
  .filter-btn {
    width: auto;
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
  }
}
.filter-btn.active, .filter-btn:hover {
  background: rgba(34, 211, 238, 0.18);
  border-color: var(--cyan);
  color: #fff;
}

.demo-thumb-wrap {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #050811;
  margin-bottom: 0.75rem;
  border: 1px solid var(--border);
  width: 100%;
}
.demo-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FAQ */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  margin-bottom: 0.6rem;
  overflow: hidden;
  width: 100%;
}
.faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.9rem 1rem;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  list-style: none;
  min-height: 44px;
}
.faq-summary::-webkit-details-marker {
  display: none;
}
.faq-answer {
  padding: 0.7rem 1rem 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid rgba(30, 41, 59, 0.6);
}

/* Forms */
.form-group {
  margin-bottom: 0.8rem;
  width: 100%;
}
.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.28rem;
}
.form-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 0.65rem;
  background: #050811;
  border: 1px solid #334155;
  color: #fff;
}
.form-status {
  padding: 0.75rem 0.95rem;
  border-radius: 0.7rem;
  font-size: 0.84rem;
  font-weight: 700;
  margin-top: 0.7rem;
  display: none;
}
.form-status.show {
  display: block;
}
.form-status.success {
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid var(--emerald);
  color: #A7F3D0;
}
.form-status.error {
  background: rgba(244, 63, 94, 0.16);
  border: 1px solid var(--rose);
  color: #FECDD3;
}

/* 4. Bottom UI: ONE Sticky Bottom Bar (Call + WhatsApp ONLY).
      Zero floating "Chat on WhatsApp" button, zero yellow ghost shadow! */
.mobile-sticky-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: 70;
  background: rgba(5, 8, 17, 0.98);
  border-top: 1px solid var(--border);
  padding: 0.5rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 0.5rem;
  box-shadow: none !important; /* No yellow ghost shadow */
}
.sticky-call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 46px;
  padding: 0.5rem 0.65rem;
  border-radius: 0.75rem;
  background: var(--bg-card-alt);
  border: 1px solid rgba(34, 211, 238, 0.45);
  color: var(--text-main);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}
.sticky-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 46px;
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #22C55E, #10B981);
  color: #050811;
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
  box-shadow: none !important;
}
@media (min-width: 1024px) {
  .mobile-sticky-cta-bar {
    display: none;
  }
}

/* 16. Tier Comparison Table & Checklist Grid (Responsive & Zero Overflow at 360px) */
.table-scroll-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 0.95rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
  margin: 1.5rem 0;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  text-align: left;
  min-width: 560px;
}
.comparison-table th,
.comparison-table td {
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid rgba(30, 41, 59, 0.75);
}
.comparison-table th {
  background: #070C1A;
  color: var(--text-main);
  font-weight: 800;
  font-size: 0.84rem;
}
.comparison-table tr:last-child td {
  border-bottom: none;
}
.comparison-table td:first-child {
  font-weight: 700;
  color: var(--text-main);
}
.checklist-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.65rem;
  margin: 1rem 0 1.75rem;
  width: 100%;
}
@media (min-width: 640px) {
  .checklist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .checklist-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.75rem;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--border);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-main);
}

/* 17. Client-Hunting Highlights & 4-Column Responsive Grid */
html {
  scroll-padding-top: 120px;
}
.grid-4 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
  width: 100%;
}
@media (min-width: 640px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.15rem;
  }
}
.popular-glow-card {
  border: 2px solid #FBBF24 !important;
  background: linear-gradient(160deg, rgba(251, 191, 36, 0.09) 0%, #0A1124 45%, #070C1A 100%) !important;
  box-shadow: 0 0 28px rgba(251, 191, 36, 0.14);
  position: relative;
}
.popular-ribbon-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.75rem;
  border-radius: 9999px;
  background: linear-gradient(90deg, #FBBF24, #F59E0B);
  color: #050811;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.advance-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 0.55rem;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #6EE7B7;
  font-size: 0.78rem;
  font-weight: 800;
  margin-top: 0.4rem;
}
.door-opener-strip {
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.12), rgba(34, 211, 238, 0.12), rgba(16, 185, 129, 0.12));
  border: 2px dashed rgba(251, 191, 36, 0.55);
  border-radius: 1rem;
  padding: 1.15rem 1.35rem;
  margin-top: 1.5rem;
}

/* 18. Sign In / Sign Out / Sign in with Google Modal & Header Controls */
.auth-header-btn {
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.48rem 0.85rem;
  border-radius: 0.7rem;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(34, 211, 238, 0.5);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  min-height: 44px;
  white-space: nowrap;
}
@media (min-width: 768px) {
  .auth-header-btn {
    display: inline-flex;
  }
}
.auth-user-pill {
  display: none;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.45rem 0.3rem 0.65rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #ECFDF5;
  font-size: 0.76rem;
  font-weight: 800;
  min-height: 44px;
}
@media (min-width: 768px) {
  .auth-user-pill.is-signed-in {
    display: inline-flex;
  }
}
.auth-avatar-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22D3EE, #10B981);
  color: #050811;
  font-weight: 900;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.btn-signout-sm {
  padding: 0.32rem 0.65rem;
  border-radius: 9999px;
  background: rgba(244, 63, 94, 0.18);
  border: 1px solid rgba(244, 63, 94, 0.55);
  color: #FECDD3;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  min-height: 32px !important;
}
.btn-signout-sm:hover {
  background: rgba(244, 63, 94, 0.35);
  color: #FFFFFF;
}
.auth-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(3, 6, 14, 0.85);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.auth-modal-backdrop.is-open {
  display: flex;
}
.auth-modal-box {
  width: 100%;
  max-width: 440px;
  background: #0A1020;
  border: 2px solid rgba(34, 211, 238, 0.45);
  border-radius: 1.15rem;
  padding: 1.4rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
  position: relative;
}
.btn-google-oauth {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 1rem;
  border-radius: 0.75rem;
  background: #FFFFFF;
  color: #0F172A;
  border: 1px solid #E2E8F0;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn-google-oauth:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0;
  color: var(--text-dim);
  font-size: 0.75rem;
  font-weight: 700;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}



