/* Bot IP verifier (views/tool-bot-check.ejs).
   The form is a console bar; the verdict is a ruled evidence ledger in the landing hero's style
   (home-hero.css .ledger / .lrow), with a colour stamp for the verdict. */

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; font: 400 0.8rem/1.4 var(--font-mono); color: var(--faint); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--text); }

.vb-hero { padding-bottom: 40px; }
.vb-hero .h1 { max-width: 16ch; }

/* ---------- form ---------- */
.vb-form { margin-top: clamp(28px, 4vw, 44px); max-width: 960px; }
.vb-form__grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: 14px; align-items: start;
  padding: 18px; border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: var(--surface);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.vb-form__grid:focus-within { border-color: rgba(200, 245, 66, 0.4); box-shadow: 0 0 0 4px rgba(200, 245, 66, 0.06); }
.vb-form__go { align-self: end; min-height: 48px; }
.vb-form .label { font: 400 0.72rem/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.vb-form .label .faint { text-transform: none; letter-spacing: 0; }
.vb-form__ip .input { font-size: 1.05rem; caret-color: var(--signal); }

.vb-ua { margin-top: 12px; }
.vb-ua summary {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none;
  font: 400 0.82rem/1.4 var(--font-mono); color: var(--muted);
}
.vb-ua summary::-webkit-details-marker { display: none; }
.vb-ua summary::before { content: "+"; color: var(--signal); width: 1ch; }
.vb-ua[open] summary::before { content: "−"; }
.vb-ua summary:hover { color: var(--text); }
.vb-ua .field { margin-top: 10px; }
.vb-ua__input { min-height: 72px; font-size: 0.86rem; }

.vb-examples { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.vb-examples__label { font: 400 0.72rem/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin-right: 4px; }
.vb-example { text-decoration: none; display: inline-flex; gap: 8px; align-items: baseline; }
.vb-example .faint { font-size: 0.72rem; }

/* ---------- verdict ---------- */
.vb-result-wrap { padding-top: 8px; }
.verdict {
  --c: var(--faint);
  position: relative; border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: var(--surface);
  overflow: hidden; animation: vbIn 0.45s var(--ease) both;
}
.verdict::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--c); }
.verdict--ok { --c: var(--ok); }
.verdict--danger { --c: var(--danger); }
.verdict--warn { --c: var(--warn); }
.verdict--none { --c: var(--line-3); }
.verdict__head { padding: clamp(22px, 3vw, 34px) clamp(20px, 3vw, 36px) 22px; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 7%, transparent), transparent 70%); border-bottom: 1px solid var(--line-2); }
.verdict__stamp {
  display: inline-flex; align-items: center; gap: 9px; margin: 0 0 14px; padding: 6px 10px 5px; border-radius: 6px;
  font: 500 0.74rem/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent);
}
.verdict--none .verdict__stamp { color: var(--muted); }
.verdict__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 22%, transparent); }
.verdict__title { margin: 0; font: 700 clamp(1.5rem, 3.2vw, 2.3rem)/1.08 var(--font-display); letter-spacing: -0.025em; text-wrap: balance; }
.verdict__summary { margin: 12px 0 0; max-width: 62ch; color: var(--muted); font-size: 1.02rem; line-height: 1.55; overflow-wrap: anywhere; }

.verdict__more { margin: 12px 0 0; font-size: 0.9rem; }
.verdict__ledger { margin: 0; padding: 0 clamp(20px, 3vw, 36px); list-style: none; }
.vrow {
  display: grid; grid-template-columns: 34px 110px minmax(0, 1fr); column-gap: 18px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font: 400 0.86rem/1.5 var(--font-mono); color: var(--muted);
}
.vrow:last-child { border-bottom: 0; }
.vrow__no { color: var(--faint); font-size: 0.74rem; }
.vrow__k { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.vrow__v { min-width: 0; overflow-wrap: anywhere; }
.vrow__v code { font: inherit; color: var(--text); }
.vrow__ip { font-size: 0.95rem; font-weight: 500; }
.vrow__who { display: block; color: var(--text); font: 500 0.95rem/1.35 var(--font-body); }
.vrow__op { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 3px; transition: text-decoration-color 0.2s; }
.vrow__op:hover { text-decoration-color: var(--signal); }
a.vrow__who { width: fit-content; }
.vrow__proof { display: block; margin-top: 4px; font-size: 0.8rem; color: var(--faint); }
.vrow__proof a { color: inherit; text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 3px; }
.vrow__proof a:hover { text-decoration-color: var(--signal); }
.vrow__ok { color: var(--signal); font-style: normal; white-space: nowrap; }
.vrow__fwd { margin-left: 6px; }
.vrow__fwd--bad { color: var(--danger); }
.vrow--ai .vrow__k { color: var(--ai); } .vrow--crawler .vrow__k { color: var(--crawler); } .vrow--scanner .vrow__k { color: var(--scanner); }
.vrow--other .vrow__who::after { content: " — a different operator"; color: var(--danger); font: 400 0.78rem/1 var(--font-mono); }
.vrow__flags { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.vflag { white-space: nowrap; font-size: 0.8rem; }
.vflag code { color: var(--faint) !important; }
.vflag b { margin-left: 4px; padding: 2px 6px 1px; border-radius: 5px; font-weight: 500; color: var(--faint); background: rgba(236, 239, 233, 0.05); }
.vflag.is-true b { color: var(--signal); background: var(--signal-soft); }

.verdict__foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px clamp(20px, 3vw, 36px); border-top: 1px solid var(--line-2); font-size: 0.78rem;
}

@keyframes vbIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- operator card ---------- */
.vb-op__link { color: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--signal) 45%, transparent); text-underline-offset: 3px; }
.vb-op__link:hover { text-decoration-color: var(--signal); }
.vb-op__more { margin: 12px 0 0; font-size: 0.9rem; }
.vb-op .h3 { margin: 6px 0 8px; }
.vb-op .muted { margin: 0; max-width: 70ch; }
.vb-op__facts { display: grid; gap: 10px; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.vb-op__facts > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.vb-op__facts dt { font: 400 0.7rem/1.4 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.vb-op__facts dd { margin: 0; font-size: 0.86rem; overflow-wrap: anywhere; }
.vb-op__facts code { font: 400 0.86rem/1.4 var(--font-mono); color: var(--text); }

/* ---------- explainer ---------- */
.vb-methods { margin-top: 8px; }
.vb-method__tag { display: inline-block; margin: 0 0 14px; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--signal); }
.vb-method .h4 { margin: 0 0 10px; }
.vb-method .muted { margin: 0; line-height: 1.6; }
.vb-method__eg { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.78rem; color: var(--muted); overflow-wrap: anywhere; }
.vb-more { margin: 36px 0 12px; color: var(--muted); }
.vb-reading { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.vb-reading li { border-bottom: 1px solid var(--line); }
.vb-reading a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 2px; color: var(--text); text-decoration: none; transition: color 0.2s, padding 0.25s var(--ease); }
.vb-reading a:hover { color: var(--signal); padding-left: 8px; }

.vb-faq__layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: start; }

.vb-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 32px; }
.vb-cta .h3 { margin: 6px 0 8px; }
.vb-cta .muted { margin: 0; max-width: 60ch; }
.vb-limit { margin: 18px 0 0; font-size: 0.76rem; text-align: center; }

@media (max-width: 860px) {
  .vb-form__grid { grid-template-columns: 1fr; }
  .vb-form__go { width: 100%; justify-content: center; }
  .vb-faq__layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .vrow { grid-template-columns: minmax(0, 1fr); row-gap: 4px; }
  .vrow__no { display: none; }
  .vb-op__facts > div { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .verdict { animation: none; }
  .vb-reading a { transition: none; }
}
/* Bigger tap targets for breadcrumb links on touch widths, without moving the layout. */
@media (max-width: 768px) {
  .crumbs a { padding: 12px 4px; margin: -12px -4px; }
}
/* The operator card's kicker wraps a link: keep it one flowing line instead of flex columns. */
.vb-op > .kicker { display: block; line-height: 1.5; }
@media (max-width: 768px) {
  .vb-example { min-height: 40px; align-items: center; }
  .vb-ua summary { min-height: 40px; }
}
.vb-hero .lede { text-wrap: pretty; }
.vrow__v .faint code { white-space: nowrap; }
.vb-result-wrap + .section { padding-top: 8px; }
