/* Torzon Directory — layout polish (SEO/UX pass) */

:root {
  --topbar-h: 44px;
  --content-measure: none;
}

@media (max-width: 768px) {
  :root {
    --topbar-h: 72px;
  }
}

body {
  font-size: 15px;
}

.prose,
.section__desc,
.hero__lead {
  max-width: var(--content-measure);
  width: 100%;
}

/* Hub / panel long-form — use full main column, not a narrow measure */
body.site-theme .main .prose,
body.site-theme .main .section__desc,
body.site-theme .main .hero__lead,
body.site-theme .main .page-intent,
body.site-theme .main .trust-hub__lead,
body.site-theme .main .home-journey__trust,
body.site-theme .main .home-journey .section__desc,
body.site-theme .main .page-map__intro,
body.site-theme .main .editorial-disclaimer,
body.site-theme .main .home-provides__list,
body.site-theme .main .prose-list {
  max-width: none;
}

body.site-theme .hero h1 {
  max-width: none;
}

body.site-theme .quick-stats--hero {
  max-width: none;
}

.panel__bar-title h2,
.section__head h2 {
  color: var(--text-bright);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

/* Topbar — two-row mobile, calm meta row */
.topbar {
  height: auto;
  min-height: var(--topbar-h);
}

.topbar__inner {
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  padding: 8px 16px;
  overflow: visible;
}

.topbar__row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.topbar__row--meta {
  flex-wrap: wrap;
  font-size: 10px;
  color: var(--text-muted);
}

.topbar__row--live {
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.topbar__row--live::-webkit-scrollbar {
  display: none;
}

.topbar__brand-mini {
  font-weight: 600;
  color: var(--text-bright);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 10px;
}

.topbar__meta--mono {
  font-family: var(--mono);
  color: var(--blue-light);
  opacity: 0.9;
}

.topbar__dot {
  display: none;
}

@media (min-width: 900px) {
  .topbar__inner {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    min-height: var(--topbar-h);
  }

  .topbar__row--meta {
    flex: 1 1 auto;
  }

  .topbar__row--live {
    flex: 0 1 auto;
    justify-content: flex-end;
    overflow: visible;
  }

  .topbar__rates {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .topbar__meta:not(.topbar__meta--mono) {
    flex: 1 1 100%;
  }

  .topbar__right {
    display: none;
  }

  .topbar__clock {
    flex-shrink: 0;
    max-width: none;
    font-size: 10px;
  }
}

.header__status {
  opacity: 0.85;
}

@media (max-width: 768px) {
  .header__status {
    display: none;
  }
}

.pulse {
  animation: none;
  opacity: 0.85;
}

/* Hero — tighter stats */
.quick-stats--hero {
  grid-template-columns: repeat(2, 1fr);
  max-width: 520px;
}

@media (min-width: 640px) {
  .quick-stats--hero {
    grid-template-columns: repeat(4, 1fr);
    max-width: 720px;
  }
}

/* Mirror table */
.mirror-table__hint {
  font-size: 11px;
  color: var(--text-muted);
  margin: 0 0 10px;
  font-family: var(--mono);
}

.mirror-table__status {
  min-width: 7.5rem;
  justify-content: center;
}

.mirror-table__url {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.45;
  word-break: break-all;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease;
}

.mirror-table__url:hover,
.mirror-table__url:focus-visible {
  background: var(--bg-hover);
  outline: none;
}

.mirror-table__url.is-selected {
  background: rgba(89, 221, 196, 0.12);
  box-shadow: inset 0 0 0 1px rgba(89, 221, 196, 0.35);
}

/* Reference screenshot frame (unified) */
.screenshot-card__frame--ref {
  background:
    linear-gradient(145deg, rgba(124, 132, 255, 0.08), rgba(112, 220, 233, 0.04)),
    #1a2240;
  padding: 0;
}

.screenshot-card__frame--ref img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top center;
}

/* Home preview — breathing room around screenshot blocks */
.ui-captures .screenshots-grid,
#market-ui .screenshots-grid,
#access-ui-captures .screenshots-grid,
#wallet-ui-captures .screenshots-grid {
  gap: 22px;
  margin-bottom: 22px;
}

.ui-captures .screenshots-grid--market-trio,
#market-ui .screenshots-grid--market-trio {
  gap: 24px;
  margin-bottom: 26px;
}

#access-ui-captures .screenshots-grid--interface,
#wallet-ui-captures .screenshots-grid--interface {
  gap: 26px;
  margin-bottom: 26px;
}

.ui-captures .screenshot-card figcaption,
#market-ui .screenshot-card figcaption,
#access-ui-captures .screenshot-card figcaption,
#wallet-ui-captures .screenshot-card figcaption {
  padding: 16px 16px 18px;
}

/* Home market trio — match Market tab lateral gutters (reference: browse capture) */
.ui-captures .screenshots-grid--market-trio .screenshot-card__frame.screenshot-card__frame--ref,
#market-ui .screenshots-grid--market-trio .screenshot-card__frame.screenshot-card__frame--ref {
  aspect-ratio: 1024 / 556;
  padding: 10px;
  box-sizing: border-box;
  display: block;
  line-height: 0;
  overflow: hidden;
}

.ui-captures .screenshots-grid--market-trio .screenshot-card__frame--ref img,
#market-ui .screenshots-grid--market-trio .screenshot-card__frame--ref img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: var(--shot-pos-x, 50%) top;
  transform: scale(var(--shot-zoom, 1));
  transform-origin: top center;
}

.ui-captures .screenshots-grid--market-trio .screenshot-card--browse,
#market-ui .screenshots-grid--market-trio .screenshot-card--browse {
  --shot-zoom: 1;
  --shot-pos-x: 50%;
}

.ui-captures .screenshots-grid--market-trio .screenshot-card--listings,
#market-ui .screenshots-grid--market-trio .screenshot-card--listings {
  --shot-zoom: 1.028;
  --shot-pos-x: 50%;
}

#market-ui .screenshots-grid--market-trio {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 960px) {
  #market-ui .screenshots-grid--market-trio {
    grid-template-columns: 1fr;
  }
}

.screenshot-card figcaption p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Mobile page TOC */
.page-toc {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 0 20px;
  padding: 4px 0 8px;
  -webkit-overflow-scrolling: touch;
}

.page-toc::-webkit-scrollbar {
  display: none;
}

.page-toc__chip {
  flex-shrink: 0;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--text);
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 999px;
  white-space: nowrap;
}

.page-toc__chip:hover {
  color: var(--text-bright);
  border-color: var(--border-light);
  text-decoration: none;
}

.page-toc__chip:focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: 2px;
}

@media (min-width: 961px) {
  .page-toc {
    display: none;
  }
}

/* Verifier outcome */
.mirror-verifier__result {
  font-size: 14px;
  padding: 14px 16px;
}

.mirror-verifier__result strong {
  font-size: 15px;
  display: block;
  margin-bottom: 4px;
}

.mirror-verifier__result--verified {
  border-left-width: 4px;
}

.mirror-verifier__result--unknown {
  border-left-width: 4px;
}

/* Footer domain chip */
.footer__domain {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.footer__domain a {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: rgba(112, 220, 233, 0.08);
  border: 1px solid var(--border);
}

.footer__live-time {
  font-size: 10px;
}

/* Inner pages — slightly calmer panels */
.main--inner .panel {
  box-shadow: var(--shadow);
}

.main--inner .hero.panel {
  background-color: var(--mesh-deep, #06080e);
}

/* Copy button feedback */
.btn--copy.copied {
  border-color: var(--online);
  color: var(--online);
}

/* Toast */
.toast {
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--border-light);
  backdrop-filter: blur(12px);
  background: rgba(6, 8, 14, 0.96);
  box-shadow: 0 12px 40px rgba(2, 5, 17, 0.45);
}

/* ===== Visual system — gray + dark navy ===== */
body.site-theme {
  --neon-cyan: #5a7a9e;
  --neon-magenta: #4a5878;
  --neon-violet: #3d5080;
  --neon-blue: #4568a8;

  --black: #020204;
  --bg: #030406;
  --bg-panel: rgba(5, 6, 10, 0.97);
  --bg-panel-head: rgba(6, 7, 12, 0.98);
  --bg-sidebar: rgba(4, 5, 9, 0.98);
  --bg-input: rgba(3, 4, 8, 0.99);
  --bg-hover: rgba(90, 115, 165, 0.09);
  --border: rgba(90, 100, 125, 0.12);
  --border-light: rgba(100, 115, 145, 0.18);
  --border-strong: rgba(70, 95, 145, 0.34);
  --text: #eceff6;
  --text-muted: #c4cad8;
  --text-bright: #ffffff;
  --blue-light: #c2d4f0;
  --blue: #4a6288;
  --blue-bg: rgba(70, 95, 145, 0.07);
  --online: #6a8a9a;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  --radius: 16px;
  --radius-lg: 24px;

  --mesh-deep: #030406;
  --mesh-hot-x: 14%;
  --mesh-hot-y: 6%;
  --mesh-cool-x: 88%;
  --mesh-cool-y: 20%;
  --mesh-angle: 152deg;
  --mesh-rot: -7deg;
  --mesh-glow-a: rgba(58, 78, 115, 0.18);
  --mesh-glow-b: rgba(40, 52, 78, 0.12);
  --mesh-glow-c: rgba(22, 28, 44, 0.28);
  --mesh-base-top: rgba(14, 17, 26, 0.98);
  --mesh-base-mid: rgba(8, 10, 18, 0.99);
  --mesh-base-bot: rgba(4, 5, 10, 1);

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;

  min-height: 100vh;
  background-color: #020204;
  background-image:
    radial-gradient(ellipse 95% 55% at 50% -18%, rgba(28, 42, 72, 0.06), transparent 58%),
    radial-gradient(ellipse 42% 38% at 100% 35%, rgba(18, 28, 48, 0.04), transparent 52%),
    radial-gradient(ellipse 48% 42% at 0% 75%, rgba(20, 30, 50, 0.035), transparent 50%),
    radial-gradient(ellipse 70% 45% at 50% 105%, rgba(2, 3, 6, 0.92), transparent 55%),
    linear-gradient(
      165deg,
      #020204 0%,
      #030406 35%,
      #050810 55%,
      #030406 82%,
      #020204 100%
    );
  background-attachment: fixed;
  color: var(--text);
}

body.site-theme .section__desc,
body.site-theme .prose,
body.site-theme .prose p,
body.site-theme .prose-list,
body.site-theme .prose-list li,
body.site-theme .panel__body,
body.site-theme .panel__body p,
body.site-theme .main,
body.site-theme .main li,
body.site-theme .steps__item,
body.site-theme .card,
body.site-theme .card p,
body.site-theme .faq__item,
body.site-theme .faq__item p,
body.site-theme details,
body.site-theme summary,
body.site-theme .callout p,
body.site-theme .sidebar__notice p,
body.site-theme .mirror-table__label,
body.site-theme .mirror-verifier__hint,
body.site-theme .trust-hub__lead,
body.site-theme .page-intent {
  color: var(--text);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.28);
}

body.site-theme .panel__bar-title h2,
body.site-theme .section__head h2,
body.site-theme .hero h1 {
  text-shadow: none;
}

body.site-theme .section__desc,
body.site-theme .prose p,
body.site-theme .prose-list {
  font-size: 14px;
  line-height: 1.65;
}

body.site-theme .section__desc {
  font-size: 14px;
}

body.site-theme .footer__inner,
body.site-theme .footer__tagline {
  color: var(--text-muted);
  opacity: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

body.site-theme .footer__links a {
  color: var(--text-muted);
}

body.site-theme .topbar__meta,
body.site-theme .section__eyebrow,
body.site-theme .sidebar__label {
  color: var(--text-muted);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

body.site-theme .nav__link {
  color: var(--text-muted);
}

body.site-theme .nav__link:hover:not(.nav__link--active) {
  color: var(--text);
}

body.site-theme .topbar:not(.topbar--in-header) {
  background: linear-gradient(180deg, rgba(8, 10, 18, 0.99) 0%, rgba(4, 5, 10, 0.98) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(110, 125, 155, 0.18);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.35);
}

body.site-theme .header:not(.header--unified) {
  background: linear-gradient(180deg, rgba(16, 22, 34, 0.96) 0%, rgba(12, 16, 26, 0.94) 55%, rgba(10, 12, 20, 0.92) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(70, 95, 145, 0.2);
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.32);
}

/* Unified site header (meta + brand + nav + circuit) */
body.site-theme .header.header--unified {
  top: 0;
  z-index: 110;
  background: linear-gradient(180deg, rgba(5, 6, 12, 0.995) 0%, rgba(2, 3, 8, 0.99) 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(70, 85, 115, 0.16);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
}

body.site-theme .header.header--unified .topbar--in-header {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  height: auto;
  min-height: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  z-index: auto;
  padding-top: 6px;
}

body.site-theme .header.header--unified .header__inner {
  border-top: none;
  min-height: 58px;
}

body.site-theme .header.header--unified .header-circuit {
  border-top: none;
  background: linear-gradient(180deg, rgba(16, 26, 44, 0.98), rgba(8, 12, 22, 0.92));
}

body.site-theme .brand__name {
  font-size: 1.22rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

body.site-theme .brand__subline {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.35em;
  line-height: 1.15;
}

body.site-theme .brand__subline .brand__sub {
  display: block;
}

body.site-theme .brand__sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-light);
}

body.site-theme .brand__logo-wrap {
  border-color: rgba(100, 125, 165, 0.28);
  box-shadow: none;
  background: rgba(100, 125, 165, 0.04);
}

body.site-theme .nav__link {
  border-radius: var(--radius-sm);
  margin-bottom: 0;
  border-bottom: none;
  padding: 8px 12px;
}

body.site-theme .nav__link--active {
  color: var(--text-bright);
  background: rgba(100, 125, 165, 0.1);
  border: 1px solid rgba(100, 125, 165, 0.28);
  box-shadow: none;
  text-shadow: none;
}

body.site-theme .nav__link:hover:not(.nav__link--active) {
  background: rgba(70, 95, 140, 0.08);
  box-shadow: none;
}

body.site-theme .main {
  background: transparent;
}

body.site-theme .main .panel + .panel,
body.site-theme .main .section + .section {
  margin-top: 18px;
}

body.site-theme .directory-meta {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  text-shadow: none;
}

body.site-theme .directory-meta time {
  font-family: var(--mono);
  font-size: 11px;
}

body.site-theme #page-map .page-map__intro {
  margin-bottom: 14px;
}

body.site-theme .panel,
body.site-theme .section:not(.panel),
body.site-theme .card,
body.site-theme .platform-card,
body.site-theme .callout,
body.site-theme .callout--info,
body.site-theme .callout--steps,
body.site-theme .callout--warn,
body.site-theme .editorial-card,
body.site-theme .risk-card,
body.site-theme .verify-block,
body.site-theme .security-card,
body.site-theme .tier,
body.site-theme a.card--link,
body.site-theme .sidebar__card,
body.site-theme .page-toc,
body.site-theme .quick-stats__item,
body.site-theme .rate-pill,
body.site-theme .mirror-table,
body.site-theme .seo-trust__item,
body.site-theme .age-gate-teaser,
body.site-theme .age-gate-overlay__panel,
body.site-theme .screenshot-card__frame--ref {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--mesh-deep);
  background-image:
    radial-gradient(ellipse 82% 68% at var(--mesh-hot-x) var(--mesh-hot-y), var(--mesh-glow-a), transparent 58%),
    radial-gradient(ellipse 54% 50% at var(--mesh-cool-x) var(--mesh-cool-y), var(--mesh-glow-b), transparent 54%),
    radial-gradient(ellipse 70% 58% at 42% 112%, var(--mesh-glow-c), transparent 52%),
    linear-gradient(
      var(--mesh-angle),
      var(--mesh-base-top) 0%,
      var(--mesh-base-mid) 42%,
      rgba(6, 7, 13, 0.99) 74%,
      var(--mesh-base-bot) 100%
    );
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

body.site-theme .panel {
  border-color: rgba(70, 88, 118, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(90, 110, 145, 0.06),
    0 18px 44px rgba(0, 0, 0, 0.52);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

body.site-theme .panel::before,
body.site-theme .section:not(.panel)::before {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  top: -38%;
  left: -12%;
  right: -8%;
  height: min(540px, 115%);
  background:
    radial-gradient(circle at var(--mesh-hot-x) 38%, rgba(72, 95, 135, 0.22), transparent 26%),
    radial-gradient(circle at 52% 28%, rgba(52, 68, 100, 0.14), transparent 32%),
    radial-gradient(circle at 82% 66%, rgba(32, 40, 62, 0.18), transparent 25%);
  filter: blur(42px);
  transform: rotate(var(--mesh-rot));
  opacity: 0.58;
}

body.site-theme .panel > *,
body.site-theme .section:not(.panel) > * {
  position: relative;
  z-index: 1;
}

body.site-theme .panel:hover {
  border-color: rgba(100, 125, 165, 0.26);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.03) inset,
    0 0 20px rgba(100, 125, 165, 0.05),
    0 20px 48px rgba(0, 0, 0, 0.5);
}

body.site-theme .panel__bar {
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 12, 20, 0.72) 0%, rgba(4, 5, 10, 0.42) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body.site-theme .panel__badge {
  background-color: rgba(8, 10, 18, 0.55);
  background-image:
    radial-gradient(ellipse 90% 120% at 15% 0%, rgba(110, 140, 190, 0.28), transparent 55%),
    linear-gradient(135deg, rgba(42, 52, 78, 0.85), rgba(22, 28, 44, 0.92));
  border-color: rgba(100, 125, 165, 0.32);
  color: var(--blue-light);
}

body.site-theme .hero h1 {
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 600;
  color: var(--text-bright);
  background: linear-gradient(125deg, #ffffff 0%, #e8edf8 42%, #d0dcef 100%);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
  -webkit-background-clip: text;
  background-clip: text;
  filter: none;
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
  body.site-theme .hero h1 {
    color: transparent;
  }
}

body.site-theme .hero__lead {
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
}

body.site-theme .tag {
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

body.site-theme .tag--live {
  border-color: rgba(90, 130, 160, 0.35);
  color: #7a9aaa;
  box-shadow: none;
}

body.site-theme .quick-stats {
  gap: 8px;
  background: transparent;
  border: none;
  overflow: visible;
}

body.site-theme .quick-stats__item {
  border-radius: var(--radius-sm);
  border: 1px solid rgba(90, 110, 145, 0.18);
  --mesh-hot-x: 22%;
  --mesh-hot-y: 10%;
  --mesh-glow-a: rgba(58, 78, 115, 0.16);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body.site-theme .quick-stats__item:hover {
  transform: translateY(-2px);
  border-color: rgba(120, 150, 200, 0.28);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

body.site-theme .quick-stats__item--live strong {
  color: var(--blue-light);
  text-shadow: none;
}

body.site-theme .btn--primary {
  background-color: #1e2838;
  background-image:
    radial-gradient(ellipse 85% 140% at 18% 0%, rgba(72, 98, 140, 0.28), transparent 58%),
    radial-gradient(ellipse 55% 90% at 100% 100%, rgba(32, 44, 68, 0.5), transparent 52%),
    linear-gradient(135deg, #2a3548 0%, #3a4d68 48%, #283850 100%);
  border: 1px solid rgba(85, 110, 150, 0.32);
  color: #f2f5fa;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(120, 145, 180, 0.08),
    0 4px 18px rgba(0, 0, 0, 0.4);
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.site-theme .btn--primary:hover {
  border-color: rgba(120, 150, 200, 0.45);
  box-shadow:
    0 0 16px rgba(70, 100, 150, 0.14),
    0 6px 22px rgba(0, 0, 0, 0.45);
  transform: translateY(-1px);
  text-decoration: none;
}

body.site-theme .btn--secondary {
  border-color: rgba(110, 130, 165, 0.38);
  background-color: rgba(8, 10, 18, 0.75);
  background-image:
    radial-gradient(ellipse 70% 100% at 0% 50%, rgba(90, 120, 170, 0.18), transparent 55%),
    linear-gradient(145deg, rgba(22, 28, 42, 0.92), rgba(10, 12, 20, 0.95));
}

body.site-theme .btn--ghost:hover {
  background: rgba(90, 115, 165, 0.12);
  border-color: rgba(130, 150, 190, 0.45);
}

body.site-theme .rate-pill {
  --mesh-hot-x: 0%;
  --mesh-glow-a: rgba(90, 120, 170, 0.26);
  backdrop-filter: blur(8px);
  border-color: rgba(100, 125, 165, 0.22);
  box-shadow: none;
}

body.site-theme .rate-pill--btc .rate-pill__price,
body.site-theme .rate-pill--xmr .rate-pill__price {
  text-shadow: none;
}

body.site-theme .mirror-table {
  border-radius: var(--radius);
  border: 1px solid rgba(90, 110, 145, 0.2);
  --mesh-glow-a: rgba(50, 68, 98, 0.14);
}

body.site-theme .mirror-table__head {
  background: linear-gradient(180deg, rgba(28, 34, 52, 0.55) 0%, rgba(12, 14, 24, 0.35) 100%);
}

body.site-theme .mirror-table__row {
  transition: background 0.15s ease;
}

body.site-theme .mirror-table__row:hover {
  background: rgba(124, 132, 255, 0.06);
}

body.site-theme .mirror-table__row--primary {
  background:
    radial-gradient(ellipse 55% 120% at 0% 50%, rgba(100, 130, 180, 0.14), transparent 62%),
    linear-gradient(90deg, rgba(70, 95, 140, 0.08), transparent 72%);
}

body.site-theme .seo-trust__item {
  border-radius: 999px;
  padding: 5px 12px;
  border: 1px solid rgba(100, 125, 165, 0.22);
  --mesh-hot-x: 30%;
  --mesh-glow-a: rgba(55, 72, 105, 0.16);
}

body.site-theme .card,
body.site-theme .card--feature {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

body.site-theme .card:hover,
body.site-theme .platform-card:hover,
body.site-theme a.card--link:hover {
  --mesh-glow-a: rgba(68, 90, 128, 0.22);
  border-color: rgba(90, 115, 155, 0.26);
  background-image:
    radial-gradient(ellipse 82% 68% at var(--mesh-hot-x) var(--mesh-hot-y), var(--mesh-glow-a), transparent 58%),
    radial-gradient(ellipse 54% 50% at var(--mesh-cool-x) var(--mesh-cool-y), var(--mesh-glow-b), transparent 54%),
    radial-gradient(ellipse 70% 58% at 42% 112%, var(--mesh-glow-c), transparent 52%),
    linear-gradient(
      var(--mesh-angle),
      rgba(16, 19, 30, 0.98) 0%,
      rgba(10, 12, 20, 0.99) 42%,
      rgba(6, 7, 13, 0.99) 74%,
      rgba(4, 5, 10, 1) 100%
    );
}

body.site-theme a.card--link:hover {
  transform: translateY(-3px);
  border-color: rgba(112, 220, 233, 0.45);
  box-shadow: 0 16px 40px rgba(2, 5, 17, 0.38);
  text-decoration: none;
}

body.site-theme .screenshot-card {
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

body.site-theme .screenshot-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(2, 5, 17, 0.42);
}

body.site-theme .screenshot-card__frame--ref {
  --mesh-hot-x: 28%;
  border: 1px solid rgba(100, 125, 165, 0.22);
  border-radius: var(--radius-sm);
}

body.site-theme .sidebar__card {
  border: 1px solid rgba(100, 125, 165, 0.22);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
  --mesh-hot-x: 6%;
  --mesh-cool-x: 94%;
}

body.site-theme .page-toc__chip {
  border-color: rgba(100, 125, 165, 0.28);
  background-color: rgba(8, 10, 18, 0.7);
  background-image:
    radial-gradient(ellipse 80% 100% at 0% 50%, rgba(90, 120, 170, 0.2), transparent 58%),
    linear-gradient(145deg, rgba(18, 22, 34, 0.92), rgba(8, 10, 18, 0.95));
}

body.site-theme .page-toc__chip:hover {
  background: rgba(124, 132, 255, 0.12);
  border-color: rgba(112, 220, 233, 0.4);
  color: var(--blue-light);
}

body.site-theme .alert {
  border-radius: var(--radius);
  border: 1px solid rgba(241, 184, 107, 0.22);
  background-color: var(--mesh-deep);
  background-image:
    radial-gradient(ellipse 60% 80% at 12% 0%, rgba(241, 184, 107, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 60% at 88% 100%, rgba(88, 118, 168, 0.15), transparent 52%),
    linear-gradient(148deg, rgba(28, 32, 48, 0.94), rgba(8, 10, 18, 0.97));
  backdrop-filter: blur(6px);
}

body.site-theme .footer {
  background: linear-gradient(180deg, rgba(8, 10, 18, 0.75) 0%, rgba(4, 5, 10, 0.98) 35%, #020306 100%);
  border-top: none;
  position: relative;
}

body.site-theme .footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(90, 98, 120, 0.45), transparent);
}

body.site-theme .footer__domain a {
  background: rgba(8, 10, 18, 0.9);
  border-color: rgba(90, 98, 120, 0.35);
  transition: border-color 0.2s ease;
}

body.site-theme .footer__domain a:hover {
  box-shadow: none;
  border-color: rgba(112, 220, 233, 0.35);
}

body.site-theme .breadcrumb {
  font-size: 11px;
  opacity: 0.9;
}

body.site-theme .mirror-verifier__result--verified {
  background: rgba(89, 221, 196, 0.06);
  border-radius: var(--radius-sm);
}

body.site-theme .mirror-verifier__result--unknown {
  background: rgba(255, 125, 141, 0.06);
  border-radius: var(--radius-sm);
}

/* Unknown run — same step language as verified, reject palette */
body.site-theme .mirror-verifier__steps--reject .mirror-verifier__step--active-fail,
body.site-theme .mirror-verifier__steps--reject .mirror-verifier__step--active,
body.site-theme .mirror-verifier__panel--reject .mirror-verifier__step--active-fail,
body.site-theme .mirror-verifier__panel--reject .mirror-verifier__step--active {
  color: var(--text-bright);
  border-color: var(--verifier-reject-active-border);
  background: var(--verifier-reject-active-bg);
}

body.site-theme .mirror-verifier__steps--reject .mirror-verifier__step--fail,
body.site-theme .mirror-verifier__steps--reject .mirror-verifier__step--done,
body.site-theme .mirror-verifier__panel--reject .mirror-verifier__step--fail,
body.site-theme .mirror-verifier__panel--reject .mirror-verifier__step--done {
  color: var(--verifier-reject);
  border-color: var(--verifier-reject-done-border);
  background: rgba(9, 13, 28, 0.45);
}

body.site-theme .age-gate-overlay__panel {
  border-color: rgba(241, 184, 107, 0.32);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
}


body.site-theme .health-warning-plaque {
  border-color: rgba(255, 125, 141, 0.35);
  background: linear-gradient(90deg, rgba(255, 125, 141, 0.1), rgba(4, 6, 11, 0.92));
}

body.site-theme .age-attestation {
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
}

body.site-theme .age-attestation--confirmed {
  box-shadow: 0 10px 32px rgba(2, 8, 20, 0.35);
}

body.site-theme .risk-card--critical {
  border-color: rgba(255, 125, 141, 0.22);
  --mesh-glow-a: rgba(255, 125, 141, 0.14);
  --mesh-glow-b: rgba(100, 130, 180, 0.12);
}

body.site-theme .risk-card:not(.risk-card--critical) {
  border-color: rgba(100, 125, 165, 0.24);
}

body.site-theme .editorial-card {
  border-color: rgba(100, 125, 165, 0.24);
  transition: border-color 0.2s ease;
}

body.site-theme .editorial-card:hover {
  border-color: rgba(112, 220, 233, 0.28);
}

body.site-theme .callout--warn {
  --mesh-glow-a: rgba(241, 184, 107, 0.16);
  --mesh-glow-b: rgba(100, 130, 180, 0.14);
}

body.site-theme .callout--info,
body.site-theme .callout--steps {
  --mesh-glow-a: rgba(58, 78, 115, 0.18);
}

body.site-theme .health-warning-plaque {
  background-color: var(--mesh-deep);
  background-image:
    radial-gradient(ellipse 55% 70% at 0% 50%, rgba(255, 125, 141, 0.14), transparent 58%),
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(100, 130, 180, 0.12), transparent 52%),
    linear-gradient(148deg, rgba(32, 28, 38, 0.94), rgba(10, 10, 18, 0.97));
}

body.site-theme .nav__link--active {
  background-color: rgba(12, 16, 26, 0.75);
  background-image:
    radial-gradient(ellipse 80% 120% at 20% 0%, rgba(95, 125, 175, 0.28), transparent 55%),
    linear-gradient(145deg, rgba(28, 34, 52, 0.92), rgba(14, 16, 28, 0.95));
}

body.site-theme .trust-hub__lead {
  color: var(--text);
}

/* ===== Mesh vignette overlay (replaces flat / pattern fills) ===== */
body.site-theme .hero.panel::after,
body.site-theme .panel:not(.hero)::after,
body.site-theme .section:not(.panel)::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  transform: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  background-image:
    radial-gradient(ellipse 58% 48% at 96% 92%, rgba(45, 58, 88, 0.12), transparent 58%),
    radial-gradient(ellipse 42% 38% at 4% 88%, rgba(18, 22, 34, 0.28), transparent 54%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.012) 0%, transparent 18%, transparent 80%, rgba(0, 0, 0, 0.32) 100%) !important;
  background-size: auto !important;
  opacity: 1 !important;
}

body.site-theme .hero.panel {
  --mesh-hot-x: 8%;
  --mesh-hot-y: 2%;
  --mesh-glow-a: rgba(68, 90, 132, 0.22);
  --mesh-glow-b: rgba(48, 62, 92, 0.14);
  --mesh-base-top: rgba(16, 19, 30, 0.97);
  --mesh-rot: -5deg;
  border-color: rgba(80, 100, 135, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(95, 120, 160, 0.08),
    0 20px 48px rgba(0, 0, 0, 0.55);
}

body.site-theme .hero.panel::before {
  top: -42%;
  height: min(580px, 120%);
  filter: blur(46px);
  opacity: 0.62;
}

body.site-theme .panel__bar {
  border-bottom-color: rgba(100, 125, 165, 0.14);
  box-shadow: inset 3px 0 0 rgba(100, 130, 180, 0.45);
}

/* Per-block mesh variation — feels less uniform */
body.site-theme .main .panel:nth-of-type(4n + 1) {
  --mesh-hot-x: 10%;
  --mesh-hot-y: 4%;
  --mesh-cool-x: 92%;
  --mesh-cool-y: 22%;
  --mesh-angle: 148deg;
  --mesh-rot: -8deg;
}

body.site-theme .main .panel:nth-of-type(4n + 2) {
  --mesh-hot-x: 76%;
  --mesh-hot-y: 6%;
  --mesh-cool-x: 8%;
  --mesh-cool-y: 78%;
  --mesh-angle: 162deg;
  --mesh-rot: 5deg;
  --mesh-glow-a: rgba(62, 82, 120, 0.2);
}

body.site-theme .main .panel:nth-of-type(4n + 3) {
  --mesh-hot-x: 22%;
  --mesh-hot-y: 12%;
  --mesh-cool-x: 84%;
  --mesh-cool-y: 68%;
  --mesh-angle: 138deg;
  --mesh-rot: -3deg;
  --mesh-glow-b: rgba(42, 55, 82, 0.16);
}

body.site-theme .main .panel:nth-of-type(4n) {
  --mesh-hot-x: 68%;
  --mesh-hot-y: 10%;
  --mesh-cool-x: 14%;
  --mesh-cool-y: 55%;
  --mesh-angle: 156deg;
  --mesh-rot: 7deg;
}

body.site-theme .cards-grid > .card:nth-child(4n + 1),
body.site-theme .cards-grid > a.card--link:nth-child(4n + 1) {
  --mesh-hot-x: 8%;
  --mesh-cool-x: 90%;
  --mesh-rot: -6deg;
}

body.site-theme .cards-grid > .card:nth-child(4n + 2),
body.site-theme .cards-grid > a.card--link:nth-child(4n + 2) {
  --mesh-hot-x: 72%;
  --mesh-cool-x: 12%;
  --mesh-angle: 165deg;
  --mesh-rot: 4deg;
}

body.site-theme .cards-grid > .card:nth-child(4n + 3),
body.site-theme .cards-grid > a.card--link:nth-child(4n + 3) {
  --mesh-hot-x: 40%;
  --mesh-hot-y: 0%;
  --mesh-cool-x: 95%;
  --mesh-rot: -2deg;
}

body.site-theme .cards-grid > .card:nth-child(4n),
body.site-theme .cards-grid > a.card--link:nth-child(4n) {
  --mesh-hot-x: 18%;
  --mesh-cool-x: 82%;
  --mesh-angle: 142deg;
  --mesh-rot: 6deg;
}

body.site-theme .sidebar .sidebar__card:nth-of-type(4n + 2) {
  --mesh-hot-x: 88%;
  --mesh-rot: 4deg;
}

body.site-theme .sidebar .sidebar__card:nth-of-type(4n + 3) {
  --mesh-hot-x: 12%;
  --mesh-cool-y: 72%;
}

body.site-theme .section-code {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9eb4d8;
  background-color: rgba(10, 12, 20, 0.65);
  background-image:
    radial-gradient(ellipse 100% 140% at 0% 0%, rgba(100, 130, 180, 0.25), transparent 58%),
    linear-gradient(135deg, rgba(28, 34, 50, 0.88), rgba(14, 16, 26, 0.92));
  border: 1px solid rgba(100, 125, 165, 0.28);
  box-shadow: none;
  opacity: 1;
}

body.site-theme a:not(.btn):not(.nav__link):not(.brand):not(.card--link):not(.page-toc__chip) {
  color: var(--blue-light);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  text-decoration-color: rgba(180, 210, 245, 0.55);
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

body.site-theme a:not(.btn):hover {
  text-decoration-color: rgba(126, 232, 244, 0.7);
}

body.site-theme .sidebar__card {
  backdrop-filter: blur(14px);
  border-left: 2px solid rgba(110, 140, 190, 0.4);
}

body.site-theme .page-toc {
  padding: 10px 12px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(100, 125, 165, 0.22);
  backdrop-filter: blur(12px);
  --mesh-hot-x: 0%;
}

body.site-theme .page-toc__chip {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.site-theme a.card--link {
  border-color: rgba(100, 125, 165, 0.26);
}

body.site-theme a.card--link:hover {
  border-color: rgba(100, 125, 165, 0.32);
  box-shadow: 0 0 18px rgba(100, 125, 165, 0.06), 0 18px 40px rgba(0, 0, 0, 0.45);
}

body.site-theme .mirror-table__url {
  font-family: var(--mono);
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(100, 125, 165, 0.18);
  color: #7aaeb6;
}

body.site-theme .mirror-table__url.is-selected {
  border-color: rgba(80, 105, 145, 0.45);
  box-shadow: 0 0 10px rgba(80, 105, 145, 0.12);
  color: var(--text-bright);
}

body.site-theme .age-gate-teaser {
  border-color: rgba(110, 140, 190, 0.28);
  --mesh-glow-a: rgba(58, 78, 112, 0.18);
}

body.site-theme .header__status {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(90, 173, 160, 0.28);
  background: rgba(90, 173, 160, 0.06);
  border-radius: 999px;
  padding: 4px 10px;
  color: #6aada4;
  box-shadow: none;
}

body.site-theme .header__status .pulse {
  box-shadow: 0 0 4px rgba(90, 173, 160, 0.35);
}

body.site-theme .tag {
  border: 1px solid rgba(100, 125, 165, 0.32);
  background-color: rgba(8, 10, 18, 0.65);
  background-image:
    radial-gradient(ellipse 100% 120% at 0% 0%, rgba(95, 125, 175, 0.22), transparent 55%),
    linear-gradient(145deg, rgba(22, 28, 42, 0.9), rgba(10, 12, 20, 0.92));
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}

body.site-theme .page-toc__chip:hover {
  border-color: rgba(100, 125, 165, 0.32);
  box-shadow: none;
  color: #7aaeb6;
}

body.site-theme .mirror-table {
  border-color: rgba(100, 125, 165, 0.16);
  box-shadow: none;
}

body.site-theme .age-gate-overlay__panel {
  border-color: rgba(80, 105, 145, 0.28);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}


/* Home · Pages sidebar nav (hover + scroll-spy active) */
body.site-theme .sidebar__nav--pages a[aria-current="page"] {
  color: #c8e4ff;
  border-color: rgba(100, 160, 230, 0.45);
  border-left-color: #5a9fd4;
  background: linear-gradient(105deg, rgba(20, 36, 62, 0.95), rgba(10, 18, 32, 0.88));
  box-shadow:
    0 0 0 1px rgba(100, 160, 230, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 28px rgba(0, 0, 0, 0.4);
  transform: translateX(6px);
  text-decoration: none;
}

body.site-theme .sidebar__nav--pages a {
  position: relative;
  margin: 2px 0;
  padding: 9px 12px 9px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  border-left: 2px solid transparent;
  background: transparent;
  overflow: hidden;
  transition:
    color 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.28s ease,
    transform 0.22s ease;
}

body.site-theme .sidebar__nav--pages a::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(120% 80% at 0% 50%, rgba(72, 130, 200, 0.22), transparent 65%);
  transition: opacity 0.25s ease;
  pointer-events: none;
}

body.site-theme .sidebar__nav--pages a:hover,
body.site-theme .sidebar__nav--pages a:focus-visible {
  color: var(--blue-light);
  border-color: rgba(90, 140, 210, 0.35);
  border-left-color: var(--blue);
  background: rgba(8, 14, 28, 0.72);
  box-shadow: 0 0 0 1px rgba(72, 130, 200, 0.12), 0 8px 24px rgba(0, 0, 0, 0.35);
  transform: translateX(4px);
  text-decoration: none;
}

body.site-theme .sidebar__nav--pages a:hover::before,
body.site-theme .sidebar__nav--pages a:focus-visible::before {
  opacity: 1;
}

body.site-theme.page-home .sidebar__nav--pages a.is-active {
  color: #c8e4ff;
  border-color: rgba(100, 160, 230, 0.45);
  border-left-color: #5a9fd4;
  background: linear-gradient(105deg, rgba(20, 36, 62, 0.95), rgba(10, 18, 32, 0.88));
  box-shadow:
    0 0 0 1px rgba(100, 160, 230, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 28px rgba(0, 0, 0, 0.4);
  transform: translateX(6px);
}

/* Home journey + page map engagement */
body.site-theme .home-journey__steps {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 12px;
}

body.site-theme .home-journey__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(90, 120, 165, 0.2);
  background: rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease, box-shadow 0.25s ease;
}

body.site-theme .home-journey__step:hover {
  border-color: rgba(100, 150, 210, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

body.site-theme .home-journey__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: #9ecfff;
  border-radius: 8px;
  background: rgba(40, 70, 110, 0.45);
  border: 1px solid rgba(100, 150, 210, 0.35);
}

body.site-theme .home-journey__copy h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

body.site-theme .home-journey__copy p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

body.site-theme .home-journey__path {
  min-height: 100%;
}

body.site-theme .home-journey__intro {
  margin: 0 0 1.1rem;
}

body.site-theme .home-journey__sections {
  margin: 0.75rem 0 1.25rem;
}

body.site-theme .home-journey__sections .card h4 {
  margin-bottom: 6px;
  font-size: 14px;
}

body.site-theme .home-journey__sections-directory {
  border-color: rgba(90, 173, 160, 0.22);
}

body.site-theme .home-journey__table {
  margin: 1.25rem 0;
}

body.site-theme .home-journey__trust {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

body.site-theme.page-home .page-map .card--link {
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.28s ease;
}

body.site-theme.page-home .page-map .card--link:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.38);
}

@media (prefers-reduced-motion: reduce) {
  body.site-theme .btn--primary:hover,
  body.site-theme .quick-stats__item:hover,
  body.site-theme .screenshot-card:hover,
  body.site-theme a.card--link:hover,
  body.site-theme.page-home .sidebar__nav--pages a:hover,
  body.site-theme.page-home .sidebar__nav--pages a.is-active,
  body.site-theme.page-home .page-map .card--link:hover {
    transform: none;
  }
}
