/* AntiFake — разделы сайта: шапка-ссылки, подвал, люди/темы/источники, радар, фейки недели, игра, страницы доверия,
   блоки отчёта («было / стало», люди и темы, встраивание) и карточка для встраивания на чужие сайты. */

/* ---------- шапка и подвал ---------- */
.topnav { align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.nav-link { text-decoration: none !important; font-size: 14px; font-weight: 600; }
.nav-link.is-active { background: var(--surface-2); color: var(--text); }
@media (max-width: 760px) { .nav-link:not([href="/radar"]):not([href="/igra"]):not([href="/en"]):not([hreflang="ru"]) { display: none; } .nav-link { padding: 8px 10px; font-size: 13px; } }

.site-foot { width: min(1200px, 100%); margin: 40px auto 0; padding: 36px clamp(16px, 4vw, 40px) 30px; border-top: 1px solid var(--border); color: var(--text-2); font-size: 14px; }
.sf-cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.sf-brand p { margin: 10px 0; color: var(--muted); max-width: 320px; line-height: 1.5; }
.sf-tg { display: inline-block; margin-top: 4px; color: var(--cyan); font-weight: 700; }
.sf-col { display: flex; flex-direction: column; gap: 8px; }
.sf-col b { color: var(--text); font-family: var(--font-display); font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.sf-col a { color: var(--text-2); text-decoration: none; }
.sf-col a:hover { color: var(--text); }
.sf-note { margin: 28px 0 0; font-size: 12.5px; color: var(--muted); }
@media (max-width: 760px) { .sf-cols { grid-template-columns: 1fr 1fr; } .sf-brand { grid-column: 1 / -1; } }

/* ---------- разделы: общий каркас ---------- */
.page-main { width: min(1200px, 100%); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px) 40px; min-height: 60vh; }
.hub { padding-top: 26px; animation: viewIn .6s var(--ease) both; }
.hub-crumbs { margin-bottom: 18px; }
.hub-head { text-align: center; max-width: 820px; margin: 0 auto 34px; }
.hub-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 5vw, 50px); line-height: 1.08; letter-spacing: -.03em; margin: 18px 0 14px;
  background: linear-gradient(180deg, #fff, #c9cde0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hub-lead { color: var(--text-2); font-size: 16.5px; line-height: 1.6; margin: 0 auto 20px; max-width: 680px; }
.hub-rep { margin: 0 0 6px; color: var(--text); }
.hub-note { color: var(--muted); font-size: 14px; line-height: 1.55; max-width: 680px; margin: 0 auto 18px; }
.hub-stats { justify-content: center; margin-top: 8px; }
.hub-h2 { font-family: var(--font-display); font-size: clamp(20px, 2.6vw, 26px); font-weight: 600; margin: 50px 0 16px; letter-spacing: -.02em; }
.hub-empty { text-align: center; color: var(--muted); padding: 40px 0; }
.hub-grid { margin-top: 10px; }

.hub-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.hub-chip, .ent-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text); text-decoration: none !important; font-weight: 600; font-size: 14px; transition: border-color .2s, transform .2s var(--ease), background .2s; }
.hub-chip:hover, .ent-chip:hover { transform: translateY(-2px); border-color: var(--border-2); background: var(--surface-3); }
.hub-chip small { font-size: 11.5px; color: var(--muted); font-weight: 700; padding: 2px 7px; border-radius: 999px; background: rgba(255, 255, 255, .06); }
.hub-chip::before, .ent-chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 10px var(--violet); }
.k-person::before { background: var(--cyan) !important; box-shadow: 0 0 10px var(--cyan) !important; }
.k-topic::before { background: var(--pink) !important; box-shadow: 0 0 10px var(--pink) !important; }
.k-source::before { background: var(--yellow) !important; box-shadow: 0 0 10px var(--yellow) !important; }
.k-en::before { background: var(--violet, #a78bfa) !important; box-shadow: 0 0 10px #a78bfa !important; }

.hub-table { width: 100%; border-collapse: collapse; font-size: 14.5px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.hub-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 12px 16px; border-bottom: 1px solid var(--border); }
.hub-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); }
.hub-table tr:last-child td { border-bottom: 0; }
.hub-table a { color: var(--text); font-weight: 700; text-decoration: none; }
.hub-table a:hover { color: var(--cyan); }
.hub-table td.f { color: #fda4af; font-weight: 700; }
.hub-trust { display: inline-block; min-width: 44px; text-align: center; padding: 3px 9px; border-radius: 999px; font-weight: 800;
  background: color-mix(in srgb, hsl(calc(var(--t) * 1.2) 75% 55%) 18%, transparent); color: hsl(calc(var(--t) * 1.2) 80% 70%); }

/* ---------- Фейк-радар ---------- */
.rd-tabs { display: inline-flex; margin: 4px auto 18px; }
.rd-tabs .seg { text-decoration: none; }
.rd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rd-card { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.rd-card h2 { font-family: var(--font-display); font-size: 17px; font-weight: 600; margin: 0 0 6px; }
.rd-wide { margin-top: 16px; }
.rd-legend { font-size: 12px; color: var(--muted); margin: 0 0 14px; display: flex; align-items: center; gap: 6px; }
.rd-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.lg-f { background: var(--red); margin-left: 0; }
.lg-a { background: rgba(255, 255, 255, .18); margin-left: 10px; }
.rb { display: grid; grid-template-columns: minmax(110px, 38%) 1fr auto; gap: 12px; align-items: center; padding: 8px 6px; border-radius: 10px; color: var(--text); text-decoration: none !important; transition: background .2s; }
.rb:hover { background: var(--surface-2); }
.rb-name { font-weight: 700; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rb-track { position: relative; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .05); overflow: hidden; }
.rb-track i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 999px; transition: width 1.2s var(--ease); }
.rb-track.in i { width: var(--w); }
.rb-all { background: rgba(255, 255, 255, .16); }
.rb-fake { background: linear-gradient(90deg, var(--orange), var(--red)); box-shadow: 0 0 12px rgba(244, 63, 94, .5); transition-delay: .25s !important; }
.rb-n { font-size: 13px; color: var(--muted); white-space: nowrap; }
.rb-n b { color: #fda4af; }
.rd-chart { display: flex; align-items: flex-end; gap: 4px; height: 180px; padding-top: 10px; }
.rd-col { position: relative; flex: 1; height: 100%; display: flex; align-items: flex-end; justify-content: center; }
.rd-col i { position: absolute; bottom: 18px; left: 12%; right: 12%; height: 0; border-radius: 6px 6px 2px 2px; transition: height 1s var(--ease); }
.rd-chart.in .rd-col i { height: calc(var(--h) * 0.86); }
.rd-all { background: rgba(255, 255, 255, .13); }
.rd-fake { background: linear-gradient(180deg, var(--red), var(--orange)); box-shadow: 0 0 14px rgba(244, 63, 94, .45); }
.rd-col small { position: absolute; bottom: 0; font-size: 10.5px; color: var(--muted); }
@media (max-width: 760px) { .rd-grid { grid-template-columns: 1fr; } .rd-chart { height: 140px; } }

/* ---------- фейки недели ---------- */
.wk-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; counter-reset: wk; }
.wk-list li { position: relative; }
.wk-n { position: absolute; z-index: 5; top: -12px; left: -8px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font: 800 17px var(--font-display); color: #fff; background: linear-gradient(135deg, var(--red), var(--orange)); box-shadow: 0 8px 24px -6px rgba(244, 63, 94, .7); }

/* ---------- игра ---------- */
.qz { max-width: 620px; margin: 0 auto; display: grid; place-items: center; }
.qz-load { color: var(--muted); padding: 40px; }
.qz-card { width: 100%; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); border-radius: 24px; padding: 20px; animation: viewIn .5s var(--ease) both; transition: border-color .3s, box-shadow .3s; }
.qz-card.right { border-color: rgba(52, 211, 153, .5); box-shadow: 0 20px 60px -30px rgba(52, 211, 153, .6); }
.qz-card.wrong { border-color: rgba(244, 63, 94, .5); box-shadow: 0 20px 60px -30px rgba(244, 63, 94, .6); animation: qz-shake .4s; }
@keyframes qz-shake { 0%, 100% { transform: none; } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.qz-top { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); font-weight: 700; }
.qz-score { color: var(--cyan); }
.qz-bar { height: 5px; border-radius: 999px; background: rgba(255, 255, 255, .06); margin: 10px 0 16px; overflow: hidden; }
.qz-bar i { display: block; height: 100%; background: var(--grad); border-radius: inherit; transition: width .5s var(--ease); }
.qz-media { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: radial-gradient(circle at 30% 20%, #1c1f33, #07080d 70%); }
.qz-media img { width: 100%; height: 100%; object-fit: cover; }
.qz-plat, .qz-views { position: absolute; top: 10px; padding: 5px 10px; border-radius: 999px; background: rgba(0, 0, 0, .6); backdrop-filter: blur(6px); font-size: 12px; font-weight: 700; }
.qz-plat { left: 10px; }
.qz-views { right: 10px; }
.qz-stamp { position: absolute; left: 50%; top: 50%; padding: 8px 20px 6px; border-radius: 10px; font: 800 30px var(--font-display); text-transform: uppercase; letter-spacing: .1em;
  border: 4px double currentColor; background: rgba(6, 7, 12, .45); transform: translate(-50%, -50%) rotate(-10deg); animation: fk-stamp .5s cubic-bezier(.2, 1.6, .4, 1) both; }
.qz-stamp.f { color: #fb7185; text-shadow: 0 0 20px rgba(244, 63, 94, .8); }
.qz-stamp.ok { color: #6ee7b7; text-shadow: 0 0 20px rgba(52, 211, 153, .8); }
.qz-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(17px, 2.4vw, 21px); line-height: 1.3; margin: 16px 0 4px; }
.qz-author { margin: 0; color: var(--muted); font-size: 13.5px; }
.qz-ask { text-align: center; color: var(--text-2); font-weight: 700; margin: 18px 0 12px; }
.qz-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qz-btn { padding: 16px; border-radius: 16px; font: 800 17px var(--font); border: 1px solid var(--border-2); background: var(--surface-2); color: var(--text); cursor: pointer; transition: transform .15s, background .2s, border-color .2s; }
.qz-btn:hover { transform: translateY(-2px); }
.qz-btn.fake:hover { background: rgba(244, 63, 94, .16); border-color: rgba(244, 63, 94, .6); }
.qz-btn.true:hover { background: rgba(52, 211, 153, .14); border-color: rgba(52, 211, 153, .6); }
.qz-res { margin-top: 16px; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid var(--border); animation: viewIn .4s var(--ease) both; }
.qz-res p { color: var(--text-2); margin: 8px 0 0; line-height: 1.55; font-size: 14.5px; }
.qz-verdict { font-size: 16px; }
.qz-res.f .qz-verdict { color: #fda4af; }
.qz-res.ok .qz-verdict { color: #86efac; }
.qz-true b { color: var(--text); }
.qz-next { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.qz-next a { color: var(--cyan); font-weight: 700; }
.qz-final { text-align: center; }
.qz-big { font: 800 clamp(64px, 12vw, 96px) / 1 var(--font-display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-top: 10px; }
.qz-big small { font-size: .4em; color: var(--muted); -webkit-text-fill-color: var(--muted); }
.qz-dots { display: flex; justify-content: center; gap: 6px; margin: 12px 0; }
.qz-dots i { width: 14px; height: 14px; border-radius: 50%; }
.qz-dots i.ok { background: var(--green); box-shadow: 0 0 10px var(--green); }
.qz-dots i.f { background: var(--red); box-shadow: 0 0 10px var(--red); }
.qz-final .share-nets { justify-content: center; }
.qz-final .qz-next { justify-content: center; gap: 20px; }

/* ---------- страницы доверия ---------- */
.doc .doc-body { margin-top: 0; }
.doc-body h1 { font-size: clamp(26px, 4vw, 38px); }
.doc-body a { color: var(--cyan); }

/* ---------- отчёт: люди и темы, «было / стало», встраивание ---------- */
.ent-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ent-chip { padding: 6px 12px; font-size: 13px; }
.ba { margin: 0 0 18px; padding: 18px; border-radius: var(--radius); background: rgba(255, 255, 255, .025); border: 1px solid var(--border); }
.ba-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.ba-head .i { width: 18px; height: 18px; stroke: var(--cyan); }
.ba-head b { font-family: var(--font-display); font-weight: 600; }
.ba-head span { color: var(--muted); font-size: 13.5px; }
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.ba-side { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ba-lbl { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.ba-side.fake .ba-lbl { color: #fda4af; }
.ba-side.orig .ba-lbl { color: #86efac; }
.ba-player { position: relative; aspect-ratio: 16 / 9; width: 100%; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: #07080d; cursor: pointer; padding: 0; }
.ba-player.vert { aspect-ratio: 9 / 16; max-height: 520px; }
.ba-side.fake .ba-player { border-color: rgba(244, 63, 94, .45); }
.ba-side.orig .ba-player { border-color: rgba(52, 211, 153, .45); }
.ba-player img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s, transform .4s var(--ease); }
.ba-player:hover img { opacity: 1; transform: scale(1.03); }
.ba-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  font-size: 20px; color: #fff; background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .3); }
.ba-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; background: #000; }
.ba-frame.vert { aspect-ratio: 9 / 16; max-height: 580px; }
.ba-title { font-size: 13px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 680px) { .ba-grid { grid-template-columns: 1fr; } }
.share-embed { margin-top: 12px; }
.share-embed summary { cursor: pointer; color: var(--cyan); font-size: 13.5px; font-weight: 700; }
.share-embed[open] { display: grid; gap: 8px; }
.share-embed textarea { width: 100%; font-family: var(--font-mono); font-size: 12px; padding: 10px; border-radius: 10px; background: rgba(0, 0, 0, .3); color: var(--text-2); border: 1px solid var(--border); resize: none; }
.share-embed .ghost-btn { justify-self: start; }

/* ---------- карточка для встраивания (/embed/<id>) ---------- */
body.embed { margin: 0; font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif; background: transparent; color: #eceef7; }
.em { display: grid; grid-template-columns: 200px 1fr; min-height: 182px; border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit;
  background: linear-gradient(135deg, #12142a, #0a0b14); border: 1px solid rgba(255, 255, 255, .1); }
.is-fake .em { border-color: rgba(244, 63, 94, .45); }
.is-ok .em { border-color: rgba(52, 211, 153, .4); }
.em-media { position: relative; background: #07080d; }
.em-media img { width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.em-stamp { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-10deg); padding: 5px 12px 4px; border-radius: 8px; font-weight: 800; font-size: 18px;
  text-transform: uppercase; letter-spacing: .1em; border: 3px double currentColor; background: rgba(6, 7, 12, .5); }
.is-fake .em-stamp { color: #fb7185; }
.is-ok .em-stamp { color: #6ee7b7; }
.em-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; }
.em-brand { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #22d3ee; }
.em-label { font-size: 15px; }
.is-fake .em-label { color: #fda4af; }
.is-ok .em-label { color: #86efac; }
.em-title { font-size: 14.5px; line-height: 1.45; color: #b7bcd0; }
.em-more { margin-top: auto; font-size: 13px; font-weight: 700; color: #22d3ee; }
@media (max-width: 460px) { .em { grid-template-columns: 1fr; } .em-media { aspect-ratio: 16 / 8; } }

/* английская версия */
.en-cover { display: block; width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); margin: 18px 0 8px; }
.en-findings { list-style: none; padding: 0; display: grid; gap: 10px; }
.en-findings li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.55; }
.en-findings i { flex: none; width: 10px; height: 10px; border-radius: 50%; margin-top: 8px; }
.en-list { max-width: 860px; margin: 0 auto; }
.en-list li small { display: block; margin: 2px 0 0; color: var(--muted); font-size: 12.5px; }
