@font-face { font-family: "Oxanium"; src: url("assets/fonts/oxanium-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Oxanium"; src: url("assets/fonts/oxanium-500.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Oxanium"; src: url("assets/fonts/oxanium-600.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Oxanium"; src: url("assets/fonts/oxanium-700.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Rajdhani"; src: url("assets/fonts/rajdhani-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Rajdhani"; src: url("assets/fonts/rajdhani-500.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Rajdhani"; src: url("assets/fonts/rajdhani-600.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Rajdhani"; src: url("assets/fonts/rajdhani-700.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --bg: #07050a;
  --shade: #0e0b14;
  --near: #14101c;
  --edge: #2a1d3a;
  --line: rgba(42, 29, 58, 0.7);
  --text: #e8e2ef;
  --muted: #9d93ab;
  --faint: #6d647a;
  --accent: #6e5588;
  --ok: #6fbfaa;
  --warn: #c9a56a;
  --font-ui: "Rajdhani", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display: "Oxanium", "Rajdhani", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --col: 42rem;
  --dir: 86rem;
  --radius: 8px;
  --header-h: 56px;
  --banner-h: 0px; /* the draft banner was removed at the production cutover */
  --control-h: 32px;
  --verified-edge: #73b8f0;
  --top-ad-creative-height: 90px;
  --top-ad-reservation: 144px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); color: var(--text); }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(900px 380px at 50% 70px, rgba(24, 14, 40, 0.4), transparent 70%),
    var(--bg);
  color: var(--text);
  font: 15px/1.45 var(--font-ui);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button, select, input[type="search"] { line-height: 1.2; }
input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  margin-left: 0.45rem;
  background-color: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 3 10 10M13 3 3 13' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 3 10 10M13 3 3 13' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  cursor: pointer;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link {
  position: fixed; left: 12px; top: -48px; z-index: 80;
  padding: 10px 14px; background: var(--text); color: var(--bg);
  border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.draft-banner {
  display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap;
  padding: 0.4rem 1.25rem;
  background: #09070e;
  border-bottom: 1px solid var(--line);
  color: #c9c0d4;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}
.draft-banner strong { color: #fff; font-weight: 650; }

.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: var(--header-h);
  padding: 0.4rem max(1.25rem, calc((100vw - 88rem) / 2));
  background: rgba(7, 5, 10, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(42, 29, 58, 0.5);
}
.brand {
  display: inline-flex; align-items: center;
  flex: 0 0 auto; flex-shrink: 0;
  min-width: 7.5rem; z-index: 3;
  text-decoration: none;
}
.brand img {
  display: block;
  height: 26px;
  width: auto;
  max-width: none;
}
.menu-toggle {
  display: none;
  place-items: center;
  width: 40px; min-height: 36px; padding: 0;
  border: 1px solid var(--line); border-radius: 8px;
  background: var(--shade); color: var(--text); cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; display: block; }
.menu-toggle .menu-icon-close { display: none; }
.topbar.is-open .menu-icon-open { display: none; }
.topbar.is-open .menu-icon-close { display: block; }
.nav {
  display: flex; align-items: center; justify-content: center;
  gap: 0.1rem; flex: 1 1 auto;
}
.nav-link, .nav-drop > summary {
  display: inline-flex; align-items: center; gap: 0.3rem;
  min-height: 36px; padding: 0 0.62rem;
  color: var(--muted);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 11px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  background: none; border: 0; cursor: pointer; list-style: none;
}
.nav-drop > summary::-webkit-details-marker { display: none; }
.nav-link:hover, .nav-drop > summary:hover, .nav-link.is-active, .nav-drop.is-active > summary {
  color: var(--text);
}
.nav-link.is-active, .nav-drop.is-active > summary {
  box-shadow: inset 0 -2px 0 rgba(110, 85, 136, 0.9);
}
.nav-drop { position: relative; }
.nav-drop[open] > summary { color: var(--text); }
.dropdown {
  position: absolute; top: calc(100% - 2px); left: 0;
  min-width: 16rem; padding: 0.4rem;
  background: #0b0810;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.55);
  z-index: 50;
}
.dropdown a {
  display: block; padding: 0.5rem 0.7rem;
  border-radius: 6px; color: var(--muted); text-decoration: none;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.dropdown a:hover, .dropdown a.is-active { background: var(--near); color: var(--text); }
.nav-end {
  display: flex; align-items: center; gap: 0.1rem;
  margin-left: auto;
}
.nav-auth { display: inline-flex; align-items: center; gap: 0.1rem; }
.account-pending { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 36px; padding: 0 0.55rem; }
.account-pending-avatar { width: 22px; height: 22px; border-radius: 6px; background: var(--near); }
.account-pending-name { width: 5rem; height: 0.65rem; border-radius: 3px; background: var(--near); }
.account-retry { border: 0; background: transparent; cursor: pointer; }
.lang-apple { position: relative; }
.lang-apple > summary {
  display: inline-flex; align-items: center; gap: 0.4rem;
  min-height: 36px; padding: 0 0.55rem;
  list-style: none; cursor: pointer;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 11px; font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.lang-apple > summary::-webkit-details-marker { display: none; }
.lang-apple > summary svg { width: 16px; height: 16px; display: block; }
.lang-apple[open] > summary { color: var(--text); }
.lang-sheet {
  position: absolute; top: calc(100% - 2px); right: 0; z-index: 50;
  min-width: 15rem; padding: 0.7rem;
  background: #0b0810; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.55);
  text-align: left;
}
.lang-sheet-title {
  margin: 0 0 0.45rem;
  color: var(--faint);
  font-family: var(--font-display);
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
}
.lang-sheet button {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; min-height: 36px; padding: 0 0.55rem;
  border: 0; border-radius: 6px; background: transparent;
  color: var(--muted); cursor: pointer; text-align: left;
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
}
.lang-sheet button:hover { background: var(--near); color: var(--text); }
.lang-sheet button.is-current { color: var(--text); }
.lang-sheet button.is-current::after { content: "✓"; color: var(--text); }
.account-menu { position: relative; }
.account-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 36px; padding: 0 0.55rem;
  list-style: none; cursor: pointer;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 11px; font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.account-chip::-webkit-details-marker { display: none; }
.profile-icon { width: 18px; height: 18px; display: block; }
.account-avatar {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  flex: 0 0 auto;
}
.account-chip .account-user {
  text-transform: none;
  letter-spacing: 0;
  font-size: 12px;
  font-weight: 650;
  max-width: 11rem;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-id {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0 0 0.2rem;
  color: var(--text);
}
.account-id-text { display: grid; min-width: 0; }
.account-id strong {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}
.account-title {
  display: block;
  margin: 0.12rem 0 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  overflow-wrap: anywhere;
}
.account-id .account-avatar { width: 28px; height: 28px; }
.account-avatar-frame { display: inline-grid; width: 22px; height: 22px; flex: 0 0 auto; overflow: hidden; border-radius: 6px; }
.account-avatar-frame > * { grid-area: 1 / 1; width: 100%; height: 100%; object-fit: cover; }
.account-id .account-avatar-frame { width: 28px; height: 28px; }
.account-id strong { min-width: 0; overflow-wrap: anywhere; }
.account-id-inline { margin: 0; }
/* Keep shared navigation independent of the mounted checker's late inline CSS.
   Its account-menu rules otherwise remove the avatar gap and enlarge this link. */
#chrome-header .nav-link,
#chrome-header .nav-drop > summary,
#chrome-header .lang-apple > summary,
#chrome-header .account-menu > .account-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  line-height: 1.25;
  vertical-align: middle;
}
#chrome-header .account-menu > .account-chip {
  min-height: 36px !important;
  max-width: none !important;
  padding: 0 0.55rem !important;
  gap: 0.5rem !important;
}
#chrome-header .account-menu { max-width: none !important; }
#chrome-header .account-popover .account-id { gap: 0.5rem; }
#chrome-header .account-popover a,
#chrome-header .account-popover button { min-height: var(--control-h); }
#chrome-header .nav-search input { min-height: var(--control-h); }
.account-menu[open] .account-chip { color: var(--text); }
.account-popover {
  position: absolute; top: calc(100% - 2px); right: 0; z-index: 50;
  display: grid; gap: 0.4rem;
  min-width: 14rem; padding: 0.7rem;
  background: #0b0810; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.55);
}
.account-popover code { color: var(--muted); font-size: 12px; }
.account-popover a, .account-popover button {
  display: flex; align-items: center;
  width: 100%; min-height: var(--control-h); padding: 0 0.55rem;
  border: 0; border-radius: 6px; background: transparent;
  color: var(--muted); text-align: left; cursor: pointer;
  font-family: var(--font-display); font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
}
.account-popover a:hover, .account-popover button:hover { background: var(--near); color: var(--text); }
.footer-locale { display: flex; justify-content: center; margin: 0 0 0.9rem; }
.footer-locale .lang-sheet { left: 50%; right: auto; transform: translateX(-50%); }
.nav-search { display: flex; align-items: center; margin-left: 0.5rem; }
.nav-search input {
  width: 10rem; min-height: var(--control-h); padding: 0 0.7rem;
  border: 1px solid transparent; border-radius: 999px;
  background: rgba(14, 11, 20, 0.85); color: var(--text);
  font-size: 14px;
}
.nav-search input:focus { border-color: var(--edge); }
.nav-search input::placeholder { color: var(--faint); }
.nav-search-submit {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px;
  width: 44px; height: 44px; margin-block: -6px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer;
}
.nav-search-submit svg { width: 18px; height: 18px; }
.nav-search-submit:hover { color: var(--text); background: var(--shade); }
.nav-search input { min-width: 0; }

/* Search suggestions use the existing theme and never resize the navbar input. */
.nav-search { position: relative; }
.nav-search-suggestions {
  position: absolute; inset-inline-end: 0; top: calc(100% + 0.6rem); z-index: 45;
  width: min(25rem, calc(100vw - 2.5rem)); padding: 0.5rem;
  border: 1px solid var(--line); border-radius: 10px; background: var(--bg, #07050a);
  box-shadow: 0 18px 50px rgba(0,0,0,0.55); color: var(--text);
  max-height: min(34rem, calc(100dvh - 8rem)); overflow-y: auto;
  text-transform: none; letter-spacing: normal;
}
.nav-search-suggestions[hidden] { display: none; }
.nav-search-status, .nav-search-note { margin: 0; padding: 0.5rem; line-height: 1.45; overflow-wrap: anywhere; }
.nav-search-status { font-size: 14px; }
.nav-search-note { color: var(--muted); font-size: 12px; }
.nav-search-option, .nav-search-all {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  min-height: 44px; padding: 0.5rem; border-radius: 6px; color: var(--text);
  font-size: 15px; line-height: 1.35; text-decoration: none; overflow-wrap: anywhere;
}
.nav-search-option > span { min-width: 0; }
.nav-search-option:hover, .nav-search-option[aria-selected="true"], .nav-search-all:hover { background: var(--shade); }
.nav-search-option:focus-visible, .nav-search-all:focus-visible { outline: 2px solid var(--edge); outline-offset: 1px; }
.nav-search-category { color: var(--muted); font-size: 12px; text-align: end; flex: 0 1 40%; }
.nav-search-all { justify-content: flex-start; border-top: 1px solid var(--line); border-radius: 0 0 6px 6px; color: var(--text); }
@media (max-width: 1439px) {
  #chrome-header .account-popover > .account-id { display: none; }
  .topbar.is-open .nav-search { flex-wrap: wrap; }
  .topbar.is-open .nav-search > input#nav-q { flex: 1 1 0%; width: 0; }
  .topbar.is-open .nav-search-suggestions { position: static; flex: 1 0 100%; width: 100%; max-height: none; box-shadow: none; margin-top: 0.35rem; }
}

.global-search > h1 { margin: 0 0 0.5rem; font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 2.3rem); }
.search-intro, .search-privacy { color: var(--muted); }
.search-intro { margin: 0 0 1.5rem; font-size: 17px; }
.search-form { max-width: 54rem; display: grid; gap: 1rem; }
.search-query, .search-category { display: grid; gap: 0.4rem; }
.search-query > label, .search-category > span { color: var(--text); font-weight: 600; }
.search-query-row { display: flex; align-items: center; gap: 0.5rem; }
.search-query-row input, .search-category select {
  min-width: 0; min-height: 44px; border: 1px solid var(--edge); border-radius: var(--radius);
  padding: 0.5rem 0.75rem; background: var(--shade); color: var(--text); font-size: 16px;
}
.search-query-row input { width: 100%; flex: 1 1 auto; }
.search-query-row .btn, .search-reset { min-height: 44px; flex: 0 0 auto; }
.search-options { display: flex; flex-wrap: wrap; align-items: end; gap: 0.75rem 1.5rem; }
.search-category { flex: 1 1 15rem; max-width: 24rem; }
.search-options .search-scams { margin-block: 0; min-height: 44px; }
.search-options .search-reset { min-height: 44px; }
.search-privacy { margin: 0.8rem 0 1.5rem; font-size: 14px; }
.search-summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 1rem; margin-bottom: 1rem; }
.search-summary p { margin: 0; }
[data-search-count] { font-weight: 600; }
[data-search-hidden-note] { color: var(--muted); font-size: 14px; }
.search-result { min-width: 0; }
.search-result > .dir-card { height: 100%; }
@media (max-width: 1439px) {
  .topbar:not(.is-open) .brand { min-width: 0; }
  .topbar.is-open .nav-search { gap: 0.5rem; }
  .topbar.is-open .nav-search input { flex: 1 1 auto; min-height: 44px; font-size: 16px; }
  .topbar.is-open .nav-search-submit { margin-block: 0; }
}

.column {
  width: min(var(--col), calc(100% - 2.5rem));
  margin-inline: auto;
}
/* Service listings hold tables, notices and reviews rather than prose: give them the directory's width, not the
   672 px reading column used by articles. */
body[data-page="listing"] .column { width: min(66rem, calc(100% - 2.5rem)); }
.dir-shell {
  width: min(var(--dir), calc(100% - 2rem));
  margin-inline: auto;
}
.page { padding: 2rem 0 4.5rem; }
body[data-page="home"] .page { padding: 0 0 4.5rem; }
body[data-page="login"],
body[data-page="register"] {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
body[data-page="login"] .page,
body[data-page="register"] .page {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  min-height: calc(100vh - var(--header-h) - var(--banner-h));
  min-height: calc(100dvh - var(--header-h) - var(--banner-h));
}
body[data-page="login"] .site-footer,
body[data-page="register"] .site-footer {
  margin-top: 0;
}
body[data-page="home"] .draft-banner { min-height: var(--banner-h, 2.25rem); }

/* Reserved banner slot under the header (tools/sync-top-ad-slot.mjs). ads.php fills it first-party; no ad network or third-party tracking. */
.sylvester-slot {
  display: grid; grid-template-rows: 14px var(--top-ad-creative-height) auto; gap: 4px;
  width: min(calc(100% - 2.5rem), 970px); min-height: var(--top-ad-reservation);
  margin: 0 auto; padding: 8px 0;
}
.sylvester-label {
  margin: 0; color: var(--muted); font-size: 12px; line-height: 14px;
  letter-spacing: 0.1em; text-align: center; text-transform: uppercase;
}
.sylvester-content {
  display: flex; align-items: center; justify-content: center; min-width: 0;
  height: var(--top-ad-creative-height); border: 1px dashed var(--edge);
  border-radius: var(--radius); background: var(--shade);
}
.sylvester-placeholder { margin: 0; padding: 0.5rem; color: var(--muted); font-size: 14px; line-height: 1.3; text-align: center; }
.sylvester-content > img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.sylvester-fallback-ru { display: none; }
html[lang^="ru"] .sylvester-fallback-en { display: none; }
html[lang^="ru"] .sylvester-fallback-ru { display: inline; }
/* Filled by ads.php: 728x90 from 768 px up, 350x50 below (one <picture> per size; the other size is never requested). */
.sylvester-content--filled { border: 0; background: none; }
/* Owner, 2026-10-12: each banner sits on a card (thin ring + background) that shows at full banner size before the image
   has loaded; the img width/height attributes reserve the size. The ring is a box-shadow, so it takes no layout space. */
.sylvester-link {
  display: block; line-height: 0; overflow: hidden; border-radius: 6px;
  background: #15101e; box-shadow: 0 0 0 1px #3b2b50;
}
.sylvester-link img { display: block; max-width: 100%; height: auto; }
.sylvester-link--mobile { display: none; }
.sylvester-meta { margin: 0; color: var(--muted); font-size: 12px; line-height: 16px; text-align: center; }
.sylvester-meta a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.sylvester-meta a:hover { color: var(--text); }
@media (max-width: 767px) {
  :root { --top-ad-creative-height: 50px; --top-ad-reservation: 104px; }
  .sylvester-slot { width: min(calc(100% - 2rem), 350px); }
  .sylvester-link--desktop { display: none; }
  .sylvester-link--mobile { display: block; }
}

.hero-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: calc(100svh - var(--banner-h, 2.25rem) - var(--header-h));
  max-height: calc(100svh - var(--banner-h, 2.25rem) - var(--header-h));
  overflow: hidden;
  padding: 0.4rem 1.25rem 2.6rem;
}
body[data-page="home"]:has(> [data-sylvester-slot]) > .page { padding-top: 0; }
body[data-page="home"]:has(> [data-sylvester-slot]) .hero-screen {
  height: calc(100svh - var(--home-chrome-height, calc(var(--banner-h, 2.25rem) + var(--header-h) + var(--top-ad-reservation))));
  min-height: min-content; max-height: none; overflow: visible;
}
body[data-page="home"]:has(> [data-sylvester-slot]) .hero-helmet { width: min(14rem, 26svh, 52vw); }
@media (max-height: 600px) {
  body[data-page="home"]:has(> [data-sylvester-slot]) .hero-screen { height: auto; min-height: 18rem; padding-bottom: 3.4rem; }
}

.hero {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 0;
  max-width: 42rem;
}
body[data-page="home"] .hero { min-width: 0; width: min(100%, 42rem); }
body[data-page="home"] .hero :is(h1, .lede) { max-width: 100%; overflow-wrap: anywhere; }
.hero-helmet {
  width: min(16rem, 32vh, 68vw);
  margin: 0 auto 0.7rem;
  filter:
    drop-shadow(0 0 28px rgba(36, 22, 56, 0.75))
    drop-shadow(0 18px 32px rgba(0, 0, 0, 0.6));
  animation: rise 900ms ease both;
}
.hero-helmet img { display: block; width: 100%; height: auto; }
.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4.6vh, 3.2rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  animation: rise 900ms ease 80ms both;
}
@media (max-width: 400px) {
  body[data-page="home"] .hero h1 { font-size: clamp(1.75rem, 10vw, 2.75rem); }
}
.hero .lede {
  margin: 0.45rem 0 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: clamp(0.92rem, 2.1vh, 1.08rem);
  animation: rise 900ms ease 140ms both;
}
.hero-actions {
  display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap;
  margin-top: 1rem;
  animation: rise 900ms ease 200ms both;
}
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 0.45rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  color: var(--muted);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: translateX(-50%);
  animation: bob 1.7s ease-in-out infinite;
}
.hero-scroll svg { width: 22px; height: 22px; display: block; }
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(7px); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--control-h); padding: 0 1.05rem;
  border: 1px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--text);
  text-decoration: none; cursor: pointer;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2; text-align: center; vertical-align: middle;
}
.btn:hover { background-color: var(--shade); border-color: var(--edge); }
.btn-solid {
  background: var(--text); color: #0b0810; border-color: var(--text); font-weight: 650;
}
.btn-solid:hover { background: #fff; color: #0b0810; }
.btn-browse {
  min-height: 56px;
  padding: 0 1.8rem;
  border: 0;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  background-color: #3a2458;
  background-image: linear-gradient(
    135deg,
    #3a2458 0%,
    #8a6aad 12.5%,
    #e8d5a8 25%,
    #8a6aad 37.5%,
    #3a2458 50%,
    #8a6aad 62.5%,
    #e8d5a8 75%,
    #8a6aad 87.5%,
    #3a2458 100%
  );
  background-size: 200% 200%;
  background-position: 0% 0%;
  animation: rise 900ms ease 200ms both, browse-flash 2.2s linear infinite;
  box-shadow: 0 0 22px rgba(138, 106, 173, 0.45);
}
.btn-browse:hover,
.btn-browse:focus,
.btn-browse:focus-visible,
.btn-browse:active,
.btn-browse:visited {
  color: #fff;
  border-color: transparent;
  background-color: #3a2458;
  background-image: linear-gradient(
    135deg,
    #3a2458 0%,
    #8a6aad 12.5%,
    #e8d5a8 25%,
    #8a6aad 37.5%,
    #3a2458 50%,
    #8a6aad 62.5%,
    #e8d5a8 75%,
    #8a6aad 87.5%,
    #3a2458 100%
  );
  background-size: 200% 200%;
}
@keyframes browse-flash {
  from { background-position: 0% 0%; }
  to { background-position: 100% 100%; }
}

.home-intro {
  margin: 2.4rem auto 0.4rem;
  max-width: 40rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
  text-align: left;
}
.home-intro-title {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}
.home-intro p { margin: 0 0 0.85rem; }
.home-intro p:last-child { margin-bottom: 0; }
.scam-disclaimer {
  display: inline;
  padding: 0.08em 0.28em;
  background: #b91c1c;
  color: #fff;
  font-weight: 700;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.kicker {
  margin: 0 0 0.45rem;
  color: var(--faint);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
}

.dir { margin: 2.1rem 0 0; }
.dir-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  margin-bottom: 0.7rem;
}
.dir h2, .page-title, .detail h1, .doc h2, .not-found h1 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.03em;
}
.dir h2 {
  margin: 0;
  font-size: 1.28rem;
  text-transform: uppercase;
}
.dir-link {
  color: var(--muted);
  font-size: 0.88rem;
  text-underline-offset: 0.18em;
}
.dir-note { margin: 0 0 0.7rem; color: var(--faint); font-size: 0.88rem; }
.swaps-list-title {
  margin: 1.5rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.dir-sub {
  margin: 1.2rem 0 0.55rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

.dir-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 8px;
}
.dir-card {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(14, 11, 20, 0.72);
}
.dir-card > div { display: flex; flex-direction: column; min-width: 0; }
.dir-card > div > .dir-badge { align-self: flex-start; }
.dir-card--verified::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 2px solid var(--verified-edge);
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  clip-path: inset(0 100% 100% 0 round var(--radius));
  transition: clip-path 280ms ease, opacity 180ms ease;
}
.dir-card--verified:hover::before,
.dir-card--verified:focus-within::before {
  opacity: 1;
  clip-path: inset(0 round var(--radius));
}
.dir-card--scam { border-color: #9d2f3b; background: linear-gradient(180deg, #251419, #12080c); }
.dir-card--verified { border-color: var(--verified-edge); }
.dir-card--scam .dir-card-media { position: relative; }
.dir-card--scam .dir-card-media::after {
  content: ""; position: absolute; inset: 0; border-radius: 8px;
  background: repeating-linear-gradient(135deg, rgba(220, 54, 68, 0.34) 0 10px, rgba(27, 20, 22, 0.24) 10px 20px);
  opacity: 0.55; pointer-events: none;
}
.dir-card--scam .dir-logo { opacity: 0.72; filter: grayscale(0.25); }
.dir-badge {
  display: inline-flex; align-items: center;
  margin: 0 4px 4px 0; padding: 0.12rem 0.45rem;
  border-radius: 999px; font-size: 10px; font-weight: 750;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.dir-badge--notice { border: 1px solid #3f7ca4; background: #0f2230; color: #bfe8ff; }
.dir-badge--never-kyc {
  border: 1px solid #3f7ca4; background: #0f2230; color: #bfe8ff;
  box-shadow: 0 0 8px rgba(115, 184, 240, 0.28);
}
.dir-badge--scam-accusation { border: 1px solid #b8444e; background: #2a1014; color: #ffc7cd; }
.dir-btn-disabled {
  opacity: 0.45; cursor: not-allowed; pointer-events: none;
}
.dir-card-media { display: block; width: 72px; height: 72px; position: relative; }
.dir-logo {
  width: 72px; height: 72px;
  border-radius: 8px;
  object-fit: contain;
  background: #0b0810;
  border: 1px solid var(--edge);
}
.dir-logo-text {
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #cfc4dd;
}
.dir-card-title { margin: 0 0 2px; font-size: 0.98rem; line-height: 1.2; }
.dir-card-title a { text-decoration: none; font-weight: 650; }
.dir-card-title a:hover { text-decoration: underline; }
.dir-card-fee { margin: 0; color: var(--muted); font-size: 0.86rem; }
.dir-card-addresses { margin: 0.5rem 0 0.65rem; font-size: 0.86rem; min-width: 0; }
.service-address-primary { display: grid; gap: 0.15rem; }
.service-address-label { display: block; color: var(--muted); font-size: 0.73rem; line-height: 1.35; }
.service-address-link, .service-address-text { overflow-wrap: anywhere; word-break: break-word; white-space: normal; }
.service-address-more { margin-top: 0.4rem; }
.service-address-more > summary { color: #91bedb; cursor: pointer; min-height: 32px; display: list-item; padding-block: 0.3rem; }
.service-address-list { display: grid; gap: 0.65rem; list-style: none; margin: 0; padding: 0; min-width: 0; }
.service-address-list > li { display: grid; gap: 0.15rem; min-width: 0; }
.service-address-missing { margin: 0.3rem 0; color: var(--muted); font-size: 0.8rem; }
.service-addresses { margin-top: 1.3rem; padding: 1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--shade); }
.service-addresses h2 { margin: 0 0 0.8rem; font-size: 1.2rem; }
.service-addresses .service-address-list { gap: 0.9rem; }
.dir-table .service-address-list { min-width: 11rem; max-width: 21rem; }
.dir-table .service-address-label { font-size: 0.68rem; }
.dir-card-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  margin-top: auto; padding-top: 8px;
}
.dir-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 28px; padding: 0 8px;
  border: 1px solid var(--line); border-radius: 6px;
  background: #0b0810; color: var(--text);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.2; text-align: center; vertical-align: middle;
}
.dir-btn:hover { border-color: var(--edge); background: var(--near); }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(14, 11, 20, 0.72);
}
table.dir-table { width: 100%; border-collapse: collapse; font-size: 0.84rem; min-width: 920px; }
.dir-table th, .dir-table td {
  padding: 0.48rem 0.62rem;
  text-align: left;
  border-bottom: 1px solid rgba(42, 29, 58, 0.5);
  vertical-align: middle;
  white-space: nowrap;
}
.dir-table th {
  color: var(--faint);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.dir-table tr:last-child td { border-bottom: 0; }
/* Compact comparison tables (P2P): prose wraps instead of stretching the table; coin chips flow in rows. */
table.dir-table--compact { min-width: 760px; }
.dir-table--compact td { white-space: normal; max-width: 17rem; line-height: 1.4; }
.dir-table--compact td:first-child, .dir-table--compact td[data-label="Reviews"], .dir-table--compact td[data-label="Live status"] { white-space: nowrap; }
.dir-table--compact .coin-list { display: flex; min-width: 11rem; max-width: 15rem; }
.dir-table--compact td[data-label="Trading fee"] { white-space: nowrap; font-variant-numeric: tabular-nums; }
.custody-tag { display: inline-flex; align-items: center; gap: .4rem; padding: .18rem .55rem; border: 1px solid currentColor; border-radius: 999px; font-size: .76rem; font-weight: 600; white-space: nowrap; cursor: help; }
.custody-tag i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.custody-escrow { color: #8fdcaa; }
.custody-custodial { color: #f1b86a; }
.custody-direct { color: #b9adc6; }
.dir-table a { color: var(--text); text-decoration: none; font-weight: 650; }
.dir-table a:hover { color: #fff; }
.status { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--muted); font-size: 0.82rem; }
.status i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--faint);
}
.status.is-online i { background: var(--ok); box-shadow: 0 0 7px rgba(111, 191, 170, 0.45); }
.status.is-offline i { background: #e59aa6; box-shadow: 0 0 7px rgba(229, 154, 166, 0.45); }

.coin-list { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.coin-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 1px 6px 1px 4px;
  border: 1px solid var(--line); border-radius: 999px;
  color: var(--muted); font-size: 11px;
}
.coin-badge img { display: block; }

.pill {
  display: inline-flex; align-items: center;
  padding: 0.1rem 0.45rem;
  border: 1px solid var(--line); border-radius: 999px;
  color: var(--muted); font-size: 11px; line-height: 1.4;
}

.avail {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 0.85rem; padding: 0; border: 0; min-inline-size: 0;
  color: var(--muted); font-size: 0.86rem;
}
.avail-options {
  display: inline-flex; overflow: hidden;
  border: 1px solid var(--line); border-radius: 6px;
}
.avail-options label {
  display: inline-flex; align-items: stretch; justify-content: center;
  min-height: calc(var(--control-h) - 2px); padding: 0;
  cursor: pointer; font-size: 14px; font-weight: 650;
}
.avail-options label > span,
.filter-seg label > span {
  display: inline-flex; align-items: center; justify-content: center;
  flex: 1; padding: 0 10px; line-height: 1;
}
.avail-options input { position: absolute; opacity: 0; pointer-events: none; }
.avail-options input:checked + span { background: var(--near); color: var(--text); }
.avail-options input:focus-visible + span,
.filter-seg input:focus-visible + span {
  outline: 2px solid var(--accent); outline-offset: -2px;
}

.filter-panel {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1.1rem;
  padding: 0.9rem 1rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(14, 11, 20, 0.72);
}
.filter-row {
  display: grid;
  gap: 0.4rem;
}
.filter-row-search {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}
.filter-row-search input[type="search"] {
  flex: 1 1 16rem;
  min-height: var(--control-h);
  padding: 0 0.75rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--shade);
  font-size: 14px;
}
.filter-sort {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.86rem;
}
.filter-sort select,
.filter-extra select {
  min-height: var(--control-h);
  padding: 0 0.55rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--shade);
  font-size: 14px;
}
.filter-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.filter-seg {
  display: inline-flex;
  flex-wrap: wrap;
  overflow: hidden;
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.filter-seg label {
  display: inline-flex;
  align-items: stretch;
  justify-content: center;
  min-height: calc(var(--control-h) - 2px);
  padding: 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
}
.filter-seg input { position: absolute; opacity: 0; pointer-events: none; }
.filter-seg input:checked + span { background: var(--near); color: var(--text); }
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: var(--control-h);
  padding: 0 9px 0 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--shade);
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
  line-height: 1; text-align: center; vertical-align: middle;
}
.filter-chip img { display: block; width: 14px; height: 14px; }
.filter-chip.is-on {
  border-color: #4a3560;
  background: #1a1424;
  color: var(--text);
}
.filter-row-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
@media (min-width: 880px) {
  .filter-row-pair { grid-template-columns: 1fr 1fr; }
}
.filter-pair { display: grid; align-content: start; gap: 0.4rem; }
.filter-row-fee {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.7rem;
}
.filter-fee {
  display: grid;
  gap: 0.35rem;
  flex: 1 1 16rem;
}
.filter-fee .filter-label {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
}
.filter-fee output { color: var(--text); letter-spacing: 0; text-transform: none; font-family: var(--font-ui); font-size: 0.86rem; }
.filter-range {
  display: block;
  width: 100%;
  height: var(--control-h);
  margin: 0;
  accent-color: #6e5588;
}
.filter-row-extras {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  gap: 0.85rem 1.2rem;
}
.filter-extra { display: grid; gap: 0.35rem; align-content: start; }
.filter-visibility { flex: 0 0 auto; min-width: 0; }
body[data-page="swaps"] .filter-visibility { flex: 0 1 auto; max-width: 100%; }
body[data-page="swaps"] .filter-visibility-controls { min-width: 0; max-width: 100%; }
body[data-page="swaps"] .dir-card-title { overflow-wrap: anywhere; }
.filter-javascript { flex: 0 1 24rem; min-width: 0; }
.filter-visibility-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; }
.filter-switch {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; margin-block: -6px;
  color: var(--text); font-size: 14px; font-weight: 600; line-height: 1.25; cursor: pointer;
}
.filter-switch input {
  appearance: none; position: relative; display: inline-block; flex: 0 0 auto;
  width: 2.1rem; height: 1.15rem; margin: 0; padding: 0;
  border: 1px solid var(--muted); border-radius: 999px; background: var(--shade); cursor: pointer;
}
.filter-switch input::before {
  content: ""; position: absolute; width: 0.75rem; height: 0.75rem;
  top: 50%; left: 0.14rem; border-radius: 50%; background: var(--text);
  transform: translateY(-50%); transition: transform 150ms ease;
}
.filter-switch input:checked { background: var(--accent); border-color: var(--verified-edge); }
.filter-switch input:checked::before { transform: translate(0.9rem, -50%); }
.filter-switch input:focus-visible { outline: 2px solid var(--verified-edge); outline-offset: 3px; }
.filter-visibility-note { max-width: 42ch; margin: 0; color: var(--muted); font-size: 0.8rem; line-height: 1.35; }
@media (prefers-reduced-motion: reduce) { .filter-switch input::before { transition: none; } }
.filter-fee-controls { display: flex; align-items: flex-start; gap: 0.7rem; }
.filter-fee-controls > button { flex: 0 0 auto; }
.filter-slider-track { flex: 1 1 0; min-width: 0; }
.filter-scale { position: relative; height: 1.4rem; margin: 0 8px; color: var(--muted); font-size: 0.72rem; line-height: 1; }
.filter-scale span { position: absolute; top: 0; left: var(--tick-position); padding-top: 7px; transform: translateX(-50%); white-space: nowrap; }
.filter-scale span::before { content: ""; position: absolute; top: 0; left: 50%; height: 4px; border-left: 1px solid var(--muted); }
.filter-scale span:first-child { transform: none; }
.filter-scale span:first-child::before { left: 0; }
.filter-scale span:last-child { transform: translateX(-100%); }
.filter-scale span:last-child::before { left: 100%; }
.filter-row-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.15rem;
  border-top: 1px solid rgba(42, 29, 58, 0.45);
}
.filter-count { margin: 0; color: var(--muted); font-size: 0.86rem; }
.filter-meta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.1rem;
}
label.show-scams {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.86rem;
  cursor: pointer;
}
label.show-scams input { accent-color: #c45c66; }
html:not(.show-scams) .dir-card--scam,
html:not(.show-scams) .dir-table tr.is-scam-row,
body[data-page="home"] .dir-card--scam,
body[data-page="home"] .dir-table tr.is-scam-row {
  display: none;
}
.dir-shell > .show-scams {
  margin: 0 0 0.85rem;
}
.filter-text-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--control-h);
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  line-height: 1.2; text-align: center; vertical-align: middle;
}
.filter-text-btn:hover { color: var(--text); }

.tool-links {
  display: flex; justify-content: center; gap: 1.3rem; flex-wrap: wrap;
  margin: 2.1rem 0 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(42, 29, 58, 0.45);
}
.tool-links a { color: var(--muted); text-underline-offset: 0.18em; font-size: 0.92rem; }
.tool-links a:hover { color: var(--text); }

.page-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.6rem, 3.6vw, 2.2rem);
  text-align: center;
  text-transform: uppercase;
}
.page-lede {
  margin: 0 auto 1.3rem;
  max-width: 36rem;
  color: var(--muted);
  text-align: center;
}
.reviewed {
  margin: 0 auto 1.3rem;
  color: var(--faint);
  font-size: 12px;
  text-align: center;
}

.filters {
  display: flex; flex-wrap: wrap; gap: 0.45rem;
  justify-content: center;
  margin: 0 0 0.85rem;
}
.filters input[type="search"], .filters select {
  min-height: 36px; padding: 0 0.7rem;
  border: 1px solid var(--line); border-radius: 7px;
  background: var(--shade);
}

.detail-hero {
  display: flex; gap: 0.85rem; align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.detail h1 { margin: 0; font-size: 1.8rem; }
.meta { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.4rem; align-items: center; }
.verify-block { margin-top: 1.8rem; text-align: left; }
.verify-block h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.verify-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 0.8rem;
  margin-top: 0.8rem;
}
.verify-card {
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(14, 11, 20, 0.72);
}
.verify-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.verify-card p, .verify-card label { color: var(--muted); font-size: 0.88rem; }
.verify-card input, .verify-card textarea {
  width: 100%; margin: 0.35rem 0 0.55rem; padding: 0.55rem 0.65rem;
  border: 1px solid var(--line); border-radius: 7px; background: var(--shade);
}
.verify-card textarea { min-height: 8rem; font-family: var(--font-mono); font-size: 0.82rem; }
[data-service-domain-check] {
  display: flex; flex-direction: column; align-items: stretch; gap: 0.55rem;
  min-width: 0;
}
[data-service-domain-check] h3,
[data-service-domain-check] p { margin: 0; }
[data-service-domain-check] label { color: var(--text); font-size: 1rem; }
[data-service-domain-check] input {
  min-width: 0; min-height: 44px; margin: 0; font-size: 1rem;
}
[data-service-domain-check] button {
  align-self: flex-start; min-height: 44px; padding: 0.45rem 0.85rem;
  line-height: 1.2;
}
[data-service-domain-check] button:disabled { opacity: 0.6; cursor: wait; }
[data-service-domain-check] :focus-visible {
  outline-color: var(--verified-edge); outline-offset: 3px;
}
[data-service-domain-check] [data-domain-status] {
  margin: 0; overflow-wrap: anywhere;
}
[data-service-domain-check] [data-domain-status] p {
  color: inherit; margin: 0 0 0.5rem;
}
[data-service-domain-check] [data-domain-status] > :last-child { margin-bottom: 0; }
.domain-check-addresses {
  margin: 0.5rem 0; padding-left: 1.2rem; font-family: var(--font-mono);
  font-size: 0.78rem; overflow-wrap: anywhere;
}
.domain-check-addresses li + li { margin-top: 0.35rem; }
.domain-check-db-status { overflow-wrap: anywhere; }
.pgp-block {
  margin: 0.5rem 0 0; padding: 0.7rem;
  max-height: 16rem; overflow: auto;
  border: 1px solid var(--line); border-radius: 7px;
  background: #0b0810;
  color: var(--text);
  font: 0.75rem/1.45 var(--font-mono);
  white-space: pre-wrap; overflow-wrap: anywhere;
}
.vg-status { margin: 0.5rem 0 0; padding: 0.55rem 0.65rem; border-radius: 7px; }
.vg-status[hidden] { display: none; }
.vg-status--success { border: 1px solid #2f7d48; background: #14251b; color: #b8f7c8; }
.vg-status--error { border: 1px solid #8b2f36; background: #2a1417; color: #ffc4c8; }
.vg-status--warning { border: 1px solid #80652a; background: #261f12; color: #ffe4a3; }
.vg-status--info { border: 1px solid var(--line); background: var(--shade); color: var(--muted); }
.listing-banner {
  margin: 1.1rem 0;
  padding: 0.95rem 1rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--shade);
  text-align: left;
  position: relative;
  overflow: hidden;
}
.listing-banner::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 8px;
  background: linear-gradient(90deg, #52b7d8, #6fcf97);
}
.listing-banner--notice { border-color: #3f7ca4; background: #101a22; }
.listing-banner--scam-accusation { border-color: #a12f3b; background: #211014; }
.listing-banner--scam-accusation::before {
  background: repeating-linear-gradient(135deg, #dc3644 0 14px, #1d0d10 14px 28px);
}
.listing-banner--maintenance { border-color: #8a6b2b; background: #1c150c; }
.listing-banner--maintenance::before {
  background: repeating-linear-gradient(135deg, #f6b83f 0 14px, #1b1410 14px 28px);
}
.listing-banner-kicker {
  margin: 0.35rem 0 0.25rem;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #96dfff;
}
.listing-banner--scam-accusation .listing-banner-kicker { color: #ff9da7; }
.listing-banner h2 { margin: 0 0 0.4rem; font-size: 1.15rem; text-transform: none; letter-spacing: 0; }
.listing-banner p, .listing-banner li { color: var(--muted); }
.listing-banner-source { font-size: 0.82rem; color: var(--faint); }
.listing-banner-source a { color: #bfe8ff; }
.facts { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.facts th, .facts td {
  padding: 0.55rem 0.7rem; text-align: left;
  border-bottom: 1px solid var(--line); vertical-align: top;
}
.facts th { width: 34%; color: var(--muted); font-weight: 600; background: rgba(14, 11, 20, 0.7); }
.crumb { margin: 0 0 1rem; color: var(--faint); font-size: 0.88rem; }
.crumb a { color: var(--muted); }

.doc h2 { margin: 1.7rem 0 0.5rem; font-size: 1.15rem; text-transform: uppercase; }
.doc p, .doc li { color: var(--muted); }
.doc ul { padding-left: 1.15rem; }
.doc a { color: var(--text); text-underline-offset: 0.16em; }
.live-doc { text-align: left; }
.live-doc h1 { display: none; }
.live-doc table { width: 100%; border-collapse: collapse; font-size: 0.88rem; margin: 1rem 0; }
.live-doc th, .live-doc td { padding: 0.5rem 0.6rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.live-doc img { max-width: 100%; height: auto; }
body[data-page="evolving-regulation"] .column,
body[data-page="crime"] .column,
body[data-page="crackdown"] .column,
body[data-page="aftermath"] .column,
body[data-page="advisories"] .column {
  width: min(var(--dir), calc(100% - 2rem));
}
.tdb-bar {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  align-items: center;
  margin: 0 0 0.7rem;
}
.tdb-bar input[type="search"], .tdb-bar select {
  min-height: var(--control-h); max-width: 100%; padding: 0 0.7rem;
  border: 1px solid var(--line); border-radius: 8px; background: var(--shade);
  font-size: 14px;
}
.tdb-bar input[type="search"] { flex: 1 1 16rem; }
.tdb-count { margin: 0 0 0.6rem; color: var(--faint); font-size: 0.88rem; }
.profile-panel { text-align: left; }
.profile-hero {
  display: flex; align-items: center; gap: 1rem;
  margin: 0 0 1.2rem;
}
.profile-avatar {
  display: grid; place-items: center;
  width: 72px; height: 72px; flex: 0 0 72px;
  border-radius: 12px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #120c18;
  color: var(--text);
}
.profile-avatar svg { width: 72px; height: 72px; display: block; }
.profile-avatar img { width: 72px; height: 72px; display: block; object-fit: cover; }
.profile-hero > div { min-width: 0; }
.profile-handle { overflow-wrap: anywhere; }
.profile-handle {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 650;
  color: var(--text);
}
.profile-title { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.92rem; font-weight: 500; overflow-wrap: anywhere; }
.profile-tag { margin: 0.2rem 0 0; color: var(--faint); font-size: 0.88rem; }
.profile-title + .profile-tag[hidden] { display: none; }
.profile-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0 0 1.1rem;
}
.profile-metrics div {
  padding: 0.75rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(14, 11, 20, 0.72);
}
.profile-metrics span {
  display: block;
  color: var(--faint);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.profile-metrics strong { font-size: 1.15rem; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.4rem; }
body[data-page="profile"] .profile-listings {
  margin-top: 1.5rem; padding: 1.25rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--shade); min-width: 0;
}
body[data-page="profile"] .profile-listings h2 {
  margin: 0 0 0.6rem; font-family: var(--font-display);
  font-size: 1.15rem; line-height: 1.4;
}
body[data-page="profile"] .profile-listings > p {
  max-width: 65ch; margin: 0 0 1rem;
  color: var(--muted); line-height: 1.6;
}
body[data-page="profile"] .profile-listings-actions {
  margin: 0; gap: 0.75rem; align-items: center;
}
body[data-page="profile"] .profile-listings-actions .btn {
  max-width: 100%; white-space: normal; overflow-wrap: anywhere;
}
body[data-page="profile"] .profile-listings-actions .btn:focus-visible {
  outline: 2px solid var(--verified-edge); outline-offset: 3px;
}
@media (max-width: 640px) {
  .profile-metrics { grid-template-columns: 1fr; }
}
@media (max-width: 640px), (pointer: coarse) {
  body[data-page="profile"] .profile-listings-actions .btn {
    min-height: 44px; padding-block: 0.5rem;
  }
}
.wallet-check {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) auto;
  gap: 0.6rem;
  align-items: end;
  margin: 0 0 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(14, 11, 20, 0.72);
}
.wallet-check label {
  display: grid; gap: 0.3rem;
  color: var(--muted); font-size: 0.82rem;
  font-family: var(--font-display);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.wallet-check input {
  min-height: 42px; padding: 0 0.7rem;
  border: 1px solid var(--line); border-radius: 8px; background: var(--shade);
}
.tdb-hit td { background: rgba(157, 47, 59, 0.18); }
@media (max-width: 800px) {
  .wallet-check { grid-template-columns: 1fr; }
}
.tdb-table { min-width: 960px; }
.tdb-table td { white-space: normal; }
.tdb-table-compact { min-width: 820px; }
.tdb-table-compact td:nth-child(7) { max-width: 22rem; }
.gy-fate {
  display: inline-flex; align-items: center; gap: 0.35rem;
  min-height: 28px; padding: 0.2rem 0.55rem;
  border: 1px solid var(--edge); border-radius: 999px;
  color: var(--text); background: var(--near);
  font-size: 0.75rem; font-weight: 650; line-height: 1.2;
  white-space: nowrap; vertical-align: middle;
}
.gy-fate svg { width: 15px; height: 15px; flex: 0 0 15px; }
.gy-fate--seized, .gy-fate--convicted { color: #ffc7cd; border-color: #85414c; background: #28141a; }
.gy-fate--sanctioned, .gy-fate--charged { color: #ffe4a3; border-color: #80652a; background: #261f12; }
.gy-fate--delisted { color: #b8f7c8; border-color: #2f7d48; background: #14251b; }
.gy-fate--shutdown { color: #c9c0d4; border-color: #514859; background: #19151f; }
.gy-empty { padding: 1rem; color: var(--muted); text-align: center; }
.pager {
  display: flex; flex-wrap: wrap; gap: 0.35rem;
  align-items: center;
  margin: 0.85rem 0 0;
}
.pager-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 32px; min-width: 32px; padding: 0 0.55rem;
  border: 1px solid var(--line); border-radius: 6px;
  background: var(--shade); color: var(--muted);
  cursor: pointer; font-size: 0.82rem; font-weight: 650;
  line-height: 1.2; text-align: center; vertical-align: middle;
}
.pager-btn.is-on, .pager-btn:hover:not(:disabled) {
  background: var(--near); color: var(--text);
}
.pager-btn:disabled { opacity: 0.4; cursor: default; }
.pager-gap { color: var(--faint); padding: 0 0.2rem; }
body[data-page="advisory"] .column,
body[data-page="law"] .column { width: min(var(--col), calc(100% - 2.5rem)); }
.live-doc .reg-section { margin: 1.4rem 0 1.8rem; }
.live-doc .reg-list { list-style: none; margin: 0; padding: 0; }
.reg-card {
  width: 100%; overflow: hidden;
  border: 1px solid var(--line); border-radius: 12px;
  background: rgba(14, 11, 20, 0.72);
}
.reg-card__header {
  display: flex; flex-wrap: wrap; gap: 0.7rem;
  justify-content: space-between; align-items: flex-start;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--line);
}
.reg-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.reg-card__subtitle { margin: 0.25rem 0 0; color: var(--muted); font-size: 0.88rem; max-width: 40rem; }
.reg-pill {
  font-size: 11px; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 0.3rem 0.7rem; background: var(--shade);
}
.reg-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--line);
}
.reg-item:first-child { border-top: 0; }
.reg-icon {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--near);
  font-family: var(--font-display); font-size: 11px; font-weight: 700;
  letter-spacing: 0.04em;
}
.reg-main { min-width: 0; }
.reg-row { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.reg-name { font-weight: 650; color: var(--text); }
.reg-meta { font-size: 12px; color: var(--faint); }
.reg-desc { margin-top: 0.2rem; font-size: 0.86rem; color: var(--muted); line-height: 1.4; }
.reg-badge {
  font-size: 11px; padding: 0.3rem 0.65rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--shade);
  color: var(--muted); white-space: nowrap;
}
.badge--good { color: #b8f7c8; border-color: #2f7d48; background: #14251b; }
.badge--warn { color: #ffe4a3; border-color: #80652a; background: #261f12; }
.badge--neutral { color: #bfe8ff; border-color: #3f7ca4; background: #0f2230; }
.reg-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 34px; padding: 0 0.75rem;
  border: 1px solid var(--line); border-radius: 999px;
  color: var(--muted); text-decoration: none;
  font-size: 12px; font-weight: 650; white-space: nowrap;
  line-height: 1.2; text-align: center; vertical-align: middle;
}
.reg-link::after { content: "Source"; }
.reg-link:hover { color: var(--text); border-color: var(--edge); }
.reg-note { color: var(--faint); font-size: 0.86rem; margin-top: 1rem; }
@media (max-width: 900px) {
  .reg-item { grid-template-columns: 40px minmax(0, 1fr); }
  .reg-badge, .reg-link { margin-top: 0.35rem; }
}
.ext-launch {
  display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center;
  margin: 0 0 1.4rem;
}
.aml-launch-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  margin: 1.1rem 0 1.3rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--shade);
}
.aml-launch-banner__mark {
  display: grid; place-items: center;
  width: 34px; height: 34px; flex: 0 0 34px;
  border-radius: 50%;
  background: var(--near);
  color: var(--text);
}
.aml-launch-banner__mark svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.aml-launch-banner__title { margin: 0 0 0.25rem; color: var(--text); font-weight: 700; }
.aml-launch-banner p { margin: 0; }
.aml-launch-banner__actions { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 0.75rem; }
.aml-launch-banner__button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 36px; padding: 0 0.85rem;
  border-radius: 999px; border: 1px solid var(--line);
  background: var(--text); color: #0b0810;
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  line-height: 1.2; text-align: center; vertical-align: middle;
}
.aml-launch-banner__button--secondary {
  background: transparent; color: var(--text);
}
.vg-verify, #letter-verify, #scamwhammer, #urlForm {
  display: grid; gap: 0.65rem; max-width: 36rem; margin: 1rem auto 0;
}
.vg-verify select, .vg-verify textarea, .vg-verify input, #urlInput, #mixerSelect, #messageTextArea {
  width: 100%; padding: 0.7rem 0.8rem;
  border: 1px solid var(--line); border-radius: 8px; background: var(--shade); color: var(--text);
}
.vg-verify textarea, #messageTextArea { min-height: 10rem; }
.vg-verify button, #verifyButton, #ScamWhammerButton {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 1.1rem; border: 0; border-radius: 999px;
  background: var(--text); color: #0b0810; font-family: var(--font-display);
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer;
}
.interactive-timeline { position: relative; margin: 1.4rem 0 2rem; padding-left: 1.4rem; }
.interactive-timeline::before {
  content: ""; position: absolute; left: 0.35rem; top: 0; bottom: 0; width: 2px;
  background: rgba(255,255,255,0.18);
}
.timeline-event { margin: 0 0 1.1rem; padding: 0.7rem 0.8rem; border: 1px solid var(--line); border-radius: 8px; background: rgba(14,11,20,0.7); }
.timeline-row { display: flex; flex-wrap: wrap; gap: 0.45rem 0.8rem; align-items: baseline; }
.timeline-date { color: var(--faint); font-size: 0.82rem; }
.timeline-title { color: var(--text); font-family: var(--font-display); font-weight: 600; }
.timeline-tag { color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; }
.timeline-body { margin: 0.4rem 0 0; color: var(--muted); }
.timeline-link { color: var(--text); }
.changelog-entry { margin: 0 0 1.1rem; }
.changelog-entry h3 { margin: 0 0 0.35rem; font-family: var(--font-display); font-size: 1.05rem; text-transform: uppercase; }
.stub-table { margin-top: 0.7rem; }
.empty {
  margin: 0;
  padding: 1.4rem 1rem;
  color: var(--muted);
  text-align: center;
}

.form-stack { display: grid; gap: 0.65rem; max-width: 28rem; margin: 0 auto; }
.form-stack label { font-size: 0.9rem; color: var(--muted); }
.form-stack input, .form-stack textarea, .form-stack select {
  width: 100%; padding: 0.6rem 0.75rem;
  border: 1px solid var(--line); border-radius: 7px;
  background: var(--shade);
}
.review-list { margin: 0.4rem 0 0; padding-left: 1.1rem; }
.review-list li { margin: 0 0 0.45rem; }
.review-list .dir-note { display: block; margin-top: 0.1rem; }
.form-stack .btn { justify-self: center; width: auto; min-width: 10rem; }
.form-stack .token-field {
  display: flex;
  gap: 0.45rem;
  align-items: stretch;
}
.form-stack .token-field input { flex: 1 1 auto; }
.form-stack .token-visibility {
  flex: 0 0 auto;
  min-width: 5.5rem;
  padding: 0 0.85rem;
}
.form-stack .vg-status { margin: 0 auto 0.2rem; max-width: 28rem; }
.form-stack .vg-status strong,
#login-error strong {
  display: block;
  margin-bottom: 0.15rem;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.75rem;
}
#login-error { max-width: 28rem; margin: 0 auto 0.85rem; }
.form-stack textarea { min-height: 8rem; resize: vertical; }
.form-out {
  margin: 1rem auto 0; max-width: 36rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--muted); text-align: center;
}
.passphrase {
  font: 1.05rem/1.6 var(--font-mono);
  text-align: center;
  color: var(--text);
  word-break: break-word;
}

.site-footer {
  display: block;
  padding: 1.15rem 1.25rem 1.4rem;
  border-top: 1px solid rgba(42, 29, 58, 0.5);
  background: #09070e;
  color: #c4bccf;
  text-align: center;
  font-size: 0.86rem;
}
.footer-links {
  display: flex; justify-content: center; gap: 1.1rem; flex-wrap: wrap;
  margin-bottom: 0.55rem;
}
.footer-links a { color: var(--muted); text-underline-offset: 0.16em; }
.footer-links a:hover { color: var(--text); }
.footer-contact {
  display: flex; justify-content: center; align-items: center; gap: 0.7rem;
  margin: 0 0 0.65rem;
}
.footer-icon {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border: 1px solid var(--line); border-radius: 50%;
  color: var(--text);
  text-decoration: none;
}
.footer-icon svg { width: 20px; height: 20px; display: block; }
.footer-icon:hover { border-color: var(--edge); background: var(--near); color: #fff; }
.footer-mirrors-label {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}
.footer-mirrors {
  list-style: none; margin: 0 0 0.55rem; padding: 0;
  display: flex; flex-direction: column; gap: 0.15rem; align-items: center;
}
.footer-mirrors-pair { display: flex; gap: 0.55rem; align-items: center; }
.footer-mirrors a { color: var(--muted); word-break: break-all; }
.footer-mirrors a:hover { color: var(--text); }
.footer-copy { margin: 0 0 0.35rem; color: var(--muted); }
.footer-copy a { color: var(--text); }
.donate-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 38px; margin: 0.45rem 0 0.35rem; padding: 0 1.1rem;
  border-radius: 8px; background: #f7931a; color: #111;
  font-family: var(--font-display); font-weight: 700; letter-spacing: 0.06em;
  text-decoration: none; text-transform: uppercase;
  line-height: 1.2; text-align: center; vertical-align: middle;
}
.donate-btn:hover { background: #ffb347; color: #111; }
.footer-draft { margin: 0.4rem 0 0; font-size: 0.78rem; }

.not-found { text-align: center; padding: 1.6rem 0 2.6rem; }
.not-found .hero-helmet { width: min(14rem, 64vw); margin-bottom: 1rem; }
.not-found h1 {
  margin: 0;
  font-size: clamp(2.2rem, 7vw, 3.6rem);
  text-transform: uppercase;
}
.not-found p { color: var(--muted); }

@media (max-height: 560px) {
  .hero-helmet { width: min(9rem, 26vh); margin-bottom: 0.3rem; }
  .hero h1 { font-size: clamp(1.25rem, 6.2vh, 1.9rem); }
  .hero .lede { margin-top: 0.25rem; }
  .btn-browse { min-height: 44px; padding: 0 1.3rem; font-size: 0.92rem; }
  .hero-actions { margin-top: 0.55rem; }
}
@media (max-width: 1439px) {
  .menu-toggle { display: grid; }
  .nav, .nav-search { display: none; }
  .topbar.is-open {
    position: fixed;
    inset: 0;
    z-index: 50;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    align-items: flex-start;
    align-content: flex-start;
    flex-wrap: wrap;
    background: #0b0810;
    backdrop-filter: none;
    overflow: auto;
  }
  .topbar.is-open .nav {
    display: flex; flex-direction: column; align-items: stretch;
    justify-content: flex-start;
    position: static;
    flex: 1 1 100%;
    width: 100%;
    min-height: calc(100% - var(--header-h));
    padding: 0.6rem 0 1.4rem;
    background: transparent;
    border-bottom: 0;
    overflow: visible;
  }
  .topbar.is-open .nav-search { display: flex; margin: 0.4rem 0 0; }
  .topbar.is-open .nav-end { display: flex; flex-wrap: wrap; margin: 0.4rem 0 0; }
  #chrome-header.is-open .nav-end { align-items: flex-start; gap: 0.5rem; }
  #chrome-header.is-open .account-menu { max-width: 100% !important; }
  #chrome-header.is-open .account-popover {
    position: static;
    width: min(18rem, calc(100vw - 2.5rem)) !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0.5rem 0 0;
    transform: none !important;
    box-shadow: none;
    border: 0;
    background: transparent;
  }
  .lang-sheet, .account-popover { position: static; transform: none; box-shadow: none; border: 0; padding: 0.3rem 0 0 0.6rem; background: transparent; }
  .topbar.is-open .nav-search input { width: 100%; }
  .nav-drop .dropdown { position: static; box-shadow: none; border: 0; padding: 0 0 0 0.6rem; background: transparent; }
}
@media (max-width: 1280px) {
  .dir-head { flex-direction: column; gap: 0.2rem; }
  table.dir-table { min-width: 720px; }
}

@media (prefers-reduced-motion: reduce) {
  .dir-card--verified::before { transition: none; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
/* Embedded signature controls retain compact desktop sizing and touch targets. */
[data-letter-status] { min-width: 0; overflow-wrap: anywhere; }
[data-letter-verify-form] button:disabled { opacity: .65; cursor: wait; }
[data-letter-verify-form] button:focus-visible { outline: 2px solid var(--verified-edge); outline-offset: 3px; }
@media (max-width: 600px) {
  [data-letter-verify-form] button[type="submit"] { min-height: 44px; padding: .45rem .85rem; }
}

/* Decorative cursor sparks never intercept clicks or replace the native pointer. */
.bml-cursor-sparks{position:fixed;inset:0;width:100%;height:100%;z-index:70;pointer-events:none}
@media(prefers-reduced-motion:reduce),(hover:none),(pointer:coarse){.bml-cursor-sparks{display:none}}

/* Reserve custom-avatar geometry without showing a generated image beneath it. */
[data-avatar-pending]{visibility:hidden!important}
.account-avatar-frame{background:#201727}

.support-nav-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;margin-left:8px;padding:0 5px;border-radius:12px;background:#dcb6f2;color:#23102e;font-size:11px;font-weight:700}.support-nav-count[hidden]{display:none}

/* Swaps covered by the OrangeFren Guarantee Programme. */
.dir-card.dir-card--orangefren { --verified-edge: #f7931a; border-color: #f7931a; box-shadow: 0 0 0 1px #f7931a40, 0 0 18px #f7931a1f; }
/* Same animated ring as verified cards, always orange (also when the card is verified). */
.dir-card--orangefren::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 2px solid #f7931a;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  clip-path: inset(0 100% 100% 0 round var(--radius));
  transition: clip-path 280ms ease, opacity 180ms ease;
}
.dir-card--orangefren:hover::before,
.dir-card--orangefren:focus-within::before { opacity: 1; clip-path: inset(0 round var(--radius)); }
.dir-card--orangefren:hover, .dir-card--orangefren:focus-within { box-shadow: 0 0 0 1px #f7931a66, 0 0 22px #f7931a33; }
.dir-card--orangefren a:focus-visible { outline-color: #f7931a; }
@media (prefers-reduced-motion: reduce) { .dir-card--orangefren::before { transition: none; } }
.dir-badge-stack { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; vertical-align: middle; }
.dir-badge--orangefren { border: 1px solid #f7931a; background: #2a1a08; color: #ffc27a; box-shadow: 0 0 8px rgba(247, 147, 26, 0.25); }
.facts .facts-orangefren th, .facts .facts-orangefren td { color: #f7b35a; }
.facts .facts-orangefren a { color: #f7b35a; }

/* Long hashes and key fingerprints wrap on narrow screens instead of widening the page. */
.dice-hash { overflow-wrap: anywhere; word-break: break-all; }
/* Code blocks scroll inside their own box; long words in announcements wrap. */
pre { max-width: 100%; overflow-x: auto; }
.changelog-entry { overflow-wrap: anywhere; }

/* Scam listings stay red in every state, even when the card is also marked verified. */
.dir-card.dir-card--scam { --verified-edge: #dc3644; border-color: #dc3644; }
.dir-card--scam:hover, .dir-card--scam:focus-within { box-shadow: 0 0 0 1px #dc364466, 0 0 22px #dc364433; }
.dir-card--scam a:focus-visible { outline-color: #dc3644; }

/* Diceware: the site's card theme (surfaces, hairlines, magenta accent) over the vendored tool styles.
   assets/vendor/diceware.css stays unchanged because it ships in the signed offline ZIP. */
.diceware-page{--card-surface:#ffffff05;--card-raised:#ffffff08;--card-edge:#ffffff14;--card-edge-strong:#ffffff24;--card-soft:#ffffffb3;--card-muted:#ffffff8c;--card-accent:#e930ff;--card-tint:#e930ff14;--card-tint-strong:#e930ff26;--card-edge-hover:#e930ff59;--card-edge-active:#e930ff80;--card-glow:0 0 24px #e930ff22;--card-stripe:linear-gradient(135deg,#e930ff,#5b17ff);color:var(--text)}
.diceware-page .dice-tool{background:var(--card-stripe) top/100% 2px no-repeat,var(--card-surface);border:1px solid var(--card-edge);border-radius:16px}
.diceware-page .dice-tool h2,.diceware-page .dice-result h3,.diceware-page .dice-form legend,.diceware-page .dice-label{color:var(--text)}
.diceware-page .dice-tool>p,.diceware-page .dice-help,.diceware-page .dice-groups{color:var(--card-muted)}
.diceware-page .diceware-distinction{background:var(--card-surface);border:1px solid var(--card-edge);border-left:2px solid var(--card-accent);border-radius:12px}
.diceware-page .diceware-warning,.diceware-page .dice-environment,.diceware-page .dice-status{border-radius:12px}
.diceware-page .dice-status{background:var(--card-raised);border-color:var(--card-edge-strong);color:var(--text)}
.diceware-page .dice-status--ready{background:var(--card-tint);border-color:var(--card-edge-hover);color:#f0d6ff}
.diceware-page .dice-options input{accent-color:var(--card-accent)}
.diceware-page .dice-roll-count{color:#f0a6ff}
.diceware-page .dice-form textarea,.diceware-page .dice-form select{background:var(--card-raised);color:var(--text);border:1px solid var(--card-edge-strong);border-radius:12px;transition:border-color .2s,box-shadow .2s}
.diceware-page .dice-form textarea:hover,.diceware-page .dice-form select:hover{border-color:var(--card-edge-hover)}
.diceware-page .dice-form textarea:focus,.diceware-page .dice-form select:focus{border-color:var(--card-edge-active);box-shadow:var(--card-glow)}
.diceware-page .dice-form select option{background:var(--bg);color:var(--text)}
.diceware-page .dice-button,.diceware-page .dice-download{background:var(--card-surface);color:var(--card-soft);border:1px solid var(--card-edge-strong);border-radius:12px;transition:background .3s,border-color .3s,box-shadow .3s,color .3s}
.diceware-page .dice-button:hover,.diceware-page .dice-button:focus-visible,.diceware-page .dice-download:hover,.diceware-page .dice-download:focus-visible{background:var(--card-tint);color:var(--text);border-color:var(--card-edge-hover);text-decoration:none}
.diceware-page .dice-button--primary{background:var(--card-tint);color:var(--text);border-color:var(--card-edge-hover)}
.diceware-page .dice-button--primary:hover,.diceware-page .dice-button--primary:focus-visible{background:var(--card-tint-strong);color:#fff;border-color:var(--card-edge-active);box-shadow:var(--card-glow)}
.diceware-page .dice-button:disabled{opacity:.45;box-shadow:none}
.diceware-page .dice-result{border-top-color:var(--card-edge)}
.diceware-page .dice-word-list li{background:var(--card-raised);border:1px solid var(--card-edge);border-radius:10px}
.diceware-page .dice-word-number{color:var(--card-muted)}
.diceware-page .dice-hash,.diceware-page pre{background:var(--card-raised);color:var(--card-soft);border:1px solid var(--card-edge);border-radius:12px}
.diceware-page pre{padding:.8rem 1rem}
.diceware-page pre code{background:none;border:0;padding:0}

/* Global search: results grouped by category, each with a count and a link to the whole category. */
.search-groups { display: grid; gap: 2rem; }
.search-group-title { display: flex; align-items: baseline; gap: .6rem; margin: 0 0 .9rem; font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text); }
.search-group-count { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); border: 1px solid var(--edge); border-radius: 999px; padding: .05rem .55rem; }
.search-group .search-results { margin: 0; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.search-group-more { display: inline-block; margin-top: .9rem; color: var(--text); font-weight: 600; }
.dir-card.search-resource { grid-template-columns: minmax(0, 1fr); }
.search-resource .dir-card-title { overflow-wrap: break-word; }
.search-resource p { margin: .35rem 0 .7rem; color: var(--muted); }
.search-resource .dir-btn { align-self: flex-start; margin-top: auto; }

/* Articles index (tools/build-articles.py): Latest row, sticky topic chips with a filter box, WordPress-style excerpts. */
.articles-page { width: min(66rem, calc(100% - 2.5rem)); margin-inline: auto; }
.articles-head { width: min(var(--col), 100%); margin-inline: auto; }
.articles-bar { position: sticky; top: var(--header-h); z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 1.2rem 0 .4rem; padding: .6rem 0; background: var(--bg); border-bottom: 1px solid var(--line); }
.articles-page .article-groups-nav { display: flex; flex-wrap: wrap; gap: .4rem; flex: 1 1 28rem; }
.article-chip { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .75rem; border: 1px solid var(--edge); border-radius: 999px; color: var(--muted); font-size: .9rem; text-decoration: none; line-height: 1.2; }
.article-chip:hover, .article-chip:focus-visible { color: var(--text); border-color: #6b4b8f; }
.article-chip[aria-current] { color: var(--text); border-color: #b06cff; background: #b06cff1f; }
.article-chip .article-count { border: 0; padding: 0; }
.article-filter { display: flex; align-items: center; gap: .6rem; flex: 0 1 18rem; }
.article-filter input { width: 100%; min-width: 0; height: var(--control-h); padding: 0 .75rem; border: 1px solid var(--edge); border-radius: 999px; background: var(--shade); color: var(--text); font: inherit; font-size: .92rem; }
.article-filter input:focus { outline: none; border-color: #b06cff; }
.article-filter output { flex: none; color: var(--muted); font-size: .82rem; font-variant-numeric: tabular-nums; }
.article-filter output:empty { display: none; }
.article-empty { margin: 1.5rem 0; color: var(--muted); }
.article-group { margin: 2rem 0; scroll-margin-top: calc(var(--header-h) + 4.5rem); }
.article-group h2 { display: flex; align-items: baseline; gap: .6rem; }
.article-count { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); border: 1px solid var(--edge); border-radius: 999px; padding: .05rem .5rem; }
.article-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.article-item { display: flex; flex-direction: column; padding: 1.1rem 1.2rem 1rem; background: #ffffff05; border: 1px solid #ffffff14; border-radius: 14px; transition: border-color .2s, background .2s; }
.article-item:hover, .article-item:focus-within { border-color: #e930ff59; background: #e930ff0f; }
.article-item h3 { margin: 0 0 .5rem; font-size: 1.08rem; line-height: 1.3; text-wrap: balance; }
.article-item h3 a { color: var(--text); text-decoration: none; }
.article-item h3 a:hover, .article-item h3 a:focus-visible { text-decoration: underline; }
.article-item .article-excerpt { margin: 0 0 .9rem; color: var(--muted); font-size: .93rem; line-height: 1.55; }
.article-topic { margin: 0 0 .45rem; color: #c89bff; font-size: .74rem; letter-spacing: .07em; text-transform: uppercase; }
.article-foot { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .9rem; margin-top: auto; padding-top: .7rem; border-top: 1px solid var(--line); font-size: .8rem; color: var(--faint); }
.article-foot .reviewed { margin: 0; font-size: inherit; color: inherit; }
.article-time { font-variant-numeric: tabular-nums; }
.article-more { margin-left: auto; color: #d8b4ff; font-weight: 600; text-decoration: none; white-space: nowrap; }
.article-more::after { content: " →"; }
.article-more:hover, .article-more:focus-visible { text-decoration: underline; }
.article-latest .article-list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.article-featured { background: linear-gradient(160deg, #b06cff1a, #ffffff05 60%); border-color: #b06cff40; }
.article-featured h3 { font-size: 1.2rem; }
@media (max-width: 640px) {
  .articles-bar { position: static; }
  .article-filter { flex-basis: 100%; }
}

/* Privacy news: server-rendered feed with topic links and pages. */
.news-page .news-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0 1.6rem; }
.news-page .news-filters a { padding: .3rem .75rem; border: 1px solid #ffffff24; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: .9rem; }
.news-page .news-filters a span { font-family: var(--font-mono); font-size: .78rem; color: var(--faint); }
.news-page .news-filters a[aria-current="page"], .news-page .news-filters a:hover { color: var(--text); border-color: #e930ff80; background: #e930ff14; }
.news-list { display: grid; gap: .9rem; }
.news-entry { padding: 1rem 1.1rem; background: #ffffff05; border: 1px solid #ffffff14; border-radius: 14px; }
.news-entry h3 { margin: .35rem 0 .3rem; font-size: 1.05rem; line-height: 1.35; overflow-wrap: anywhere; }
.news-entry h3 a { color: var(--text); }
.news-entry p { margin: 0; color: var(--muted); font-size: .92rem; overflow-wrap: anywhere; }
.news-meta { display: flex; flex-wrap: wrap; gap: .4rem .8rem; align-items: baseline; font-size: .8rem; color: var(--faint); }
.news-tag { color: #f0a6ff; font-weight: 600; }
.news-tag.is-alert { color: #ff9da7; }
.news-pages { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 1.5rem 0; }
.news-page .news-note, .news-page .news-status { color: var(--faint); font-size: .85rem; margin-top: 1.5rem; }

/* Swap checkout: widget fields and the letter-of-guarantee steps. */
.pair-swap-checkout { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); grid-column: 1 / -1; }
.pair-swap-checkout label { display: grid; gap: .35rem; }
.pair-swap-checkout input, .pair-swap-checkout select { background: #ffffff08; color: var(--text); border: 1px solid #ffffff24; border-radius: 12px; padding: .55rem .7rem; font: inherit; min-width: 0; }
.pair-swap-checkout .pair-swap-address { grid-column: 1 / -1; }
.pair-swap-note { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .85rem; }
.pair-swap-submit { background: #e930ff26; border-color: #e930ff80; }
.swap-checkout .swap-letter { width: 100%; box-sizing: border-box; font-family: var(--font-mono); font-size: .82rem; line-height: 1.5; background: #ffffff08; color: var(--text); border: 1px solid #ffffff24; border-radius: 12px; padding: .9rem; resize: vertical; }
.swap-checkout .swap-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: .9rem 0 1.4rem; }
.swap-verified { padding: .7rem .9rem; border-radius: 12px; border: 1px solid; }
.swap-verified.is-valid { color: #b8dfbf; background: #142019; border-color: #45664d; }
.swap-verified.is-invalid, .swap-error { color: #ffb6bd; background: #281619; border: 1px solid #7e3b44; border-radius: 12px; padding: .7rem .9rem; }
.swap-saved { display: flex; gap: .6rem; align-items: center; margin: 0 0 1rem; font-weight: 600; }
.swap-saved input { width: 1.2rem; height: 1.2rem; accent-color: #e930ff; }
.swap-continue button:disabled { opacity: .45; cursor: not-allowed; }
.swap-captcha { display: grid; gap: .8rem; max-width: 26rem; }
.swap-captcha-image { max-width: 100%; border-radius: 10px; background: #fff; }
.swap-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; border: 0; padding: 0; }

/* Customer review counts on listed services: "+positive −funds claims" (lists are ordered by the difference). */
.rep { display: inline-flex; gap: .3rem; align-items: baseline; font-size: .78rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; vertical-align: middle; }
.rep:empty { display: none; }
.rep-pos { color: #8fe0a8; }
.rep-neg { color: #f0a0a0; }
.dir-card-title .rep { margin-left: .35rem; }
.pair-exit-name .rep, .buy-desk .rep { display: flex; margin-top: .2rem; }

/* Homepage v2: hero stays, then the ranked directory (tabs without JavaScript) and the tasks. */
.hero-screen.hero-screen--home { height: auto; max-height: none; min-height: 0; overflow: visible; padding: 1.6rem 1.25rem 1.4rem; }
body[data-page="home"]:has(> [data-sylvester-slot]) .hero-screen.hero-screen--home { height: auto; min-height: 0; }
/* Owner, 2026-10-12: on the homepage the banner sits inside the hero. The hero (its background and animation) runs up
   behind the slot; --home-ad-h is the slot's measured height (site.js), the reservation is the fallback. */
body[data-page="home"] > [data-sylvester-slot] { position: relative; z-index: 2; }
body[data-page="home"]:has(> [data-sylvester-slot]) .hero-screen.hero-screen--home {
  margin-top: calc(-1 * var(--home-ad-h, var(--top-ad-reservation)));
  padding-top: calc(var(--home-ad-h, var(--top-ad-reservation)) + 1.6rem);
}
/* Owner, 2026-10-13: white on the homepage hero background so they stay readable (other pages keep the muted grey). */
body[data-page="home"] > [data-sylvester-slot] :is(.sylvester-label, .sylvester-meta) { color: #fff; text-shadow: 0 0 2px #000000e6, 0 1px 3px #000000d9; }
.hero-search { display: flex; gap: .5rem; width: min(100%, 30rem); margin-top: 1.1rem; animation: rise 900ms ease 180ms both; }
.hero-search input { flex: 1; min-width: 0; background: #0000004d; color: var(--text); border: 1px solid #ffffff40; border-radius: 999px; padding: .65rem 1rem; font: inherit; }
/* Owner, 2026-10-13: the browser's default placeholder grey was barely visible on the hero background. */
.hero-search input::placeholder { color: #ffffffc7; opacity: 1; }
.hero-search button { border: 1px solid #5f466f; background: #32203f; color: #f6e8ff; border-radius: 999px; padding: .6rem 1.1rem; font: inherit; cursor: pointer; }
.hero-search button:hover, .hero-search button:focus-visible { border-color: #d7b2ee; }
.home-dir { width: min(100% - 2rem, 980px); margin: 1.5rem auto 0; }
.home-dir-head h2 { margin: 0; font-family: var(--font-display); font-size: clamp(1.3rem, 3vw, 1.8rem); text-transform: uppercase; letter-spacing: .04em; }
.home-dir-head p { margin: .35rem 0 1rem; color: var(--muted); font-size: .92rem; }
.home-dir-radio { position: absolute; opacity: 0; pointer-events: none; }
.home-dir-tablist { display: flex; gap: .4rem; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.home-dir-tab { padding: .55rem 1rem; border: 1px solid transparent; border-bottom: 0; border-radius: 10px 10px 0 0; color: var(--muted); cursor: pointer; font-family: var(--font-display); letter-spacing: .05em; text-transform: uppercase; font-size: .85rem; }
.home-dir-count { color: #7f7390; font-size: .78rem; }
.home-dir-panel { display: none; padding: .6rem 0 0; }
#home-tab-mixers:checked ~ .home-dir-tablist label[for="home-tab-mixers"],
#home-tab-swaps:checked ~ .home-dir-tablist label[for="home-tab-swaps"],
#home-tab-p2p:checked ~ .home-dir-tablist label[for="home-tab-p2p"],
#home-tab-wallets:checked ~ .home-dir-tablist label[for="home-tab-wallets"] { color: #f6e8ff; border-color: #5f466f; background: #1d1228; box-shadow: inset 0 -2px #d7b2ee; }
.home-dir-radio:focus-visible ~ .home-dir-tablist { outline: 2px solid #d7b2ee; outline-offset: 3px; }
#home-tab-mixers:checked ~ [data-home-panel="mixers"],
#home-tab-swaps:checked ~ [data-home-panel="swaps"],
#home-tab-p2p:checked ~ [data-home-panel="p2p"],
#home-tab-wallets:checked ~ [data-home-panel="wallets"] { display: block; }
.home-dir-table { width: 100%; border-collapse: collapse; }
.home-dir-table th, .home-dir-table td { padding: .55rem .6rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.home-dir-table thead th { color: var(--muted); font-size: .75rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }
.home-dir-table tbody tr:nth-child(n+9) { display: none; }
.home-dir-table tbody th a { display: inline-flex; align-items: center; gap: .6rem; color: var(--text); text-decoration: none; font-weight: 600; }
.home-dir-table tbody th a:hover span:last-child { text-decoration: underline; }
.home-dir-logo { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; overflow: hidden; background: #ffffff10; flex: none; }
.home-dir-logo img { width: 100%; height: 100%; object-fit: cover; }
.home-dir-fee { color: var(--muted); white-space: nowrap; }
.home-dir-all { display: inline-block; margin-top: .8rem; color: #d7b2ee; }
.home-tasks { width: min(100% - 2rem, 980px); margin: 2rem auto 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.home-tasks a { display: flex; flex-direction: column; align-items: flex-start; position: relative; overflow: hidden; min-height: 148px; padding: 26px 22px 22px; border-radius: 16px; border: 1px solid #ffffff14; background: #ffffff05; color: #fff; text-decoration: none; transition: border-color .2s, transform .2s, background .2s, box-shadow .2s; }
.home-tasks a::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; opacity: .85; }
.home-tasks a:nth-child(1)::before { background: linear-gradient(135deg, #e930ff, #5b17ff); }
.home-tasks a:nth-child(2)::before { background: linear-gradient(135deg, #5b17ff, #0088ff); }
.home-tasks a:nth-child(3)::before { background: linear-gradient(135deg, #0088ff, #00e5c3); }
.home-tasks a:nth-child(4)::before { background: linear-gradient(135deg, #00ff88, #00ccff); }
.home-tasks a:hover, .home-tasks a:focus-visible { transform: translateY(-4px); border-color: #e930ff59; background: #e930ff0f; box-shadow: 0 12px 40px #e930ff0f, 0 0 20px #e930ff0a; }
.home-task-icon { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 10px; border-radius: 12px; background: #e930ff14; border: 1px solid #e930ff2e; color: #dfbdf3; font-size: 22px; line-height: 1; flex: none; }
.home-tasks strong { display: block; font-size: 17px; letter-spacing: -.2px; color: #fff; }
.home-tasks small { display: block; color: #ffffff8c; font-size: 12px; line-height: 1.5; margin-top: 6px; }
@media (prefers-reduced-motion: reduce) { .home-tasks a { transition: none; } .home-tasks a:hover { transform: none; } }
@media (max-width: 760px) {
  .home-tasks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .home-tasks a { min-height: 0; padding: 16px 14px; }
  .home-tasks strong { font-size: 14px; }
  .home-tasks small { font-size: 11px; }
}
@media (max-width: 560px) {
  .home-dir-table thead { display: none; }
  .home-dir-table th, .home-dir-table td { padding: .5rem .3rem; }
  .home-dir-fee { display: none; }
}
.swap-order-url { width: 100%; box-sizing: border-box; margin-top: .35rem; background: #ffffff0a; color: var(--text); border: 1px solid #ffffff26; border-radius: 10px; padding: .6rem .75rem; font: .85rem ui-monospace, monospace; }
.swap-tiles .swap-tile { position: relative; display: block; line-height: 0; cursor: pointer; }
.swap-tiles .swap-tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.swap-tiles .swap-tile img { width: 100%; border-radius: 8px; border: 2px solid transparent; background: #fff; }
.swap-tiles .swap-tile input:checked + img { border-color: #d7b2ee; box-shadow: 0 0 0 3px #d7b2ee66; }
.swap-tiles .swap-tile input:focus-visible + img { outline: 2px solid #d7b2ee; outline-offset: 2px; }
.swap-captcha .swap-captcha-image { min-width: min(100%, 240px); image-rendering: pixelated; }

/* Same-page links (Browse the list, How it works, table-of-contents links) glide instead of jumping; the sticky header
   never covers the target. Visitors who ask for reduced motion keep the instant jump. */
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* The "retry account" fallback is long in Russian; it must never widen the header. */
.account-retry { max-width: 12rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pair-swap-checkout input, .pair-swap-checkout select { box-sizing: border-box; height: 48px; }
/* Captcha answer: dark text on a light field, readable next to the light captcha image. */
.swap-captcha #swap-answer { background: #fff; color: #111; border: 1px solid #c9c2d3; border-radius: 10px; padding: .65rem .8rem; font: inherit; font-size: 1.15rem; letter-spacing: .04em; }
.swap-captcha #swap-answer::placeholder { color: #666; }
/* Swap step 3: same order on the exchanger's onion site, with a copy button; stoppable redirect countdown. */
.swap-onion { margin-top: 2rem; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--shade); }
.swap-onion h2 { margin: 0 0 .4rem; font-size: 1.05rem; }
.swap-onion p { margin: 0 0 .8rem; color: var(--muted); }
.swap-onion-row { display: flex; gap: .6rem; align-items: stretch; flex-wrap: wrap; }
.swap-onion-row .swap-order-url { flex: 1 1 18rem; min-width: 0; }
.swap-countdown { color: var(--muted); }
.swap-stop { background: none; border: 0; padding: 0; color: var(--text); text-decoration: underline; cursor: pointer; font: inherit; }
/* Account area: one tab bar on every account page; admins get an Admin tab with a second row. */
.account-tabs { width: min(1120px, calc(100% - 40px)); margin: 28px auto 0; border-bottom: 1px solid var(--line); }
.account-tabs-row { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.account-tabs a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 12px; border-radius: 8px 8px 0 0; color: var(--muted); text-decoration: none; font: 600 14px/1.2 var(--font-ui, inherit); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.account-tabs a:hover { color: var(--text); background: #ffffff08; }
.account-tabs a[aria-current="page"] { color: var(--text); border-bottom-color: #d7b2ee; }
.account-tabs a[data-account-tab="admin"] { margin-left: auto; color: #e8c6f9; }
.account-tabs-sub { padding: 6px 0 0; border-top: 1px dashed var(--line); margin-top: 2px; }
.account-tabs-sub a { min-height: 34px; font-size: 13px; }
@media (max-width: 600px) {
  .account-tabs { width: calc(100% - 32px); margin-top: 18px; }
  .account-tabs-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
  .account-tabs a { white-space: nowrap; min-height: 44px; }
  .account-tabs a[data-account-tab="admin"] { margin-left: 0; }
}
/* Site-wide toasts (sign-in/out confirmations): bottom-right, auto-dismiss, closable. */
.bml-toasts { position: fixed; right: 20px; bottom: 20px; z-index: 1000; display: grid; gap: 10px; max-width: min(360px, calc(100vw - 32px)); }
.bml-toast { display: flex; align-items: center; gap: 12px; padding: 12px 10px 12px 16px; border: 1px solid #4b7c63; border-left: 4px solid #8fdcaa; border-radius: 10px; background: #161d1a; color: #e9f7ee; font: 600 14px/1.4 var(--font-ui, inherit); box-shadow: 0 10px 30px #0008; animation: bml-toast-in .2s ease-out; }
.bml-toast span { flex: 1; }
.bml-toast-close { flex: 0 0 auto; width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: inherit; font-size: 20px; line-height: 1; cursor: pointer; }
.bml-toast-close:hover, .bml-toast-close:focus-visible { background: #ffffff14; }
.bml-toast.is-leaving { opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; }
@keyframes bml-toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) { .bml-toasts { left: 16px; right: 16px; bottom: 16px; max-width: none; } }
@media (prefers-reduced-motion: reduce) { .bml-toast { animation: none; } .bml-toast.is-leaving { transition: none; } }

/* Home hero: tagline first, then the swap widget; the helmet moves into the hero background on the left. */
body[data-page="home"] .hero-screen.hero-screen--home { position: relative; overflow-x: clip; overflow-y: visible; isolation: isolate; }
body[data-page="home"] .hero { position: static; width: min(100%, 72rem); max-width: 72rem; }
body[data-page="home"] .hero > :not(.hero-helmet) { position: relative; z-index: 1; }
body[data-page="home"] .hero .hero-helmet,
body[data-page="home"]:has(> [data-sylvester-slot]) .hero .hero-helmet {
  position: absolute; z-index: 0; left: max(-3rem, calc(50% - 50rem)); top: 50%; transform: translateY(-50%);
  width: min(36rem, 46vw); margin: 0; opacity: .6; pointer-events: none; animation: none;
  -webkit-mask-image: linear-gradient(90deg, #000 35%, transparent 92%); mask-image: linear-gradient(90deg, #000 35%, transparent 92%);
}
body[data-page="home"] .hero-swap.pair-explorer { width: 100%; margin: 1.4rem 0 .4rem; padding-top: 0; text-align: left; }
body[data-page="home"] .hero-swap .pair-heading { display: none; }
@media (max-width: 760px) {
  body[data-page="home"] .hero .hero-helmet,
  body[data-page="home"]:has(> [data-sylvester-slot]) .hero .hero-helmet { left: -5rem; top: 1rem; transform: none; width: 15rem; opacity: .3; }
}

/* "How the swap works": its own section under the hero (serve.php moves it out of the widget). */
body[data-page="home"] .hero > .hero-swap { z-index: 3; }
.home-how { width: min(100% - 2rem, 980px); margin: 3rem auto 1.5rem; }
.home-how h2 { margin: 0 0 1rem; font-family: var(--font-display); font-size: clamp(1.3rem, 3vw, 1.8rem); text-transform: uppercase; letter-spacing: .04em; }
.home-how-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; counter-reset: how; }
.home-how-steps li { counter-increment: how; position: relative; padding: 2.9rem 1rem 1rem; font-size: .92rem; border: 1px solid var(--edge); border-radius: var(--radius); background: var(--shade); line-height: 1.55; color: var(--muted); }
.home-how-steps li::before { content: counter(how); position: absolute; top: 1rem; left: 1.1rem; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: #9b5cff33; color: var(--text); font-weight: 600; font-size: .85rem; }
@media (max-width: 900px) { .home-how-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .home-how-steps { grid-template-columns: 1fr; } }
/* Tagline and subtitle stay legible over any part of the live scene (bright light shafts included). */
body[data-page="home"] .hero-screen--scene .hero h1,
body[data-page="home"] .hero-screen--scene .hero .lede { text-shadow: 0 0 2px #000000e6, 0 1px 3px #000000d9, 0 0 18px #0b0414cc, 0 0 32px #0b041499; }
body[data-page="home"] .hero-screen--scene .hero .lede { color: #efe9f7; }
/* Cinematic scene behind the hero (hero-scene.js; /?hero=none for the plain hero): the scene fills the hero, the helmet stands
   on it at full strength where the scene's back-light is, the tagline and widget sit above both. */
body[data-page="home"] .hero-screen--scene { background: #07050e center / cover no-repeat; }
body[data-page="home"] .hero-screen--scene .hero .hero-helmet,
body[data-page="home"]:has(> [data-sylvester-slot]) .hero-screen--scene .hero .hero-helmet {
  left: 14%; top: 55%; transform: translate(-50%, -50%); width: auto; height: 74%; aspect-ratio: 720 / 828; opacity: 1;
  -webkit-mask-image: none; mask-image: none; filter: drop-shadow(0 0 40px #b04cff59) drop-shadow(0 24px 40px #000000b3);
}
body[data-page="home"] .hero-screen--scene .hero .hero-helmet img { width: 100%; height: 100%; object-fit: contain; }
/* The form stays legible over the scene. */
body[data-page="home"] .hero-screen--scene .hero-swap .pair-builder { background-color: #0b0812bf; backdrop-filter: blur(10px) saturate(1.15); }
@media (max-width: 760px) {
  body[data-page="home"] .hero-screen--scene .hero .hero-helmet,
  body[data-page="home"]:has(> [data-sylvester-slot]) .hero-screen--scene .hero .hero-helmet { left: 12%; top: 1rem; transform: translateX(-50%); height: 15rem; opacity: .85; }
  /* The hero starts behind the banner (see --home-ad-h), so the helmet starts below it as before. */
  body[data-page="home"]:has(> [data-sylvester-slot]) .hero-screen--scene .hero .hero-helmet { top: calc(var(--home-ad-h, var(--top-ad-reservation)) + 1rem); }
}
/* Live scene: a WebGL canvas fills the hero behind the helmet; without WebGL this dark backdrop stays. */
body[data-page="home"] .hero-screen--live { background: radial-gradient(ellipse 40% 55% at 16% 42%, #3a1466 0%, #12071f 45%, #040208 75%), #040208; }
body[data-page="home"] .hero-screen--live .hero-scene-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: block; }
/* Pause/play for the hero animation (hero-scene.js adds it only when the scene runs). */
body[data-page="home"] .hero-scene-toggle { position: absolute; right: 1rem; bottom: 1rem; z-index: 4; padding: .45rem .8rem; font: inherit; font-size: .78rem; letter-spacing: .04em; color: #e9ddff; background: #0b0812cc; border: 1px solid #ffffff2e; border-radius: 999px; cursor: pointer; backdrop-filter: blur(6px); }
body[data-page="home"] .hero-scene-toggle:hover { border-color: #ffffff59; background: #140d1fe6; }
body[data-page="home"] .hero-scene-toggle:focus-visible { outline: 2px solid #b06cff; outline-offset: 2px; }
@media (max-width: 760px) { body[data-page="home"] .hero-scene-toggle { right: .6rem; bottom: .6rem; font-size: .72rem; } }
