/* =====================================================================
   AllNSFWTools – stylesheet
   Mobile-first, no framework. Colors defined as tokens on :root.
   ===================================================================== */

:root {
  --bg: #ffffff;
  --bg-alt: #f6f7fb;
  --surface: #ffffff;
  --text: #0f172a;
  --text-2: #475569;
  --text-3: #64748b;
  --border: #e5e7ef;
  --border-2: #d6d9e6;
  --primary: #4f46e5;
  --primary-2: #7c3aed;
  --primary-ink: #ffffff;
  --primary-soft: #eef0ff;
  --accent-grad: linear-gradient(135deg, #db2777 0%, #9333ea 55%, #4f46e5 100%);
  --brand-grad: linear-gradient(90deg, #e11d48 0%, #c026d3 55%, #6d28d9 100%);
  --hero-grad: radial-gradient(1200px 500px at 15% -10%, #e9e7ff 0%, transparent 60%), radial-gradient(900px 500px at 100% 0%, #f1e8ff 0%, transparent 55%);
  --star: #f59e0b;
  --star-empty: #e2e8f0;
  --ok: #047857;
  --ok-soft: #ecfdf5;
  --warn: #92400e;
  --warn-soft: #fffbeb;
  --warn-border: #fcd34d;
  --error: #b91c1c;
  --error-soft: #fef2f2;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 4px 16px rgba(15, 23, 42, .05);
  --shadow-lg: 0 10px 30px rgba(79, 70, 229, .12);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --container: 1160px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0d17;
    --bg-alt: #111422;
    --surface: #151829;
    --text: #e8eaf4;
    --text-2: #b3b9cf;
    --text-3: #8e95ad;
    --border: #252a40;
    --border-2: #30364f;
    --primary: #8b85ff;
    --primary-2: #a78bfa;
    --primary-ink: #0b0d17;
    --primary-soft: #1e1f3d;
    --accent-grad: linear-gradient(135deg, #db2777 0%, #9333ea 55%, #6366f1 100%);
    --brand-grad: linear-gradient(90deg, #fb7185 0%, #e879f9 55%, #a78bfa 100%);
    --hero-grad: radial-gradient(1200px 500px at 15% -10%, #1d1b44 0%, transparent 60%), radial-gradient(900px 500px at 100% 0%, #241a40 0%, transparent 55%);
    --star-empty: #2c3149;
    --ok: #34d399;
    --ok-soft: #0c2a22;
    --warn: #fcd34d;
    --warn-soft: #2a2110;
    --warn-border: #6b5414;
    --error: #fca5a5;
    --error-soft: #2c1215;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 16px rgba(0, 0, 0, .25);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, .35);
  }
}

/* ---- Base ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; vertical-align: middle; }
a { color: var(--primary); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 .5em; color: var(--text); }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--primary-soft); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 860px; }
.center { text-align: center; }
.mt { margin-top: 2rem; }
.muted { color: var(--text-2); }
.lead { font-size: 1.125rem; color: var(--text-2); max-width: 720px; }
.center.lead, .center .lead { margin-left: auto; margin-right: auto; }
.meta { color: var(--text-3); font-size: .9rem; display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.fineprint { font-size: .85rem; color: var(--text-3); margin-top: 1rem; }
.num { font-variant-numeric: tabular-nums; font-weight: 700; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--primary); color: var(--primary-ink); padding: .6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }
.icon { flex-shrink: 0; }
[hidden] { display: none !important; }

/* ---- Buttons ------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .7rem 1.15rem; border-radius: var(--radius-sm); border: 1px solid transparent;
  font: inherit; font-weight: 650; font-size: .95rem; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--accent-grad); color: #fff; box-shadow: 0 4px 14px rgba(79, 70, 229, .25); }
.btn--primary:hover { box-shadow: var(--shadow-lg); }
.btn--ghost { background: var(--surface); color: var(--text); border-color: var(--border-2); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn--light { background: #fff; color: #3730a3; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .1); }
.btn--sm { padding: .45rem .8rem; font-size: .875rem; }
.btn--lg { padding: .9rem 1.5rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 650; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* ---- Header -------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; color: var(--text); text-decoration: none; letter-spacing: -.02em; font-size: 1.1rem; }
.brand img { border-radius: 9px; }
.brand__hl { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-toggle {
  display: inline-flex; background: none; border: 1px solid var(--border-2); color: var(--text);
  border-radius: var(--radius-sm); padding: .4rem; cursor: pointer;
}
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: .75rem 16px 1rem; display: flex; flex-direction: column; gap: .25rem; }
.site-nav a:not(.btn) { display: block; padding: .6rem .5rem; color: var(--text-2); text-decoration: none; font-weight: 550; border-radius: 8px; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { color: var(--primary); background: var(--primary-soft); }
.site-nav .btn { margin-top: .5rem; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; position: static; background: none; border: 0; box-shadow: none; }
  .site-nav ul { flex-direction: row; align-items: center; padding: 0; gap: .15rem; }
  .site-nav a:not(.btn) { padding: .45rem .7rem; font-size: .93rem; }
  .site-nav .btn { margin: 0 0 0 .5rem; }
}

/* ---- Hero ---------------------------------------------------------- */
.hero { background: var(--hero-grad); padding: 4.5rem 0 3.5rem; border-bottom: 1px solid var(--border); }
.hero__inner { text-align: center; max-width: 860px; }
.hero__lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--text-2); max-width: 640px; margin: 0 auto 2rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--primary); background: var(--primary-soft); padding: .35rem .75rem; border-radius: 999px; margin-bottom: 1.25rem;
}
.hero h1 { background: linear-gradient(180deg, var(--text) 30%, color-mix(in srgb, var(--text) 70%, var(--primary))); -webkit-background-clip: text; background-clip: text; color: transparent; }
.search {
  display: flex; align-items: center; gap: .5rem; max-width: 620px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border-2); border-radius: 999px; padding: .4rem .4rem .4rem 1.1rem; box-shadow: var(--shadow);
  color: var(--text-3);
}
.search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; color: var(--text); padding: .55rem 0; outline: none; }
.search .btn { border-radius: 999px; }
.search--inline { margin: 1.5rem auto; }
.hero__stats { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem 2rem; color: var(--text-2); font-size: .95rem; }
.hero__stats strong { color: var(--text); font-size: 1.1rem; }

/* ---- Sections ------------------------------------------------------ */
.section { padding: 3.5rem 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--tight { padding: 2rem 0 3.5rem; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.section__head p { color: var(--text-2); margin: 0; }
.section__head h2 { margin-bottom: .25rem; }

.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.guide-links { margin-top: 1.25rem; }

/* ---- Page head & breadcrumbs ---------------------------------------- */
.page-head { background: var(--hero-grad); padding: 1.5rem 0 2.5rem; border-bottom: 1px solid var(--border); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem; padding: 0; margin: 0 0 1.25rem; font-size: .85rem; color: var(--text-3); }
.crumbs li + li::before { content: "/"; margin-right: .3rem; color: var(--border-2); }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--primary); text-decoration: underline; }

/* ---- Chips, scores, stars ----------------------------------------- */
.chip {
  display: inline-flex; align-items: center; font-size: .75rem; font-weight: 650; padding: .2rem .6rem; border-radius: 999px;
  background: var(--primary-soft); color: var(--primary); text-decoration: none; white-space: nowrap;
}
a.chip:hover { text-decoration: underline; }
.chip--warn { background: var(--warn-soft); color: var(--warn); border: 1px solid var(--warn-border); }
.chip--lg { font-size: .9rem; padding: .4rem .9rem; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }

.score {
  display: inline-flex; align-items: baseline; gap: .1rem; padding: .35rem .6rem; border-radius: 10px;
  background: var(--accent-grad); color: #fff; line-height: 1; flex-shrink: 0;
}
.score strong { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.score small { font-size: .75rem; opacity: .85; }
.score--lg { padding: .6rem .9rem; }
.score--lg strong { font-size: 2rem; }
.score--none { background: var(--bg-alt); color: var(--text-3); font-weight: 700; font-size: .8rem; border: 1px solid var(--border); }

.stars { position: relative; display: inline-block; font-size: 1rem; line-height: 1; letter-spacing: 2px; vertical-align: middle; }
.stars__base { color: var(--star-empty); }
.stars__fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: var(--star); white-space: nowrap; }
.stars--none { font-size: .8rem; color: var(--text-3); letter-spacing: 0; }

/* ---- Rating bars --------------------------------------------------- */
.rbreakdown { display: grid; gap: .9rem; }
.rbar__head { display: flex; justify-content: space-between; font-size: .92rem; font-weight: 600; margin-bottom: .35rem; gap: 1rem; }
.rbar__value { color: var(--text-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rbar__track { height: 10px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.rbar__fill { display: block; height: 100%; width: var(--w); background: var(--accent-grad); border-radius: inherit; transform-origin: left; }
.js .rbar__fill { width: 0; transition: width .9s cubic-bezier(.2, .7, .2, 1); }
.js .rbar.is-visible .rbar__fill { width: var(--w); }
.rbar--compact .rbar__head { font-size: .8rem; margin-bottom: .2rem; }
.rbar--compact .rbar__track { height: 6px; }
@media (prefers-reduced-motion: reduce) {
  .js .rbar__fill { transition: none; width: var(--w); }
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}

/* ---- Platform card ------------------------------------------------- */
.pcard {
  display: flex; flex-direction: column; gap: 1rem; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); transition: border-color .15s, box-shadow .15s;
}
.pcard:hover { border-color: var(--border-2); box-shadow: var(--shadow-lg); }
.pcard__head { display: flex; gap: .8rem; align-items: flex-start; }
.pcard__title { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.pcard__title h3 { width: 100%; margin: 0; font-size: 1.1rem; }
.pcard__title h3 a { color: var(--text); text-decoration: none; }
.pcard__title h3 a:hover { color: var(--primary); }
.pcard__rank { font-weight: 800; color: var(--text-3); font-size: .9rem; }
.pcard__desc { color: var(--text-2); font-size: .95rem; margin: 0; }
.pcard__bars { display: grid; gap: .55rem; }
.pcard__features { list-style: none; padding: 0; margin: 0; display: grid; gap: .3rem; font-size: .9rem; color: var(--text-2); }
.pcard__features li { display: flex; gap: .45rem; align-items: flex-start; }
.pcard__features .icon { color: var(--ok); margin-top: .2rem; }
.pcard__actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: auto; }
.pcard__actions .btn { flex: 1 1 auto; }

.plogo { border-radius: 12px; object-fit: cover; flex-shrink: 0; background: var(--bg-alt); }
.plogo--text {
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; font-size: .85rem; letter-spacing: .02em;
  background: linear-gradient(135deg, hsl(var(--h) 70% 55%), hsl(calc(var(--h) + 30) 65% 50%));
}

/* ---- Tables -------------------------------------------------------- */
.table-wrap { position: relative; overflow-x: auto;border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 560px; }
.table caption:not(.sr-only) { text-align: left; font-weight: 700; padding: .9rem 1rem 0; }
.table th, .table td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); background: var(--bg-alt); font-weight: 700; }
.table tbody tr:last-child > * { border-bottom: 0; }
.table tbody th { font-weight: 650; }
.tlink { display: inline-flex; align-items: center; gap: .6rem; color: var(--text); text-decoration: none; font-weight: 650; }
.tlink:hover { color: var(--primary); }
.row-highlight { background: var(--primary-soft); }
.table--compare { min-width: 480px; }
.table--compare td, .table--compare thead th:not(:first-child) { width: 36%; }
.lead-cell { background: color-mix(in srgb, var(--ok-soft) 70%, transparent); }
.lead-cell .num { color: var(--ok); }
.mini { display: block; height: 5px; background: var(--bg-alt); border-radius: 999px; overflow: hidden; margin-top: .35rem; max-width: 160px; }
.mini span { display: block; height: 100%; background: var(--accent-grad); }

/* ---- Comparison / guide / category cards ---------------------------- */
.ccard, .gcard, .catcard {
  display: flex; flex-direction: column; gap: .6rem; padding: 1.15rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; color: var(--text); box-shadow: var(--shadow);
  transition: border-color .15s, transform .15s;
}
.ccard:hover, .gcard:hover, .catcard:hover { border-color: var(--primary); transform: translateY(-2px); }
.ccard__logos { display: flex; align-items: center; gap: .5rem; }
.ccard__vs { font-size: .75rem; font-weight: 800; color: var(--text-3); text-transform: uppercase; }
.ccard__title { font-weight: 700; }
.ccard__meta { display: flex; align-items: center; gap: .35rem; color: var(--text-3); font-size: .85rem; margin-top: auto; }
.gcard { flex-direction: row; align-items: flex-start; gap: .9rem; }
.gcard > .icon { color: var(--primary); margin-top: .15rem; }
.gcard strong { display: block; }
.gcard small { display: block; color: var(--text-2); font-size: .9rem; margin-top: .2rem; }
.catcard small { color: var(--text-2); font-size: .9rem; }
.catcard__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; }
.catcard__count { margin-top: auto; font-size: .8rem; font-weight: 700; color: var(--primary); }

/* ---- Split / criteria / prose -------------------------------------- */
.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1.1fr; gap: 3rem; } }
.split p { color: var(--text-2); }
.criteria { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.criteria li { display: flex; gap: .85rem; align-items: flex-start; padding: 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text-2); }
.criteria li .icon { color: var(--primary); margin-top: .2rem; }
.criteria strong { display: block; color: var(--text); }
@media (min-width: 640px) { .split .criteria { grid-template-columns: 1fr 1fr; } }

.prose { color: var(--text-2); }
.prose h2, .prose h3, .prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: .5rem; }
.prose--center { max-width: 760px; text-align: center; }

/* ---- CTA ----------------------------------------------------------- */
.cta {
  display: flex; flex-direction: column; gap: 1.5rem; justify-content: space-between; align-items: flex-start;
  background: linear-gradient(135deg, #be185d 0%, #7e22ce 55%, #4338ca 100%); color: #fff; padding: 2.25rem; border-radius: 20px;
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, .88); margin: 0; max-width: 560px; }
.cta__actions { display: flex; gap: .75rem; flex-wrap: wrap; }
@media (min-width: 860px) { .cta { flex-direction: row; align-items: center; padding: 2.75rem 3rem; } }

/* ---- Platform page ------------------------------------------------- */
.phero { display: grid; gap: 1.25rem; align-items: start; }
.phero h1 { margin-bottom: .35rem; }
.phero .lead { margin-bottom: .75rem; }
.phero__score {
  display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; padding: 1.25rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
}
.phero__label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); }
@media (min-width: 860px) {
  .phero { grid-template-columns: auto 1fr 240px; }
  .phero__score { align-items: center; text-align: center; }
  .phero__score .btn { width: 100%; }
}

.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-top: 2rem; padding-bottom: 3.5rem; }
.layout__main, .layout__side, .grid > * { min-width: 0; }
@media (min-width: 1000px) {
  .layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 3rem; }
  .layout__side { position: sticky; top: 88px; align-self: start; }
}
.layout__side { display: grid; gap: 1.25rem; align-content: start; }
.block { margin: 0 0 2.5rem; }
.block > h2 { margin-bottom: .75rem; }

.checklist { list-style: none; padding: 0; margin: 0 0 .5rem; display: grid; gap: .55rem; }
.checklist li { display: flex; gap: .6rem; align-items: flex-start; color: var(--text-2); }
.checklist .icon { color: var(--primary); margin-top: .25rem; }

.procon { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .procon { grid-template-columns: 1fr 1fr; } }
.procon__col { padding: 1.25rem; border-radius: var(--radius); border: 1px solid var(--border); }
.procon__col h2 { font-size: 1.15rem; }
.procon__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.procon__col li { display: flex; gap: .55rem; align-items: flex-start; color: var(--text-2); }
.procon__col .icon { margin-top: .25rem; }
.procon__col--pro { background: var(--ok-soft); }
.procon__col--pro .icon { color: var(--ok); }
.procon__col--con { background: var(--error-soft); }
.procon__col--con .icon { color: var(--error); }

.altlist { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.altlist li { display: flex; align-items: center; gap: .85rem; padding: .8rem 1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.altlist li > div { flex: 1; min-width: 160px; }
.altlist li { flex-wrap: wrap; }
.altlist li.altlist--featured { background: color-mix(in srgb, var(--primary-soft) 70%, transparent); border-color: color-mix(in srgb, var(--primary) 35%, var(--border)); }
.suit .btn { align-self: flex-start; }
.suit__links { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin: auto 0 0; font-size: .92rem; }
.altlist a strong { color: var(--text); }
.altlist small { display: block; color: var(--text-3); font-size: .85rem; }

.sidecard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); }
.sidecard h2 { font-size: 1rem; margin-bottom: .75rem; }
.sidecard p { font-size: .92rem; color: var(--text-2); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; margin: 0 0 1rem; font-size: .92rem; }
.facts dt { color: var(--text-3); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }
.facts--inline dd { text-align: left; }
.toc ul, .toc ol, .sidelinks { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; }
.toc a, .sidelinks a { display: block; padding: .35rem .5rem; border-radius: 6px; color: var(--text-2); text-decoration: none; font-size: .92rem; }
.toc a:hover, .sidelinks a:hover { background: var(--primary-soft); color: var(--primary); }
.steps { padding-left: 1.2rem; margin: 0; color: var(--text-2); font-size: .92rem; }
.steps li { margin-bottom: .5rem; }

/* ---- Notices ------------------------------------------------------- */
.notice, .disclaimer {
  display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.15rem; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--bg-alt); color: var(--text-2); margin: 0 0 1.5rem; font-size: .93rem;
}
.notice p, .disclaimer p { margin: 0; }
.notice .icon, .disclaimer .icon { margin-top: .15rem; color: var(--primary); }
.notice--warn { background: var(--warn-soft); border-color: var(--warn-border); color: var(--warn); }
.notice--warn .icon { color: var(--warn); }
.notice--ok { background: var(--ok-soft); border-color: color-mix(in srgb, var(--ok) 35%, transparent); color: var(--ok); }
.notice--ok .icon { color: var(--ok); }
.notice--error { background: var(--error-soft); border-color: color-mix(in srgb, var(--error) 35%, transparent); color: var(--error); }
.notice--error .icon { color: var(--error); }
.disclaimer { margin-top: 1rem; font-size: .8rem; background: none; border: 0; border-top: 1px solid var(--border); border-radius: 0; padding: 1rem 0 0; color: var(--text-3); }
.disclaimer .icon { display: none; }
.pagenote { margin: .6rem 0 0; font-size: .8rem; color: var(--text-3); }
.pagenote a { color: inherit; }
.center + .pagenote, .lead.center + .pagenote { text-align: center; }

/* ---- FAQ ----------------------------------------------------------- */
.faq { display: grid; gap: .6rem; }
.faq__item { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.faq__item summary {
  cursor: pointer; list-style: none; padding: 1rem 2.75rem 1rem 1.15rem; font-weight: 650; position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: 1.15rem; top: 50%; width: 9px; height: 9px; margin-top: -6px;
  border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3); transform: rotate(45deg); transition: transform .2s;
}
.faq__item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__a { padding: 0 1.15rem 1rem; color: var(--text-2); }
.faq__a p { margin: 0; }

/* ---- Comparison page ----------------------------------------------- */
.vs-hero { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: .5rem 0 1.5rem; flex-wrap: wrap; }
.vs-hero__side {
  display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: 1.1rem 1.5rem; min-width: 150px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; color: var(--text); box-shadow: var(--shadow);
}
.vs-hero__side:hover { border-color: var(--primary); }
.vs-hero__link { display: flex; flex-direction: column; align-items: center; gap: .5rem; color: var(--text); text-decoration: none; }
.vs-hero__link:hover strong { color: var(--primary); }
.vs-hero__tags { display: inline-flex; gap: .35rem; align-items: center; }
.vs-hero__vs { font-weight: 800; color: var(--text-3); text-transform: uppercase; font-size: .9rem; }
.prefcard { padding: 1.25rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.prefcard h2 { font-size: 1.15rem; }
.pref-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin: .75rem 0 0; }
.vs-hero__side small { font-size: .78rem; }
.suitlist { display: grid; gap: 1rem; }
@media (min-width: 640px) { .suitlist { grid-template-columns: 1fr 1fr; } }
.suit { padding: 1.15rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); display: flex; flex-direction: column; gap: .5rem; }
.suit__head { display: flex; gap: .65rem; align-items: center; flex-wrap: wrap; }
.suit__head h3 { margin: 0; font-size: 1.05rem; }
.suit__head h3 a { color: var(--text); text-decoration: none; }

/* ---- Best page ranking ---------------------------------------------- */
.ranklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; counter-reset: none; }
.rank { padding: 1.35rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); scroll-margin-top: 90px; }
.rank__head { display: flex; align-items: center; gap: .85rem; flex-wrap: wrap; margin-bottom: .75rem; }
.rank__num { width: 32px; height: 32px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.rank__title { flex: 1; min-width: 160px; }
.rank__title h3 { margin: 0 0 .25rem; }
.rank__title h3 a { color: var(--text); text-decoration: none; }
.rank__score { display: flex; flex-direction: column; align-items: flex-end; gap: .35rem; }
.rank > p { color: var(--text-2); }
.rank__grid { display: grid; gap: 1.5rem; margin-bottom: 1rem; }
.rank__grid h4 { margin-bottom: .5rem; }
@media (min-width: 760px) { .rank__grid { grid-template-columns: 1.2fr 1fr; } }

/* ---- Filters & forms ------------------------------------------------ */
.filters {
  display: grid; gap: .85rem; align-items: end; padding: 1.15rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 1rem;
}
@media (min-width: 760px) { .filters { grid-template-columns: 2fr 1fr 1fr auto; } }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-size: .88rem; font-weight: 650; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--bg);
  border: 1px solid var(--border-2); border-radius: var(--radius-sm); padding: .65rem .8rem;
}
.field textarea { resize: vertical; min-height: 3rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__hint { font-size: .82rem; color: var(--text-3); margin: 0; }
.field__error, .form-error { font-size: .85rem; color: var(--error); margin: 0; font-weight: 600; }
.field--check { flex-direction: row; align-items: flex-start; gap: .6rem; margin: 1rem 0 .25rem; }
.field--check input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: var(--primary); flex-shrink: 0; }
.field--check label { font-weight: 500; color: var(--text-2); }
.results-count { color: var(--text-3); font-size: .9rem; margin: 0 0 1rem; }
.empty { padding: 2rem; text-align: center; color: var(--text-2); border: 1px dashed var(--border-2); border-radius: var(--radius); }

.form fieldset { border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; margin: 0 0 1.25rem; background: var(--surface); }
.form legend { font-weight: 750; padding: 0 .4rem; }
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.req { color: var(--error); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---- Directories ---------------------------------------------------- */
.dirlist { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.dir { display: flex; align-items: center; gap: .85rem; padding: .9rem 1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); flex-wrap: wrap; }
.dir > div { flex: 1; min-width: 180px; }
.dir small { display: block; color: var(--text-3); font-size: .85rem; }

/* ---- Badge page ----------------------------------------------------- */
.badge-preview { display: flex; justify-content: center; padding: 2rem; background: var(--bg-alt); border: 1px dashed var(--border-2); border-radius: var(--radius); }
.codebox { position: relative; margin-bottom: 1.25rem; }
.codebox pre {
  margin: 0; padding: 1.1rem 1.1rem 3.2rem; background: #0f172a; color: #e2e8f0; border-radius: var(--radius-sm);
  overflow-x: auto; font-family: var(--mono); font-size: .85rem; line-height: 1.55;
}
.codebox .btn { position: absolute; right: .6rem; bottom: .6rem; }
.example-bars { display: grid; gap: .9rem; padding: 1.25rem; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 1.25rem; background: var(--surface); }

/* ---- Footer --------------------------------------------------------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 3rem 0 1.5rem; margin-top: 2rem; font-size: .92rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1.6fr repeat(4, 1fr); } .footer-brand { grid-column: auto; } }
.footer-brand p { color: var(--text-2); margin-top: .75rem; }
.footer-small { font-size: .82rem; color: var(--text-3) !important; }
.footer-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin-bottom: .75rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer ul a { color: var(--text-2); text-decoration: none; }
.site-footer ul a:hover { color: var(--primary); text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 2rem; padding-top: 1.25rem; color: var(--text-3); font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* ---- Directory: badges ---------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: .25rem; font-size: .66rem; font-weight: 800; letter-spacing: .06em;
  padding: .18rem .45rem; border-radius: 6px; line-height: 1.2; white-space: nowrap; text-transform: uppercase;
}
.badge--new { background: #dcfce7; color: #166534; }
.badge--hot { background: #ffe4e6; color: #be123c; }
.badge--featured { background: var(--accent-grad); color: #fff; }
.urate { display: inline-flex; align-items: center; gap: .2rem; font-size: .78rem; font-weight: 700; color: var(--text); white-space: nowrap; }
.urate > span { color: var(--star); }
.urate small { font-weight: 600; color: var(--text-3); font-size: .7rem; }
.urate--lg { font-size: .95rem; }
a .urate { text-decoration: none; }
.owned-note { font-size: .7rem; color: var(--text-3); text-decoration: underline dotted; text-underline-offset: 2px; white-space: nowrap; }
.owned-note:hover { color: var(--primary); }
@media (prefers-color-scheme: dark) {
  .badge--new { background: #12351f; color: #86efac; }
  .badge--hot { background: #3b1219; color: #fda4af; }
}
.btn--dark { background: var(--text); color: var(--bg); }
.btn--dark:hover { box-shadow: var(--shadow-lg); }

/* ---- Directory: hero pills ----------------------------------------- */
.hero--dir { padding: 3.5rem 0 2.5rem; }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1.75rem; }
.pill {
  display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .8rem .4rem .4rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text); text-decoration: none; font-size: .88rem; font-weight: 600;
  box-shadow: var(--shadow);
}
.pill:hover, .pill[aria-current="page"] { border-color: var(--primary); color: var(--primary); }
.pills--left { justify-content: flex-start; margin-top: 1.25rem; }
.toc a[aria-current="page"] { background: var(--primary-soft); color: var(--primary); font-weight: 650; }
.pill small { color: var(--text-3); font-weight: 600; }
.pill__code {
  display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 24px; padding: 0 .35rem;
  border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: .68rem; font-weight: 800; letter-spacing: .04em;
}

/* ---- Directory: spotlight (featured platform) ------------------------ */
.spotlight-wrap { margin-top: -1.5rem; position: relative; z-index: 2; }
.spotlight {
  display: grid; gap: 1.5rem; padding: 1.5rem; border-radius: 20px; background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--primary) 35%, var(--border)); box-shadow: var(--shadow-lg);
  background-image: radial-gradient(600px 220px at 0% 0%, var(--primary-soft), transparent 70%);
}
.spotlight__eyebrow { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; margin: 0 0 .75rem; }
.spotlight__launch { font-size: .8rem; color: var(--text-3); font-weight: 600; }
.spotlight__tagline { display: inline-flex; align-items: center; gap: .3rem; font-size: .8rem; font-weight: 700; color: var(--ok); }
.spotlight__title { display: flex; align-items: center; gap: .85rem; margin-bottom: .5rem; }
.spotlight__title h2, .spotlight__title h3 { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); }
.spotlight__desc { color: var(--text-2); font-size: 1.05rem; max-width: 620px; }
.stats { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 1.1rem; }
.stats__item { display: flex; flex-direction: column-reverse; padding: .55rem .9rem; border-radius: 12px; background: var(--bg-alt); border: 1px solid var(--border); min-width: 104px; }
.stats__item dd { margin: 0; font-size: 1.35rem; font-weight: 800; line-height: 1.1; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats__item dt { font-size: .75rem; color: var(--text-3); font-weight: 600; }
.spotlight__list { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .4rem; }
.spotlight__list li { display: flex; gap: .5rem; align-items: flex-start; color: var(--text-2); }
.spotlight__list .icon { color: var(--primary); margin-top: .25rem; }
.spotlight__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.spotlight__score {
  display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; padding: 1.25rem;
  border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--border);
}
.spotlight__bars { width: 100%; display: grid; gap: .55rem; margin-top: .5rem; }
.spotlight__disclosure { grid-column: 1 / -1; display: flex; gap: .45rem; align-items: flex-start; margin: 0; font-size: .8rem; color: var(--text-3); border-top: 1px solid var(--border); padding-top: .9rem; }
.spotlight__disclosure .icon { margin-top: .15rem; }
@media (min-width: 860px) {
  .spotlight { grid-template-columns: 1fr 280px; padding: 2rem 2.25rem; }
}
@media (max-width: 599px) {
  .spotlight__bars { display: none; }
  .spotlight__score { flex-direction: row; flex-wrap: wrap; align-items: center; padding: .9rem 1rem; }
  .spotlight__score .phero__label { width: 100%; }
  .spotlight__actions .btn { flex: 1 1 auto; }
}

/* ---- Directory: category blocks & ranked rows ------------------------ */
.dgrid { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .dgrid { grid-template-columns: 1fr 1fr; } }
.dcat { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; scroll-margin-top: 80px; }
.dcat__head { display: flex; gap: .85rem; align-items: center; padding: 1rem 1.15rem; border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.dcat__head h3 { margin: 0; font-size: 1.05rem; }
.dcat__head h3 a { color: var(--text); text-decoration: none; }
.dcat__head h3 a:hover { color: var(--primary); }
.dcat__head p { margin: 0; font-size: .82rem; color: var(--text-3); }
.dcat__code {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: var(--accent-grad); color: #fff; font-weight: 800; font-size: .8rem; letter-spacing: .04em;
}
.dcat__code--new { background: linear-gradient(135deg, #059669, #10b981); }
.dcat__more { display: flex; align-items: center; justify-content: center; gap: .35rem; padding: .85rem; margin-top: auto; border-top: 1px solid var(--border); font-weight: 650; font-size: .9rem; text-decoration: none; }
.dcat__more:hover { background: var(--primary-soft); }

.dlist { list-style: none; margin: 0; padding: .35rem 0; }
.drow { display: flex; align-items: center; gap: .75rem; padding: .6rem 1.15rem; }
.drow + .drow { border-top: 1px solid var(--border); }
.drow:hover { background: var(--bg-alt); }
.drow--featured { background: color-mix(in srgb, var(--primary-soft) 70%, transparent); }
.drow--featured:hover { background: var(--primary-soft); }
.drow__rank { width: 22px; flex-shrink: 0; text-align: center; font-weight: 800; color: var(--text-3); font-size: .85rem; font-variant-numeric: tabular-nums; }
.drow--featured .drow__rank { color: var(--primary); }
.drow__body { flex: 1; min-width: 0; }
.drow__name { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.drow__name a:first-child { color: var(--text); font-weight: 700; text-decoration: none; }
.drow__name a:first-child:hover { color: var(--primary); text-decoration: underline; }
.drow__desc { margin: .1rem 0 0; font-size: .82rem; color: var(--text-3); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.drow .btn { flex-shrink: 0; }
.dlist--full .drow__desc { -webkit-line-clamp: 2; }

/* ---- Featured platform card --------------------------------------- */
.pcard--featured { border-color: color-mix(in srgb, var(--primary) 45%, var(--border)); box-shadow: var(--shadow-lg); background-image: radial-gradient(400px 160px at 0% 0%, var(--primary-soft), transparent 70%); }

/* ---- Homepage guide ---------------------------------------------------- */
.guide > h2 { max-width: 760px; }
.guide__cols h3 { margin-top: 1.5rem; }
@media (min-width: 1000px) { .guide__cols { columns: 2; column-gap: 3rem; } .guide__cols h3 { break-after: avoid; } .guide__cols ul { break-inside: avoid; } }
.tips { margin-top: 2rem; }
.tip { padding: 1.25rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.tip .icon { color: var(--primary); }
.tip h3 { margin: .6rem 0 .35rem; font-size: 1.05rem; }
.tip p { margin: 0; color: var(--text-2); font-size: .93rem; }

/* ---- Side spotlight (review pages) ------------------------------------ */
.sidefeat { border-color: color-mix(in srgb, var(--primary) 40%, var(--border)); background-image: radial-gradient(300px 140px at 0% 0%, var(--primary-soft), transparent 70%); }
.sidefeat__head { display: flex; align-items: center; gap: .65rem; margin: .5rem 0; }
.sidefeat__head strong { font-size: 1.1rem; }
.sidefeat .btn { width: 100%; margin-top: .5rem; }

/* ---- Alternatives hub --------------------------------------------- */
.altgrid { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.altgrid__item { display: flex; align-items: center; gap: .75rem; padding: .85rem 1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); text-decoration: none; box-shadow: var(--shadow); }
.altgrid__item:hover { border-color: var(--primary); }
.altgrid__item > .icon { margin-left: auto; color: var(--text-3); }
.altgrid__text { display: flex; flex-direction: column; min-width: 0; }
.altgrid__text small { color: var(--text-3); font-size: .8rem; }

/* ---- Admin inbox ---------------------------------------------------- */
.page-head--admin { padding-bottom: 1.5rem; }
.page-head--admin h1 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
.admin { padding-top: 1.5rem; padding-bottom: 3rem; }
.admin-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.admin-bar .lead { margin: 0; }
.admin-bar__actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.admin-bar__actions form { margin: 0; }
.admin-login { max-width: 420px; }
.admin-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.25rem; scroll-margin-top: 80px; }
.admin-tabs a { padding: .45rem .85rem; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); text-decoration: none; font-weight: 600; font-size: .9rem; }
.admin-tabs a span { color: var(--text-3); font-weight: 700; margin-left: .2rem; }
.admin-tabs a[aria-current="page"] { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }
.sub { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 1.25rem; margin-bottom: 1rem; box-shadow: var(--shadow); }
.sub__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.sub__head h2 { font-size: 1.15rem; margin: 0 0 .25rem; }
.sub__status { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: .15rem .5rem; border-radius: 6px; background: var(--warn-soft); color: var(--warn); }
.sub__status--added { background: var(--ok-soft); color: var(--ok); }
.sub__status--rejected { background: var(--error-soft); color: var(--error); }
.sub__fields { display: grid; grid-template-columns: 1fr; gap: .2rem .9rem; margin: 1rem 0; font-size: .93rem; }
.sub__fields dt { color: var(--text-3); font-weight: 600; font-size: .8rem; margin-top: .5rem; }
.sub__fields dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }
@media (min-width: 640px) { .sub__fields { grid-template-columns: 140px 1fr; } .sub__fields dt { margin-top: 0; } }
.sub__actions { display: flex; flex-wrap: wrap; gap: .5rem; border-top: 1px solid var(--border); padding-top: .9rem; }
.sub__actions form { margin: 0; }
.btn--danger { color: var(--error); }
.btn--danger:hover { border-color: var(--error); color: var(--error); }
.admin code { font-family: var(--mono); font-size: .85em; background: var(--bg-alt); padding: .1rem .35rem; border-radius: 4px; }

/* ---- Print ---------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .layout__side, .btn, .search { display: none !important; }
  .rbar__fill { width: var(--w) !important; }
}
