:root {
  color-scheme: dark;
  --bg: #0a0b0d;
  --panel: #111318;
  --panel-2: #171a20;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --ink: #f2f2ee;
  --muted: #9aa0a9;
  --dim: #6d737c;
  --avoid: #ff5533;
  --caution: #f0b429;
    --verified: #45d9a0;
  --fake: #c79bff;
  --paper: #f3efe5;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, ui-serif, serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1100px 620px at 6% -10%, rgba(255, 85, 51, 0.13), transparent 62%),
    radial-gradient(900px 520px at 102% -6%, rgba(88, 120, 255, 0.10), transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.locked { overflow: hidden; }

[hidden] { display: none !important; }

a { color: inherit; }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--avoid); outline-offset: 2px; }

.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;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px 40px;
}

/* ---------------- header ---------------- */

.top {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 18px;
  background: rgba(10, 11, 13, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.mark {
  width: 34px;
  height: 34px;
  color: var(--avoid);
  flex: none;
}

.brand-name {
  display: flex;
  flex-direction: column;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.1;
}

.brand-sub {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  margin-top: 3px;
}

.nav {
  display: flex;
  gap: 24px;
  font-size: 13px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav a:hover { color: var(--ink); border-color: var(--line-strong); }

/* ---------------- hero ---------------- */

.hero { padding: 62px 0 0; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--verified);
  box-shadow: 0 0 0 3px rgba(69, 217, 160, 0.16);
}

.hero h1 {
  margin: 0;
  max-width: 940px;
  font-size: clamp(2.4rem, 6vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 640;
}

.hero h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: #ffb49d;
}

.strike {
  color: var(--dim);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 85, 51, 0.85);
  text-decoration-thickness: 0.055em;
}

.lede {
  max-width: 580px;
  margin: 24px 0 0;
  font-size: 16px;
  color: var(--muted);
}

.searchbar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 660px;
  margin-top: 34px;
  padding: 0 16px;
  height: 62px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.searchbar:focus-within {
  border-color: rgba(255, 85, 51, 0.6);
  background: rgba(255, 255, 255, 0.05);
}

.search-icon { width: 20px; height: 20px; color: var(--dim); flex: none; }

.searchbar input {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  outline: none;
  font-size: 15.5px;
  color: var(--ink);
}

.searchbar input::placeholder { color: var(--dim); }

.searchbar input::-webkit-search-cancel-button { filter: invert(1); opacity: 0.4; }

.kbd {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  padding: 2px 7px;
  line-height: 1.4;
}

.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 44px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats > div {
  padding: 20px 22px 22px;
  border-left: 1px solid var(--line);
}

.stats > div:first-child { border-left: 0; padding-left: 0; }

.stats dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 8px;
}

.stats dd {
  margin: 0;
  font-size: 30px;
  font-weight: 620;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.stats dd small {
  font-size: 13px;
  font-weight: 500;
  color: var(--dim);
  letter-spacing: 0;
}

/* ---------------- sections ---------------- */

.section { margin-top: 84px; scroll-margin-top: 92px; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.kicker {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
  font-weight: 620;
  line-height: 1.1;
}

.section-note {
  max-width: 320px;
  margin: 0;
  text-align: right;
  font-size: 12.5px;
  color: var(--dim);
}

/* ---------------- chips ---------------- */

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.chip:hover { color: var(--ink); border-color: rgba(255, 255, 255, 0.3); }

.chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #0a0b0d;
  font-weight: 600;
}

.chip-count {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 400;
  color: var(--dim);
}

.chip.is-active .chip-count { color: rgba(10, 11, 13, 0.62); }

.filter-bar {
  position: sticky;
  top: 75px;
  z-index: 30;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 10px 0 0;
  padding: 12px 0;
  background: rgba(10, 11, 13, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.filter-bar .chips { margin: 0; }

.sort-field {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: none;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

.sort-field select {
  height: 34px;
  padding: 0 30px 0 10px;
  background: #0c0e12 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='7'><path d='M1 1l4 4 4-4' fill='none' stroke='%239aa0a9' stroke-width='1.5'/></svg>") no-repeat right 9px center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  appearance: none;
  outline: none;
  cursor: pointer;
}

.sort-field select:focus { border-color: rgba(255, 85, 51, 0.65); }

.filter-count {
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.dot { width: 7px; height: 7px; border-radius: 50%; }
.dot-avoid { background: var(--avoid); }
.dot-caution { background: var(--caution); }
.dot-verified { background: var(--verified); }
.dot-fake { background: var(--fake); }

/* ---------------- cards ---------------- */

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  text-align: left;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.card-main {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  width: 100%;
  padding: 18px;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
}

.card-main:focus-visible { outline: 2px solid var(--avoid); outline-offset: -3px; border-radius: 14px; }

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: var(--tone);
  opacity: 0.85;
}

.card[data-verdict="avoid"] { --tone: var(--avoid); }
.card[data-verdict="caution"] { --tone: var(--caution); }
.card[data-verdict="verified"] { --tone: var(--verified); }
.card[data-verdict="sample"] { --tone: #8b93a1; }
.card[data-verdict="fake"] { --tone: var(--fake); }

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.24);
}

.card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.tile {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--tone, var(--ink));
}

.card-id { display: flex; flex-direction: column; min-width: 0; }

.card-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-cat {
  font-size: 11.5px;
  color: var(--dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pill {
  margin-left: auto;
  flex: none;
  padding: 6px 9px;
  border-radius: 999px;
  border: 1px solid;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  line-height: 1;
}

.card-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex: none;
}

.card-status .pill { margin-left: 0; }

.card-score {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: -0.03em;
}

.card-score small { margin-left: 1px; font-size: 8.5px; font-weight: 400; color: var(--dim); }

.pill-avoid { color: var(--avoid); border-color: rgba(255, 85, 51, 0.42); background: rgba(255, 85, 51, 0.1); }
.pill-caution { color: var(--caution); border-color: rgba(240, 180, 41, 0.4); background: rgba(240, 180, 41, 0.09); }
.pill-verified { color: var(--verified); border-color: rgba(69, 217, 160, 0.38); background: rgba(69, 217, 160, 0.09); }
.pill-sample { color: #aab1bd; border-color: rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.06); }
.pill-fake { color: var(--fake); border-color: rgba(199, 155, 255, 0.42); background: rgba(199, 155, 255, 0.1); }

.cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.cmp-cell { display: flex; flex-direction: column; gap: 2px; }

.cmp-cell > span:first-child {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

.num {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  white-space: nowrap;
}

.num small { font-size: 11px; font-weight: 500; color: var(--dim); letter-spacing: 0; }
.num-text { font-size: 17px; letter-spacing: -0.01em; }
.num.tone { color: var(--tone, var(--avoid)); }

.mini {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 13px;
  font-size: 11.5px;
  color: var(--dim);
}

.mini span { position: relative; }

.mini span + span::before {
  content: "·";
  position: absolute;
  left: -8px;
  color: rgba(255, 255, 255, 0.22);
}

.real-mark {
  padding: 2px 6px;
  border: 1px solid rgba(69, 217, 160, 0.32);
  border-radius: 999px;
  background: rgba(69, 217, 160, 0.07);
  color: var(--verified);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
}

.fake-mark {
  padding: 2px 6px;
  border: 1px solid rgba(199, 155, 255, 0.36);
  border-radius: 999px;
  background: rgba(199, 155, 255, 0.08);
  color: var(--fake);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
}

.meter {
  position: relative;
  display: block;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.meter i {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--tone, var(--avoid));
  border-radius: 99px;
}

.meter::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0 calc(10% - 2px),
    rgba(10, 11, 13, 0.75) calc(10% - 2px) 10%
  );
}

.card-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--dim);
}

.card-foot .open { color: var(--ink); }

.card-actions {
  display: flex;
  gap: 18px;
  margin: 0 18px;
  padding: 10px 0 13px;
  border-top: 1px solid var(--line);
}

.card-action {
  padding: 0;
  background: none;
  border: 0;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.15s ease;
}

.card-action:hover { color: var(--tone, var(--ink)); }

.card-platform {
  padding: 2px 7px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 9.5px;
  letter-spacing: 0.02em;
  line-height: 1.4;
  white-space: nowrap;
}
.card:hover .open { color: var(--tone, var(--ink)); }

.empty {
  margin-top: 16px;
  padding: 38px 22px;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  color: var(--muted);
}

.empty p { margin: 0 0 8px; }

.empty-title {
  margin: 0 0 6px !important;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.empty-hint { max-width: 430px; margin: 0 auto 16px !important; font-size: 13px; }

.empty-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
}

.empty-actions .btn {
  width: auto;
  margin-top: 0;
}

.btn-small { padding: 9px 16px; font-size: 12px; }

.text-link {
  font-size: 13px;
  color: var(--avoid);
  text-decoration: none;
}

.text-link:hover { text-decoration: underline; }

/* ---------------- reports ---------------- */

.report-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 26px;
}

.report-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.report-form-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.report-form-head h3 {
  margin: 3px 0 0;
  font-size: 20px;
  font-weight: 620;
  letter-spacing: -0.025em;
}

.report-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 12px 0 0;
}

.tool-btn {
  padding: 6px 10px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.tool-btn:hover { color: var(--ink); border-color: rgba(255, 255, 255, 0.32); }
.tool-danger:hover { color: var(--avoid); border-color: rgba(255, 85, 51, 0.45); }

.local-note {
  margin: 10px 0 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--dim);
}

.form-local-note { margin: -5px 0 0; }

.local-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 10px;
  margin-top: 18px;
  padding: 10px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 12px;
  color: var(--muted);
}

.local-bar b { color: var(--ink); font-weight: 600; }

.local-dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--muted);
  box-shadow: 0 0 0 3px rgba(154, 160, 169, 0.14);
}

.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.field input[type="text"],
.field textarea {
  width: 100%;
  padding: 11px 13px;
  background: #0c0e12;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  outline: none;
  font-size: 14px;
  resize: vertical;
  transition: border-color 0.15s ease;
}

.field input[type="text"]:focus,
.field textarea:focus { border-color: rgba(255, 85, 51, 0.65); }

.field textarea::placeholder,
.field input::placeholder { color: #565c66; }

.btn {
  align-self: flex-start;
  padding: 12px 22px;
  background: var(--avoid);
  color: #180804;
  border: 0;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn:active { transform: none; }

.form-status { min-height: 17px; margin: 0; font-size: 12px; color: var(--verified); }

.report-list-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.report-list-head h3 { margin: 0; font-size: 14px; font-weight: 600; }

.count { font-family: var(--mono); font-size: 11px; color: var(--dim); }

.count b { color: var(--muted); font-weight: 600; }

.report-list { list-style: none; margin: 0; padding: 0; }

.report {
  position: relative;
  padding: 14px 14px 12px;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.report-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.report-top b { font-size: 14px; }

.report-top span {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--dim);
}

.report-money {
  margin: 4px 0 0;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--caution);
}

.report-note { margin: 8px 0 0; font-size: 13px; color: var(--muted); line-height: 1.5; }

.report-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin-top: 9px;
}

.report-dossier {
  padding: 0;
  background: none;
  border: 0;
  color: var(--ink);
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}

.report-dossier:hover { color: var(--caution); text-decoration-color: currentColor; }

.report-unmatched,
.report-separate {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.03em;
  color: var(--dim);
}

.report-separate { margin-left: auto; }

.remove {
  margin-top: 6px;
  padding: 2px 0;
  background: none;
  border: 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  cursor: pointer;
}

.report-actions { display: flex; gap: 14px; margin-top: 2px; }

.edit {
  padding: 2px 0;
  background: none;
  border: 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
}

.edit:hover { color: var(--ink); }
.report-actions .remove { margin-top: 0; }

.remove:hover { color: var(--avoid); }

.report-empty { margin: 16px 0 0; font-size: 13px; color: var(--dim); }

/* ---------------- app scanner ---------------- */

.hero-hint { margin: 12px 0 0; font-size: 12.5px; color: var(--dim); }
.hero-hint a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 1px; }
.hero-hint a:hover { color: var(--ink); border-color: rgba(255, 255, 255, 0.4); }

.field { display: flex; flex-direction: column; gap: 8px; }

.field-hint {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--dim);
}

.form-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.form-kicker {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}

.form-note {
  max-width: 360px;
  margin: 5px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.form-note b { color: var(--ink); font-weight: 600; }

.sample-badge {
  margin: -5px 0 0;
  padding: 8px 10px;
  border: 1px solid rgba(240, 180, 41, 0.3);
  border-radius: 8px;
  background: rgba(240, 180, 41, 0.08);
  color: var(--caution);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.45;
}

.preset-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: -4px 0 0;
}

.preset-label {
  width: 100%;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

.preset-btn {
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.preset-btn:hover {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.07);
}

.scan-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #0c0e12;
}

.mode-btn {
  padding: 8px 9px;
  background: transparent;
  border: 0;
  border-radius: 7px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.mode-btn:hover { color: var(--ink); }
.mode-btn.is-active { background: rgba(255, 255, 255, 0.1); color: var(--ink); }

.mode-hint {
  margin: -9px 0 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--dim);
}

.check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 2px 0;
}

.check-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
}

.check-row input { accent-color: var(--avoid); width: 14px; height: 14px; }

.field > label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.field > label span { color: var(--dim); }

.money-input {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 56px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: #0c0e12;
  transition: border-color 0.15s ease;
}

.money-input:focus-within { border-color: rgba(255, 85, 51, 0.65); }
.money-input > span { color: var(--dim); font-size: 17px; }

.money-input input {
  width: 100%;
  min-width: 0;
  padding: 11px 0;
  background: none;
  border: 0;
  outline: none;
  font-size: 21px;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.field > input[type="number"] {
  width: 100%;
  height: 56px;
  padding: 0 13px;
  background: #0c0e12;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  outline: none;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.field > input[type="number"]:focus { border-color: rgba(255, 85, 51, 0.65); }

.field > input[type="text"] { min-height: 56px; }

.range-row { display: flex; align-items: center; gap: 14px; }

.range-row input[type="range"] { flex: 1; min-width: 0; accent-color: var(--avoid); height: 20px; }

.range-row output {
  min-width: 58px;
  text-align: right;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink);
}

.scanner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 26px;
  align-items: stretch;
}

.scan-form {
  display: flex;
  flex-direction: column;
  gap: 17px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.field select {
  width: 100%;
  height: 56px;
  padding: 0 34px 0 13px;
  background: #0c0e12 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%239aa0a9' stroke-width='1.6'/></svg>") no-repeat right 13px center;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-size: 13.5px;
  appearance: none;
  outline: none;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.field select:focus { border-color: rgba(255, 85, 51, 0.65); }

.scan-result {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: border-color 0.2s ease;
}

.scan-result[data-state="empty"] {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.012);
}

.scan-result[data-state="scored"] { border-style: solid; }

.scan-result[data-verdict="avoid"] { --tone: var(--avoid); border-color: rgba(255, 85, 51, 0.28); }
.scan-result[data-verdict="caution"] { --tone: var(--caution); border-color: rgba(240, 180, 41, 0.26); }
.scan-result[data-verdict="verified"] { --tone: var(--verified); border-color: rgba(69, 217, 160, 0.26); }

#scanBody { display: flex; flex-direction: column; flex: 1; }

.scan-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  margin: auto;
  padding: 24px 10px;
  max-width: 360px;
  text-align: center;
  color: var(--dim);
}

.scan-placeholder svg { width: 46px; height: 46px; color: rgba(255, 255, 255, 0.16); margin-bottom: 10px; }
.scan-placeholder p { margin: 0; font-size: 13px; line-height: 1.6; }
.scan-placeholder b { color: var(--muted); font-size: 14px; }

.empty-tag {
  margin-bottom: 8px;
  padding: 5px 8px;
  border: 1px dashed var(--line-strong);
  border-radius: 999px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sv-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }

.sv-label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}

.sv-top h3 { margin: 4px 0 0; font-size: 20px; font-weight: 600; letter-spacing: -0.025em; }
.sv-top .pill { flex: none; }

.sv-score { display: flex; align-items: baseline; gap: 5px; margin: 20px 0 10px; }
.sv-score b { font-size: 58px; line-height: 0.85; letter-spacing: -0.05em; font-weight: 640; font-variant-numeric: tabular-nums; color: var(--tone); }
.sv-score span { font-family: var(--mono); font-size: 12px; color: var(--dim); }

.sv-line { margin: 13px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); }

.breakdown {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.brow-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 5px;
  font-size: 12px;
  color: var(--muted);
}

.brow-top b { font-family: var(--mono); font-size: 11.5px; color: var(--ink); }
.brow-top b small { color: var(--dim); font-weight: 400; }
.brow-weight { margin-left: 5px; color: var(--dim); font-family: var(--mono); font-size: 9px; font-weight: 400; letter-spacing: 0; }
.brow-note { margin: 5px 0 0; font-size: 10.5px; line-height: 1.4; color: var(--dim); }

.bar { height: 5px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--tone); border-radius: 99px; }

.scan-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 20px 0 0; }

.scan-facts dt {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 4px;
}

.scan-facts dd { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

.findings { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }

.findings li { position: relative; padding-left: 16px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.findings li::before { content: ""; position: absolute; left: 0; top: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--dim); }
.findings .f-bad::before { background: var(--avoid); }
.findings .f-warn::before { background: var(--caution); }
.findings .f-good::before { background: var(--verified); }

.scan-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.03em;
  color: var(--dim);
}

.link-btn {
  padding: 4px 0;
  background: none;
  border: 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
}

.link-btn:hover { color: var(--ink); }

.sources { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }

.sources a {
  display: inline-block;
  font-size: 12.5px;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.sources a:hover { color: var(--ink); border-color: var(--line-strong); }

/* ---------------- scoring ---------------- */

.score-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 22px;
}

.score-item { padding-top: 14px; border-top: 1px solid var(--line-strong); }

.weight {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--avoid);
  letter-spacing: 0.06em;
}

.score-item h3 { margin: 6px 0 6px; font-size: 14px; font-weight: 600; }
.score-item p { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.55; }

/* ---------------- licensing ---------------- */

.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 24px;
}

.offer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.offer-tag {
  margin: 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}

.offer-price {
  margin: 0;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.offer-price span {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0;
  color: var(--muted);
}

.offer-lede { margin: 0; font-size: 13px; line-height: 1.55; color: var(--muted); }

.offer-list {
  display: grid;
  gap: 7px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

.offer-list li { position: relative; padding-left: 15px; }

.offer-list li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--avoid);
}

.offer-list b { color: var(--ink); font-weight: 600; }

.offer .btn {
  align-self: flex-start;
  margin-top: 4px;
  text-align: center;
  text-decoration: none;
}

.offer-fine {
  margin: 0;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.6;
  color: var(--dim);
}

.offer-note {
  margin: 20px 0 0;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-strong);
  border-left: 2px solid var(--avoid);
  border-radius: 10px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

.offer-alt {
  margin: -4px 0 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--dim);
}

.offer-alt a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
}

.offer-alt a:hover { color: var(--ink); }

.offer-terms {
  margin: 0;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--muted);
}

.offer-terms b { color: var(--ink); font-weight: 600; }

.offer-note b { color: var(--ink); font-weight: 600; }

/* ---------------- footer ---------------- */

.foot {
  margin-top: 84px;
  padding: 26px 0 34px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  scroll-margin-top: 92px;
}

.foot p { margin: 0; max-width: 640px; }
.foot p b { color: var(--ink); font-weight: 600; }

.foot-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px 40px;
}

.foot-brand { max-width: 660px; }

.foot-contact { margin-top: 12px !important; }

.foot-contact a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}

.foot-contact a:hover { color: var(--caution); text-decoration-color: currentColor; }

.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.foot-nav a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding: 2px 0;
}

.foot-nav a:hover { color: var(--ink); border-color: var(--line-strong); }

.foot-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 40px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.foot-notes p { max-width: none; }
.foot-disclaimer { grid-column: 1 / -1; }

.fine { color: var(--dim); line-height: 1.6; }

.foot-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.05em;
  color: var(--dim);
}

/* ---------------- dossier drawer ---------------- */

.drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
}

.scrim {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 7, 0.68);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.sheet {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(620px, 100%);
  overflow-y: auto;
  background: #0f1116;
  border-left: 1px solid var(--line-strong);
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.55);
  outline: none;
  opacity: 0;
  transform: translateX(28px);
  transition: transform 0.26s ease, opacity 0.26s ease;
}

.drawer.is-open .scrim { opacity: 1; }
.drawer.is-open .sheet { opacity: 1; transform: none; }

.sheet-bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  background: rgba(15, 17, 22, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.sheet-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.icon-btn:hover { color: var(--ink); border-color: rgba(255, 255, 255, 0.32); }
.icon-btn svg { width: 16px; height: 16px; }

.sheet-body { padding: 22px 24px 44px; }

.dossier-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.dossier-meta .pill { margin-left: 0; }

.dossier-cat { font-size: 12px; color: var(--dim); }

.real-tag {
  padding: 5px 8px;
  border: 1px solid rgba(69, 217, 160, 0.35);
  border-radius: 999px;
  background: rgba(69, 217, 160, 0.08);
  color: var(--verified);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  line-height: 1.2;
}

.fake-tag {
  border-color: rgba(199, 155, 255, 0.38);
  background: rgba(199, 155, 255, 0.09);
  color: var(--fake);
}

.platform-tag {
  padding: 5px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.dossier-name {
  margin: 12px 0 6px;
  font-size: 34px;
  font-weight: 640;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.dossier-tag { margin: 0; font-size: 14.5px; color: var(--muted); }

.trust { margin: 22px 0 18px; }

.trust-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

.trust-head b { font-size: 18px; color: var(--ink); letter-spacing: -0.02em; }
.trust-head b span { font-size: 11px; color: var(--dim); letter-spacing: 0; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.pane {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.pane > span {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--dim);
}

.pane b {
  display: block;
  margin: 7px 0 8px;
  font-size: 23px;
  font-weight: 620;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.pane b small { font-size: 11px; font-weight: 500; color: var(--dim); }

.pane p { margin: 0; font-size: 12px; line-height: 1.5; color: var(--muted); }

.pane-real { border-color: rgba(255, 85, 51, 0.28); background: rgba(255, 85, 51, 0.06); }
.pane-real b { color: #ff8a6d; }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0 14px; }

.facts > div {
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.facts span {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 4px;
}

.facts b { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.facts b small { font-size: 10px; font-weight: 500; color: var(--dim); }

.callout {
  margin: 0;
  padding: 13px 14px;
  border-left: 2px solid var(--avoid);
  background: rgba(255, 255, 255, 0.025);
  border-radius: 0 10px 10px 0;
  font-size: 13px;
  line-height: 1.55;
  color: #d9d7cf;
}

.callout b { color: var(--ink); }

.sheet-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 26px 0 4px;
  padding-bottom: 9px;
  border-bottom: 1px dashed var(--line-strong);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.h-count { font-size: 9.5px; letter-spacing: 0.08em; color: var(--dim); }

.flags { list-style: none; margin: 0; padding: 0; }

.flag {
  display: flex;
  gap: 11px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.flag:last-child { border-bottom: 0; }

.flag-dot {
  width: 7px;
  height: 7px;
  flex: none;
  margin-top: 6px;
  border-radius: 50%;
}

.flag-high .flag-dot { background: var(--avoid); box-shadow: 0 0 0 3px rgba(255, 85, 51, 0.14); }
.flag-med .flag-dot { background: var(--caution); box-shadow: 0 0 0 3px rgba(240, 180, 41, 0.12); }
.flag-low .flag-dot { background: #7b8189; }

.flag h4 { margin: 0 0 3px; font-size: 13.5px; font-weight: 600; letter-spacing: -0.005em; }
.flag p { margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--muted); }

.cleared { list-style: none; margin: 10px 0 0; padding: 0; }

.cleared li {
  position: relative;
  padding: 5px 0 5px 21px;
  font-size: 13px;
  color: var(--muted);
}

.cleared li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--verified);
  font-size: 12px;
}

.quote {
  margin: 14px 0 0;
  padding-left: 14px;
  border-left: 2px solid rgba(255, 255, 255, 0.14);
}

.quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  line-height: 1.55;
  color: #e2e1da;
}

.quote-summary p { margin: 0; font-size: 12.5px; line-height: 1.6; color: var(--muted); }

.quote figcaption {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--dim);
}

.advice {
  margin-top: 24px;
  padding: 15px;
  border: 1px solid rgba(255, 85, 51, 0.22);
  background: rgba(255, 85, 51, 0.07);
  border-radius: 12px;
}

.advice > span {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ff9d84;
}

.advice p { margin: 7px 0 0; font-size: 13.5px; line-height: 1.55; color: #f0e6e1; }

.advice-verified {
  border-color: rgba(69, 217, 160, 0.24);
  background: rgba(69, 217, 160, 0.06);
}

.advice-verified > span { color: #7ee6bd; }

.advice-sample {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
}

.advice-sample > span { color: var(--muted); }

.btn-ghost {
  width: 100%;
  margin-top: 18px;
  padding: 12px 16px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 550;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.34); background: rgba(255, 255, 255, 0.04); }

.dossier-action-row { display: flex; gap: 10px; margin-top: 18px; }

.dossier-action-row .btn-ghost {
  width: auto;
  flex: 1;
  margin-top: 0;
}

.checked {
  margin: 12px 0 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--dim);
}

.updated-tag {
  padding: 5px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  line-height: 1.2;
  white-space: nowrap;
}

/* ---------------- responsive ---------------- */

@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scanner { grid-template-columns: 1fr; }
  .scan-result { min-height: 340px; }
  .score-grid { grid-template-columns: repeat(2, 1fr); }
  .report-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 18px 32px; }
  .nav { display: none; }
  .hero { padding-top: 40px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div { padding: 16px 14px 18px; }
  .stats > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stats > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .stats dd { font-size: 25px; }
  .section { margin-top: 62px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .section-note { text-align: left; max-width: none; }
  .filter-bar { flex-direction: column; align-items: stretch; gap: 10px; position: static; }
  .sort-field { justify-content: space-between; }
  .sort-field select { flex: 1; max-width: 230px; }
  .form-top { flex-direction: column; gap: 10px; }
  .scan-mode { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .field-pair { grid-template-columns: 1fr; }
  .scan-form,
  .scan-result { padding: 18px; }
  .sv-score b { font-size: 48px; }
  .duo { grid-template-columns: 1fr; }
  .dossier-name { font-size: 29px; }
  .sheet-body { padding: 20px 18px 40px; }
  .searchbar { height: 56px; }
  .searchbar input { font-size: 14.5px; }
  .kbd { display: none; }
  .offer-grid { grid-template-columns: 1fr; }
  .offer { padding: 20px; }
  .offer .btn { align-self: stretch; }
  .foot-main { flex-direction: column; }
  .foot-notes { grid-template-columns: 1fr; gap: 16px; }
  .foot-disclaimer { grid-column: auto; }
}

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

/* ---------------- structured ratings ---------------- */

.ratings-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.rating-pill {
  padding: 3px 7px;
  border: 1px solid #2b2b36;
  border-radius: 6px;
  background: #0b0b10;
  color: #b6b6c1;
  font-size: 10.5px;
  line-height: 1.35;
  letter-spacing: 0.01em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.rating-pill.rating-appStore { color: #dcd7c4; border-color: #3a382e; }
.rating-pill.rating-googlePlay { color: #cfd8cf; border-color: #2e3a2f; }
.rating-pill.rating-tp { color: #d6e4c4; border-color: #33402b; }
.rating-pill.rating-off { color: #8d8d99; border-style: dashed; }

.ratings-table {
  width: 100%;
  margin: 6px 0 4px;
  border-collapse: collapse;
  font-size: 12.5px;
}

.ratings-table th {
  padding: 4px 6px 6px;
  border-bottom: 1px solid #23232c;
  color: #6f6f7b;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-align: left;
  text-transform: uppercase;
}

.ratings-table td {
  padding: 7px 6px;
  border-bottom: 1px solid #1b1b22;
  color: #b9b6ad;
  vertical-align: top;
}

.ratings-table td:first-child { color: #e7e4db; font-weight: 600; }
.ratings-table td b { color: #f2efe6; font-variant-numeric: tabular-nums; }

.rating-date {
  display: inline-block;
  margin-left: 6px;
  color: #75757f;
  font-size: 11px;
}

.ratings-sub {
  margin: 14px 0 6px;
  color: #e7e4db;
  font-size: 13px;
  font-weight: 600;
}

.editorial {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 6px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.editorial li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 7px;
  border: 1px solid #22222b;
  border-radius: 6px;
  background: #0c0c11;
  color: #a8a5b0;
  font-size: 11.5px;
}

.editorial li b { color: #e9e6dc; font-variant-numeric: tabular-nums; }

.ratings-note {
  margin: 8px 0 0;
  color: #74747f;
  font-size: 11.5px;
  line-height: 1.5;
}
