/* A single election-night screen over the same Knesset backdrop as Barometer's opening. */
#view-live.on{height:calc(100dvh - var(--masthead-h,80px));overflow:hidden}
#view-live>.wrap{display:none!important}
body:has(#view-live.on){overflow:hidden}
body:has(#view-live.on)>footer{display:none}
.exit-showcase{position:relative;isolation:isolate;overflow:hidden;height:100%;box-sizing:border-box;padding:clamp(14px,2.6vh,28px) clamp(14px,2.5vw,44px);color:#f5f7fa;background:linear-gradient(180deg,#071625df 0%,#0a1b2bb9 45%,#081522e8 100%),var(--knesset-scene) center 58%/cover no-repeat}
.exit-scene-image{position:absolute;inset:0;z-index:0;pointer-events:none;background:var(--knesset-scene) center 58%/cover no-repeat}
.exit-scene-image::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#071625df 0%,#0a1b2bb9 45%,#081522e8 100%)}
.exit-showcase-inner{position:relative;z-index:1;height:100%;max-width:1900px;margin:auto;display:flex;flex-direction:column;min-height:0}
#view-live .night-countdown{min-height:0;max-width:none;width:100%;margin:0;padding:0;text-align:start}
#view-live .night-countdown[hidden]{display:none}
.live-timer-row{display:flex;align-items:center;justify-content:center;gap:32px;padding:0 0 14px;border-bottom:1px solid #c5d4df5e}
.live-timer-copy{min-width:0}
#view-live .live-timer-copy .kicker{font-size:.75rem;color:#efd18d;margin:0 0 3px}
#view-live .live-timer-copy h2{font-size:clamp(1.25rem,2vw,2rem);line-height:1.2;margin:0;color:#fff}
#view-live .live-timer-copy p:last-child{font-size:.85rem;line-height:1.3;margin:4px 0 0;color:#d5e2ee}
/* לוח אחד רציף עם קווי הפרדה דקים במקום ארבע קופסאות נפרדות */
#view-live .night-clock{width:min(540px,47vw);max-width:none;margin:0;gap:0;flex:none;overflow:hidden;border:1px solid #dfbe763d;border-radius:13px;background:linear-gradient(180deg,#10294307,#081a2bd9);box-shadow:0 12px 30px #02091680,inset 0 1px 0 #ffffff14}
#view-live .night-clock>div{padding:11px 6px 10px;gap:3px;border:0;border-radius:0;background:none;position:relative}
#view-live .night-clock>div+div::before{content:"";position:absolute;inset-block:10px;inset-inline-start:0;width:1px;background:linear-gradient(180deg,#dfbe7600,#dfbe764d 30%,#dfbe764d 70%,#dfbe7600)}
#view-live .night-clock b{font-size:clamp(1.5rem,2.4vw,2.5rem);line-height:1.02;color:#f4d58f;font-variant-numeric:tabular-nums;letter-spacing:.01em;text-shadow:0 2px 12px #dfbe7626}
#view-live .night-clock span{font-size:.63rem;font-weight:700;letter-spacing:.07em;color:#a8c0d5}
.exit-showcase-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-top:auto;margin-bottom:15px}
.exit-showcase-heading .kicker{color:#f1d18c;margin:0 0 3px;font-size:.76rem}
.exit-showcase-heading h2{font-size:clamp(1.5rem,2.8vw,2.65rem);line-height:1.1;margin:0 0 5px;color:#fff;text-shadow:0 2px 12px #061522}
.exit-showcase-heading p:not(.kicker){margin:0;color:#e0eaf3;font-size:.91rem;line-height:1.35}
.exit-showcase-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;flex:none}
.es-card{min-width:0;background:#0d2237ed;border:1px solid #95aabd;border-radius:11px;overflow:hidden;box-shadow:0 12px 28px #020b1670}
/* שבב הלוגו צף בתוך השקופית, על רקע המדגם עצמו */
.es-slide-logo{position:absolute;z-index:2;inset-block-start:9px;inset-inline-start:9px;display:grid;place-items:center;width:54px;height:36px;padding:4px;box-sizing:border-box;border-radius:8px;background:#fff;box-shadow:0 3px 12px #02091685}
.es-slide-logo img{display:block;width:100%;height:100%;min-width:0;min-height:0;object-fit:contain}
.es-stage{position:relative;height:clamp(165px,27dvh,270px);overflow:hidden;background:#091c2f}
.es-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transform:scale(1.035);pointer-events:none;transition:opacity .85s ease,transform 1.15s ease,visibility 0s linear .85s}
.es-slide.is-active{opacity:1;visibility:visible;transform:scale(1);pointer-events:auto;transition:opacity .85s ease,transform 1.15s ease,visibility 0s}
.es-content{position:relative;height:100%;box-sizing:border-box;padding:clamp(10px,1.3vw,20px);display:flex;flex-direction:column;justify-content:center;background:linear-gradient(145deg,#163452f2,#091b2ef5)}
.es-eyebrow{font-size:.7rem;letter-spacing:.02em;color:#efd18d;font-weight:800}
.es-content h3{font-size:clamp(1rem,1.4vw,1.4rem);line-height:1.2;margin:7px 0 12px;color:#fff}
.es-content p{color:#dbe7f1;line-height:1.4;margin:0;font-size:.82rem}
.es-numbers{display:flex;justify-content:space-around;align-items:start;gap:5px;margin:12px 0}
.es-number{text-align:center;min-width:0;flex:1}
.es-number b{display:block;color:var(--es-color);font-size:clamp(1.65rem,2.5vw,3rem);line-height:1;font-weight:900}
.es-number span{display:block;color:#f0f4f8;font-size:.7rem;font-weight:700;line-height:1.2;margin-top:5px}
.es-current small{display:block;color:#d0dfeb;font-size:.68rem;line-height:1.3;margin-top:8px}
.es-waiting{text-align:center;align-items:center}
.es-waiting h3{margin:9px 0}
.es-wait-icon-wrap{position:relative;display:inline-grid;margin-top:13px}
/* טבעת טעינה איטית סביב לוגו הערוץ — מסמנת שהמסך ממתין לנתוני המדגם */
.es-wait-icon{position:relative;display:grid;place-items:center;width:clamp(64px,8vh,84px);height:clamp(64px,8vh,84px);border-radius:50%;background:#fff;box-shadow:0 3px 14px #0209167a}
.es-wait-logo{width:62%;height:62%;min-width:0;min-height:0;object-fit:contain;display:block}
/* טבעת עם זנב מתפוגג במקום קשת בקצוות חדים — התנועה נקראת רציפה ולא "קופצת" */
.es-wait-icon::before{content:"";position:absolute;inset:-6px;border-radius:50%;
  background:conic-gradient(from 0deg,#efd18d00 0deg,#efd18d00 170deg,#efd18d33 250deg,#efd18d99 320deg,#efd18d 355deg,#efd18dd9 360deg);
  -webkit-mask:radial-gradient(farthest-side,#0000 calc(100% - 3px),#000 calc(100% - 3px));
  mask:radial-gradient(farthest-side,#0000 calc(100% - 3px),#000 calc(100% - 3px));
  will-change:transform;animation:es-wait-spin 3.6s linear infinite}
.es-wait-icon::after{content:"";position:absolute;inset:-13px;border-radius:50%;border:1px solid #efd18d24;animation:es-wait-pulse 3.8s ease-in-out infinite}
@keyframes es-wait-spin{to{transform:rotate(360deg)}}
@keyframes es-wait-pulse{0%,100%{transform:scale(1);opacity:.6}50%{transform:scale(1.09);opacity:.12}}
@media(prefers-reduced-motion:reduce){.es-wait-icon::before,.es-wait-icon::after{animation:none}}
.es-photo{position:relative;width:100%;height:100%;background:#071728;overflow:hidden}
.es-photo img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
/* התווית יושבת בתוך התמונה בפינה הריקה, בלי לגזול שורה שלמה */
.es-photo-tag{position:absolute;inset-block-start:8px;inset-inline-end:8px;padding:3px 10px;border-radius:100px;background:#06131fc9;border:1px solid #dfbe7647;color:#f1d692;font-size:.66rem;font-weight:800;letter-spacing:.03em;line-height:1.5;backdrop-filter:blur(3px)}
.es-brand{text-align:center;align-items:center}
.es-brand img{max-width:120px;max-height:55px;object-fit:contain;margin:15px 0 4px}
.es-brand h3{font-size:1.7rem;direction:ltr;margin:4px 0;color:#fff}
.exit-showcase-disclaimer{font-size:.78rem;color:#e1ebf2;text-align:center;line-height:1.35;margin:auto 0 0;padding-top:10px}
@media(max-width:1100px){.exit-showcase-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px;scrollbar-color:#849ab0 #172e42}.es-card{flex:0 0 min(42vw,310px);scroll-snap-align:center}.es-stage{height:clamp(180px,29dvh,255px)}}
@media(max-width:680px){.exit-showcase{padding:12px 12px 14px;background-position:center}.exit-scene-image{background-position:center}.live-timer-row{display:block;padding-bottom:9px}.live-timer-copy{text-align:center}#view-live .live-timer-copy h2{font-size:1.2rem}#view-live .live-timer-copy p:last-child{font-size:.74rem}#view-live .night-clock{width:100%;margin:8px 0 0;gap:0}#view-live .night-clock>div{padding:7px 3px}#view-live .night-clock b{font-size:1.5rem}#view-live .night-clock span{font-size:.63rem}.exit-showcase-heading{margin-bottom:10px}.exit-showcase-heading h2{font-size:1.45rem}.exit-showcase-heading p:not(.kicker){font-size:.76rem}.es-card{flex:0 0 min(82vw,345px)}.es-stage{height:clamp(170px,30dvh,250px)}.es-number b{font-size:clamp(1.9rem,9vw,3rem)}}
@media(max-height:620px){body:has(#view-live.on){overflow:auto}#view-live.on{height:auto;min-height:calc(100dvh - var(--masthead-h,80px));overflow:visible}.exit-showcase{height:auto;min-height:calc(100dvh - var(--masthead-h,80px))}.es-stage{height:175px}}
@media(prefers-reduced-motion:reduce){.es-slide,.es-slide.is-active{transition:none;transform:none}}
