/* Inner pages — match homepage dark shell (atm.css tokens) */

.nx-canvas.nx-page {
  padding-top: 8px;
  padding-bottom: 48px;
  min-width: 0;
}

.nx-page-hero {
  position: relative;
  margin-top: 12px;
  margin-bottom: 28px;
  padding: 36px 40px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(110deg, #07090e 0%, #0c1422 48%, #15253a 100%);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.nx-page-hero h1,
.nx-page-hero .display {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 750;
  letter-spacing: -0.03em;
  color: #fff;
}

.nx-page-hero p,
.nx-page-hero .lead {
  margin: 12px 0 0;
  max-width: 42rem;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(185, 194, 214, 0.95);
}

.nx-breadcrumbs,
.breadcrumbs {
  display: block;
  margin: 0 0 18px;
  font-size: 13px;
  color: rgba(150, 158, 176, 0.95);
}

.nx-breadcrumbs ol,
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nx-breadcrumbs li,
.breadcrumbs li {
  display: inline-flex;
  align-items: center;
}

.nx-breadcrumbs li:not(:last-child)::after,
.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.35);
}

.nx-breadcrumbs a,
.breadcrumbs a {
  color: rgba(185, 194, 214, 0.95);
}

.nx-breadcrumbs a:hover,
.breadcrumbs a:hover {
  color: #fff;
}

.nx-breadcrumbs [aria-current="page"],
.breadcrumbs [aria-current="page"] {
  color: #fff;
}

/* ---------- Kill light page shells ---------- */

.page-shell,
.fx-modules,
.fx-related,
.fx-cases,
.fx-partners,
.fx-showcase,
.dl-section,
.faq-section,
.gd-section,
.ts-section {
  background: transparent !important;
  color: inherit;
}

/* Never wipe the site shell background when page class is on <body> */
html,
body.nx-body {
  background:
    radial-gradient(ellipse 70% 45% at 12% -5%, rgba(167, 139, 250, 0.18), transparent 55%),
    radial-gradient(ellipse 55% 40% at 88% 8%, rgba(255, 107, 122, 0.14), transparent 50%),
    radial-gradient(ellipse 50% 35% at 70% 55%, rgba(47, 214, 196, 0.1), transparent 55%),
    radial-gradient(ellipse 40% 30% at 20% 80%, rgba(255, 184, 77, 0.08), transparent 50%),
    linear-gradient(180deg, #0a0612 0%, #06040c 40%, #080612 100%) !important;
  background-color: #06040c !important;
  color: #e8ebf2;
}

/* Heroes keep their own gradients in dedicated rules below */
.faq-hero,
.gd-hero,
.ts-hero,
.dl-hero {
  color: #fff;
}

.fx-page,
.dl-page,
.faq-page,
.gd-page,
.ts-page {
  --fx-ink: #f2f4f8;
  --fx-blue: #335cff;
  --dl-mid: #335cff;
  --dl-deep: #1e3a8a;
  --dl-sky: #5b8cff;
  padding-bottom: 0;
}

.fx-wrap,
.dl-wrap,
.page-shell {
  width: min(1180px, 100%);
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Features ---------- */

.fx-hero {
  min-height: 280px !important;
  margin-top: 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.fx-hero-cta,
.fx-contact a.mail,
.dl-cta,
.btn-brand {
  background: linear-gradient(135deg, #5b8cff 0%, #335cff 48%, #2a4de6 100%) !important;
  border-radius: 999px !important;
  box-shadow: 0 10px 28px rgba(51, 92, 255, 0.35);
  border: 0 !important;
}

.fx-hero-cta:hover,
.fx-contact a.mail:hover,
.btn-brand:hover {
  filter: brightness(1.06);
}

.fx-showcase,
.fx-modules,
.fx-cases,
.fx-partners,
.fx-related {
  padding-top: 40px;
  padding-bottom: 44px;
}

.fx-modules {
  background: transparent !important;
  text-align: center;
}

.fx-modules h2,
.fx-cases h2,
.fx-partners h2,
.fx-related h2,
.fx-slide-title,
.fx-mod h3,
.fx-case h3,
.dl-section h2,
.dl-section h3,
.faq-page h1,
.faq-page h2,
.gd-page h1,
.gd-page h2,
.ts-page h1,
.ts-page h2,
.page-shell h1,
.page-shell h2,
.page-shell .display {
  color: #fff !important;
}

.fx-modules h2 {
  margin: 0 auto !important;
  max-width: 28ch;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.fx-mod p,
.fx-case p,
.fx-related p,
.dl-section p,
.faq-page p,
.gd-page p,
.ts-page p,
.page-shell p,
.page-shell .lead {
  color: rgba(185, 194, 214, 0.95) !important;
}

.fx-mod-rail {
  position: relative;
  margin: 32px auto 0 !important;
  max-width: 1100px !important;
  padding: 0 48px !important;
}

.fx-mod-track {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
  justify-content: stretch !important;
  align-items: stretch !important;
  flex-wrap: unset !important;
}

.fx-mod,
.fx-case,
.fx-related a,
.dl-card,
.dl-platform,
.faq-item,
.gd-card,
.ts-card,
.page-card {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  color: #e8ebf2 !important;
  box-shadow: none !important;
}

.fx-showcase {
  background: transparent !important;
}

.fx-slide-art {
  margin: 22px auto 0 !important;
  max-width: min(960px, 94vw) !important;
  padding: 0 !important;
  background: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28) !important;
  overflow: hidden !important;
}

.fx-slide-art img {
  width: 100% !important;
  max-width: 920px !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
  background: #fff !important;
  border-radius: 0 !important;
}

.fx-logo-grid {
  margin: 28px auto 0 !important;
  width: min(1100px, 100%) !important;
  max-width: 1100px !important;
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 12px !important;
  background: transparent !important;
  border: none !important;
}

.fx-logo-grid figure {
  margin: 0 !important;
  aspect-ratio: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16% !important;
  box-sizing: border-box !important;
  /* Soft plate so black/color logos stay readable on dark UI */
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.98), rgba(236, 240, 248, 0.96) 70%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 14px !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22) !important;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.fx-logo-grid figure:hover {
  transform: translateY(-3px);
  border-color: rgba(91, 140, 255, 0.45) !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32) !important;
}

.fx-logo-grid img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
  background: transparent !important;
  /* Collapse baked-in white JPEG backgrounds into the soft plate */
  mix-blend-mode: multiply;
}

@media (max-width: 900px) {
  .fx-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 480px) {
  .fx-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
}

.fx-mod {
  flex: none !important;
  max-width: none !important;
  width: auto !important;
  min-width: 0 !important;
  text-align: center !important;
  padding: 22px 16px 20px !important;
  box-sizing: border-box !important;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.fx-mod-icon {
  width: 72px !important;
  height: 72px !important;
  margin: 0 auto 4px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 25%, rgba(120, 170, 255, 0.22), transparent 60%),
    rgba(51, 92, 255, 0.1);
  border: 1px solid rgba(91, 140, 255, 0.22);
}

.fx-mod-icon img {
  width: 48px !important;
  height: 48px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 4px 12px rgba(51, 92, 255, 0.25));
}

.fx-mod h3 {
  margin: 16px 0 0 !important;
  font-size: 15px !important;
  font-weight: 650 !important;
  letter-spacing: -0.01em;
}

.fx-mod p {
  margin: 10px auto 0 !important;
  max-width: none !important;
  font-size: 12.5px !important;
  line-height: 1.55 !important;
  text-align: center !important;
}

.fx-related a:hover,
.fx-mod:hover,
.dl-card:hover,
.gd-card:hover {
  border-color: rgba(91, 140, 255, 0.5) !important;
  background: rgba(51, 92, 255, 0.1) !important;
  color: #fff !important;
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35) !important;
}

.fx-mod-nav {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 999px !important;
  display: grid !important;
  place-items: center !important;
  font-size: 22px !important;
  line-height: 1 !important;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.fx-mod-prev { left: 0 !important; }
.fx-mod-next { right: 0 !important; }

.fx-mod-nav:hover {
  background: rgba(51, 92, 255, 0.28) !important;
  border-color: rgba(91, 140, 255, 0.55) !important;
  transform: translateY(-50%) scale(1.05) !important;
}

.fx-mod-dots {
  display: flex !important;
  justify-content: center !important;
  gap: 8px !important;
  margin-top: 22px !important;
}

.fx-mod-dots button {
  width: 8px !important;
  height: 8px !important;
  border-radius: 999px !important;
  padding: 0 !important;
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.fx-contact {
  border-radius: 20px;
  margin-top: 12px;
}

.fx-case-pager button,
.fx-mod-nav,
.fx-showcase-dots button {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
}

.fx-showcase-dots button.is-on,
.fx-mod-dots button.is-on {
  width: 18px !important;
  background: #335cff !important;
  border-color: #335cff !important;
}

.fx-cases {
  background: transparent !important;
}

.fx-case-list,
.fx-case-list.is-grid {
  margin: 28px auto 0 !important;
  max-width: 1100px !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
  text-align: left !important;
}

.fx-case {
  display: grid !important;
  grid-template-columns: auto 1fr !important;
  gap: 16px !important;
  align-items: start !important;
  padding: 22px 20px !important;
  text-align: left !important;
  min-height: 140px;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.fx-case:hover {
  transform: translateY(-3px);
  border-color: rgba(91, 140, 255, 0.45) !important;
  background: rgba(51, 92, 255, 0.1) !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3) !important;
}

.fx-case-index {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #c8d8ff;
  background:
    radial-gradient(circle at 30% 25%, rgba(140, 180, 255, 0.28), transparent 62%),
    rgba(51, 92, 255, 0.16);
  border: 1px solid rgba(91, 140, 255, 0.28);
}

.fx-case-body {
  min-width: 0;
}

.fx-case-tag {
  display: inline-flex;
  align-items: center;
  margin-bottom: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9ec0ff;
  background: rgba(51, 92, 255, 0.14);
  border: 1px solid rgba(91, 140, 255, 0.22);
}

.fx-case h3 {
  margin: 0 !important;
  font-size: 16px !important;
  font-weight: 650 !important;
  line-height: 1.3 !important;
  color: #fff !important;
}

.fx-case p {
  margin: 8px 0 0 !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  color: rgba(185, 194, 214, 0.95) !important;
}

.fx-case-pager[hidden] {
  display: none !important;
}

@media (max-width: 720px) {
  .fx-case-list,
  .fx-case-list.is-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 960px) {
  .fx-mod-track {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .fx-mod-rail {
    padding: 0 44px !important;
  }
}

@media (max-width: 560px) {
  .fx-mod-track {
    grid-template-columns: 1fr !important;
  }

  .fx-modules h2 {
    max-width: none;
  }
}

/* ---------- Download ---------- */

.dl-page {
  background: transparent !important;
}

.dl-hero {
  margin-top: 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    radial-gradient(ellipse 70% 60% at 50% 20%, rgba(91, 140, 255, 0.28), transparent 55%),
    linear-gradient(145deg, #0a1220 0%, #12203a 45%, #0b1630 100%) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.dl-hero-inner {
  justify-items: center !important;
  text-align: center !important;
}

.dl-brand-row {
  justify-content: center !important;
}

.dl-hero h1,
.dl-hero-lead {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

.dl-hero h1 {
  max-width: 18ch !important;
}

.dl-hero-actions,
.dl-meta-pills {
  justify-content: center !important;
}

.dl-hero::before {
  opacity: 0.35;
}

.dl-hero::after {
  background: #05070a !important;
}

.dl-cta {
  background: linear-gradient(135deg, #5b8cff 0%, #335cff 48%, #2a4de6 100%) !important;
  color: #fff !important;
}

.dl-section,
.dl-split,
.dl-panel,
.dl-related {
  margin-top: 28px;
  padding: 28px !important;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02) !important;
}

.dl-section-head h2,
.dl-plat-title,
.dl-eyebrow + h2 {
  color: #fff !important;
}

.dl-section-head p,
.dl-plat-sub,
.dl-eyebrow {
  color: rgba(185, 194, 214, 0.95) !important;
}

.dl-plat {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #e8ebf2 !important;
  box-shadow: none !important;
}

.dl-plat:hover {
  border-color: rgba(51, 92, 255, 0.45) !important;
  background: rgba(51, 92, 255, 0.1) !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28) !important;
}

.dl-plat.is-primary {
  background: linear-gradient(145deg, #335cff, #2a4de6) !important;
  border-color: transparent !important;
  color: #fff !important;
}

.dl-plat-icon {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #9db0ff !important;
}

.dl-plat-title,
.dl-plat-go {
  color: #fff !important;
}

.dl-plat:not(.is-primary) .dl-plat-go {
  color: #9db0ff !important;
}

.dl-facts,
.dl-grid,
.dl-two {
  color: #e8ebf2;
}

.dl-fact,
.dl-check li,
.dl-related a,
.dl-version,
.dl-card {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #e8ebf2 !important;
}

.dl-hash,
.dl-meta,
.dl-note,
.dl-code,
code,
pre {
  background: rgba(0, 0, 0, 0.35) !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #d7dde8 !important;
  border-radius: 10px;
}

.dl-timeline,
.dl-check,
.dl-card,
.dl-fact {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #e8ebf2 !important;
}

/* ---------- Audiobooks — match homepage dark Atmosphere ---------- */

.nx-canvas.nx-page:has(.ab-page),
.nx-canvas.nx-page:has(.ab-inner) {
  padding-top: 8px;
  padding-bottom: 40px;
}

.ab-page {
  background: transparent !important;
  color: var(--nx-ink, #fff);
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 8px 0 24px !important;
  margin: 0 auto;
  width: 100%;
  overflow: visible;
}

.ab-inner {
  width: min(100%, var(--nx-max, 1180px)) !important;
  margin: 0 auto;
  padding: 0 !important;
  background: transparent !important;
  color: inherit;
}

.ab-top {
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 28px;
  align-items: stretch;
}

.ab-cats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px !important;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.04), transparent 42%),
    rgba(14, 17, 26, 0.92);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  height: 100%;
  align-content: stretch;
}

.ab-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 76px;
  aspect-ratio: 1;
  gap: 6px;
  padding: 8px 4px;
  font-size: 11px;
  text-align: center;
  line-height: 1.2;
  border-radius: 12px !important;
  border: 1px solid transparent !important;
  background: rgba(255, 255, 255, 0.03) !important;
  color: rgba(180, 190, 210, 0.95) !important;
  box-shadow: none !important;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.ab-cat:hover,
.ab-cat.is-on {
  color: #fff !important;
  background: rgba(51, 92, 255, 0.16) !important;
  border-color: rgba(91, 140, 255, 0.35) !important;
  transform: translateY(-1px);
}

.ab-cat-icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: #7ea2ff;
}

.ab-cat.is-on .ab-cat-icon,
.ab-cat:hover .ab-cat-icon {
  color: #9ec0ff;
}

.ab-cat-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ab-cat-label {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  width: 100%;
  padding: 0 2px;
  word-break: break-word;
}

.ab-banner {
  position: relative;
  border-radius: 18px !important;
  overflow: hidden;
  min-height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background:
    linear-gradient(135deg, rgba(51, 92, 255, 0.2), transparent 50%),
    #121722;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  margin-top: 0 !important;
}

.ab-banner img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.ab-banner-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.ab-banner-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.ab-banner-dots span.is-on {
  background: #fff;
  box-shadow: 0 0 10px rgba(91, 140, 255, 0.6);
}


.ab-sec {
  margin-bottom: 36px;
}

.ab-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 16px;
}

.ab-head h2,
.ab-rank h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
  color: rgba(170, 178, 196, 0.95) !important;
}

.ab-head h2 span {
  color: #5b9fff !important;
  font-weight: 700;
}

.ab-more {
  color: rgba(150, 158, 176, 0.95) !important;
  font-size: 13px;
  font-weight: 500;
}

.ab-more:hover {
  color: #9db0ff !important;
}

.ab-daily {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.ab-split {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 22px;
  align-items: start;
}

.ab-grid4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

/* Official KuGuo-style audiobook tile */
.ab-card {
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: rgba(232, 236, 245, 0.96) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: color 0.2s ease;
}

.ab-card:hover {
  color: #fff !important;
  background: transparent !important;
  transform: none;
}

.ab-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background: #121722;
  margin: 0;
  border: 0;
  box-shadow: none;
  line-height: 0;
}

.ab-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  border-radius: inherit;
  transition: transform 0.35s ease;
}

.ab-card:hover .ab-thumb img {
  transform: scale(1.03);
}

.ab-thumb::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.62));
  pointer-events: none;
}

.ab-plays {
  position: absolute;
  left: 8px;
  bottom: 7px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #fff !important;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
  pointer-events: none;
}

.ab-plays::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 4px 0 4px 7px;
  border-color: transparent transparent transparent #fff;
  margin-right: 1px;
}

.ab-badge {
  position: absolute;
  left: 0;
  top: 8px;
  z-index: 2;
  background: linear-gradient(135deg, #f0c36a 0%, #e0a84a 45%, #c98a2e 100%);
  color: #fff !important;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  padding: 5px 8px 5px 7px;
  border-radius: 0 5px 5px 0;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
  letter-spacing: 0.02em;
}

.ab-badge.done,
.ab-badge.serial {
  background: rgba(40, 44, 56, 0.78);
  font-weight: 650;
  backdrop-filter: blur(4px);
}

.ab-title {
  margin: 0;
  padding: 0 1px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(228, 232, 242, 0.96) !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ab-card:hover .ab-title {
  color: #fff !important;
}

.ab-rank-n {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  color: #fff !important;
  font-size: 11px;
  font-weight: 800;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.ab-rank-n.n1 { background: #f0b429; }
.ab-rank-n.n2 { background: #e08a3c; }
.ab-rank-n.n3 { background: #6aa0ff; }

.ab-rank-plays {
  position: absolute;
  left: 5px;
  bottom: 4px;
  z-index: 1;
  color: #fff !important;
  font-size: 10px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
  pointer-events: none;
}

.ab-rank-title,
.ab-chart-hit-title,
.ab-chart-row-title {
  font-size: 13px;
  line-height: 1.4;
  color: inherit !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ab-rank {
  padding: 12px 12px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(14, 17, 26, 0.7);
  box-shadow: none;
}

.ab-rank h3 {
  margin: 0 0 12px;
  font-size: 16px !important;
  color: #5b9fff !important;
}

.ab-rank-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.ab-rank-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 10px;
  align-items: center;
  color: rgba(210, 218, 235, 0.95) !important;
  min-width: 0;
  transition: color 0.2s ease;
}

.ab-rank-item:visited {
  color: rgba(210, 218, 235, 0.95) !important;
}

.ab-rank-item:hover {
  color: #fff !important;
}

.ab-rank-item.plain {
  grid-template-columns: 22px 1fr;
  gap: 8px;
}

.ab-rank-thumb {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  background: #121722;
  border: 0;
  flex-shrink: 0;
  line-height: 0;
}

.ab-rank-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.ab-rank-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
}

.ab-charts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 8px 0;
}

.ab-chart-col h3 {
  margin: 0 0 14px;
  font-size: 18px !important;
  font-weight: 700;
  color: #9ec4ff !important;
  letter-spacing: -0.01em;
}

.ab-chart-top {
  background:
    linear-gradient(165deg, rgba(51, 92, 255, 0.12), transparent 55%),
    rgba(18, 22, 34, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px !important;
  padding: 12px;
  display: grid;
  gap: 10px;
  margin-bottom: 6px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.ab-chart-hit {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
  color: rgba(230, 236, 255, 0.96) !important;
  min-width: 0;
}

.ab-chart-hit:hover,
.ab-chart-row:hover {
  color: #fff !important;
}

.ab-chart-cover {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  background: #121722;
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.ab-chart-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ab-chart-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ab-chart-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.ab-chart-list li:last-child {
  border-bottom: 0 !important;
}

.ab-chart-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  align-items: center;
  padding: 11px 2px;
  color: rgba(190, 200, 220, 0.95) !important;
  font-size: 13px;
  min-width: 0;
}

.ab-chart-num {
  color: rgba(140, 150, 170, 0.95);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.ab-chart-row-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ab-page a:not(.nx-btn):not(.nx-nav-link) {
  text-decoration: none;
}

@media (max-width: 960px) {
  .ab-top {
    grid-template-columns: 1fr;
  }

  .ab-cats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: none;
    height: auto;
  }

  .ab-daily {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ab-split {
    grid-template-columns: 1fr;
  }

  .ab-grid4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ab-charts {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 560px) {
  .ab-daily {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ab-cats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- FAQ / Guides / Trust ---------- */

main.faq-page,
main.gd-page,
main.ts-page,
.nx-page {
  background: transparent !important;
  color: #e8ebf2;
}

.faq-hero,
.gd-hero,
.ts-hero {
  margin-top: 12px;
  padding: 36px 40px !important;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(110deg, #07090e 0%, #0c1422 48%, #15253a 100%) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.faq-hero-inner {
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.faq-hero h1,
.faq-hero-lead {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

.faq-hero h1 {
  max-width: 18ch !important;
}

.faq-quick {
  width: 100%;
  text-align: left !important;
}

.faq-hero::before,
.gd-hero::before,
.ts-hero::before {
  opacity: 0.45;
}

.faq-hero::after,
.gd-hero::after,
.ts-hero::after,
.dl-hero::after {
  /* Drop light wave leftover from old white page theme */
  display: none !important;
}

.faq-toolbar,
.gd-toolbar,
.ts-toolbar {
  background: transparent !important;
}

.faq-search,
.gd-search,
.ts-search,
.faq-page input[type="search"],
.faq-page input[type="text"] {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.faq-search input,
.gd-search input {
  color: #fff !important;
  background: transparent !important;
}

.faq-search input::placeholder {
  color: rgba(150, 158, 176, 0.9) !important;
}

.faq-chip,
.gd-chip,
.ts-chip {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: rgba(185, 194, 214, 0.95) !important;
}

.faq-chip.is-on,
.faq-chip.is-active,
.gd-chip.is-on,
.ts-chip.is-on {
  background: #335cff !important;
  border-color: #335cff !important;
  color: #fff !important;
}

/* Kill leftover light section washes */
.gd-section,
.gd-section.is-tint,
.gd-section.is-soft,
.gd-related,
.faq-section,
.faq-related,
.ts-section,
.ts-related,
.fx-related {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
  color: #e8ebf2 !important;
}

.gd-section h2,
.gd-card h2,
.gd-card h3,
.gd-related h2,
.faq-section h2,
.ts-section h2,
.ts-section h3,
.fx-related h2 {
  color: #fff !important;
}

.gd-lead,
.gd-section p,
.gd-card p,
.gd-note,
.gd-eyebrow,
.faq-section p,
.ts-section p {
  color: rgba(185, 194, 214, 0.95) !important;
}

.gd-eyebrow {
  color: #9db0ff !important;
}

/* Guides TOC — dark glass cards (was white-on-white) */
.gd-toc {
  margin-top: 8px !important;
}

.gd-toc a {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #e8ebf2 !important;
  box-shadow: none !important;
}

.gd-toc a:hover {
  border-color: rgba(91, 140, 255, 0.45) !important;
  background: rgba(51, 92, 255, 0.1) !important;
  color: #fff !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28) !important;
}

.gd-toc-n {
  color: #9db0ff !important;
}

.gd-toc strong {
  color: #fff !important;
}

.gd-toc span {
  color: rgba(160, 170, 190, 0.95) !important;
}

.faq-page .acc-item,
.faq-item,
.gd-card,
.ts-card,
.faq-block,
.gd-block,
.ts-block,
.gd-page .acc-item,
.ts-page .card,
.gd-related-grid a,
.faq-related a,
.ts-related a,
.fx-related a {
  margin-top: 14px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  color: #e8ebf2 !important;
  box-shadow: none !important;
}

/* FAQ accordion — match download/guides dark shell */
.faq-wrap,
.faq-wrap-wide,
.faq-toolbar,
.faq-list,
.faq-related .faq-wrap-wide,
.faq-section .faq-wrap {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box;
}

.faq-section,
.faq-related {
  margin-top: 28px !important;
  padding: 0 !important;
  background: transparent !important;
}

.faq-marks {
  display: none !important;
}

.faq-reveal {
  opacity: 1 !important;
  transform: none !important;
}

.faq-list {
  display: grid !important;
  gap: 12px !important;
}

.faq-list .acc-item,
.faq-page .acc-item {
  margin-top: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(167, 139, 250, 0.06), rgba(47, 214, 196, 0.03)),
    rgba(16, 12, 28, 0.72) !important;
  border: 1px solid rgba(167, 139, 250, 0.18) !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 28px rgba(40, 20, 80, 0.18) !important;
}

.faq-list .acc-item:hover,
.faq-page .acc-item:hover {
  border-color: rgba(91, 140, 255, 0.4) !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(80, 40, 140, 0.28) !important;
}

.faq-list .acc-item.is-hidden,
.faq-page .acc-item.is-hidden {
  display: none !important;
}

.faq-list .acc-btn,
.faq-page .acc-btn {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) 28px !important;
  gap: 14px !important;
  align-items: center !important;
  justify-items: stretch !important;
  padding: 18px 20px !important;
  border: 0 !important;
  background: transparent !important;
  text-align: left !important;
  font-family: var(--nx-display, "Outfit", sans-serif) !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #fff !important;
  letter-spacing: -0.02em;
  cursor: pointer;
}

.faq-list .acc-btn > span:nth-child(2),
.faq-page .acc-btn > span:nth-child(2) {
  min-width: 0;
  line-height: 1.35;
  color: #fff !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-family: var(--nx-display, "Outfit", sans-serif) !important;
  font-weight: 650 !important;
}

.faq-num {
  width: 40px !important;
  height: 40px !important;
  border-radius: 12px !important;
  background: linear-gradient(145deg, rgba(47, 214, 196, 0.2), rgba(91, 140, 255, 0.22)) !important;
  border: 1px solid rgba(167, 139, 250, 0.28) !important;
  color: #c8fff8 !important;
  font-family: var(--nx-display, "Outfit", sans-serif) !important;
}

.faq-page .acc-item.open .faq-num,
.faq-page .acc-item:hover .faq-num,
.faq-list .acc-item.open .faq-num,
.faq-list .acc-item:hover .faq-num {
  background: var(--nx-grad-play, linear-gradient(135deg, #2fd6c4, #5b8cff 52%, #a78bfa)) !important;
  border-color: transparent !important;
  color: #04110f !important;
}

.faq-chev {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #9db0ff !important;
  border-radius: 999px !important;
}

.faq-list .acc-panel,
.faq-page .acc-panel,
.nx-page .acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.faq-list .acc-panel-inner,
.faq-page .acc-panel-inner {
  padding: 0 20px 20px 78px !important;
  color: rgba(185, 194, 214, 0.95) !important;
  font-size: 15px;
  line-height: 1.6;
  text-align: left;
}

.faq-count {
  background: rgba(51, 92, 255, 0.22) !important;
  color: #9db0ff !important;
  border: 1px solid rgba(91, 140, 255, 0.28);
}

.faq-toolbar {
  margin: 0 0 18px !important;
}

.faq-search {
  border-radius: 16px !important;
  background:
    linear-gradient(145deg, rgba(91, 140, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(16, 12, 28, 0.65) !important;
}

.faq-chip.is-on {
  background: linear-gradient(135deg, #5b8cff 0%, #335cff 48%, #2a4de6 100%) !important;
  border-color: transparent !important;
  color: #fff !important;
}

.faq-hero {
  margin-top: 12px;
  margin-bottom: 8px;
  padding: 36px 40px !important;
  border-radius: 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  background:
    radial-gradient(ellipse 70% 60% at 50% 18%, rgba(91, 140, 255, 0.28), transparent 55%),
    linear-gradient(145deg, #0a1220 0%, #12203a 45%, #0b1630 100%) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35) !important;
}

.faq-hero-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  width: 100% !important;
  max-width: none !important;
  padding: 12px 0 0 !important;
  margin: 0 !important;
  gap: 12px;
}

.faq-hero h1,
.faq-hero-lead,
.faq-kicker {
  font-family: var(--nx-display, "Outfit", sans-serif) !important;
}

.faq-hero h1 {
  margin: 0 auto !important;
  text-align: center !important;
  max-width: 18ch !important;
  color: #fff !important;
  font-weight: 750 !important;
}

.faq-hero-lead {
  margin: 0 auto !important;
  text-align: center !important;
  max-width: 40rem !important;
  color: rgba(210, 216, 230, 0.92) !important;
}

.faq-quick {
  width: min(720px, 100%) !important;
  margin-top: 8px !important;
  text-align: left !important;
  background: rgba(0, 0, 0, 0.28) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 16px !important;
}

.faq-related {
  margin-top: 36px !important;
  padding: 28px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  background: rgba(255, 255, 255, 0.02) !important;
}

.faq-related h2 {
  text-align: center !important;
  font-family: var(--nx-display, "Outfit", sans-serif) !important;
  color: #fff !important;
}

.faq-related-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.faq-related-grid a {
  background:
    linear-gradient(145deg, rgba(91, 140, 255, 0.1), rgba(255, 255, 255, 0.03)) !important;
  border: 1px solid rgba(167, 139, 250, 0.18) !important;
  border-radius: 14px !important;
  color: #f0ecff !important;
}

.faq-cta-row {
  justify-content: center !important;
  margin-top: 22px !important;
}

.faq-cta {
  background: linear-gradient(135deg, #5b8cff 0%, #335cff 48%, #2a4de6 100%) !important;
  color: #fff !important;
}

@media (max-width: 640px) {
  .faq-hero {
    padding: 28px 20px !important;
  }
  .faq-list .acc-btn,
  .faq-page .acc-btn {
    grid-template-columns: 34px minmax(0, 1fr) 28px !important;
    padding: 14px !important;
    font-size: 0.95rem !important;
  }
  .faq-list .acc-panel-inner,
  .faq-page .acc-panel-inner {
    padding: 0 14px 16px 14px !important;
  }
  .faq-related-grid {
    grid-template-columns: 1fr !important;
  }
}

.gd-related-grid a,
.faq-related a,
.ts-related a,
.fx-related a {
  margin-top: 0 !important;
  color: #fff !important;
  font-weight: 600;
}

.gd-related-grid a:hover,
.faq-related a:hover,
.ts-related a:hover,
.fx-related a:hover {
  border-color: rgba(91, 140, 255, 0.45) !important;
  background: rgba(51, 92, 255, 0.1) !important;
  color: #fff !important;
}

.faq-item h3,
.gd-card h3,
.ts-card h3,
.faq-page .acc-item summary,
.faq-page .acc-item button {
  color: #fff !important;
}

.faq-quick {
  background: rgba(0, 0, 0, 0.28) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.faq-item a,
.gd-card a,
.ts-card a,
.gd-steps a,
.dl-section a:not(.btn-brand):not(.dl-cta),
.page-shell a:not(.btn-brand) {
  color: #9db0ff;
}

.faq-item a:hover,
.gd-card a:hover,
.ts-card a:hover,
.gd-steps a:hover {
  color: #fff;
}

.faq-count {
  background: rgba(51, 92, 255, 0.2) !important;
  color: #9db0ff !important;
}

.faq-num {
  background: rgba(51, 92, 255, 0.16) !important;
  border: 1px solid rgba(91, 140, 255, 0.28) !important;
  color: #9db0ff !important;
  box-shadow: none !important;
}

.faq-page .acc-item.open .faq-num,
.faq-page .acc-item:hover .faq-num {
  background: linear-gradient(145deg, #5b8cff, #335cff) !important;
  border-color: transparent !important;
  color: #fff !important;
}

.faq-chev {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #9db0ff !important;
}

.faq-page .acc-item.open .faq-chev {
  background: rgba(51, 92, 255, 0.22) !important;
  color: #fff !important;
}

.faq-page .acc-panel-inner,
.faq-page .acc-panel {
  color: rgba(185, 194, 214, 0.95) !important;
}

.faq-page .acc-panel-inner code,
.faq-page .acc-panel code {
  background: rgba(0, 0, 0, 0.35) !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #d7dde8 !important;
}

.faq-chip {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: rgba(185, 194, 214, 0.95) !important;
}

.faq-chip:hover {
  color: #fff !important;
  border-color: rgba(91, 140, 255, 0.45) !important;
}

/* Guides steps — avoid grid splitting text/link into overlapping cells */
.gd-steps {
  position: relative;
}

.gd-steps::before {
  background: linear-gradient(180deg, #335cff, rgba(91, 140, 255, 0.15)) !important;
}

.gd-steps li {
  display: block !important;
  position: relative !important;
  padding: 0 0 18px 56px !important;
  color: rgba(210, 216, 230, 0.96) !important;
  line-height: 1.55 !important;
  font-size: 15px !important;
}

.gd-steps li:last-child {
  padding-bottom: 0 !important;
}

.gd-steps li::before {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  margin: 0 !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 12px !important;
  display: grid !important;
  place-items: center !important;
  background: linear-gradient(145deg, #5b8cff, #335cff) !important;
  box-shadow: 0 8px 18px rgba(51, 92, 255, 0.28) !important;
  color: #fff !important;
  z-index: 1;
}

.gd-banner,
.gd-banner figcaption {
  background: rgba(255, 255, 255, 0.03) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: rgba(185, 194, 214, 0.95) !important;
  box-shadow: none !important;
}

.gd-cta,
.gd-prac-cta {
  background: linear-gradient(135deg, #5b8cff 0%, #335cff 48%, #2a4de6 100%) !important;
  color: #fff !important;
}

.gd-cta-ghost {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
}

.breadcrumbs,
.breadcrumbs a,
.gd-hero-crumb,
.faq-hero .breadcrumbs,
.ts-hero .breadcrumbs {
  color: rgba(185, 194, 214, 0.9) !important;
}

.breadcrumbs a:hover {
  color: #fff !important;
}

/* Trust / FAQ / Download inline white section leftovers */
.ts-section[style],
.dl-section[style],
.gd-section[style],
.faq-section[style] {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}

.ts-card,
.ts-panel,
.ts-block,
.ts-callout {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #e8ebf2 !important;
}

.ts-cta {
  background: linear-gradient(135deg, #5b8cff 0%, #335cff 48%, #2a4de6 100%) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 10px 28px rgba(51, 92, 255, 0.35) !important;
}

.ts-cta::after {
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 60%
  ) !important;
}

.ts-cta:hover {
  filter: brightness(1.06);
}

.ts-cta-ghost {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  color: #fff !important;
}

.ts-nav-card {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #e8ebf2 !important;
  box-shadow: none !important;
}

.ts-nav-card:hover {
  border-color: rgba(91, 140, 255, 0.45) !important;
  background: rgba(51, 92, 255, 0.1) !important;
  color: #fff !important;
}

.ts-nav-card span,
.ts-nav-card:hover span {
  color: rgba(160, 170, 190, 0.95) !important;
}

.ts-panel:hover {
  border-color: rgba(91, 140, 255, 0.4) !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28) !important;
}

.ts-copy {
  background: rgba(51, 92, 255, 0.16) !important;
  border: 1px solid rgba(91, 140, 255, 0.28) !important;
  color: #9db0ff !important;
}

.ts-copy:hover {
  background: rgba(51, 92, 255, 0.28) !important;
  color: #fff !important;
}

.ts-malware .ts-panel {
  background: rgba(255, 255, 255, 0.03) !important;
}

.ts-malware {
  align-items: start !important;
}

.ts-banner {
  margin: 0 !important;
  width: 100% !important;
  align-self: start !important;
  background: linear-gradient(180deg, #0a66fb 0%, #4da3ff 55%, #8ec8fe 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  overflow: hidden !important;
}

.ts-banner .chrome {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  background: transparent !important;
}

.ts-banner img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  background: transparent !important;
}

/* Shared browser-chrome preview frames */
.chrome {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #0a66fb 0%, #4da3ff 55%, #8ec8fe 100%);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
  cursor: zoom-in;
  text-align: left;
}

.chrome-bar {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 10px 12px;
  background: rgba(6, 10, 18, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.chrome-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.chrome-dot:nth-child(1) { background: #ff5f57; }
.chrome-dot:nth-child(2) { background: #febc2e; }
.chrome-dot:nth-child(3) { background: #28c840; }

.chrome img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
  background: transparent;
}

.ts-pill {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: rgba(220, 226, 240, 0.95) !important;
}

.ts-list li::before,
.ts-check li::before {
  background: #335cff !important;
  color: #fff !important;
  border-color: transparent !important;
}

.ts-hash,
.ts-code,
.ts-meta code {
  background: rgba(0, 0, 0, 0.35) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #d7dde8 !important;
}

.ts-related {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}

.ts-related a {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
}

.fx-contact {
  border-radius: 20px;
  margin-top: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.fx-related {
  padding: 36px 0 48px !important;
}

/* ---------- 404 ---------- */

.nx-page .content {
  margin-top: 24px;
  padding: 48px 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(110deg, #07090e 0%, #0c1422 48%, #15253a 100%);
  text-align: center;
}

.nx-page .eyebrow {
  color: #5b8cff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}

.nx-page .display {
  color: #fff;
  margin: 12px 0;
}

.nx-page .content p {
  color: rgba(185, 194, 214, 0.95);
}

/* ---------- Misc light leftovers ---------- */

.fx-page h1,
.fx-page h2,
.fx-page h3,
.dl-page h1,
.dl-page h2,
.dl-page h3 {
  color: #fff;
}

table,
.nx-compare,
.dl-table {
  color: #e8ebf2;
}

table th,
table td,
.dl-table th,
.dl-table td {
  border-color: rgba(255, 255, 255, 0.08) !important;
}

table th {
  background: rgba(255, 255, 255, 0.04) !important;
  color: #fff !important;
}

@media (max-width: 720px) {
  .nx-page-hero,
  .faq-hero,
  .gd-hero,
  .ts-hero,
  .dl-hero,
  .fx-hero {
    padding-left: 20px !important;
    padding-right: 20px !important;
    border-radius: 16px;
  }
}

/* =========================================================================
   Download page — colorful text-box effects
   ========================================================================= */
.dl-plat,
.dl-panel,
.dl-spec,
.dl-hash,
.dl-tl-item,
.dl-related-grid a,
.dl-pill {
  position: relative;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease;
}

.dl-plat,
.dl-panel {
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(167, 139, 250, 0.08), rgba(47, 214, 196, 0.04) 45%, rgba(255, 107, 122, 0.06)),
    rgba(16, 12, 28, 0.72) !important;
  border: 1px solid rgba(167, 139, 250, 0.2) !important;
  box-shadow:
    0 10px 28px rgba(40, 20, 80, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

.dl-plat::before,
.dl-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(47, 214, 196, 0.55),
    rgba(91, 140, 255, 0.2) 35%,
    rgba(167, 139, 250, 0.55) 65%,
    rgba(255, 107, 122, 0.45)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.28s ease;
}

.dl-plat::after,
.dl-panel::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -30%;
  width: 45%;
  height: 180%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.14) 45%,
    transparent 70%
  );
  transform: translateX(-140%) rotate(18deg);
  transition: transform 0.7s ease;
  pointer-events: none;
  z-index: 1;
}

.dl-plat > *,
.dl-panel > * {
  position: relative;
  z-index: 2;
}

.dl-plat:hover,
.dl-panel:hover {
  transform: translateY(-5px);
  border-color: rgba(91, 140, 255, 0.45) !important;
  box-shadow:
    0 18px 44px rgba(80, 40, 140, 0.35),
    0 0 0 1px rgba(47, 214, 196, 0.18),
    0 0 36px rgba(167, 139, 250, 0.18) !important;
}

.dl-plat:hover::before,
.dl-panel:hover::before {
  opacity: 1;
}

.dl-plat:hover::after,
.dl-panel:hover::after {
  transform: translateX(320%) rotate(18deg);
}

.dl-plat.is-primary {
  background:
    linear-gradient(145deg, rgba(47, 214, 196, 0.35), rgba(91, 140, 255, 0.55) 48%, rgba(167, 139, 250, 0.45)),
    #1a1040 !important;
  border-color: transparent !important;
  box-shadow:
    0 14px 36px rgba(91, 140, 255, 0.35),
    0 0 28px rgba(47, 214, 196, 0.18) !important;
}

.dl-plat.is-primary:hover {
  box-shadow:
    0 20px 48px rgba(91, 140, 255, 0.45),
    0 0 40px rgba(255, 107, 122, 0.2) !important;
}

.dl-plat-icon {
  background: linear-gradient(145deg, rgba(47, 214, 196, 0.22), rgba(167, 139, 250, 0.22)) !important;
  color: #c8fff8 !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 8px 18px rgba(0, 0, 0, 0.2);
}

.dl-spec {
  background:
    linear-gradient(160deg, rgba(91, 140, 255, 0.1), rgba(255, 255, 255, 0.03)) !important;
  border: 1px solid rgba(167, 139, 250, 0.18) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.dl-spec:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 214, 196, 0.4) !important;
  box-shadow:
    0 10px 24px rgba(47, 214, 196, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.dl-spec:nth-child(2n):hover {
  border-color: rgba(255, 107, 122, 0.4) !important;
  box-shadow: 0 10px 24px rgba(255, 107, 122, 0.12);
}

.dl-spec:nth-child(3n):hover {
  border-color: rgba(255, 184, 77, 0.45) !important;
  box-shadow: 0 10px 24px rgba(255, 184, 77, 0.12);
}

.dl-spec dt {
  color: #a89bc4 !important;
}

.dl-spec dd {
  color: #fff !important;
}

.dl-hash {
  background:
    linear-gradient(180deg, rgba(47, 214, 196, 0.08), rgba(20, 14, 40, 0.9)) !important;
  border: 1px solid rgba(47, 214, 196, 0.28) !important;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(167, 139, 250, 0.12) !important;
  overflow: hidden;
}

.dl-hash::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -50%;
  height: 40%;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(91, 140, 255, 0.18),
    rgba(47, 214, 196, 0.12),
    transparent
  );
  animation: dl-box-scan 4s ease-in-out infinite;
  pointer-events: none;
}

.dl-hash:hover {
  transform: translateY(-3px);
  border-color: rgba(167, 139, 250, 0.5) !important;
  box-shadow:
    0 16px 36px rgba(80, 40, 140, 0.3),
    0 0 24px rgba(47, 214, 196, 0.15) !important;
}

.dl-hash code {
  color: #9af5ef !important;
  text-shadow: 0 0 18px rgba(47, 214, 196, 0.25);
}

.dl-copy {
  background: linear-gradient(135deg, rgba(47, 214, 196, 0.25), rgba(91, 140, 255, 0.3)) !important;
  border: 1px solid rgba(167, 139, 250, 0.35) !important;
  color: #fff !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.dl-copy:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(91, 140, 255, 0.28);
}

.dl-tl-item {
  padding: 14px 16px 14px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  overflow: hidden;
}

.dl-tl-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #2fd6c4, #5b8cff, #a78bfa);
  box-shadow: 0 0 12px rgba(47, 214, 196, 0.45);
  pointer-events: none;
}

.dl-tl-item:hover {
  transform: translateX(4px);
  background: rgba(167, 139, 250, 0.08) !important;
  box-shadow: 0 12px 28px rgba(80, 40, 120, 0.2);
}

.dl-tl-item:nth-child(2n)::before {
  background: linear-gradient(180deg, #ff6b7a, #ffb84d);
  box-shadow: 0 0 12px rgba(255, 107, 122, 0.4);
}

.dl-tl-item:nth-child(3n)::before {
  background: linear-gradient(180deg, #a78bfa, #5b8cff);
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.45);
}

.dl-tl-item h3 {
  color: #fff !important;
}

.dl-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.dl-related-grid a {
  display: block;
  padding: 16px 18px;
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(91, 140, 255, 0.1), rgba(255, 255, 255, 0.03)) !important;
  border: 1px solid rgba(167, 139, 250, 0.18) !important;
  color: #f0ecff !important;
  font-weight: 600;
  overflow: hidden;
}

.dl-related-grid a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.1), transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

.dl-related-grid a:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 214, 196, 0.4) !important;
  box-shadow: 0 14px 30px rgba(47, 214, 196, 0.15);
  color: #fff !important;
}

.dl-related-grid a:hover::before {
  transform: translateX(120%);
}

.dl-pill {
  background: linear-gradient(135deg, rgba(47, 214, 196, 0.18), rgba(167, 139, 250, 0.2)) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.dl-pill:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 22px rgba(91, 140, 255, 0.25);
}

.dl-version {
  background: linear-gradient(110deg, #2fd6c4, #5b8cff 35%, #a78bfa 55%, #ff6b7a 75%, #2fd6c4) !important;
  background-size: 220% 100% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  animation: dl-box-sheen 4.5s linear infinite;
}

#integrity h2,
.dl-section h2[style*="152238"],
.dl-reveal h2[style*="152238"] {
  color: #fff !important;
}

@keyframes dl-box-scan {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    transform: translateY(340%);
    opacity: 0;
  }
}

@keyframes dl-box-sheen {
  from {
    background-position: 100% 50%;
  }
  to {
    background-position: -100% 50%;
  }
}

@media (max-width: 860px) {
  .dl-related-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dl-plat,
  .dl-panel,
  .dl-spec,
  .dl-hash,
  .dl-tl-item,
  .dl-related-grid a,
  .dl-pill {
    transition: none;
  }
  .dl-plat::after,
  .dl-panel::after,
  .dl-hash::before,
  .dl-version {
    animation: none !important;
  }
}
