/* Reverse Index — public site.
   One stylesheet, no framework. Tokens first; light and dark follow the OS.
   Layout: 16 px side gutter on phones, 1120 px content width on desktop. */

:root {
  --bg: #f6f5f1;
  --bg-2: #eeece6;
  --card: #ffffff;
  --ink: #151513;
  --ink-2: #46453f;
  --muted: #6b6961;
  --line: #e2dfd7;
  --line-2: #cfcbc0;
  --accent: #ff4f1a;
  --accent-ink: #c0360a;
  --accent-soft: #ffe7dd;
  --ok: #13773a;
  --ok-soft: #e1f2e6;
  --warn: #935700;
  --warn-soft: #faefd9;
  --bad: #b3261e;
  --info: #2f5ea6;
  --scrim: rgba(21, 21, 19, .56);
  --shadow: 0 1px 0 rgba(21, 21, 19, .04), 0 10px 30px -14px rgba(21, 21, 19, .22);
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 16px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e0d;
    --bg-2: #161614;
    --card: #1a1a18;
    --ink: #efede7;
    --ink-2: #c3c0b7;
    --muted: #96938a;
    --line: #2b2a27;
    --line-2: #3d3c37;
    --accent: #ff5a26;
    --accent-ink: #ff8457;
    --accent-soft: #3a1c10;
    --ok: #54cf80;
    --ok-soft: #10301c;
    --warn: #f2b545;
    --warn-soft: #33270e;
    --bad: #ff6f63;
    --info: #86a9e6;
    --scrim: rgba(0, 0, 0, .66);
    --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 14px 34px -16px rgba(0, 0, 0, .8);
  }
}

/* ---- base ----------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-ink); }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--ink); color: var(--bg); }
h1, h2, h3, h4 { margin: 0; font-weight: 680; letter-spacing: -.022em; line-height: 1.12; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.mono { font-family: var(--mono); font-size: .8125rem; letter-spacing: 0; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

.wrap { width: min(100% - 32px, 1120px); margin-inline: auto; }
.wrap-narrow { width: min(100% - 32px, 760px); margin-inline: auto; }
@media (min-width: 768px) {
  .wrap { width: min(100% - 64px, 1120px); }
  .wrap-narrow { width: min(100% - 64px, 760px); }
}

.skip { position: absolute; left: 12px; top: -48px; z-index: 50; padding: 8px 12px; background: var(--ink); color: var(--bg); border-radius: var(--r-sm); }
.skip:focus { top: 12px; }

/* ---- buttons ---------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px;
  border: 1px solid var(--ink); border-radius: 999px;
  background: var(--ink); color: var(--bg);
  font-weight: 600; font-size: .9375rem; text-decoration: none; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { color: var(--bg); background: color-mix(in srgb, var(--ink) 86%, var(--accent)); }
.btn:active { transform: translateY(1px); }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-quiet:hover { background: var(--bg-2); color: var(--ink); border-color: var(--line-2); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: .875rem; }
.btn svg { width: 16px; height: 16px; flex: none; }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); font-size: .875rem; text-decoration: underline; text-underline-offset: .2em; }
.link-btn:hover { color: var(--ink); }

/* ---- header ----------------------------------------------------------------------- */
.site-head { border-bottom: 1px solid var(--line); background: var(--bg); position: relative; z-index: 10; }
.site-head .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: -.02em; font-size: 1.0625rem; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand svg { width: 28px; height: 28px; }
.brand .mark-sq { fill: var(--accent); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--ink-2);
  font-size: .9375rem; font-weight: 500;
}
.nav a:hover { color: var(--ink); background: var(--bg-2); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--bg-2); }
.tag {
  display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 999px;
  font: 600 .6875rem/1.5 var(--mono); letter-spacing: .02em; text-transform: uppercase;
  color: var(--accent-ink); background: var(--accent-soft); vertical-align: 1px;
}
.menu { display: none; margin-left: auto; position: relative; }
.menu summary {
  list-style: none; display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px;
  font-size: .9375rem; font-weight: 600; cursor: pointer;
}
.menu summary::-webkit-details-marker { display: none; }
.menu svg { width: 16px; height: 16px; }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 8px); width: min(86vw, 300px);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow); padding: 8px; display: grid;
}
.menu-panel a { padding: 12px 12px; border-radius: var(--r); text-decoration: none; font-weight: 500; }
.menu-panel a:hover { background: var(--bg-2); color: var(--ink); }
@media (max-width: 860px) {
  .nav { display: none; }
  .menu { display: block; }
}

/* ---- hero + tool ---------------------------------------------------------------------- */
.hero { padding: 56px 0 40px; }
.hero-copy { text-align: center; max-width: 820px; margin: 0 auto; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 .8125rem/1.4 var(--mono); color: var(--accent-ink); letter-spacing: .01em;
  margin-bottom: 18px;
}
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.hero h1 { font-size: clamp(2.35rem, 1.1rem + 4.6vw, 4.25rem); line-height: 1; letter-spacing: -.045em; font-weight: 720; }
.hero h1 .kicker { display: flex; justify-content: center; font-size: .8125rem; letter-spacing: .01em; font-weight: 500; line-height: 1.4; }
.lede { margin: 20px auto 0; max-width: 620px; font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); color: var(--ink-2); }
.hero .tool { margin: 36px auto 0; }
.assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 20px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .875rem; }
.assure li { display: inline-flex; align-items: center; gap: 8px; }
.assure svg { width: 16px; height: 16px; color: var(--ink-2); flex: none; }
@media (max-width: 560px) {
  .hero { padding: 28px 0 28px; }
  .hero-copy { text-align: left; }
  .hero h1 .kicker { justify-content: flex-start; }
  .lede { margin-left: 0; }
  .hero .tool { margin-top: 24px; }
  .assure { justify-content: flex-start; flex-direction: column; gap: 8px; }
}

.tool {
  max-width: 820px; background: var(--card); border: 1px solid var(--line);
  border-radius: 20px; box-shadow: var(--shadow); padding: 8px; text-align: left;
}
.tool-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 4px 10px 4px; }
.seg { display: inline-flex; padding: 3px; background: var(--bg-2); border-radius: 999px; gap: 2px; }
.seg > a, .seg > span {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 999px;
  font-size: .875rem; font-weight: 600; text-decoration: none; color: var(--muted); white-space: nowrap;
}
.seg [aria-current="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.seg > a:hover { color: var(--ink); }
.seg .tag { margin-left: 6px; }
.tool-stat { color: var(--muted); white-space: nowrap; }
.tool-stat b { color: var(--ink); font-weight: 600; }
@media (max-width: 480px) { .tool-stat { display: none; } }

.drop {
  position: relative; display: grid; place-items: center; gap: 0; text-align: center;
  min-height: 244px; padding: 28px 20px; border-radius: 14px;
  border: 1.5px dashed var(--line-2); background: var(--bg);
  cursor: pointer; transition: border-color .15s, background .15s;
}
.drop:hover { border-color: var(--ink-2); }
.drop.over, .drop:focus-within { border-color: var(--accent); background: color-mix(in srgb, var(--accent-soft) 45%, var(--bg)); }
.drop-inner { display: grid; justify-items: center; gap: 6px; }
.drop-icon { width: 44px; height: 44px; color: var(--ink); margin-bottom: 8px; }
.drop-title { font-size: 1.1875rem; font-weight: 650; letter-spacing: -.015em; }
.drop-sub { color: var(--muted); font-size: .9375rem; }
.drop-sub kbd { font: 500 .75rem var(--mono); padding: 1px 5px; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 4px; background: var(--card); color: var(--ink-2); }
.drop .btn { margin-top: 14px; pointer-events: none; }
.drop-formats { margin-top: 14px; color: var(--muted); }
.drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.no-paste .paste-hint { display: none; }
@media (max-width: 560px) {
  .drop { min-height: 200px; }
  .drop-formats { font-size: .6875rem; }
  .paste-hint { display: none; }
}

/* ---- job (a search in progress) --------------------------------------------------------------- */
.job { padding: 6px 6px 8px; }
.job-head { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; }
.job-thumb { width: 88px; aspect-ratio: 16 / 10; border-radius: 8px; background: var(--bg-2); object-fit: cover; overflow: hidden; }
.job-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.job-meta { color: var(--muted); margin-top: 2px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding-top: 12px; font-size: .8125rem; color: var(--muted); counter-increment: step; }
.steps li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 3px; background: var(--line); }
.steps li::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: calc(var(--p, 0) * 100%); border-radius: 3px; background: var(--accent); transition: width .25s; }
.steps li[data-state="done"] { color: var(--ink-2); --p: 1; }
.steps li[data-state="done"]::after { background: var(--ink-2); }
.steps li[data-state="active"] { color: var(--ink); font-weight: 600; }
.steps li[data-state="skip"] { color: var(--muted); }
.steps li[data-state="skip"]::before { background: repeating-linear-gradient(90deg, var(--line-2) 0 4px, transparent 4px 8px); }
.steps li[data-state="skip"]::after { display: none; }
.steps li[data-state="error"] { color: var(--bad); font-weight: 600; --p: 1; }
.steps li[data-state="error"]::after { background: var(--bad); }
.job-note { margin-top: 14px; color: var(--ink-2); font-size: .9375rem; min-height: 1.55em; }
@media (max-width: 560px) {
  .steps li:not([data-state="active"], [data-state="error"]) { font-size: 0; color: transparent; }
  .steps li:not([data-state="active"], [data-state="error"])::after,
  .steps li:not([data-state="active"], [data-state="error"])::before { font-size: 1rem; }
  .job-thumb { width: 64px; }
}

/* timeline ruler: where the page looked (grey), what it kept (ink), what matched (green) */
.ruler { position: relative; height: 34px; margin-top: 16px; border-radius: 6px; background: var(--bg-2); overflow: hidden; }
.ruler::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 8px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px calc(100% / 64));
  opacity: .8;
}
.ruler i { position: absolute; bottom: 0; width: 2px; margin-left: -1px; height: 12px; background: var(--line-2); border-radius: 1px; }
.ruler i.keep { height: 22px; background: var(--ink-2); }
.ruler i.near { height: 22px; background: var(--warn); }
.ruler i.shared { height: 22px; background: var(--info); }
.ruler i.hit { height: 30px; width: 3px; background: var(--ok); }
.ruler i.hl { outline: 2px solid var(--accent); outline-offset: 1px; }
.ruler-labels { display: flex; justify-content: space-between; margin-top: 6px; color: var(--muted); }

/* frame strip */
.strip { display: flex; gap: 8px; overflow-x: auto; padding: 12px 2px 6px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.strip figure { margin: 0; flex: none; width: 104px; scroll-snap-align: start; }
.strip .fr { position: relative; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; background: var(--bg-2); outline: 1px solid var(--line); outline-offset: -1px; }
.strip img { width: 100%; height: 100%; object-fit: cover; }
.strip figcaption { display: flex; align-items: center; gap: 6px; margin-top: 4px; font: .75rem var(--mono); color: var(--muted); }
.strip figure.hit .fr { outline: 2px solid var(--ok); outline-offset: -2px; }
.strip figure.near .fr { outline: 2px dashed var(--warn); outline-offset: -2px; }
.strip figure.shared .fr { outline: 2px dotted var(--info); outline-offset: -2px; }
.strip figure.hl .fr { outline: 2px solid var(--accent); outline-offset: -2px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); flex: none; }
.hit .dot { background: var(--ok); }
.near .dot { background: var(--warn); }
.shared .dot { background: var(--info); }
.strip .flag, .sg-frames .flag { position: absolute; left: 4px; top: 4px; padding: 0 5px; border-radius: 4px; font: 600 .625rem/1.6 var(--mono); background: rgba(0,0,0,.62); color: #fff; }

.notice { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; padding: 12px 14px; border-radius: var(--r); background: var(--bg-2); color: var(--ink-2); font-size: .9375rem; }
.notice svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.notice.err { background: color-mix(in srgb, var(--bad) 12%, var(--card)); color: var(--ink); }
.notice.err svg { color: var(--bad); }
.notice .actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }

/* ---- results ------------------------------------------------------------------------------ */
.results { padding: 8px 0 56px; }
.res-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; padding: 8px 0 20px; border-bottom: 1px solid var(--line); }
.res-head h2 { font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.25rem); letter-spacing: -.035em; }
.res-head h2 .ok { color: var(--ok); }
.res-sub { margin-top: 6px; color: var(--muted); font-size: .9375rem; font-variant-numeric: tabular-nums; }
.res-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.switch { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; font-size: .875rem; font-weight: 500; cursor: pointer; user-select: none; }
.switch input { appearance: none; -webkit-appearance: none; margin: 0; width: 36px; height: 22px; border-radius: 999px; background: var(--line-2); position: relative; transition: background .15s; cursor: pointer; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.25); }
.switch input:checked { background: var(--ink); }
.switch input:checked::after { transform: translateX(14px); }

.qpanel { padding: 20px 0 8px; }
.qpanel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 12px; }
.qpanel-head h3 { font-size: 1rem; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }

.sec-label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: 32px 0 14px; font-size: 1.125rem; }
.sec-label small { font: 500 .8125rem var(--mono); color: var(--muted); letter-spacing: 0; }
.sec-label .count { font: 600 .8125rem var(--mono); color: var(--muted); }

.matches { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.match {
  display: grid; grid-template-columns: 264px 1fr auto; gap: 8px 22px; align-items: start;
  padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.match.top { border-color: color-mix(in srgb, var(--ok) 55%, var(--line)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 10%, transparent); }
.thumb {
  position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden;
  background: var(--bg-2); text-decoration: none; isolation: isolate;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: filter .2s, transform .2s; }
.thumb .dur { position: absolute; right: 6px; bottom: 6px; padding: 1px 6px; border-radius: 4px; background: rgba(0,0,0,.72); color: #fff; font: 500 .75rem/1.5 var(--mono); z-index: 2; }
.veil { position: absolute; inset: 0; display: none; place-items: center; z-index: 1; color: #fff; font-size: .8125rem; font-weight: 600; background: rgba(0,0,0,.12); }
.veil span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(0,0,0,.55); backdrop-filter: blur(4px); }
.veil svg { width: 14px; height: 14px; }
.results:not(.reveal) .thumb.nsfw:not(.shown) img { filter: blur(18px) saturate(.7); transform: scale(1.15); }
.results:not(.reveal) .thumb.nsfw:not(.shown) .veil { display: grid; }

.m-site { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .875rem; }
.m-site b { color: var(--ink-2); font-weight: 600; }
.site-chip { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 5px; background: var(--ink); color: var(--bg); font: 700 .6875rem/1 var(--mono); text-transform: uppercase; }
.m-title { margin-top: 6px; font-size: 1.0625rem; font-weight: 620; letter-spacing: -.012em; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.m-title a { text-decoration: none; }
.m-title a:hover { text-decoration: underline; color: var(--ink); }
.m-facts { margin-top: 8px; color: var(--muted); font-size: .9375rem; font-variant-numeric: tabular-nums; }
.m-facts b { color: var(--ink); font-weight: 600; }
.m-line { position: relative; height: 10px; margin-top: 12px; border-radius: 5px; background: var(--bg-2); overflow: hidden; }
.m-line i { position: absolute; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: var(--line-2); }
.m-line i.hit { background: var(--ok); width: 4px; }
.m-actions { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-top: 14px; }
.score { text-align: right; min-width: 104px; }
.score .n { font: 680 2.5rem/1 var(--font); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.score .of { font: 500 .8125rem var(--mono); color: var(--muted); }
.score .v { display: inline-block; margin-top: 8px; padding: 2px 8px; border-radius: 999px; font: 600 .6875rem/1.6 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.score.confident .n { color: var(--ok); }
.score.confident .v { background: var(--ok-soft); color: var(--ok); }
.score.likely .n { color: var(--warn); }
.score.likely .v { background: var(--warn-soft); color: var(--warn); }
.meter { height: 4px; margin-top: 10px; border-radius: 2px; background: var(--bg-2); overflow: hidden; }
.meter i { display: block; height: 100%; background: currentColor; width: calc(var(--v, 0) * 1%); }
.score.confident .meter { color: var(--ok); }
.score.likely .meter { color: var(--warn); }

.evidence { grid-column: 1 / -1; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.evidence p { color: var(--muted); font-size: .875rem; }
.pairs { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; margin-top: 12px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px; border-radius: var(--r); background: var(--bg-2); }
.pair figure { margin: 0; }
.pair .thumb { border-radius: 6px; }
.pair figcaption { margin-top: 4px; font: .75rem var(--mono); color: var(--muted); }
.pair .why { grid-column: 1 / -1; font: .75rem/1.5 var(--mono); color: var(--ink-2); padding: 2px 2px 0; }
.pair .why b { color: var(--ok); font-weight: 600; }

@media (max-width: 760px) {
  .match { grid-template-columns: 1fr auto; padding: 12px; }
  .match > .thumb { grid-column: 1 / -1; }
  .score { min-width: 0; }
  .score .n { font-size: 2rem; }
  .pairs { grid-template-columns: 1fr; }
}

.similar { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.sim { min-width: 0; }
.sim .m-site { margin-top: 8px; font-size: .8125rem; }
.sim .t { margin-top: 2px; font-size: .9375rem; font-weight: 560; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.sim .t a { text-decoration: none; }
.sim .s { margin-top: 4px; color: var(--muted); }
.sim .s b { color: var(--ink-2); font-weight: 600; }
.sim .s b.strong { color: var(--warn); }
.sim .s .part { white-space: nowrap; }
@media (max-width: 480px) { .similar { grid-template-columns: 1fr 1fr; gap: 12px; } }

/* pictures several indexed videos share (studio intro / outro cards): a lead about who made it */
.sgroups { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.sgroup {
  display: grid; grid-template-columns: 176px minmax(0, 1fr); gap: 12px 20px; align-items: start;
  padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.sg-frames { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-width: 0; }
.sg-frames figure { margin: 0; width: 100%; }
.sg-frames.multi figure { width: calc(50% - 3px); }
.sg-frames .fr { position: relative; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; background: var(--bg-2); outline: 2px dotted var(--info); outline-offset: -2px; }
.sg-frames img { width: 100%; height: 100%; object-fit: cover; }
.sg-frames figcaption { margin-top: 4px; color: var(--muted); font-size: .75rem; }
.sg-extra { color: var(--muted); font-size: .75rem; }
.sg-line { color: var(--ink-2); font-size: .9375rem; }
.sg-line b { color: var(--ink); font-weight: 600; }
.sg-note { margin-top: 8px; color: var(--muted); font-size: .875rem; }
.sg-videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px 18px; margin: 12px 0 0; padding: 0; list-style: none; }
.sg-video { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; align-items: center; }
.sg-video .thumb { border-radius: 6px; }
.sg-video .veil { font-size: .6875rem; }
.sg-video .veil span { gap: 4px; padding: 3px 7px; }
.sg-video .veil svg { width: 12px; height: 12px; }
.sg-video .m-site { font-size: .8125rem; }
.sg-video .t { margin-top: 2px; font-size: .875rem; font-weight: 560; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.sg-video .t a { text-decoration: none; }
.sg-video .t a:hover { text-decoration: underline; color: var(--ink); }
.sg-more { display: flex; align-items: center; min-height: 36px; }
@media (max-width: 560px) {
  .sgroup { grid-template-columns: minmax(0, 1fr); padding: 12px; }
  .sg-frames figure, .sg-frames.multi figure { width: 120px; }
  .sg-videos { grid-template-columns: minmax(0, 1fr); }
}

.empty { padding: 28px; border: 1px dashed var(--line-2); border-radius: var(--r-lg); background: var(--card); }
.empty h3 { font-size: 1.25rem; }
.empty p { margin-top: 8px; color: var(--ink-2); max-width: 640px; }
.empty ul { margin: 14px 0 0; padding-left: 18px; color: var(--ink-2); }
.empty li + li { margin-top: 4px; }

.faces-sec .faces { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.face-card .thumb { aspect-ratio: 1; }

/* ---- page sections -------------------------------------------------------------------------- */
.band { padding: 72px 0; border-top: 1px solid var(--line); }
.band-tight { padding: 48px 0; }
.band-alt { background: var(--bg-2); }
.eyebrow { font: 500 .8125rem/1.4 var(--mono); color: var(--muted); margin-bottom: 14px; }
.band h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.625rem); letter-spacing: -.035em; max-width: 760px; }
.band .intro { margin-top: 14px; max-width: 640px; font-size: 1.0625rem; color: var(--ink-2); }
@media (max-width: 560px) { .band { padding: 52px 0; } }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; counter-reset: s; }
.step3 { padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); counter-increment: s; }
.step3::before { content: "0" counter(s); display: block; font: 600 .8125rem var(--mono); color: var(--accent-ink); }
.step3 h3 { margin-top: 14px; font-size: 1.1875rem; }
.step3 p { margin-top: 8px; color: var(--ink-2); font-size: .9375rem; }
.step3 svg { width: 100%; height: auto; margin-top: 18px; color: var(--ink-2); }
@media (max-width: 860px) { .steps3 { grid-template-columns: 1fr; } }

.illus { width: 100%; height: auto; color: var(--ink-2); }
.illus .a { fill: var(--accent); }
.illus .ok { stroke: var(--ok); }
.illus .okf { fill: var(--ok); }
.illus .fr { fill: var(--card); stroke: var(--line-2); }
.illus .sh { fill: var(--line); }
.illus .ln { stroke: var(--line-2); }
.illus text { font: 500 11px var(--mono); fill: var(--muted); }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.compare > div { padding: 20px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.compare h3 { display: flex; align-items: center; gap: 10px; font-size: 1.0625rem; }
.compare p { margin-top: 8px; color: var(--ink-2); font-size: .9375rem; }
.pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font: 600 .6875rem/1.6 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.neutral { background: var(--bg-2); color: var(--muted); border: 1px solid var(--line); }
@media (max-width: 560px) { .compare { grid-template-columns: 1fr; } }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 36px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); overflow: hidden; }
.stat { padding: 22px 24px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat .n { font: 680 clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem)/1 var(--font); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.stat .l { margin-top: 8px; color: var(--muted); font-size: .9375rem; }
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding: 0; list-style: none; }
.chips li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: .875rem; color: var(--ink-2); }

.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.lcard { display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); text-decoration: none; transition: border-color .15s, transform .15s; }
a.lcard:hover { border-color: var(--ink-2); color: var(--ink); transform: translateY(-2px); }
.lcard h3 { font-size: 1.125rem; }
.lcard p { color: var(--ink-2); font-size: .9375rem; }
.lcard .go { margin-top: auto; padding-top: 8px; font: 600 .8125rem var(--mono); color: var(--accent-ink); }
@media (max-width: 860px) { .cards3 { grid-template-columns: 1fr; } }

.faq { margin-top: 28px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 2px; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.0625rem; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq .a { padding: 0 2px 20px; color: var(--ink-2); max-width: 720px; }

.prose { padding: 48px 0 72px; }
.prose h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3rem); letter-spacing: -.04em; }
.prose .lede { margin-left: 0; }
.prose h2 { margin-top: 44px; font-size: 1.5rem; letter-spacing: -.025em; }
.prose h3 { margin-top: 28px; font-size: 1.125rem; }
.prose p, .prose ul, .prose ol { margin-top: 14px; color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 20px; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--ink); }
.prose code { font: .875em var(--mono); background: var(--bg-2); padding: 1px 5px; border-radius: 4px; }
.prose .illus { margin-top: 20px; }
.callout { margin-top: 24px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.callout p:first-child { margin-top: 0; }

.crumbs { display: flex; gap: 8px; margin-bottom: 20px; font-size: .875rem; color: var(--muted); list-style: none; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

.page-hero { padding: 40px 0 36px; }
.page-hero h1 { font-size: clamp(2.1rem, 1.2rem + 3.4vw, 3.5rem); line-height: 1.02; letter-spacing: -.045em; max-width: 860px; }
.page-hero .lede { margin-left: 0; max-width: 680px; }
.page-hero .tool { margin-top: 28px; }
.page-hero .assure { justify-content: flex-start; }
@media (max-width: 560px) { .page-hero { padding: 24px 0 28px; } }

/* ---- footer ------------------------------------------------------------------------------- */
.site-foot { border-top: 1px solid var(--line); padding: 48px 0 32px; color: var(--ink-2); font-size: .9375rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h2 { font-size: .8125rem; font-family: var(--mono); font-weight: 500; color: var(--muted); letter-spacing: 0; margin-bottom: 12px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { text-decoration: underline; }
.foot-about p { margin-top: 12px; color: var(--muted); max-width: 300px; }
.adult { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 4px 10px 4px 4px; border: 1px solid var(--line); border-radius: 999px; font-size: .8125rem; color: var(--muted); }
.adult b { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: var(--bg); font: 700 .75rem/1 var(--mono); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8125rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-about { grid-column: 1 / -1; } }

/* ---- overlays ------------------------------------------------------------------------------- */
.dropzone-all {
  position: fixed; inset: 0; z-index: 60; display: grid; place-items: center;
  background: var(--scrim); backdrop-filter: blur(3px); pointer-events: none;
  opacity: 0; transition: opacity .12s;
}
.dropzone-all.on { opacity: 1; }
.dropzone-all div { padding: 28px 36px; border: 2px dashed #fff; border-radius: 20px; color: #fff; font-size: 1.375rem; font-weight: 650; letter-spacing: -.015em; }

dialog.gate {
  width: min(100% - 32px, 440px); padding: 28px; border: 1px solid var(--line); border-radius: 20px;
  background: var(--card); color: var(--ink); box-shadow: var(--shadow);
}
dialog.gate::backdrop { background: var(--scrim); backdrop-filter: blur(6px); }
dialog.gate h2 { font-size: 1.5rem; letter-spacing: -.03em; }
dialog.gate p { margin-top: 10px; color: var(--ink-2); }
dialog.gate .row { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
dialog.gate .row .btn { flex: 1 1 160px; }
dialog.gate .fine { margin-top: 14px; font-size: .8125rem; color: var(--muted); }
.age-badge { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--bg); font: 700 .9375rem var(--mono); margin-bottom: 16px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

.prose.flush { padding: 0; }

/* ---- small pieces used by the scripts ---- */
.ico { display: inline-flex; }
.ico svg { width: 16px; height: 16px; }
.job-id { min-width: 0; }
.probe-video { position: fixed; left: 0; bottom: 0; width: 2px; height: 2px; opacity: 0; pointer-events: none; z-index: -1; }
.steps li.wait::after { width: 38%; animation: wait 1.1s ease-in-out infinite alternate; }
@keyframes wait { from { left: 0; } to { left: 62%; } }

/* ---- removal form (/remove-content) and the bot check ---------------------------------------------- */
.removal-form { display: grid; gap: 8px; margin: 20px 0 28px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); }
.removal-form label { font-weight: 600; font-size: .92rem; margin-top: 6px; }
.removal-form .req { font-weight: 400; color: var(--muted); font-size: .82rem; margin-left: 4px; }
.removal-form textarea, .removal-form input { width: 100%; box-sizing: border-box; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 10px 12px; }
.removal-form textarea { resize: vertical; min-height: 96px; }
.removal-form .row { margin-top: 8px; }
.removal-form button[disabled] { opacity: .6; cursor: progress; }
.form-status { min-height: 1.4em; margin: 4px 0 0; color: var(--ink-2); }
.form-status.err { color: var(--bad); }
.turnstile { min-height: 0; }
.turnstile:not(:empty) { margin-top: 8px; }
.tool .turnstile:not(:empty) { margin: 10px 0 0; }
