/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.5.19_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!../../node_modules/.pnpm/next@15.5.19_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --app-font-sans: 'Inter', sans-serif;
  --app-font-serif: Georgia, serif;
  --app-font-mono: Menlo, monospace;
  --content-max-width: 1280px;
  --search-max-width: 560px;
  --page-bg: #ffffff;
  --radius: .5rem;
  --background: 0 0% 100%;
  --foreground: 224 18% 16%;
  --border: 220 14% 90%;
  --primary: 248 84% 60%;
  --primary-foreground: 0 0% 100%;
  --muted: 220 14% 95%;
  --muted-foreground: 220 10% 50%;
  --destructive: 0 72% 51%;
  --ring: 248 84% 60%;
  --bottom-nav-bg: #000000;
  --bottom-nav-height: calc(45px + 1.1rem + env(safe-area-inset-bottom, 0px));
}

html, body {
  overscroll-behavior-y: none;
  touch-action: pan-x pan-y;
  font-family: var(--app-font-sans, 'Inter', sans-serif);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #ffffff;
  color: #1e2235;
}

html {
  scroll-behavior: smooth;
}

@media (max-width: 1300px) and (min-width: 1201px) {
@keyframes labs-bot-follow-path {
  0%, 6.2% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
  50%, 56.2% { transform: translate3d(var(--labs-bot-right-wait), 0, 0); }
  100% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
}
@keyframes labs-bot-leg-visibility {
  0% { opacity: 0; }
  6.2% { opacity: 1; }
  50% { opacity: 0; }
  56.2% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes labs-bot-rest-visibility {
  0% { opacity: 1; }
  6.2% { opacity: 0; }
  50% { opacity: 1; }
  56.2% { opacity: 0; }
  100% { opacity: 1; }
}
}
@media (max-width: 1200px) and (min-width: 1101px) {
@keyframes labs-bot-follow-path {
  0%, 6.8% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
  50%, 56.8% { transform: translate3d(var(--labs-bot-right-wait), 0, 0); }
  100% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
}
@keyframes labs-bot-leg-visibility {
  0% { opacity: 0; }
  6.8% { opacity: 1; }
  50% { opacity: 0; }
  56.8% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes labs-bot-rest-visibility {
  0% { opacity: 1; }
  6.8% { opacity: 0; }
  50% { opacity: 1; }
  56.8% { opacity: 0; }
  100% { opacity: 1; }
}
}
@media (max-width: 1100px) and (min-width: 1001px) {
@keyframes labs-bot-follow-path {
  0%, 7.5% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
  50%, 57.5% { transform: translate3d(var(--labs-bot-right-wait), 0, 0); }
  100% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
}
@keyframes labs-bot-leg-visibility {
  0% { opacity: 0; }
  7.5% { opacity: 1; }
  50% { opacity: 0; }
  57.5% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes labs-bot-rest-visibility {
  0% { opacity: 1; }
  7.5% { opacity: 0; }
  50% { opacity: 1; }
  57.5% { opacity: 0; }
  100% { opacity: 1; }
}
}
@media (max-width: 1000px) and (min-width: 901px) {
@keyframes labs-bot-follow-path {
  0%, 8.5% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
  50%, 58.5% { transform: translate3d(var(--labs-bot-right-wait), 0, 0); }
  100% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
}
@keyframes labs-bot-leg-visibility {
  0% { opacity: 0; }
  8.5% { opacity: 1; }
  50% { opacity: 0; }
  58.5% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes labs-bot-rest-visibility {
  0% { opacity: 1; }
  8.5% { opacity: 0; }
  50% { opacity: 1; }
  58.5% { opacity: 0; }
  100% { opacity: 1; }
}
}
@media (max-width: 900px) and (min-width: 801px) {
@keyframes labs-bot-follow-path {
  0%, 9.8% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
  50%, 59.8% { transform: translate3d(var(--labs-bot-right-wait), 0, 0); }
  100% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
}
@keyframes labs-bot-leg-visibility {
  0% { opacity: 0; }
  9.8% { opacity: 1; }
  50% { opacity: 0; }
  59.8% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes labs-bot-rest-visibility {
  0% { opacity: 1; }
  9.8% { opacity: 0; }
  50% { opacity: 1; }
  59.8% { opacity: 0; }
  100% { opacity: 1; }
}
}
@media (max-width: 800px) and (min-width: 761px) {
@keyframes labs-bot-follow-path {
  0%, 11.3% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
  50%, 61.3% { transform: translate3d(var(--labs-bot-right-wait), 0, 0); }
  100% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
}
@keyframes labs-bot-leg-visibility {
  0% { opacity: 0; }
  11.3% { opacity: 1; }
  50% { opacity: 0; }
  61.3% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes labs-bot-rest-visibility {
  0% { opacity: 1; }
  11.3% { opacity: 0; }
  50% { opacity: 1; }
  61.3% { opacity: 0; }
  100% { opacity: 1; }
}
}
@media (max-width: 760px) and (min-width: 701px) {
@keyframes labs-bot-follow-path {
  0%, 8.4% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
  50%, 58.4% { transform: translate3d(var(--labs-bot-right-wait), 0, 0); }
  100% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
}
@keyframes labs-bot-leg-visibility {
  0% { opacity: 0; }
  8.4% { opacity: 1; }
  50% { opacity: 0; }
  58.4% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes labs-bot-rest-visibility {
  0% { opacity: 1; }
  8.4% { opacity: 0; }
  50% { opacity: 1; }
  58.4% { opacity: 0; }
  100% { opacity: 1; }
}
}
@media (max-width: 700px) and (min-width: 641px) {
@keyframes labs-bot-follow-path {
  0%, 9.3% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
  50%, 59.3% { transform: translate3d(var(--labs-bot-right-wait), 0, 0); }
  100% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
}
@keyframes labs-bot-leg-visibility {
  0% { opacity: 0; }
  9.3% { opacity: 1; }
  50% { opacity: 0; }
  59.3% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes labs-bot-rest-visibility {
  0% { opacity: 1; }
  9.3% { opacity: 0; }
  50% { opacity: 1; }
  59.3% { opacity: 0; }
  100% { opacity: 1; }
}
}
@media (max-width: 640px) and (min-width: 621px) {
@keyframes labs-bot-follow-path {
  0%, 9.9% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
  50%, 59.9% { transform: translate3d(var(--labs-bot-right-wait), 0, 0); }
  100% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
}
@keyframes labs-bot-leg-visibility {
  0% { opacity: 0; }
  9.9% { opacity: 1; }
  50% { opacity: 0; }
  59.9% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes labs-bot-rest-visibility {
  0% { opacity: 1; }
  9.9% { opacity: 0; }
  50% { opacity: 1; }
  59.9% { opacity: 0; }
  100% { opacity: 1; }
}
}
@media (max-width: 620px) and (min-width: 601px) {
@keyframes labs-bot-follow-path {
  0%, 10.3% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
  50%, 60.3% { transform: translate3d(var(--labs-bot-right-wait), 0, 0); }
  100% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
}
@keyframes labs-bot-leg-visibility {
  0% { opacity: 0; }
  10.3% { opacity: 1; }
  50% { opacity: 0; }
  60.3% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes labs-bot-rest-visibility {
  0% { opacity: 1; }
  10.3% { opacity: 0; }
  50% { opacity: 1; }
  60.3% { opacity: 0; }
  100% { opacity: 1; }
}
}
@media (max-width: 600px) and (min-width: 581px) {
@keyframes labs-bot-follow-path {
  0%, 10.7% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
  50%, 60.7% { transform: translate3d(var(--labs-bot-right-wait), 0, 0); }
  100% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
}
@keyframes labs-bot-leg-visibility {
  0% { opacity: 0; }
  10.7% { opacity: 1; }
  50% { opacity: 0; }
  60.7% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes labs-bot-rest-visibility {
  0% { opacity: 1; }
  10.7% { opacity: 0; }
  50% { opacity: 1; }
  60.7% { opacity: 0; }
  100% { opacity: 1; }
}
}
@media (max-width: 580px) and (min-width: 561px) {
@keyframes labs-bot-follow-path {
  0%, 11.1% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
  50%, 61.1% { transform: translate3d(var(--labs-bot-right-wait), 0, 0); }
  100% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
}
@keyframes labs-bot-leg-visibility {
  0% { opacity: 0; }
  11.1% { opacity: 1; }
  50% { opacity: 0; }
  61.1% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes labs-bot-rest-visibility {
  0% { opacity: 1; }
  11.1% { opacity: 0; }
  50% { opacity: 1; }
  61.1% { opacity: 0; }
  100% { opacity: 1; }
}
}
@media (max-width: 560px) and (min-width: 541px) {
@keyframes labs-bot-follow-path {
  0%, 11.5% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
  50%, 61.5% { transform: translate3d(var(--labs-bot-right-wait), 0, 0); }
  100% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
}
@keyframes labs-bot-leg-visibility {
  0% { opacity: 0; }
  11.5% { opacity: 1; }
  50% { opacity: 0; }
  61.5% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes labs-bot-rest-visibility {
  0% { opacity: 1; }
  11.5% { opacity: 0; }
  50% { opacity: 1; }
  61.5% { opacity: 0; }
  100% { opacity: 1; }
}
}
@media (max-width: 540px) and (min-width: 521px) {
@keyframes labs-bot-follow-path {
  0%, 12.0% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
  50%, 62.0% { transform: translate3d(var(--labs-bot-right-wait), 0, 0); }
  100% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
}
@keyframes labs-bot-leg-visibility {
  0% { opacity: 0; }
  12.0% { opacity: 1; }
  50% { opacity: 0; }
  62.0% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes labs-bot-rest-visibility {
  0% { opacity: 1; }
  12.0% { opacity: 0; }
  50% { opacity: 1; }
  62.0% { opacity: 0; }
  100% { opacity: 1; }
}
}
@media (max-width: 520px) and (min-width: 501px) {
@keyframes labs-bot-follow-path {
  0%, 12.5% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
  50%, 62.5% { transform: translate3d(var(--labs-bot-right-wait), 0, 0); }
  100% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
}
@keyframes labs-bot-leg-visibility {
  0% { opacity: 0; }
  12.5% { opacity: 1; }
  50% { opacity: 0; }
  62.5% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes labs-bot-rest-visibility {
  0% { opacity: 1; }
  12.5% { opacity: 0; }
  50% { opacity: 1; }
  62.5% { opacity: 0; }
  100% { opacity: 1; }
}
}
@media (max-width: 500px) and (min-width: 481px) {
@keyframes labs-bot-follow-path {
  0%, 13.0% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
  50%, 63.0% { transform: translate3d(var(--labs-bot-right-wait), 0, 0); }
  100% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
}
@keyframes labs-bot-leg-visibility {
  0% { opacity: 0; }
  13.0% { opacity: 1; }
  50% { opacity: 0; }
  63.0% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes labs-bot-rest-visibility {
  0% { opacity: 1; }
  13.0% { opacity: 0; }
  50% { opacity: 1; }
  63.0% { opacity: 0; }
  100% { opacity: 1; }
}
}
@media (max-width: 480px) and (min-width: 461px) {
@keyframes labs-bot-follow-path {
  0%, 13.6% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
  50%, 63.6% { transform: translate3d(var(--labs-bot-right-wait), 0, 0); }
  100% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
}
@keyframes labs-bot-leg-visibility {
  0% { opacity: 0; }
  13.6% { opacity: 1; }
  50% { opacity: 0; }
  63.6% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes labs-bot-rest-visibility {
  0% { opacity: 1; }
  13.6% { opacity: 0; }
  50% { opacity: 1; }
  63.6% { opacity: 0; }
  100% { opacity: 1; }
}
}
@media (max-width: 460px) and (min-width: 441px) {
@keyframes labs-bot-follow-path {
  0%, 14.3% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
  50%, 64.3% { transform: translate3d(var(--labs-bot-right-wait), 0, 0); }
  100% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
}
@keyframes labs-bot-leg-visibility {
  0% { opacity: 0; }
  14.3% { opacity: 1; }
  50% { opacity: 0; }
  64.3% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes labs-bot-rest-visibility {
  0% { opacity: 1; }
  14.3% { opacity: 0; }
  50% { opacity: 1; }
  64.3% { opacity: 0; }
  100% { opacity: 1; }
}
}
@media (max-width: 440px) and (min-width: 421px) {
@keyframes labs-bot-follow-path {
  0%, 15.0% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
  50%, 65.0% { transform: translate3d(var(--labs-bot-right-wait), 0, 0); }
  100% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
}
@keyframes labs-bot-leg-visibility {
  0% { opacity: 0; }
  15.0% { opacity: 1; }
  50% { opacity: 0; }
  65.0% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes labs-bot-rest-visibility {
  0% { opacity: 1; }
  15.0% { opacity: 0; }
  50% { opacity: 1; }
  65.0% { opacity: 0; }
  100% { opacity: 1; }
}
}
@media (max-width: 420px) and (min-width: 401px) {
@keyframes labs-bot-follow-path {
  0%, 15.8% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
  50%, 65.8% { transform: translate3d(var(--labs-bot-right-wait), 0, 0); }
  100% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
}
@keyframes labs-bot-leg-visibility {
  0% { opacity: 0; }
  15.8% { opacity: 1; }
  50% { opacity: 0; }
  65.8% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes labs-bot-rest-visibility {
  0% { opacity: 1; }
  15.8% { opacity: 0; }
  50% { opacity: 1; }
  65.8% { opacity: 0; }
  100% { opacity: 1; }
}
}
@media (max-width: 400px) and (min-width: 381px) {
@keyframes labs-bot-follow-path {
  0%, 17.8% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
  50%, 67.8% { transform: translate3d(var(--labs-bot-right-wait), 0, 0); }
  100% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
}
@keyframes labs-bot-leg-visibility {
  0% { opacity: 0; }
  17.8% { opacity: 1; }
  50% { opacity: 0; }
  67.8% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes labs-bot-rest-visibility {
  0% { opacity: 1; }
  17.8% { opacity: 0; }
  50% { opacity: 1; }
  67.8% { opacity: 0; }
  100% { opacity: 1; }
}
}
@media (max-width: 380px) and (min-width: 361px) {
@keyframes labs-bot-follow-path {
  0%, 19.1% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
  50%, 69.1% { transform: translate3d(var(--labs-bot-right-wait), 0, 0); }
  100% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
}
@keyframes labs-bot-leg-visibility {
  0% { opacity: 0; }
  19.1% { opacity: 1; }
  50% { opacity: 0; }
  69.1% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes labs-bot-rest-visibility {
  0% { opacity: 1; }
  19.1% { opacity: 0; }
  50% { opacity: 1; }
  69.1% { opacity: 0; }
  100% { opacity: 1; }
}
}
@media (max-width: 360px) and (min-width: 341px) {
@keyframes labs-bot-follow-path {
  0%, 20.5% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
  50%, 70.5% { transform: translate3d(var(--labs-bot-right-wait), 0, 0); }
  100% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
}
@keyframes labs-bot-leg-visibility {
  0% { opacity: 0; }
  20.5% { opacity: 1; }
  50% { opacity: 0; }
  70.5% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes labs-bot-rest-visibility {
  0% { opacity: 1; }
  20.5% { opacity: 0; }
  50% { opacity: 1; }
  70.5% { opacity: 0; }
  100% { opacity: 1; }
}
}
@media (max-width: 340px) and (min-width: 321px) {
@keyframes labs-bot-follow-path {
  0%, 22.3% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
  50%, 72.3% { transform: translate3d(var(--labs-bot-right-wait), 0, 0); }
  100% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
}
@keyframes labs-bot-leg-visibility {
  0% { opacity: 0; }
  22.3% { opacity: 1; }
  50% { opacity: 0; }
  72.3% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes labs-bot-rest-visibility {
  0% { opacity: 1; }
  22.3% { opacity: 0; }
  50% { opacity: 1; }
  72.3% { opacity: 0; }
  100% { opacity: 1; }
}
}
@media (max-width: 320px) {
@keyframes labs-bot-follow-path {
  0%, 23.3% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
  50%, 73.3% { transform: translate3d(var(--labs-bot-right-wait), 0, 0); }
  100% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
}
@keyframes labs-bot-leg-visibility {
  0% { opacity: 0; }
  23.3% { opacity: 1; }
  50% { opacity: 0; }
  73.3% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes labs-bot-rest-visibility {
  0% { opacity: 1; }
  23.3% { opacity: 0; }
  50% { opacity: 1; }
  73.3% { opacity: 0; }
  100% { opacity: 1; }
}
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

html[data-theme="dark"], html[data-theme="dark"] body {
  background: #14032D;
  color: #f5f3ff;
}

html[data-theme="dark"] {
  --page-bg: #14032D;
  --bottom-nav-bg: #000000;
}

.bot-embed-page {
  width: 100%;
  height: 100dvh;
  overflow: hidden;
}

.bot-embed-page > div {
  width: 100%;
  height: 100%;
}

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

input[type="search"]::-webkit-search-cancel-button { display: none; }

/* ===== PAGE ===== */
.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #ffffff;
  color: #1e2235;
  padding-bottom: var(--bottom-nav-height);
}

html[data-theme="dark"] .page {
  background: #14032D;
  color: #f5f3ff;
}

html[data-theme="dark"] .navbar,
html[data-theme="dark"] .navbar-sticky-search {
  background: #000;
}

html[data-theme="dark"] .navbar::after,
html[data-theme="dark"] .navbar-sticky-search::after {
  background: linear-gradient(to bottom, #000, transparent);
}

/* ===== NAVBAR ===== */
.navbar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  overflow: visible;
}
.navbar::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 3px);
  height: 28px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.80), transparent);
  pointer-events: none;
  z-index: 99;
}

/* ===== STICKY SEARCH BAR ===== */
@keyframes sticky-drop-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.navbar-sticky-search {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 52px;
  z-index: 200;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 70px;
  animation: sticky-drop-in 0.18s ease;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.navbar-sticky-search::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 28px;
  background: linear-gradient(to bottom, #000, transparent);
  pointer-events: none;
}

.navbar-sticky-media {
  position: fixed;
  top: 52px;
  left: 0;
  right: 0;
  height: 370px;
  z-index: 4999;
  padding: 8px 1rem 10px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.96);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  animation: sticky-media-drop-in 0.2s ease;
}

@keyframes sticky-media-drop-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sticky-media-frame {
  position: relative;
  width: min(1200px, 100%);
  height: 100%;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(10, 14, 15, 0.86);
  box-shadow: 0 5px 22px rgba(0, 0, 0, 0.24);
  touch-action: pan-y;
}

.sticky-media-frame-clickable {
  cursor: pointer;
}

.sticky-media-frame-clickable:focus-visible {
  outline: 2px solid #00e36b;
  outline-offset: 2px;
}

.sticky-media-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: sticky-media-image-in 0.28s ease;
}

.sticky-media-identity {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  max-width: calc(100% - 20px);
  padding: 0.2rem;
  color: #fff;
  font-size: 0.78rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.sticky-media-identity-logo {
  display: flex;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 0.9rem;
}

.sticky-media-identity-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sticky-media-identity strong {
  overflow: hidden;
  font-size: 1.1rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes sticky-media-image-in {
  from {
    opacity: 0;
    transform: scale(1.02);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.sticky-media-empty {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
}

.sticky-media-empty-icon {
  color: #00e36b;
  font-size: 1.35rem;
}

.sticky-media-gallery-controls {
  position: absolute;
  left: 50%;
  right: auto;
  width: min(1200px, calc(100% - 2rem));
  transform: translateX(-50%);
  bottom: 3px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.38rem;
  pointer-events: none;
}

.sticky-media-chat-hint {
  padding: 0.4rem 0.55rem;
  transform: translateY(-10px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.48);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.15;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

.sticky-media-chat-hint-mobile {
  display: none;
}

.sticky-media-chat-hint-desktop {
  display: inline-flex;
  max-width: min(80vw, 560px);
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  cursor: pointer;
  font-family: inherit;
  white-space: normal;
  text-align: center;
}

.sticky-media-chat-hint-desktop:hover {
  background: rgba(0, 0, 0, 0.7);
}

.sticky-media-chat-hint-desktop:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.sticky-media-pagination {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 3px;
}

.sticky-media-pagination-segment {
  min-width: 0;
  height: 2px;
  flex: 1 1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  transition: background-color 0.18s ease;
}

.sticky-media-pagination-segment.is-active {
  background: #fff;
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
}

@media (max-width: 600px) {
  .navbar-sticky-media {
    height: 290px;
    padding: 6px 0.7rem 8px;
  }

  .sticky-media-gallery-controls {
    width: calc(100% - 1.4rem);
  }

  .sticky-media-frame {
    border-radius: 8px;
  }

  .sticky-media-chat-hint-desktop {
    display: none;
  }

  .sticky-media-chat-hint-mobile {
    display: inline-flex;
  }

  .sticky-media-identity {
    top: 7px;
    left: 7px;
    max-width: calc(100% - 14px);
    font-size: 0.7rem;
  }

  .sticky-media-identity strong {
    font-size: 1rem;
  }

  .sticky-media-identity-logo {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }
}

.sticky-logo {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  white-space: nowrap;
}

.sticky-search-center {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(560px, 60vw);
}

.sticky-right-spacer {}

.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-tagline {
  font-size: 0.875rem;
  color: #6b6e8a;
  font-weight: 400;
}

.navbar-learn {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  border: 1px solid #d4b8ff;
  background: #14032D;
  transition: all 0.15s;
}
.navbar-learn:hover {
  background: #14032D;
  border-color: #b8aff0;
}

/* ===== LOGO (above search bar) ===== */
.logo {
  position: relative;
  display: inline-block;
  max-width: min(600px, calc(100vw - 120px));
  text-decoration: none;
  margin-bottom: 0.75rem;
  line-height: 1;
  max-height: 80px;
  opacity: 1;
  overflow: visible;
  transition: max-height 0.3s ease, opacity 0.25s ease, margin-bottom 0.3s ease;
}

.logo-text {
  display: inline-block;
  white-space: nowrap;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-beta {
  position: absolute;
  top: -0.2rem;
  right: -1.7rem;
  padding: 0.2rem 0.4rem;
  border: 1px solid #000000;
  border-radius: 4px;
  background: #000000;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
}

.home-splash-screen {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: hidden;
  background: #000;
  color: #fff;
  overscroll-behavior: contain;
}

.home-splash-screen--fade-out {
  animation: home-splash-screen-out 180ms ease-in forwards;
}

.home-splash-brand {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: calc(100vw - 48px);
  gap: 0;
  transform: translate(-50%, -50%);
}

.home-splash-bot {
  display: block;
  width: clamp(52px, 14vw, 76px);
  flex: 0 0 auto;
  opacity: 0;
  animation: home-splash-mark-in 180ms ease-out both;
  will-change: opacity;
}

.home-splash-bot svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.home-splash-brand--shift,
.home-splash-brand--typing {
  gap: clamp(12px, 3vw, 22px);
  transition: gap 160ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.home-splash-wordmark {
  display: block;
  width: max-content;
  max-width: 0;
  overflow: hidden;
  -webkit-clip-path: inset(0 100% 0 0);
          clip-path: inset(0 100% 0 0);
  opacity: 0;
  color: #fff;
  font-size: clamp(3rem, 11vw, 5.25rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 1;
  white-space: nowrap;
  transition: max-width 160ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.home-splash-brand--shift .home-splash-wordmark,
.home-splash-brand--typing .home-splash-wordmark {
  max-width: calc(100vw - 112px);
}

.home-splash-brand--typing .home-splash-wordmark {
  opacity: 1;
  animation: home-splash-wordmark-type 340ms steps(7, end) both;
}

@keyframes home-splash-mark-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes home-splash-wordmark-type {
  from { -webkit-clip-path: inset(0 100% 0 0); clip-path: inset(0 100% 0 0); }
  to { -webkit-clip-path: inset(0 0 0 0); clip-path: inset(0 0 0 0); }
}

@keyframes home-splash-screen-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .home-splash-bot {
    opacity: 1;
    animation: none;
    will-change: auto;
  }

  .home-splash-bot svg,
  .home-splash-bot svg * {
    animation: none !important;
  }

  .home-splash-brand--typing {
    gap: clamp(12px, 3vw, 22px);
    transition: none;
  }

  .home-splash-brand--typing .home-splash-wordmark {
    max-width: calc(100vw - 112px);
    opacity: 1;
    -webkit-clip-path: none;
            clip-path: none;
    animation: none;
    transition: none;
  }

  .home-splash-screen--fade-out {
    opacity: 0;
    animation: none;
  }
}

html[data-theme="dark"] .logo-text,
html[data-theme="dark"] .sticky-logo {
  background: none;
  -webkit-text-fill-color: #ffffff;
  color: #ffffff;
}

html[data-theme="dark"] .yappler-icon-label {
  color: #ffffff;
}

/* ===== CLICK-TO-MOVE RIPPLE ===== */
.click-ripple {
  position: absolute;
  width: 0;
  height: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 20;
  animation: click-ripple-anim 0.65s ease-out forwards;
}

@keyframes click-ripple-anim {
  0% {
    width: 0px;
    height: 0px;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.85),
                0 0 0 6px rgba(245, 158, 11, 0.4);
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 0 14px rgba(245, 158, 11, 0.45),
                0 0 0 22px rgba(245, 158, 11, 0.15);
    opacity: 1;
  }
  100% {
    width: 0px;
    height: 0px;
    box-shadow: 0 0 0 28px rgba(245, 158, 11, 0),
                0 0 0 42px rgba(245, 158, 11, 0);
    opacity: 0;
  }
}

@keyframes logo-marquee {
  0%, 12%  { transform: translateX(0); }
  88%, 100% { transform: translateX(var(--logo-dist, 0px)); }
}

.logo-scrolling {
  animation: logo-marquee 2.8s ease-in-out forwards;
}

.logo-hidden {
  max-height: 0;
  opacity: 0;
  margin-bottom: 0;
  pointer-events: none;
}

.btn-login {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1.25rem;
  border-radius: 8px;
  border: 1px solid #d4d0f5;
  background: #f5f4ff;
  color: #6d4ed8;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}
.btn-login:hover {
  background: #ede9ff;
  border-color: #b8aff0;
  color: #5b3cc4;
}

/* ===== TOP OPTIONS ===== */
.top-options-shell {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 202;
  pointer-events: none;
}

.top-options-inner {
  position: relative;
  width: 100%;
  max-width: var(--content-max-width);
  height: 70px;
  margin: 0 auto;
}

/* ===== YAPPLER BOT BUTTON (top-left) ===== */
.yappler-icon-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  pointer-events: auto;
  padding: 4px 6px 3px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  transition: transform 0.15s;
}
.yappler-icon-btn:hover { transform: scale(1.08); }

.yappler-icon-label {
  font-size: 0.6rem;
  font-weight: 700;
  color: #7c3aed;
  letter-spacing: 0.01em;
  line-height: 1;
}

.top-language-control {
  position: absolute;
  top: 4px;
  right: 7px;
  width: 34px;
  height: 47px;
  min-height: 47px;
  box-sizing: border-box;
  z-index: 6000;
  pointer-events: auto;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.top-language-trigger {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 34px;
  min-width: 34px;
  height: 47px;
  min-height: 47px;
  box-sizing: border-box;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 4px 6px 3px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--yappler-text);
  font: inherit;
  font-size: 0.6rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  cursor: pointer;
}

.top-language-trigger-content {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  pointer-events: none;
}

.top-language-code {
  position: relative;
  top: 6px;
}

.top-language-trigger .top-language-globe {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  flex: 0 0 20px;
  margin-top: 5px;
  margin-left: 5px;
  color: currentColor;
  pointer-events: none;
}

.top-language-trigger .top-language-globe svg {
  width: 100%;
  height: 100%;
}

.top-language-trigger .dropdown-chevron {
  display: none;
}

.top-language-dropdown {
  position: absolute;
  top: calc(100% + 0.3rem);
  right: 0;
  width: 280px;
  margin-top: 0;
}

.top-language-dropdown .dropdown-item {
  white-space: normal;
  line-height: 1.3;
}

.top-language-trigger:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 2px;
}

/* ===== PROFILE POPUP ===== */
@keyframes popup-in {
  from { opacity: 0; transform: translate(-50%, -46%) scale(0.97); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes neon-shimmer {
  0%   { filter: brightness(1) saturate(1); }
  50%  { filter: brightness(1.18) saturate(1.2); }
  100% { filter: brightness(1) saturate(1); }
}

.profile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
  z-index: 9001;
}
.profile-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9002;
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem;
  width: min(430px, calc(100vw - 1.5rem));
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  animation: popup-in 0.22s cubic-bezier(0.34,1.56,0.64,1) forwards;
}

.profile-preferences {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 0.7rem;
  gap: 0.7rem;
}

.preference-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.preference-field label,
.preference-label {
  color: #6b6e8a;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.preference-field select {
  width: 100%;
  min-height: 40px;
  border: 1px solid #e2e0ec;
  border-radius: 9px;
  background: #fff;
  color: #1e2235;
  padding: 0 0.65rem;
  font: inherit;
  font-size: 0.82rem;
}

.theme-switcher {
  display: flex;
  min-height: 40px;
  padding: 3px;
  gap: 3px;
  border-radius: 9px;
  background: #f1eff7;
}

.theme-option {
  flex: 1 1;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #6b6e8a;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
}

.theme-option.active {
  background: #fff;
  color: #6d28d9;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

html[data-theme="dark"] .profile-popup {
  background: #14032D;
  color: #f5f3ff;
  box-shadow: 0 24px 64px rgba(0,0,0,0.42), 0 0 0 1px rgba(255,255,255,0.08);
}

html[data-theme="dark"] .preference-field label,
html[data-theme="dark"] .preference-label {
  color: #c4b5fd;
}

html[data-theme="dark"] .preference-field select {
  border-color: #4c3671;
  background: #14032D;
  color: #f5f3ff;
}

html[data-theme="dark"] .theme-switcher {
  background: #14032D;
}

html[data-theme="dark"] .theme-option {
  color: #c4b5fd;
}

html[data-theme="dark"] .theme-option.active {
  background: #14032D;
  color: #fff;
}

html[data-theme="dark"] .login-section {
  background: transparent;
  border-color: #4c3671;
}

html[data-theme="dark"] .login-benefits li {
  color: #ddd6fe;
}

.profile-avatar-wrap {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #14032D;
  margin: 0 auto 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(#14032D, #14032D),
    conic-gradient(from 0deg, #f43f5e, #ec4899, #a855f7, #3b82f6, #06b6d4, #10b981, #f59e0b, #f43f5e 324deg, #e2e8f0 324deg);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border: 3px solid transparent;
}

.profile-cta {
  display: flex;
  width: 100%;
  justify-content: center;
  padding: 0.5rem 0 0.2rem;
}

.profile-cta .build-bot-btn {
  width: calc(100% + 50px);
}

.build-bot-btn {
  display: inline-flex;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.2rem;
  border-radius: 12px;
  background: #000;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.build-bot-walking {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  width: 20px;
  height: 22px;
  flex: 0 0 20px;
  pointer-events: none;
}

@media (max-width: 640px) {
  .build-bot-btn {
    display: flex;
    justify-content: space-between;
    padding: 0.65rem 0.9rem;
  }
}
.build-bot-btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

@media (min-width: 641px) {
  .build-bot-text-main {
    white-space: normal;
  }

.build-bot-text-now {
  -webkit-text-decoration-line: underline;
          text-decoration-line: underline;
  -webkit-text-decoration-color: #00e36b;
          text-decoration-color: #00e36b;
  text-decoration-thickness: 3px;
  text-underline-offset: 3px;
  -webkit-text-decoration-skip: ink;
          text-decoration-skip-ink: auto;
}
}

.build-bot-divider {
  width: 1px;
  height: 1.4em;
  background: rgba(255,255,255,0.25);
  flex-shrink: 0;
}

.build-bot-text-right {
  display: flex;
  width: 116px;
  min-width: 116px;
  flex: 0 0 116px;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  line-height: 1.3;
}

.build-bot-status {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 600;
  color: #e2e8f0;
}

.build-bot-time {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 500;
  color: #94a3b8;
}

.build-bot-time--progress {
  color: #16a34a;
}

/* ===== LOGIN SECTION ===== */
.login-section {
  background: transparent;
  border: 0;
  border-radius: 12px;
  padding: 0.2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.login-heading {
  font-size: 0.82rem;
  font-weight: 700;
  color: #6d28d9;
  margin: 0;
}

.login-benefits {
  margin: 0;
  padding: 0.1rem 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: nowrap;
}

.login-benefit-sticker {
  min-width: 0;
  min-height: 4.1rem;
  padding: 0.35rem 0.55rem;
  display: inline-flex;
  flex: 1 1;
  max-width: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 0;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  background: transparent;
}

.login-benefit-icon {
  width: 3.2rem;
  height: 3.2rem;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background-image: url("/search-bubble.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  filter: drop-shadow(0 5px 8px rgba(124, 58, 237, 0.26));
  animation: login-benefit-float 6.2s ease-in-out infinite;
  will-change: transform;
}

.login-benefit-sticker > span:last-child {
  white-space: nowrap;
  color: #fff;
  text-shadow: 0 1px 4px rgba(20, 3, 45, 0.75);
}

.login-benefit-icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

@keyframes login-benefit-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-2deg); }
  22% { transform: translate3d(1px, -3px, 0) rotate(1deg); }
  48% { transform: translate3d(-2px, -5px, 0) rotate(3deg); }
  74% { transform: translate3d(2px, -1px, 0) rotate(-1deg); }
}

.login-benefit-sticker:nth-child(2) .login-benefit-icon {
  animation-duration: 7.1s;
  animation-delay: -2.2s;
}

.login-benefit-sticker:nth-child(3) .login-benefit-icon {
  animation-duration: 5.7s;
  animation-delay: -4.1s;
}

@media (prefers-reduced-motion: reduce) {
  .login-benefit-icon {
    animation: none;
  }
}

@media (max-width: 420px) {
  .login-benefits {
    gap: 0.35rem;
  }

  .login-benefit-sticker {
    min-height: 3.75rem;
    padding-inline: 0.15rem;
    gap: 0.25rem;
    font-size: 0.6rem;
  }

  .login-benefit-icon {
    width: 2.5rem;
    height: 2.5rem;
  }

  .login-benefit-icon svg {
    width: 1.4rem;
    height: 1.4rem;
  }
}

.login-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.1rem;
}

.login-benefits + .login-actions {
  margin-top: 7px;
}

.login-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.1s;
  cursor: pointer;
  min-height: 44px;
}

.login-btn:hover { opacity: 0.88; transform: translateY(-1px); }

.login-btn-primary {
  background: #7c3aed;
  color: #fff;
}

.login-btn-secondary {
  background: #fff;
  color: #7c3aed;
  border: 1.5px solid #c4b5fd;
}

.login-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.login-btn-primary:is(button),
.login-btn-secondary:is(button) {
  font-family: inherit;
  outline: none;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.login-form input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1.5px solid #e5e7eb;
  font-size: 0.95rem;
  color: #111827;
  outline: none;
  background: #fff;
  transition: border-color 0.15s;
  font-family: inherit;
  min-height: 44px;
  box-sizing: border-box;
}
.login-form input:focus {
  border-color: #a855f7;
}

.login-error {
  font-size: 0.78rem;
  color: #dc2626;
  margin: 0;
}

.login-heading--success {
  color: #059669;
}

/* Build Your Bot */
.build-bot-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
}
.build-bot-fill {
  position: absolute;
  left: 0; top: 0;
  width: 90%;
  height: 100%;
  background: linear-gradient(
    90deg,
    #f43f5e  0%,
    #ec4899 18%,
    #a855f7 36%,
    #3b82f6 54%,
    #06b6d4 70%,
    #10b981 84%,
    #f59e0b 100%
  );
  border-radius: 10px 0 0 10px;
  animation: neon-shimmer 2.8s ease-in-out infinite;
}
.build-bot-text {
  position: relative;
  z-index: 1;
}
.build-bot-hint {
  text-align: center;
  font-size: 0.74rem;
  color: #9ca3af;
  margin: -0.35rem 0 0;
}

/* ===== MAIN ===== */
.main {
  flex: 1 1;
  display: flex;
  flex-direction: column;
}

/* ===== ECOSYSTEM SECTION ===== */
.ecosystem-section {
  display: flex;
  flex-direction: column;
  position: relative;
}

.ecosystem-header {
  padding: 4.5rem 2rem 0rem;
  max-width: var(--content-max-width);
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ecosystem-header .filter-bar {
  max-width: var(--search-max-width);
  width: 100%;
  justify-content: center;
}

/* ===== FILTER BAR ===== */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.search-wrap {
  display: flex;
  align-items: center;
  position: relative;
  height: 52px;
  border-radius: 26px;
  border: 1.5px solid #e2e4ee;
  background: #fafbff;
  transition: border-color 0.15s, box-shadow 0.15s;
  padding-left: 2.8rem;
  padding-right: 6px;
  box-sizing: border-box;
  max-width: var(--search-max-width);
  width: 100%;
}

.search-wrap:focus-within {
  border-color: #a78bfa;
  box-shadow: 0 0 0 3px rgba(139,92,246,0.12);
  background: #fff;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: #9ea3bf;
  pointer-events: none;
  flex-shrink: 0;
}

.search-input {
  flex: 1 1;
  height: 100%;
  border: none;
  background: transparent;
  color: #18192a;
  font-size: 1rem;
  padding: 0 0.4rem;
  outline: none;
  min-width: 0;
}

.search-input::placeholder { color: #b0b4cc; }

.search-h1-placeholder {
  position: absolute;
  left: calc(2.8rem + 0.4rem);
  right: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  color: #b0b4cc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  z-index: 1;
  line-height: 1;
}

.search-clear {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  background: #e4e6f0;
  color: #7c7f9a;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.12s;
}

.search-clear:hover { background: #d0d3e6; }

.search-filter-divider {
  flex-shrink: 0;
  width: 1px;
  height: 20px;
  background: #e2e4ee;
  margin: 0 6px;
}

html[data-theme="dark"] .search-wrap {
  background: transparent;
  border-color: #4c3671;
}

html[data-theme="dark"] .search-wrap:focus-within {
  background: transparent;
  border-color: #a78bfa;
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.2);
}

html[data-theme="dark"] .search-icon {
  color: #c4b5fd;
}

html[data-theme="dark"] .search-input {
  color: #ffffff;
}

html[data-theme="dark"] .search-input::placeholder,
html[data-theme="dark"] .search-h1-placeholder {
  color: #a78bfa;
}

html[data-theme="dark"] .search-filter-divider {
  background: #4c3671;
}

html[data-theme="dark"] .search-clear {
  background: #14032D;
  color: #ede9fe;
}

html[data-theme="dark"] .search-clear:hover {
  background: #14032D;
}

.search-filter-btn {
  flex-shrink: 0;
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 31px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #3d3f5a;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.search-filter-btn:hover {
  background: #14032D;
  color: #6d4ed8;
}

.search-filter-btn.filter-btn-active {
  background: #14032D;
  color: #6d4ed8;
}

.filter-btn-wrap {
  position: relative;
  z-index: 3;
}

.search-wrap .filter-btn-wrap {
  position: static;
}

.filter-btn {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid #e2e4ee;
  background: #fafbff;
  color: #3d3f5a;
  cursor: pointer;
  transition: all 0.15s;
  flex-shrink: 0;
}

.filter-btn:hover {
  border-color: #c4b5fd;
  background: #14032D;
}

.filter-btn-active {
  border-color: #a78bfa;
  background: #14032D;
  color: #6d4ed8;
}

.filter-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.filter-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 100px;
  background: transparent;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  border: 1.5px solid #ffffff;
}

html[data-theme="dark"] .search-filter-btn,
html[data-theme="dark"] .filter-btn {
  background: #14032D;
  border-color: #4c3671;
  color: #C5C7D3;
}

html[data-theme="dark"] .search-filter-btn:hover,
html[data-theme="dark"] .filter-btn:hover {
  background: #14032D;
  border-color: #a78bfa;
  color: #ffffff;
}

html[data-theme="dark"] .search-filter-btn.filter-btn-active,
html[data-theme="dark"] .filter-btn-active {
  background: #14032D;
  border-color: #a78bfa;
  color: #ffffff;
}

html[data-theme="dark"] .filter-badge {
  border-color: #14032D;
}

/* ===== FILTER PANEL ===== */
.filter-panel {
  position: absolute;
  top: calc(100% + 1px);
  right: 0;
  width: 280px;
  background: #ffffff;
  border: 1.5px solid #e8eaf0;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  padding: 1rem;
  z-index: 5000;
  animation: panel-in 0.15s ease;
}

.search-wrap .filter-panel {
  top: calc(100% + 6px);
  left: 50%;
  right: auto;
  box-sizing: border-box;
  width: min(314px, calc(100vw - 2rem));
  animation: filter-panel-centered-in 0.15s ease both;
}

.search-wrap .filter-panel.filter-panel-pinned {
  position: fixed;
  top: 58px;
  left: 50%;
  animation: none;
  transform: translateX(-50%);
}

@keyframes filter-panel-centered-in {
  from { opacity: 0; transform: translate(-50%, -6px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.filter-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.filter-panel-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #18192a;
  letter-spacing: 0.01em;
}

.filter-clear-all {
  font-size: 0.78rem;
  font-weight: 500;
  color: #7c3aed;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.12s;
}

.filter-clear-all:hover { color: #5b3cc4; }

.filter-group {
  margin-bottom: 0.75rem;
}

.filter-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #7c7f9a;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.filter-select {
  width: 100%;
  height: 36px;
  border-radius: 8px;
  border: 1.5px solid #e2e4ee;
  background: #fafbff;
  color: #1e2235;
  font-size: 0.825rem;
  padding: 0 2rem 0 0.7rem;
  outline: none;
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239ea3bf' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.65rem center;
  cursor: pointer;
  transition: border-color 0.15s;
  box-sizing: border-box;
}

.filter-select:focus { border-color: #a78bfa; }

.filter-select option {
  background: #fff;
  color: #1e2235;
}

.filter-search {
  width: 100%;
  height: 32px;
  border-radius: 8px;
  border: 1.5px solid #e2e4ee;
  background: #fafbff;
  color: #1e2235;
  font-size: 0.825rem;
  padding: 0 0.7rem;
  outline: none;
  margin-bottom: 0.4rem;
  transition: border-color 0.15s;
  box-sizing: border-box;
}

.filter-search:focus { border-color: #a78bfa; }

.filter-search::placeholder { color: #9ea3bf; }

.dropdown-trigger {
  width: 100%;
  height: 36px;
  border-radius: 8px;
  border: 1.5px solid #e2e4ee;
  background: #fafbff;
  color: #1e2235;
  font-size: 0.825rem;
  padding: 0 2rem 0 0.7rem;
  outline: none;
  cursor: pointer;
  transition: border-color 0.15s;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  position: relative;
}

.dropdown-trigger:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.dropdown-trigger-placeholder {
  color: #9ea3bf;
}

.dropdown-chevron {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ea3bf;
  transition: transform 0.2s;
  pointer-events: none;
}

.dropdown-chevron.open {
  transform: translateY(-50%) rotate(180deg);
}

.dropdown-panel {
  margin-top: 0.3rem;
  border-radius: 8px;
  border: 1.5px solid #e2e4ee;
  background: #fff;
  box-shadow: 0 4px 16px rgba(30, 34, 53, 0.12);
  overflow: hidden;
  z-index: 100;
}

.dropdown-search {
  width: 100%;
  height: 36px;
  border: none;
  border-bottom: 1px solid #eff0f6;
  background: #fafbff;
  color: #1e2235;
  font-size: 0.825rem;
  padding: 0 0.7rem;
  outline: none;
  box-sizing: border-box;
}

.dropdown-search:focus {
  background: #f5f3ff;
}

.dropdown-search::placeholder {
  color: #9ea3bf;
}

.dropdown-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 200px;
  overflow-y: auto;
}

.dropdown-item {
  width: 100%;
  padding: 0.5rem 0.7rem;
  border: none;
  background: transparent;
  color: #1e2235;
  font-size: 0.825rem;
  text-align: left;
  cursor: pointer;
  transition: background 0.1s;
  box-sizing: border-box;
}

.dropdown-item:hover,
.dropdown-item.selected {
  background: #f5f3ff;
  color: #7c3aed;
}

.dropdown-empty {
  padding: 0.6rem 0.7rem;
  color: #9ea3bf;
  font-size: 0.8rem;
  text-align: center;
}

.filter-divider {
  border: none;
  border-top: 1px solid #eff0f6;
  margin: 0.85rem 0;
}

/* ===== NEARBY ===== */
.filter-nearby-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.filter-nearby-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nearby-icon {
  width: 16px;
  height: 16px;
  color: #7c3aed;
  flex-shrink: 0;
}

.filter-nearby-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #18192a;
}

.filter-nearby-sub {
  font-size: 0.72rem;
  color: #9ea3bf;
}

.nearby-toggle {
  min-width: 52px;
  height: 28px;
  border-radius: 100px;
  border: 1.5px solid #e2e4ee;
  background: #f4f5fb;
  color: #7c7f9a;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.nearby-toggle:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.nearby-toggle.nearby-on {
  background: #7c3aed;
  border-color: #7c3aed;
  color: #fff;
}

.location-error {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #dc2626;
}

/* ===== ECOSYSTEM CANVAS ===== */
.ecosystem-canvas-wrapper {
  overflow: hidden;
  margin-top: 1rem;
}

.ecosystem-canvas {
  position: relative;
  height: 150px;
  background: transparent;
}

.ecosystem-loading-player {
  left: calc(50% - 10px);
  top: calc(50% - 7px);
  width: 114px;
  height: 22px;
  z-index: 3;
  pointer-events: none;
}

.ecosystem-loading-bot {
  top: 50%;
  width: 114px;
  height: 22px;
  z-index: 3;
  opacity: 0.72;
  pointer-events: none;
}

.ecosystem-loading-bot-label {
  left: 24px;
  width: 90px;
  max-width: none;
  margin-left: 0;
}

.ecosystem-loading-bot-label .loading-bot-label {
  display: block;
  width: 72px;
  height: 7px;
}

.loading-skeleton {
  display: inline-block;
  border-radius: 4px;
  background:
    linear-gradient(
      90deg,
      rgba(185, 194, 196, 0.14) 0%,
      rgba(218, 224, 224, 0.34) 48%,
      rgba(185, 194, 196, 0.14) 100%
    );
  background-size: 220% 100%;
  animation: loadingSkeletonShimmer 1.45s ease-in-out infinite;
}

@keyframes loadingSkeletonShimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.loading-results-panel {
  min-height: 260px;
}

.loading-results-count {
  width: 166px;
  height: 11px;
}

.loading-result-item {
  cursor: default;
  pointer-events: none;
}

.loading-favicon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
}

.loading-result-url {
  width: 142px;
  height: 9px;
}

.loading-result-title {
  width: min(260px, 68vw);
  height: 15px;
}

.loading-result-org {
  width: 110px;
  height: 10px;
}

.loading-result-desc {
  width: min(420px, 78vw);
  height: 11px;
}

.ecosystem-loading-logo {
  pointer-events: none;
}

.ecosystem-loading-search {
  pointer-events: none;
}

.ecosystem-loading-search .filter-btn-wrap {
  visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .loading-skeleton,
  .ecosystem-real-bot-enter,
  .ecosystem-loading-rainbow-motion,
  .shooting-star {
    animation: none;
  }
  .ecosystem-loading-rainbow-motion {
    display: none;
  }
  .shooting-star {
    opacity: 0;
  }
}

.ecosystem-night-overlay {
  position: absolute;
  inset: 60px 0 0;
  z-index: 1;
  pointer-events: none;
  background: transparent;
  transition: background 0.25s ease;
}

@keyframes shootingStarDrop {
  0% {
    opacity: 0;
    transform: translate3d(0, -6px, 0);
  }
  8% {
    opacity: 1;
  }
  78% {
    opacity: 0.94;
  }
  100% {
    opacity: 0;
    transform: translate3d(
      var(--shooting-star-drift),
      var(--shooting-star-travel-y),
      0
    );
  }
}

.shooting-stars-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 252px;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.shooting-star {
  position: absolute;
  top: -4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow:
    0 0 2px 1px rgba(255, 255, 255, 0.92),
    0 0 5px rgba(255, 238, 177, 0.8);
  -webkit-clip-path: polygon(
    50% 0%,
    63% 37%,
    100% 50%,
    63% 63%,
    50% 100%,
    37% 63%,
    0% 50%,
    37% 37%
  );
          clip-path: polygon(
    50% 0%,
    63% 37%,
    100% 50%,
    63% 63%,
    50% 100%,
    37% 63%,
    0% 50%,
    37% 37%
  );
  animation: shootingStarDrop linear both;
  will-change: transform, opacity;
}

.ecosystem-header,
.canvas-pager-wrap,
.ecosystem-canvas-wrapper {
  position: relative;
  z-index: 2;
}

.shooting-star::before {
  position: absolute;
  left: 1px;
  top: 1px;
  width: 28px;
  height: 1.5px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    rgba(255, 165, 219, 0.86) 16%,
    rgba(193, 133, 255, 0.68) 37%,
    rgba(104, 231, 255, 0.28) 66%,
    transparent 100%
  );
  content: "";
  filter: blur(0.35px);
  opacity: 0.9;
  transform: rotate(var(--shooting-star-tail-angle));
  transform-origin: left center;
}

html[data-theme="dark"] .ecosystem-night-overlay {
  background:
    linear-gradient(#212E309E, #212E309E),
    linear-gradient(#0503122E, #0503122E);
}

@media (max-width: 768px) {
  .ecosystem-canvas {
    height: 330px;
  }
}

/* ===== WALKING KEYFRAMES ===== */
@keyframes legA {
  0%, 100% { transform: rotate(20deg); }
  50%       { transform: rotate(-20deg); }
}
@keyframes legB {
  0%, 100% { transform: rotate(-20deg); }
  50%       { transform: rotate(20deg); }
}
@keyframes armA {
  0%, 100% { transform: rotate(-22deg); }
  50%       { transform: rotate(22deg); }
}
@keyframes armB {
  0%, 100% { transform: rotate(22deg); }
  50%       { transform: rotate(-22deg); }
}
@keyframes botBounce {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-3px); }
}
@keyframes bodyBounce {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-2.5px); }
}

/* ===== FLOATING BOT ===== */
.floating-bot {
  position: absolute;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 22px;
  z-index: 1;
  -moz-user-select: none;
       user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.floating-bot * {
  -moz-user-select: none;
       user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.floating-bot.hovered { z-index: 50; }

@keyframes ecosystemRealBotFadeIn {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ecosystem-real-bot-enter {
  animation: ecosystemRealBotFadeIn 220ms ease-out both;
}

.sprite-shadow {
  position: absolute;
  top: 20px;
  left: 10px;
  transform: translateX(-50%);
  width: 14px;
  height: 5px;
  background: rgba(0, 0, 0, 0.22);
  border-radius: 50%;
  filter: blur(3.5px);
  pointer-events: none;
}

.bot-sprite-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 20px;
  height: 22px;
  flex: 0 0 20px;
  transition: filter 0.2s ease;
}

.sprite-active {
  transform: scale(1.06);
  transition: filter 0.2s ease, transform 0.15s ease;
}

.bot-label {
  display: block;
  flex: 0 0 auto;
  height: 10.4px;
  margin-top: 0;
  text-align: left;
  width: max-content;
  max-width: none;
  line-height: 1;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  position: relative;
  left: 4px;
}

.bot-label-name {
  font-size: 0.65rem;
  font-weight: 500;
  font-style: italic;
  color: #18192a;
  line-height: 1;
  vertical-align: top;
  white-space: nowrap;
}

.bot-label-company {
  font-size: .75rem;
  font-weight: 500;
  font-style: normal;
  color: #3c3f5a;
  line-height: 1;
  vertical-align: top;
  white-space: nowrap;
}

html[data-theme="dark"] .bot-label-name,
html[data-theme="dark"] .bot-label-company {
  color: #C5C7D3;
}

/* ===== BOT TOOLTIP ===== */
.bot-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 190px;
  max-width: 240px;
  background: #ffffff;
  border: 1.5px solid #e8eaf0;
  border-radius: 14px;
  padding: 0.85rem;
  box-shadow: 0 12px 40px rgba(0,0,0,0.13);
  pointer-events: none;
  animation: tooltip-in 0.15s ease;
  z-index: 100;
}

@keyframes tooltip-in {
  from { opacity: 0; transform: translateX(-50%) translateY(6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes tooltip-in-portal {
  from { opacity: 0; transform: translate(-50%, calc(-100% + 6px)); }
  to   { opacity: 1; transform: translate(-50%, -100%); }
}

@keyframes tooltip-in-portal-below {
  from { opacity: 0; transform: translate(-50%, -6px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

.bot-tooltip-portal {
  animation: tooltip-in-portal 0.15s ease !important;
}

.bot-tooltip-portal.bot-tooltip-below {
  animation: tooltip-in-portal-below 0.15s ease !important;
}

.tooltip-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 0.6rem;
  margin-bottom: 0.6rem;
  border-bottom: 1px solid;
}

.tooltip-emoji {
  font-size: 1.5rem;
  line-height: 1;
}

.tooltip-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: #18192a;
  line-height: 1.2;
}

.tooltip-company {
  font-size: 0.78rem;
  color: #7c7f9a;
}

.tooltip-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  font-size: 0.75rem;
  color: #9ea3bf;
  gap: 0.4rem;
}

.tooltip-industry {
  background: #f0ecff;
  color: #7c3aed;
  border-radius: 100px;
  padding: 1px 7px;
  font-size: 0.68rem;
  font-weight: 600;
  white-space: nowrap;
}

.tooltip-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.tooltip-tag {
  font-size: 0.7rem;
  padding: 2px 7px;
  border-radius: 100px;
  font-weight: 500;
}

/* ===== NO RESULTS ===== */
.no-results-launch {
  position: absolute;
  inset: 0;
  z-index: 8;
  overflow: hidden;
  pointer-events: none;
}

.no-results-prompt {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  width: min(92%, 340px);
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  color: #f7f8fb;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  transform: translate(-50%, -50%);
}

.no-results-prompt > p:first-child {
  margin: 0;
  font-size: clamp(0.86rem, 3.6vw, 1rem);
  font-weight: 750;
  line-height: 1.3;
}

.no-results-go {
  min-width: 76px;
  min-height: 36px;
  padding: 0.4rem 1.1rem;
  border: 1px solid rgba(187, 247, 208, 0.85);
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.38);
  color: #06270f;
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  pointer-events: auto;
  text-shadow: none;
  transition: background 150ms ease, transform 150ms ease;
}

.no-results-go:hover:not(:disabled) {
  background: #4ade80;
  transform: translateY(-1px);
}

.no-results-go:focus-visible,
.no-results-popup-fallback a:focus-visible {
  outline: 2px solid #dcfce7;
  outline-offset: 3px;
}

.no-results-go:disabled {
  cursor: wait;
}

.no-results-popup-fallback {
  margin: 0;
  color: #f1f5f9;
  font-size: 0.72rem;
  font-weight: 500;
}

.no-results-popup-fallback a {
  color: #86efac;
  font-weight: 700;
  pointer-events: auto;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.no-results-airplane,
.no-results-airplane-shadow {
  position: absolute;
  bottom: 30px;
  right: clamp(12px, 3.5vw, 22px);
  width: clamp(104px, 28vw, 124px);
  pointer-events: none;
  will-change: transform, opacity;
}

.no-results-airplane-shadow {
  bottom: 32px;
  height: 4px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.55),
    transparent 78%
  );
  filter: blur(1px);
}

.no-results-airplane {
  z-index: 9;
  display: block;
  height: auto;
  color: #f8fafc;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.4));
  transform-origin: 50% 78%;
}

@media (min-width: 769px) {
  .no-results-airplane,
  .no-results-airplane-shadow {
    bottom: 10px;
    left: calc(50% + 138px);
    right: auto;
    width: clamp(96px, 9vw, 122px);
  }

  .no-results-airplane-shadow {
    bottom: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .no-results-go {
    transition: none;
  }
}

/* ===== CTA SECTION ===== */
.cta-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 2.5rem 2rem;
  border-top: 1px solid #eceef8;
  background: #fafbff;
  flex-wrap: wrap;
}

.cta-text {
  font-size: 1.05rem;
  color: #6b6e8a;
  font-weight: 400;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.6rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #7c3aed, #6366f1);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(99,102,241,0.28);
  transition: all 0.15s ease;
}

.btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(99,102,241,0.38);
}

/* ── Google-style results panel ─────────────────────────── */
.results-panel {
  width: min(var(--search-max-width), calc(100% - 4rem));
  max-width: var(--search-max-width);
  margin: 0 auto;
  box-sizing: border-box;
  border-top: 1px solid #eceef8;
  background: #fff;
  padding: 1.25rem 0 3rem;
}

.results-question-widget {
  --results-nav-offset: var(--bottom-nav-height);
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(
    var(--results-nav-offset) + var(--yappler-keyboard-inset, 0px) - 0.5rem
  );
  z-index: 2147483647;
  width: 100%;
  pointer-events: none;
  transition: transform 240ms ease, opacity 180ms ease;
}

.results-question-scroll {
  display: contents;
}

.filter-bar.filter-bar-search-active {
  flex-direction: column;
  align-items: stretch;
}

.results-question-widget.is-search-active:not(.is-expanded) {
  position: static;
  width: 100%;
  margin: 0;
}

.results-question-widget.is-search-active:not(.is-expanded)
  .results-question-card {
  padding: 0 0 0.25rem;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
}

.results-question-widget.is-search-active:not(.is-expanded)
  .results-question-options {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  width: -moz-fit-content;
  width: fit-content;
  height: auto;
  margin: 0 0 0.45rem 1rem;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.results-question-widget.is-search-active:not(.is-expanded)
  .results-question-option {
  width: auto;
  height: auto;
  padding: 0;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
}

.results-question-widget.is-search-active:not(.is-expanded)
  .results-question-option:hover,
.results-question-widget.is-search-active:not(.is-expanded)
  .results-question-option:active {
  background: transparent;
  color: #c4b5fd;
}

.results-question-widget.is-search-active:not(.is-expanded)
  .results-question-option-all {
  cursor: default;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.results-question-widget.is-search-active:not(.is-expanded)
  .results-question-option-discuss {
  border-left: 0;
}

.results-question-widget.is-entering {
  animation: results-question-slide-up 260ms ease-out both;
}

.results-question-widget.is-exiting {
  animation: results-question-slide-up 260ms ease-out reverse both;
}

.results-question-widget.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}

.results-question-widget.is-expanded {
  top: 0;
  right: 0;
  bottom: var(--yappler-keyboard-inset, 0px);
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  padding:
    max(1rem, env(safe-area-inset-top, 0px))
    max(1rem, env(safe-area-inset-right, 0px))
    max(1rem, env(safe-area-inset-bottom, 0px))
    max(1rem, env(safe-area-inset-left, 0px));
  background: rgb(0 0 0 / 72%);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.results-question-widget.is-expanded .results-question-scroll {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  scrollbar-width: thin;
}

@keyframes results-question-slide-up {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .results-question-widget.is-entering,
  .results-question-widget.is-exiting {
    animation: none;
  }
}

.results-question-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-height: calc(
    100dvh - var(--yappler-keyboard-inset, 0px) - var(--results-nav-offset)
  );
  position: relative;
  overflow: hidden;
  padding: 0.75rem 1rem 0.8rem;
  border: 0;
  border-radius: 0;
  background: var(--bottom-nav-bg);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  pointer-events: auto;
}

.results-question-widget:not(.is-expanded) .results-question-card {
  background: linear-gradient(
    to bottom,
    transparent 0,
    var(--bottom-nav-bg) 10px,
    var(--bottom-nav-bg) 100%
  );
}

.results-question-widget.is-expanded .results-question-card {
  box-sizing: border-box;
  width: min(100%, 52rem);
  min-height: 0;
  height: min(56rem, 100%);
  max-height: 100%;
  margin: 0;
  justify-content: flex-start;
  overflow: hidden;
  padding:
    calc(env(safe-area-inset-top, 0px) + 0.8rem)
    max(1rem, env(safe-area-inset-right, 0px))
    calc(env(safe-area-inset-bottom, 0px) + 0.8rem)
    max(1rem, env(safe-area-inset-left, 0px));
  border: 1px solid #303034;
  border-radius: 1.25rem;
  background: #08080a;
  box-shadow: 0 24px 72px rgb(0 0 0 / 60%);
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
}

.results-question-header {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 0 0 0.7rem;
  border-bottom: 1px solid #222225;
  background: rgb(5 5 5 / 92%);
  -webkit-backdrop-filter: blur(18px);
          backdrop-filter: blur(18px);
}

.results-question-header-brand {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 0.4em;
  min-width: 0;
}

.results-question-header-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.15rem;
}

.results-question-header-copy p {
  overflow: hidden;
  margin: 0;
  color: #9ca6a5;
  font-size: 0.78rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.results-question-header-icon {
  flex: 0 0 1em;
  width: 1em;
  height: 1em;
  fill: #ffffff;
}

.results-question-header h2 {
  margin: 0;
  color: #f2f1ec;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.results-question-back {
  display: inline-flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #303034;
  border-radius: 50%;
  background: #111113;
  color: #f2f1ec;
  cursor: pointer;
  font: inherit;
  transition: background 150ms ease, border-color 150ms ease;
}

.results-question-back:hover {
  border-color: #55535d;
  background: #1a191d;
}

.results-question-back:focus-visible {
  outline: 2px solid #3d8bff;
  outline-offset: 2px;
}

.results-question-back svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.results-question-thread {
  display: flex;
  flex: 0 1 auto;
  flex-direction: column;
  gap: 0.6rem;
  min-height: 0;
  max-height: calc(
    100dvh - var(--yappler-keyboard-inset, 0px) - var(--results-nav-offset) -
      7.25rem
  );
  margin: 0 0 0.7rem;
  overflow-y: auto;
  padding: 2.25rem 0.15rem 0.2rem;
  scrollbar-width: thin;
}

.results-question-widget.is-expanded .results-question-thread {
  box-sizing: border-box;
  flex: 1 1 auto;
  width: min(100%, 48rem);
  min-height: 0;
  max-height: none;
  margin: 0 auto 0.75rem;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1.25rem 0.25rem 0.75rem;
}

.results-question-message {
  flex: 0 0 auto;
  max-width: 88%;
  padding: 0.55rem 0.7rem;
  border: 1px solid #3a4647;
  border-radius: 12px;
  font-size: 1rem;
  line-height: 1.55;
}

.results-question-message p {
  margin: 0;
}

.results-question-message-content {
  min-width: 0;
}

.results-question-message-content p + p {
  margin-top: 0.85rem;
}

.results-question-message-content h3 {
  margin: 1rem 0 0.45rem;
  color: #f3f5f3;
  font-size: 0.96rem;
  line-height: 1.3;
}

.results-question-message-content h3:first-child {
  margin-top: 0;
}

.results-question-message-content ul,
.results-question-message-content ol {
  margin: 0.6rem 0 0.85rem;
  padding-left: 1.2rem;
}

.results-question-message-content li + li {
  margin-top: 0.55rem;
}

.results-question-message-content strong {
  color: #ffffff;
  font-weight: 750;
}

.results-question-message-content code {
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.09);
  padding: 0.08rem 0.28rem;
  font-size: 0.9em;
}



.results-question-inline-bot-card {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0.2rem;
  vertical-align: middle;
  color: #f4f6f5;
  font-size: 0.82em;
  font-weight: 650;
  white-space: nowrap;
}

.results-question-inline-bot-image {
  display: inline-block;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid #596669;
  border-radius: 0.45rem;
  object-fit: cover;
  vertical-align: middle;
  background: linear-gradient(135deg, #253743, #48314f);
}

.results-question-inline-chat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.7rem;
  padding: 0.2rem 0.55rem;
  border: 1px solid rgba(167, 243, 208, 0.62);
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.16);
  color: #d1fae5;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.results-question-inline-chat:hover,
.results-question-inline-chat:focus-visible {
  border-color: #a7f3d0;
  background: rgba(16, 185, 129, 0.3);
  color: #ffffff;
}

.results-question-inline-chat:focus-visible {
  outline: 2px solid #a7f3d0;
  outline-offset: 2px;
}

.results-question-message-pending {
  display: inline-flex;
  align-items: center;
  min-width: min(16rem, 100%);
  border-color: rgba(129, 140, 248, 0.42);
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.2), rgba(17, 24, 39, 0.72));
  color: #eef2ff;
}

.results-question-thinking {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.results-question-thinking-orb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.16rem;
  width: 1.25rem;
  height: 1.25rem;
  border: 1px solid rgba(165, 180, 252, 0.72);
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.24);
  box-shadow: 0 0 16px rgba(129, 140, 248, 0.42);
  animation: results-question-thinking-pulse 1.7s ease-in-out infinite;
}

.results-question-thinking-orb span,
.results-question-thinking-dots span {
  display: inline-block;
}

.results-question-thinking-orb span {
  width: 0.17rem;
  height: 0.17rem;
  border-radius: 50%;
  background: #c7d2fe;
  animation: results-question-thinking-orb 1.1s ease-in-out infinite;
}

.results-question-thinking-orb span:nth-child(2) {
  animation-delay: 0.14s;
}

.results-question-thinking-orb span:nth-child(3) {
  animation-delay: 0.28s;
}

.results-question-thinking-dots {
  display: inline-flex;
  width: 1.05rem;
  color: #a5b4fc;
}

.results-question-thinking-dots span {
  animation: results-question-thinking-dot 1.2s ease-in-out infinite;
}

.results-question-thinking-dots span:nth-child(2) {
  animation-delay: 0.16s;
}

.results-question-thinking-dots span:nth-child(3) {
  animation-delay: 0.32s;
}

@keyframes results-question-thinking-pulse {
  0%, 100% {
    transform: scale(0.94);
    box-shadow: 0 0 10px rgba(129, 140, 248, 0.26);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 0 20px rgba(129, 140, 248, 0.58);
  }
}

@keyframes results-question-thinking-orb {
  0%, 100% {
    opacity: 0.38;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-0.12rem);
  }
}

@keyframes results-question-thinking-dot {
  0%, 60%, 100% {
    opacity: 0.28;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-0.14rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .results-question-thinking-orb,
  .results-question-thinking-orb span,
  .results-question-thinking-dots span {
    animation: none;
  }
}


.results-question-message-label {
  display: block;
  margin-bottom: 0.35rem;
  color: #8d9892;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.results-question-message-user {
  align-self: flex-end;
  border-color: #3b2164;
  background: #241047;
  color: #f5f3ff;
}

.results-question-message-assistant {
  align-self: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 44rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #dce2dd;
}

.results-question-message-assistant .results-question-message-content {
  max-width: 44rem;
}

.results-question-message-pending {
  color: #9ca3af;
  font-style: italic;
}

.results-question-message-error {
  color: #fca5a5;
}

.results-question-automation-cancel {
  display: block;
  margin-top: 0.55rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fca5a5;
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: underline;
}

.results-question-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  height: 60px;
  overflow: hidden;
  border: 1px solid #3a4647;
  border-radius: 999px;
  background: var(--bottom-nav-bg);
}

.results-question-option {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-width: 0;
  height: 100%;
  padding: 0 0.75rem;
  border: 0;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color 150ms ease;
}

.results-question-option:hover {
  background: rgb(255 255 255 / 5%);
}

.results-question-option:active {
  background: rgb(255 255 255 / 8%);
}

.results-question-option:focus-visible {
  z-index: 1;
  outline: 2px solid #3d8bff;
  outline-offset: -4px;
}

.results-question-option-discuss {
  border-left: 1px solid #3a4647;
}

.results-question-option-icon {
  display: block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}

.results-question-option-star {
  fill: url(#ask-ai-icon-gradient);
}

.results-question-option-discuss .results-question-option-icon {
  color: #ffffff;
  stroke: url(#discuss-icon-gradient);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.results-question-composer {
  flex: 0 0 auto;
  position: relative;
  width: 100%;
}

.results-question-widget.is-expanded .results-question-composer {
  width: min(100%, 48rem);
  margin: 0 auto 0;
}

.results-question-input {
  width: 100%;
  height: 60px;
  min-height: 60px;
  padding: 0 3.4rem 0 calc(1rem + 15px);
  border: 1px solid #3a4647;
  border-radius: 999px;
  outline: none;
  background: var(--bottom-nav-bg);
  color: #f2f1ec;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 500;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.results-question-input::placeholder {
  color: #ffffff;
  opacity: 1;
}

.results-question-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.results-question-send {
  display: inline-flex;
  position: absolute;
  top: 50%;
  right: 8px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #3b82f6;
  border-radius: 50%;
  background: #2563eb;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 1.1rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: background 0.15s ease, opacity 0.15s ease;
}

.results-question-send:hover:not(:disabled) {
  background: #3b82f6;
}

@media (max-width: 600px) {
  .results-question-card {
    padding: 0.7rem 0.7rem 0.75rem;
  }

  .results-question-widget.is-expanded {
    align-items: stretch;
    padding: 0;
    background: var(--bottom-nav-bg);
    -webkit-backdrop-filter: none;
            backdrop-filter: none;
  }

  .results-question-widget.is-expanded .results-question-card {
    width: 100%;
    height: 100%;
    min-height: 100%;
    max-height: none;
    border: 0;
    border-radius: 0;
  }

  .results-question-option {
    gap: 0.42rem;
    font-size: 0.94rem;
  }
  .results-question-inline-bot-card {
    flex-wrap: wrap;
    max-width: 100%;
    white-space: normal;
  }

  .results-question-inline-bot-card > span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .results-question-inline-bot-image {
    flex: 0 0 2.2rem;
  }

  .results-question-inline-chat {
    min-height: 2.75rem;
    line-height: 1.2;
  }

}

.results-count {
  font-size: 0.78rem;
  color: #6b6e8a;
  margin-bottom: 0.75rem;
  font-style: italic;
}

@media (max-width: 600px) {
  .results-count {
    padding-left: calc(26px + 0.5rem);
    text-align: left;
  }
}

.results-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  touch-action: pan-y pinch-zoom;
}

.result-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.75rem 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.12s;
}
.result-item:focus-visible {
  outline: none;
}

@media (min-width: 601px) {
  .result-item {
    gap: 1rem;
  }
}

.result-favicon {
  width: 26px;
  height: 33px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.result-thumbnail {
  position: relative;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  min-width: 68px;
  min-height: 68px;
  flex: 0 0 68px;
  aspect-ratio: 1 / 1;
  box-sizing: border-box;
  margin: 6px 0 8px 6px;
  border-radius: 11px;
  background: linear-gradient(145deg, #26333a, #141d24);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.result-thumbnail-frame {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
}

.result-thumbnail-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: inherit;
  object-fit: cover;
  object-position: center;
}

.result-thumbnail-empty {
  font-size: 1.5rem;
  opacity: 0.72;
}

.result-thumbnail-logo {
  position: absolute;
  top: -6px;
  left: -7px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 2px solid var(--yappler-ink, #101617);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.28);
  object-fit: cover;
}

.result-thumbnail-logo-fallback {
  font-size: 0.8rem;
}

@media (max-width: 600px) {
  .result-thumbnail {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    flex-basis: 60px;
  }
}

.result-body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.result-url {
  font-size: 0.75rem;
  color: #55aaff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.result-title {
  font-size: 1.2rem;
  font-weight: normal;
  color: #7AB7FC;
  line-height: 1.3;
}
.result-item:hover .result-title { text-decoration: underline; }

.result-org {
  font-size: 0.82rem;
  font-weight: 500;
  color: #5b6a8a;
  line-height: 1.3;
  margin-top: 1px;
}
.result-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.result-title-row .result-title {
  min-width: 0;
}
.result-title-headline {
  display: -webkit-box;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.result-website-badge-wrap {
  position: relative;
  display: inline-flex;
  flex: 0 0 12px;
  align-items: center;
  justify-content: center;
}
.result-website-badge {
  display: inline-flex;
  width: 12px;
  height: 12px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
  cursor: help;
}
.result-website-badge:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 2px;
}
.result-website-tooltip {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  z-index: 6500;
  display: flex;
  width: max-content;
  max-width: min(280px, 80vw);
  flex-direction: column;
  gap: 3px;
  padding: 8px 10px;
  transform: translateX(-50%);
  border-radius: 6px;
  background: #17212b;
  box-shadow: 0 4px 14px rgb(0 0 0 / 22%);
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  white-space: normal;
}

.result-desc {
  font-size: 0.82rem;
  color: #4b4f6b;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.result-desc.result-headline {
  display: -webkit-box;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.result-meta {
  color: #6b6e8a;
  font-weight: 500;
}

html[data-theme="dark"] .results-panel {
  background: #14032D;
  border-top-color: #352052;
}

html[data-theme="dark"] .results-count,
html[data-theme="dark"] .results-list-cta {
  color: #c4b5fd;
}

html[data-theme="dark"] .result-url {
  color: #55aaff;
}

html[data-theme="dark"] .result-title {
  color: #7AB7FC;
}

html[data-theme="dark"] .result-org,
html[data-theme="dark"] .result-desc,
html[data-theme="dark"] .result-meta {
  color: #ddd6fe;
}

html[data-theme="dark"] .page-num-btn {
  color: #ddd6fe;
}
html[data-theme="dark"] .page-num-btn:hover {
  background: #241047;
  color: #c4b5fd;
}
html[data-theme="dark"] .page-num-btn.page-num-active {
  background: #7c3aed;
  color: #fff;
}
html[data-theme="dark"] .page-nav-btn {
  color: #a78bfa;
}
html[data-theme="dark"] .page-nav-btn:hover {
  background: #241047;
}

/* ── Typewriter tagline ────────────────────────────────── */
.typewriter-text {
  color: #7c3aed;
  font-weight: 600;
}

.typewriter-cursor {
  display: inline-block;
  color: #7c3aed;
  font-weight: 300;
  margin-left: 1px;
  animation: blink 0.75s step-end infinite;
}

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

.navbar-tagline-link {
  text-decoration: underline;
  -webkit-text-decoration-color: #c4b5fd;
          text-decoration-color: #c4b5fd;
  text-underline-offset: 3px;
  color: inherit;
  cursor: pointer;
}
.navbar-tagline-link:hover {
  -webkit-text-decoration-color: #7c3aed;
          text-decoration-color: #7c3aed;
}

.results-count-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.results-list-cta {
  font-size: 0.78rem;
  color: #6b6e8a;
  white-space: nowrap;
  flex-shrink: 0;
}

.results-list-link {
  color: #7c3aed;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  -webkit-text-decoration-color: #c4b5fd;
          text-decoration-color: #c4b5fd;
}
.results-list-link:hover {
  -webkit-text-decoration-color: #7c3aed;
          text-decoration-color: #7c3aed;
}

/* ── List-your-bot floating widget ───────────────────────── */
.list-bot-widget {
  position: fixed;
  bottom: 1.1rem;
  right: 1.25rem;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.1s linear;
  background: #faf9ff;
  border: 1px solid #ede9ff;
  border-radius: 20px;
  padding: 0.3rem 0.75rem;
  box-shadow: 0 2px 8px rgba(99,102,241,0.07);
}
.list-bot-widget:hover {
  border-color: #c4b5fd;
}

.list-bot-widget-cta {
  font-size: 0.72rem;
  font-weight: 500;
  color: #9d7fe0;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .navbar-tagline-link {
    display: none;
  }
}

/* ── Canvas list-your-bot link ───────────────────────────── */
.canvas-list-bot {
  position: absolute;
  bottom: 10px;
  right: 14px;
  font-size: 0.7rem;
  font-weight: 500;
  font-family: inherit;
  color: #a78de0;
  text-decoration: none;
  background: rgba(255,255,255,0.72);
  border: 1px solid #ede9ff;
  border-radius: 20px;
  padding: 0.22rem 0.65rem;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
  z-index: 10;
  cursor: pointer;
  outline: none;
}
.canvas-list-bot:hover {
  color: #7c3aed;
  border-color: #c4b5fd;
}


/* ── Canvas pager wrapper + side arrows ──────────────────── */
.canvas-pager-wrap {
  position: relative;
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  touch-action: pan-y pinch-zoom;
}

.canvas-pager-wrap::before,
.canvas-pager-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 30px;
  /* Sit above the moving bots so they fade into the edge color. */
  z-index: 1000;
  pointer-events: none;
}

.canvas-pager-wrap::before {
  left: 0;
  background: transparent;
}

.canvas-pager-wrap::after {
  right: 0;
  background: transparent;
}

@media (max-width: 768px) {
  .canvas-pager-wrap::before,
  .canvas-pager-wrap::after {
    display: none;
  }
}

.canvas-page-arrow {
  position: fixed;
  bottom: 170px;
  /* Stay above normal, hovered, and player bot stacking layers. */
  z-index: 2000;
  width: 48px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  line-height: 1;
  color: #7c3aed;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #e5e1fa;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(124, 58, 237, 0.10);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.canvas-page-arrow:hover {
  background: #f3eeff;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.18);
}
.canvas-page-arrow-left {
  left: 0;
  border-radius: 0 10px 10px 0;
}
.canvas-page-arrow-right {
  right: 0;
  border-radius: 10px 0 0 10px;
}

.bot-control-hidden {
  display: none !important;
}

/* Keep the popup's previous-bot arrow attached to the panel's inner left edge
   instead of the viewport edge. The panel is 420px wide on desktop and
   full-width on small screens. */
.bot-navigation-arrow.canvas-page-arrow-left {
  left: auto;
  right: calc(min(420px, 100vw) - 48px);
}

@media (max-width: 480px) {
  .bot-navigation-arrow.canvas-page-arrow-left {
    left: 0;
    right: auto;
  }
}

.canvas-page-arrow:focus,
.canvas-page-arrow:focus-visible,
.bot-navigation-arrow:focus,
.bot-navigation-arrow:focus-visible {
  outline: none;
}

/* ── Canvas location label ───────────────────────────────── */
.canvas-location-label {
  position: absolute;
  top: 6px;
  left: 8px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0;
  max-width: calc(100% - 16px);
  padding: 4px 8px 4px 6px;
  overflow: visible;
  background: rgba(201, 93, 123, 0.9);
  border: 1px solid rgba(255, 224, 232, 0.72);
  border-radius: 3px;
  box-shadow:
    0 2px 5px rgba(0, 0, 0, 0.32),
    inset 0 0 0 1px rgba(84, 32, 58, 0.52);
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transform: perspective(220px) rotateY(12deg);
  transform-origin: left center;
}
.canvas-location-label::after {
  content: "";
  position: absolute;
  top: calc(100% + 1px);
  left: 12px;
  width: 4px;
  height: 33px;
  transform: none;
  background: linear-gradient(90deg, #172522 0%, #6c8277 48%, #172522 100%);
  border: 1px solid rgba(20, 28, 29, 0.82);
  border-top: 0;
  border-radius: 0 0 2px 2px;
  box-shadow: 1px 0 2px rgba(0, 0, 0, 0.28);
}
.canvas-location-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.55rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* ── Results list pagination ─────────────────────────────── */
.results-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding-top: 1.5rem;
  flex-wrap: wrap;
}

.page-num-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 6px;
  border: none;
  border-radius: 50%;
  background: transparent;
  font-size: 0.875rem;
  font-family: inherit;
  color: #1a1a2e;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-num-btn:hover { background: #f3eeff; color: #7c3aed; }
.page-num-btn.page-num-active {
  background: #7c3aed;
  color: #fff;
  font-weight: 700;
}

.page-nav-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border: none;
  border-radius: 50%;
  background: transparent;
  font-size: 1.35rem;
  line-height: 1;
  color: #7c3aed;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.12s;
}
.page-nav-btn:hover { background: #f3eeff; }

/* ===== BOT SLIDE-IN PANEL ===== */
.bot-panel-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
   /* Above the Messages panel when a conversation opens its bot. */
   z-index: 8000;
  animation: backdrop-in 0.2s ease;
}

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

.bot-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  max-width: 100vw;
  bottom: 0;
  height: 100dvh;
  background: #fff;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.14);
   /* Above the Messages panel so the active bot iframe remains usable. */
   z-index: 8001;
  display: flex;
  flex-direction: column;
  animation: panel-in 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.bot-panel-close {
  display: none;
}

.bot-panel-close-always {
  display: flex;
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 10;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
  font-size: 1rem;
  line-height: 1;
  color: #4b5563;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.bot-panel-close-always:hover {
  background: #f3f4f6;
  color: #111827;
}

@media (max-width: 768px) {
  .bot-panel-close {
    position: absolute;
    top: 22px;
    left: 10px;
    z-index: 10;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
    box-shadow: none;
    font-size: 1rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
  }
  .bot-panel-close:hover {
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
  }
}

.bot-panel-iframe {
  flex: 1 1;
  min-height: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
/* ── Carousel stage: prev / current / next are always-mounted siblings ── */
.bot-panel-iframe-stage {
  position: relative;
  flex: 1 1;
  min-height: 0;
  overflow: hidden;
}
/* Each iframe is absolutely positioned; class controls its X offset */
.bot-panel-carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  will-change: transform;
  transform: translateX(0);       /* default: current (visible) */
}
.bot-panel-carousel-item.carousel-prev2  { transform: translateX(-200%); }
.bot-panel-carousel-item.carousel-prev1  { transform: translateX(-100%); }
.bot-panel-carousel-item.carousel-current { transform: translateX(0);    }
.bot-panel-carousel-item.carousel-next1  { transform: translateX(100%);  }
.bot-panel-carousel-item.carousel-next2  { transform: translateX(200%);  }

/* ── Sliding left (advancing to next1) ── */
/* Each class animates from its resting position → one step left */
.bot-panel-iframe-stage.sliding-left .carousel-prev2  { animation: csl-prev2  280ms cubic-bezier(0.4,0,0.2,1) forwards; }
.bot-panel-iframe-stage.sliding-left .carousel-prev1  { animation: csl-prev1  280ms cubic-bezier(0.4,0,0.2,1) forwards; }
.bot-panel-iframe-stage.sliding-left .carousel-current{ animation: csl-cur    280ms cubic-bezier(0.4,0,0.2,1) forwards; }
.bot-panel-iframe-stage.sliding-left .carousel-next1  { animation: csl-next1  280ms cubic-bezier(0.4,0,0.2,1) forwards; }
.bot-panel-iframe-stage.sliding-left .carousel-next2  { animation: csl-next2  280ms cubic-bezier(0.4,0,0.2,1) forwards; }
@keyframes csl-prev2  { from { transform: translateX(-200%); } to { transform: translateX(-300%); } }
@keyframes csl-prev1  { from { transform: translateX(-100%); } to { transform: translateX(-200%); } }
@keyframes csl-cur    { from { transform: translateX(0);     } to { transform: translateX(-100%); } }
@keyframes csl-next1  { from { transform: translateX(100%);  } to { transform: translateX(0);     } }
@keyframes csl-next2  { from { transform: translateX(200%);  } to { transform: translateX(100%);  } }

/* ── Sliding right (going back to prev1) ── */
/* Each class animates from its resting position → one step right */
.bot-panel-iframe-stage.sliding-right .carousel-prev2  { animation: csr-prev2  280ms cubic-bezier(0.4,0,0.2,1) forwards; }
.bot-panel-iframe-stage.sliding-right .carousel-prev1  { animation: csr-prev1  280ms cubic-bezier(0.4,0,0.2,1) forwards; }
.bot-panel-iframe-stage.sliding-right .carousel-current{ animation: csr-cur    280ms cubic-bezier(0.4,0,0.2,1) forwards; }
.bot-panel-iframe-stage.sliding-right .carousel-next1  { animation: csr-next1  280ms cubic-bezier(0.4,0,0.2,1) forwards; }
.bot-panel-iframe-stage.sliding-right .carousel-next2  { animation: csr-next2  280ms cubic-bezier(0.4,0,0.2,1) forwards; }
@keyframes csr-prev2  { from { transform: translateX(-200%); } to { transform: translateX(-100%); } }
@keyframes csr-prev1  { from { transform: translateX(-100%); } to { transform: translateX(0);     } }
@keyframes csr-cur    { from { transform: translateX(0);     } to { transform: translateX(100%);  } }
@keyframes csr-next1  { from { transform: translateX(100%);  } to { transform: translateX(200%);  } }
@keyframes csr-next2  { from { transform: translateX(200%);  } to { transform: translateX(300%);  } }
.bot-panel-iframe-preload {
  position: fixed;
  top: -1000px;
  left: -1000px;
  width: 1px;
  height: 1px;
  flex: none;
  border: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.bot-panel-state {
  display: flex;
  flex: 1 1;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: #6b7280;
  text-align: center;
}
.bot-panel-state-error {
  color: #b91c1c;
}

@media (max-width: 480px) {
  .bot-panel {
    width: 100vw;
  }
}

/* ─── Home CTA (bottom of page) ───────────────────────── */
.home-cta {
  display: flex;
  justify-content: center;
  padding: 0 1rem 1rem;
}

.home-cta .build-bot-btn {
  max-width: 420px;
}

@media (max-width: 640px) {
  .home-cta {
    padding: 0 0.75rem 0.75rem;
  }
  .home-cta .build-bot-btn {
    width: 100%;
    justify-content: space-between;
  }
}

/* ─── Home footer ───────────────────────────────────────── */
.home-footer {
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-top: 1px solid #ede9f8;
  background: #faf9ff;
}

.home-footer-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.home-footer-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.home-footer-link {
  font-size: 13px;
  font-weight: 600;
  color: #7c3aed;
  text-decoration: none;
  transition: opacity 0.15s;
}

.home-footer-link:hover { opacity: 0.75; }

/* ── Outline CTA variant ──── */
.btn-cta-outline {
  background: transparent;
  color: #7c3aed;
  border: 1.5px solid #7c3aed;
  box-shadow: none;
}
.btn-cta-outline:hover {
  background: #f3f0ff;
  box-shadow: none;
}

.cta-divider {
  width: 1px;
  height: 24px;
  background: #dde0f0;
  flex-shrink: 0;
}

/* ===== SERVER-RENDERED BOT DIRECTORY ===== */
.bot-directory-section {
  padding: 48px 24px 56px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}
.bot-directory-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e2235;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.bot-directory-subheading {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 28px;
}
.bot-directory-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  grid-gap: 12px;
  gap: 12px;
}
.bot-directory-item {
  display: contents;
}
.bot-directory-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 16px;
  border: 1px solid #e8eaf2;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
  background: #fafafa;
}
.bot-directory-card:hover {
  border-color: #c4b5fd;
  box-shadow: 0 2px 8px rgba(124,58,237,0.08);
  background: #fff;
}
.bot-directory-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 6px;
}
.bot-directory-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e2235;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bot-directory-company {
  font-size: 0.78rem;
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bot-directory-meta {
  font-size: 0.72rem;
  color: #9ca3af;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bot-directory-back {
  color: #7c3aed;
  text-decoration: none;
  font-size: 0.875rem;
}
.bot-directory-back:hover { text-decoration: underline; }

/* ===== EXPLORE DIRECTORY PAGE ===== */
.explore-page {
  max-width: 680px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}
.explore-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: #6b6e8a;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.explore-breadcrumb-link {
  color: #7c3aed;
  text-decoration: none;
}
.explore-breadcrumb-link:hover { text-decoration: underline; }
.explore-breadcrumb-sep { color: #c4b5fd; }
.explore-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 0.35rem;
  line-height: 1.3;
}
.explore-subheading {
  font-size: 0.875rem;
  color: #6b6e8a;
  margin: 0 0 1.75rem;
}
.explore-section-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #9ca3af;
  margin: 1.75rem 0 0.75rem;
}
.explore-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.explore-item { }
.explore-item-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.12s;
}
.explore-item-link:hover { background: #f5f4ff; }
.explore-item-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: #1a0dab;
}
.explore-item-link:hover .explore-item-name { text-decoration: underline; }
.explore-item-count {
  font-size: 0.78rem;
  color: #9ca3af;
  flex-shrink: 0;
}

/* ─── Legal pages ────────────────────────────────────────── */

.legal-page {
  min-height: 100dvh;
  background: #faf9ff;
  font-family: var(--app-font-sans, system-ui, sans-serif);
  color: #1e2235;
}
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}
.legal-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #ede9f8;
}
.legal-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #7c3aed;
  margin-bottom: 0.75rem;
}
.legal-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  color: #1e2235;
  letter-spacing: -0.5px;
  margin: 0 0 0.5rem;
}
.legal-date { font-size: 13px; color: #9ca3af; margin: 0; }
.legal-body { font-size: 1rem; line-height: 1.8; color: #374151; }
.legal-body > p { margin-bottom: 1.25rem; }
.legal-body h2 { font-size: 1.25rem; font-weight: 800; color: #1e2235; margin: 2.5rem 0 0.75rem; letter-spacing: -0.2px; }
.legal-body h3 { font-size: 1rem; font-weight: 700; color: #1e2235; margin: 1.5rem 0 0.5rem; }
.legal-body ul { padding-left: 1.5rem; margin: 0.5rem 0 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; }
.legal-body ul li::marker { color: #7c3aed; }
.legal-body a { color: #7c3aed; text-decoration: underline; -webkit-text-decoration-color: rgba(124,58,237,0.3); text-decoration-color: rgba(124,58,237,0.3); text-underline-offset: 2px; }
.legal-body a:hover { -webkit-text-decoration-color: #7c3aed; text-decoration-color: #7c3aed; }
@media (max-width: 640px) { .legal-content { padding: 2rem 1rem 4rem; } }

/* ─── Use Cases ──────────────────────────────────────────── */

.uc-page {
  min-height: 100dvh;
  background: #faf9ff;
  display: flex;
  flex-direction: column;
  font-family: var(--app-font-sans, system-ui, sans-serif);
  color: #1e2235;
}
.uc-header { text-align: center; padding: 3.5rem 2rem 1rem; }
.uc-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #7c3aed; margin-bottom: 0.75rem; }
.uc-title { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 900; color: #1e2235; letter-spacing: -0.5px; margin: 0 0 0.75rem; }
.uc-subtitle { font-size: 1rem; color: #6b7280; line-height: 1.6; max-width: 480px; margin: 0 auto; }
.uc-cloud-wrap { display: flex; justify-content: center; align-items: center; padding: 3rem 2rem 4rem; flex: 1 1; }
.uc-cloud { position: relative; width: 760px; height: 760px; max-width: 100%; }
.uc-center-node {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #7c3aed, #4f46e5); color: #fff; border: none;
  border-radius: 50%; width: 90px; height: 90px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; font-size: 15px; font-weight: 800;
  cursor: pointer; line-height: 1.1; transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(124,58,237,0.35); z-index: 2;
}
.uc-center-node:hover { transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 6px 28px rgba(124,58,237,0.45); }
.uc-center-sub { font-size: 9px; font-weight: 600; opacity: 0.8; letter-spacing: 0.5px; margin-top: 2px; }
.uc-node {
  position: absolute; top: 50%; left: 50%;
  background: #fff; color: #1e2235; border: 1.5px solid #ede9f8; border-radius: 20px;
  padding: 6px 14px; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(124,58,237,0.06); line-height: 1;
}
.uc-node:hover { background: #7c3aed; color: #fff; border-color: #7c3aed; box-shadow: 0 4px 16px rgba(124,58,237,0.25); z-index: 3; }
.uc-list { display: none; flex-direction: column; gap: 0.5rem; padding: 1.5rem 1rem 3rem; }
.uc-list-item { display: flex; flex-direction: column; align-items: flex-start; background: #fff; border: 1.5px solid #ede9f8; border-radius: 12px; padding: 0.875rem 1rem; cursor: pointer; text-align: left; transition: border-color 0.15s, box-shadow 0.15s; width: 100%; }
.uc-list-item:hover { border-color: #7c3aed; box-shadow: 0 4px 16px rgba(124,58,237,0.12); }
.uc-list-featured { background: linear-gradient(135deg, #7c3aed, #4f46e5); border-color: transparent; }
.uc-list-featured .uc-list-label { color: #fff; }
.uc-list-featured .uc-list-niche { color: rgba(255,255,255,0.75); }
.uc-list-featured:hover { border-color: transparent; box-shadow: 0 4px 20px rgba(124,58,237,0.35); }
.uc-list-label { font-size: 15px; font-weight: 700; color: #1e2235; }
.uc-list-niche { font-size: 12px; color: #6b7280; margin-top: 2px; }
@media (max-width: 700px) {
  .uc-cloud-wrap { display: none; }
  .uc-list { display: flex; }
  .uc-header { padding: 2rem 1.25rem 0.5rem; }
}

/* ─── Street background gallery ───────────────────────────── */
.streets-page {
  min-height: 100dvh;
  padding-bottom: 70px;
  background: var(--page-bg);
  color: #1e2235;
  font-family: var(--app-font-sans, system-ui, sans-serif);
}

.streets-header {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 2rem 2rem;
}

.streets-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 3.5rem;
  color: #7c3aed;
  font-size: 0.85rem;
  font-weight: 700;
}

.streets-back-link:hover {
  color: #6d28d9;
}

.streets-eyebrow {
  margin-bottom: 0.7rem;
  color: #7c3aed;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.streets-header h1 {
  margin: 0 0 0.7rem;
  color: #1e2235;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.05em;
}

.streets-header > p {
  max-width: 520px;
  margin: 0;
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.6;
}

.streets-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}

.streets-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 1.25rem;
  gap: 1.25rem;
}

.street-card {
  overflow: hidden;
  border: 1px solid #ede9f8;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(49, 25, 92, 0.08);
}

.street-preview {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: #d6d1c7;
}

.street-preview-skyline,
.street-preview-road {
  position: absolute;
  left: 0;
  right: 0;
  overflow: hidden;
}

.street-preview-skyline {
  top: 0;
  height: 60px;
}

.street-preview-road {
  top: 60px;
  bottom: 0;
}

.street-preview-skyline > svg,
.street-preview-road > svg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.street-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem 1.1rem;
}

.street-card-body h2 {
  margin: 0 0 0.25rem;
  color: #1e2235;
  font-size: 1rem;
  font-weight: 800;
}

.street-card-body p {
  margin: 0;
  color: #9ca3af;
  font-family: var(--app-font-mono, monospace);
  font-size: 0.7rem;
}

.street-view-link {
  flex-shrink: 0;
  color: #7c3aed;
  font-size: 0.78rem;
  font-weight: 700;
}

.street-view-link:hover {
  color: #6d28d9;
}

html[data-theme="dark"] .streets-header h1,
html[data-theme="dark"] .street-card-body h2 {
  color: #f5f3ff;
}

html[data-theme="dark"] .streets-header > p {
  color: #b8aec9;
}

html[data-theme="dark"] .street-card {
  border-color: #352052;
  background: #1d0b3d;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 700px) {
  .streets-header {
    padding: 1.5rem 1rem 1.75rem;
  }

  .streets-back-link {
    margin-bottom: 2.5rem;
  }

  .streets-content {
    padding: 0 1rem 3rem;
  }

  .streets-grid {
    grid-template-columns: 1fr;
  }

  .street-preview {
    height: 220px;
  }
}

/* ─── Blog ───────────────────────────────────────────────── */

.blog-page { min-height: 100dvh; background: #faf9ff; font-family: var(--app-font-sans, system-ui, sans-serif); color: #1e2235; }
.blog-nav {
  position: -webkit-sticky;
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center;
  justify-content: space-between; padding: 0 2rem; height: 60px;
  background: rgba(250,249,255,0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid #ede9f8;
}
.blog-nav-wrap {
  position: relative;
}
.blog-nav-back { display: flex; align-items: center; gap: 6px; font-size: 14px; color: #6b7280; text-decoration: none; transition: color 0.15s; }
.blog-nav-back:hover { color: #7c3aed; }
.blog-nav-logo { font-size: 18px; font-weight: 800; color: #7c3aed; text-decoration: none; letter-spacing: -0.5px; }
.blog-nav-cta { font-size: 13px; font-weight: 600; color: #fff; background: #7c3aed; padding: 7px 16px; border-radius: 20px; text-decoration: none; transition: background 0.15s; }
.blog-nav-cta:hover { background: #6d28d9; }
.blog-header { background: linear-gradient(135deg, #1a0540 0%, #3b1d8a 100%); color: #fff; padding: 5rem 2rem 4rem; text-align: center; }
.blog-header-inner { max-width: 640px; margin: 0 auto; }
.blog-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #c4b5fd; margin-bottom: 1rem; }
.blog-header-title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; line-height: 1.1; margin-bottom: 1rem; letter-spacing: -1px; }
.blog-header-sub { font-size: 1.1rem; color: rgba(255,255,255,0.7); line-height: 1.6; }
.blog-list-main { max-width: 1100px; margin: 0 auto; padding: 4rem 2rem; }
.blog-list-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); grid-gap: 2rem; gap: 2rem; }
.blog-card { display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid #ede9f8; text-decoration: none; color: inherit; transition: transform 0.2s, box-shadow 0.2s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(124,58,237,0.12); }
.blog-card-image-wrap { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.blog-card-image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.blog-card:hover .blog-card-image { transform: scale(1.04); }
.blog-card-category { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #7c3aed; background: rgba(255,255,255,0.95); padding: 3px 10px; border-radius: 20px; }
.blog-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1 1; gap: 0.5rem; }
.blog-card-meta { display: flex; gap: 6px; font-size: 12px; color: #9ca3af; }
.blog-card-title { font-size: 1.1rem; font-weight: 800; line-height: 1.3; color: #1e2235; margin: 0; }
.blog-card-excerpt { font-size: 0.875rem; color: #6b7280; line-height: 1.6; flex: 1 1; margin: 0; }
.blog-card-read { font-size: 13px; font-weight: 600; color: #7c3aed; margin-top: 0.5rem; }
.blog-article { max-width: 760px; margin: 0 auto; padding: 0 2rem 4rem; }
.blog-article-header { padding: 3rem 0 2rem; text-align: center; }
.blog-article-meta { display: flex; justify-content: center; gap: 8px; font-size: 13px; color: #9ca3af; margin-bottom: 1.25rem; }
.blog-article-category { font-weight: 700; color: #7c3aed; text-transform: uppercase; font-size: 11px; letter-spacing: 1px; }
.blog-article-title { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 900; line-height: 1.15; color: #1e2235; letter-spacing: -0.5px; margin-bottom: 1.25rem; }
.blog-article-subtitle { font-size: 1.15rem; color: #6b7280; line-height: 1.65; max-width: 640px; margin: 0 auto; }
.blog-article-cover-wrap { width: 100%; max-width: 900px; margin: 0 auto 3rem; border-radius: 16px; overflow: hidden; aspect-ratio: 16/9; }
.blog-article-cover { width: 100%; height: 100%; object-fit: cover; }
.blog-article-body { font-size: 1.05rem; line-height: 1.8; color: #374151; }
.blog-section-heading { font-size: 1.5rem; font-weight: 800; color: #1e2235; margin: 2.5rem 0 1rem; letter-spacing: -0.3px; }
.blog-section-paragraph { margin: 0 0 1.25rem; }
.blog-section-quote { border-left: 4px solid #7c3aed; margin: 2rem 0; padding: 1rem 1.5rem; background: #f5f3ff; border-radius: 0 12px 12px 0; }
.blog-section-quote p { font-size: 1.1rem; font-style: italic; color: #4c1d95; margin: 0; line-height: 1.7; }
.blog-section-list { margin: 1rem 0 1.5rem 0; padding-left: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.blog-section-list li { position: relative; padding-left: 0.25rem; line-height: 1.65; }
.blog-section-list li::marker { color: #7c3aed; }
.blog-section-figure { margin: 2rem 0; }
.blog-section-image { width: 100%; border-radius: 12px; object-fit: cover; aspect-ratio: 16/9; }
.blog-section-caption { text-align: center; font-size: 13px; color: #9ca3af; margin-top: 0.6rem; font-style: italic; }
.blog-section-cta { margin: 3rem 0; padding: 2.5rem 2rem; background: linear-gradient(135deg, #1a0540 0%, #3b1d8a 100%); border-radius: 20px; text-align: center; color: #fff; }
.blog-section-cta h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 1.25rem; color: #fff; }
.blog-cta-btn { display: inline-block; background: #fff; color: #7c3aed; font-weight: 700; font-size: 15px; padding: 12px 28px; border-radius: 30px; text-decoration: none; transition: background 0.15s, transform 0.15s; }
.blog-cta-btn:hover { background: #f0ebff; transform: scale(1.03); }
.slide-media.portrait { object-fit: cover !important; }
.blog-cta-pricing {
  margin-top: 1rem;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  text-align: center;
  line-height: 1.5;
}
.blog-cta-pricing strong {
  color: #fff;
  font-weight: 700;
}
.blog-more { background: #f5f3ff; padding: 4rem 2rem; }
.blog-more-inner { max-width: 1100px; margin: 0 auto; }
.blog-more-heading { font-size: 1.5rem; font-weight: 800; color: #1e2235; margin-bottom: 2rem; text-align: center; }
.blog-footer { text-align: center; padding: 2.5rem 2rem; border-top: 1px solid #ede9f8; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.blog-footer-logo { font-size: 16px; font-weight: 800; color: #7c3aed; text-decoration: none; }
.blog-footer-copy { font-size: 13px; color: #9ca3af; margin: 0; }

/* Dark theme footer and profile build CTA */
html[data-theme="dark"] .home-footer,
html[data-theme="dark"] .blog-footer {
  background: #000;
  border: none;
}

html[data-theme="dark"] .home-footer-link {
  color: #C5C7D3;
}

html[data-theme="dark"] .blog-footer-logo {
  color: #ffffff;
}

html[data-theme="dark"] .blog-footer-copy {
  color: #C5C7D3;
}

html[data-theme="dark"] .profile-popup .build-bot-btn {
  background: #ffffff;
  color: #14032D;
}

html[data-theme="dark"] .profile-popup .build-bot-status {
  color: #14032D;
}

html[data-theme="dark"] .profile-popup .build-bot-time {
  color: #5b4b73;
}

html[data-theme="dark"] .profile-popup .build-bot-divider {
  background: rgba(20, 3, 45, 0.2);
}

html[data-theme="dark"] .home-cta .build-bot-btn {
  background: #ffffff;
  color: #14032D;
}

html[data-theme="dark"] .home-cta .build-bot-status {
  color: #14032D;
}

html[data-theme="dark"] .home-cta .build-bot-time {
  color: #5b4b73;
}

html[data-theme="dark"] .home-cta .build-bot-divider {
  background: rgba(20, 3, 45, 0.2);
}

html[data-theme="dark"] .profile-popup .build-bot-time--progress,
html[data-theme="dark"] .home-cta .build-bot-time--progress {
  color: #16a34a;
}

@media (max-width: 640px) {
  .blog-nav { padding: 0 1rem; }
  .blog-article { padding: 0 1rem 3rem; }
  .blog-article-cover-wrap { border-radius: 12px; }
  .blog-section-cta { padding: 2rem 1.25rem; }
  .blog-list-main { padding: 2.5rem 1rem; }
  .blog-more { padding: 2.5rem 1rem; }
}

/* ── Bottom nav ──────────────────────────────────────────── */
.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: var(--yappler-keyboard-inset, 0px);
  /* Always stays above conversations, the bot iframe, and its overlay. */
  z-index: 1400;
  background: var(--bottom-nav-bg);
  box-shadow: 0 -4px 18px rgba(15, 17, 36, 0.06);
  padding: 0.55rem 0;
  padding-bottom: calc(0.55rem + env(safe-area-inset-bottom, 0px));
}

html[data-yappler-search-keyboard="true"] .bottom-nav,
html[data-yappler-question-keyboard="true"] .bottom-nav {
  display: none;
}

html:has(
  :is(
    input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="image"]):not([type="range"]):not([type="color"]),
    textarea,
    [contenteditable]:not([contenteditable="false"])
  ):focus
) :is(
  .bottom-nav,
  .results-question-widget:not(.is-expanded):not(.is-search-active)
) {
  display: none;
}

html[data-yappler-question-keyboard="true"] .results-question-widget {
  --results-nav-offset: 0px;
}

.bottom-nav-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 0.25rem;
  max-width: 520px;
  margin: 0 auto;
}
.bottom-nav-item {
  flex: 1 1;
  display: flex;
  justify-content: center;
}

html:has(.results-question-widget.is-expanded) .bottom-nav {
  display: none;
}

html:has(.results-question-widget.is-expanded) .main {
  min-height: 100dvh;
}

.bottom-nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease, transform 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}
.bottom-nav-link:hover {
  color: #7c3aed;
  background: #f5f3ff;
}
.bottom-nav-link.is-active {
  color: #7c3aed;
}
.bottom-nav-link:active {
  transform: scale(0.94);
}
.bottom-nav-coming-soon {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.7rem);
  transform: translateX(-50%);
  z-index: 1;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: #21133d;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(15, 17, 36, 0.18);
  pointer-events: none;
}

html[data-theme="dark"] .bottom-nav {
  background: #14032D;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .bottom-nav-link {
  color: #c4b5fd;
}

html[data-theme="dark"] .bottom-nav-link:hover {
  color: #ffffff;
  background: #3b2164;
}

html[data-theme="dark"] .bottom-nav-link.is-active {
  color: #ffffff;
  background: transparent;
}

html[data-theme="dark"] .bottom-nav-coming-soon {
  background: #f3eaff;
  color: #241138;
}

/* ── Messages panel ──────────────────────────────────────── */
/* The panel stays mounted while hidden so its loaded content and
   local state survive switching between bottom-nav pages. */
.messages-panel {
  position: fixed;
  inset: 0;
  height: 100dvh;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: rgba(5, 6, 7, 0.96);
  pointer-events: none;
}
.messages-panel:not(.is-open) {
  display: none;
}
.messages-panel-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 7, 0.78);
  pointer-events: auto;
  cursor: pointer;
}
.messages-sheet {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 640px;
  height: 100%;
  min-height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
  background: #ffffff;
  border-left: 1px solid #eceef8;
  border-right: 1px solid #eceef8;
  pointer-events: auto;
  z-index: 1;
}
.messages-sheet-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
  padding: calc(0.95rem + env(safe-area-inset-top, 0px)) 1rem 0.9rem;
  border-bottom: 1px solid #eceef8;
  background: linear-gradient(180deg, #faf8ff 0%, #ffffff 100%);
}
.messages-sheet-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.messages-sheet-header-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}
.messages-sheet-eyebrow {
  margin: 0;
  color: #7c3aed;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}
.messages-sheet-title {
  margin: 0;
  color: #1e2235;
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.08;
}
.messages-sheet-subtitle {
  margin: 0;
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.45;
}
.messages-sheet-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid #eceef8;
  border-radius: 14px;
  background: #ffffff;
  color: #4b5563;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, scale 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) {
  .messages-sheet-close:hover {
    background: #f5f3ff;
    border-color: #c4b5fd;
    color: #7c3aed;
  }
}
.messages-sheet-close:active {
  scale: 0.96;
}
.messages-tabs {
  display: flex;
  gap: 0.35rem;
  padding: 0.28rem;
  border-radius: 999px;
  background: #f1edf8;
}
.messages-tab {
  flex: 1 1;
  min-height: 2.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 0.75rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #6b6277;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 750;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.messages-tab.is-active {
  background: #ffffff;
  color: #4c1d95;
  box-shadow: 0 1px 5px rgba(31, 13, 53, 0.14);
}
.messages-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.45rem;
  height: 1.45rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.12);
  color: currentColor;
  font-size: 0.75rem;
  font-weight: 800;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}
.messages-tab:focus-visible,
.messages-story:focus-visible,
.messages-list-card:focus-visible,
.messages-cta:focus-visible,
.messages-sheet-close:focus-visible {
  outline: 2px solid #7c3aed;
  outline-offset: 3px;
}
.messages-stories {
  width: 100%;
  display: flex;
  gap: 0.9rem;
  overflow-x: auto;
  padding: 0.1rem 0.05rem 0.25rem;
  scrollbar-width: none;
}
.messages-stories::-webkit-scrollbar {
  display: none;
}
.messages-story {
  width: 72px;
  flex: 0 0 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  min-height: 94px;
  padding: 0.15rem 0.1rem;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.messages-story-icon {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #7c3aed;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #7c3aed 0%, #3b1d8a 100%);
  color: #ffffff;
  font-size: 23px;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.18);
  transition: scale 0.14s ease, border-color 0.14s ease;
}
@media (hover: hover) {
  .messages-story:hover .messages-story-icon {
    scale: 1.05;
  }
}
.messages-story:focus-visible .messages-story-icon {
  scale: 1.05;
}
.messages-story-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.messages-story-label {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  overflow: hidden;
  line-height: 1.2;
  text-align: center;
}
.messages-story-brand,
.messages-story-bot {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.messages-story-brand {
  color: #1e2235;
  font-size: 0.7rem;
  font-weight: 700;
}
.messages-story-bot {
  color: #6b7280;
  font-size: 0.64rem;
  font-weight: 600;
}
.messages-sheet-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 0.75rem 0 1.25rem;
  background: #ffffff;
  scroll-padding-top: 1rem;
}
.messages-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: min(420px, 62dvh);
  padding: 3rem 1.5rem 2rem;
  gap: 0.8rem;
  color: #4b5563;
  text-align: center;
}
.messages-state h3 {
  margin: 0.2rem 0 0;
  color: #1e2235;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.messages-state p {
  max-width: 340px;
  margin: 0;
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.55;
}
.messages-state-icon {
  width: 60px;
  height: 60px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f5f3ff;
  color: #7c3aed;
}
.messages-state-icon-error {
  background: #fef2f2;
  color: #dc2626;
}
.messages-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 0.35rem;
  padding: 0.72rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #7c3aed;
  color: #ffffff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, scale 0.12s ease;
}
@media (hover: hover) {
  .messages-cta:hover {
    background: #6d28d9;
  }
}
.messages-cta:active {
  scale: 0.96;
}
.messages-spinner {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 3px solid #e5e7eb;
  border-top-color: #7c3aed;
  animation: messages-spin 0.75s linear infinite;
}
@keyframes messages-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .messages-spinner {
    animation: none;
  }
}
.messages-skeleton-list {
  width: min(360px, 100%);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.45rem;
}
.messages-skeleton-list span {
  display: block;
  height: 64px;
  border: 1px solid #eceef8;
  border-radius: 18px;
  background: linear-gradient(90deg, #f8f7fb 0%, #ffffff 48%, #f8f7fb 100%);
}
.messages-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: 0;
  padding: 0.35rem 0.9rem calc(1.4rem + env(safe-area-inset-bottom, 0px));
}
.messages-list-item {
  display: block;
  min-width: 0;
}
.messages-list-card {
  width: 100%;
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 0.75rem 0.85rem 0.85rem;
  border: 1px solid #eceef8;
  border-radius: 20px;
  background: #ffffff;
  color: inherit;
  font: inherit;
  text-align: start;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(31, 13, 53, 0.06);
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, translate 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) {
  .messages-list-card:hover {
    translate: 0 -1px;
    border-color: #d8cff4;
    background: #fbfaff;
    box-shadow: 0 12px 28px rgba(31, 13, 53, 0.1);
  }
}
.messages-list-item.is-selected .messages-list-card {
  border-color: #c4b5fd;
  background: #faf7ff;
  box-shadow:
    inset 4px 0 0 #7c3aed,
    0 10px 26px rgba(76, 29, 149, 0.12);
}
.messages-avatar {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, #7c3aed 0%, #3b1d8a 100%);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 850;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}
.messages-avatar.has-image {
  overflow: hidden;
  border: 1px solid #eceef8;
  background: #ffffff;
}
.messages-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}
.messages-list-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.messages-list-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.7rem;
  min-width: 0;
}
.messages-list-row-meta {
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
}
.messages-list-heading {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}
.messages-list-title,
.messages-list-chatbot,
.messages-list-subtitle {
  overflow: hidden;
  text-overflow: ellipsis;
}
.messages-list-title {
  color: #1e2235;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
}
.messages-list-chatbot {
  color: #6b7280;
  font-size: 0.83rem;
  font-weight: 650;
  line-height: 1.3;
  white-space: nowrap;
}
.messages-list-time {
  flex: 0 0 auto;
  color: #9ca3af;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.messages-list-subtitle {
  min-width: 0;
  flex: 1 1 11rem;
  color: #6b7280;
  font-size: 0.8rem;
  font-weight: 550;
  line-height: 1.4;
  white-space: nowrap;
}
.messages-list-subtitle-positive {
  color: #15803d;
  font-weight: 800;
}
.messages-status-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  max-width: 100%;
  padding: 0.22rem 0.55rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 850;
  line-height: 1.2;
  white-space: nowrap;
}
.messages-status-badge-success {
  border-color: rgba(21, 128, 61, 0.22);
  background: #ecfdf3;
  color: #166534;
}
.messages-status-badge-active {
  border-color: rgba(37, 99, 235, 0.22);
  background: #eff6ff;
  color: #1d4ed8;
}
.messages-status-badge-warning {
  border-color: rgba(180, 83, 9, 0.28);
  background: #fffbeb;
  color: #92400e;
}
.messages-status-badge-neutral {
  border-color: rgba(107, 114, 128, 0.22);
  background: #f3f4f6;
  color: #4b5563;
}
.messages-list-chevron {
  flex: 0 0 auto;
  color: #9ca3af;
  font-size: 1.45rem;
  line-height: 1;
}
html[data-theme="dark"] .messages-sheet,
html[data-theme="dark"] .messages-sheet-body {
  background: #000;
}
html[data-theme="dark"] .messages-sheet {
  border-left-color: #352052;
  border-right-color: #352052;
}
html[data-theme="dark"] .messages-sheet-header {
  border-bottom-color: #352052;
  background: linear-gradient(180deg, #1d0a3b 0%, #14032d 100%);
}
html[data-theme="dark"] .messages-tabs {
  background: #1d0a3b;
}
html[data-theme="dark"] .messages-tab {
  color: #c4b5fd;
}
html[data-theme="dark"] .messages-tab.is-active {
  background: #37205a;
  color: #ffffff;
}
html[data-theme="dark"] .messages-story-brand,
html[data-theme="dark"] .messages-sheet-title,
html[data-theme="dark"] .messages-state h3,
html[data-theme="dark"] .messages-list-title {
  color: #f5f3ff;
}
html[data-theme="dark"] .messages-story-bot,
html[data-theme="dark"] .messages-sheet-subtitle,
html[data-theme="dark"] .messages-state,
html[data-theme="dark"] .messages-state p,
html[data-theme="dark"] .messages-list-subtitle,
html[data-theme="dark"] .messages-list-chatbot {
  color: #c4b5fd;
}
html[data-theme="dark"] .messages-list-time,
html[data-theme="dark"] .messages-list-chevron {
  color: #a78bfa;
}
html[data-theme="dark"] .messages-list-card,
html[data-theme="dark"] .messages-skeleton-list span {
  border-color: #2b1946;
  background: #0b0610;
  box-shadow: none;
}
html[data-theme="dark"] .messages-list-item.is-selected .messages-list-card,
html[data-theme="dark"] .messages-list-card:hover {
  background: #211a2b;
}
html[data-theme="dark"] .messages-avatar.has-image {
  border-color: #352052;
  background: #111;
}
html[data-theme="dark"] .messages-state-icon {
  background: #2d1750;
  color: #c4b5fd;
}
html[data-theme="dark"] .messages-state-icon-error {
  background: #431b35;
  color: #fca5a5;
}
html[data-theme="dark"] .messages-spinner {
  border-color: #352052;
  border-top-color: #c4b5fd;
}
html[data-theme="dark"] .messages-status-badge-success {
  border-color: rgba(134, 239, 172, 0.24);
  background: rgba(22, 101, 52, 0.22);
  color: #86efac;
}
html[data-theme="dark"] .messages-status-badge-active {
  border-color: rgba(147, 197, 253, 0.24);
  background: rgba(30, 64, 175, 0.24);
  color: #bfdbfe;
}
html[data-theme="dark"] .messages-status-badge-warning {
  border-color: rgba(251, 191, 36, 0.26);
  background: rgba(120, 53, 15, 0.24);
  color: #fde68a;
}
html[data-theme="dark"] .messages-status-badge-neutral {
  border-color: rgba(196, 181, 253, 0.2);
  background: rgba(196, 181, 253, 0.12);
  color: #ddd6fe;
}
@media (min-width: 760px) {
  .messages-sheet {
    height: calc(100dvh - 2rem);
    min-height: 0;
    margin: 1rem auto;
    border: 1px solid #eceef8;
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(5, 6, 7, 0.35);
  }
}
@media (max-width: 380px) {
  .messages-sheet-header {
    padding-inline: 0.85rem;
  }
  .messages-list {
    padding-inline: 0.65rem;
  }
  .messages-list-card {
    gap: 0.65rem;
    padding-inline: 0.7rem;
  }
  .messages-avatar {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }
  .messages-status-badge {
    max-width: 100%;
  }
}

/* ========================================================================
   Yappler reference palette
   The home directory draws from the attached reference: ink-black content
   surfaces, charcoal streets, soft neutral type, and one electric-mint accent.
   These rules deliberately appear last so both preference themes preserve
   the same high-contrast visual language.
   ======================================================================== */
:root {
  --yappler-ink: #050607;
  --yappler-charcoal: #172123;
  --yappler-elevated: #2b3435;
  --yappler-line: #242b2d;
  --yappler-text: #f2f1ec;
  --yappler-muted: #b6bcb6;
  --yappler-subtle: #808985;
  --yappler-accent: #42d6b2;
  --yappler-accent-bright: #62e8c4;
  --yappler-accent-deep: #12352f;
}

html,
html[data-theme="dark"],
html body,
html[data-theme="dark"] body,
.page,
html[data-theme="dark"] .page {
  background: var(--yappler-ink);
  color: var(--yappler-text);
}

.ecosystem-section {
  background:
    linear-gradient(
      180deg,
      #120a22 0px,
      #120a22 3px,
      #2a164f 48px,
      #432066 78px,
      #642878 150px,
      #8c3b79 185px,
      #e98597 230px,
      var(--yappler-ink) 285px,
      var(--yappler-ink) 360px
    );
  background-attachment: fixed;
}

.navbar-sticky-search,
html[data-theme="dark"] .navbar-sticky-search {
  background: #000;
}

.navbar-sticky-media,
html[data-theme="dark"] .navbar-sticky-media {
  background: rgba(0, 0, 0, 0.96);
}

.navbar-sticky-search::after,
html[data-theme="dark"] .navbar-sticky-search::after {
  background: linear-gradient(to bottom, #000, transparent);
}

.ecosystem-header {
  position: relative;
}

.logo-text,
html[data-theme="dark"] .logo-text {
  background: none;
  color: var(--yappler-text);
  -webkit-text-fill-color: var(--yappler-text);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.24);
}

.logo-beta {
  border-color: #000000;
  background: #000000;
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.28);
}

.yappler-icon-label,
html[data-theme="dark"] .yappler-icon-label {
  color: var(--yappler-text);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.search-wrap,
html[data-theme="dark"] .search-wrap {
  border: 1px solid transparent;
  border-radius: 0;
  height: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;
  flex-shrink: 0;
  background-color: transparent;
  background-image: url("/search-bubble.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  transition: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}

.search-wrap:focus-within,
.search-wrap.search-has-value,
html[data-theme="dark"] .search-wrap:focus-within,
html[data-theme="dark"] .search-wrap.search-has-value {
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  height: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;
  flex-shrink: 0;
  background: transparent;
  background-image: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 10px rgba(255, 255, 255, 0.1);
}

@media (max-width: 600px) {
  .search-wrap:not(:focus-within),
  html[data-theme="dark"] .search-wrap:not(:focus-within) {
    background-image: url("/search-bubble-mobile.svg");
  }
}

.search-wrap.search-has-value,
html[data-theme="dark"] .search-wrap.search-has-value {
  background-image: none;
}

.search-burst-layer {
  position: absolute;
  inset: -8px -4px;
  z-index: 5;
  pointer-events: none;
  border-radius: 999px;
}

.search-burst-layer::before {
  content: "";
  position: absolute;
  inset: 7px 4px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  opacity: 0;
  animation: search-burst-ring 260ms cubic-bezier(0.2, 0.75, 0.3, 1) both;
}

.search-burst-particle {
  position: absolute;
  left: var(--burst-x);
  top: var(--burst-y);
  width: var(--burst-size);
  height: var(--burst-size);
  border-radius: 50%;
  background: #ffffff;
  box-shadow:
    0 0 3px rgba(255, 255, 255, 0.95),
    0 0 7px rgba(213, 241, 255, 0.7);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.45);
  animation:
    search-burst-particle var(--burst-duration)
    cubic-bezier(0.18, 0.72, 0.3, 1)
    var(--burst-delay) both;
}

@keyframes search-burst-ring {
  0% {
    opacity: 0.9;
    transform: scale(0.92);
  }
  100% {
    opacity: 0;
    transform: scale(1.08);
  }
}

@keyframes search-burst-particle {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.45);
  }
  16% {
    opacity: 0.95;
    transform: translate(-50%, -50%) scale(1.15);
  }
  100% {
    opacity: 0;
    transform:
      translate(
        calc(-50% + var(--burst-dx)),
        calc(-50% + var(--burst-dy))
      )
      scale(0.7);
  }
}

@media (prefers-reduced-motion: reduce) {
  .search-burst-layer {
    display: none;
  }
}

.search-icon,
html[data-theme="dark"] .search-icon,
.search-filter-btn,
html[data-theme="dark"] .search-filter-btn {
  color: #ffffff;
}

.search-input,
html[data-theme="dark"] .search-input {
  color: var(--yappler-text);
}

.search-input::placeholder,
.search-h1-placeholder,
html[data-theme="dark"] .search-input::placeholder,
html[data-theme="dark"] .search-h1-placeholder {
  color: #b9bfba;
}

.search-filter-divider,
html[data-theme="dark"] .search-filter-divider {
  background: rgba(255, 255, 255, 0.35);
}

.search-filter-btn:hover,
.search-filter-btn.filter-btn-active,
html[data-theme="dark"] .search-filter-btn:hover,
html[data-theme="dark"] .search-filter-btn.filter-btn-active {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.filter-badge,
html[data-theme="dark"] .filter-badge {
  background: transparent;
  border: 1.5px solid #ffffff;
  color: #ffffff;
}

.filter-panel,
.dropdown-panel,
html[data-theme="dark"] .filter-panel,
html[data-theme="dark"] .dropdown-panel {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.38);
  color: var(--yappler-text);
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
}


.filter-panel-title,
.filter-nearby-label {
  color: var(--yappler-text);
}

.filter-label,
.filter-nearby-sub,
.dropdown-trigger-placeholder,
.dropdown-chevron {
  color: var(--yappler-muted);
}

.filter-clear-all,
.nearby-icon {
  color: var(--yappler-accent-bright);
}

.filter-select,
.filter-search,
.dropdown-trigger,
.dropdown-search,
html[data-theme="dark"] .filter-select,
html[data-theme="dark"] .filter-search,
html[data-theme="dark"] .dropdown-trigger,
html[data-theme="dark"] .dropdown-search {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--yappler-text);
}

.filter-select:focus,
.filter-search:focus,
.dropdown-trigger:focus {
  border-color: var(--yappler-accent);
}

.filter-select option {
  background: #151c1e;
  color: var(--yappler-text);
}

.dropdown-search:focus,
.dropdown-item:hover,
.dropdown-item.selected {
  background: rgba(255, 255, 255, 0.18);
  color: var(--yappler-text);
}

.dropdown-item,
.dropdown-empty {
  color: var(--yappler-muted);
}

.filter-panel .dropdown-search,
.filter-panel .dropdown-search:focus,
html[data-theme="dark"] .filter-panel .dropdown-search,
html[data-theme="dark"] .filter-panel .dropdown-search:focus {
  background: #ffffff;
  color: #000000;
}

.filter-panel .dropdown-search::placeholder,
html[data-theme="dark"] .filter-panel .dropdown-search::placeholder {
  color: #000000;
  opacity: 1;
}

.filter-divider {
  border-top-color: #303a3b;
}

.nearby-toggle.nearby-on {
  background: var(--yappler-accent);
  border-color: var(--yappler-accent);
}

.ecosystem-canvas {
  background: transparent;
}

.ecosystem-street-layer {
  filter: saturate(0.96) brightness(0.8) contrast(1.1);
}

.ecosystem-night-overlay,
html[data-theme="dark"] .ecosystem-night-overlay {
  background:
    linear-gradient(
      180deg,
      rgba(42, 28, 54, 0.04) 0px,
      rgba(42, 28, 54, 0.08) 60px,
      rgba(42, 28, 54, 0.34) 60px,
      rgba(42, 28, 54, 0.34) 100%
    ),
    linear-gradient(90deg, #2a1c3629, #00000008 50%, #2a1c3624);
}

.bot-label-name,
.bot-label-company,
html[data-theme="dark"] .bot-label-name,
html[data-theme="dark"] .bot-label-company {
  color: #d5d8d2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.72);
}

.click-ripple {
  filter: hue-rotate(130deg) saturate(1.3);
}

.canvas-page-arrow {
  color: #ffffff;
  background: rgba(4, 6, 7, 0.82);
  border-color: rgba(66, 214, 178, 0.32);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.32);
}

.canvas-page-arrow:hover {
  background: #151b1c;
  color: #ffffff;
  box-shadow: 0 5px 22px rgba(66, 214, 178, 0.18);
}

.canvas-location-name {
  color: #f5f3ed;
}

.results-panel,
html[data-theme="dark"] .results-panel {
  width: 100%;
  max-width: none;
  margin: 0;
  background: var(--yappler-ink);
  border-top: 0;
  padding-left: max(1rem, calc((100% - var(--search-max-width)) / 2));
  padding-right: max(1rem, calc((100% - var(--search-max-width)) / 2));
}

.results-count,
.results-list-cta,
html[data-theme="dark"] .results-count,
html[data-theme="dark"] .results-list-cta {
  color: var(--yappler-muted);
}

.result-item {
  border-bottom: 0;
  border-radius: 0;
}

.result-url,
html[data-theme="dark"] .result-url {
  color: var(--yappler-text);
}

.result-title,
html[data-theme="dark"] .result-title {
  color: #7AB7FC;
}

.result-org,
html[data-theme="dark"] .result-org {
  color: #c1c6bf;
}

.result-desc,
.result-meta,
html[data-theme="dark"] .result-desc,
html[data-theme="dark"] .result-meta {
  color: #c1c6bf;
}

.results-list-link,
.typewriter-text,
.typewriter-cursor {
  color: var(--yappler-accent-bright);
}

.page-num-btn,
html[data-theme="dark"] .page-num-btn {
  color: #d7dbd5;
}

.page-num-btn:hover,
html[data-theme="dark"] .page-num-btn:hover,
.page-nav-btn:hover,
html[data-theme="dark"] .page-nav-btn:hover {
  background: rgba(66, 214, 178, 0.12);
  color: var(--yappler-accent-bright);
}

.page-num-btn.page-num-active,
html[data-theme="dark"] .page-num-btn.page-num-active {
  background: var(--yappler-accent);
  color: #fff;
}

.page-nav-btn,
html[data-theme="dark"] .page-nav-btn {
  color: var(--yappler-accent-bright);
}

.home-cta,
.home-footer {
  background: var(--yappler-ink);
  border-color: var(--yappler-line);
  color: var(--yappler-muted);
}

.home-footer {
  background: #000;
}

.profile-backdrop {
  z-index: 2147483647;
}

.profile-popup {
  z-index: 2147483648;
}

html[data-theme="dark"] .page-num-btn.page-num-active {
  background: var(--yappler-accent);
}

.build-bot-btn {
  background: #151b1c;
  border: 1px solid #30393a;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.build-bot-fill {
  background: linear-gradient(90deg, var(--yappler-accent-deep), var(--yappler-accent) 70%, var(--yappler-accent-bright));
}

.bottom-nav,
html[data-theme="dark"] .bottom-nav {
  position: fixed;
  z-index: 9000;
  background: #020303;
  box-shadow: 0 -5px 22px rgba(0, 0, 0, 0.42);
}

.bottom-nav-link,
html[data-theme="dark"] .bottom-nav-link {
  color: #aab1ac;
}

.bottom-nav-link:hover,
html[data-theme="dark"] .bottom-nav-link:hover,
html[data-theme="dark"] .bottom-nav-link:hover {
  background: transparent;
  color: #ffffff;
}

.bottom-nav-link.is-active,
html[data-theme="dark"] .bottom-nav-link.is-active {
  background: transparent;
  color: #ffffff;
}

.bottom-nav-coming-soon,
html[data-theme="dark"] .bottom-nav-coming-soon {
  background: #242d2e;
  color: var(--yappler-text);
  border: 1px solid #3a4647;
}

.bot-panel {
  background: #101617;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.42);
}

.bot-panel-close-always {
  background: rgba(20, 28, 29, 0.92);
  color: var(--yappler-text);
}

.bot-navigation-arrow {
  background: rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.9);
  box-shadow: none;
}

.bot-navigation-arrow:hover {
  background: rgba(0, 0, 0, 0.4);
  color: #ffffff;
  box-shadow: none;
}

/* Normalize remaining purple-tinted background surfaces. */
.navbar-learn,
.navbar-learn:hover,
.theme-option.active,
html[data-theme="dark"] .profile-popup,
html[data-theme="dark"] .theme-option.active,
.profile-avatar-wrap,
.tooltip-industry,
.search-filter-btn:hover,
.search-filter-btn.filter-btn-active,
.filter-btn:hover,
.filter-btn-active,
html[data-theme="dark"] .search-clear,
html[data-theme="dark"] .search-clear:hover,
html[data-theme="dark"] .search-filter-btn:hover,
html[data-theme="dark"] .filter-btn:hover,
html[data-theme="dark"] .search-filter-btn.filter-btn-active,
html[data-theme="dark"] .filter-btn-active,
html[data-theme="dark"] .page-num-btn:hover,
html[data-theme="dark"] .page-num-btn.page-num-active,
html[data-theme="dark"] .page-nav-btn:hover,
.page-num-btn:hover,
.page-num-btn.page-num-active,
.page-nav-btn:hover,
.explore-item-link:hover,
.uc-page,
.uc-center-node,
.uc-node:hover,
.uc-list-featured,
.blog-page,
.blog-nav,
.blog-nav-cta,
.blog-nav-cta:hover,
.blog-header,
.blog-section-quote,
.blog-section-cta,
.blog-more,
.bottom-nav-coming-soon,
html[data-theme="dark"] .bottom-nav-link:hover,
html[data-theme="dark"] .bottom-nav-coming-soon,
.messages-state-icon,
.messages-cta,
.messages-cta:hover,
html[data-theme="dark"] .messages-list-item:hover,
html[data-theme="dark"] .messages-list-item.is-selected,
.messages-avatar,
html[data-theme="dark"] .messages-sheet-header,
html[data-theme="dark"] .messages-state-icon,
html[data-theme="dark"] .messages-state-icon-error {
  background: #000;
}

.uc-center-node,
.uc-list-featured,
.messages-avatar {
  background-image: none;
}

/* Purple interaction and secondary-page surfaces also use the shared ink. */
.btn-login,
.btn-login:hover,
.btn-cta,
.nearby-toggle.nearby-on,
.dropdown-search:focus,
.dropdown-item:hover,
.dropdown-item.selected,
.cta-widget,
.page-num-btn:hover,
.page-num-btn.page-num-active,
.page-nav-btn:hover,
.streets-page,
.uc-page,
.blog-page,
.blog-nav-cta,
.blog-nav-cta:hover,
.blog-header,
.blog-section-quote,
.blog-section-cta,
.blog-more,
.messages-cta,
.messages-cta:hover {
  background: #14032D;
}

.result-item.result-item-centered,
html[data-theme="dark"] .result-item.result-item-centered {
  background: transparent;
}

.result-item.result-item-centered:hover,
html[data-theme="dark"] .result-item.result-item-centered:hover {
  background: transparent;
}

.result-item.result-item-centered.result-title,
html[data-theme="dark"] .result-item.result-item-centered .result-title {
  -webkit-text-decoration-line: underline;
          text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

@keyframes result-url-gradient-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.result-item.result-item-centered .result-url {
  background-image: linear-gradient(
    90deg,
    #39ff88 0%,
    #3d8bff 50%,
    #ff4fa3 100%
  );
  background-size: 220% 100%;
  background-position: 0% 50%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: result-url-gradient-shift 2.4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .result-item.result-item-centered .result-url {
    animation: none;
  }
}

/* Keep filter controls above depth-sorted walking bots. */
.ecosystem-header {
  position: relative;
  z-index: 5000;
}

.navbar-sticky-search {
  z-index: 5000;
}

.top-options-shell {
  z-index: 5001;
}

.filter-btn-wrap,
.filter-panel {
  z-index: 5000;
}

.search-filter-btn,
.search-filter-btn:hover,
.search-filter-btn.filter-btn-active,
html[data-theme="dark"] .search-filter-btn,
html[data-theme="dark"] .search-filter-btn:hover,
html[data-theme="dark"] .search-filter-btn.filter-btn-active {
  background: transparent;
}

.canvas-page-arrow {
  border: none;
}

.canvas-page-arrow-left {
  border-radius: 0 16px 16px 0;
}

.canvas-page-arrow-right {
  border-radius: 16px 0 0 16px;
}

/* Messages is a full page layer, above the home header and search controls. */
.messages-panel {
  z-index: 7000;
  background: #000;
}

.messages-panel-backdrop,
.messages-sheet,
.messages-sheet-body,
.messages-sheet-header {
  background: #000;
}

.messages-sheet {
  border-left-color: var(--yappler-line);
  border-right-color: var(--yappler-line);
}

.messages-sheet-header {
  border-bottom-color: var(--yappler-line);
}

.messages-sheet-title,
.messages-state h3,
.messages-list-title {
  color: var(--yappler-text);
}

.messages-sheet-subtitle,
.messages-state,
.messages-state p,
.messages-list-subtitle,
.messages-list-chatbot {
  color: var(--yappler-muted);
}

.messages-list-item {
  border-bottom-color: var(--yappler-line);
}

.messages-list-item:hover,
.messages-list-item.is-selected {
  background: var(--yappler-charcoal);
}

.messages-list-subtitle-positive {
  color: #15803d;
  font-weight: 700;
}

html[data-theme="dark"] .messages-list-subtitle-positive {
  color: #86efac;
}

/* Messages bottom-nav page refinements use the app's final reference palette. */
.messages-panel {
  z-index: 7000;
  background: #000;
}
.messages-panel-backdrop,
.messages-sheet,
.messages-sheet-body {
  background: #000;
}
.messages-sheet {
  border-color: var(--yappler-line);
}
.messages-sheet-header {
  background: linear-gradient(180deg, #050607 0%, #000 100%);
  border-bottom-color: var(--yappler-line);
}
.messages-sheet-eyebrow {
  color: var(--yappler-accent-bright);
}
.messages-sheet-title,
.messages-state h3,
.messages-list-title,
.messages-story-brand {
  color: var(--yappler-text);
}
.messages-sheet-subtitle,
.messages-state,
.messages-state p,
.messages-list-subtitle,
.messages-list-chatbot,
.messages-story-bot,
.messages-list-time,
.messages-list-chevron {
  color: var(--yappler-muted);
}
.messages-sheet-close {
  background: #101617;
  border-color: var(--yappler-line);
  color: var(--yappler-text);
}
@media (hover: hover) {
  .messages-sheet-close:hover {
    background: var(--yappler-charcoal);
    border-color: #3a4647;
    color: #ffffff;
  }
}
.messages-tabs {
  background: #101617;
  border: 1px solid var(--yappler-line);
}
.messages-tab {
  color: var(--yappler-muted);
}
.messages-tab.is-active {
  background: #ffffff;
  color: #050607;
  box-shadow: none;
}
.messages-tab-count {
  background: rgba(66, 214, 178, 0.18);
}
.messages-tab.is-active .messages-tab-count {
  background: rgba(5, 6, 7, 0.12);
}
.messages-tab:focus-visible,
.messages-story:focus-visible,
.messages-list-card:focus-visible,
.messages-cta:focus-visible,
.messages-sheet-close:focus-visible {
  outline-color: var(--yappler-accent-bright);
}
.messages-story-icon,
.messages-avatar {
  background: linear-gradient(135deg, var(--yappler-accent) 0%, var(--yappler-accent-deep) 100%);
  background-image: linear-gradient(135deg, var(--yappler-accent) 0%, var(--yappler-accent-deep) 100%);
  color: #ffffff;
}
.messages-story-icon {
  border-color: var(--yappler-accent-bright);
  box-shadow: 0 8px 20px rgba(66, 214, 178, 0.22);
}
.messages-avatar.has-image {
  background: #101617;
  border-color: #3a4647;
}
.messages-state-icon {
  background: #101617;
  color: var(--yappler-accent-bright);
}
.messages-state-icon-error {
  background: #2a1114;
  color: #ff9da2;
}
.messages-spinner {
  border-color: #2f393a;
  border-top-color: var(--yappler-accent-bright);
}
.messages-skeleton-list span,
.messages-list-card {
  background: #101617;
  border-color: var(--yappler-line);
  box-shadow: none;
}
.messages-skeleton-list span {
  background-image: linear-gradient(90deg, #101617 0%, #172123 48%, #101617 100%);
}
.messages-list-item,
.messages-list-item:hover,
.messages-list-item.is-selected {
  background: transparent;
  border-bottom: 0;
}
@media (hover: hover) {
  .messages-list-card:hover {
    background: var(--yappler-charcoal);
    border-color: #3a4647;
    box-shadow: none;
  }
}
.messages-list-item.is-selected .messages-list-card {
  background: var(--yappler-charcoal);
  border-color: #3a4647;
  box-shadow: inset 4px 0 0 var(--yappler-accent-bright);
}
.messages-list-subtitle-positive {
  color: #86efac;
  font-weight: 800;
}
.messages-status-badge-success {
  border-color: rgba(134, 239, 172, 0.24);
  background: rgba(22, 101, 52, 0.24);
  color: #86efac;
}
.messages-status-badge-active {
  border-color: rgba(147, 197, 253, 0.24);
  background: rgba(30, 64, 175, 0.24);
  color: #bfdbfe;
}
.messages-status-badge-warning {
  border-color: rgba(251, 191, 36, 0.26);
  background: rgba(120, 53, 15, 0.26);
  color: #fde68a;
}
.messages-status-badge-neutral {
  border-color: rgba(182, 188, 182, 0.24);
  background: rgba(182, 188, 182, 0.12);
  color: var(--yappler-muted);
}
.messages-cta {
  background: #c9232c;
  color: #ffffff;
}
@media (hover: hover) {
  .messages-cta:hover {
    background: #ad1f27;
  }
}
@media (min-width: 760px) {
  .messages-sheet {
    border-color: var(--yappler-line);
  }
}


/* ─── Yappler Labs ─────────────────────────────────────────── */
html:has(.labs-page) {
  scroll-behavior: smooth;
}

body:has(.labs-page) {
  background: #050505;
  color: #fff3e6;
}

body:has(.labs-page) .bottom-nav {
  display: none;
}

.labs-page {
  --labs-ink: #fff3e6;
  --labs-muted: #a6a09b;
  --labs-line: rgba(255, 243, 230, 0.18);
  --labs-acid: #f5e642;
  --labs-royal-blue: #4169e1;
  --labs-light-blue: #8ec5ff;
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 243, 230, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 243, 230, 0.035) 1px, transparent 1px),
    #050505;
  background-size: 56px 56px;
  color: var(--labs-ink);
  font-family: "DM Sans", var(--app-font-sans), sans-serif;
}

.labs-page::before {
  position: absolute;
  top: -22rem;
  right: -14rem;
  width: 52rem;
  height: 52rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 230, 66, 0.14), transparent 66%);
  content: "";
  pointer-events: none;
}

.labs-noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.labs-nav,
.labs-hero,
.labs-night-shift,
.labs-services,
.labs-inquiry,
.labs-footer {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
}

.labs-nav {
  width: 100%;
  max-width: none;
  overflow: hidden;
  padding: 24px 0 22px;
}

.labs-header-pattern {
  display: flex;
  align-items: center;
  width: 150vw;
  margin-left: -25vw;
  color: transparent;
  -webkit-text-stroke: 1px var(--labs-ink);
  font-size: clamp(34px, 5.2vw, 78px);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.labs-header-pattern > .labs-header-label {
  min-width: 0;
  flex: 0 0 50vw;
  text-align: center;
}

.labs-header-letter {
  display: inline-block;
}

.labs-header-letter.is-glitching {
  color: var(--labs-acid);
  -webkit-text-stroke-color: var(--labs-acid);
  text-shadow:
    0 0 5px rgba(245, 230, 66, 0.95),
    0 0 22px rgba(245, 230, 66, 0.72);
  animation: labs-header-letter-glitch 260ms steps(2, end);
}

@keyframes labs-header-letter-glitch {
  0%,
  100% {
    filter: brightness(1);
    transform: translate3d(0, 0, 0);
  }

  30% {
    filter: brightness(1.8);
    transform: translate3d(-1px, 1px, 0);
  }

  60% {
    filter: brightness(1.25);
    transform: translate3d(1px, -1px, 0);
  }
}

.labs-header-label.is-scan-flash .labs-header-letter {
  animation: labs-header-completion-flash 1s ease-out both;
}

@keyframes labs-header-completion-flash {
  0%,
  24% {
    color: var(--labs-acid);
    -webkit-text-stroke-color: var(--labs-acid);
    text-shadow: 0 0 8px rgba(245, 230, 66, 0.95), 0 0 26px rgba(245, 230, 66, 0.65);
  }
  100% {
    color: transparent;
    -webkit-text-stroke-color: var(--labs-ink);
    text-shadow: none;
  }
}

.labs-primary-cta,
.labs-footer a {
  text-decoration: none;
}

.labs-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  grid-gap: clamp(40px, 7vw, 100px);
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
  min-height: 650px;
  padding: 84px 0 116px;
}

.labs-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 27px;
  color: var(--labs-acid);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.labs-kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--labs-acid);
  box-shadow: 0 0 18px rgba(245, 230, 66, 0.85);
}

.labs-hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--labs-ink);
  font-size: clamp(2.4rem, 4.8vw, 4.1rem);
  font-weight: 700;
  letter-spacing: -0.095em;
  line-height: 0.98;
  text-align: left;
}

.labs-hero h1 em {
  color: var(--labs-acid);
  font-style: normal;
}

.labs-hero-highlight {
  padding: 0 0.08em 0.02em;
  color: var(--labs-acid);
  background: rgba(142, 197, 255, 0.38);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.labs-hero-line {
  display: block;
  white-space: nowrap;
}

.labs-hero-intro {
  max-width: 370px;
  margin: 30px 0 26px;
  color: var(--labs-muted);
  font-size: 15px;
  letter-spacing: -0.02em;
  line-height: 1.65;
}

.labs-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: clamp(28px, 3vw, 48px);
  min-height: 72px;
  padding: 22px 26px 22px 30px;
  border: 1px solid var(--labs-royal-blue);
  color: var(--labs-ink);
  background: var(--labs-royal-blue);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.labs-primary-cta svg {
  width: clamp(26px, 2.6vw, 42px);
  height: clamp(26px, 2.6vw, 42px);
  flex: 0 0 auto;
}
.labs-services-cta svg {
  width: clamp(40px, 4vw, 64px);
  height: clamp(40px, 4vw, 64px);
}

.labs-primary-cta:hover,
.labs-inquiry-submit:hover:not(:disabled) {
  background: transparent;
  border-color: var(--labs-royal-blue);
  color: var(--labs-ink);
  transform: translateY(-3px);
}

.labs-services-cta {
  grid-column: 2;
  justify-self: stretch;
  width: 100%;
  min-height: 172px;
  margin-top: 38px;
  padding: 34px 40px;
  border-color: transparent;
  justify-content: space-between;
  color: var(--labs-ink);
  background: var(--labs-royal-blue);
  font-size: clamp(1.6rem, 3vw, 3rem);
}

.labs-scanner {
  position: relative;
  aspect-ratio: 1 / 1;
  width: min(100%, 500px);
  justify-self: end;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 243, 230, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 243, 230, 0.05) 1px, transparent 1px),
    rgba(5, 5, 5, 0.55);
  background-size: 24px 24px;
  font-family: "DM Mono", monospace;
}

.labs-scanner-header,
.labs-scanner-readout {
  position: absolute;
  right: 28px;
  left: 28px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--labs-muted);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.labs-scanner-header {
  top: 27px;
}

.labs-scanner-header span:first-child {
  color: var(--labs-acid);
}

.labs-scanner-cells {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}

.labs-scanner-cell {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 3px;
  background: rgba(142, 197, 255, 0.3);
  opacity: 0;
  transform: scale(0.92);
  transition: transform 180ms ease, background-color 180ms ease;
}

.labs-scanner-cell.is-lit {
  background: rgba(142, 197, 255, 0.38);
  box-shadow: inset 0 0 15px rgba(142, 197, 255, 0.28), 0 0 13px rgba(142, 197, 255, 0.32);
  opacity: 1;
  transform: scale(1);
}

.labs-scanner-completion {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  will-change: opacity;
}

.labs-scanner-completion.is-fading-out {
  animation: labs-scanner-completion-fade 900ms linear forwards;
}

.labs-scanner-completion-cell {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 3px;
}

.labs-scanner-completion-cell.is-filled {
  background: rgba(245, 230, 66, 0.78);
  box-shadow: inset 0 0 16px rgba(245, 230, 66, 0.38), 0 0 13px rgba(245, 230, 66, 0.32);
}

@keyframes labs-scanner-completion-fade {
  to { opacity: 0; }
}

.labs-scanner-stage {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 76%;
  height: 61%;
  transform: translate(-50%, -50%);
}

.labs-scanner-crosshair {
  position: absolute;
  background: rgba(255, 243, 230, 0.12);
}

.labs-scanner-crosshair-x {
  top: 50%;
  right: -11%;
  left: -11%;
  height: 1px;
}

.labs-scanner-crosshair-y {
  top: -15%;
  bottom: -15%;
  left: 50%;
  width: 1px;
}

.labs-scanner-sweep {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;
  height: 1px;
  transform-origin: left center;
  background: linear-gradient(90deg, transparent, rgba(142, 197, 255, 0.9));
  box-shadow: 0 0 12px rgba(142, 197, 255, 0.65);
}

.labs-scanner-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(142, 197, 255, 0.48);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.labs-scanner-orbit-main {
  width: 100%;
  height: 100%;
}

.labs-scanner-orbit-secondary {
  width: 72%;
  height: 72%;
  border-color: rgba(255, 243, 230, 0.2);
  transform: translate(-50%, -50%) rotate(34deg);
}

.labs-scanner-beacon {
  position: absolute;
  top: 50%;
  right: 0;
  width: 46px;
  height: 46px;
  transform: translate(50%, -50%);
}

.labs-scanner-beacon-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  border: 3px solid #050505;
  border-radius: 50%;
  background: var(--labs-light-blue);
  box-shadow: 0 0 0 5px rgba(142, 197, 255, 0.18), 0 0 24px rgba(142, 197, 255, 0.9);
  transform: translate(-50%, -50%);
}

.labs-scanner-beacon.is-complete .labs-scanner-beacon-dot {
  background: var(--labs-acid);
  box-shadow: 0 0 0 5px rgba(245, 230, 66, 0.18), 0 0 24px rgba(245, 230, 66, 0.9);
}

.labs-scanner-percent {
  z-index: 1;
  color: var(--labs-ink);
  font-size: clamp(0.75rem, 1.3vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.labs-scanner-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  width: 42%;
  height: 42%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(255, 243, 230, 0.3);
  border-radius: 50%;
  color: var(--labs-ink);
  background: rgba(5, 5, 5, 0.88);
  box-shadow: 0 0 40px rgba(142, 197, 255, 0.12), inset 0 0 24px rgba(142, 197, 255, 0.06);
  transform: translate(-50%, -50%);
}

.labs-scanner-core-ring {
  position: absolute;
  inset: 10%;
  border: 1px dashed rgba(142, 197, 255, 0.45);
  border-radius: 50%;
  animation: labs-scanner-core-pulse 2.4s ease-in-out infinite;
}

.labs-scanner-core-label {
  z-index: 1;
  color: var(--labs-muted);
  font-size: clamp(0.5rem, 0.8vw, 0.68rem);
  letter-spacing: 0.16em;
}

.labs-scanner-core strong {
  z-index: 1;
  color: #fff;
  font-size: clamp(0.75rem, 1.35vw, 1.05rem);
  letter-spacing: 0.1em;
}

.labs-scanner-core strong.is-complete {
  color: var(--labs-acid);
}

.labs-scanner-percent.is-complete {
  color: var(--labs-acid);
}

.labs-scanner-marker {
  position: absolute;
  z-index: 3;
  padding: 5px 7px;
  border: 1px solid rgba(142, 197, 255, 0.4);
  color: var(--labs-acid);
  background: #050505;
  font-size: clamp(0.48rem, 0.8vw, 0.65rem);
  letter-spacing: 0.08em;
}

.labs-scanner-marker-one {
  top: 5%;
  left: 10%;
}

.labs-scanner-marker-two {
  top: 16%;
  right: 3%;
}

.labs-scanner-marker-three {
  right: 4%;
  bottom: 7%;
}

.labs-scanner-marker-security {
  bottom: 16%;
  left: 2%;
}

.labs-scanner-readout {
  bottom: 27px;
  justify-content: flex-start;
  gap: 10px;
}

.labs-scanner-readout-label {
  color: var(--labs-muted);
}

.labs-scanner-status {
  color: #f97316;
  letter-spacing: 0.08em;
}

.labs-scanner-status.is-complete {
  color: #55d68a;
}

.labs-scanner-readout-line {
  width: 1px;
  height: 12px;
  margin: 0 3px;
  background: var(--labs-line);
}

@keyframes labs-scanner-core-pulse {
  0%, 100% {
    opacity: 0.35;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.04);
  }
}

.labs-services {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
  grid-gap: clamp(40px, 8vw, 145px);
  gap: clamp(40px, 8vw, 145px);
  padding: 34px 0 124px;
  border-top: 1px solid var(--labs-line);
}

.labs-section-heading-row h2 {
  margin: 0;
  color: var(--labs-ink);
  font-size: clamp(4rem, 6vw, 7.5rem);
  font-weight: 600;
  letter-spacing: -0.085em;
  line-height: 0.98;
}

.labs-section-heading .labs-kicker {
  margin-bottom: 23px;
}

.labs-service-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  padding: 30px 0 34px;
  border-bottom: 1px solid var(--labs-line);
  transition: padding 180ms ease, background 180ms ease;
}

.labs-service-card:last-child {
  border-bottom: 0;
}


.labs-service-card:hover {
  padding-right: 12px;
  padding-left: 12px;
  background: rgba(245, 230, 66, 0.045);
}

.labs-service-main h3 {
  margin: 0 0 12px;
  color: var(--labs-ink);
  font-size: clamp(1.5rem, 2.5vw, 2.3rem);
  font-weight: 500;
  letter-spacing: -0.06em;
}

.labs-service-main p {
  max-width: 535px;
  margin: 0;
  color: var(--labs-muted);
  font-size: 14px;
  line-height: 1.65;
}

.labs-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.labs-service-tags li {
  padding: 6px 9px;
  border: 1px solid var(--labs-line);
  color: var(--labs-muted);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.labs-service-tag-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.labs-service-tag-row .labs-service-tags {
  margin: 0;
}

.labs-why-button {
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid var(--labs-acid);
  color: #050505;
  background: var(--labs-acid);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.labs-why-button:hover {
  color: var(--labs-acid);
  background: transparent;
  transform: translateY(-1px);
}

.labs-why-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.76);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

.labs-why-dialog {
  position: relative;
  width: min(100%, 520px);
  padding: clamp(28px, 6vw, 48px);
  border: 1px solid rgba(142, 197, 255, 0.38);
  color: var(--labs-ink);
  background: #0b0c10;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.6);
}

.labs-why-close {
  position: absolute;
  top: 12px;
  right: 14px;
  padding: 4px 8px;
  border: 0;
  color: var(--labs-muted);
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.labs-why-eyebrow {
  margin: 0 0 16px;
  color: var(--labs-acid);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
}

.labs-why-dialog h2 {
  margin: 0 0 18px;
  color: var(--labs-ink);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  letter-spacing: -0.06em;
  line-height: 1;
}

.labs-why-dialog p:not(.labs-why-eyebrow) {
  color: var(--labs-muted);
  font-size: 14px;
  line-height: 1.7;
}

.labs-footer {
  display: flex;
  justify-content: space-between;
  padding: 20px 0 32px;
  border-top: 1px solid var(--labs-line);
  color: var(--labs-muted);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.09em;
}

.labs-inquiry {
  scroll-margin-top: 28px;
  padding-top: clamp(72px, 10vw, 130px);
  padding-bottom: clamp(80px, 12vw, 150px);
  border-top: 1px solid var(--labs-line);
}

.labs-inquiry-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.labs-inquiry-kicker {
  margin: 0 0 16px;
  color: var(--labs-acid);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
}

.labs-inquiry-heading h2 {
  margin: 0;
  color: var(--labs-ink);
  font-size: clamp(2.7rem, 6vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 0.98;
}

.labs-inquiry-heading > p:last-child {
  margin: 18px 0 0;
  color: var(--labs-muted);
  font-size: 15px;
  line-height: 1.65;
}

.labs-inquiry-form {
  max-width: 820px;
}

.labs-inquiry-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.labs-inquiry-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 24px 20px;
  gap: 24px 20px;
}

.labs-inquiry-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 9px;
  color: var(--labs-ink);
  font-size: 13px;
  font-weight: 600;
}

.labs-inquiry-field-wide {
  grid-column: 1 / -1;
}

.labs-inquiry-channels {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--labs-ink);
}

.labs-inquiry-channels legend {
  padding: 0;
  font-size: 13px;
  font-weight: 600;
}

.labs-inquiry-channels > p {
  margin: 6px 0 14px;
  color: var(--labs-muted);
  font-size: 13px;
  font-weight: 400;
}

.labs-inquiry-channel-options {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 12px 16px;
  gap: 12px 16px;
}

.labs-inquiry-channel-options label {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  color: var(--labs-ink);
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
}

.labs-inquiry-channel-options input {
  display: grid;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  place-content: center;
  margin: 0;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 1px solid var(--labs-line);
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
}

.labs-inquiry-channel-options input::before {
  width: 8px;
  height: 4px;
  transform: rotate(-45deg) scale(0);
  border-bottom: 2px solid var(--labs-acid);
  border-left: 2px solid var(--labs-acid);
  content: "";
}

.labs-inquiry-channel-options input:checked::before {
  transform: rotate(-45deg) scale(1);
}

.labs-inquiry-channel-options input:hover {
  border-color: var(--labs-acid);
}

.labs-inquiry-channel-options input:focus-visible {
  outline: 2px solid var(--labs-acid);
  outline-offset: 3px;
}

.labs-inquiry-field input,
.labs-inquiry-field select,
.labs-inquiry-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 15px;
  border: 1px solid var(--labs-line);
  border-radius: 0;
  outline: none;
  color: var(--labs-ink);
  background: rgba(255, 255, 255, 0.035);
  font: 400 14px/1.5 "DM Sans", var(--app-font-sans), sans-serif;
  transition: border-color 160ms ease, background 160ms ease;
}

.labs-inquiry-field textarea {
  min-height: 150px;
  resize: vertical;
}

.labs-inquiry-field input::placeholder,
.labs-inquiry-field textarea::placeholder {
  color: #77716c;
}

.labs-inquiry-field input:hover,
.labs-inquiry-field select:hover,
.labs-inquiry-field textarea:hover,
.labs-inquiry-field input:focus,
.labs-inquiry-field select:focus,
.labs-inquiry-field textarea:focus {
  border-color: var(--labs-acid);
}

.labs-inquiry-field input:focus,
.labs-inquiry-field select:focus,
.labs-inquiry-field textarea:focus {
  background: rgba(255, 255, 255, 0.055);
}

.labs-inquiry-submit-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.labs-inquiry-submit {
  min-height: 56px;
  padding: 0 24px;
  border: 1px solid var(--labs-royal-blue);
  color: #ffffff;
  background: var(--labs-royal-blue);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease, opacity 160ms ease;
}

.labs-inquiry-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.labs-inquiry-status {
  flex: 1 1 260px;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.labs-inquiry-status.is-success {
  color: var(--labs-acid);
}

.labs-inquiry-status.is-error {
  color: #ff938b;
}

@media (prefers-reduced-motion: reduce) {
  html:has(.labs-page) {
    scroll-behavior: auto;
  }
}

.labs-footer p {
  margin: 0;
}

.labs-footer a {
  color: var(--labs-acid);
  transition: opacity 180ms ease;
}

.labs-footer a:hover {
  opacity: 0.7;
}

@media (min-width: 761px) and (max-width: 900px) {
  .labs-hero h1 { font-size: clamp(2rem, 4.2vw, 2.35rem); }
}

@media (max-width: 760px) {
  .labs-nav,
  .labs-hero,
  .labs-night-shift,
  .labs-services,
  .labs-inquiry,
  .labs-footer {
    width: min(100% - 36px, 560px);
  }

  .labs-nav {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    padding: 20px 0 18px;
  }

  .labs-header-pattern {
    width: 100%;
    margin-left: 0;
    justify-content: center;
    font-size: clamp(26px, 8vw, 40px);
  }

  .labs-header-pattern > .labs-header-label {
    display: none;
  }

  .labs-header-pattern > .labs-header-label:nth-child(2) {
    display: block;
    flex: 0 0 100%;
    width: 100%;
  }

  .labs-hero {
    display: block;
    min-height: 0;
    padding: 72px 0 84px;
  }

  .labs-hero h1 {
    font-size: clamp(1.8rem, 9vw, 3.4rem);
    line-height: 1;
  }

  .labs-hero-intro {
    margin-top: 31px;
    font-size: 15px;
  }

  .labs-primary-cta {
    width: 100%;
    min-height: 60px;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
    font-size: clamp(0.85rem, 4.2vw, 1rem);
    white-space: nowrap;
  }

  .labs-primary-cta svg {
    width: 22px;
    height: 22px;
  }
  .labs-services-cta svg {
    width: 30px;
    height: 30px;
  }

  .labs-services-cta {
    min-height: 60px;
    margin-top: 24px;
    padding: 14px;
    font-size: clamp(0.85rem, 4.2vw, 1rem);
  }

  .labs-scanner {
    width: 100vw;
    max-width: none;
    margin: 68px calc(50% - 50vw) 0;
  }

  .labs-services {
    display: block;
    padding: 30px 0 82px;
  }

  .labs-inquiry-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .labs-inquiry-channel-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .labs-inquiry-field-wide {
    grid-column: auto;
  }

  .labs-inquiry-heading {
    margin-bottom: 32px;
  }

  .labs-section-heading {
    margin-bottom: 54px;
  }

  .labs-section-heading-row h2 {
    font-size: clamp(2.8rem, 12vw, 4.8rem);
    line-height: 1;
  }

  .labs-service-card {
    padding: 25px 0 29px;
  }

  .labs-service-card:hover {
    padding-right: 0;
    padding-left: 0;
    background: transparent;
  }

  .labs-service-main h3 {
    font-size: 1.65rem;
  }

  .labs-service-main p {
    font-size: 13px;
  }

  .labs-footer {
    display: block;
    padding-bottom: 27px;
  }

  .labs-footer a {
    display: inline-block;
    margin-top: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .labs-scanner-completion.is-fading-out {
    animation: none;
    opacity: 0;
  }

  .labs-scanner-sweep,
  .labs-scanner-core-ring {
    animation: none;
  }

  .labs-header-letter.is-glitching {
    animation: none;
    color: transparent;
    text-shadow: none;
    -webkit-text-stroke-color: var(--labs-ink);
  }

  .labs-primary-cta,
  .labs-service-card {
    transition: none;
  }
}

/* ─── Home Labs credit ─────────────────────────────────────── */
.labs-credit {
  align-self: center;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  margin: 0 auto 80px;
  padding: 12px 10px;
  color: #6f7382;
  font-family: "DM Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, transform 180ms ease;
}

.labs-credit span {
  color: #9699a4;
  font-size: 11px;
  text-transform: lowercase;
}

.labs-credit strong {
  color: #565b68;
  font-size: 14px;
  font-weight: 600;
}

.labs-credit:hover {
  color: #7c3aed;
  transform: translateY(-1px);
}

.labs-credit:hover strong {
  color: #7c3aed;
}

html[data-theme="dark"] .labs-credit {
  color: #c9ff4d;
}

html[data-theme="dark"] .labs-credit span {
  color: #d0d2dc;
}

html[data-theme="dark"] .labs-credit strong {
  color: #ffffff;
}

@media (max-width: 640px) {
  .labs-credit {
    gap: 6px;
    padding: 10px 6px;
    font-size: 11px;
  }

  .labs-credit span {
    font-size: 10px;
  }

  .labs-credit strong {
    font-size: 12px;
  }
}

.pricing-table-wrap {
  width: 100%;
  margin: 0.75rem 0 1.5rem;
  overflow-x: auto;
  border: 1px solid #ede9f8;
  border-radius: 10px;
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  line-height: 1.5;
}
.pricing-table th,
.pricing-table td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid #ede9f8;
  text-align: left;
  vertical-align: top;
}
.pricing-table th {
  background: #f5f3ff;
  color: #5b21b6;
  font-size: 0.78rem;
  font-weight: 800;
}
.pricing-table tr:last-child td { border-bottom: 0; }
.pricing-table td:nth-child(2) { white-space: nowrap; }
@media (max-width: 560px) {
  .pricing-table { min-width: 520px; }
}

.pricing-body > h2:first-child { margin-top: 0; }

.home-footer--push { margin-top: auto; }
/* Full-width footer surface with centered, max-width link content. */
.home-footer {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  display: block;
  box-sizing: border-box;
  border-top: 1px solid #ede9f8;
  background: #000;
}
.home-footer-inner {
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem calc(1rem + 64px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 640px) {
  .home-footer-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: center;
    grid-gap: 0.75rem 0.5rem;
    gap: 0.75rem 0.5rem;
    padding: 1rem 1rem calc(1rem + 64px + env(safe-area-inset-bottom, 0px));
  }
  .home-footer-left,
  .home-footer-right { display: contents; }
  .home-footer-link { text-align: center; white-space: nowrap; }
}

/* Keep the linked Blog, Use Cases, and Explore pages on the Privacy page's light theme. */
.blog-page,
.uc-page {
  background: #faf9ff !important;
  color: #1e2235;
}
.blog-nav {
  background: rgba(250, 249, 255, 0.94) !important;
  border-bottom: 1px solid #ede9f8;
}
.blog-header {
  background: linear-gradient(135deg, #ffffff 0%, #f3edff 100%) !important;
  color: #1e2235;
}
.blog-eyebrow { color: #7c3aed; }
.blog-header-sub { color: #6b7280; }
.blog-section-quote,
.blog-more { background: #f5f3ff !important; }
.blog-section-cta {
  background: #f5f3ff !important;
  color: #1e2235;
}
.blog-section-cta h3 { color: #1e2235; }
.uc-center-node,
.uc-list-featured {
  background: linear-gradient(135deg, #7c3aed, #4f46e5) !important;
  background-image: linear-gradient(135deg, #7c3aed, #4f46e5) !important;
}
.uc-node:hover { background: #7c3aed !important; }
.explore-site-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #faf9ff;
  color: #1e2235;
}
.explore-site-page > .explore-page { flex: 1 1; width: 100%; }
.home-footer--push { margin-top: auto; }
.explore-item-link:hover,
.explore-item-link:focus-visible {
  background: #f3edff !important;
}

/* Labs privacy links sit beside every project continuation prompt. */
.labs-cta-row,
.labs-services-cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
}
.labs-services-cta-row {
  grid-column: 2;
  min-width: 0;
  margin-top: 38px;
}
.labs-services-cta-row .labs-services-cta {
  grid-column: auto;
  width: auto;
  min-width: 0;
  flex: 1 1 auto;
  margin-top: 0;
}
.labs-privacy-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  color: var(--labs-muted);
  font-size: 12px;
  font-weight: 500;
  text-underline-offset: 4px;
  transition: color 160ms ease;
}
.labs-privacy-link svg { width: 16px; height: 16px; color: var(--labs-acid); }
.labs-privacy-link:hover { color: var(--labs-acid); }

/* Yappler Labs privacy policy page */
.labs-privacy-nav,
.labs-privacy-content,
.labs-privacy-footer {
  position: relative;
  z-index: 2;
  width: min(100% - 64px, 1120px);
  margin-right: auto;
  margin-left: auto;
}
.labs-privacy-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  border-bottom: 1px solid var(--labs-line);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
}
.labs-privacy-brand {
  color: var(--labs-ink);
  font-weight: 700;
  text-decoration: none;
}
.labs-privacy-back {
  color: var(--labs-muted);
  text-decoration: none;
}
.labs-privacy-back:hover,
.labs-privacy-content a:hover { color: var(--labs-acid); }
.labs-privacy-content {
  max-width: 820px;
  padding-top: clamp(64px, 10vw, 120px);
  padding-bottom: clamp(80px, 12vw, 150px);
}
.labs-privacy-content section {
  max-width: 700px;
  padding: 28px 0;
  border-top: 1px solid var(--labs-line);
}
.labs-privacy-content section h2 {
  margin: 0 0 14px;
  color: var(--labs-ink);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}
.labs-privacy-content section p {
  margin: 0;
  color: var(--labs-muted);
  font-size: 15px;
  line-height: 1.8;
}
.labs-privacy-content a {
  color: var(--labs-ink);
  text-underline-offset: 3px;
}
.labs-privacy-footer {
  display: flex;
  justify-content: space-between;
  padding: 20px 0 32px;
  border-top: 1px solid var(--labs-line);
  color: var(--labs-muted);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.09em;
}
.labs-privacy-footer a {
  color: var(--labs-acid);
  text-decoration: none;
}

@media (max-width: 760px) {
  .labs-cta-row,
  .labs-services-cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .labs-cta-row .labs-primary-cta,
  .labs-services-cta-row .labs-services-cta { width: 100%; }
  .labs-cta-row > .labs-privacy-link,
  .labs-services-cta-row > .labs-privacy-link { align-self: flex-end; }
  .labs-services-cta-row { grid-column: 1; margin-top: 24px; }
  .labs-privacy-nav,
  .labs-privacy-content,
  .labs-privacy-footer { width: min(100% - 36px, 560px); }
  .labs-privacy-nav { padding: 20px 0; }
  .labs-privacy-footer { flex-direction: column; gap: 12px; }
}
.labs-services-cta {
  gap: 16px;
  padding-right: clamp(20px, 2.5vw, 36px);
  padding-left: clamp(20px, 2.5vw, 36px);
  font-size: clamp(1.25rem, 2.2vw, 2.4rem);
}
.labs-services-cta > span { white-space: nowrap; }
@media (max-width: 760px) {
  .labs-services-cta {
    padding: 14px;
    font-size: clamp(0.85rem, 4.2vw, 1rem);
  }
}

/* Retro handheld-RPG inspired night-shift scene, illustrated with original pixel sprites. */
.labs-night-shift {
  padding-top: clamp(70px, 9vw, 120px);
  padding-bottom: clamp(76px, 9vw, 124px);
  border-top: 1px solid var(--labs-line);
}
.labs-night-copy { max-width: 1040px; margin: 0 auto 46px; }
.labs-night-copy .labs-kicker { margin-bottom: 22px; }
.labs-night-copy h2 {
  max-width: 1000px;
  margin: 0;
  color: var(--labs-ink);
  font-size: clamp(2.15rem, 4.6vw, 4.8rem);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 1.04;
}
.labs-night-copy h2 strong { color: var(--labs-acid); font-weight: inherit; }
.labs-pixel-scene {
  --labs-human-width: 64px;
  --labs-bot-width: 52px;
  --labs-follow-gap: 3px;
  --labs-bot-left-wait: calc(6cqw + var(--labs-human-width) + var(--labs-follow-gap));
  --labs-bot-right-wait: calc(94cqw - var(--labs-human-width) - var(--labs-bot-width) - var(--labs-follow-gap));
  container-type: inline-size;
  position: relative;
  height: clamp(250px, 31vw, 360px);
  overflow: hidden;
  border: 1px solid rgba(142, 197, 255, 0.24);
  background: #11152a;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
  image-rendering: pixelated;
}
.labs-pixel-landscape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
}
.labs-pixel-walkers { position: absolute; z-index: 1; inset: 0; }
.labs-pixel-walker {
  position: absolute;
  bottom: 24%;
  left: 0;
  display: block;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}
.labs-pixel-walker-human { z-index: 2; animation: labs-human-traverse 12s linear infinite; }
.labs-pixel-walker-bot { z-index: 1; transform: translate3d(var(--labs-bot-left-wait), 0, 0); animation: labs-bot-follow-path 12s linear infinite; }
.labs-pixel-sprite {
  display: block;
  flex: 0 0 auto;
  image-rendering: pixelated;
  animation: labs-pixel-bob 300ms steps(2, end) infinite;
}
.labs-pixel-programmer { width: 64px; height: 90px; }
.labs-pixel-bot { width: 52px; height: 70px; animation: none; }
.labs-pixel-bot-walking-legs { opacity: 0; animation: labs-bot-leg-visibility 12s steps(1, end) infinite; }
.labs-pixel-bot-rest-legs { opacity: 1; animation: labs-bot-rest-visibility 12s steps(1, end) infinite; }
.labs-pixel-jump-layer {
  transform: translateY(0);
}
.labs-pixel-jump-layer.is-jumping {
  animation: labs-pixel-jump 620ms cubic-bezier(0.2, 0.75, 0.35, 1) both;
}
.labs-flying-bug {
  position: absolute;
  z-index: 3;
  top: 43%;
  left: 0;
  width: 32px;
  height: 24px;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}
.labs-flying-bug-art,
.labs-flying-bug-art svg {
  display: block;
  width: 32px;
  height: 24px;
}
.labs-flying-bug-art svg { overflow: visible; image-rendering: pixelated; }
.labs-flying-bug.is-defeated .labs-flying-bug-art {
  animation: labs-bug-pop 240ms steps(3, end) both;
}
.labs-bug-wings { animation: labs-bug-flap 140ms steps(2, end) infinite; transform-origin: center; }
.labs-pixel-score {
  position: absolute;
  z-index: 5;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border: 1px solid rgba(245, 230, 66, 0.65);
  background: rgba(17, 21, 42, 0.9);
  color: #dce9ff;
  font-family: "DM Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.1em;
  line-height: 1;
}
.labs-pixel-score strong {
  color: #f5e642;
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}
@keyframes labs-pixel-jump {
  0% { transform: translateY(0); }
  25%, 45% { transform: translateY(-56px); }
  70% { transform: translateY(-34px); }
  100% { transform: translateY(0); }
}
@keyframes labs-bug-flap {
  0%, 49% { transform: translateY(0) scaleY(1); }
  50%, 100% { transform: translateY(-3px) scaleY(0.7); }
}
@keyframes labs-bug-pop {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.8) rotate(18deg); }
}
.labs-pixel-caption {
  position: absolute;
  z-index: 4;
  right: 18px;
  bottom: 14px;
  left: 18px;
  display: flex;
  justify-content: space-between;
  color: rgba(220, 233, 255, 0.68);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
}
@keyframes labs-bot-follow-path {
  0%, 6.2% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
  50%, 56.2% { transform: translate3d(var(--labs-bot-right-wait), 0, 0); }
  100% { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
}
@keyframes labs-bot-leg-visibility {
  0% { opacity: 0; }
  6.2% { opacity: 1; }
  50% { opacity: 0; }
  56.2% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes labs-bot-rest-visibility {
  0% { opacity: 1; }
  6.2% { opacity: 0; }
  50% { opacity: 1; }
  56.2% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes labs-human-traverse {
  0% { transform: translate3d(6cqw, 0, 0); }
  50% { transform: translate3d(calc(94cqw - var(--labs-human-width)), 0, 0); }
  100% { transform: translate3d(6cqw, 0, 0); }
}
@keyframes labs-pixel-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}
.labs-pixel-leg-pose-a { opacity: 1; animation: labs-pixel-step-a 300ms steps(1, end) infinite; }
.labs-pixel-leg-pose-b { opacity: 0; animation: labs-pixel-step-b 300ms steps(1, end) infinite; }
@keyframes labs-pixel-step-a {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
@keyframes labs-pixel-step-b {
  0%, 49% { opacity: 0; }
  50%, 100% { opacity: 1; }
}
@media (max-width: 760px) {
  .labs-night-shift { padding-top: 64px; padding-bottom: 76px; }
  .labs-night-copy { margin-bottom: 28px; }
  .labs-night-copy .labs-kicker { margin-bottom: 18px; }
  .labs-night-copy h2 { font-size: clamp(2rem, 8vw, 3.5rem); }
  .labs-pixel-scene {
    --labs-human-width: 48px;
    --labs-bot-width: 40px;
    --labs-follow-gap: 3px;
    --labs-bot-left-wait: calc(6cqw + var(--labs-human-width) + var(--labs-follow-gap));
    --labs-bot-right-wait: calc(94cqw - var(--labs-human-width) - var(--labs-bot-width) - var(--labs-follow-gap));
    height: 250px;
  }
  .labs-pixel-walker { bottom: 25%; }
  .labs-pixel-programmer { width: 48px; height: 68px; }
  .labs-pixel-bot { width: 40px; height: 54px; }
  .labs-pixel-caption { right: 10px; bottom: 10px; left: 10px; font-size: 7px; }
  .labs-pixel-score { top: 8px; right: 8px; gap: 7px; padding: 6px 8px; font-size: 7px; }
  .labs-pixel-score strong { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .labs-pixel-walker,
  .labs-pixel-sprite,
  .labs-pixel-leg-pose-a,
  .labs-pixel-leg-pose-b { animation: none; }
  .labs-pixel-walker-human { transform: translate3d(6cqw, 0, 0); }
  .labs-pixel-walker-bot { transform: translate3d(var(--labs-bot-left-wait), 0, 0); }
  .labs-pixel-bot-walking-legs { animation: none; opacity: 0; }
  .labs-pixel-bot-rest-legs { animation: none; opacity: 1; }
  .labs-pixel-jump-layer.is-jumping { animation: none; }
  .labs-flying-bug { display: none; }
  .labs-pixel-leg-pose-a { opacity: 1; }
  .labs-pixel-leg-pose-b { opacity: 0; }
}

/* Yappler Labs pricing page and persistent pricing entry point. */
.labs-pricing-inline-link {
  color: var(--labs-acid);
  font-size: 0.72em;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
  white-space: nowrap;
}

.labs-pricing-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 10000;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--labs-acid);
  color: #050505;
  background: var(--labs-acid);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.36);
  font-family: "DM Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: transform 160ms ease, color 160ms ease, background 160ms ease;
}

.labs-pricing-float:hover {
  transform: translateY(-1px);
  color: var(--labs-acid);
  background: transparent;
}

.labs-pricing-nav,
.labs-pricing-content,
.labs-pricing-footer {
  position: relative;
  z-index: 2;
  width: min(100% - 64px, 1120px);
  margin-right: auto;
  margin-left: auto;
}

.labs-pricing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  border-bottom: 1px solid var(--labs-line);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
}

.labs-pricing-brand {
  color: var(--labs-ink);
  font-weight: 700;
  text-decoration: none;
}

.labs-pricing-back {
  color: var(--labs-muted);
  text-decoration: none;
}

.labs-pricing-back:hover,
.labs-pricing-footer a:hover {
  color: var(--labs-acid);
}

.labs-pricing-content {
  max-width: 820px;
  padding-top: clamp(64px, 10vw, 120px);
  padding-bottom: clamp(80px, 12vw, 150px);
}

.labs-pricing-content > h1 {
  max-width: 680px;
  margin: 0 0 44px;
  color: var(--labs-ink);
  font-size: clamp(2.7rem, 6vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 0.98;
}

.labs-pricing-card {
  max-width: 680px;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--labs-line);
  background: rgba(255, 255, 255, 0.025);
}

.labs-pricing-rate {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
  color: var(--labs-ink);
}

.labs-pricing-rate strong {
  color: var(--labs-acid);
  font-size: clamp(3.5rem, 9vw, 6rem);
  font-weight: 600;
  letter-spacing: -0.08em;
  line-height: 1;
}

.labs-pricing-rate span {
  color: var(--labs-muted);
  font-size: 16px;
}

.labs-pricing-description,
.labs-pricing-note {
  color: var(--labs-muted);
  font-size: 15px;
  line-height: 1.7;
}

.labs-pricing-description {
  max-width: 500px;
  margin: 24px 0;
}

.labs-pricing-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 12px 24px;
  gap: 12px 24px;
  margin: 0;
  padding: 24px 0;
  border-top: 1px solid var(--labs-line);
  border-bottom: 1px solid var(--labs-line);
  color: var(--labs-ink);
  list-style: none;
}

.labs-pricing-features li::before {
  margin-right: 10px;
  color: var(--labs-acid);
  content: "+";
}

.labs-pricing-note {
  margin: 20px 0 28px;
}

.labs-pricing-cta {
  justify-content: space-between;
  gap: 28px;
  min-height: 60px;
  padding: 14px 20px;
  color: #fff;
  font-size: 15px;
}

.labs-pricing-footer {
  display: flex;
  justify-content: space-between;
  padding: 20px 0 32px;
  border-top: 1px solid var(--labs-line);
  color: var(--labs-muted);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.09em;
}

.labs-pricing-footer a {
  color: var(--labs-acid);
  text-decoration: none;
}

@media (max-width: 760px) {
  .labs-pricing-float {
    right: 16px;
    bottom: 16px;
    min-height: 44px;
    padding: 0 18px;
  }

  .labs-pricing-nav,
  .labs-pricing-content,
  .labs-pricing-footer {
    width: min(100% - 36px, 560px);
  }

  .labs-pricing-nav {
    padding: 20px 0;
  }

  .labs-pricing-content > h1 {
    margin-bottom: 32px;
  }

  .labs-pricing-features {
    grid-template-columns: 1fr;
  }

  .labs-pricing-cta {
    width: 100%;
    gap: 12px;
    padding: 14px;
    font-size: 0.95rem;
  }

  .labs-pricing-footer {
    flex-direction: column;
    gap: 12px;
  }
}

/* Consistent premium interaction treatment for Labs buttons and button-style links. */
.labs-page :is(button, a.labs-primary-cta, a.labs-pricing-float) {
  border-radius: 10px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.labs-page :is(button, a.labs-primary-cta, a.labs-pricing-float):focus-visible {
  outline: 2px solid var(--labs-acid);
  outline-offset: 3px;
}

@media (hover: hover) {
  .labs-page :is(button:not(:disabled), a.labs-primary-cta, a.labs-pricing-float):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
    filter: brightness(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .labs-page :is(button, a.labs-primary-cta, a.labs-pricing-float) {
    transition: none;
  }
}

/* Landing page breathing room before the footer. */
.home-footer--top-space {
  margin-top: 15px;
}

