@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@1,600;1,700&display=swap');

/* FaceScan.ID — FaceCheck.ID visual clone */
:root,
body.dark {
  --fc-bg: #0e0b16;
  --fc-bg-2: #12121e;
  --fc-panel: #1a1828;
  --fc-line: #2a2540;
  --fc-text: #f2f2f5;
  --fc-muted: #a8a4b8;
  --fc-pink: #e91e63;
  --fc-pink-hot: #ff2d78;
  --fc-cyan: #4dd0e1;
  --fc-blue: #3b82f6;
  --fc-purple: #a855f7;
  --fc-purple-glow: #7c3aed;
  --fc-danger: #ef4444;
  --fc-nav: #0c0a12;
  --fc-footer: #0a0810;
}

body.light {
  --fc-bg: #ffffff;
  --fc-bg-2: #f7f8fa;
  --fc-panel: #ffffff;
  --fc-line: #e5e7eb;
  --fc-text: #222222;
  --fc-muted: #666666;
  --fc-pink: #e91e63;
  --fc-pink-hot: #d81b60;
  --fc-cyan: #1a73e8;
  --fc-blue: #1a73e8;
  --fc-purple: #9aa0a6;
  --fc-purple-glow: #dadce0;
  --fc-danger: #d93025;
  --fc-nav: #ffffff;
  --fc-footer: #0b6aa2;
  --fc-online: #1e8e3e;
}

* { box-sizing: border-box; }
html, body, #root { min-height: 100%; }
body {
  margin: 0;
  font-family: Inter, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--fc-bg);
  color: var(--fc-text);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--fc-cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

.fc-app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(124, 58, 237, 0.12), transparent 55%),
    var(--fc-bg);
  position: relative;
}
body.light .fc-app {
  background: #ffffff;
}

/* ── Brand logo ── */
.fc-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fc-text);
}
.fc-brand-nav .fc-brand-shield { width: 28px; height: 32px; }
.fc-brand-hero .fc-brand-shield { width: 56px; height: 64px; }
.fc-brand-text {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.fc-brand-nav .fc-brand-text { font-size: 16px; }
.fc-brand-hero .fc-brand-text { font-size: clamp(36px, 7vw, 52px); }
.fc-brand-face { color: var(--fc-pink); }
.fc-brand-check { color: var(--fc-cyan); }
.fc-brand-id { color: var(--fc-cyan); }

.fc-logo-box {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px 4px 6px;
  border: 1.5px solid #3b82f6;
  border-radius: 4px;
  text-decoration: none;
  flex-shrink: 0;
}
.fc-logo-box:hover { text-decoration: none; }

/* ── Header ── */
.fc-header {
  background: var(--fc-nav);
  position: sticky;
  top: 0;
  z-index: 100;
}
body.light .fc-header {
  border-bottom: 1px solid #e5e7eb;
  box-shadow: none;
}
.fc-navbar-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px;
  max-width: 1280px;
  margin: 0 auto;
  min-height: 56px;
}
.fc-header-glow {
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, transparent, #a855f7 20%, #e879f9 50%, #a855f7 80%, transparent);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.65), 0 0 24px rgba(168, 85, 247, 0.35);
}
body.light .fc-header-glow {
  height: 1px;
  background: #e5e7eb;
  box-shadow: none;
}
.fc-anon {
  margin: 0;
  padding: 6px 18px 8px;
  text-align: center;
  font-size: 13px;
  font-style: italic;
  color: #9b8ec4;
  opacity: 0.85;
}
body.light .fc-anon {
  color: #80868b;
  background: #fff;
}

.fc-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 8px;
}
.fc-hamburger span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--fc-text);
  border-radius: 2px;
  transition: 0.2s;
}
.fc-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.fc-hamburger.open span:nth-child(2) { opacity: 0; }
.fc-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.fc-topmenu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2px;
  flex: 1;
}
.fc-topmenu a {
  color: #c8c4d6;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  text-decoration: none;
  white-space: nowrap;
}
.fc-topmenu a:hover,
.fc-topmenu a.active { color: #fff; }
body.light .fc-topmenu a,
body.light .fc-nav-btn { color: #5f6368; }
body.light .fc-topmenu a:hover,
body.light .fc-nav-btn:hover { color: #202124; }

.fc-nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.fc-nav-spacer { flex: 1; min-width: 8px; }
.fc-theme-btn {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  line-height: 0;
}
.fc-theme-track {
  position: relative;
  display: block;
  width: 52px;
  height: 28px;
  border-radius: 999px;
  background: #6d28d9;
  transition: background 0.2s ease;
  overflow: hidden;
}
.fc-theme-track.is-light { background: #e8eaed; }
.fc-moon,
.fc-sun {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  pointer-events: none;
  transition: opacity 0.15s ease;
}
.fc-moon {
  left: 7px;
  color: #e9d5ff;
}
.fc-sun {
  right: 7px;
  color: #f9ab00;
}
.fc-theme-track.is-dark .fc-sun { opacity: 0; }
.fc-theme-track.is-dark .fc-moon { opacity: 1; }
.fc-theme-track.is-light .fc-moon { opacity: 0; }
.fc-theme-track.is-light .fc-sun { opacity: 1; }
.fc-theme-ball {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  transition: transform 0.22s ease;
  z-index: 1;
}
.fc-theme-track.is-dark .fc-theme-ball { transform: translateX(24px); }
.fc-theme-track.is-light .fc-theme-ball { transform: translateX(0); }

.fc-facecount {
  text-align: right;
  font-size: 11px;
  line-height: 1.2;
  min-width: 88px;
  position: relative;
}
.fc-facecount-label {
  display: block;
  color: var(--fc-muted);
  font-weight: 500;
}
.fc-facecount-num {
  color: #e8b4d4;
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}
body.light .fc-facecount-label {
  color: var(--fc-online, #1e8e3e);
  font-weight: 700;
}
body.light .fc-facecount-num {
  color: #202124;
}
body.light .fc-facecount::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: #1e8e3e;
  box-shadow: 0 0 0 2px rgba(30, 142, 62, 0.2);
}

.fc-profile { position: relative; }
.fc-avatar-btn {
  position: relative;
  border: 0;
  background: #2a2a35;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  padding: 2px;
  cursor: pointer;
}
body.light .fc-avatar-btn {
  background: #e8eaed;
  border-radius: 50%;
}
.fc-avatar-btn svg { width: 100%; height: 100%; display: block; }
.fc-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background: #e53935;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  border: 2px solid var(--fc-nav);
}
.fc-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: var(--fc-panel);
  border: 1px solid var(--fc-line);
  border-radius: 8px;
  min-width: 180px;
  padding: 6px 0;
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
  z-index: 50;
}
.fc-dropdown a {
  display: block;
  padding: 10px 16px;
  color: var(--fc-text);
  font-size: 14px;
  text-decoration: none;
}
.fc-dropdown a:hover { background: rgba(168, 85, 247, 0.15); }

.fc-mobile-menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 8px 0 12px;
  border-top: 1px solid var(--fc-line);
}
.fc-mobile-menu a,
.fc-menu-theme {
  display: block;
  width: 100%;
  padding: 14px 20px;
  color: var(--fc-text);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}
.fc-mobile-menu a:hover,
.fc-menu-theme:hover { background: rgba(168, 85, 247, 0.12); }

/* ── Main ── */
.fc-container { flex: 1; width: 100%; }
.fc-main {
  width: min(920px, calc(100% - 28px));
  margin: 0 auto;
  padding: 8px 0 56px;
}
.fc-main:has(.lens-page) { width: min(1100px, calc(100% - 24px)); }

.fc-home { text-align: center; position: relative; }

.fc-hero-wrap {
  position: relative;
  padding: 20px 0 8px;
  overflow: visible;
}
.fc-home {
  overflow-x: clip;
}
.fc-wireface {
  position: fixed;
  right: -40px;
  top: 90px;
  width: min(480px, 38vw);
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  object-position: right center;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
  mix-blend-mode: screen;
  user-select: none;
}
.fc-wireface-light { display: none; }
body.light .fc-wireface-dark { display: none; }
body.light .fc-wireface-light {
  display: block;
  mix-blend-mode: normal;
  opacity: 0.85;
  filter: none;
  right: -30px;
}
.fc-hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.fc-hero-wrap .fc-wireface ~ .fc-hero,
.fc-main,
.fc-header,
.fc-footer {
  position: relative;
  z-index: 1;
}
.fc-header { z-index: 100; }

.fc-findppl {
  margin: 14px 0 22px;
  font-size: clamp(20px, 3.5vw, 28px);
  font-weight: 700;
  color: #fff;
}
body.light .fc-findppl { color: #3c4043; }

/* Drop zone — horizontal like FaceCheck */
.fc-drop-area {
  width: min(520px, 100%);
  margin: 0 auto 20px;
  border: 2px dashed #a855f7;
  border-radius: 14px;
  background: rgba(30, 20, 50, 0.55);
  padding: 22px 28px;
  transition: border-color 0.2s, background 0.2s;
}
body.light .fc-drop-area {
  background: #fafafa;
  border: 2px dashed #b0b0b0;
  box-shadow: none;
}
.fc-drop-area.dragging {
  border-color: var(--fc-pink);
  background: rgba(124, 58, 237, 0.18);
}
body.light .fc-drop-area.dragging {
  background: #fff5f8;
  border-color: #e91e63;
}
.fc-drop-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: left;
}
.fc-drop-icon {
  position: relative;
  width: 88px;
  height: 88px;
  flex-shrink: 0;
}
.fc-drop-icon > svg:first-child { width: 100%; height: 100%; }
.fc-drop-arrow {
  position: absolute;
  top: -6px;
  right: -18px;
  width: 36px;
  height: 36px;
}
.fc-drop-copy { flex: 1; min-width: 0; }
.fc-drop-instr {
  margin: 0 0 12px;
  color: var(--fc-muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}
body.light .fc-drop-instr { color: #5f6368; font-weight: 500; }

.fc-mobile-only { display: none; }
.fc-desktop-only { display: inline; }
.fc-hidetiny { display: inline; }

.fc-browse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #6b7280, #4b5563);
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
body.light .fc-browse {
  background: linear-gradient(180deg, #f1f3f4, #dadce0);
  color: #202124;
  box-shadow: 0 1px 2px rgba(0,0,0,0.12);
  border: 1px solid #dadce0;
}
.fc-browse:hover { filter: brightness(1.08); }

.fc-drop-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}
.fc-camera-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(180deg, #3b82f6, #1e6fd9);
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
body.light .fc-camera-btn {
  background: linear-gradient(180deg, #1a73e8, #1557b0);
  box-shadow: 0 1px 2px rgba(0,0,0,0.12);
}
.fc-camera-btn:hover { filter: brightness(1.06); }

/* Camera capture modal */
.fc-cam-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}
.fc-cam-overlay.hide { display: none !important; }
.fc-cam-modal {
  width: min(420px, 100%);
  background: #111;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  color: #fff;
}
.fc-cam-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  background: #1a1a1a;
}
.fc-cam-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.fc-cam-close,
.fc-cam-flip {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.fc-cam-close:hover,
.fc-cam-flip:hover { background: rgba(255,255,255,0.18); }
.fc-cam-viewport {
  position: relative;
  background: #000;
  aspect-ratio: 3 / 4;
  max-height: min(70vh, 560px);
}
.fc-cam-viewport video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}
.fc-cam-hint {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 16px;
  margin: 0;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: rgba(0,0,0,0.55);
  padding: 10px 12px;
  border-radius: 10px;
}
.fc-cam-actions {
  display: flex;
  justify-content: center;
  padding: 16px;
  background: #1a1a1a;
}
.fc-cam-shutter {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 4px solid #fff;
  background: #e53935;
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(229, 57, 53, 0.25);
}
.fc-cam-shutter:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}
.fc-cam-shutter:not(:disabled):active {
  transform: scale(0.94);
}

.fc-gallery {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: left;
  flex-wrap: wrap;
}
.fc-gallery img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid var(--fc-purple);
}
.fc-filename {
  color: var(--fc-muted);
  font-size: 13px;
  margin: 0 0 10px;
  word-break: break-all;
}

.fc-progress {
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 14px;
}
.fc-progress-done {
  height: 100%;
  background: linear-gradient(90deg, var(--fc-purple), var(--fc-pink));
  animation: fc-pulse 1.2s ease-in-out infinite;
}
@keyframes fc-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.65; }
}

/* Categories */
.fc-searchwhat {
  display: flex;
  justify-content: center;
  gap: 36px;
  margin: 4px auto 22px;
  text-align: left;
}
.fc-searchwhat > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fc-searchwhat > div > div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--fc-text);
  white-space: nowrap;
}
.fc-check { width: 18px; height: 18px; flex-shrink: 0; }
.fc-mobile-cats { display: none; }
.fc-desktop-cats { display: flex; }

/* Magenta CTA */
.fc-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #ff2d78, #e91e63);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 14px 36px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  min-width: min(340px, 92vw);
  box-shadow: 0 4px 18px rgba(233, 30, 99, 0.45);
  margin: 0 0 10px;
  transition: transform 0.12s, filter 0.12s;
}
.fc-search-btn:hover:not(:disabled) {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.fc-search-btn:disabled { opacity: 0.65; cursor: not-allowed; }
.fc-error { color: #ff6b7a; font-weight: 600; margin: 8px 0; }
.fc-status-line { color: var(--fc-muted); font-size: 12px; margin: 0 0 8px; }

/* As seen on */
.fc-as-seen {
  margin: 36px auto 28px;
  max-width: 720px;
}
.fc-as-seen-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #9a94ae;
  font-size: 11px;
  letter-spacing: 0.35em;
  font-weight: 600;
  margin-bottom: 16px;
}
body.light .fc-as-seen-label { color: #80868b; }
.fc-laurel { letter-spacing: 0; font-size: 18px; opacity: 0.7; }
.fc-media-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 28px;
  opacity: 0.55;
  color: #c8c4d6;
  font-weight: 800;
  letter-spacing: 0.02em;
}
body.light .fc-media-logos {
  opacity: 0.7;
  color: #3c4043;
}
.logo-fox { font-size: 22px; font-style: italic; letter-spacing: 0.08em; }
.logo-usa { font-size: 14px; letter-spacing: 0.12em; }
.logo-mw { font-size: 15px; font-family: Georgia, serif; font-weight: 700; }
.logo-bz { font-size: 13px; letter-spacing: 0.06em; }
.logo-dh { font-size: 14px; font-family: Georgia, serif; font-style: italic; }

/* Quote */
.fc-quote {
  position: relative;
  max-width: 640px;
  margin: 0 auto 40px;
  padding: 8px 28px;
  border: 0;
}
.fc-qmark {
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 72px;
  line-height: 1;
  color: rgba(168, 85, 247, 0.35);
  font-family: Georgia, serif;
}
.fc-qmark-end {
  left: auto;
  right: 0;
  top: auto;
  bottom: -30px;
}
.fc-subquote {
  margin: 0;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 3vw, 26px);
  font-style: italic;
  font-weight: 700;
  color: var(--fc-text);
  line-height: 1.35;
}
body.light .fc-subquote {
  font-family: "Courier New", Courier, monospace;
  font-style: normal;
  font-weight: 700;
  color: #202124;
}
body.light .fc-qmark { color: rgba(0, 0, 0, 0.12); }

/* Main text */
.fc-maintext {
  text-align: left;
  max-width: 720px;
  margin: 0 auto 36px;
  color: var(--fc-muted);
  font-size: 15px;
  line-height: 1.6;
}
.fc-maintext section { margin-bottom: 28px; }
.fc-maintext h2 {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px;
}
body.light .fc-maintext h2 { color: #202124; }
body.light .fc-maintext { color: #5f6368; }
.fc-maintext p { margin: 0; }
.fc-maintext ul {
  margin: 8px 0 0;
  padding-left: 22px;
}
.fc-maintext li { margin: 8px 0; }

.fc-split {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: start;
}
.fc-shield-img {
  width: 110px;
  height: 128px;
}

/* Demo */
.fc-demo-title {
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 700;
  margin: 20px 0 16px;
  color: #fff;
}
body.light .fc-demo-title { color: #202124; }
body.light .fc-demo-frame {
  border: 1px solid #dadce0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  background: #f1f3f4;
}
body.light .fc-demo-caption { color: #5f6368; }
.fc-demo { max-width: 640px; margin: 0 auto; }
.fc-demo-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--fc-line);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  background: #1a1a24;
}
.fc-demo-photo {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 50% 35%, #3a3a48 0%, transparent 45%),
    linear-gradient(160deg, #2a2a38, #12121a);
}
.fc-demo-photo::after {
  content: '';
  position: absolute;
  inset: 18% 28% 22%;
  border-radius: 50% 50% 45% 45%;
  background: linear-gradient(180deg, #6b7280, #374151);
  opacity: 0.55;
}
.fc-playdemo {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 20, 28, 0.82);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  backdrop-filter: blur(6px);
}
.fc-play-icon { color: #ef4444; font-size: 12px; }
.fc-demo-caption {
  margin-top: 14px;
  color: var(--fc-muted);
  font-size: 14px;
}

/* Footer */
.fc-footer {
  background: var(--fc-footer);
  padding: 16px 16px 40px;
  color: var(--fc-muted);
  font-size: 13px;
  line-height: 1.55;
}
body.light .fc-footer {
  background: #0b6aa2;
  color: #ffffff;
  padding-top: 16px;
}
body.light .fc-footer .fc-header-glow {
  display: none;
}
.fc-footer-links {
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
  font-weight: 700;
  line-height: 2;
}
.fc-footer-links a { color: var(--fc-text); font-weight: 700; }
body.light .fc-footer-links,
body.light .fc-footer-links a,
body.light .fc-footer-link {
  color: #ffffff;
}
body.light .fc-footer-link { text-decoration: underline; }

/* Shared utils */
.hide { display: none !important; }
.muted { color: var(--fc-muted); }
.error { color: var(--fc-danger); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  background: var(--fc-pink);
  color: #fff;
  min-height: 44px;
  font-family: inherit;
  text-decoration: none;
}
.btn.secondary { background: #3a3550; color: #fff; }
.card {
  background: var(--fc-panel);
  border: 1px solid var(--fc-line);
  border-radius: 12px;
  padding: 18px;
  text-align: left;
}
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 20px; }
.table { width: 100%; border-collapse: collapse; text-align: left; }
.table th, .table td { padding: 10px 8px; border-bottom: 1px solid var(--fc-line); }
.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  background: #2a2540;
  font-size: 12px;
  font-weight: 700;
}
.badge.ok { background: #14372f; color: #7dffd3; }
.badge.fail { background: #3a1b22; color: #ff9aa6; }
.badge.run { background: #2a2a12; color: #ffe08a; }
pre {
  background: var(--fc-panel);
  border: 1px solid var(--fc-line);
  border-radius: 12px;
  padding: 16px;
  overflow: auto;
  font-size: 12px;
  text-align: left;
}
.hero { text-align: center; padding: 20px 0 8px; }
.progress {
  height: 10px;
  background: var(--fc-line);
  border-radius: 999px;
  overflow: hidden;
  margin: 12px 0;
}
.progress > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--fc-purple), var(--fc-pink));
}

/* Results legend + lens */
.fc-colorexplain {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  list-style: none;
  margin: 0 0 20px;
  padding: 12px;
  background: var(--fc-panel);
  border: 1px solid var(--fc-line);
  border-radius: 10px;
}
.fc-colorexplain li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--fc-muted);
}
.fc-dist {
  display: inline-block;
  min-width: 72px;
  text-align: center;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 12px;
  color: #fff;
  background: #6b7280;
}
.fc-dist.green { background: #22a06b; }
.fc-dist.yellow { background: #d4a017; color: #1a1a1a; }
.fc-dist.uncertain { background: #e67e22; }
.fc-never-rely {
  background: #2a2210;
  border: 1px solid #c9a227;
  color: #f0d78a;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 16px;
  text-align: left;
}

.lens-page { color: var(--fc-text); min-height: 60vh; text-align: left; }
.lens-search-wrap { margin-bottom: 20px; }
.lens-search-bar {
  display: flex; align-items: center; gap: 12px;
  background: var(--fc-panel); border: 1px solid var(--fc-line);
  border-radius: 28px; padding: 8px 16px 8px 8px;
}
.lens-thumb-link { flex-shrink: 0; text-decoration: none; }
.lens-thumb {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover; display: block; border: 2px solid var(--fc-pink);
}
.lens-thumb-empty {
  display: flex; align-items: center; justify-content: center;
  background: #1a1a24; font-size: 18px;
}
.lens-search-input {
  flex: 1; background: transparent; border: 0; outline: none;
  color: var(--fc-muted); font-size: 15px; min-width: 0; font-family: inherit;
}
.lens-search-icons { color: var(--fc-muted); }
.lens-loading { text-align: center; padding: 40px 16px; color: var(--fc-muted); }
.lens-progress-track {
  height: 3px; background: var(--fc-line); border-radius: 2px;
  max-width: 320px; margin: 16px auto 8px; overflow: hidden;
}
.lens-progress-fill { height: 100%; background: var(--fc-pink); transition: width 0.4s; }
.google-spinner {
  width: 36px; height: 36px; margin: 0 auto 12px;
  border: 3px solid var(--fc-line); border-top-color: var(--fc-pink);
  border-radius: 50%; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.lens-tabs {
  display: flex; gap: 4px; border-bottom: 1px solid var(--fc-line);
  margin-bottom: 20px; overflow-x: auto;
}
.lens-tab {
  background: none; border: 0; color: var(--fc-muted);
  padding: 12px 16px; font-size: 14px; font-weight: 500;
  cursor: pointer; border-bottom: 3px solid transparent;
  white-space: nowrap; font-family: inherit;
}
.lens-tab.active { color: var(--fc-pink); border-bottom-color: var(--fc-pink); }
.lens-summary { font-size: 13px; color: var(--fc-muted); margin: 0 0 16px; }
.lens-heading { font-size: 22px; font-weight: 400; margin: 0 0 16px; }
.lens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}
.lens-card {
  background: var(--fc-panel); border-radius: 12px; overflow: hidden;
  text-decoration: none; color: inherit; border: 1px solid var(--fc-line);
  display: flex; flex-direction: column;
  transition: transform 0.15s, border-color 0.15s;
}
.lens-card:hover { border-color: var(--fc-pink); transform: translateY(-2px); text-decoration: none; }
.lens-card-image-wrap { position: relative; background: #0d0d0d; }
.lens-card-image { width: 100%; height: 200px; object-fit: cover; display: block; }
.lens-card-no-image {
  display: flex; align-items: center; justify-content: center;
  color: var(--fc-muted); font-size: 13px;
}
.lens-score-pill {
  position: absolute; top: 8px; right: 8px;
  background: rgba(0,0,0,0.72); color: #81c995;
  font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px;
}
.lens-card-meta { padding: 10px 12px 12px; flex: 1; }
.lens-site-row { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.lens-favicon { width: 16px; height: 16px; border-radius: 50%; }
.lens-platform { font-size: 12px; color: var(--fc-muted); font-weight: 600; }
.lens-title {
  margin: 0; font-size: 13px; line-height: 1.35; color: var(--fc-muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.lens-empty {
  padding: 32px 20px; text-align: center;
  background: var(--fc-panel); border-radius: 12px; border: 1px solid var(--fc-line);
}
.lens-empty .btn { margin-top: 16px; }
.lens-testing-note {
  background: #3a2a12; border: 1px solid #c9a227; color: #f0d78a;
  padding: 12px 14px; border-radius: 10px; font-size: 13px; margin-bottom: 16px;
}
.lens-footer-note { margin-top: 24px; font-size: 12px; color: var(--fc-muted); }

/* ── Mobile ── */
@media (max-width: 900px) {
  .fc-hamburger { display: flex; }
  .fc-topmenu { display: none; }
  .fc-mobile-menu { display: block; }
  .fc-wireface {
    opacity: 0.4;
    right: -100px;
    top: 70px;
    width: min(280px, 55vw);
    max-height: 45vh;
  }
  .fc-anon { display: none; }
  .fc-mobile-only { display: inline; }
  .fc-desktop-only { display: none; }
  .fc-mobile-cats { display: flex; gap: 20px; }
  .fc-desktop-cats { display: none; }
  .fc-drop-row { flex-direction: column; text-align: center; }
  .fc-drop-copy { text-align: center; }
  .fc-drop-arrow { right: -8px; }
  .fc-split {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .fc-split ul { text-align: left; }
  .fc-navbar-inner { padding: 8px 10px; gap: 8px; }
  .fc-facecount { font-size: 10px; min-width: 72px; }
  .fc-facecount-num { font-size: 11px; }
  .fc-search-btn { width: 100%; max-width: 400px; }
}

@media (max-width: 420px) {
  .fc-hidetiny { display: none; }
  .fc-facecount { display: none; }
  .fc-brand-nav .fc-brand-text { font-size: 14px; }
  .fc-media-logos { gap: 12px 16px; }
  .logo-bz, .logo-dh { display: none; }
}

/* ── MSISDN login modal ── */
.msisdn-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.msisdn-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(4, 2, 12, 0.72);
  backdrop-filter: blur(6px);
  cursor: pointer;
}
.msisdn-modal {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  background: #15121f;
  border: 1px solid #3b2f5c;
  border-radius: 16px;
  padding: 24px 22px 22px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.55), 0 0 0 1px rgba(168,85,247,0.15);
  color: #f2f2f5;
}
body.light .msisdn-modal {
  background: #fff;
  color: #1a1528;
  border-color: #d4cfe0;
}
.msisdn-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  color: #9a94ae;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.msisdn-steps {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  color: #6b6580;
}
.msisdn-steps .active { color: #e91e63; }
.msisdn-steps .done { color: #4ade80; }
.msisdn-modal h2 {
  margin: 0 0 6px;
  font-size: 22px;
}
.msisdn-sub {
  margin: 0 0 18px;
  color: #9a94ae;
  font-size: 13px;
  line-height: 1.45;
}
.msisdn-form { display: flex; flex-direction: column; gap: 8px; }
.msisdn-label {
  font-size: 12px;
  font-weight: 700;
  color: #c8c4d6;
  margin-top: 6px;
}
.msisdn-select,
.msisdn-input {
  width: 100%;
  border: 1px solid #3b2f5c;
  background: #0e0b16;
  color: #fff;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
}
body.light .msisdn-select,
body.light .msisdn-input {
  background: #f5f3fa;
  color: #1a1528;
  border-color: #d4cfe0;
}
.msisdn-phone-row {
  display: flex;
  align-items: stretch;
  border: 1px solid #3b2f5c;
  border-radius: 10px;
  overflow: hidden;
  background: #0e0b16;
}
body.light .msisdn-phone-row {
  background: #f5f3fa;
  border-color: #d4cfe0;
}
.msisdn-dial {
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-weight: 700;
  color: #e91e63;
  border-right: 1px solid #3b2f5c;
  background: rgba(233,30,99,0.08);
}
.msisdn-phone-row .msisdn-input {
  border: 0;
  border-radius: 0;
  background: transparent;
}
.msisdn-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #c8c4d6;
  margin: 0 0 8px;
}
.msisdn-link {
  border: 0;
  background: none;
  color: #4dd0e1;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
}
.msisdn-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 8px 0 4px;
}
.msisdn-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 12px;
  border: 2px solid #3b2f5c;
  border-radius: 12px;
  cursor: pointer;
  background: #100e18;
  transition: border-color 0.15s, background 0.15s;
}
body.light .msisdn-plan { background: #f8f6fc; border-color: #d4cfe0; }
.msisdn-plan input { position: absolute; opacity: 0; pointer-events: none; }
.msisdn-plan.selected {
  border-color: #e91e63;
  background: rgba(233,30,99,0.12);
  box-shadow: 0 0 0 1px rgba(233,30,99,0.35);
}
.msisdn-plan.popular { padding-top: 22px; }
.msisdn-popular {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #e91e63;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  text-transform: uppercase;
}
.msisdn-plan-title { font-weight: 800; font-size: 15px; }
.msisdn-plan-price { font-size: 22px; font-weight: 800; color: #fff; }
body.light .msisdn-plan-price { color: #1a1528; }
.msisdn-plan-price small { font-size: 12px; font-weight: 600; color: #9a94ae; margin-left: 2px; }
.msisdn-plan-blurb { font-size: 11px; color: #9a94ae; line-height: 1.3; }
.msisdn-btn {
  margin-top: 10px;
  border: 0;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  color: #fff;
  background: linear-gradient(180deg, #ff2d78, #e91e63);
  box-shadow: 0 4px 16px rgba(233,30,99,0.4);
}
.msisdn-btn:hover { filter: brightness(1.05); }
.msisdn-error { color: #ff6b7a; font-size: 13px; font-weight: 600; margin: 4px 0 0; }
.msisdn-fine { margin: 8px 0 0; font-size: 11px; color: #6b6580; text-align: center; }

.fc-nav-btn {
  border: 0;
  background: transparent;
  color: #c8c4d6;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.fc-nav-btn:hover { color: #fff; }
.fc-footer-link {
  border: 0;
  background: none;
  color: var(--fc-text);
  font-weight: 700;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  padding: 0;
}
.fc-footer-link:hover { text-decoration: underline; }
.fc-dropdown-meta {
  padding: 10px 16px 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
  color: var(--fc-muted);
  border-bottom: 1px solid var(--fc-line);
  margin-bottom: 4px;
}
.fc-dropdown-meta strong { color: var(--fc-text); font-size: 13px; }
.fc-dropdown button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--fc-text);
  padding: 10px 16px;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}
.fc-dropdown button:hover { background: rgba(168, 85, 247, 0.15); }

body.light .fc-searchwhat > div > div { color: #3c4043; }
body.light .fc-status-line { color: #80868b; }
body.light .fc-hamburger span { background: #202124; }
body.light .fc-mobile-menu {
  background: #fff;
  border-top: 1px solid #e5e7eb;
}
body.light .fc-mobile-menu a,
body.light .fc-menu-theme { color: #202124; }
body.light .fc-dropdown {
  background: #fff;
  border-color: #dadce0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
body.light .fc-brand-check { color: #1a73e8; }
body.light .fc-brand-id { color: #1a73e8; }
body.light .fc-brand-face { color: #e53935; }
body.light .fc-logo-box { border-color: #1a73e8; }
body.light .fc-drop-icon svg rect { stroke: #9aa0a6; }
body.light .fc-drop-icon svg path,
body.light .fc-drop-icon svg circle { fill: #9aa0a6; }
body.light .fc-shield-img path[fill="#8fa4bc"] { fill: #c5dceb; }
body.light .fc-shield-img path[stroke="#9eb4cc"] { stroke: #90b4cc; }
body.light .fc-shield-img [fill="#c5d4e4"] { fill: #5a7a94; }
body.light a { color: #0b6aa2; }

@media (max-width: 420px) {
  .msisdn-plans { grid-template-columns: 1fr; }
}
