:root{--bg:#0b0f17;--card:#121826;--line:#1f2838;--tx:#e8ecf3;--mut:#8a94a7;--n:#3b82f6;--c:#14b8a6;--a:#a3e635;--o:#64748b;--warn:#f59e0b;--ok:#22c55e;--red:#ef4444}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:radial-gradient(1200px 500px at 50% -200px,#16213a,transparent),var(--bg);color:var(--tx);font:15px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;min-height:100vh}
.wrap{max-width:760px;margin:0 auto;padding:20px 14px 40px}
a{color:inherit}
.top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px}
h1{margin:0;font-size:24px;font-weight:750;letter-spacing:-.02em}
h1 span{color:var(--mut);font-weight:500}
.sub{margin:2px 0 0;color:var(--mut);font-size:13px}
.live{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--mut);background:var(--card);border:1px solid var(--line);padding:5px 10px;border-radius:99px;white-space:nowrap}
.live i{width:8px;height:8px;border-radius:50%;background:var(--o)}
.live.on i{background:var(--ok);box-shadow:0 0 0 0 rgba(34,197,94,.6);animation:pulse 2s infinite}
.live.off i{background:var(--red)}
@keyframes pulse{70%{box-shadow:0 0 0 7px rgba(34,197,94,0)}100%{box-shadow:0 0 0 0 rgba(34,197,94,0)}}
.card{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:18px;margin-bottom:14px}
h2{font-size:15px;margin:0 0 12px;font-weight:650;letter-spacing:.01em}
h3{font-size:13px;color:var(--mut);text-transform:uppercase;letter-spacing:.06em;margin:20px 0 10px}
.hero-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.pill{font-size:12px;font-weight:700;letter-spacing:.06em;padding:5px 11px;border-radius:99px;background:rgba(245,158,11,.14);color:#fbbf24;border:1px solid rgba(245,158,11,.35)}
.pill.exit_polls{background:rgba(168,85,247,.15);color:#c084fc;border-color:rgba(168,85,247,.4)}
.pill.official,.pill.official_wikipedia{background:rgba(34,197,94,.14);color:#4ade80;border-color:rgba(34,197,94,.4)}
.pill.none{background:#1f2838;color:var(--mut);border-color:var(--line)}
.updated{font-size:12px;color:var(--mut)}
.note{color:var(--mut);font-size:13px;margin:10px 0 16px}
.blocnums{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:14px}
.bn{min-width:0}
.bn b{display:block;font-size:40px;line-height:1;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:-.03em}
.bn span{display:block;font-size:12px;color:var(--mut);margin-top:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bn.netanyahu b{color:#60a5fa}.bn.change b{color:#2dd4bf}.bn.arab b{color:#bef264}
.bn:nth-child(2){text-align:center}.bn:nth-child(3){text-align:right}
.seatbar{position:relative;display:flex;height:22px;border-radius:8px;background:#1a2232;overflow:visible}
.seg{height:100%;width:0;transition:width .8s cubic-bezier(.2,.8,.2,1)}
.seg:first-child{border-radius:8px 0 0 8px}.seg.arab{border-radius:0 8px 8px 0}
.seg.netanyahu{background:var(--n)}.seg.change{background:var(--c)}.seg.arab{background:var(--a)}.seg.other{background:var(--o)}
.majority{position:absolute;left:50.833%;top:-6px;bottom:-6px;width:2px;background:#fff;border-radius:2px}
.majority span{position:absolute;top:-18px;left:50%;transform:translateX(-50%);font-size:11px;font-weight:700}
.legend{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:12px;color:var(--mut);margin-top:10px}
#verdict{color:var(--tx);font-weight:600}
.counted{margin-top:14px;font-size:13px;color:var(--mut)}
.counted .prog{height:6px;border-radius:6px;background:#1a2232;margin:6px 0;overflow:hidden}
.counted .prog div{height:100%;background:var(--ok);width:0;transition:width .8s}
.parties{list-style:none;margin:0;padding:0}
.parties li{display:grid;grid-template-columns:12px 1fr auto;gap:4px 10px;align-items:center;padding:10px 0;border-top:1px solid var(--line)}
.parties li:first-child{border-top:0}
.dot{width:12px;height:12px;border-radius:50%}
.pname{min-width:0}
.pname b{font-weight:600}
.pname small{display:block;color:var(--mut);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pseat{text-align:right;font-variant-numeric:tabular-nums}
.pseat b{font-size:20px;font-weight:750}
.pseat small{display:block;color:var(--mut);font-size:12px}
.pbar{grid-column:2/4;height:4px;background:#1a2232;border-radius:4px;overflow:hidden}
.pbar div{height:100%;width:0;transition:width .8s cubic-bezier(.2,.8,.2,1)}
.below{margin-top:10px;font-size:13px;color:var(--mut)}
.below .chip{display:inline-flex;align-items:center;gap:6px;margin:4px 6px 0 0;padding:3px 9px;border:1px solid var(--line);border-radius:99px;opacity:.75}
.below .chip i{width:8px;height:8px;border-radius:50%}
.row-h{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
.row-h h2{margin:0}
.toggle{font-size:12px;color:var(--mut);display:flex;gap:6px;align-items:center;cursor:pointer}
.news{list-style:none;margin:0;padding:0}
.news li{padding:10px 0;border-top:1px solid var(--line)}
.news li:first-child{border-top:0}
.news a{text-decoration:none;display:block}
.news a:hover .t{text-decoration:underline}
.news .t{display:block;font-size:14px}
.news .m{font-size:12px;color:var(--mut)}
.empty{color:var(--mut);font-size:13px;padding:6px 0}
.more summary{cursor:pointer;font-weight:650;list-style:none;display:flex;justify-content:space-between}
.more summary::-webkit-details-marker{display:none}
.more summary::after{content:"＋";color:var(--mut)}
.more[open] summary::after{content:"−"}
.presets{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
button{font:inherit;font-size:13px;color:var(--tx);background:#1a2232;border:1px solid var(--line);border-radius:10px;padding:6px 11px;cursor:pointer}
button:hover{border-color:#34405a}
.coalition{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:6px}
.coalition label{display:flex;align-items:center;gap:8px;font-size:13px;padding:6px 8px;border:1px solid var(--line);border-radius:10px;cursor:pointer}
.coalition label span.s{margin-left:auto;color:var(--mut);font-variant-numeric:tabular-nums}
.coalres{margin-top:10px;font-weight:600}
.coalres .yes{color:var(--ok)}.coalres .no{color:var(--warn)}
.fine{font-size:12px;color:var(--mut)}
.tvpolls{display:grid;gap:10px}
.tv{border:1px solid var(--line);border-radius:12px;padding:10px 12px;font-size:13px}
.tv .h{display:flex;justify-content:space-between;gap:8px;margin-bottom:6px}
.tv .h span{color:var(--mut)}
.tv .ps{color:var(--mut);line-height:1.7}
.tv .ps b{color:var(--tx)}
.sources{list-style:none;margin:0;padding:0;font-size:13px}
.sources li{padding:7px 0;border-top:1px solid var(--line);display:flex;gap:8px;align-items:baseline}
.sources li:first-child{border-top:0}
.st{font-size:11px;font-weight:700;padding:1px 7px;border-radius:99px;background:#1f2838;color:var(--mut);white-space:nowrap}
.st.ok{color:#4ade80;background:rgba(34,197,94,.12)}.st.unavailable,.st.error{color:#fca5a5;background:rgba(239,68,68,.12)}
.sources small{display:block;color:var(--mut)}
footer{color:var(--mut);font-size:12px;text-align:center;margin-top:20px}
@media (max-width:420px){.bn b{font-size:32px}.card{padding:15px;border-radius:16px}h1{font-size:21px}}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
.tablewrap{overflow-x:auto;margin:0 -4px}
table.exit{width:100%;border-collapse:collapse;font-size:13px;font-variant-numeric:tabular-nums}
.exit th,.exit td{padding:7px 6px;border-top:1px solid var(--line);text-align:right;white-space:nowrap}
.exit th:first-child,.exit td:first-child{text-align:left;position:sticky;left:0;background:var(--card)}
.exit thead th{border-top:0;color:var(--mut);font-weight:600;font-size:12px}
.exit td .dot{display:inline-block;width:8px;height:8px;margin-right:6px}
.exit tr.sum td{font-weight:700}
.via{opacity:.8;font-size:12px}.note a{color:#93c5fd}
.exit th a{color:var(--tx);text-decoration:none;border-bottom:1px dotted var(--mut)}.exit .avg{color:#fbbf24}
.infobanner{background:rgba(59,130,246,.12);border:1px solid rgba(59,130,246,.4);color:#93c5fd;border-radius:14px;padding:10px 14px;margin-bottom:14px;font-size:14px}
.infobanner[hidden]{display:none}
