/* CheckCY - editorial look (21 Nov 2026, Roman's reference: BBC News / BBC Verify quality, own brand).
   Newspaper logic, not app-template logic: white page, black type, heavy headlines, thin rules between
   sections, colour only where it means something (the verdict bar, a rating). No card stacks, no
   decorative icons. System fonts: they cover Greek and Turkish, need no download, work offline.
   Light by default; dark follows the phone or the person's pick (html[data-theme]). */
:root{
  --bg:#ffffff; --ink:#121212; --ink-2:#3a3a3a; --muted:#5e5e5e; --rule:#e1e1e1; --rule-strong:#121212;
  --soft:#f4f4f4; --link:#0a58ca; --accent:#c41230;
  --checked:#b3261e; --checked-soft:#fbeeed; --none:#9a5b00; --none-soft:#fdf5e8; --unclear:#5e5e5e; --unclear-soft:#f2f2f2;
  --btn:#121212; --btn-ink:#ffffff; --btn-hover:#333333;
  --font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif;
  color-scheme:light;
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  --bg:#111111; --ink:#f2f2f2; --ink-2:#d0d0d0; --muted:#a3a3a3; --rule:#2c2c2c; --rule-strong:#f2f2f2;
  --soft:#1b1b1b; --link:#8ab4ff; --accent:#ff5a6e;
  --checked:#ff7b70; --checked-soft:#2a1715; --none:#f0b450; --none-soft:#2a2110; --unclear:#a3a3a3; --unclear-soft:#1e1e1e;
  --btn:#f2f2f2; --btn-ink:#111111; --btn-hover:#d6d6d6;
  color-scheme:dark;
}}
:root[data-theme="dark"]{
  --bg:#111111; --ink:#f2f2f2; --ink-2:#d0d0d0; --muted:#a3a3a3; --rule:#2c2c2c; --rule-strong:#f2f2f2;
  --soft:#1b1b1b; --link:#8ab4ff; --accent:#ff5a6e;
  --checked:#ff7b70; --checked-soft:#2a1715; --none:#f0b450; --none-soft:#2a2110; --unclear:#a3a3a3; --unclear-soft:#1e1e1e;
  --btn:#f2f2f2; --btn-ink:#111111; --btn-hover:#d6d6d6;
  color-scheme:dark;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:17px/1.55 var(--font);-webkit-font-smoothing:antialiased}
[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
button{font:inherit;color:inherit;cursor:pointer}
a{color:var(--link)}
:focus-visible{outline:3px solid var(--link);outline-offset:2px}
.view h1:focus,.view h2:focus{outline:none}
p{margin:0}
.ml6{margin-left:6px}

/* Masthead */
.appbar{position:sticky;top:0;z-index:10;background:var(--bg);border-bottom:1px solid var(--rule);padding-top:env(safe-area-inset-top)}
.appbar-in{max-width:680px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:8px max(16px,env(safe-area-inset-right)) 8px max(16px,env(safe-area-inset-left))}
.brand{display:flex;align-items:center;gap:9px;background:none;border:0;padding:0;color:var(--ink);min-height:44px;text-align:left}
.mark{width:26px;height:26px;flex:none;color:var(--accent)}
.brand-text{display:flex;flex-direction:column;line-height:1.05}
.brand-name{font-weight:800;font-size:1.2rem;letter-spacing:-.02em}
.brand-name b{font-weight:800;color:var(--accent)}
.brand-sub{font-size:.7rem;color:var(--muted);margin-top:3px;letter-spacing:.01em}
.appbar-actions{display:flex;align-items:center;gap:4px}
.langs{display:flex}
.langs button{min-height:44px;min-width:40px;border:0;background:none;color:var(--muted);font-weight:700;font-size:.82rem;padding:0 6px;border-bottom:3px solid transparent}
.langs button[aria-pressed="true"]{color:var(--ink);border-bottom-color:var(--accent)}
.icon-btn{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border:0;background:none;color:var(--ink)}
.icon-btn .ico{width:21px;height:21px}

/* Page */
main{max-width:680px;margin:0 auto;padding:22px max(16px,env(safe-area-inset-right)) 48px max(16px,env(safe-area-inset-left))}
.view{display:flex;flex-direction:column;gap:18px}
h1{font-size:2.1rem;line-height:1.1;font-weight:800;letter-spacing:-.025em;margin:0;text-wrap:balance}
h2{font-size:1.15rem;line-height:1.25;font-weight:800;margin:0;letter-spacing:-.01em}
.hero{display:flex;flex-direction:column;gap:10px}
.hero-sub{color:var(--ink-2);font-size:1.05rem;max-width:52ch}
.ico{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ico.sm{width:16px;height:16px}

/* Install prompt */
.compose-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.compose-head .link{min-height:44px;padding:0 4px}
.ios{border-bottom:1px solid var(--rule)}
.ios ol{margin:0;padding-left:22px;display:flex;flex-direction:column;gap:6px}
.ios .fold-body{font-size:.95rem}
.install{display:flex;align-items:center;gap:14px;justify-content:space-between;padding:14px 0;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
.install b{display:block;font-size:.98rem}
.install p{color:var(--muted);font-size:.88rem;margin-top:2px}
.install .secondary{flex:none;min-height:44px}

/* Compose */
.compose{display:flex;flex-direction:column;gap:10px}
label{font-weight:700;font-size:.95rem}
textarea{width:100%;border:2px solid var(--rule-strong);border-radius:0;padding:12px 14px;font:inherit;font-size:1rem;line-height:1.5;background:var(--bg);color:var(--ink);resize:vertical;min-height:140px}
textarea::placeholder{color:var(--muted)}
textarea:focus{outline:3px solid var(--link);outline-offset:0}
.error{color:var(--checked);font-size:.92rem;font-weight:600}

/* Buttons */
.primary,.secondary{min-height:52px;border-radius:4px;font-weight:700;font-size:1rem;padding:0 20px;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none}
.primary{background:var(--btn);color:var(--btn-ink);border:0}
.primary:hover{background:var(--btn-hover)}
.secondary{background:var(--bg);color:var(--ink);border:2px solid var(--rule-strong)}
button:disabled{opacity:.65;cursor:progress}
.link{background:none;border:0;color:var(--link);font-weight:700;padding:8px 0;min-height:44px;text-align:left;display:inline-flex;align-items:center;gap:4px;text-decoration:underline;text-underline-offset:3px}

/* Home footnotes */
.examples{display:flex;flex-direction:column;gap:8px;font-size:.9rem;color:var(--muted)}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chips button{min-height:44px;border:1px solid var(--rule);background:var(--soft);color:var(--ink);border-radius:4px;padding:0 14px;font-weight:600;font-size:.9rem}
.promises{list-style:none;margin:0;padding:14px 0 0;border-top:1px solid var(--rule);display:flex;flex-direction:column;gap:6px;color:var(--muted);font-size:.9rem}
.demo-note{font-size:.8rem;color:var(--muted)}

/* Verdict: the one answer */
.verdict{border-top:6px solid var(--unclear);background:var(--unclear-soft);padding:18px 18px 20px;display:flex;flex-direction:column;gap:10px}
.verdict.checked{border-top-color:var(--checked);background:var(--checked-soft)}
.verdict.none{border-top-color:var(--none);background:var(--none-soft)}
.v-kicker{font-size:.78rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:var(--unclear)}
.verdict.checked .v-kicker{color:var(--checked)}
.verdict.none .v-kicker{color:var(--none)}
.v-head{font-size:1.7rem;line-height:1.15;font-weight:800;letter-spacing:-.02em;text-wrap:balance}
.v-sub{color:var(--ink-2);font-size:1rem}
.v-flags{display:flex;align-items:center;gap:8px;font-weight:700;font-size:.95rem;padding-top:10px;border-top:1px solid var(--rule)}
.v-flags.calm{font-weight:500;color:var(--muted)}
.v-count{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;padding:0 6px;background:var(--ink);color:var(--bg);font-weight:800;font-size:.9rem;border-radius:2px}
.verdict .as-btn{align-self:flex-start;margin-top:4px}

/* Details: folded sections between rules */
.details-title{font-size:.78rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:var(--muted);margin:10px 0 -8px}
.fold{border-top:1px solid var(--rule)}
.fold:last-of-type{border-bottom:1px solid var(--rule)}
.fold summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;padding:6px 0;font-weight:700;font-size:1.02rem;cursor:pointer}
.fold summary::-webkit-details-marker{display:none}
.fold .chev{transition:transform .15s ease;color:var(--muted)}
.fold[open] .chev{transform:rotate(180deg)}
.fold-body{display:flex;flex-direction:column;gap:14px;padding:2px 0 18px}

/* A fact-check, as a news item */
.item{display:flex;flex-direction:column;gap:5px;padding:0 0 14px;border-bottom:1px solid var(--rule)}
.item:last-of-type{border-bottom:0}
.item-head{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.avatar{display:none}
.item-who{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.item-who b{font-size:.82rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:var(--accent)}
.meta{font-size:.82rem;color:var(--muted)}
.title{font-weight:700;font-size:1.08rem;line-height:1.35}
.orig{font-size:.86rem;color:var(--muted)}
.row{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.rating{font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:var(--checked);border:2px solid var(--checked);padding:2px 8px;border-radius:2px}
.read{display:inline-flex;align-items:center;gap:4px;font-weight:700;color:var(--link);min-height:44px}
.item.news .title{font-size:.95rem}
.link-gap{margin-left:8px}
.tag{display:inline-block;font-size:.74rem;font-weight:700;color:var(--muted);border:1px solid var(--rule);padding:1px 7px;margin:2px 4px 0 0;border-radius:2px}
.note{font-size:.86rem;color:var(--muted)}
.searched{font-size:.9rem;color:var(--muted)}
.searched b{color:var(--ink)}
.post-echo{background:var(--soft);border-left:3px solid var(--rule-strong);padding:12px 14px;font-size:.95rem;color:var(--ink-2);white-space:pre-wrap;overflow-wrap:anywhere}
.title,.orig{overflow-wrap:anywhere}
.flag-list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column}
.flag-list li{padding:10px 0;border-bottom:1px solid var(--rule)}
.flag-list li:last-child{border-bottom:0}
.flag-list q{font-style:italic;color:var(--ink-2)}
.source-line{font-size:.8rem;color:var(--muted)}

/* Sticky decision bar */
.actions{position:sticky;bottom:0;display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 calc(-1 * max(16px,env(safe-area-inset-left)));
  padding:12px max(16px,env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));
  background:var(--bg);border-top:1px solid var(--rule)}

/* Questions */
.qhead{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-weight:700;font-size:.88rem}
.progress{display:flex;gap:4px}
.progress i{flex:1;height:4px;background:var(--rule)}
.progress i.on{background:var(--ink)}
.answers{display:flex;flex-direction:column;gap:10px}
.answers button{min-height:58px;text-align:left;padding:0 16px;background:var(--bg);border:2px solid var(--rule);border-radius:4px;font-weight:700;color:var(--ink)}
.answers button:hover{border-color:var(--ink)}
.answers button.primary{background:var(--btn);color:var(--btn-ink);border:0}
.answers button.secondary{background:var(--bg);border:2px solid var(--rule-strong);color:var(--ink)}
.why{border-left:4px solid var(--accent);padding:4px 0 4px 14px;color:var(--ink-2)}
.why p{margin:4px 0 0}

/* Done */
.tick{width:56px;height:56px;border-radius:50%;background:var(--ink);display:flex;align-items:center;justify-content:center;margin-top:12px}
.tick svg{width:28px;height:28px;fill:none;stroke:var(--bg);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.card{border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);padding:14px 0;display:flex;flex-direction:column;gap:8px}
.card ol{margin:0;padding-left:20px}
.muted{color:var(--muted);font-size:.9rem}
.center{text-align:center}

.offline{position:sticky;top:0;z-index:11;background:var(--ink);color:var(--bg);text-align:center;padding:10px 16px;font-size:.9rem}

@media (prefers-reduced-motion:no-preference){.view{animation:in .18s ease-out}@keyframes in{from{opacity:.7}to{opacity:1}}}
@media (max-width:380px){.brand-sub{display:none}h1{font-size:1.85rem}.v-head{font-size:1.5rem}}
