@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/rubik-hebrew.woff2) format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/rubik-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root{--blue:#0038b8;--blue2:#1e5bd8;--sky:#e9f0ff;--ink:#0f1a33;--muted:#5b6782;--card:#fff;--line:#e2e8f4;--bg:#f4f7fc;--up:#0d8a4f;--down:#c2283b;--r:18px}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:Rubik,"Segoe UI",Arial,sans-serif;background:var(--bg);color:var(--ink);line-height:1.5;font-size:16px}
.wrap{max-width:980px;margin:0 auto;padding:0 16px}
.skip{position:absolute;inset-inline-start:-999px;top:8px;background:#fff;padding:8px 12px;border-radius:8px;z-index:9}
.skip:focus{inset-inline-start:8px}
a{color:var(--blue)}
:focus-visible{outline:3px solid #ffb703;outline-offset:2px;border-radius:6px}
.hero{background:linear-gradient(180deg,#fff 0%,#f7f9ff 100%);position:relative;overflow:hidden;text-align:center}
.stripe{height:14px;background:var(--blue);margin:0}
.stripe.top{margin-bottom:26px}.stripe.bottom{margin-top:26px}
.hero-in{position:relative;padding-bottom:4px}
.star{width:54px;height:54px;margin:0 auto 6px;color:var(--blue);animation:spin 1.2s cubic-bezier(.2,.8,.2,1) both}
.star svg{width:100%;height:100%}
@keyframes spin{from{transform:rotate(-60deg) scale(.6);opacity:0}to{transform:none;opacity:1}}
.kicker{margin:0;color:var(--muted);font-size:14px}
h1{margin:4px 0 10px;font-size:clamp(26px,6.4vw,44px);font-weight:800;letter-spacing:-.3px;line-height:1.15}
h1 span{color:var(--blue)}
.status-row{display:flex;gap:10px;justify-content:center;align-items:center;flex-wrap:wrap}
.pill{display:inline-block;padding:6px 14px;border-radius:999px;font-weight:700;font-size:14px;background:#eef1f7;color:var(--ink)}
.pill.wait{background:#fff4d6;color:#7a5600}.pill.turn{background:var(--sky);color:var(--blue)}.pill.count{background:#e3f6ec;color:#0b6b3c}.pill.final{background:var(--blue);color:#fff}
.live{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--muted)}
.live i{width:8px;height:8px;border-radius:50%;background:#2fbf71;box-shadow:0 0 0 0 rgba(47,191,113,.6)}
.live.on i{animation:pulse 1s ease-out}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(47,191,113,.7)}100%{box-shadow:0 0 0 10px rgba(47,191,113,0)}}
.countdown{margin:10px 0 0;font-size:14px;color:var(--muted)}
main{padding-top:18px}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:18px;margin:0 0 16px;box-shadow:0 1px 2px rgba(15,26,51,.04),0 8px 24px rgba(15,26,51,.05);animation:rise .5s ease both}
@keyframes rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.sec-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}
.sec-head h2{margin:0;font-size:20px;font-weight:800}
.tag{font-size:12px;color:var(--muted);background:#f1f4fa;border-radius:999px;padding:3px 10px;white-space:nowrap}
.tag:empty{display:none}
.muted{color:var(--muted)}.small{font-size:13px}.tiny{font-size:11px}
.notice{display:flex;gap:14px;align-items:flex-start;border-color:#f3dfa6;background:linear-gradient(180deg,#fffaf0,#fff)}
.notice h2{margin:0 0 4px;font-size:19px}.notice p{margin:2px 0}
.notice-ic{font-size:28px;line-height:1}
.turnout{display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.ring-box{position:relative;width:150px;height:150px;flex:none}
.ring{width:100%;height:100%;transform:rotate(-90deg)}
.ring-bg{fill:none;stroke:#e8eefb;stroke-width:12}
.ring-fg{fill:none;stroke:var(--blue);stroke-width:12;stroke-linecap:round;transition:stroke-dashoffset 1.2s cubic-bezier(.2,.8,.2,1)}
.ring-txt{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.ring-txt strong{font-size:34px;font-weight:800;color:var(--blue);direction:ltr}
.ring-txt span{font-size:12px;color:var(--muted)}
.t-side{flex:1;min-width:200px}
.cmp{margin:0 0 6px;font-size:16px}
.up{color:var(--up)}.down{color:var(--down)}
.chart{margin:14px auto 0;max-width:720px}
.chart svg{width:100%;height:auto;display:block}
.chart .grid{stroke:#edf1f8;stroke-width:1}
.chart .axis{fill:#8792ab;font-size:12px;font-family:inherit}
.chart .ln{fill:none;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}
.chart .ln.prev{stroke:#b7c2d8;stroke-dasharray:6 6;stroke-width:2.5}
.chart .ln.now{stroke:var(--blue)}
.chart .dot.prev{fill:#b7c2d8}.chart .dot.now{fill:#fff;stroke:var(--blue);stroke-width:3}
.chart .val{fill:var(--blue);font-weight:700;font-size:12px;font-family:inherit}
.chart .empty{fill:#97a1b8;font-size:14px;font-family:inherit}
.legend{display:flex;gap:16px;justify-content:center;font-size:13px;color:var(--muted);margin-top:4px}
.lg::before{content:"";display:inline-block;width:18px;height:3px;border-radius:2px;vertical-align:middle;margin-inline-end:6px;background:var(--blue)}
.lg.prev::before{background:#b7c2d8}
.bloc-bar{position:relative;display:flex;height:46px;border-radius:12px;overflow:visible;background:#eef2f9;margin:8px 0 12px}
.bloc-bar .seg{display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:15px;min-width:0;transition:flex-grow 1s ease;flex-basis:0}
.bloc-bar .seg:first-child{border-radius:0 12px 12px 0}
.bloc-bar .seg:nth-last-child(2){border-radius:12px 0 0 12px}
.bloc-bar.empty{background:repeating-linear-gradient(-45deg,#eef2f9 0 10px,#f6f8fc 10px 20px)}
.line61{position:absolute;top:-8px;bottom:-8px;inset-inline-start:calc(61/120*100%);border-inline-start:2px dashed var(--ink);pointer-events:none}
.line61 em{position:absolute;top:-20px;transform:translateX(50%);font-style:normal;font-weight:800;font-size:12px;background:var(--ink);color:#fff;border-radius:6px;padding:0 6px}
.bloc-legend{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px 16px;font-size:14px}
.bloc-legend i{display:inline-block;width:12px;height:12px;border-radius:4px;margin-inline-end:6px;vertical-align:-1px}
.summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px;margin-bottom:12px}
.sbox{background:#f6f8fd;border-radius:12px;padding:10px 12px}
.sbox .k{display:block;font-size:12px;color:var(--muted)}.sbox b{font-size:18px}
.parties{list-style:none;margin:0;padding:0}
.party{display:flex;align-items:center;gap:12px;padding:10px 4px;border-bottom:1px solid var(--line);animation:rise .45s ease both}
.party:last-child{border-bottom:0}
.party.below{opacity:.62}
.badge{flex:none;position:relative;width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:17px;letter-spacing:.5px;box-shadow:inset 0 0 0 2px rgba(255,255,255,.35)}
.badge.photo{background:#e9eef7;box-shadow:0 0 0 3px var(--pc)}
.badge.photo img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block}
.badge .mini{position:absolute;bottom:-4px;inset-inline-end:-6px;font-size:11px;line-height:1;padding:3px 5px;border-radius:7px;border:2px solid #fff;color:#fff}
.p-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.p-name{font-weight:700;font-size:16px;line-height:1.25}
.p-lead{font-size:13px;color:var(--muted)}
.p-letters{font-weight:800;color:var(--pc);font-size:18px;border:2px solid var(--pc);border-radius:10px;padding:2px 9px;flex:none}
.p-bar{position:relative;height:9px;background:#eef2f9;border-radius:6px;margin-top:4px;overflow:visible}
.p-bar>i:first-child{display:block;height:100%;width:0;background:var(--pc);border-radius:6px;transition:width 1s cubic-bezier(.2,.8,.2,1)}
.thr-mark{position:absolute;top:-3px;bottom:-3px;width:0;border-inline-start:2px solid #d14;opacity:.55}
.p-votes{font-size:12.5px;color:var(--muted)}
.p-seats{flex:none;text-align:center;min-width:52px}
.p-seats b{display:block;font-size:26px;font-weight:800;line-height:1;color:var(--ink)}
.p-seats small{font-size:11px;color:var(--muted)}
.thr{list-style:none;margin:12px 0 4px;text-align:center;position:relative;color:#c4122f;font-size:13px;font-weight:700}
.thr::before{content:"";position:absolute;inset-inline:0;top:50%;border-top:2px dashed #e7a1ad}
.thr span{position:relative;background:#fff;padding:0 10px}
.small-lists{margin-top:10px}
.small-lists summary{cursor:pointer;color:var(--blue);font-weight:600;padding:6px 0}
.others{list-style:none;margin:6px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:6px 12px;font-size:14px}
.chip{display:inline-block;min-width:34px;text-align:center;font-weight:800;font-size:12px;border-radius:7px;padding:2px 6px;background:#eef2f9;color:var(--ink)}
.surplus{list-style:none;margin:0 0 8px;padding:0;display:grid;gap:8px}
.surplus li{display:flex;align-items:center;gap:8px;background:#f6f8fd;border-radius:14px;padding:8px 10px;flex-wrap:wrap}
.surplus .badge{width:38px;height:38px;font-size:13px}
.surplus .badge .mini{display:none}
.surplus .pn{font-weight:600;font-size:14px}
.surplus .amp{color:var(--muted);font-weight:800;margin:0 2px}
.news-list{list-style:none;margin:0 0 8px;padding:0}
.news-list li{border-bottom:1px solid var(--line)}
.news-list li:last-child{border-bottom:0}
.news-list a{display:block;padding:10px 2px;text-decoration:none;color:var(--ink)}
.news-list a:hover .n-title{color:var(--blue)}
.n-title{display:block;font-weight:600;font-size:15px}
.n-meta{display:block;font-size:12px;color:var(--muted);margin-top:2px}
.friends{display:flex;align-items:center;gap:14px;background:linear-gradient(135deg,var(--blue),#2c6ae6);color:#fff;text-decoration:none;border-radius:var(--r);padding:16px 18px;margin:0 0 16px;box-shadow:0 10px 24px rgba(0,56,184,.25);transition:transform .2s}
.friends:hover{transform:translateY(-2px)}
.friends b{display:block;font-size:17px}.friends small{opacity:.85}
.f-ic{font-size:26px}.arrow{margin-inline-start:auto;font-size:22px}
.foot{padding:10px 16px 40px;text-align:center;font-size:14px}
.foot p{margin:6px 0}
@media (max-width:560px){
  .card{padding:14px;border-radius:16px}
  .turnout{gap:14px;justify-content:center}
  .ring-box{width:132px;height:132px}
  .ring-txt strong{font-size:30px}
  .badge{width:46px;height:46px;font-size:15px}
  .p-seats b{font-size:22px}
  .p-letters{font-size:15px;padding:1px 7px}
  .sec-head h2{font-size:18px}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

.chart .ln.prev2{stroke:#e0b45a;stroke-dasharray:2 5;stroke-width:2.5;fill:none}
.chart .dot.prev2{fill:#e0b45a}
.lg.prev2::before{background:#e0b45a}
.news .pulse{display:inline-block;width:10px;height:10px;border-radius:50%;background:#e02424;margin-inline-end:8px;vertical-align:middle;animation:pl 1.4s infinite}@keyframes pl{0%{box-shadow:0 0 0 0 rgba(224,36,36,.6)}70%{box-shadow:0 0 0 9px rgba(224,36,36,0)}100%{box-shadow:0 0 0 0 rgba(224,36,36,0)}}
.news .news-list{max-height:320px;overflow-y:auto}
.brand-logo{display:block;margin:14px auto 2px;width:180px;height:auto;border-radius:50%;mix-blend-mode:multiply}
.brand-by{margin:0 0 6px;font-weight:800;color:#2f8a3a;font-size:15px}

/* turnout by sector – 2026 מול 2022, like the national card */
.sec-rows{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.sec-row{background:#f6f8fd;border:1px solid #edf1f8;border-radius:14px;padding:12px 14px;animation:rise .45s ease both}
.sec-wait{background:#fafbfe;border:1px solid #edf1f8;border-radius:14px;padding:4px 12px;animation:rise .45s ease both}
.sec-wtab{width:100%;border-collapse:collapse;font-size:15px}
.sec-wtab th{font-size:12px;color:var(--muted);font-weight:700;text-align:start;padding:7px 4px 5px;border-bottom:1px solid var(--line)}
.sec-wtab th:not(:first-child),.sec-wtab td:not(:first-child){text-align:center}
.sec-wtab td{padding:8px 4px;border-bottom:1px solid #edf1f8}
.sec-wtab tr:last-child td{border-bottom:0}
.sec-wtab td.nm{font-weight:800}
.sec-wtab td.o{font-weight:700;color:#5b6680;direction:ltr;unicode-bidi:isolate}
.sec-top{display:flex;align-items:baseline;justify-content:space-between;gap:4px 10px;flex-wrap:wrap}
.sec-name{font-weight:800;font-size:17px}
.sec-src{font-size:12.5px;color:var(--muted)}
.sec-src a{color:var(--blue);text-decoration:none;font-weight:600}
.sec-waitpill{font-size:12.5px;font-weight:700;color:#7a5600;background:#fff4d6;border-radius:999px;padding:3px 10px}
.sec-vs{display:grid;grid-template-columns:1fr auto 1fr;align-items:stretch;gap:8px;margin-top:10px}
.vbox{background:#fff;border:1px solid var(--line);border-radius:12px;padding:9px 10px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:3px;min-width:0}
.vbox.now{border-color:#cfdcf7;box-shadow:inset 0 3px 0 var(--blue)}
.vbox.old{box-shadow:inset 0 3px 0 #b7c2d8}
.vlab{font-size:12.5px;color:var(--muted);font-weight:700}
.vnum{font-size:28px;font-weight:800;line-height:1.05;direction:ltr;unicode-bidi:isolate}
.vbox.now .vnum{color:var(--blue)}.vbox.old .vnum{color:#5b6680}
.vnum.dash{color:#b7c2d8}
.vnum.dirw{font-size:19px;direction:rtl}.vnum.dirw.up{color:var(--up)}.vnum.dirw.down{color:var(--down)}
.vsub{font-size:12.5px;color:var(--muted);min-height:18px}
.vs-mid{align-self:center;font-size:12px;font-weight:800;color:#97a1b8}
.sec-chip{display:inline-block;font-size:12.5px;font-weight:800;border-radius:999px;padding:2px 8px;unicode-bidi:isolate}
.sec-chip.up{background:#e3f6ec;color:var(--up)}.sec-chip.down{background:#fde8eb;color:var(--down)}.sec-chip.eq{background:#eef1f7;color:var(--muted)}
.sec-meta{display:flex;flex-wrap:wrap;gap:2px 12px;font-size:12.5px;color:var(--muted);margin-top:8px}
.sec-chart{margin:8px auto 0;max-width:460px}
.sec-chart .axis{font-size:10.5px}.sec-chart .val{font-size:11px}.sec-chart .ln{stroke-width:2.5}.sec-chart .ln.prev{stroke-width:2;stroke-dasharray:5 5}
.sec-chart .ref22{stroke:#b7c2d8;stroke-width:2;stroke-dasharray:4 5}
.sec-chart .val22{fill:#7b86a0;font-size:10.5px;font-weight:700;font-family:inherit}
.sec-chart .legend{font-size:12px;margin-top:2px}
.sec-hist-wrap{margin-top:8px}
.sec-hist-t{font-size:12.5px;font-weight:700;color:var(--muted);margin-bottom:4px}
.sec-hist{width:100%;border-collapse:collapse;font-size:13px}
.sec-hist th{font-size:11.5px;color:var(--muted);font-weight:700;text-align:start;padding:3px 4px;border-bottom:1px solid var(--line)}
.sec-hist td{padding:5px 4px;border-bottom:1px solid #edf1f8;vertical-align:middle}
.sec-hist tr:last-child td{border-bottom:0}
.sec-hist td.n{font-weight:800;color:var(--blue);direction:ltr;text-align:end;unicode-bidi:isolate}
.sec-hist td.o{color:#5b6680;white-space:nowrap}
.sec-hist td.o .sec-chip{font-size:11px;padding:1px 6px}
.sec-hist td.h{white-space:nowrap;font-weight:600}
.sec-hist td.s{font-size:11.5px;color:var(--muted)}
.sec-snip{display:block;margin-top:6px;font-size:12.5px;color:var(--muted);quotes:"“" "”";display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sec-est{display:flex;gap:8px;align-items:flex-start;margin-top:10px;background:#f7f9fe;border:1px solid #e3eaf8;border-radius:12px;padding:7px 10px}
.est-tag{flex:none;font-size:11px;font-weight:800;color:#fff;background:#7b86a0;border-radius:7px;padding:1px 7px;margin-top:2px}
.sec-est p{margin:0;font-size:13px;font-weight:600;color:#3d4760}
.sec-note{margin:10px 0 0}
.lgd{display:inline-flex;align-items:center;gap:5px;margin-inline-start:8px;white-space:nowrap}
.lgd i{position:relative;display:inline-block;top:0;bottom:0;height:12px;transform:none}
.lgd i.kh{border-inline-start:3px dotted #e0a32b}

/* eye-catching accents for the sector + prime-minister cards */
.card.sectors,.card.poly{position:relative;overflow:hidden}
.card.sectors::before,.card.poly::before{content:"";position:absolute;inset-inline:0;top:0;height:4px;background:linear-gradient(90deg,#20a4e0,var(--blue2),var(--blue))}
.live-tag{display:inline-flex;align-items:center;gap:6px;font-weight:700;color:#0d6b3e;background:#e6f7ee}
.live-tag .pulse{display:inline-block;width:8px;height:8px;border-radius:50%;background:#2fbf71;animation:pl2 1.4s infinite}
@keyframes pl2{0%{box-shadow:0 0 0 0 rgba(47,191,113,.65)}70%{box-shadow:0 0 0 8px rgba(47,191,113,0)}100%{box-shadow:0 0 0 0 rgba(47,191,113,0)}}
.poly .sec-head{margin-bottom:2px}
.poly .sec-head h2{font-size:21px;background:linear-gradient(90deg,var(--blue),#20a4e0);-webkit-background-clip:text;background-clip:text;color:transparent}
.pm-sub{margin:0 0 12px;font-size:13px;font-weight:700;color:var(--muted)}
.pm-rows{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.pm-row{display:flex;align-items:center;gap:12px;padding:8px 10px;border-radius:14px;background:#f7f9fd;border:1px solid #edf1f8;animation:rise .45s ease both}
.pm-row.lead{background:linear-gradient(180deg,color-mix(in srgb,var(--pc) 10%,#fff),#fff);border-color:color-mix(in srgb,var(--pc) 35%,#fff);box-shadow:0 6px 18px color-mix(in srgb,var(--pc) 18%,transparent);padding:12px 10px}
.pm-row .badge{width:46px;height:46px}
.pm-row.lead .badge{width:56px;height:56px}
.pm-init{color:#fff;font-weight:800;font-size:15px}
.pm-main{flex:1;min-width:0}
.pm-top{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.pm-name{font-weight:800;font-size:16px;display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}
.pm-crown{font-size:11px;font-weight:800;color:#fff;background:var(--pc);border-radius:999px;padding:1px 8px}
.pm-pct{font-size:22px;font-weight:800;color:var(--pc);direction:ltr;unicode-bidi:isolate;line-height:1}
.pm-row.lead .pm-pct{font-size:32px}
.pm-bar{height:10px;background:#e9eef7;border-radius:999px;margin-top:7px;overflow:hidden}
.pm-row.lead .pm-bar{height:14px}
.pm-bar i{display:block;height:100%;width:0;border-radius:999px;background:linear-gradient(270deg,var(--pc),color-mix(in srgb,var(--pc) 45%,#fff));transition:width 1.3s cubic-bezier(.2,.8,.2,1)}
.pm-note{margin:10px 0 0}

/* ---- ירושלים לפי אזורים ---- */
.card.jlm{position:relative;overflow:hidden}
.card.jlm::before{content:"";position:absolute;inset-inline:0;top:0;height:4px;background:linear-gradient(90deg,#22283a,#5b6a8f,#b98a2e,#1f5fbf,#20a4e0,#2f9a57)}
.jlm .sec-head h2{font-size:21px}
.jlm-city{background:linear-gradient(180deg,#f3f6fd,#fff);border:1px solid #e3eaf8;border-radius:16px;padding:12px 12px 10px}
.jlm-ct{display:flex;justify-content:space-between;align-items:baseline;gap:6px;flex-wrap:wrap}
.jlm-ct b{font-size:17px;font-weight:800}.jlm-ct span{font-size:12.5px;color:var(--muted)}
.jlm-vs{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:stretch;margin-top:10px}
.jv{border-radius:14px;padding:8px 10px;text-align:center;display:flex;flex-direction:column;gap:1px;min-width:0}
.jv.now{background:#fff;border:2px solid var(--blue2);box-shadow:0 4px 14px rgba(30,91,216,.12)}
.jv.prev{background:#f1f3f8;border:2px solid #e3e7f0}
.jv-l{font-size:13px;font-weight:800;color:var(--muted)}
.jv-n{font-size:26px;font-weight:800;line-height:1.15;direction:ltr;unicode-bidi:isolate}
.jv.now .jv-n{color:var(--blue)}.jv.prev .jv-n{color:#5b6680}
.jv-s{font-size:11.5px;color:var(--muted);line-height:1.3}
.jv-mid{display:flex;align-items:center;justify-content:center}
.jv-vs{font-size:12px;font-weight:800;color:#9aa4b8}
.jlm-comp{margin-top:14px}
.jlm-cap{margin:0 0 6px;font-size:12.5px;font-weight:700;color:var(--muted)}
.jlm-stack{display:flex;height:22px;border-radius:999px;overflow:hidden;box-shadow:inset 0 0 0 1px rgba(0,0,0,.04)}
.jlm-stack span{display:block;height:100%;min-width:3px;border-inline-start:2px solid #fff}
.jlm-stack span:first-child{border-inline-start:0}
.jlm-leg{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:4px 12px;font-size:12.5px}
.jlm-leg li{display:inline-flex;align-items:center;gap:5px}.jlm-leg i{width:10px;height:10px;border-radius:3px;display:inline-block}
.jlm-leg b{font-weight:800}
.jlm-wait{margin:12px 0 0;font-size:13px;font-weight:700;color:#7a5600;background:#fff4d6;border-radius:12px;padding:7px 12px}
.jlm-wait.on{color:var(--up);background:#e3f6ec}
.jlm-areas{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:10px}
@media(min-width:720px){.jlm-areas{grid-template-columns:1fr 1fr}}
.jlm-area{background:#fff;border:1px solid #e8edf6;border-inline-start:5px solid var(--ac);border-radius:16px;padding:12px 12px 10px;animation:rise .45s ease both;box-shadow:0 3px 12px rgba(15,26,51,.05)}
.ja-hd{display:flex;align-items:center;gap:10px}
.ja-ic{flex:none;width:38px;height:38px;border-radius:12px;background:var(--ac);color:#fff;font-weight:800;font-size:18px;display:flex;align-items:center;justify-content:center}
.ja-nm{flex:1;min-width:0;display:flex;flex-direction:column}
.ja-nm b{font-size:17px;font-weight:800;line-height:1.2}.ja-nm span{font-size:12px;color:var(--muted)}
.ja-seats{flex:none;text-align:center;background:color-mix(in srgb,var(--ac) 10%,#fff);border-radius:12px;padding:3px 9px;display:flex;flex-direction:column;line-height:1.15}
.ja-seats b{font-size:17px;font-weight:800;color:var(--ac);direction:ltr;unicode-bidi:isolate}.ja-seats span{font-size:10.5px;color:var(--muted);font-weight:700}
.ja-rule{margin:6px 0 0;font-size:11.5px;color:var(--muted)}
.ja-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:8px}
.ja-stats div{background:#f6f8fd;border-radius:12px;padding:6px 4px;text-align:center;display:flex;flex-direction:column}
.ja-stats b{font-size:18px;font-weight:800;color:var(--ink);direction:ltr;unicode-bidi:isolate}
.ja-stats span{font-size:11px;color:var(--muted);font-weight:600}
.ja-stats div.w{background:#fff8e6}.ja-stats div.w b{font-size:15px;color:#7a5600;direction:rtl;padding-top:2px}
.jlm-area .jlm-vs{margin-top:8px}.jlm-area .jv-n{font-size:22px}
.ja-reps{margin-top:8px;display:flex;flex-direction:column;gap:4px}
.ja-rt{font-size:11.5px;font-weight:700;color:var(--muted)}
.jlm-rep{font-size:12.5px;color:var(--ink);text-decoration:none;background:#f3f6fd;border-radius:10px;padding:4px 8px}
.jlm-rep b{font-weight:800}.jlm-rep span{color:var(--muted)}
.ja-parties{margin-top:10px}
.ja-pt{display:block;font-size:11.5px;font-weight:700;color:var(--muted);margin-bottom:4px}
.jlm-bars{list-style:none;margin:0;padding:0;display:grid;gap:5px}
.jlm-bars li{display:grid;grid-template-columns:8.2em 1fr 3.4em;align-items:center;gap:8px;font-size:13px}
.jb-n{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.jb-bar{height:9px;background:#edf1f8;border-radius:999px;overflow:hidden}.jb-bar i{display:block;height:100%;border-radius:999px}
.jb-v{font-weight:800;text-align:end;direction:ltr;unicode-bidi:isolate}
.ja-22{margin:6px 0 0;font-size:11.5px;color:var(--muted)}
.jlm-note{margin:10px 0 0}

/* ---- הסקרים מול התוצאה ---- */
.card.polls{position:relative;overflow:hidden}
.card.polls::before{content:"";position:absolute;inset-inline:0;top:0;height:4px;background:linear-gradient(90deg,#f2b705,#e8820c,var(--blue))}
.pl-lock{display:flex;gap:12px;align-items:center;background:linear-gradient(180deg,#fffaf0,#fff);border:1px solid #f4e3b5;border-radius:16px;padding:12px}
.pl-lock-ic{font-size:28px;flex:none}
.pl-lock b{font-size:16px;font-weight:800}.pl-lock p{margin:2px 0 0;font-size:13px;color:#4a5370}
.pl-outlets{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.pl-o{font-size:12.5px;font-weight:700;background:#f1f4fa;border-radius:999px;padding:3px 10px;color:#3d4760}
.pl-rank{list-style:none;margin:0 0 12px;padding:0;display:grid;grid-template-columns:minmax(0,1fr);gap:6px}
.pl-rh{font-size:12.5px;font-weight:700;color:var(--muted)}
.pl-r{display:flex;align-items:center;gap:10px;background:#f7f9fd;border:1px solid #edf1f8;border-radius:14px;padding:7px 10px;animation:rise .45s ease both}
.pl-r.gold{background:linear-gradient(180deg,#fff8e1,#fff);border-color:#f2d27a;box-shadow:0 6px 18px rgba(242,183,5,.18)}
.pl-m{flex:none;width:30px;text-align:center;font-size:20px;font-weight:800;color:var(--muted)}
.pl-rm{flex:1;min-width:0;display:flex;flex-direction:column}
.pl-rm b{font-size:15px;font-weight:800}.pl-rm span{font-size:11.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pl-rm .pl-bar{display:block;height:6px;background:#e9eef7;border-radius:999px;margin-top:4px;overflow:hidden}.pl-bar i{display:block;height:100%;background:linear-gradient(90deg,#f2b705,#0d8a4f);border-radius:999px}
.pl-e{flex:none;font-size:20px;font-weight:800;color:var(--ink);min-width:2ch;text-align:center}
.pl-tw{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid #edf1f8;border-radius:14px}
.pl-t{border-collapse:collapse;font-size:13px;min-width:100%}
.pl-t th{font-size:11px;font-weight:700;color:var(--muted);padding:6px 5px;background:#f6f8fd;white-space:nowrap;border-bottom:1px solid var(--line)}
.pl-t td{text-align:center;padding:6px 5px;border-bottom:1px solid #f0f3f9;font-weight:700;min-width:42px}
.pl-t tr:last-child td{border-bottom:0}
.pl-t .pn{position:sticky;inset-inline-start:0;background:#fff;text-align:start;white-space:nowrap;font-weight:800;z-index:1;box-shadow:-1px 0 0 #edf1f8 inset}
.pl-t th.pn{background:#f6f8fd}
.pl-t .pn i{display:inline-block;width:9px;height:9px;border-radius:3px;margin-inline-end:6px;vertical-align:middle}
.pl-t .res{background:#eef3ff;color:var(--blue);font-weight:800}
.pl-t td.d0{background:#e3f6ec;color:var(--up)}.pl-t td.d1{background:#f4faf6}.pl-t td.d2{background:#fff3f4}.pl-t td.d3{background:#fde8eb;color:var(--down)}
.pl-note{margin:10px 0 0}
.pl-r.sm{padding:4px 10px}.pl-r.sm .pl-rm>span{display:none}.pl-r.sm .pl-m{font-size:15px}.pl-r.sm .pl-e{font-size:16px}.pl-r.sm .pl-rm b{font-size:14px}
.pl-e small{display:block;font-size:9.5px;color:var(--muted);font-weight:700;line-height:1}
.pl-e{line-height:1.05}
.pl-t th small{display:block;font-size:9.5px;font-weight:600;color:#8a94a8}
.pl-wait{margin:0 0 10px;font-size:13px;font-weight:700;color:#7a5600;background:#fff4d6;border-radius:12px;padding:7px 12px}
.sur-fold>summary{list-style:none;cursor:pointer;margin-bottom:0}.sur-fold>summary::-webkit-details-marker{display:none}.sur-fold>summary h2::after{content:" ▾";font-size:15px;color:var(--muted)}.sur-fold[open]>summary{margin-bottom:12px}.sur-fold[open]>summary h2::after{content:" ▴"}.sur-fold[open] .tag{visibility:hidden}

/* ---- מד מגמה ---- */
.trend .sec-head{margin-bottom:4px}
.trend .sec-head h2{font-size:21px}
.tr-gauge{max-width:250px;margin:0 auto;padding:0 6px}
.tr-gauge svg{display:block;width:100%;height:auto;overflow:visible;direction:ltr}
.tr-arc{fill:none;stroke:url(#trGrad);stroke-width:20;stroke-linecap:round}
.tr-ticks line{stroke:#fff;stroke-width:3}
.tr-needle{transform-box:view-box;transform-origin:130px 130px;transition:transform 1.2s cubic-bezier(.2,.9,.25,1.15)}
.tr-needle path,.tr-needle circle{fill:var(--ink)}
.tr-needle .tr-hub{fill:#fff}
.tr-wait .tr-needle path,.tr-wait .tr-needle circle:not(.tr-hub){fill:#9aa6bd}
.tr-end{font-size:13px;font-weight:800;fill:var(--muted)}
.tr-end.r{fill:#1f4fae}.tr-end.l{fill:#2c8fcc}
.tr-verdict{margin:6px 0 0;text-align:center;font-size:19px;font-weight:800}
.tr-verdict.r{color:#1f4fae}.tr-verdict.l{color:#2384c2}.tr-verdict.c{color:var(--ink)}.tr-verdict.w{color:var(--muted);font-size:17px}
.tr-sub{margin:2px 0 0;text-align:center;font-size:13px;color:var(--muted)}
.tr-sig{display:grid;gap:6px;margin:12px 0 0}
.tr-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px;background:#f6f8fc;border:1px solid var(--line);border-radius:12px;padding:7px 10px;font-size:13.5px}
.tr-row b{font-weight:800}
.tr-row .tr-lean{margin-inline-start:auto;font-size:12px;font-weight:800;border-radius:999px;padding:2px 9px;background:#eef1f7;color:var(--muted);white-space:nowrap}
.tr-lean.r{background:#e6edfb;color:#1f4fae}.tr-lean.l{background:#e4f3fc;color:#2384c2}
.tr-row .sec-chip{font-size:11.5px;padding:1px 7px}
.tr-quotes{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:6px}
.tr-quotes li{border-inline-start:3px solid #c9d3e6;padding:2px 10px 2px 0;font-size:13.5px;line-height:1.45}
.tr-quotes li.r{border-color:#1f4fae}.tr-quotes li.l{border-color:#3ea6e6}
.tr-quotes .q{display:block}
.tr-quotes .m{display:block;font-size:11.5px;color:var(--muted)}
.tr-quotes a{color:inherit;text-decoration:none}
.tr-note{margin:10px 0 0;text-align:center;font-size:11.5px;color:var(--muted);background:#fff8e6;border-radius:10px;padding:5px 8px}

/* turnout side tidy */
.t-side{display:flex;flex-direction:column;gap:8px;min-width:190px}
.t-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ts{background:rgba(127,140,170,.10);border:1px solid rgba(127,140,170,.22);border-radius:12px;padding:8px 6px;text-align:center;display:flex;flex-direction:column;gap:1px}
.ts span{font-size:12px;color:var(--muted);font-weight:700}
.ts b{font-size:20px;font-weight:800;direction:ltr;color:var(--blue)}
.ts small{font-size:11px;color:var(--muted)}
.cmp:empty{display:none}
.cmp{font-size:14px;line-height:1.6;text-align:center;margin:0}
.t-voters{margin:0;text-align:center;font-size:13px;color:var(--muted)}
.t-voters::before{content:"👥 "}
.ring-txt span{font-size:11px;line-height:1.2;padding:0 14px}

/* ---- המדגמים – 22:00 ---- */
.card.exitp{position:relative;overflow:hidden;border-color:#d9e2f5}
.card.exitp::before{content:"";position:absolute;inset-inline:0;top:0;height:4px;background:linear-gradient(90deg,#25303f,#e4002b,#6a2bd1,#0b4ea2)}
.ex-cd{display:flex;flex-direction:column;align-items:center;gap:2px;background:linear-gradient(180deg,#0f1a33,#1e2d55);color:#fff;border-radius:16px;padding:12px 10px 14px;margin-bottom:12px}
.ex-cd span{font-size:14px;font-weight:600;opacity:.85}
.ex-cd b{font-size:46px;font-weight:800;line-height:1.05;letter-spacing:2px;font-variant-numeric:tabular-nums;direction:ltr}
.ex-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ex-tile{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fbfcfe;display:flex;flex-direction:column;min-height:96px}
.ex-tile.has{background:#fff;box-shadow:0 4px 14px rgba(15,26,51,.06)}
.ex-th{color:#fff;padding:5px 10px;text-align:center}
.ex-th b{font-size:15px;font-weight:800}
.ex-tb{padding:8px 8px 7px;flex:1;display:flex;flex-direction:column}
.ex-wait{margin:auto;font-size:14px;font-weight:700;color:var(--muted);text-align:center}
.pulse-t{animation:exp 1.6s ease-in-out infinite}
@keyframes exp{50%{opacity:.45}}
.ex-rows{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.ex-rows li{display:grid;grid-template-columns:minmax(0,1fr) 26px 22px;align-items:center;gap:4px;font-size:12.5px;line-height:1.35}
.ex-rows .n{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600}
.ex-rows .n i{display:inline-block;width:7px;height:7px;border-radius:50%;margin-inline-end:4px;vertical-align:1px}
.ex-rows .b{height:5px;background:#eef2f9;border-radius:999px;overflow:hidden}.ex-rows .b em{display:block;height:100%;border-radius:999px}
.ex-rows li>b{text-align:left;font-weight:800;font-size:13.5px;font-variant-numeric:tabular-nums}
.ex-bl{margin-top:7px;border-top:1px dashed #e3e8f2;padding-top:6px}
.ex-blbar{position:relative;display:flex;height:8px;border-radius:999px;overflow:hidden;background:#eef2f9}
.ex-blbar i.r{background:#1f4fae}.ex-blbar i.o{background:#3ea6e6}
.ex-61{position:absolute;top:-2px;bottom:-2px;inset-inline-start:calc(61/120*100%);width:2px;background:#0f1a33;opacity:.55}
.ex-bll{display:flex;justify-content:space-between;gap:4px;font-size:11.5px;font-weight:700;margin-top:3px;white-space:nowrap}
.ex-bll .r{color:#1f4fae}.ex-bll .o{color:#2584bf}.ex-bll .win{text-decoration:underline;text-underline-offset:2px}
.ex-time{margin:5px 0 0;font-size:11px;color:var(--muted);text-align:center}
.ex-avg{margin:10px 0 0;font-size:12.5px;line-height:1.55;background:#f6f8fd;border:1px solid #edf1f8;border-radius:12px;padding:7px 10px;color:#2b3550}
.ex-avg b{font-weight:800}.ex-avb{font-weight:700;color:#1f4fae}
.ex-note{margin:8px 0 0}

.ex-pre{margin:8px 0 10px;font-size:14px;line-height:1.6;text-align:center}

/* WhatsApp share */
.wa-share{display:inline-flex;align-items:center;gap:8px;margin-top:12px;background:#25D366;color:#fff !important;font-weight:800;font-size:17px;padding:10px 20px;border-radius:999px;text-decoration:none;box-shadow:0 4px 14px rgba(37,211,102,.35)}
.wa-share svg{width:22px;height:22px}
.wa-share:active{transform:scale(.97)}
.wa-fab{position:fixed;bottom:16px;left:16px;z-index:50;width:54px;height:54px;border-radius:50%;background:#25D366;color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 18px rgba(0,0,0,.3);text-decoration:none}
.wa-fab svg{width:30px;height:30px}

.yanki{display:flex;align-items:center;gap:12px;margin:12px 0;padding:10px 14px;border-radius:14px;background:linear-gradient(90deg,#1f8f4e,#25d366);color:#fff;text-decoration:none;box-shadow:0 2px 8px rgba(0,0,0,.15)}
.yanki img{width:52px;height:52px;border-radius:50%;background:#fff;flex:none}
.yanki span{display:flex;flex-direction:column;flex:1;line-height:1.25}
.yanki b{font-size:17px}.yanki small{font-size:12.5px;opacity:.92}
.yanki em{font-style:normal;font-weight:700;background:rgba(255,255,255,.2);padding:6px 10px;border-radius:10px;white-space:nowrap;font-size:13px}

.ys-brand{display:inline-flex;align-items:center;gap:10px;margin:0 auto 10px;padding:6px 8px 6px 12px;border-radius:999px;background:rgba(255,255,255,.95);color:#1d2b4f;text-decoration:none;box-shadow:0 2px 10px rgba(0,0,0,.18)}
.ys-brand img{width:40px;height:40px;border-radius:50%}
.ys-brand span{font-size:14px}.ys-brand b{font-weight:800}
.ys-brand em{font-style:normal;font-size:12.5px;font-weight:700;color:#fff;background:#25d366;padding:5px 10px;border-radius:999px}

.ys-logo{display:block;margin:6px auto 8px;width:150px}.ys-logo img{width:150px;height:150px;display:block;filter:drop-shadow(0 4px 10px rgba(0,0,0,.18))}

.pm-delta{font-size:12px;font-weight:800;margin-inline-start:auto;margin-inline-end:8px;padding:1px 6px;border-radius:8px;white-space:nowrap}.pm-delta.up{color:#0a8a3a;background:#e3f7ea}.pm-delta.down{color:#c62828;background:#fdecec}.pm-delta.flat{color:#7b86a0;background:#eef1f6;font-weight:600}

.hr-wrap{margin-top:14px}.hr-title{font-size:15px;margin:0 0 6px}.hr-tab{width:100%;border-collapse:collapse;font-size:14px;text-align:center;font-variant-numeric:tabular-nums}.hr-tab th{font-size:12px;color:#5b6478;font-weight:700;padding:6px 4px;border-bottom:2px solid #e3e7ef}.hr-tab td{padding:7px 4px;border-bottom:1px solid #eef1f6}.hr-tab td.h{font-weight:700}.hr-tab .c-now{font-weight:800;color:#0b3d91}.hr-tab tr:not(.has) td{color:#9aa3b5}.hr-tab tr:not(.has) td.h{color:#5b6478}.hr-tab td.d.up{color:#0a8a3a;font-weight:700}.hr-tab td.d.down{color:#c62828;font-weight:700}

.bloc-math{text-align:center;color:#5b6478;font-size:14px;margin:10px 0 6px;font-variant-numeric:tabular-nums}.bloc-who{margin-top:6px;text-align:center}.bloc-who summary{display:inline-block;cursor:pointer;padding:8px 16px;border-radius:20px;background:#eef2fa;font-weight:700;font-size:14px;list-style:none}.bloc-who summary::-webkit-details-marker{display:none}.bloc-who[open] summary{margin-bottom:8px}#blocWho{text-align:right}.bw-g{padding:8px 4px;border-bottom:1px solid #eef1f6}.bw-h{display:flex;align-items:center;gap:6px;font-size:14px}.bw-h i{width:12px;height:12px;border-radius:3px;display:inline-block}.bw-l{margin:4px 0 0;font-size:13px;color:#3b4459;line-height:1.6}

.vpm{margin-top:8px}.vpm-box{text-align:right;background:#f5f7fc;border-radius:14px;padding:12px}.vpm-lab{font-size:14px;color:#3b4459}.vpm-box input[type=range]{width:100%;margin:10px 0;accent-color:#3b3fd8}.vpm-res{font-weight:800;font-size:15px;margin:4px 0 10px;line-height:1.5}.vpm-tab td,.vpm-tab th{text-align:right}

.h2h{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:6px 0 10px;padding:14px 8px;border-radius:18px;background:linear-gradient(90deg,#e8efff 0%,#ffffff 50%,#e4f4fd 100%)}
.h2h-side{flex:1;display:flex;flex-direction:column;align-items:center;text-align:center;gap:2px}
.h2h-side img{width:84px;height:84px;border-radius:50%;object-fit:cover;border:4px solid #1f4fae;box-shadow:0 4px 14px rgba(31,79,174,.25);background:#fff}
.h2h-side.opp img{border-color:#3ea6e6;box-shadow:0 4px 14px rgba(62,166,230,.3)}
.h2h-name{font-size:17px;margin-top:6px}.h2h-bloc{font-size:12px;color:#5b6478}
.h2h-n{font-size:34px;line-height:1.1;font-weight:900;color:#1f4fae;font-variant-numeric:tabular-nums;margin-top:4px}.h2h-side.opp .h2h-n{color:#1b8fd6}.h2h-u{font-size:12px;color:#5b6478}
.h2h-mid span{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,#1f4fae,#3ea6e6);color:#fff;font-weight:900;font-size:14px;box-shadow:0 3px 10px rgba(0,0,0,.15)}
.h2h-bar{position:relative;height:14px;border-radius:8px;background:#e9edf5;overflow:hidden;display:flex;justify-content:space-between;margin:0 2px}
.h2h-bar i{display:block;height:100%;transition:width 1s ease}.h2h-bar i.c{background:#1f4fae}.h2h-bar i.o{background:#3ea6e6}
.h2h-bar .m61{position:absolute;top:-2px;bottom:-2px;right:calc(61/120*100% - 1px);width:3px;background:#22283a}
.h2h-st{text-align:center;font-size:13px;color:#3b4459;margin:8px 0 12px;font-weight:600;line-height:1.5}
.h2h-st{margin-bottom:26px}.h2h-sub{font-size:12px;color:#5b6478;font-weight:500}

.cd-ring{position:relative;width:150px;height:150px;margin:12px auto 4px}
.cd-ring svg{width:100%;height:100%;transform:rotate(-90deg)}
.cd-bg{fill:#fff;stroke:#e6ebf5;stroke-width:10}
.cd-fg{fill:none;stroke:url(#cdG);stroke-width:10;stroke-linecap:round;transition:stroke-dashoffset 1s linear}
.cd-in{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.cd-lab{font-size:11px;color:#5b6478;font-weight:700}
.cd-t{font-size:27px;font-weight:900;color:#0b3d91;font-variant-numeric:tabular-nums;letter-spacing:.5px;direction:ltr;margin:2px 0}
.cd-sub{font-size:11px;color:#8a93a6}
.cd-ring.done .cd-t{color:#c62828}
#countdown{display:none}
.cd-ring{width:176px;height:176px}.cd-t{font-size:26px}.cd-lab{font-size:11px;max-width:120px;line-height:1.2}
.tag.ex-mini{background:linear-gradient(135deg,#1f4fae,#3ea6e6);color:#fff;font-variant-numeric:tabular-nums;font-weight:800;white-space:nowrap;animation:none}
.cd-ring{width:118px;height:118px;margin:8px auto 2px}.cd-bg,.cd-fg{stroke-width:9}.cd-t{font-size:19px;margin:1px 0}.cd-lab{font-size:9px;max-width:84px;line-height:1.15}.cd-sub{font-size:9px}
.cd-t{font-size:17px;letter-spacing:0}.cd-lab{font-size:8.5px;max-width:78px}

/* compact sectors */
.sec-dtab td{vertical-align:middle;padding:6px 4px}
.sec-dtab td.nm b{display:block;font-size:15px}
.sec-dtab .sec-src{display:block;font-size:11px;opacity:.65;font-weight:400}
.sec-dtab td.n b,.sec-dtab td.o b{font-size:16px}
.sec-dtab small{display:block;font-size:11px;opacity:.65}
.sec-dtab .sec-chip{display:inline-block;margin-top:2px;font-size:11px}

/* videos card */
.vid-list{display:flex;flex-direction:column;gap:14px}
.vid-item{margin:0;background:rgba(0,0,0,.03);border-radius:14px;overflow:hidden}
.vid-item video{display:block;width:100%;max-height:70vh;background:#000;aspect-ratio:9/16;object-fit:contain}
.vid-item figcaption{display:flex;justify-content:space-between;gap:8px;padding:8px 12px;font-size:14px;font-weight:600}
.vid-ago{color:#888;font-weight:400;white-space:nowrap}

/* yanki status join */
.ys-join{display:inline-flex;align-items:center;gap:6px;margin:8px auto 4px;padding:9px 16px;border-radius:999px;background:#25D366;color:#fff;font-weight:700;font-size:15px;text-decoration:none;box-shadow:0 3px 10px rgba(37,211,102,.35)}
.ys-join:active{transform:scale(.97)}

/* videos smaller: grid */
.vid-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important}
@media(min-width:700px){.vid-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
.vid-item video{max-height:300px!important}
.vid-item figcaption{flex-direction:column;gap:2px!important;padding:6px 8px!important;font-size:12px!important;line-height:1.3}
.vid-ago{font-size:11px}
.vid-list:has(> :nth-child(4)){grid-template-columns:repeat(3,minmax(0,1fr))}
@media(min-width:700px){.vid-list:has(> :nth-child(4)){grid-template-columns:repeat(4,minmax(0,1fr))}}
.vid-list:has(> :nth-child(4)) .vid-item video{max-height:220px!important}
.vid-list:has(> :nth-child(4)) figcaption{font-size:11px!important}

.v26-rows{display:flex;flex-direction:column;gap:5px;margin:6px 0 4px}
.v26-row{display:grid;grid-template-columns:78px 1fr 46px;align-items:center;gap:8px;font-size:13px}
.v26-n{white-space:nowrap}
.v26-bar{height:9px;background:rgba(127,127,127,.18);border-radius:6px;overflow:hidden}
.v26-bar i{display:block;height:100%;background:linear-gradient(90deg,#2b7de9,#5aa9ff);border-radius:6px}
.v26-p{text-align:left;font-variant-numeric:tabular-nums}

/* voters counter */
.vcount{margin-top:10px;padding:12px 14px;border-radius:14px;background:rgba(11,61,145,.07);border:1px solid rgba(11,61,145,.15)}
.vc-top{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.vc-ic{font-size:1.4rem}
#vcNum{font-size:1.9rem;font-weight:800;letter-spacing:.5px;font-variant-numeric:tabular-nums;direction:ltr}
.vc-lbl{font-weight:700;font-size:1.05rem}
.vc-bar{height:8px;border-radius:6px;background:rgba(0,0,0,.08);margin:8px 0 6px;overflow:hidden}
.vc-bar span{display:block;height:100%;width:0;border-radius:6px;background:linear-gradient(90deg,#4f8cff,#3ccf91);transition:width 1.2s ease}
.vcount small{color:inherit;opacity:.75;font-size:.85rem}

/* compact hero (Oct 27 17:25) */
.hero .hero-in{padding-top:10px!important;padding-bottom:12px!important}
.hero .ys-logo img{width:72px!important;height:72px!important}
.hero .ys-logo{margin-bottom:4px!important}
.hero .ys-brand{padding:4px 10px!important;margin:4px auto!important;font-size:.85rem!important}
.hero .ys-brand img{width:28px!important;height:28px!important}
.hero .kicker{margin:4px 0!important;font-size:.8rem!important}
.hero h1{font-size:1.45rem!important;margin:4px 0 6px!important;line-height:1.2!important}
.hero .status-row{margin:4px 0!important}
.hero .cd-ring{width:104px!important;height:104px!important;margin:6px auto!important}
.hero .cd-ring svg{width:104px!important;height:104px!important}
.hero .cd-t{font-size:1.05rem!important}
.hero .cd-lab,.hero .cd-sub{font-size:.62rem!important}
.hero .countdown{margin:2px 0!important}
.hero .wa-share{padding:6px 14px!important;font-size:.85rem!important;margin-top:4px!important}

.hero .ys-logo{width:72px!important;margin:2px auto 4px!important}
.hero .cd-ring{max-width:104px!important}

.ex-race{margin:12px 0 4px;padding:10px 12px;border-radius:12px;background:rgba(0,0,0,.04)}
.ex-race-h{font-weight:800;font-size:1.05em;margin-bottom:6px}
.ex-race-r{display:flex;justify-content:space-between;gap:8px;padding:5px 0;border-top:1px solid rgba(0,0,0,.07);font-size:.95em}
.ex-race-n{font-weight:700;border-inline-start:4px solid #888;padding-inline-start:6px}
.ex-race-s.win{color:#0a7d32;font-weight:800}

.exb-wrap{overflow-x:auto}
.exb{width:100%;border-collapse:separate;border-spacing:0;font-variant-numeric:tabular-nums}
.exb th,.exb td{padding:7px 4px;text-align:center;border-bottom:1px solid #eef2f9}
.exb th.exb-ch{color:#fff;font-size:15px;font-weight:800;border-radius:8px 8px 0 0}
.exb th.exb-p{font-size:14px;color:var(--muted);text-align:start}
.exb td.exb-p{text-align:start;font-size:16px;font-weight:700;white-space:nowrap}
.exb td.exb-p i{display:inline-block;width:10px;height:10px;border-radius:50%;margin-inline-end:6px;vertical-align:1px}
.exb td.exb-n{font-size:21px;font-weight:800}
.exb td.na{color:var(--muted);font-weight:600;font-size:16px}
.exb tr.exb-bloc td{background:#f3f6fc;border-bottom:0}
.exb tr.exb-bloc td.exb-p{font-size:15px;color:#1f4fae}
.exb tr.exb-bloc.o td.exb-p{color:#2584bf}
.exb td.win{color:#0a8a3a;text-decoration:underline;text-underline-offset:3px}

.exb{table-layout:fixed}
.exb th.exb-p,.exb td.exb-p{width:34%}
.exb th,.exb td{padding:6px 2px}
.exb th.exb-ch{font-size:13px;padding:6px 1px;white-space:normal;line-height:1.15}
.exb td.exb-p{font-size:14.5px;white-space:normal;line-height:1.2}
.exb td.exb-n{font-size:19px}

.ex-grid.ex-bigmode{display:block}

.ex-blbar i.a{background:#2f9a57}.ex-bll .a{color:#2f9a57}

.cec-wrap{list-style:none;display:block;padding:0;margin:0;grid-column:1/-1;overflow-x:auto}
.cec-tbl{width:100%;border-collapse:collapse;font-size:14px;background:#fff}
.cec-tbl th{background:#1f3b73;color:#fff;padding:7px 8px;text-align:right;font-weight:600;font-size:12.5px}
.cec-tbl td{padding:7px 8px;border-bottom:1px solid #e3e7ef;color:#1a2233}
.cec-tbl td:nth-child(2){font-weight:700;white-space:nowrap;text-align:center}
.cec-tbl td:nth-child(3),.cec-tbl td:nth-child(4){white-space:nowrap;text-align:center;font-variant-numeric:tabular-nums}
.cec-tbl tbody tr:nth-child(even) td{background:#f6f8fc}
.cec-tbl tr.below td{color:#8a94a8}

.cec-zero{margin-top:8px}.cec-zero summary{cursor:pointer;padding:8px;background:#eef1f7;border-radius:8px;font-size:13px;font-weight:600;color:#44506a}

.sbox-cnt{position:relative;overflow:hidden}.sbox-cnt .cnt-bar{position:absolute;left:0;right:0;bottom:0;height:5px;background:rgba(127,127,127,.18)}.sbox-cnt .cnt-bar::after{content:"";position:absolute;top:0;bottom:0;right:0;width:var(--w);background:#2ea36b}


/* bloc split by committee count */
.cb-nums{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:10px}
.cb-num{display:flex;flex-direction:column;align-items:center;gap:2px;border:1px solid var(--line);border-top:4px solid var(--bc);border-radius:14px;padding:8px 4px;background:#fbfcfe}
.cb-num b{font-size:34px;line-height:1.05;font-weight:900;color:var(--bc);font-variant-numeric:tabular-nums}
.cb-num span{font-size:12.5px;color:var(--muted);font-weight:700;text-align:center}
.cb-num.maj{box-shadow:0 0 0 2px var(--bc) inset}
.cb-bar{position:relative;display:flex;height:22px;border-radius:11px;overflow:hidden;background:#eef1f7}
.cb-seg{display:block;height:100%}
.cb-61{position:absolute;top:-3px;bottom:-3px;inset-inline-start:calc(61/120*100%);width:3px;margin-inline-start:-1px;background:#111;border-radius:2px}
.cb-61l{position:relative;height:16px;margin:2px 0 4px;font-size:11px;font-weight:800;color:#111}
.cb-61l span{position:absolute;inset-inline-start:calc(61/120*100%);transform:translateX(50%)}
.cb-lead{margin:2px 0 8px;font-weight:800;font-size:15px;text-align:center}
.cb-who summary{cursor:pointer;font-weight:700;font-size:14px;color:var(--blue2);padding:4px 0}
.cb-who>ul{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:8px}
.cb-who-b>b{display:block;color:var(--bc);font-size:14px;margin-bottom:3px}
.cb-who-l{list-style:none;margin:0;padding:0;display:grid;gap:3px}
.cb-who-l li{display:flex;align-items:center;gap:7px;font-size:13.5px;background:#f6f8fd;border-radius:9px;padding:4px 8px}
.cb-who-l li i{width:10px;height:10px;border-radius:50%;flex:none}
.cb-who-l li span{flex:1}
.cb-note{margin:8px 0 0}
/* per-ballot results */
.bal-ctl{display:flex;gap:8px}
.bal-in{flex:1;min-width:0;font:inherit;font-size:16px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink)}
.bal-in:focus{outline:2px solid var(--blue2);outline-offset:0}
.bal-num{flex:0 0 84px}
.bal-ctl2{display:flex;gap:8px;align-items:center;justify-content:space-between;margin:8px 0 0}
.bal-ctl2:has(>[hidden]+[hidden]){display:none}
.bal-back{font:inherit;font-size:13.5px;font-weight:700;color:var(--blue2);background:#f1f4fa;border:0;border-radius:999px;padding:6px 12px;cursor:pointer}
.bal-sort{font:inherit;font-size:13.5px;padding:6px 8px;border:1px solid var(--line);border-radius:10px;background:#fff;max-width:60%;margin-inline-start:auto}
.bal-sum{margin:10px 0 8px;font-size:13.5px;line-height:1.55;color:#2b3550}
.bal-sum b{font-size:16px}
.bal-top{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}
.bal-chip{display:inline-flex;align-items:center;gap:4px;font-size:12.5px;background:#f3f6fc;border:1px solid #e6ecf7;border-radius:999px;padding:2px 8px;white-space:nowrap}
.bal-chip i{width:8px;height:8px;border-radius:50%}
.bal-chip span{color:#3a4560}
.bal-tbl{border:1px solid #edf1f8;border-radius:14px;overflow:hidden;font-variant-numeric:tabular-nums}
.bal-h,.bal-r{display:grid;grid-template-columns:1.1fr 1fr 1fr .9fr 1fr;align-items:center;gap:4px;padding:8px 10px;text-align:center}
.bal-cities .bal-h,.bal-cities .bal-r{grid-template-columns:1.9fr .9fr 1.1fr .9fr .9fr}
.bal-h{background:#1f3b73;color:#fff;font-size:12px;font-weight:700}
.bal-r{width:100%;font:inherit;font-size:14px;color:var(--ink);background:#fff;border:0;border-top:1px solid #eef2f9;cursor:pointer}
.bal-cities .bal-r:nth-of-type(even){background:#f8fafd}
.bal-r span:first-child,.bal-h span:first-child{text-align:start}
.bal-cn{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bal-no{font-weight:800;color:var(--blue)}
.bal-lead{display:inline-flex;align-items:center;justify-content:center;gap:4px}
.bal-lead i{width:9px;height:9px;border-radius:50%}
.bal-w{border-top:1px solid #eef2f9}
.bal-w .bal-r{border-top:0;padding-bottom:2px}
.bal-w.open{background:#f8fafe}
.bal-w.open .bal-r{background:transparent}
.bal-ps{display:flex;flex-wrap:wrap;gap:4px;padding:0 10px 8px;cursor:pointer}
.bal-plus{font-size:12px;color:var(--muted);align-self:center}
.bal-det{padding:2px 10px 10px;display:grid;gap:4px}
.bal-dr{display:grid;grid-template-columns:10px minmax(0,1.6fr) 1fr auto 44px;align-items:center;gap:6px;font-size:13px}
.bal-dr>i{width:10px;height:10px;border-radius:50%}
.bal-dn{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bal-bar{height:8px;background:#eef1f7;border-radius:4px;overflow:hidden;display:block}
.bal-bar i{display:block;height:100%;border-radius:4px}
.bal-dp{color:var(--muted);font-size:12px;text-align:end}
.bal-empty{padding:12px;text-align:center;margin:0}
.bal-more{display:block;width:100%;margin-top:8px;font:inherit;font-weight:700;font-size:14px;color:var(--blue2);background:#f1f4fa;border:0;border-radius:12px;padding:10px;cursor:pointer}
.bal-src{margin:8px 0 2px;font-weight:700}
#exTitle .fold-ic{display:inline-block;font-size:.8em;margin-inline-start:4px;transition:transform .2s}
#exFold[open] #exTitle .fold-ic{transform:rotate(180deg)}

/* ---- סימולטור ---- */
.card.sim{position:relative;overflow:hidden;border-color:#d9e2f5}
.card.sim::before{content:"";position:absolute;inset-inline:0;top:0;height:4px;background:linear-gradient(90deg,#1f4fae,#7a4fd1,#d9482b,#2f9a57)}
.sim .sec-head h2{font-size:20px}
.tag.sim-tag{background:linear-gradient(135deg,#6a2bd1,#1f4fae);color:#fff;font-weight:700}
.sim-warn{margin:0 0 10px;padding:7px 10px;border-radius:10px;background:#fff5e6;border:1px solid #f3d29a;color:#8a4b00;font-weight:800;font-size:14px;text-align:center}
.sim-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;background:#eef2fa;padding:4px;border-radius:12px;margin-bottom:12px}
.sim-tabs button{font:inherit;font-weight:800;font-size:14.5px;border:0;border-radius:9px;padding:9px 4px;background:transparent;color:var(--muted);cursor:pointer}
.sim-tabs button[aria-selected="true"]{background:#fff;color:var(--ink);box-shadow:0 1px 4px rgba(15,26,51,.12)}
.sim-msg{text-align:center;color:var(--muted)}
.sim-src{font-size:12.5px;color:var(--muted);margin:0 0 10px;line-height:1.5}
.sim-link{font:inherit;font-size:12.5px;border:0;background:none;color:var(--blue2);text-decoration:underline;padding:0;cursor:pointer}
.sim-ind{display:flex;align-items:center;justify-content:center;gap:12px;border-radius:14px;padding:10px;margin-bottom:10px;border:2px solid}
.sim-ind.ok{background:#e9f8ef;border-color:#2f9a57;color:#17663a}
.sim-ind.no{background:#fdeeee;border-color:#e3a3a9;color:#a51d2d}
.sim-tot{font-size:44px;line-height:1;font-weight:900;font-variant-numeric:tabular-nums}
.sim-verdict{font-size:19px;font-weight:900}
.sim-bar .sim-rest{background:transparent}
.sim-presets{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 8px}
.sim-chip{font:inherit;font-size:13.5px;font-weight:700;border:1px solid #cfd8ea;background:#f6f8fd;color:var(--ink);border-radius:999px;padding:7px 12px;cursor:pointer}
.sim-chip:active{background:#e3eaf8}
.sim-reset{color:var(--muted)}
.sim-hint{font-size:12.5px;color:var(--muted);margin:2px 0 8px}
.sim-parties{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.sim-p{font:inherit;display:flex;align-items:center;gap:7px;text-align:start;border:1.5px solid var(--line);border-inline-start:5px solid var(--pc);border-radius:12px;background:#fbfcfe;padding:8px;cursor:pointer;color:var(--ink);min-width:0}
.sim-p.on{background:color-mix(in srgb,var(--pc) 12%,#fff);border-color:var(--pc)}
.sim-ck{flex:none;width:20px;height:20px;border-radius:50%;border:2px solid #c4cde0;font-style:normal;font-weight:900;font-size:12px;line-height:16px;text-align:center;color:#fff}
.sim-p.on .sim-ck{background:var(--pc);border-color:var(--pc)}
.sim-pt{flex:1;min-width:0;display:flex;flex-direction:column}
.sim-pt b{font-size:13.5px;line-height:1.25;overflow-wrap:anywhere}
.sim-pt small{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sim-ps{flex:none;font-size:22px;font-weight:900;color:var(--pc);font-variant-numeric:tabular-nums}
.sim-share{margin-top:10px;text-align:center}
.sim-wa{display:inline-block;background:#25d366;color:#fff;font-weight:800;font-size:14px;border-radius:999px;padding:9px 16px;text-decoration:none}
.sim-re-sum .cb-nums{margin-bottom:6px}
.sim-small{font-size:12.5px;color:var(--muted);margin:4px 0 8px}
.sim-under{font-size:13.5px;font-weight:800;color:var(--down);margin:2px 0 8px}
.sim-move{background:#f6f8fd;border:1px solid var(--line);border-radius:12px;padding:8px 10px;margin:6px 0 10px;display:grid;gap:6px}
.sim-move>b{font-size:14px}
.sim-mv-r{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:14px}
.sim-mv-r select{font:inherit;font-size:14px;flex:1 1 110px;min-width:0;padding:6px;border:1px solid #cfd8ea;border-radius:9px;background:#fff;color:var(--ink)}
.sim-mv-r .sim-chip{flex:1 1 0;padding:7px 4px}
.sim-rows{display:grid;gap:8px}
.sim-row{border:1px solid var(--line);border-inline-start:5px solid var(--pc);border-radius:12px;padding:7px 9px;background:#fff}
.sim-row.under{background:#fdf2f3;border-color:#efc6cb;border-inline-start-color:var(--pc)}
.sim-rt{display:flex;align-items:center;gap:7px}
.sim-sw{display:none}
.sim-rn{flex:1;min-width:0;font-size:14px}
.sim-rp{font-weight:800;font-variant-numeric:tabular-nums;font-size:14px}
.sim-rs{min-width:74px;text-align:end;font-variant-numeric:tabular-nums}
.sim-rs b{font-size:18px;font-weight:900}
.sim-rs small{font-size:11px;color:var(--muted)}
.sim-rs em{font-style:normal;font-size:11.5px;font-weight:800;margin-inline-start:4px}
.sim-rs em.up{color:var(--up)}.sim-rs em.down{color:var(--down)}
.sim-row.under .sim-rs b{color:var(--down)}
.sim-row.under .sim-rn::after{content:" · מתחת לחסימה";font-size:11.5px;color:var(--down);font-weight:700}
.sim-rc{display:flex;align-items:center;gap:8px;margin-top:4px}
.sim-rc input{flex:1;min-width:0;accent-color:var(--pc);direction:rtl}
.sim-pm{font:inherit;flex:none;width:36px;height:36px;border-radius:50%;border:1px solid #cfd8ea;background:#f6f8fd;font-size:20px;font-weight:800;line-height:1;color:var(--ink);cursor:pointer;padding:0}
.sim-go{font:inherit;flex:1 1 100%;border:0;border-radius:12px;padding:11px;background:linear-gradient(135deg,#1f4fae,#6a2bd1);color:#fff;font-weight:900;font-size:15px;cursor:pointer}
