/* ============ Trust Korbo? — styles ============
   Warm sepia palette, day and night. No gradients, no glass, no animated orbs. */

:root {
  --bg: #f5f0e3;
  --bg-2: #eee7d4;
  --surface: #fcf9f0;
  --surface-2: #f6f0e1;
  --border: #e4dac1;
  --border-strong: #d2c4a2;
  --text: #3d3426;
  --muted: #6f634a;
  --accent: #a97324;
  --accent-dark: #8a5d1c;
  --accent-soft: #f3e8cd;
  --accent-glow: rgba(169, 115, 36, 0.18);
  --safe: #16a34a;
  --suspicious: #d97706;
  --spam: #ea580c;
  --scam: #dc2626;
  --harassment: #c026d3;
  --shadow: 0 1px 2px rgba(93, 71, 35, 0.08), 0 1px 3px rgba(93, 71, 35, 0.06);
  --radius: 14px;
  --font: 'Inter', 'Hind Siliguri', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

html[data-theme="dark"] {
  --bg: #1a150e;
  --bg-2: #211a11;
  --surface: #281f14;
  --surface-2: #30261a;
  --border: #42351f;
  --border-strong: #56462b;
  --text: #efe3c7;
  --muted: #ab9c79;
  --accent: #d9a24c;
  --accent-dark: #e6b768;
  --accent-soft: #3b2f1b;
  --accent-glow: rgba(217, 162, 76, 0.24);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

::selection { background: var(--accent-glow); }

a { color: var(--accent); }

/* ---------- Layout ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1080px; margin: 0 auto; padding: 18px 24px;
}
.brand { font-weight: 800; font-size: 1.12rem; letter-spacing: -0.02em; }
.brand .grad { color: var(--accent); }
.topnav { display: flex; align-items: center; gap: 20px; }
.topnav a { color: var(--muted); text-decoration: none; font-size: 0.92rem; font-weight: 500; transition: color 0.2s; }
.topnav a:hover { color: var(--text); }
.icon-btn {
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  width: 38px; height: 38px; border-radius: 10px; cursor: pointer; font-size: 1rem;
  display: grid; place-items: center; transition: border-color 0.2s, background 0.2s;
}
.icon-btn:hover { border-color: var(--accent); background: var(--accent-soft); }

main { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Hero / search ---------- */
.hero { text-align: center; padding: 56px 0 36px; }
.eyebrow {
  display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  background: var(--accent-soft); border: 1px solid var(--border);
  padding: 5px 13px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  font-weight: 800; letter-spacing: -0.04em; line-height: 1.08;
}
.hero h1 .grad { color: var(--accent); }
.tagline { font-family: 'Hind Siliguri', var(--font); font-size: clamp(1.1rem, 3vw, 1.45rem); font-weight: 600; color: var(--muted); margin-top: 6px; }
.sub { color: var(--muted); max-width: 560px; margin: 16px auto 0; font-size: 1rem; }

.search-box {
  display: flex; align-items: center; gap: 8px;
  max-width: 640px; margin: 30px auto 0; padding: 8px 8px 8px 6px;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-box:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.cc {
  appearance: none; -webkit-appearance: none;
  background: var(--surface-2); color: var(--text);
  border: 1px solid var(--border); border-radius: 9px;
  padding: 11px 28px 11px 12px; font-size: 0.93rem; font-weight: 600;
  cursor: pointer; outline: none; flex-shrink: 0;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 13px) 50%, calc(100% - 9px) 50%;
  background-size: 4px 4px; background-repeat: no-repeat;
}
.cc:hover { border-color: var(--accent); }
#numberInput {
  flex: 1; min-width: 0;
  background: transparent; border: none; outline: none;
  color: var(--text); font-size: 1.08rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 12px 10px; font-family: var(--font);
}
#numberInput::placeholder { color: var(--muted); font-weight: 400; }
.search-btn {
  border: none; cursor: pointer; border-radius: 10px; padding: 12px 22px;
  font-size: 0.97rem; font-weight: 700; color: #fff; font-family: var(--font);
  background: var(--accent);
  transition: background 0.2s, transform 0.12s;
  white-space: nowrap;
}
.search-btn:hover { background: var(--accent-dark); }
.search-btn:active { transform: translateY(1px); }
.search-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.hint { color: var(--muted); font-size: 0.82rem; margin-top: 13px; }
.turnstile-wrap {
  display: flex; justify-content: center; margin-top: 12px;
}
.turnstile-wrap iframe { max-width: 100%; }
kbd {
  background: var(--surface-2); border: 1px solid var(--border); border-bottom-width: 2px;
  border-radius: 6px; padding: 1px 7px; font-size: 0.78rem; font-family: var(--font); font-weight: 600;
}

/* ---------- Result card ---------- */
.result { margin: 30px auto 0; max-width: 640px; text-align: left; }
.hidden { display: none !important; }
.result-card { padding: 24px; animation: fade-in 0.3s ease; }
@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.result-head { display: flex; gap: 22px; align-items: center; }

.ring-wrap { position: relative; width: 118px; height: 118px; flex-shrink: 0; }
.ring-wrap svg { transform: rotate(-90deg); width: 100%; height: 100%; }
.ring-bg { fill: none; stroke: var(--border); stroke-width: 11; }
.ring-fg {
  fill: none; stroke-width: 11; stroke-linecap: round;
  stroke-dasharray: 301.6; stroke-dashoffset: 301.6;
  transition: stroke-dashoffset 0.9s ease;
}
.ring-label {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center;
}
.ring-label strong { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.ring-label span { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }

.result-meta { min-width: 0; }
.result-number { font-size: 1.35rem; font-weight: 800; letter-spacing: 0.01em; word-break: break-all; }
.verdict {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 10px; padding: 5px 13px; border-radius: 999px;
  font-size: 0.84rem; font-weight: 700;
}
.v-safe { background: rgba(22, 163, 74, 0.1); color: var(--safe); border: 1px solid rgba(22, 163, 74, 0.35); }
.v-suspicious { background: rgba(217, 119, 6, 0.1); color: var(--suspicious); border: 1px solid rgba(217, 119, 6, 0.35); }
.v-spam { background: rgba(234, 88, 12, 0.1); color: var(--spam); border: 1px solid rgba(234, 88, 12, 0.35); }
.v-scam { background: rgba(220, 38, 38, 0.1); color: var(--scam); border: 1px solid rgba(220, 38, 38, 0.4); }
.v-unknown { background: var(--surface-2); color: var(--muted); border: 1px solid var(--border); }
.result-sub { color: var(--muted); font-size: 0.86rem; margin-top: 8px; }

.bars { margin-top: 20px; display: grid; gap: 9px; }
.bar-row { display: grid; grid-template-columns: 112px 1fr 44px; align-items: center; gap: 12px; font-size: 0.83rem; }
.bar-label { color: var(--muted); font-weight: 600; }
.bar-track { height: 8px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--border); overflow: hidden; }
.bar-fill { height: 100%; border-radius: 99px; width: 0; transition: width 0.8s ease; }
.bar-count { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }

.report-list { list-style: none; margin-top: 18px; display: grid; gap: 9px; }
.report-item {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 11px; padding: 10px 14px; font-size: 0.88rem;
  display: flex; gap: 12px; align-items: flex-start;
}
.report-note { flex: 1; }
.report-note .note-text { color: var(--text); }
.report-note .report-meta { color: var(--muted); font-size: 0.76rem; margin-top: 3px; }
.report-empty { color: var(--muted); font-size: 0.86rem; font-style: italic; }

.result-actions { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.btn {
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--text);
  border-radius: 10px; padding: 10px 17px; font-size: 0.9rem; font-weight: 700;
  cursor: pointer; font-family: var(--font); transition: border-color 0.2s, background 0.2s;
}
.btn:hover { border-color: var(--accent); }
.btn.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn.primary:hover { background: var(--accent-dark); }

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 40px; overflow: hidden;
}
.stat { padding: 18px 10px; text-align: center; border-left: 1px solid var(--border); }
.stat:first-child { border-left: none; }
.stat strong { display: block; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; }
.stat span { color: var(--muted); font-size: 0.8rem; font-weight: 600; }

/* ---------- Recent ---------- */
.recent { margin-top: 40px; padding: 24px; }
.section-head { display: flex; align-items: center; gap: 10px; }
.section-head h2 { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--safe); }
.live-label { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; color: var(--safe); }
.recent-more-wrap { display: flex; justify-content: center; margin-top: 14px; }
.recent-more { padding: 7px 18px; font-size: 0.82rem; }
.recent-list { list-style: none; margin-top: 14px; display: grid; gap: 7px; }
.recent-item {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 11px;
  font-size: 0.88rem; transition: border-color 0.2s;
}
.recent-item:hover { border-color: var(--accent); }
.recent-emoji { font-size: 1.05rem; }
.recent-number { font-weight: 700; font-variant-numeric: tabular-nums; }
.recent-cat { margin-left: auto; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; padding: 3px 10px; border-radius: 99px; }
.recent-empty { color: var(--muted); font-size: 0.9rem; padding: 14px; text-align: center; font-style: italic; }

/* ---------- How it works ---------- */
.how { margin-top: 56px; text-align: center; }
.how h2 { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.03em; }
.how-sub { color: var(--muted); margin-top: 6px; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; text-align: left; }
.step { padding: 24px 22px; transition: border-color 0.2s, transform 0.2s; }
.step:hover { border-color: var(--accent); transform: translateY(-3px); }
.step-num {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px; border-radius: 8px;
  font-weight: 800; font-size: 0.95rem; color: #fff;
  background: var(--accent);
}
.step h3 { margin-top: 12px; font-size: 1.02rem; font-weight: 800; }
.step p { color: var(--muted); font-size: 0.9rem; margin-top: 7px; }

/* ---------- Footer ---------- */
.footer { margin-top: 72px; border-top: 1px solid var(--border); background: var(--surface); }
.footer-inner { max-width: 1080px; margin: 0 auto; padding: 38px 24px; text-align: center; }
.footer-brand { font-weight: 800; font-size: 1.08rem; }
.footer-brand .grad { color: var(--accent); }
.footer-note { color: var(--muted); font-size: 0.85rem; max-width: 720px; margin: 13px auto 0; }
.footer-note a { color: var(--accent); }
.footer-copy { color: var(--muted); font-size: 0.8rem; margin-top: 20px; }

/* ---------- Sign-in ---------- */
.user-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 600; color: var(--text); }
.user-chip img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.chip-signout { font: inherit; font-size: 0.72rem; font-weight: 600; color: var(--muted); background: none; border: 1px solid var(--border-strong); border-radius: 999px; padding: 2px 9px; cursor: pointer; }
.btn-signin { font: inherit; font-size: 0.78rem; font-weight: 600; color: #fff; background: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 5px 14px; cursor: pointer; }
.btn-signin:hover { background: var(--accent-dark); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 150%);
  background: #3d3426; color: #f5f0e3;
  padding: 12px 20px; border-radius: 12px; font-size: 0.9rem; font-weight: 600;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.25); z-index: 100;
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.1);
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.5); }
.modal-card {
  position: relative; width: min(520px, 100%); padding: 26px;
  max-height: calc(100vh - 40px); overflow-y: auto;
  animation: fade-in 0.25s ease;
}
.modal-close {
  position: absolute; top: 13px; right: 13px; width: 32px; height: 32px;
  border-radius: 9px; border: 1px solid var(--border); background: var(--surface-2);
  color: var(--muted); cursor: pointer; font-size: 0.85rem; transition: color 0.2s, border-color 0.2s;
}
.modal-close:hover { color: var(--text); border-color: var(--scam); }
.modal-card h2 { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; }
.modal-sub { color: var(--muted); font-size: 0.92rem; margin-top: 8px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.chip {
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--text);
  padding: 8px 14px; border-radius: 999px; font-size: 0.85rem; font-weight: 700;
  cursor: pointer; font-family: var(--font); transition: all 0.15s;
}
.chip:hover { border-color: var(--accent); }
.chip.active { background: var(--accent); color: #fff; border-color: var(--accent); }
#reportNote {
  width: 100%; margin-top: 16px; padding: 11px 13px; resize: vertical;
  background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: 11px;
  color: var(--text); font-family: var(--font); font-size: 0.92rem; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
#reportNote:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.char-count { text-align: right; color: var(--muted); font-size: 0.75rem; margin-top: 5px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }

/* ---------- Scam alerts dashboard ---------- */
.alerts-card { width: min(560px, 100%); }
.alerts-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0 4px; }
.alerts-stat { background: var(--surface-2); border: 1px solid var(--border); border-radius: 11px; padding: 12px 10px; text-align: center; }
.alerts-stat strong { display: block; font-size: 1.35rem; letter-spacing: -0.02em; }
.alerts-stat span { color: var(--muted); font-size: 0.72rem; }
.alerts-h3 { font-size: 0.95rem; font-weight: 800; margin: 18px 0 8px; }
.alerts-list { list-style: none; display: flex; flex-direction: column; gap: 8px; max-height: 300px; overflow-y: auto; padding-right: 4px; }
.alerts-item { border: 1px solid var(--border); border-radius: 11px; padding: 11px 13px; background: var(--surface-2); }
.alerts-item .alerts-note { margin: 6px 0 0; font-size: 0.84rem; color: var(--text); }
.alerts-item .alerts-meta { margin: 4px 0 0; font-size: 0.74rem; color: var(--muted); }
.alerts-time { color: var(--muted); font-size: 0.74rem; margin-left: 6px; }
.alerts-cat { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 0.7rem; font-weight: 700; margin-left: 6px; }
.alerts-number { background: none; border: none; padding: 0; font: inherit; font-weight: 800; color: var(--accent); cursor: pointer; font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; }
.alerts-number:hover { text-decoration: underline; }
.alerts-top { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.alerts-top li { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface-2); }
.alerts-count { color: var(--muted); font-size: 0.78rem; }

/* ---------- Reviews & business ---------- */
.field-label { display: block; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-top: 16px; }
.field-sub { text-transform: none; font-weight: 500; letter-spacing: 0; opacity: 0.8; }
.stars { display: flex; align-items: center; gap: 4px; margin-top: 8px; }
.star {
  background: none; border: none; cursor: pointer; padding: 2px;
  font-size: 1.6rem; line-height: 1; color: var(--border-strong);
  transition: color 0.15s, transform 0.15s;
}
.star:hover { transform: scale(1.15); color: #d97706; }
.star.active { color: #d97706; }
.star-hint { margin-left: 10px; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.biz-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.biz-fields input, .biz-fields select {
  width: 100%; padding: 10px 12px; font-size: 0.92rem; font-family: var(--font);
  background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: 10px;
  color: var(--text); outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.biz-fields input:focus, .biz-fields select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.biz-fields select { cursor: pointer; }
.biz-fields select option { background: var(--surface); }

/* Result card — business block */
.business-card {
  margin-top: 18px; padding: 15px 17px; border-radius: 12px;
  background: var(--accent-soft); border: 1px solid var(--accent-glow);
}
.biz-head { display: flex; gap: 13px; align-items: center; }
.biz-avatar {
  width: 44px; height: 44px; border-radius: 11px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 1.35rem;
  background: var(--accent); color: #fff;
}
.biz-name { font-size: 1.06rem; font-weight: 800; letter-spacing: -0.01em; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.verified-badge {
  display: inline-flex; align-items: center; gap: 4px; font-size: 0.68rem; font-weight: 800;
  color: #fff; background: var(--safe);
  padding: 3px 9px; border-radius: 999px; letter-spacing: 0.03em;
}
.biz-meta { color: var(--muted); font-size: 0.83rem; margin-top: 3px; }
.biz-rating { display: flex; align-items: center; gap: 10px; margin-top: 11px; }
.stars-mini { display: inline-flex; gap: 2px; font-size: 1.05rem; color: #d97706; letter-spacing: 1px; }
.stars-mini .star-empty { color: var(--border-strong); }
.rating-num { font-size: 1.12rem; font-weight: 800; letter-spacing: -0.02em; }
.rating-count { color: var(--muted); font-size: 0.83rem; }

/* Payment verdict */
.pay-verdict {
  margin-top: 14px; display: flex; align-items: center; gap: 10px;
  padding: 11px 15px; border-radius: 11px; font-size: 0.94rem; font-weight: 800;
}
.pay-trusted { background: rgba(22, 163, 74, 0.1); border: 1px solid rgba(22, 163, 74, 0.35); color: var(--safe); }
.pay-caution { background: rgba(217, 119, 6, 0.1); border: 1px solid rgba(217, 119, 6, 0.35); color: var(--suspicious); }
.pay-danger { background: rgba(220, 38, 38, 0.1); border: 1px solid rgba(220, 38, 38, 0.4); color: var(--scam); }
.pay-unverified { background: var(--surface-2); border: 1px solid var(--border); color: var(--muted); }

/* Review items */
.review-rating { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; letter-spacing: 1px; color: #d97706; }
.review-rating .star-empty { color: var(--border-strong); }

/* ---------- Review photos & lightbox ---------- */
.photo-field { display: flex; align-items: flex-start; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.photo-btn {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px dashed var(--border-strong); background: var(--surface-2); color: var(--text);
  padding: 10px 16px; border-radius: 10px; font-size: 0.88rem; font-weight: 700;
  cursor: pointer; font-family: var(--font); transition: border-color 0.2s, background 0.2s;
}
.photo-btn:hover { border-color: var(--accent); background: var(--accent-soft); }
.photo-preview {
  position: relative; width: 108px; height: 108px; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--border-strong); background: var(--surface-2);
}
.photo-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-remove {
  position: absolute; top: 5px; right: 5px; width: 24px; height: 24px; border-radius: 50%;
  border: none; background: rgba(15, 23, 42, 0.72); color: #fff; cursor: pointer;
  font-size: 0.72rem; line-height: 1; display: grid; place-items: center;
}
.photo-hint { color: var(--muted); font-size: 0.74rem; margin-top: 8px; }
.field-hint { color: var(--muted); font-size: 0.74rem; margin-top: 7px; }

/* Linked numbers ("the same seller also used…") */
.linked-chips { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin-top: 8px; font-size: 0.76rem; color: var(--muted); }
.linked-chip {
  display: inline-block; padding: 2px 8px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border);
  font-family: var(--font-mono, monospace); font-size: 0.72rem; color: var(--text);
}
.linked-reviews {
  margin-top: 16px; padding: 14px 16px; border-radius: 12px;
  background: rgba(220, 38, 38, 0.06); border: 1px solid rgba(220, 38, 38, 0.28);
}
.linked-title { font-size: 0.9rem; font-weight: 800; color: var(--scam); }
.linked-sub { color: var(--muted); font-size: 0.8rem; margin-top: 4px; }
.photo-thumb {
  margin-top: 9px; width: 78px; height: 78px; border-radius: 9px; object-fit: cover;
  border: 1px solid var(--border); cursor: zoom-in; display: block;
  transition: transform 0.15s, border-color 0.15s;
}
.photo-thumb:hover { transform: scale(1.05); border-color: var(--accent); }
.lightbox { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 24px; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(8, 12, 20, 0.88); }
.lightbox-img {
  position: relative; max-width: min(920px, 100%); max-height: 88vh; border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); cursor: zoom-out;
}

/* ---------- OSINT card ---------- */
.tc-card { margin-top: 18px; padding: 14px 16px; }

/* AI summary card */
.ai-card { margin-top: 14px; padding: 16px 18px; }
.ai-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.ai-badge { font-weight: 700; font-size: 0.85rem; }
.ai-risk { font-size: 0.72rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.ai-risk-high { background: #fdecec; color: #dc2626; }
.ai-risk-medium { background: #fef3e2; color: #d97706; }
.ai-risk-low { background: #e8f7ee; color: #16a34a; }
.ai-text { font-size: 0.92rem; line-height: 1.55; }
.ai-reco { margin-top: 8px; font-weight: 600; font-size: 0.9rem; }
.ai-note { margin-top: 8px; font-size: 0.72rem; color: var(--muted); }

/* Scam-fact patterns */
.patterns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.pat-chip { font-size: 0.76rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text); }
.tc-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tc-avatar { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; border: 1px solid var(--border); }
.tc-badge {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
  color: #fff; background: var(--accent);
  padding: 3px 10px; border-radius: 999px;
}
.tc-note { font-size: 0.72rem; color: var(--muted); }
.tc-loading { color: var(--muted); font-size: 0.86rem; margin-top: 10px; }
.tc-paragraph { margin-top: 10px; font-size: 0.9rem; line-height: 1.65; }
.tc-paragraph strong { font-weight: 700; }
.tc-rows { margin-top: 10px; display: grid; gap: 8px; }
.tc-row { display: flex; justify-content: space-between; gap: 12px; font-size: 0.9rem; }
.tc-row span { color: var(--muted); }
.tc-row strong { font-weight: 700; text-align: right; }
.tc-spam-yes { color: var(--scam); }
.tc-spam-no { color: var(--safe); }
code { background: var(--surface-2); border: 1px solid var(--border); padding: 1px 6px; border-radius: 6px; font-size: 0.8em; }

/* ---------- Loading ---------- */
.loading-card { padding: 38px; text-align: center; }
.spinner {
  width: 40px; height: 40px; margin: 0 auto; border-radius: 50%;
  border: 4px solid var(--border); border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-card p { color: var(--muted); margin-top: 14px; font-size: 0.92rem; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: none; border-top: 1px solid var(--border); }
  .stat:nth-child(-n+2) { border-top: none; }
  .stat:nth-child(even) { border-left: 1px solid var(--border); }
  .how-grid { grid-template-columns: 1fr; }
  .search-box { flex-wrap: wrap; }
  .search-box .cc { flex: 1; }
  #numberInput { flex: 1 1 100%; order: -1; text-align: center; }
  .search-btn { flex: 1; }
  .result-head { flex-direction: column; text-align: center; }
  .result-meta { text-align: center; }
  .topnav a { display: none; }
  .bar-row { grid-template-columns: 88px 1fr 36px; }
  .hero { padding-top: 40px; }
}

@media (max-width: 560px) {
  .biz-fields { grid-template-columns: 1fr; }
}

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