:root {
  --bg: #07080a;
  --surface: #0e1014;
  --surface-2: #14171d;
  --border: #20242c;
  --text: #e9ebee;
  --muted: #98a1ad;
  --red: #ff3d2e;
  --red-soft: rgba(255, 61, 46, .14);
  --amber: #ffb020;
  --amber-soft: rgba(255, 176, 32, .14);
  --yellow: #e6d34a;
  --yellow-soft: rgba(230, 211, 74, .12);
  --radius: 14px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Space Grotesk', var(--font);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 1rem/1.65 var(--font); }
a { color: inherit; }
img, svg, canvas { display: block; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.accent { color: var(--red); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--red); color: #fff; padding: 8px 12px; z-index: 99; border-radius: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(7, 8, 10, .82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 1.1rem; letter-spacing: .01em; }
.logo b { color: var(--red); font-weight: 700; }
.nav { display: flex; gap: 4px; }
.nav a { text-decoration: none; color: var(--muted); padding: 8px 12px; border-radius: 8px; font-weight: 500; }
.nav a:hover, .nav a[aria-current] { color: var(--text); background: var(--surface-2); }
.menu-btn { display: none; background: none; border: 1px solid var(--border); color: var(--text); border-radius: 8px; font-size: 1.1rem; padding: 4px 10px; cursor: pointer; }
@media (max-width: 720px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 62px; left: 0; right: 0; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px 16px 16px; }
  .nav.open { display: flex; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font: 600 .98rem var(--font); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .15s, background .15s, border-color .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #ff5446; }
.btn-primary:disabled { opacity: .6; cursor: wait; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: #3a404b; background: var(--surface); }

/* Hero */
.hero { position: relative; min-height: min(88vh, 760px); display: flex; align-items: center; overflow: hidden; border-bottom: 1px solid var(--border); }
#fracture { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,8,10,.92) 0%, rgba(7,8,10,.55) 55%, rgba(7,8,10,.1) 100%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 64px; }
.hero h1 { max-width: 15ch; }
.hero .lead { max-width: 56ch; }
.lead { font-size: 1.12rem; color: #c6cbd2; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 600; color: var(--muted); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(255,61,46,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255,61,46,0); } 100% { box-shadow: 0 0 0 0 rgba(255,61,46,0); } }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
@media (max-width: 720px) { .hero::after { background: linear-gradient(180deg, rgba(7,8,10,.25) 0%, rgba(7,8,10,.7) 45%, rgba(7,8,10,.85) 100%); } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.stat strong { display: block; font: 700 1.9rem var(--display); }
.stat span { color: var(--muted); font-size: .9rem; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Sections */
.section { padding: 44px 16px 8px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.more { color: var(--muted); text-decoration: none; font-weight: 500; white-space: nowrap; }
.more:hover { color: var(--text); }
.page-head { padding-top: 48px; }
.page-head .lead { max-width: 64ch; }

/* Danger cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; transition: border-color .2s, transform .2s, background .2s; overflow: hidden; }
.card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 60%, var(--red-soft)); opacity: 0; transition: opacity .25s; }
.card:hover { border-color: #3a2a2a; transform: translateY(-2px); }
.card:hover::before { opacity: 1; }
.card h3 { margin: 6px 0 0; }
.card p { color: var(--muted); margin: 0; flex: 1; }
.card-go { color: var(--red); font-weight: 600; font-size: .9rem; margin-top: 8px; }
.level { align-self: flex-start; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 3px 9px; border-radius: 999px; }
.level-critical { color: var(--red); background: var(--red-soft); }
.level-high { color: var(--amber); background: var(--amber-soft); }
.level-elevated { color: var(--yellow); background: var(--yellow-soft); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 10px; }
.dot.level-critical { background: var(--red); }
.dot.level-high { background: var(--amber); }
.dot.level-elevated { background: var(--yellow); }

/* Updates */
.updates { display: grid; gap: 12px; }
.update { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.update time { color: var(--muted); font-size: .88rem; font-variant-numeric: tabular-nums; }
.update h3 { margin: 0 0 6px; }
.update h3 a { text-decoration: none; }
.update h3 a:hover { color: var(--red); }
.update p { color: #c3c8cf; margin: 0 0 8px; }
.update .meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: .85rem; color: var(--muted); }
.update .meta a { color: var(--muted); }
.tag { text-decoration: none; background: var(--surface-2); border: 1px solid var(--border); padding: 1px 8px; border-radius: 999px; }
@media (max-width: 600px) { .update { grid-template-columns: 1fr; gap: 4px; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { text-decoration: none; font-size: .88rem; padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); }
.chip:hover, .chip.is-active { color: var(--text); border-color: var(--red); }

/* Article */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; padding-top: 32px; padding-bottom: 32px; }
.article.narrow { display: block; max-width: 760px; }
.crumbs { grid-column: 1 / -1; color: var(--muted); font-size: .88rem; }
.crumbs a { color: var(--muted); }
.article-head { grid-column: 1 / -1; }
.tagline { font-size: 1.25rem; color: #c6cbd2; }
.article-body section { margin-bottom: 36px; }
.bullets { padding-left: 1.2em; margin: 0; }
.bullets li { margin-bottom: 8px; }
.bullets li::marker { color: var(--red); }
.cases { list-style: none; padding: 0; margin: 0; counter-reset: c; display: grid; gap: 12px; }
.cases li { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--red); border-radius: 10px; padding: 16px 18px; }
.cases p { margin-bottom: 6px; }
.cases a { color: var(--muted); font-size: .88rem; }
.protect { background: linear-gradient(180deg, rgba(46, 204, 113, .06), transparent); border: 1px solid #1d3326; border-radius: var(--radius); padding: 22px; }
.protect .bullets li::marker { color: #2ecc71; }
.discuss { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.related { position: sticky; top: 86px; align-self: start; }
.related h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.related ul { list-style: none; padding: 0; margin: 0; }
.related a { display: flex; align-items: center; padding: 8px 0; text-decoration: none; color: #c6cbd2; border-bottom: 1px solid var(--border); font-size: .95rem; }
.related a:hover { color: var(--text); }
@media (max-width: 900px) { .article { grid-template-columns: 1fr; } .related { position: static; } }

/* Community */
.community { max-width: 780px; }
.composer { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; display: grid; gap: 10px; }
.row { display: flex; gap: 10px; align-items: center; }
.row.between { justify-content: space-between; flex-wrap: wrap; }
input, select, textarea { width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 10px; padding: 11px 12px; font: inherit; }
select { width: auto; min-width: 150px; }
textarea { resize: vertical; min-height: 96px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--red); }
.form-msg { margin: 0; font-size: .9rem; min-height: 1em; }
.form-msg.error { color: var(--red); }
.form-msg.ok { color: #2ecc71; }
@media (max-width: 520px) { .row { flex-direction: column; align-items: stretch; } select { width: 100%; } }

.feed-controls { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 28px 0 14px; flex-wrap: wrap; }
.tabs { display: inline-flex; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 3px; }
.tab { background: none; border: 0; color: var(--muted); font: 600 .92rem var(--font); padding: 7px 14px; border-radius: 8px; cursor: pointer; }
.tab.is-active { background: var(--surface-2); color: var(--text); }
.feed { display: grid; gap: 12px; }
.load-more { margin: 16px auto 0; display: flex; }

.post { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; }
.post.fresh { animation: fresh 1.2s ease-out; }
@keyframes fresh { from { border-color: var(--red); } }
.post-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 700 .9rem var(--display); color: #fff; flex: none; }
.post-head strong { font-weight: 600; }
.post-head time, .post-head .tag { color: var(--muted); font-size: .85rem; }
.post-body { white-space: pre-wrap; word-wrap: break-word; margin: 0 0 12px; }
.post-body a { color: var(--red); }
.actions { display: flex; gap: 4px; flex-wrap: wrap; }
.act { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: var(--muted); font: 500 .9rem var(--font); padding: 6px 10px; border-radius: 8px; cursor: pointer; }
.act:hover { background: var(--surface-2); color: var(--text); }
.act svg { width: 18px; height: 18px; }
.act.liked { color: var(--red); }
.act.liked svg { fill: var(--red); }
.act.report { margin-left: auto; font-size: .82rem; }
.comments { border-top: 1px solid var(--border); margin-top: 12px; padding-top: 12px; display: grid; gap: 10px; }
.comment { display: flex; gap: 10px; }
.comment .avatar { width: 26px; height: 26px; font-size: .75rem; }
.comment-main { flex: 1; min-width: 0; }
.comment-main p { margin: 2px 0 0; white-space: pre-wrap; word-wrap: break-word; }
.comment-main small { color: var(--muted); }
.comment-form { display: flex; gap: 8px; }
.comment-form input { flex: 1; }
.empty { text-align: center; padding: 36px 16px; border: 1px dashed var(--border); border-radius: var(--radius); color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 600; opacity: 0; transition: .25s; z-index: 50; pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); margin-top: 64px; padding: 32px 0; }
.foot { display: grid; grid-template-columns: 1fr auto; gap: 16px 32px; align-items: start; }
.foot nav { display: flex; gap: 16px; flex-wrap: wrap; }
.foot nav a { color: var(--muted); text-decoration: none; }
.foot nav a:hover { color: var(--text); }
.foot .small { grid-column: 1 / -1; margin: 0; }
@media (max-width: 600px) { .foot { grid-template-columns: 1fr; } }

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

/* Article images */
.card { padding: 0; }
.card > :not(.card-img) { margin-left: 20px; margin-right: 20px; }
.card .level { margin-top: 16px; }
.card .card-go { margin-bottom: 20px; }
.card-img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--border); filter: saturate(.9); transition: filter .3s, transform .4s; }
.card:hover .card-img { filter: saturate(1.05); }
.article-figure { grid-column: 1 / -1; margin: 0 0 8px; }
.article-figure img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); }
.article-figure figcaption { font-size: .78rem; color: var(--muted); margin-top: 6px; letter-spacing: .02em; }
.update.has-img { grid-template-columns: 180px 110px 1fr; }
.update-img { width: 180px; height: 101px; object-fit: cover; border-radius: 8px; }
@media (max-width: 800px) { .update.has-img { grid-template-columns: 120px 1fr; } .update.has-img time { grid-column: 2; } .update.has-img > div { grid-column: 1 / -1; } .update-img { width: 120px; height: 68px; } }

/* Live poll */
.poll { max-width: 1000px; }
.poll-form { display: grid; gap: 22px; }
.poll-form[hidden], .share-card[hidden] { display: none; }
.poll-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.poll-form legend { font: 600 1.1rem var(--display); margin-bottom: 12px; padding: 0; }
.poll-choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.choice { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 2px solid var(--border); border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: border-color .2s, transform .2s; }
.choice:hover { transform: translateY(-2px); border-color: #3a404b; }
.choice input, .poll-when .chip input { position: absolute; opacity: 0; pointer-events: none; }
.choice img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; filter: grayscale(.6) brightness(.8); transition: filter .25s; }
.choice:hover img, .choice:has(input:checked) img { filter: none; }
.choice:has(input:checked) { border-color: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.choice:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 2px; }
.choice-body { padding: 12px 14px 14px; display: grid; gap: 4px; }
.choice-body span { color: var(--muted); font-size: .9rem; line-height: 1.45; }
.poll-when .chip { position: relative; cursor: pointer; }
.poll-when .chip:has(input:checked) { color: var(--text); border-color: var(--red); background: var(--red-soft); }
.share-card { background: linear-gradient(135deg, var(--red-soft), var(--surface) 60%); border: 1px solid #4a2320; border-radius: var(--radius); padding: 22px; display: grid; gap: 12px; }
.share-text { font: 600 1.3rem/1.35 var(--display); margin: 0; }
.share-card .row { flex-wrap: wrap; }
.results-title { margin-top: 36px; }
.poll-total { display: flex; align-items: center; gap: 8px; color: var(--muted); margin-bottom: 14px; flex-wrap: wrap; }
.poll-total strong { color: var(--text); font: 700 1.4rem var(--display); }
.bars { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.bar-label { display: flex; justify-content: space-between; gap: 12px; font-weight: 500; margin-bottom: 5px; }
.bar-label em { font-style: normal; font-size: .72rem; color: var(--amber); border: 1px solid var(--amber); border-radius: 999px; padding: 0 7px; margin-left: 8px; vertical-align: middle; }
.bar-num { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.bar-num strong { color: var(--text); }
.bar-track { height: 12px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; background: #5b6472; border-radius: 999px; transition: width .8s cubic-bezier(.2, .8, .2, 1); min-width: 3px; }
.pbar.mine .bar-fill { background: var(--amber); }
.pbar.lead .bar-fill { background: var(--red); box-shadow: 0 0 16px rgba(255, 61, 46, .5); }
.when-title { font-size: 1.05rem; margin: 28px 0 10px; }
.when { display: flex; height: 58px; border-radius: 10px; overflow: hidden; gap: 2px; }
.when-seg { min-width: 70px; display: flex; flex-direction: column; justify-content: center; padding: 0 10px; background: var(--surface-2); font-size: .8rem; color: var(--muted); transition: flex .8s; }
.when-seg:nth-child(1) { background: rgba(255, 61, 46, .35); color: #fff; }
.when-seg:nth-child(2) { background: rgba(255, 61, 46, .2); }
.when-seg:nth-child(3) { background: rgba(255, 176, 32, .14); }
.when-seg strong { color: var(--text); font-size: 1rem; }
.poll-teaser { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.poll-teaser .when-title, .poll-teaser .when { display: none; }
@media (max-width: 800px) { .poll-teaser { grid-template-columns: 1fr; padding: 20px; } }
@media (max-width: 600px) { .poll-choices { grid-template-columns: 1fr 1fr; gap: 8px; } .choice-body { padding: 8px 10px 10px; } .choice-body strong { font-size: .92rem; line-height: 1.25; } .choice-body span { display: none; } .when-seg { min-width: 0; padding: 0 6px; font-size: .7rem; } }

/* Focus visibility for keyboard users */
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

/* Accessibility menu */
.a11y-btn { position: fixed; left: 16px; bottom: 16px; z-index: 60; width: 50px; height: 50px; border-radius: 50%; border: 2px solid #fff; background: #1d4ed8; color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 16px rgba(0,0,0,.5); }
.a11y-btn:hover { background: #2563eb; }
.a11y-panel { position: fixed; left: 16px; bottom: 76px; z-index: 60; width: min(300px, calc(100vw - 32px)); max-height: calc(100vh - 100px); overflow: auto; background: #111418; color: #fff; border: 1px solid #3a404b; border-radius: 14px; padding: 16px; display: grid; gap: 8px; box-shadow: 0 10px 40px rgba(0,0,0,.6); font-size: 16px; }
.a11y-panel[hidden] { display: none; }
.a11y-panel h2 { font-size: 1.1rem; margin: 0 0 4px; }
.a11y-opt, .a11y-reset { text-align: left; background: #1b1f26; color: #fff; border: 1px solid #3a404b; border-radius: 10px; padding: 10px 12px; font: 500 15px var(--font); cursor: pointer; }
.a11y-opt[aria-pressed="true"] { background: #1d4ed8; border-color: #93c5fd; }
.a11y-reset { background: transparent; }
.a11y-panel a { color: #93c5fd; font-size: 14px; }

html.a11y-text-lg { font-size: 115%; }
html.a11y-text-xl { font-size: 130%; }
html.a11y-contrast { --bg: #000; --surface: #000; --surface-2: #111; --border: #fff; --text: #fff; --muted: #f0f0f0; --red: #ff6b5e; }
html.a11y-contrast .lead, html.a11y-contrast .tagline, html.a11y-contrast .update p { color: #fff; }
html.a11y-light { --bg: #ffffff; --surface: #f4f5f7; --surface-2: #e8eaee; --border: #c9ced6; --text: #111418; --muted: #454c57; --red: #c8231a; }
html.a11y-light .lead, html.a11y-light .tagline, html.a11y-light .update p, html.a11y-light .choice-body span { color: #222; }
html.a11y-light .site-header { background: rgba(255,255,255,.92); }
html.a11y-light .hero::after { background: linear-gradient(90deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.8) 60%, rgba(255,255,255,.4) 100%); }
html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; }
html.a11y-links a:not(.btn) { outline: 1px dashed var(--amber); outline-offset: 2px; }
html.a11y-font body, html.a11y-font h1, html.a11y-font h2, html.a11y-font h3 { font-family: Arial, Verdana, sans-serif !important; }
html.a11y-spacing body { letter-spacing: .06em; word-spacing: .16em; line-height: 1.9; }
html.a11y-spacing p, html.a11y-spacing li { line-height: 1.9; }
html.a11y-no-motion *, html.a11y-no-motion *::before, html.a11y-no-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

/* Legal pages */
.legal h2 { margin-top: 32px; font-size: 1.3rem; }
.legal h3 { margin-top: 20px; }
.legal p, .legal li { color: #c9ced6; }
html.a11y-light .legal p, html.a11y-light .legal li, html.a11y-contrast .legal p, html.a11y-contrast .legal li { color: var(--text); }
.legal .updated { color: var(--muted); font-size: .9rem; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: .92rem; }
.legal th, .legal td { text-align: left; border: 1px solid var(--border); padding: 8px 10px; vertical-align: top; }
.legal th { background: var(--surface); }
.legal-note { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--amber); border-radius: 10px; padding: 14px 16px; }
.consent { font-size: .82rem; color: var(--muted); margin: 0; }
.consent a { color: var(--muted); }
.foot-legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .88rem; }
.foot-legal a { color: var(--muted); }

/* Poll v2: grouped text tiles */
.poll-choices { display: block; }
.choice-group { margin-bottom: 18px; }
.choice-group h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 8px; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.choice { flex-direction: row; border-width: 1px; }
.choice:hover { transform: none; border-color: #4a515d; background: var(--surface-2); }
.choice-body { padding: 12px 14px 12px 40px; position: relative; }
.choice-body::before { content: ''; position: absolute; left: 14px; top: 15px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #5b6472; }
.choice:has(input:checked) .choice-body::before { border-color: var(--red); background: radial-gradient(circle, var(--red) 45%, transparent 50%); }
.choice:has(input:checked) { background: var(--red-soft); }
.choice-body strong { font-size: .98rem; line-height: 1.3; }
.choice-body span { font-size: .86rem; }
.poll-empty { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: center; background: var(--surface-2); border: 1px dashed #3a404b; border-radius: 12px; padding: 16px 18px; }
.poll-empty span:last-child { grid-column: 2; color: var(--muted); }
.bars { gap: 10px; }
@media (max-width: 600px) {
  .choice-grid { grid-template-columns: 1fr; }
  .choice-body span { display: block; }
  .a11y-btn { width: 44px; height: 44px; left: 10px; bottom: 10px; }
  .a11y-panel { left: 10px; bottom: 62px; }
  .site-footer { padding-bottom: 72px; }
  .bar-label { font-size: .92rem; }
}

/* Games */
.game-head h1 { margin-bottom: .2em; }
.game-wrap { max-width: 860px; }
.game { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; min-height: 360px; margin-bottom: 10px; }
.g-head { display: flex; justify-content: space-between; color: var(--muted); font-size: .92rem; margin-bottom: 10px; }
.g-head strong { color: var(--text); }
.g-progress { display: flex; gap: 4px; margin-bottom: 14px; }
.g-progress span { flex: 1; height: 5px; border-radius: 3px; background: var(--surface-2); }
.g-progress .ok { background: #2ecc71; } .g-progress .bad { background: var(--red); } .g-progress .now { background: var(--muted); }
.spot-img { margin: 0; }
.spot-img img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; border: 1px solid var(--border); background: #000; }
.g-question { font: 600 1.15rem var(--display); margin: 14px 0 10px; text-align: center; }
.g-choices { display: grid; gap: 10px; margin-top: 12px; }
.g-choices.two { grid-template-columns: 1fr 1fr; }
.g-big { padding: 16px 18px; font-size: 1.02rem; justify-content: flex-start; text-align: left; white-space: normal; }
.g-choices.two .g-big { justify-content: center; text-align: center; }
.g-big:hover { border-color: var(--red); background: var(--surface-2); }
.g-reveal { margin-top: 14px; border-radius: 12px; padding: 16px 18px; border: 1px solid; display: grid; gap: 4px; }
.g-reveal.ok { border-color: #1f5c38; background: rgba(46, 204, 113, .08); }
.g-reveal.bad { border-color: #5c2320; background: var(--red-soft); }
.g-reveal .btn { justify-self: start; margin-top: 8px; }
.g-verdict { font: 600 1.1rem/1.4 var(--display); margin: 0 0 4px; }
.g-meta { font-size: .85rem; color: var(--muted); }
.g-meta a { color: var(--muted); }
.g-end { text-align: center; display: grid; gap: 6px; justify-items: center; padding: 10px 0; }
.g-end .row { justify-content: center; margin-top: 10px; }
.g-score { font: 700 4rem/1 var(--display); margin: 0; }
.g-score span { font-size: 1.6rem; color: var(--muted); }
.g-lesson { text-align: left; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; margin-top: 10px; width: 100%; }
.g-lesson h3 { margin-bottom: 6px; }
.wrap-row { flex-wrap: wrap; }
.g-card h2 { font-size: 1.35rem; }
.g-result { background: var(--bg); border-left: 3px solid var(--amber); border-radius: 8px; padding: 10px 14px; color: #c9ced6; margin: 12px 0; }
/* Contain the AI meters */
.breaking { margin-bottom: 12px; }
.meters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 8px; }
.meter-top { display: flex; justify-content: space-between; font-size: .82rem; color: var(--muted); margin-bottom: 4px; gap: 6px; }
.meter-top em { font-style: normal; font-weight: 700; margin-left: 6px; }
.meter-top em.up { color: #2ecc71; } .meter-top em.down { color: var(--red); }
.breaking .meter-top { font: 600 .95rem var(--display); color: var(--text); }
.meter-track { height: 8px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.meter-track.big { height: 14px; }
.meter-fill { height: 100%; border-radius: 999px; transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.m-cap { background: #6c8cff; } .m-safe { background: #2ecc71; } .m-trust { background: var(--amber); } .m-money { background: #b98cff; }
.m-risk { background: linear-gradient(90deg, var(--amber), var(--red)); box-shadow: 0 0 14px rgba(255, 61, 46, .45); }
.g-end.lost h2 { color: var(--red); }
/* Scam Call phone */
.phone { background: #0b0d10; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; max-width: 520px; margin: 0 auto; }
.phone-top { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; background: var(--surface-2); font-size: .85rem; color: var(--muted); }
.phone-top strong { color: var(--text); font-size: 1.02rem; }
.phone-body { padding: 14px; display: grid; gap: 8px; min-height: 150px; align-content: start; }
.bubble { margin: 0; background: var(--surface-2); border-radius: 14px 14px 14px 4px; padding: 10px 14px; max-width: 90%; animation: pop .25s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } }
.timer { height: 6px; background: var(--surface-2); border-radius: 999px; overflow: hidden; max-width: 520px; margin: 12px auto 0; }
.timer-fill { height: 100%; width: 100%; background: #2ecc71; transition: width .1s linear, background .3s; }
.timer-fill.late { background: var(--red); }
#choices, .game .g-reveal { max-width: 520px; margin-left: auto; margin-right: auto; }
.game-card .level { background: var(--amber-soft); color: var(--amber); }
@media (max-width: 600px) {
  .game { padding: 14px; }
  .meters { grid-template-columns: 1fr 1fr; }
  .g-choices.two { grid-template-columns: 1fr; }
  .g-score { font-size: 3.2rem; }
}

/* Guides, FAQ, TOC */
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 32px; }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
.toc a { color: #c6cbd2; text-decoration: none; }
.toc a:hover { color: var(--text); text-decoration: underline; }
.guide .article-body section[id] { scroll-margin-top: 80px; }
.article-body a { color: #ff7a6e; }
.article-body a.btn { color: inherit; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; margin-bottom: 8px; }
.faq summary { cursor: pointer; padding: 14px 16px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--red); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 16px 14px; margin: 0; color: #c6cbd2; }
.guide-callout { background: linear-gradient(135deg, var(--amber-soft), var(--surface) 70%); border: 1px solid #4a3a1a; border-radius: var(--radius); padding: 20px 22px; }
.guide-callout h2 { font-size: 1.25rem; }
.guide-callout h2 a { color: var(--text); text-decoration: none; }
html.a11y-light .toc a, html.a11y-light .faq details p { color: var(--text); }

/* Outrun the Machine */
.game.runner-root { padding: 0; min-height: 0; overflow: hidden; background: #07080a; }
.runner { position: relative; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.runner canvas { display: block; width: 100%; cursor: pointer; }
.r-hud { position: absolute; inset: 10px 12px auto 12px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; pointer-events: none; }
.r-score { font: 700 1.6rem/1 var(--display); color: #fff; text-shadow: 0 0 12px rgba(255,61,46,.6); display: grid; }
.r-score small { font: 600 .7rem var(--font); color: var(--muted); letter-spacing: .12em; margin-top: 4px; }
.r-gap { flex: 1; max-width: 240px; display: grid; gap: 4px; font: 600 .68rem var(--font); letter-spacing: .14em; color: var(--muted); }
.r-gap-track { height: 8px; background: rgba(255,255,255,.08); border-radius: 999px; overflow: hidden; }
.r-gap-fill { height: 100%; background: linear-gradient(90deg, var(--red), var(--amber), #2ecc71); border-radius: 999px; transition: width .2s; }
.r-gap-fill.danger { animation: pulseBar .5s infinite alternate; }
@keyframes pulseBar { to { opacity: .4; } }
.r-btns { display: flex; gap: 6px; pointer-events: auto; }
.r-icon { width: 36px; height: 36px; border-radius: 10px; border: 1px solid rgba(255,255,255,.15); background: rgba(0,0,0,.45); color: #fff; cursor: pointer; font-size: 1rem; }
.r-msg { position: absolute; left: 50%; top: 22%; transform: translateX(-50%); font: 700 1.1rem var(--display); color: #fff; text-shadow: 0 0 14px rgba(255,61,46,.9); opacity: 0; pointer-events: none; text-align: center; width: 90%; }
.r-msg.show { animation: rmsg 2.2s ease-out; }
@keyframes rmsg { 0% { opacity: 0; transform: translate(-50%, 10px); } 12% { opacity: 1; transform: translate(-50%, 0); } 75% { opacity: 1; } 100% { opacity: 0; } }
.r-overlay { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(5,6,8,.72); backdrop-filter: blur(2px); padding: 12px; }
.r-overlay[hidden] { display: none; }
.r-panel { max-width: 460px; text-align: center; display: grid; gap: 8px; justify-items: center; max-height: 100%; overflow: auto; }
.r-panel h2 { font-size: 1.7rem; margin: 0; }
.r-panel p { margin: 0; color: #c6cbd2; }
.r-keys { list-style: none; padding: 0; margin: 4px 0 8px; font-size: .9rem; color: var(--muted); display: grid; gap: 4px; }
kbd { background: #1b1f26; border: 1px solid #3a404b; border-bottom-width: 2px; border-radius: 5px; padding: 0 6px; font: 600 .8rem var(--font); color: #fff; }
.r-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; vertical-align: middle; }
.r-dot.cell { background: #5adcff; } .r-dot.emp { background: #7aa8ff; box-shadow: 0 0 0 2px #fff inset; }
.r-submit { display: flex; gap: 8px; width: 100%; }
.r-submit input { flex: 1; }
.r-actions { justify-content: center; }
.r-touch { display: none; }
.r-board { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 16px; border-top: 1px solid var(--border); background: var(--surface); }
.r-board h3 { font-size: .95rem; margin: 0 0 8px; }
.r-board ol { margin: 0; padding-left: 1.4em; display: grid; gap: 4px; font-size: .92rem; }
.r-board li span { display: inline-block; min-width: 60%; }
.r-board li strong { font-variant-numeric: tabular-nums; }
@media (hover: none) and (pointer: coarse) {
  .r-touch { display: flex; justify-content: space-between; padding: 8px; gap: 8px; background: #0b0c10; }
  .r-touch button { flex: 1; padding: 16px; border-radius: 12px; border: 1px solid #3a404b; background: #14171d; color: #fff; font: 700 1rem var(--display); }
}
@media (max-width: 600px) { .r-board { grid-template-columns: 1fr; } .r-panel h2 { font-size: 1.3rem; } .r-keys { font-size: .8rem; } .r-score { font-size: 1.3rem; } }
