/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/IBMPlexMono-cyrillic-ext-8fa7c070.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/IBMPlexMono-cyrillic-3a2f55ed.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/IBMPlexMono-latin-ext-3e9c5ad6.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/IBMPlexMono-latin-9c2bd7b0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/IBMPlexMono-cyrillic-ext-afa5d202.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/IBMPlexMono-cyrillic-9d314d76.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/IBMPlexMono-latin-ext-62a56198.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/IBMPlexMono-latin-1cd0c00c.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Overpass';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/Overpass-cyrillic-ext-0bc166a3.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Overpass';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/Overpass-cyrillic-ebc5fb7c.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Overpass';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/Overpass-latin-ext-d15538c4.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Overpass';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/Overpass-latin-d8f2e7a3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Overpass';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/Overpass-cyrillic-ext-0bc166a3.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Overpass';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/Overpass-cyrillic-ebc5fb7c.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Overpass';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/Overpass-latin-ext-d15538c4.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Overpass';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/Overpass-latin-d8f2e7a3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Overpass';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/Overpass-cyrillic-ext-0bc166a3.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Overpass';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/Overpass-cyrillic-ebc5fb7c.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Overpass';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/Overpass-latin-ext-d15538c4.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Overpass';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/Overpass-latin-d8f2e7a3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Overpass';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/Overpass-cyrillic-ext-0bc166a3.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Overpass';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/Overpass-cyrillic-ebc5fb7c.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Overpass';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/Overpass-latin-ext-d15538c4.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Overpass';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/Overpass-latin-d8f2e7a3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* FiveM.tools theme "Freeway": light ground, freeway-sign green, sign yellow
   only for markers. Loaded after style.css on public pages (admin keeps
   theme.css). Fonts are self-hosted (CSP allows only 'self'). */

/* ---------- tokens ---------- */
:root {
  --fw-ink: #0e1a24;
  --fw-ink-2: #2b3843;
  --fw-mute: #56616c;
  --fw-dim: #646f7a;
  --fw-ground: #eef1f4;
  --fw-paper: #ffffff;
  --fw-inset: #f5f7f9;
  --fw-line: #d6dce2;
  --fw-line-2: #c3cbd3;
  --fw-sign: #0f6b4b;
  --fw-sign-dk: #0a5239;
  --fw-sign-lt: #e3f0ea;
  --fw-yellow: #f2c230;
  --fw-red: #c2362c;
  --fw-display: "Overpass", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fw-text: "Overpass", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fw-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* legacy tokens used by style.css */
  --bg: var(--fw-ground);
  --text: var(--fw-ink);
  --muted: var(--fw-mute);
  --dim: var(--fw-dim);
  --line: var(--fw-line);
  --line-strong: var(--fw-line-2);
  --panel: var(--fw-paper);
  --panel-2: var(--fw-inset);
  --brand: var(--fw-sign);
  --brand-bright: var(--fw-sign);
  --brand-soft: var(--fw-sign-lt);
  --brand-softer: #eef6f2;
  --brand-border: rgba(15, 107, 75, 0.35);
  --font: var(--fw-text);
  --mono: var(--fw-mono);
  --radius: 8px;
  --radius-sm: 6px;
  --accent: var(--fw-sign);

  /* colors that style.css used to hard-code for its dark look */
  --c-strong: var(--fw-ink);
  --c-soft: var(--fw-ink-2);
  --c-surface-dk: var(--fw-inset);
  --c-fg-rgb: 14 26 36;

  /* charts drawn by page scripts */
  --chart-brand: #0f6b4b;
  --chart-brand-dim: rgba(15, 107, 75, 0.3);
  --chart-grid: rgba(14, 26, 36, 0.08);
  --chart-tick: #56616c;

  --fw-solid: #0e1a24;
  --fw-footer: #0e1a24;
  --fw-code-bg: #0e1a24;
  --fw-link: #0f6b4b;
  --fw-dark-ink: #0e1a24;
  --fw-warn-bg: #fffaea;
  color-scheme: light dark;
}

html { background: var(--fw-ground); }
body {
  background: var(--fw-ground) !important;
  color: var(--fw-ink);
  font-family: var(--fw-text);
  font-size: 15.5px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
::selection { background: var(--fw-yellow); color: var(--fw-ink); }
:focus-visible { outline: 3px solid var(--fw-yellow); outline-offset: 2px; border-radius: 3px; }
code, kbd, pre, .mono { font-family: var(--fw-mono); }

/* ---------- top bar: a sign gantry ---------- */
.topbar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--fw-sign) !important;
  border-bottom: 4px solid var(--fw-sign-dk) !important;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}
.topbar .logo, .topbar .nav a, .topbar-cta { color: #fff !important; }
.logo { font-family: var(--fw-display); font-weight: 800; letter-spacing: -0.015em; }
.logo-tld { color: var(--fw-yellow) !important; font-weight: 700; }
.logo-mark {
  background: #fff !important; color: #0f6b4b !important;
  border-radius: 5px 5px 12px 12px !important; box-shadow: inset 0 0 0 2px var(--fw-sign) !important;
  border: 2px solid #fff;
}
.sb-footer .logo-mark { box-shadow: inset 0 0 0 2px var(--fw-ink) !important; color: var(--fw-ink) !important; }
.nav a {
  font-family: var(--fw-display); font-weight: 600; letter-spacing: 0;
  border-radius: 0 !important; background: transparent !important; box-shadow: none !important;
  opacity: .88; border-bottom: 3px solid transparent; padding-bottom: .25rem !important;
}
.nav a:hover { opacity: 1; }
.nav a.is-on, .nav a[aria-current="page"] { opacity: 1; border-bottom-color: var(--fw-yellow); }
.topbar-cta {
  background: transparent !important; border: 2px solid rgba(255, 255, 255, .75) !important;
  border-radius: 6px !important; font-family: var(--fw-display); font-weight: 700;
}
.topbar-cta:hover { background: rgba(255, 255, 255, .12) !important; box-shadow: none !important; transform: none !important; }
@media (max-width: 760px) {
  .topbar .nav { overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .topbar .nav::-webkit-scrollbar { display: none; }
}

/* ---------- headings ---------- */
h1, h2, h3, h4, h5 { font-family: var(--fw-display); }
.hero h1, .sb-hero h1 {
  font-family: var(--fw-display) !important; font-weight: 800 !important;
  font-size: clamp(2.1rem, 5vw, 3.4rem) !important; line-height: 1.02 !important; letter-spacing: -0.035em !important;
  color: var(--fw-ink) !important; background: none !important; -webkit-text-fill-color: currentColor !important;
  text-wrap: balance;
}
.hero h1::after, .sb-hero h1::after { content: none !important; }
.hero p, .sb-hero p { color: var(--fw-mute) !important; font-size: clamp(1rem, 1.6vw, 1.15rem); line-height: 1.55; }
.hero:not(.sb-hero) { text-align: left; }
.hero:not(.sb-hero) p { margin-left: 0; margin-right: auto; max-width: 42rem; }
[dir="rtl"] .hero:not(.sb-hero) { text-align: right; }

/* ---------- surfaces ---------- */
.sb-panel, .panel, .panel-lg, .metric, .state, .stat, .drop, .details, .sb-card, .finder-stats,
.sb-chart, .sb-perf-item, .home-live .stat-card, .table-wrap {
  background: var(--fw-paper) !important;
  border: 1px solid var(--fw-line) !important;
  border-radius: var(--radius) !important;
  box-shadow: none !important;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
}
.sb-panel:hover, .sb-card:hover { box-shadow: none !important; }
.finder-stat, .sb-kv-line, .details-body { background: var(--fw-inset) !important; border-color: var(--fw-line) !important; }
.stack, #result.stack, #loading.stack, #error.stack { background: transparent !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; }
.metric .k, .stat .k, .k { color: var(--fw-mute) !important; letter-spacing: .08em; }
.metric .v, .stat .v { color: var(--fw-ink) !important; font-family: var(--fw-mono); font-weight: 600; }
.state-err { border-color: rgba(194, 54, 44, .4) !important; color: var(--fw-red) !important; }

/* ---------- controls ---------- */
.btn { border-radius: 6px !important; font-family: var(--fw-display); font-weight: 700; transform: none !important; }
.btn-primary {
  background: var(--fw-solid) !important; color: #fff !important; border: 2px solid var(--fw-solid) !important;
  box-shadow: none !important;
}
.btn-primary:hover { background: var(--fw-sign) !important; border-color: var(--fw-link) !important; }
.btn-ghost, .copy-btn { background: var(--fw-paper) !important; color: var(--fw-ink) !important; border: 1px solid var(--fw-line-2) !important; }
.btn-ghost:hover, .copy-btn:hover { border-color: var(--fw-ink) !important; }
input[type="text"], input[type="search"], select, textarea {
  background: var(--fw-paper) !important; color: var(--fw-ink) !important;
  border: 2px solid var(--fw-ink-2) !important; border-radius: 6px !important;
  font-family: var(--fw-mono);
}
input::placeholder { color: var(--fw-dim) !important; font-family: var(--fw-text); }
input:focus, select:focus { border-color: var(--fw-link) !important; box-shadow: 0 0 0 3px rgba(15, 107, 75, .18) !important; outline: none; }
.sb-search { background: var(--fw-paper) !important; border: 2px solid var(--fw-ink-2) !important; border-radius: 6px !important; }
.sb-search input { border: 0 !important; box-shadow: none !important; background: transparent !important; }
.sb-chip, .sb-tag, .sb-filters-btn { background: var(--fw-paper) !important; color: var(--fw-ink) !important; border: 1px solid var(--fw-line-2) !important; border-radius: 4px !important; }
.sb-range-picker { background: var(--fw-inset) !important; border: 1px solid var(--fw-line) !important; border-radius: 6px !important; }
.sb-range-picker button { color: var(--fw-mute) !important; border-radius: 4px !important; }
.sb-range-picker button.is-on { background: var(--fw-solid) !important; color: #fff !important; }

/* ---------- tables ---------- */
table { font-variant-numeric: tabular-nums; }
thead th { background: var(--fw-inset) !important; color: var(--fw-mute) !important; font-family: var(--fw-display); }
tbody tr:hover { background: var(--fw-sign-lt) !important; }

/* ---------- home ---------- */
.home-wide { max-width: 72rem !important; width: 100%; }
.home-wide .hero { padding: 2.6rem 0 .4rem; max-width: 46rem; }
.home-wide .hero h1 { font-size: clamp(2.6rem, 7vw, 4.6rem) !important; }
/* the three tools as one exit sign */
.home-wide .chooser {
  display: grid !important; grid-template-columns: 1fr !important; gap: 0 !important;
  background: var(--fw-sign) !important; border-radius: 12px !important; padding: 6px !important;
  border: 0 !important; margin-top: 1.8rem; counter-reset: exit; max-width: 34rem;
}
.home-wide .chooser a {
  counter-increment: exit;
  display: grid !important; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem !important;
  background: transparent !important; color: #fff !important; border: 0 !important; box-shadow: none !important;
  border-radius: 0 !important; padding: 1rem 1.1rem !important; min-height: 0 !important;
  font-family: var(--fw-display); font-size: 1.35rem; font-weight: 800; letter-spacing: -0.01em; text-align: left;
  position: relative; transform: none !important;
}
.home-wide .chooser a:first-child { border-radius: 8px 8px 0 0 !important; }
.home-wide .chooser a:last-child { border-radius: 0 0 8px 8px !important; }
.home-wide .chooser a + a { border-top: 2px solid rgba(255, 255, 255, .35) !important; }
.home-wide .chooser { outline: 3px solid #fff; outline-offset: -9px; }
.home-wide .chooser .icon { display: none !important; }
.home-wide .chooser a::before {
  content: "EXIT " counter(exit); background: var(--fw-yellow); color: var(--fw-ink);
  font-size: .62rem; font-weight: 800; letter-spacing: .1em; padding: .32rem .45rem; border-radius: 3px;
}
.home-wide .chooser a::after { content: "↗"; position: static !important; color: #fff !important; font-size: 1.5rem; font-weight: 700; transition: transform .15s ease; }
.home-wide .chooser a:hover::after { transform: translate(3px, -3px); }
.home-wide .chooser a:hover { background: var(--fw-sign-dk) !important; }
.home-live {
  display: flex !important; flex-wrap: wrap; gap: 2.5rem !important; margin: 2rem 0 .2rem !important;
}
.home-live .stat-card { background: transparent !important; border: 0 !important; padding: 0 !important; }
.home-live .k { font-family: var(--fw-mono); font-size: .7rem !important; letter-spacing: .12em; text-transform: uppercase; color: var(--fw-mute) !important; display: flex; align-items: center; gap: .45rem; }
.home-live .v { font-family: var(--fw-mono) !important; font-weight: 600 !important; font-size: clamp(1.5rem, 3.5vw, 2rem) !important; color: var(--fw-ink) !important; letter-spacing: -0.02em; }
.home-live .v time { font-size: inherit; }
.live-dot { background: var(--fw-sign) !important; box-shadow: 0 0 0 0 rgba(15, 107, 75, .5); }
.home-section { margin-top: 3rem !important; }
.home-section h2 { font-family: var(--fw-display); font-size: 1rem !important; text-transform: uppercase; letter-spacing: .1em; color: var(--fw-mute); display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 0 0 .8rem; }
.home-section h2 a { color: var(--fw-link) !important; text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 700; text-decoration: none; }
.home-top { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 !important; background: var(--fw-paper); border: 1px solid var(--fw-line); border-radius: 8px; overflow: hidden; }
@media (min-width: 900px) { .home-top { grid-template-columns: 1fr 1fr; column-gap: 0; } .home-top li:nth-child(odd) a { border-right: 1px solid var(--fw-line); } }
.home-top li a {
  display: grid !important; grid-template-columns: 2rem minmax(0, 1fr) auto; gap: .8rem; align-items: center;
  padding: .7rem 1rem !important; border: 0 !important; border-bottom: 1px solid var(--fw-line) !important;
  border-radius: 0 !important; background: transparent !important; text-decoration: none; transform: none !important;
}
.home-top li a:hover { background: var(--fw-sign-lt) !important; }
.home-top .rank {
  width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 4px 4px 10px 10px;
  background: var(--fw-solid); color: #fff !important; font-family: var(--fw-display); font-weight: 800; font-size: .8rem;
}
.home-top .name { font-weight: 600; color: var(--fw-ink); }
.home-top .pl { font-family: var(--fw-mono); font-size: .85rem; color: var(--fw-mute); }
.home-top .pl b { color: var(--fw-ink) !important; }
.home-bar { grid-column: 2 / 4; height: 3px; background: var(--fw-line) !important; border-radius: 2px; overflow: hidden; display: block; margin-top: .3rem; }
.home-bar i { display: block; height: 100%; background: var(--fw-sign) !important; box-shadow: none !important; }
.home-agents {
  margin-top: 3rem; padding: 1rem 1.2rem; border-radius: 8px; background: var(--fw-paper) !important;
  border: 1px solid var(--fw-line) !important; color: var(--fw-mute); line-height: 1.6;
}
.home-agents b { color: var(--fw-ink); }
.home-agents code { background: var(--fw-inset); color: var(--fw-ink); padding: .1em .35em; border-radius: 3px; }
.home-agents a { color: var(--fw-link); font-weight: 600; }
.home-note { color: var(--fw-dim) !important; text-align: left; }
@media (max-width: 560px) { .home-live { gap: 1.4rem !important; } }

/* ---------- server list ---------- */
.sb-card { color: var(--fw-ink); }
.sb-card:hover { border-color: var(--fw-ink-2) !important; transform: none !important; }
.sb-card-flagbg { opacity: .08 !important; filter: grayscale(.3); }
.sb-card-title { color: var(--fw-ink) !important; font-family: var(--fw-display); font-weight: 700; }
.sb-bar { background: var(--fw-line) !important; }
.sb-bar-fill { background: var(--fw-sign) !important; }
.sb-spark polyline, .sb-card-spark polyline, svg polyline[stroke="#4fd1e8"] { stroke: var(--fw-sign) !important; }
.sb-spark polygon, .sb-card-spark polygon, svg polygon[fill^="rgba(79,209,232"] { fill: rgba(15, 107, 75, .1) !important; }
.sb-live-stats, .sb-live-stats b { color: var(--fw-ink); }

/* ---------- server-rendered blocks, breadcrumbs ---------- */
.sb-ssr h2 { font-family: var(--fw-display); color: var(--fw-ink); }
.sb-ssr p, .sb-ssr ol, .sb-ssr ul { color: var(--fw-mute) !important; }
.sb-ssr a { color: var(--fw-ink) !important; font-weight: 600; }
.sb-ssr a:hover { color: var(--fw-link) !important; }
.sb-clock-summary { margin-top: .8rem; }
#ssrGuide { border-left: 0 !important; }
#ssrGuide a { color: var(--fw-link) !important; }
.sb-crumb, .sb-crumb a { color: var(--fw-mute) !important; }
.sb-crumb-cur { color: var(--fw-ink) !important; }

/* ---------- IP finder ---------- */
.result-head h2 { font-family: var(--fw-display); font-weight: 800; color: var(--fw-ink); }
.connect-box { background: var(--fw-sign-lt) !important; border: 1px solid rgba(15, 107, 75, .3) !important; }
.connect-box .k { color: var(--fw-link) !important; }
.connect-box code { background: var(--fw-paper) !important; color: var(--fw-ink) !important; border: 1px solid var(--fw-line) !important; }
.hint { color: var(--fw-dim) !important; }
.hint code { color: var(--fw-ink-2) !important; background: var(--fw-inset); padding: .05em .3em; border-radius: 3px; }
.seo-quiet { border-top: 1px solid var(--fw-line) !important; }
.seo-quiet h3 { color: var(--fw-ink) !important; }
.seo-quiet p { color: var(--fw-mute) !important; }

/* ---------- profiler ---------- */
.drop { border: 2px dashed var(--fw-line-2) !important; background: var(--fw-paper) !important; }
.drop.dragover { border-color: var(--fw-link) !important; background: var(--fw-sign-lt) !important; }
.drop h2 { color: var(--fw-ink); }

/* ---------- footer: the night road ---------- */
.sb-footer, .foot {
  background: var(--fw-footer) !important; color: #c9d1d9 !important;
  border-top: 4px solid var(--fw-yellow) !important; border-image: none !important;
}
.sb-footer a, .sb-footer .logo { color: #fff !important; }
.sb-footer .logo-tld { color: var(--fw-yellow) !important; }
.sb-footer p, .sb-footer-note, .sb-footer-bottom { color: #9fabb6 !important; }
.sb-footer h4 { color: #fff !important; font-family: var(--fw-display); }
.sb-footer-badge { background: var(--fw-yellow) !important; color: var(--fw-ink) !important; border: 0 !important; }
.sb-footer-cta { background: #fff !important; color: var(--fw-ink) !important; border-radius: 6px !important; }
.sb-footer select { background: var(--fw-ink-2) !important; color: #fff !important; border-color: #3c4955 !important; }

/* ---------- blog ---------- */
.page-blog .stage-col.wide, .page-blog-post .stage-col.wide { max-width: 72rem; }
.page-blog .hero, .page-blog-post .hero { max-width: 48rem; text-align: left; margin-left: 0; margin-right: auto; }
[dir="rtl"] .page-blog .hero, [dir="rtl"] .page-blog-post .hero { text-align: right; margin-right: 0; margin-left: auto; }
.page-blog-post .hero h1 { font-size: clamp(1.9rem, 4.2vw, 3rem) !important; }
.blog-kicker { display: inline-block; font-family: var(--fw-display); font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: var(--fw-yellow); color: var(--fw-ink); padding: .28rem .45rem; border-radius: 3px; }
.blog-cover { display: block; width: 100%; aspect-ratio: 1200 / 630; border-radius: 8px; overflow: hidden; background: var(--fw-sign); border: 0; }
.blog-cover svg { display: block; width: 100%; height: 100%; }
.blog-post-cover { margin: 1.6rem 0 .4rem; aspect-ratio: 1200 / 360; }
.blog-list { list-style: none; margin: 1.6rem 0 0 !important; padding: 0 !important; display: grid !important; gap: 1.1rem !important; grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)) !important; }
.blog-card { position: relative; padding: 0 !important; overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.blog-card:hover { border-color: var(--fw-ink-2) !important; }
.blog-card .blog-cover { border-radius: 0; }
.blog-card-body { padding: 1rem 1.15rem 1.15rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.blog-card h2, .blog-card h3 { font-size: 1.12rem !important; line-height: 1.28; margin: 0 !important; font-weight: 800; letter-spacing: -0.015em; }
.blog-card h2 a, .blog-card h3 a { color: var(--fw-ink) !important; text-decoration: none !important; }
.blog-card h2 a::after, .blog-card h3 a::after { content: ""; position: absolute; inset: 0; }
.blog-card p { margin: 0 !important; color: var(--fw-mute) !important; font-size: .9rem !important; line-height: 1.5; }
.blog-meta { margin-top: auto !important; font-family: var(--fw-mono); font-size: .74rem; color: var(--fw-dim) !important; }
.blog-featured { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .blog-featured .blog-card { display: grid; grid-template-columns: 1.2fr 1fr; }
  .blog-featured .blog-card .blog-cover { height: 100%; min-height: 18rem; }
  .blog-featured .blog-card-body { justify-content: center; padding: 1.8rem 2rem; }
  .blog-featured .blog-card h2 { font-size: 1.7rem !important; letter-spacing: -0.025em; }
}
.home-guides .blog-list { margin-top: 0 !important; }

.blog-byline { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; margin-top: 1rem; font-size: .85rem; color: var(--fw-mute); }
.blog-avatar { width: 2.2rem; height: 2.2rem; border-radius: 5px 5px 12px 12px; display: grid; place-items: center; background: var(--fw-solid) !important; color: #fff; font-family: var(--fw-display); font-weight: 800; font-size: .78rem; flex: none; }
.blog-byline a { color: var(--fw-ink); font-weight: 600; }

.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; margin-top: 1.6rem; }
@media (min-width: 1120px) {
  .blog-layout { grid-template-columns: minmax(0, 46rem) 15rem; justify-content: space-between; }
  .blog-aside { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 5.2rem); align-self: start; }
}
.guide-toc { background: var(--fw-paper) !important; }
.guide-toc h2 { font-size: .75rem !important; text-transform: uppercase; letter-spacing: .12em; color: var(--fw-mute) !important; margin: 0 0 .6rem !important; }
.guide-toc ol { list-style: none; padding-left: 0 !important; margin: 0; }
.guide-toc a { display: block; padding: .3rem 0 .3rem .7rem; border-left: 3px solid transparent; color: var(--fw-mute) !important; text-decoration: none !important; font-size: .88rem; line-height: 1.35; }
.guide-toc a:hover, .guide-toc a.is-active { color: var(--fw-ink) !important; border-left-color: var(--fw-link); }

.blog-body { color: var(--fw-ink-2); }
.blog-body > p, .blog-body li { font-size: 1.04rem !important; line-height: 1.78 !important; color: var(--fw-ink-2) !important; }
.blog-body > h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem) !important; font-weight: 800; letter-spacing: -0.025em; color: var(--fw-ink) !important; margin: 2.8rem 0 .9rem !important; padding: 0 !important; border: 0 !important; }
.blog-body > h2::before { content: none !important; }
.blog-body > h2:first-child { margin-top: .5rem !important; }
.blog-body h3 { font-size: 1.12rem !important; color: var(--fw-ink) !important; }
.blog-body a { color: var(--fw-link) !important; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.blog-body strong { color: var(--fw-ink) !important; }
.blog-body ul > li::marker { color: var(--fw-link); }
.blog-body ol { counter-reset: step; list-style: none; padding-left: 0 !important; }
.blog-body ol > li { counter-increment: step; position: relative; padding-left: 2.5rem; margin: .65rem 0 !important; }
.blog-body ol > li::before {
  content: counter(step); position: absolute; left: 0; top: .1rem; width: 1.7rem; height: 1.7rem;
  display: grid; place-items: center; background: var(--fw-solid) !important; color: #fff;
  border-radius: 4px 4px 9px 9px; font-family: var(--fw-display); font-weight: 800; font-size: .78rem;
}
[dir="rtl"] .blog-body ol > li { padding-left: 0; padding-right: 2.5rem; }
[dir="rtl"] .blog-body ol > li::before { left: auto; right: 0; }
.blog-body code { background: var(--fw-sign-lt) !important; color: var(--fw-sign-dk) !important; padding: .1em .35em; border-radius: 3px; font-size: .88em; }
.blog-body pre { position: relative; background: var(--fw-code-bg) !important; border: 0 !important; border-radius: 8px !important; padding: 1rem 1.1rem !important; overflow-x: auto; }
.blog-body pre code { background: none !important; color: #e8edf2 !important; padding: 0; font-size: .86rem; }
.code-copy { position: absolute; top: .5rem; right: .5rem; font: 700 .7rem var(--fw-display); color: var(--fw-ink); background: var(--fw-yellow); border: 0; border-radius: 4px; padding: .3rem .55rem; cursor: pointer; }
.code-copy.is-done { background: #fff; color: var(--fw-link); }
.blog-body blockquote { border-left: 4px solid var(--fw-line-2) !important; background: transparent !important; padding: .2rem 0 .2rem 1rem !important; border-radius: 0 !important; }
.blog-body blockquote p { color: var(--fw-mute) !important; }
.callout { border-radius: 8px; padding: 1rem 1.15rem; margin: 1.2rem 0; border: 2px solid; background: var(--fw-paper); }
.callout p { margin: 0 !important; color: var(--fw-ink-2) !important; }
.callout-title { display: inline-block; font-family: var(--fw-display); font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .45rem; padding: .22rem .45rem; border-radius: 3px; }
.callout-tip { border-color: var(--fw-link); }
.callout-tip .callout-title { background: var(--fw-sign); color: #fff; }
.callout-warning { border-color: var(--fw-yellow); background: var(--fw-warn-bg); }
.callout-warning .callout-title { background: var(--fw-yellow); color: var(--fw-ink); }
.callout-note { border-color: var(--fw-line-2); }
.callout-note .callout-title { background: var(--fw-solid); color: #fff; }
.blog-body .table-wrap { border: 1px solid var(--fw-line) !important; border-radius: 8px !important; overflow-x: auto; }
.blog-body table th { background: var(--fw-inset) !important; color: var(--fw-ink) !important; }
.blog-body table td { color: var(--fw-ink-2) !important; border-bottom: 1px solid var(--fw-line) !important; }
.read-progress { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; height: 4px; z-index: 60; pointer-events: none; }
.read-progress i { display: block; height: 100%; width: 0; background: var(--fw-yellow) !important; box-shadow: none !important; }
[dir="rtl"] .read-progress i { margin-left: auto; }
.blog-cta {
  margin-top: 2.6rem; padding: 1.3rem 1.4rem; border-radius: 10px; background: var(--fw-sign) !important; color: #fff;
  border: 0 !important; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.blog-cta h2 { margin: 0 !important; color: #fff !important; font-size: 1.15rem !important; border: 0 !important; padding: 0 !important; }
.blog-cta p { margin: .2rem 0 0 !important; color: #d4ebe1 !important; font-size: .9rem !important; }
.blog-cta a.btn { background: #fff !important; color: var(--fw-ink) !important; border-color: #fff !important; text-decoration: none !important; white-space: nowrap; }
.blog-related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.blog-related li a { display: block; padding: .65rem .85rem; border-radius: 6px; border: 1px solid var(--fw-line); color: var(--fw-ink) !important; text-decoration: none !important; font-weight: 600; }
.blog-related li a:hover { border-color: var(--fw-link); color: var(--fw-link) !important; }
.guide-owner { color: var(--fw-dim) !important; border-top: 1px solid var(--fw-line) !important; }
.guide p, .guide li, .guide td { color: var(--fw-ink-2); }
.guide a { color: var(--fw-link); }
.guide strong { color: var(--fw-ink); }
.guide-disclosure { border-left-color: var(--fw-link) !important; }

/* ---------- RTL ---------- */
[dir="rtl"] body { font-family: "Segoe UI", "Noto Sans Arabic", Tahoma, system-ui, sans-serif; }
[dir="rtl"] th, [dir="rtl"] td { text-align: right; }
[dir="rtl"] code, [dir="rtl"] pre, [dir="rtl"] input[type="text"], [dir="rtl"] .mono { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .guide-toc a { border-left: 0; border-right: 3px solid transparent; padding: .3rem .7rem .3rem 0; }
[dir="rtl"] .guide-toc a:hover, [dir="rtl"] .guide-toc a.is-active { border-right-color: var(--fw-link); }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* status colours and borders from the legacy stylesheet, re-tuned for a light ground */
:root { --c-ok: #0f7a4f; --c-bad: #c2362c; --c-warn: #9a6b00; --c-border-dk: var(--fw-line); }

/* blog cards: the cover already carries the "GUIDE" tag */
.blog-card-body .blog-kicker { display: none; }
.page-blog-post .hero .blog-kicker { align-self: flex-start; }
/* post cover keeps the sign's real proportions instead of being cropped */
.blog-post-cover { aspect-ratio: 1200 / 630 !important; max-width: 46rem; }

/* ---------- fixes after first review ---------- */
.sb-footer a.sb-footer-cta, .sb-footer-cta { color: var(--fw-ink) !important; font-family: var(--fw-display); font-weight: 700; }
.sb-footer a.sb-footer-cta:hover { background: var(--fw-yellow) !important; }
.finder-stats-link, .finder-stats a { color: var(--fw-link) !important; font-weight: 700; }

/* IP finder layout: one left-aligned column, every block the same width */
main.stage-top > .stage-col:not(.wide):not(.guide):not(.home-wide) { max-width: 60rem; text-align: left; }
main.stage-top > .stage-col:not(.wide):not(.guide):not(.home-wide) .sb-ssr { max-width: none !important; width: 100%; margin-left: 0 !important; margin-right: 0 !important; }
.search-wrap input { flex: 1 1 auto; height: 3.1rem !important; min-height: 3.1rem; }
@media (max-width: 560px) {
  .search-wrap { flex-direction: column; }
  .search-wrap input { flex: none; width: 100%; }
  .search-wrap .btn-search { height: 3.1rem; }
}
.result-head { text-align: left; padding: 1.3rem 0 .5rem; }
.result-head h2 { font-size: 1.4rem !important; letter-spacing: -0.02em; }
[dir="rtl"] .result-head { text-align: right; }
.connect-box .row { display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: .5rem; }
.connect-box code { display: block !important; width: 100% !important; margin: 0 !important; text-align: left !important; overflow-x: auto; white-space: nowrap; }
.hint { text-align: left !important; font-size: .8rem !important; margin-top: .7rem !important; }
.seo-quiet { text-align: left !important; margin-left: 0 !important; margin-right: 0 !important; max-width: 46rem; padding-top: 1.2rem; }
[dir="rtl"] .seo-quiet { text-align: right !important; }
.sb-ssr-top ol { columns: 1 !important; }
@media (min-width: 900px) { .sb-ssr-top ol { columns: 2 18rem !important; } }
.sb-ssr-top li { break-inside: avoid; padding: .12rem 0; }
.blog-cover svg { direction: ltr; }
@media (max-width: 560px) { .page-blog-post .hero { padding-top: .6rem; } .blog-byline { flex-wrap: nowrap; align-items: center; } }


/* ---------- dark: follows the system setting ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    --fw-ink: #e8edf2;
    --fw-ink-2: #c4cdd6;
    --fw-mute: #95a2ae;
    --fw-dim: #7f8c98;
    --fw-ground: #0c1319;
    --fw-paper: #131d25;
    --fw-inset: #1a2630;
    --fw-line: #24323d;
    --fw-line-2: #34444f;
    --fw-sign: #0f6b4b;
    --fw-sign-dk: #0a5239;
    --fw-sign-lt: #10291f;
    --fw-solid: #2b3b47;
    --fw-footer: #070c10;
    --fw-code-bg: #070c10;
    --fw-link: #4fcf98;
    --fw-warn-bg: #241f0c;
    --brand-softer: #0f221b;
    --brand-border: rgba(79, 207, 152, 0.35);
    --c-fg-rgb: 232 237 242;
    --c-ok: #4fcf98; --c-bad: #f0776c; --c-warn: #f2c230;
    --chart-brand: #4fcf98;
    --chart-brand-dim: rgba(79, 207, 152, 0.28);
    --chart-grid: rgba(232, 237, 242, 0.08);
    --chart-tick: #95a2ae;
  }
  .topbar { background: #0c5a3f !important; border-bottom-color: #073d2b !important; }
  .home-wide .chooser { background: #0c5a3f !important; }
  .home-wide .chooser a:hover { background: #073d2b !important; }
  /* text that sits on yellow or white stays dark */
  ::selection, .blog-kicker, .home-wide .chooser a::before, .sb-footer-badge, .code-copy, .callout-warning .callout-title { color: var(--fw-dark-ink) !important; }
  .sb-footer-cta, .sb-footer a.sb-footer-cta, .blog-cta a.btn { color: var(--fw-dark-ink) !important; }
  .btn-primary:hover { background: var(--fw-sign) !important; border-color: var(--fw-sign) !important; }
  .blog-body code { background: var(--fw-inset) !important; color: #9fe0c2 !important; }
  .blog-body pre code { background: none !important; color: #e8edf2 !important; }
  .connect-box { border-color: rgba(79, 207, 152, .3) !important; }
  .connect-box .k { color: var(--fw-link) !important; }
  .live-dot { background: var(--fw-link) !important; }
  .sb-bar-fill, .home-bar i { background: var(--fw-link) !important; }
  .sb-spark polyline, .sb-card-spark polyline, svg polyline[stroke="#4fd1e8"] { stroke: var(--fw-link) !important; }
  .sb-spark polygon, .sb-card-spark polygon, svg polygon[fill^="rgba(79,209,232"] { fill: rgba(79, 207, 152, .12) !important; }
  .sb-card-flagbg { opacity: .06 !important; }
  .callout-tip .callout-title { background: var(--fw-sign); }
  img { opacity: .97; }
  .sb-footer .logo-mark { color: #0e1a24 !important; box-shadow: inset 0 0 0 2px #0e1a24 !important; }
  .btn-primary { background: var(--fw-sign) !important; border-color: var(--fw-sign) !important; }
  .btn-primary:hover { background: #12825b !important; border-color: #12825b !important; }
}

/* ---------- sponsor bar (nyru.net discount) ---------- */
.promo-bar { background: var(--fw-yellow); color: #0e1a24; border-bottom: 1px solid rgba(14, 26, 36, .18); }
.promo-link {
  display: flex; align-items: center; justify-content: center; gap: .55rem .8rem; flex-wrap: wrap;
  max-width: 72rem; margin: 0 auto; padding: .5rem max(16px, env(safe-area-inset-right, 0px)) .5rem max(16px, env(safe-area-inset-left, 0px));
  color: #0e1a24 !important; text-decoration: none; font: 600 .88rem/1.35 var(--fw-text); text-align: center;
}
.promo-tag { font: 800 .62rem var(--fw-display); letter-spacing: .12em; text-transform: uppercase; border: 1.5px solid #0e1a24; border-radius: 3px; padding: .12rem .35rem; }
.promo-code { font: 600 .85rem var(--fw-mono); background: #0e1a24; color: #fff; padding: .1rem .45rem; border-radius: 4px; user-select: all; direction: ltr; unicode-bidi: isolate; }
.promo-cta { font-family: var(--fw-display); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.promo-link:hover .promo-cta { text-decoration-thickness: 2px; }
@media (max-width: 560px) { .promo-link { font-size: .8rem; gap: .35rem .6rem; } .promo-tag { display: none; } }

/* ---------- hosting guide: featured provider ---------- */
.guide-badge { display: inline-block; vertical-align: middle; font: 800 .62rem/1 var(--fw-display); letter-spacing: .1em; text-transform: uppercase; background: var(--fw-yellow); color: var(--fw-dark-ink) !important; padding: .28rem .42rem; border-radius: 3px; }
.guide-pick-box { margin: 1.4rem 0 1.6rem; padding: 1.3rem 1.4rem; border-radius: 10px; border: 2px solid var(--fw-sign); background: var(--fw-paper); }
.guide-pick-head { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.guide-pick-head h3 { margin: 0 !important; font-size: 1.3rem !important; color: var(--fw-ink) !important; }
.guide-pick-box > p { margin: .7rem 0 0 !important; }
.guide-pick-checks { list-style: none; margin: .8rem 0 0 !important; padding: 0 !important; display: grid; gap: .45rem; }
.guide-pick-checks li { position: relative; padding-left: 1.7rem !important; margin: 0 !important; color: var(--fw-ink-2); }
.guide-pick-checks li::before { content: ""; position: absolute; left: 0; top: .2rem; width: 1.1rem; height: 1.1rem; border-radius: 3px; background: var(--fw-sign); -webkit-mask: none; }
.guide-pick-checks li::after { content: ""; position: absolute; left: .38rem; top: .33rem; width: .32rem; height: .62rem; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
[dir="rtl"] .guide-pick-checks li { padding-left: 0 !important; padding-right: 1.7rem !important; }
[dir="rtl"] .guide-pick-checks li::before { left: auto; right: 0; } [dir="rtl"] .guide-pick-checks li::after { left: auto; right: .38rem; }
.guide-pick-plan { font-family: var(--fw-mono); font-size: .86rem; color: var(--fw-ink-2) !important; }
.guide-pick-plan code, .guide-answer code { background: var(--fw-solid); color: #fff; padding: .08rem .4rem; border-radius: 4px; }
.guide-pick-cta { display: inline-flex; height: 2.7rem; align-items: center; padding: 0 1.1rem; text-decoration: none !important; color: #fff !important; }
.guide-pick-box .guide-disclosure { margin-top: 1rem !important; }
tr.guide-pick-row td { background: var(--fw-sign-lt) !important; font-weight: 600; }
tr.guide-pick-row td:first-child { box-shadow: inset 4px 0 0 var(--fw-sign); }
.guide-hosts > li.guide-featured { border: 2px solid var(--fw-sign) !important; }
tr.guide-pick-row a { color: var(--fw-link) !important; font-weight: 800; }
.guide-pick-plan { font-family: var(--fw-text) !important; }

/* contrast: ".tools" on the green bar needs 4.5:1 */
.topbar .logo-tld { color: #ffd24d !important; }

/* ---------- /ip/ directory and /country/ pages (server-rendered, no JS) ---------- */
.ipdir { list-style: none; padding: 0; display: grid; gap: .35rem; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); }
.ipdir a { display: block; padding: .45rem .6rem; border: 1px solid var(--fw-line); border-radius: 6px; background: var(--fw-paper); text-decoration: none; font-family: var(--fw-mono); color: var(--fw-ink); }
.ipdir a:hover { border-color: var(--fw-sign); }
.ipdir small { color: var(--fw-mute); }
.iptab { width: 100%; border-collapse: collapse; font-size: .92rem; background: var(--fw-paper); }
.iptab th, .iptab td { text-align: left; padding: .5rem .6rem; border-bottom: 1px solid var(--fw-line); vertical-align: top; }
.iptab code { white-space: nowrap; }
.ipwrap { overflow-x: auto; }

/* ---------- favorites (kept in this browser only) ---------- */
.fav-wrap { position: relative; }
.sb-grid > .fav-wrap { animation: sbPageIn 0.28s ease both; }
.sb-grid > .fav-wrap:nth-child(3n + 2) { animation-delay: 0.03s; }
.sb-grid > .fav-wrap:nth-child(3n + 3) { animation-delay: 0.06s; }
.fav-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  border: 1px solid var(--fw-line-2); background: var(--fw-paper); color: var(--fw-mute);
  font: 700 .8rem/1 var(--fw-display); border-radius: 6px; cursor: pointer;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.fav-btn:hover { color: var(--fw-ink); border-color: var(--fw-ink-2); }
.fav-btn:focus-visible { outline: 2px solid var(--fw-link); outline-offset: 2px; }
.fav-btn svg { flex: 0 0 auto; }
.fav-btn.is-on { color: var(--fw-link); border-color: var(--fw-link); }
.fav-btn.is-on svg { fill: currentColor; }
.fav-btn-icon { position: absolute; top: .55rem; right: .55rem; z-index: 2; width: 2.1rem; height: 2.1rem; padding: 0; }
.fav-btn-icon .fav-btn-text { display: none; }
.fav-btn-labeled { height: 2.7rem; padding: 0 1rem; white-space: nowrap; }
.sb-head-actions .fav-btn-labeled { width: auto; }
@media (max-width: 560px) { .sb-head-actions .fav-btn-labeled { width: 100%; } }
.sb-filters-btn.fav-filter { white-space: nowrap; }
.sb-filters-btn.fav-filter svg { fill: none; }
.sb-filters-btn.fav-filter[aria-pressed="true"] { background: var(--fw-sign-lt) !important; border-color: var(--fw-link) !important; color: var(--fw-link) !important; }
.sb-filters-btn.fav-filter[aria-pressed="true"] svg { fill: currentColor; }
.fav-saved { margin: 0 0 1.2rem; padding: 1rem 1.2rem; border: 1px solid var(--fw-line); border-radius: 10px; background: var(--fw-paper); }
.fav-saved h2 { margin: 0 0 .3rem; font-size: 1rem; color: var(--fw-ink); }
.fav-saved-note { margin: 0 0 .7rem; color: var(--fw-mute); font-size: .86rem; }
.fav-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.fav-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .5rem .7rem; border: 1px solid var(--fw-line); border-radius: 6px; background: var(--fw-paper); }
.fav-list a { min-width: 0; color: var(--fw-ink); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.fav-list a:hover { color: var(--fw-link); text-decoration: underline; }
.fav-list-count, .fav-count { color: var(--fw-mute); font-family: var(--fw-mono); font-size: .85rem; white-space: nowrap; }
.fav-home .fav-list li { background: var(--fw-paper); }

/* ---------- "New on FiveM.tools" home box ---------- */
.home-new { margin: 1.2rem 0 0 !important; border-left: 4px solid var(--fw-yellow) !important; }
.home-new h2 { margin: 0 0 .5rem !important; font-size: 1rem !important; }
.home-new-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.home-new-list a { text-decoration: none; color: var(--fw-ink); font-size: .95rem; }
.home-new-list a:hover { color: var(--fw-link); }
.home-new-list strong { color: var(--fw-ink); }

/* ---------- "Embed this server" (server page) ---------- */
.ssr-embed-label { display: block; margin-top: .75rem; font-weight: 600; font-size: .9rem; color: var(--fw-ink); }
.sb-ssr-embed textarea { display: block; width: 100%; min-width: 0; box-sizing: border-box; margin-top: .35rem; padding: .55rem .7rem; font: 500 .8rem/1.45 var(--fw-mono); color: var(--fw-ink); background: var(--fw-inset); border: 1px solid var(--fw-line); border-radius: 6px; resize: vertical; overflow-wrap: anywhere; }
.sb-ssr-embed p { margin: .3rem 0 0; color: var(--fw-mute); }
.sb-embed-preview { margin: .75rem 0 .25rem; }
.sb-embed-preview img { display: block; max-width: 100%; height: auto; }

/* ---------- Chinese: CJK system fonts (the self-hosted faces are Latin only) ---------- */
:root:lang(zh) {
  --fw-text: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", "Source Han Sans SC", "Segoe UI", system-ui, sans-serif;
  --fw-display: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", "Source Han Sans SC", "Segoe UI", system-ui, sans-serif;
}
:root:lang(zh) body { letter-spacing: .01em; line-height: 1.7; }
.promo-article { margin: 0 0 1.5rem; border: 1px solid var(--fw-yellow); border-left-width: 4px; border-radius: 8px; background: rgba(255, 214, 0, .08); }
.promo-article a { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .8rem; padding: .75rem 1rem; color: inherit; text-decoration: none; }
.promo-article .promo-tag { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; opacity: .75; }
.promo-article .promo-cta { font-weight: 600; margin-left: auto; }
@media (max-width: 560px) { .promo-article .promo-cta { margin-left: 0; } }
.srv-seo-summary { margin: .25rem 0 1rem; font-size: .92rem; opacity: .85; }
