/* Who-hosts.com — the request route drawn like a transit line.
   Each layer of a website has its own line colour, used for the route stops
   and for the matching detail sections. */

@font-face { font-family: 'Barlow'; src: url('/fonts/barlow-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('/fonts/barlow-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('/fonts/barlow-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('/fonts/barlow-condensed-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('/fonts/barlow-condensed-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* Colours of the original who-hosts.com: dark wood frame, white card, grey ink, lime green, link blue */
  --wood: #140d07;
  --paper: #ffffff;
  --paper-2: #f2f2f2;
  --paper-3: #e6e6e6;
  --ink: #262626;
  --ink-2: #5e5e5e;
  --ink-3: #858585;
  --rule: #e0e0e0;
  --logo: #424242;
  --logo-disc: #e9e9e9;
  --green: #8fd13b;
  --green-hover: #81c32d;
  --on-green: #1b2709;
  --accent: #256ab0;
  --dash: #cfcfcf;
  --badge: #424242;
  --on-badge: #f4f4f4;

  --line-registry: #7a5af8;
  --line-dns: #256ab0;
  --line-edge: #e07f00;
  --line-host: #6fb52a;
  --line-mail: #d6336c;
  --line-quiet: #a0a0a0;

  --good: #2f7d12;
  --warn: #a35f00;
  --bad: #c2294f;
  --focus: #256ab0;

  --font: 'Barlow', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Barlow Condensed', 'Barlow', ui-sans-serif, system-ui, sans-serif;
  --font-data: ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 40px);
  --page: 1120px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --wood: #0a0603;
    --paper: #1a1a1a;
    --paper-2: #262626;
    --paper-3: #303030;
    --ink: #ececec;
    --ink-2: #b2b2b2;
    --ink-3: #8c8c8c;
    --rule: #333333;
    --logo: #e3e3e3;
    --logo-disc: #2c2c2c;
    --green: #9ad84a;
    --green-hover: #aee266;
    --on-green: #10180a;
    --accent: #79b0ea;
    --dash: #4a4a4a;
    --badge: #3c3c3c;
    --on-badge: #f2f2f2;
    --line-registry: #a08bff;
    --line-dns: #79b0ea;
    --line-edge: #ffb03c;
    --line-host: #9ad84a;
    --line-mail: #ff6f9c;
    --line-quiet: #6a6a6a;
    --good: #8fd65a;
    --warn: #ffc163;
    --bad: #ff7f9d;
    --focus: #79b0ea;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  font-feature-settings: 'kern', 'liga';
  /* dark wood, vertical grain */
  background-color: var(--wood);
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 228, 190, 0.026) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.32) 0 2px, transparent 2px 19px),
    repeating-linear-gradient(90deg, rgba(255, 214, 160, 0.03) 0 11px, transparent 11px 43px);
  --frame: clamp(8px, 2.2vw, 28px);
}

.sheet {
  width: calc(100% - 2 * var(--frame));
  max-width: calc(var(--page) + 2 * var(--gutter));
  min-height: calc(100vh - 2 * var(--frame));
  margin: var(--frame) auto;
  background: var(--paper);
  border-radius: clamp(16px, 2.4vw, 26px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { margin: 0; font-weight: 600; }
p { margin: 0; }
code, .data { font-family: var(--font-data); font-size: 0.86em; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 10; }
.skip-link:focus { left: 8px; }

/* ---------------------------------------------------------------- header & footer */

.masthead, #app, .colophon { width: 100%; max-width: var(--page); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.masthead { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--logo); min-width: 0; }
.brand-house { width: 84px; height: 70px; flex: none; }
.house-disc { fill: var(--logo-disc); }
.house-roof { fill: none; stroke: var(--logo); stroke-width: 8.5; stroke-miterlimit: 10; }
.house-ink { fill: var(--logo); }
.house-door { fill: var(--green); }
.brand-text { display: grid; gap: 6px; }
.brand-word { font-weight: 500; font-size: 36px; line-height: 1; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }
.brand-who { color: var(--logo); }
.brand-hosts { color: var(--green); }
.brand-tag { font-size: 14px; line-height: 1; letter-spacing: 0.42em; color: var(--ink-3); white-space: nowrap; }
@media (max-width: 900px) { .brand-house { width: 64px; height: 54px; } .brand-word { font-size: 28px; } .brand-tag { font-size: 12px; } }
.mainnav { display: flex; gap: 4px; }
.mainnav a { text-decoration: none; font-weight: 500; font-size: 16px; padding: 8px 10px; border-radius: 6px; color: var(--ink-2); white-space: nowrap; }
.mainnav a:hover { color: var(--ink); background: var(--paper-2); }
.mainnav a[aria-current='page'] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--green); border-radius: 0; }
@media (max-width: 560px) {
  .mainnav a[data-route='home'] { display: none; }
  .brand { gap: 9px; }
  .brand-house { width: 46px; height: 39px; }
  .brand-word { font-size: 20px; letter-spacing: 0.13em; }
  .brand-tag { font-size: 10px; letter-spacing: 0.34em; }
}
@media (max-width: 400px) {
  .masthead { gap: 6px; }
  .brand-house { width: 40px; height: 34px; }
  .brand-word { font-size: 18px; letter-spacing: 0.1em; }
  .brand-tag { letter-spacing: 0.24em; }
  .mainnav a { padding: 8px 5px; font-size: 15px; }
}

#app { flex: 1; padding-bottom: 72px; outline: none; }

.colophon { border-top: 1px solid var(--rule); padding-top: 24px; padding-bottom: 40px; color: var(--ink-2); font-size: 15px; display: grid; gap: 10px; }
.colophon p { max-width: 70ch; }
.colophon-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.colophon-credit { font-size: 14px; }

/* ---------------------------------------------------------------- shared pieces */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 16px/1 var(--font); color: var(--ink); background: transparent;
  border: 2px solid var(--ink); border-radius: 8px; padding: 11px 16px; cursor: pointer;
  text-decoration: none; min-height: 44px;
}
.btn:hover { background: var(--paper-2); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn.primary { background: var(--green); border-color: var(--green); color: var(--on-green); }
.btn.primary:hover { background: var(--green-hover); border-color: var(--green-hover); }
.btn.small { font-size: 15px; padding: 8px 12px; min-height: 38px; border-width: 1.5px; }

.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; line-height: 1.2; padding: 5px 10px; border-radius: 6px; background: var(--paper-2); color: var(--ink); text-decoration: none; }
a.chip:hover { background: var(--paper-3); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.muted { color: var(--ink-2); }
.small { font-size: 15px; }
.good { color: var(--good); }
.warn { color: var(--warn); }
.bad { color: var(--bad); }

.notice { border-left: 4px solid var(--warn); background: var(--paper-2); padding: 12px 16px; border-radius: 0 8px 8px 0; margin: 20px 0 0; max-width: 72ch; }
.notice.error { border-color: var(--bad); }

/* Turnstile check for counted searches: invisible unless Cloudflare asks the visitor to click. */
.human-check { position: fixed; right: 16px; bottom: 16px; z-index: 30; }
.human-check:empty { display: none; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; font-weight: 500; z-index: 20; }

/* ---------------------------------------------------------------- search */

.search { display: flex; gap: 10px; width: 100%; max-width: 720px; }
.search-label { align-self: center; font-size: 19px; color: var(--ink-2); white-space: nowrap; }
@media (max-width: 560px) { .search:not(.compact) { flex-wrap: wrap; } .search-label { flex-basis: 100%; font-size: 17px; } }
.search input {
  flex: 1; min-width: 0; font: 500 20px/1.2 var(--font); color: var(--ink); background: var(--paper);
  border: 2px solid var(--ink); border-radius: 10px; padding: 14px 16px; min-height: 58px;
}
.search input::placeholder { color: var(--ink-3); }
.search .btn { min-height: 58px; padding: 0 22px; font-size: 18px; border-radius: 10px; }
.search.compact input { font-size: 17px; min-height: 46px; padding: 10px 14px; border-width: 1.5px; }
.search.compact .btn { min-height: 46px; font-size: 16px; padding: 0 16px; }
.search-error { color: var(--bad); font-weight: 500; margin-top: 10px; }

/* ---------------------------------------------------------------- home */

.hero { padding: clamp(24px, 6vw, 72px) 0 8px; }
.hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(50px, 11vw, 112px); line-height: 0.92; letter-spacing: -0.012em;
  max-width: 11ch; margin-bottom: 22px;
}
@media (min-width: 900px) { .hero h1 { max-width: 16ch; } }
.hero .lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-2); max-width: 54ch; margin-bottom: 28px; }
.examples { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15px; }
.examples .muted { margin-right: 4px; }

/* the sample route under the search box */
.lineup { position: relative; margin: 52px 0 8px; max-width: 820px; }
.lineup-track { position: absolute; left: 12px; right: 15px; top: 9px; height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, var(--line-registry) 0 33.3%, var(--line-dns) 33.3% 66.6%, var(--line-edge) 66.6%);
  transform-origin: left center; }
/* three equal spans: stops sit exactly at 0, ⅓, ⅔ and the end of the line */
.lineup-stops { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.lineup-stops li { grid-row: 1; justify-self: start; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 14px; color: var(--ink-2); }
.lineup-stops li:nth-child(1) { grid-column: 1; align-items: flex-start; text-align: left; }
.lineup-stops li:nth-child(2) { grid-column: 2; transform: translateX(-50%); }
.lineup-stops li:nth-child(3) { grid-column: 3; transform: translateX(-50%); }
.lineup-stops li:nth-child(4) { grid-column: 3; justify-self: end; align-items: flex-end; text-align: right; }
.lineup-dot { position: relative; width: 24px; height: 24px; border-radius: 50%; background: var(--paper); border: 5px solid var(--c); }
.lineup-stops li:last-child .lineup-dot { width: 30px; height: 30px; margin: -3px 0; background: var(--c); border-color: var(--c); display: grid; place-items: center; color: var(--on-green); font: 700 17px/1 var(--font-display); }
.lineup-stops strong { display: block; color: var(--ink); font-weight: 600; font-size: 16px; }
@media (max-width: 560px) { .lineup-desc { display: none; } }
@media (prefers-reduced-motion: no-preference) {
  .lineup-track { animation: draw 1.1s cubic-bezier(.6, 0, .2, 1) both; }
  .lineup-stops li { animation: arrive 0.4s ease-out both; }
  .lineup-stops li:nth-child(1) { animation-delay: 0.05s; }
  .lineup-stops li:nth-child(2) { animation-delay: 0.35s; }
  .lineup-stops li:nth-child(3) { animation-delay: 0.65s; }
  .lineup-stops li:nth-child(4) { animation-delay: 0.95s; }
}
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes arrive { from { opacity: 0; } to { opacity: 1; } }

.home-stats { display: grid; gap: 28px; margin-top: 64px; align-items: start; }
@media (min-width: 860px) { .home-stats { grid-template-columns: 1fr 1fr; gap: 32px; } }
.home-stats h2 { font-family: var(--font-display); font-size: 30px; font-weight: 600; margin-bottom: 4px; }
.badge-title {
  display: inline-block; background: var(--badge); color: var(--on-badge);
  font: 600 23px/1 var(--font-display); letter-spacing: 0.02em; padding: 10px 18px 11px;
  clip-path: polygon(9px 0, calc(100% - 9px) 0, 100% 9px, 100% calc(100% - 9px), calc(100% - 9px) 100%, 9px 100%, 0 calc(100% - 9px), 0 9px);
}
.home-stats h2.badge-title, .report-recent h2.badge-title { font-size: 23px; margin-bottom: 14px; }
.home-stats .sub { color: var(--ink-2); font-size: 15px; margin-bottom: 16px; }
.recent { list-style: none; margin: 0; padding: 0; }
.recent li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.recent a { font-weight: 600; overflow-wrap: anywhere; }
.recent span { color: var(--ink-2); text-align: right; font-size: 15px; }

.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bars li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; font-size: 16px; }
.bars a { font-weight: 600; text-decoration: none; color: var(--ink); }
.bars a:hover { text-decoration: underline; }
.bars .count { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.bars .bar { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: var(--paper-2); overflow: hidden; }
.bars .bar span { display: block; height: 100%; background: var(--line-host); border-radius: 4px; }

/* ---------------------------------------------------------------- report */

.report-top { padding-top: 12px; }
.report-head { padding: 28px 0 8px; }
.domain {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 8.5vw, 84px); line-height: 0.95; letter-spacing: -0.01em;
  overflow-wrap: anywhere; margin-bottom: 14px;
}
.domain .ask {
  display: block; font-family: var(--font); font-weight: 600; font-size: clamp(15px, 1.8vw, 18px);
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); line-height: 1.2; margin-bottom: 10px;
}
.domain .qmark { color: var(--ink-3); }
/* who-hosts.com's answer box: the one-line answer, right under the name */
.answer { max-width: 780px; border: 2px dashed var(--dash); border-radius: 12px; padding: 12px 18px 16px; }
.answer-label { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 4px; }
.verdict { font-size: clamp(20px, 2.6vw, 26px); line-height: 1.3; max-width: 38ch; font-weight: 500; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.badge { font-size: 14px; font-weight: 600; padding: 4px 9px; border-radius: 6px; border: 1.5px solid currentColor; }
.badge.plain { border-color: var(--rule); color: var(--ink-2); font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.checked { margin-top: 14px; color: var(--ink-2); font-size: 15px; }

.report-body { display: grid; gap: 48px; margin-top: 40px; }
@media (min-width: 960px) {
  .report-body { grid-template-columns: minmax(300px, 360px) minmax(0, 1fr); gap: 64px; }
  .route-col { position: sticky; top: 20px; align-self: start; }
}

/* the route — a vertical transit line */
.route-title { font-size: 15px; color: var(--ink-2); margin-bottom: 18px; font-weight: 500; }
.route { list-style: none; margin: 0; padding: 0; }
.stop { position: relative; padding: 0 0 30px 52px; min-height: 70px; }
.stop::before {
  content: ''; position: absolute; left: 14px; top: 16px; bottom: -16px; width: 6px; border-radius: 3px;
  background: var(--line); /* each section of track takes the colour of the stop it leaves */
}
.stop:last-child::before { display: none; }
.stop.after-unknown::before, .stop.dashed::before { background: repeating-linear-gradient(to bottom, var(--line-quiet) 0 7px, transparent 7px 13px); }
.stop-marker { position: absolute; left: 5px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--paper); border: 5px solid var(--line); }
.stop.terminus .stop-marker { left: 1px; top: -1px; width: 32px; height: 32px; background: var(--line); }
.stop.unknown .stop-marker { background: var(--paper); border-style: dashed; border-color: var(--line-quiet); display: grid; place-items: center; font: 700 15px/1 var(--font-display); color: var(--ink-2); }
.stop-role { font-size: 15px; color: var(--ink-2); }
.stop-name { font-family: var(--font-display); font-weight: 600; font-size: 28px; line-height: 1.1; overflow-wrap: anywhere; }
.stop.terminus .stop-name { font-size: 38px; font-weight: 700; }
.stop-name a { color: inherit; text-decoration: none; }
.stop-name a:hover { text-decoration: underline; }
.stop-detail { font-size: 15px; color: var(--ink-2); margin-top: 4px; overflow-wrap: anywhere; }
.stop-link { font-size: 14px; margin-top: 6px; display: inline-block; color: var(--ink-2); }

.branch { position: relative; margin-top: 14px; padding-left: 26px; }
.branch::before { content: ''; position: absolute; left: -35px; top: 11px; width: 38px; height: 4px; border-radius: 2px; background: var(--line-mail); }
.branch-marker { position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 4px solid var(--line-mail); }
.branch-role { font-size: 14px; color: var(--ink-2); }
.branch-name { font-weight: 600; font-size: 18px; line-height: 1.2; }

/* detail sections carry the colour of their stop */
.panel { border-left: 4px solid var(--line, var(--rule)); padding: 2px 0 2px 20px; margin-bottom: 52px; scroll-margin-top: 20px; }
.panel h2 { font-family: var(--font-display); font-weight: 600; font-size: 30px; line-height: 1.1; margin-bottom: 6px; }
.panel .intro { color: var(--ink-2); margin-bottom: 16px; max-width: 64ch; }
.panel h3 { font-size: 17px; font-weight: 600; margin: 22px 0 10px; }

.kv { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 9px 18px; margin: 0; }
.kv dt { color: var(--ink-2); font-size: 15px; padding-top: 1px; }
.kv dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { .kv { grid-template-columns: 1fr; gap: 2px; } .kv dd { margin-bottom: 10px; } }

.evidence { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.evidence li { overflow-wrap: anywhere; }

.ips { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.ips li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.ips li:first-child { border-top: 1px solid var(--rule); }
.ip-addr { font-family: var(--font-data); font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.ip-net { font-weight: 500; }
.ip-meta { color: var(--ink-2); font-size: 15px; overflow-wrap: anywhere; }
@media (min-width: 700px) { .ips li { grid-template-columns: minmax(150px, 0.8fr) 1.2fr; column-gap: 20px; } .ips li > :not(.ip-addr) { grid-column: 2; } .ip-addr { grid-row: 1 / span 3; } }

.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-family: var(--font-data); font-size: 14px; margin-bottom: 14px; }
.chain .sep { color: var(--ink-3); font-family: var(--font); }

.hops { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hops li { display: flex; gap: 10px; align-items: baseline; overflow-wrap: anywhere; font-size: 15px; }
.hops .code { font-weight: 600; font-variant-numeric: tabular-nums; min-width: 2.6em; }

.grade-row { display: flex; gap: 18px; align-items: flex-start; }
.grade { flex: none; width: 58px; height: 58px; border-radius: 10px; display: grid; place-items: center; font: 700 36px/1 var(--font-display); color: var(--paper); background: var(--ink-3); }
.grade.g-a, .grade.g-b { background: var(--good); }
.grade.g-c, .grade.g-d { background: var(--warn); }
.grade.g-e, .grade.g-f { background: var(--bad); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; font-size: 15px; }
.checks .ok::before { content: '✓'; color: var(--good); font-weight: 700; display: inline-block; width: 1.3em; }
.checks .no::before { content: '✗'; color: var(--bad); font-weight: 700; display: inline-block; width: 1.3em; }

.techs { display: grid; gap: 12px; }
.tech-group { display: grid; grid-template-columns: minmax(110px, 30%) 1fr; gap: 8px 16px; align-items: start; }
.tech-group .cat { color: var(--ink-2); font-size: 15px; padding-top: 4px; }
@media (max-width: 520px) { .tech-group { grid-template-columns: 1fr; gap: 4px; } }

details.records { margin-top: 18px; }
details.records summary { cursor: pointer; font-weight: 600; padding: 6px 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 8px; }
.records table { border-collapse: collapse; width: 100%; font-size: 14px; }
.records th, .records td { text-align: left; padding: 7px 10px 7px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.records td.val { font-family: var(--font-data); font-size: 13px; overflow-wrap: anywhere; min-width: 220px; }
.records th { color: var(--ink-2); font-weight: 500; }

/* loading */
.loading .stop-marker { animation: pulse 1.2s ease-in-out infinite; }
.loading .stop:nth-child(2) .stop-marker { animation-delay: 0.2s; }
.loading .stop:nth-child(3) .stop-marker { animation-delay: 0.4s; }
.loading .stop:nth-child(4) .stop-marker { animation-delay: 0.6s; }
.skeleton { display: block; height: 14px; border-radius: 4px; background: var(--paper-2); }
.skeleton.wide { width: 70%; height: 26px; margin-top: 6px; }
.loading-step { margin-top: 10px; color: var(--ink-2); min-height: 1.5em; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .loading .stop-marker { animation: none; } }

/* ---------------------------------------------------------------- bulk */

.page-head { padding: clamp(24px, 5vw, 56px) 0 24px; }
.page-head h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(42px, 8vw, 80px); line-height: 0.95; margin-bottom: 14px; max-width: 18ch; }
.page-head p { color: var(--ink-2); max-width: 60ch; font-size: 19px; }

.bulk-form textarea {
  width: 100%; max-width: 720px; min-height: 180px; font: 15px/1.6 var(--font-data); color: var(--ink);
  background: var(--paper); border: 2px solid var(--ink); border-radius: 10px; padding: 12px 14px; resize: vertical;
}
.bulk-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; align-items: center; }
.bulk-status { margin-top: 16px; color: var(--ink-2); min-height: 1.5em; }

.bulk-table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 15px; }
.bulk-table th { text-align: left; font-weight: 500; color: var(--ink-2); padding: 8px 12px 8px 0; border-bottom: 2px solid var(--ink); }
.bulk-table td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); vertical-align: top; overflow-wrap: anywhere; }
.bulk-table td:first-child a { font-weight: 600; }
.bulk-table .pending { color: var(--ink-3); }
@media (max-width: 760px) {
  .bulk-table thead { position: absolute; left: -9999px; }
  .bulk-table tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .bulk-table td { display: grid; grid-template-columns: 110px 1fr; gap: 10px; border: 0; padding: 3px 0; }
  .bulk-table td::before { content: attr(data-label); color: var(--ink-2); }
  .bulk-table td:first-child { display: block; font-size: 18px; padding-bottom: 6px; }
  .bulk-table td:first-child::before { content: none; }
}

/* ---------------------------------------------------------------- developers */

.doc { max-width: 76ch; }
.doc h2 { font-family: var(--font-display); font-weight: 600; font-size: 30px; margin: 40px 0 10px; }
.doc p { margin-bottom: 12px; }
.doc pre { background: var(--paper-2); border-radius: 8px; padding: 14px 16px; overflow-x: auto; font: 14px/1.55 var(--font-data); margin: 0 0 16px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; margin-bottom: 16px; }
.doc th, .doc td { text-align: left; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.doc th { color: var(--ink-2); font-weight: 500; }

/* ---------------------------------------------------------------- provider */

.sites { list-style: none; margin: 0; padding: 0; columns: 2 260px; column-gap: 40px; }
.sites li { break-inside: avoid; padding: 8px 0; border-bottom: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 12px; }
.sites a { font-weight: 600; overflow-wrap: anywhere; }
.sites span { color: var(--ink-2); font-size: 14px; white-space: nowrap; }

/* ---------------------------------------------------------------- last / most searched */

.searches { width: 100%; border-collapse: collapse; font-size: 16px; }
.searches th {
  text-align: left; font-weight: 600; font-size: 17px; font-variant-caps: small-caps; letter-spacing: 0.03em; color: var(--ink-2);
  padding: 4px 12px 11px 0;
  background: repeating-linear-gradient(-60deg, var(--ink-2) 0 1.1px, transparent 1.1px 4px) left bottom / 100% 5px no-repeat;
}
.searches th + th, .searches td + td { border-left: 1.5px dotted var(--ink-3); padding-left: 12px; }
.searches td { padding: 9px 12px 9px 0; border-bottom: 1px solid var(--rule); vertical-align: top; overflow-wrap: anywhere; }
.searches td.site { min-width: 9em; }
.searches td.site a { font-weight: 600; text-decoration: none; }
.searches td.site a:hover { text-decoration: underline; }
.searches td:nth-child(2) { color: var(--ink-2); }
.searches .num { text-align: right; padding-right: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 560px) { .searches { font-size: 15px; } .searches th { font-size: 15px; } }

.more { margin-top: 12px; font-size: 15px; }
.report-recent:not(:empty) { margin-top: 8px; max-width: 760px; }
.report-recent h2 { font-family: var(--font-display); font-size: 30px; font-weight: 600; margin-bottom: 10px; }
.page-head + .table-scroll { max-width: 860px; }

.noscript { margin-top: 16px; }
#ssr h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 8vw, 80px); line-height: 0.95; margin: 32px 0 14px; }
#ssr ul { padding-left: 20px; }
