:root {
  --bg: #f6f6f3;
  --card: #ffffff;
  --ink: #15171a;
  --muted: #5f6670;
  --line: #e3e4e0;
  --accent: #0f5c56;
  --high: #c0262d;
  --high-bg: #fdecec;
  --mid: #b25e09;
  --mid-bg: #fdf3e6;
  --ok: #17803d;
  --ok-bg: #e9f6ee;
  --radius: 12px;
  --font: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 16px; }
.row { display: flex; align-items: center; justify-content: space-between; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.top { border-bottom: 1px solid var(--line); background: var(--card); }
.top .row { height: 56px; }
.brand { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.toplink { color: var(--accent); text-decoration: none; font-weight: 600; font-size: 15px; }

.hero { padding: 36px 0 18px; }
.hero h1 { font-size: clamp(26px, 5vw, 36px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 10px; }
.hero p { margin: 0; color: var(--muted); font-size: 17px; }

.checker, .result, .tg, .today, .guard, .phone, .promo, .game { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 0 0 18px; }
.lbl { display: block; font-weight: 600; margin-bottom: 8px; }
textarea { width: 100%; resize: vertical; min-height: 140px; padding: 12px 14px; font: 16px/1.5 var(--font); color: var(--ink); background: #fcfcfa; border: 1px solid #cfd2cc; border-radius: 10px; }
textarea:focus, .btn:focus-visible, .examples button:focus-visible { outline: 3px solid rgba(15, 92, 86, 0.25); outline-offset: 1px; border-color: var(--accent); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 10px; font: 600 16px var(--font); cursor: pointer; text-decoration: none; border: 1px solid transparent; }
.btn.primary { background: var(--accent); color: #fff; min-width: 120px; }
.btn.primary:hover { background: #0b4a45; }
.btn.primary[disabled] { opacity: 0.6; cursor: wait; }
.btn.ghost { background: transparent; color: var(--accent); border-color: #b9cfcc; }
.btn.ghost:hover { background: #eef5f4; }
.count { margin-left: auto; color: var(--muted); font-size: 14px; }
.examples { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; color: var(--muted); }
.examples button { font: 14px var(--font); color: var(--ink); background: #f1f2ee; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; cursor: pointer; }
.examples button:hover { background: #e8eae4; }
.privacy { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.error { margin: 12px 0 0; color: var(--high); font-weight: 600; }

.result { border-width: 2px; }
.result.high { border-color: var(--high); }
.result.suspicious { border-color: var(--mid); }
.result.safe { border-color: var(--ok); }
.score-row { display: flex; align-items: center; gap: 18px; }
.score { font-weight: 800; font-size: 56px; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.score small { font-size: 20px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.score-text { flex: 1; min-width: 0; }
.band { font-weight: 700; font-size: 20px; margin-bottom: 8px; }
.high .score, .high .band { color: var(--high); }
.suspicious .score, .suspicious .band { color: var(--mid); }
.safe .score, .safe .band { color: var(--ok); }
.meter { height: 8px; background: #ececea; border-radius: 99px; overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; border-radius: 99px; transition: width 0.6s ease; background: var(--ok); }
.high .meter i { background: var(--high); }
.suspicious .meter i { background: var(--mid); }

.block { margin-top: 20px; }
.block h2 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin: 0 0 8px; font-weight: 700; }
.marked { white-space: pre-wrap; overflow-wrap: anywhere; background: #fafaf8; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 15px; }
.marked mark { background: var(--high-bg); color: inherit; border-bottom: 2px solid var(--high); padding: 0 1px; cursor: help; }
.marked mark.link { background: #fff4d6; border-bottom-color: var(--mid); }
.links { list-style: none; padding: 0; margin: 0; }
.links li { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; font-size: 15px; overflow-wrap: anywhere; }
.links .k { color: var(--muted); }
.links .bad { color: var(--high); font-weight: 700; }
.links .good { color: var(--ok); font-weight: 700; }
.reasons { margin: 0; padding-left: 22px; }
.reasons li { margin-bottom: 6px; }
.todo { background: #f4f7f6; border-radius: 10px; padding: 14px; }
.todo p { margin: 0 0 10px; }
.todo h2.sub { margin-top: 14px; }
.hotlines { display: grid; gap: 10px; }
.hotline { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.hotline .call { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 8px; background: #eef5f4; border: 1px solid #b9cfcc; color: var(--accent); font-weight: 700; text-decoration: none; }
.hotline .call.plain { background: transparent; border-color: transparent; padding-left: 0; color: var(--ink); }
.hotline p { margin: 6px 0 0; font-size: 15px; color: var(--ink); }
.meta.tech { margin-top: 4px; opacity: 0.8; }
.meta { margin: 16px 0 0; font-size: 13px; color: var(--muted); }

.tg { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tg h2 { margin: 0 0 6px; font-size: 20px; }
.tg p { margin: 0 0 12px; color: var(--muted); }
.foot { padding: 8px 16px 32px; color: var(--muted); font-size: 13px; }

/* Bu gün yayılan tələlər */
.today-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.today-head h2 { margin: 0; font-size: 20px; }
.today-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.titem { border: 1px solid var(--line); border-left: 4px solid var(--high); border-radius: 10px; padding: 10px 12px; transition: background 1.2s ease; }
.titem.flash { background: #fff1d1; }
.titem.slidein { animation: slideIn 0.45s ease both; }
.titem .tt { display: flex; justify-content: space-between; gap: 10px; font-weight: 700; }
.titem .tn { color: var(--high); white-space: nowrap; font-variant-numeric: tabular-nums; }
.titem .td { color: var(--muted); font-size: 14px; margin-top: 3px; overflow-wrap: anywhere; }
.today-empty { margin: 0; color: var(--muted); }

/* Nömrə kartı */
.phone { border-width: 2px; border-color: #b8bcb5; }
.phone.high { border-color: var(--high); }
.phone.suspicious { border-color: var(--mid); }
.phone.official { border-color: var(--ok); }
.ph-num { font-weight: 800; font-size: 30px; line-height: 1.15; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.phone .band { margin: 6px 0 2px; }
.phone.high .band { color: var(--high); }
.phone.suspicious .band { color: var(--mid); }
.phone.official .band { color: var(--ok); }
.phone.unknown .band { color: var(--muted); }
.ph-type { color: var(--muted); font-size: 15px; }
#phReport[disabled] { opacity: 0.6; cursor: default; }

/* Başlıq menyusu və oyun reklamı */
.nav { display: flex; align-items: center; gap: 18px; }
.promo { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.promo h2 { margin: 0 0 6px; font-size: 20px; }
.promo p { margin: 0; color: var(--muted); }

/* Fırıldağı tap */
.game.swap, .g-result.swap { animation: fadeUp 0.3s ease both; }
.g-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.g-dots { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.g-dots li { width: 12px; height: 12px; border-radius: 50%; background: #dfe1dc; transition: background 0.3s ease; }
.g-dots li.cur { background: var(--accent); }
.g-dots li.ok { background: var(--ok); }
.g-dots li.bad { background: var(--high); }
.g-msg { background: #eef1ec; border-radius: 14px; padding: 12px 14px; }
.g-from { font-size: 14px; color: var(--muted); margin-bottom: 6px; overflow-wrap: anywhere; }
.g-ch { font-weight: 700; color: var(--ink); }
#gFrom.flag { color: var(--high); font-weight: 700; background: var(--high-bg); border-bottom: 2px solid var(--high); padding: 0 2px; }
.g-bubble { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 4px 14px 14px 14px; padding: 10px 12px; font-size: 16.5px; white-space: pre-wrap; overflow-wrap: anywhere; }
.g-bubble mark { color: inherit; padding: 0 1px; }
.g-bubble mark.bad { background: var(--high-bg); border-bottom: 2px solid var(--high); }
.g-bubble mark.good { background: var(--ok-bg); border-bottom: 2px solid var(--ok); }
.g-bubble mark.sweep { background-size: 200% 100%; background-position: 100% 0; background-color: transparent; animation: sweep 0.6s ease 0.1s forwards; }
.g-bubble mark.bad.sweep { background-image: linear-gradient(90deg, var(--high-bg) 50%, transparent 50%); }
.g-bubble mark.good.sweep { background-image: linear-gradient(90deg, var(--ok-bg) 50%, transparent 50%); }
.g-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.btn.g-scam { background: var(--high-bg); color: var(--high); border-color: #efb5b8; min-height: 52px; font-size: 17px; }
.btn.g-scam:hover { background: #fadcdc; }
.btn.g-safe { background: var(--ok-bg); color: var(--ok); border-color: #b3dcc2; min-height: 52px; font-size: 17px; }
.btn.g-safe:hover { background: #d9efe1; }
.g-feedback { margin-top: 14px; }
.g-verdict { font-size: 22px; font-weight: 800; margin: 0 0 2px; }
.g-verdict.ok { color: var(--ok); }
.g-verdict.no { color: var(--high); }
.g-truth { margin: 0 0 8px; font-weight: 600; }
.g-lesson { background: #f4f7f6; border-radius: 10px; padding: 10px 12px; margin: 12px 0 14px; font-weight: 600; }
.g-score { font-weight: 800; font-size: 64px; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.g-score small { font-size: 24px; color: var(--muted); letter-spacing: 0; }
.g-msgline { font-size: 18px; font-weight: 600; margin: 10px 0 0; }
.g-result h2, .g-form h2 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin: 18px 0 8px; }
.g-points { margin-left: auto; color: var(--accent); }
.g-gain { margin: 0 0 6px; font-weight: 700; color: var(--muted); }
.g-gain.ok { color: var(--ok); }
.g-form { margin-top: 16px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fafaf8; }
.g-form h2 { margin-top: 0; }
.g-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.g-fields label { display: grid; gap: 4px; font-weight: 600; font-size: 15px; }
.g-fields .opt { font-weight: 400; color: var(--muted); }
.g-fields input, .b-filter input { min-height: 44px; padding: 0 12px; border: 1px solid #cfd2cc; border-radius: 10px; font: 16px var(--font); background: #fff; color: var(--ink); width: 100%; }
.g-fields input:focus, .b-filter input:focus { outline: 3px solid rgba(15, 92, 86, 0.25); border-color: var(--accent); }
.g-note { margin: 8px 0 12px; font-size: 13.5px; color: var(--muted); }
.g-formmsg { margin: 10px 0 0; font-weight: 600; }
.g-formmsg.ok { color: var(--ok); }
.g-formmsg.err { color: var(--high); }
.board .b-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.board h2 { margin: 0; font-size: 20px; }
.b-filter { display: flex; gap: 8px; }
.b-filter input { width: 150px; text-transform: uppercase; }
.b-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; background: #fff7df; border: 1px solid #f0d58c; border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; }
.b-crown { font-size: 20px; }
.b-list { margin: 0; padding-left: 26px; display: grid; gap: 4px; font-variant-numeric: tabular-nums; }
.b-list li { padding: 6px 8px; border-radius: 8px; }
.b-list li > span { display: inline-flex; }
.b-list li { display: list-item; }
.b-list .b-score { float: right; font-weight: 700; color: var(--accent); }
.b-list li.me { background: var(--ok-bg); font-weight: 700; }
.b-empty { margin: 0; color: var(--muted); }

/* Yaxınını qoru */
.guard { border-left: 4px solid var(--accent); }
.guard h2 { margin: 0 0 6px; font-size: 20px; }
.guard p { margin: 0 0 10px; }
.guard .muted { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.today-note { margin: 10px 0 0; font-size: 13px; color: var(--muted); }

@media (max-width: 480px) {
  .hero { padding-top: 24px; }
  .checker, .result, .tg, .today, .guard, .phone, .promo, .game { padding: 16px; }
  .promo { flex-direction: column; align-items: flex-start; }
  .g-actions { grid-template-columns: 1fr; }
  .g-score { font-size: 52px; }
  .g-fields { grid-template-columns: 1fr; }
  .b-filter { width: 100%; }
  .b-filter input { flex: 1; width: auto; }
  .score { font-size: 46px; }
  .count { width: 100%; margin-left: 0; }
  .tg { flex-direction: column; align-items: flex-start; }
}

/* Panel */
.panel-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; padding: 26px 0 14px; }
.panel-head h1 { margin: 0; font-size: 26px; letter-spacing: -0.02em; }
.live { font-size: 13px; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.stat b { display: block; font-size: 32px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 14px; }
.stat.red b { color: var(--high); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 18px; }
.card h2 { font-size: 17px; margin: 0 0 12px; }
.camp { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; transition: background 1.2s ease, border-color 1.2s ease; }
.camp.flash { background: #fff1d1; border-color: var(--mid); }
.camp .t { display: flex; justify-content: space-between; gap: 10px; font-weight: 700; }
.camp .t .n { color: var(--high); white-space: nowrap; }
.camp .d { color: var(--muted); font-size: 14px; margin-top: 4px; overflow-wrap: anywhere; }
.empty { color: var(--muted); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 13px; }
td.num { font-variant-numeric: tabular-nums; }
.tag-high { color: var(--high); font-weight: 700; }
.tag-suspicious { color: var(--mid); font-weight: 700; }
.tag-safe { color: var(--ok); font-weight: 700; }
.tools { display: flex; flex-wrap: wrap; gap: 10px; }
.keyform { display: flex; gap: 10px; flex-wrap: wrap; }
.keyform input { flex: 1; min-width: 200px; min-height: 44px; padding: 0 12px; border: 1px solid #cfd2cc; border-radius: 10px; font: 16px var(--font); }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; } .hide-sm { display: none; } }

/* Yoxlama addımları */
.steps { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; }
.step { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); opacity: 0.55; transition: opacity 0.2s ease, color 0.2s ease; }
.step .dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #c9ccc6; flex: none; position: relative; }
.step.active { opacity: 1; color: var(--ink); }
.step.active .dot { border-color: var(--accent); border-top-color: transparent; animation: spin 0.8s linear infinite; }
.step.done { opacity: 1; color: var(--ink); }
.step.done .dot { border-color: var(--accent); background: var(--accent); }
.step.done .dot::after { content: ""; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.steps-done { margin: 12px 0 0; font-size: 14px; color: var(--accent); font-weight: 600; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Nəticənin ardıcıl görünməsi */
.reveal { animation: fadeUp 0.35s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.marked mark.sweep { background-size: 200% 100%; background-image: linear-gradient(90deg, var(--high-bg) 50%, transparent 50%); background-position: 100% 0; animation: sweep 0.6s ease 0.3s forwards; background-color: transparent; }
.marked mark.link.sweep { background-image: linear-gradient(90deg, #fff4d6 50%, transparent 50%); }
@keyframes sweep { to { background-position: 0 0; } }

/* Link kartı */
.links .lcard { padding: 12px 14px; }
.verdict { font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.v-danger { color: var(--high); }
.v-warn { color: var(--mid); }
.v-ok { color: var(--ok); }
.v-unknown { color: var(--muted); }
.lrow { margin: 3px 0; font-size: 15px; overflow-wrap: anywhere; }
.lfind { margin: 8px 0 0; padding-left: 20px; font-size: 14.5px; }
.lfind li { margin-bottom: 4px; }
.shot { margin-top: 10px; }
.bl { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.bl-check { color: var(--accent); font-weight: 600; font-size: 15px; }
.bl .shotnote { width: 100%; margin: 0; }
.bl-links a { color: var(--accent); font-weight: 600; }
.btn.small { min-height: 40px; padding: 0 14px; font-size: 15px; }
.shotnote { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); }
.shotfig { margin: 6px 0 0; }
.shotfig img { display: block; width: 100%; max-width: 320px; border: 1px solid var(--line); border-radius: 10px; }
.shotfig figcaption { font-size: 13.5px; color: var(--muted); margin-top: 6px; overflow-wrap: anywhere; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Panel canlılığı */
.live { display: inline-flex; align-items: center; gap: 8px; }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.camp.slidein { animation: slideIn 0.45s ease both; }
@keyframes slideIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.stat.bump b { animation: bump 0.5s ease; }
@keyframes bump { 40% { transform: scale(1.08); } }
