/* ===== הדרך ל-61 — אולפן ליל בחירות ===== */
:root {
  --ticker-h: 34px;   /* גובה פס המבזקים הקבוע בתחתית - כל מסך שומר מתחתיו מקום בגובה הזה */
  --bg: #070b16;
  --bg2: #0c1224;
  --card: #111a30;
  --card2: #16213c;
  --line: #232f4e;
  --ink: #f5f7ff;
  --mut: #8b93ad;
  --gold: #ffd166;
  --red: #ff4d5e;
  --green: #3ddc84;
  --blue: #1d6ff2;
  --radius: 18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { color-scheme: dark; }

body {
  font-family: 'Rubik', system-ui, sans-serif;
  background: #05070f;
  color: var(--ink);
  min-height: 100dvh;
  direction: rtl;
  overflow-x: hidden;
}

/* אווירת אולפן: זוהר צבעוני שנע לאט */
body::before {
  content: '';
  position: fixed; inset: -30%; pointer-events: none; z-index: 0;
  background:
    radial-gradient(closest-side at 70% 8%, rgba(37, 99, 235, .28), transparent 70%),
    radial-gradient(closest-side at 18% 92%, rgba(255, 209, 102, .14), transparent 70%),
    radial-gradient(closest-side at 92% 70%, rgba(168, 85, 247, .12), transparent 70%);
  filter: blur(6px);
  animation: drift 22s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate3d(-4%, 3%, 0) scale(1.08); } }
@media (prefers-reduced-motion: reduce) { body::before { animation: none; } }

/* ויניאט שממקד את המבט למרכז */
body::after {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse at 50% 35%, transparent 45%, rgba(0,0,0,.55) 100%);
}

.num { font-family: 'Heebo', 'Secular One', sans-serif; font-weight: 800; letter-spacing: .3px; }

/* ===== תמונות אנשים ===== */
.face {
  display: inline-block; flex-shrink: 0;
  border-radius: 50%; overflow: hidden; background: #1a2340;
  vertical-align: middle;
}
.face img, .face .avatar-svg { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; display: block; }
.face-ring { box-shadow: 0 0 0 2px var(--ring), 0 4px 14px -4px var(--ring); }
.ch-logo {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  background: #fff; border-radius: 14px; padding: 6px;
  box-shadow: 0 8px 22px -8px rgba(0,0,0,.6);
  box-sizing: border-box;
}
.ch-logo img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }

#app { position: relative; z-index: 1; }
/* גלילה אוטומטית (פוקוס, מקלדת) לא עוצרת כשהאלמנט מתחת לפס המבזקים */
html { scroll-padding-bottom: calc(var(--ticker-h) + 8px); }

.screen {
  /* ריווח תחתון = פס המבזקים + מרווח + אזור הבית באייפון, כדי שהכרטיס האחרון לא יוסתר מתחת לפס */
  max-width: 480px; margin: 0 auto; padding: 16px 16px calc(var(--ticker-h) + 38px + env(safe-area-inset-bottom, 0px));
  animation: rise .45s cubic-bezier(.2, .9, .3, 1) both;
}

/* ===== רצועת שידור עליונה ===== */
.broadcast-band {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; gap: 10px;
  padding: 7px 14px; font-size: 12px;
  background: linear-gradient(90deg, rgba(10,14,30,.88), rgba(6,9,20,.92));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.bb-live {
  color: #fff; background: linear-gradient(135deg, #ef2b4b, #b3122c); border-radius: 999px;
  padding: 3px 10px; font-weight: 700; font-size: 10.5px;
  box-shadow: 0 4px 14px -5px rgba(239,43,75,.9);
  animation: blink 1.6s infinite;
}
.bb-title { font-weight: 600; color: #dfe4f5; }
.bb-date { margin-inline-start: auto; color: #93a0c0; font-family: 'Heebo', sans-serif; font-weight: 800; }
.days-left { margin-top: 10px; font-size: 13.5px; color: #aeb6d0; }
.days-left b { color: var(--gold); font-size: 16px; }

/* ===== פתק נכנס לקלפי ===== */
.vote-overlay {
  position: fixed; inset: 0; z-index: 95;
  background: rgba(4, 7, 15, .85); backdrop-filter: blur(6px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  animation: fadein .2s both;
}
.vote-slip {
  width: 150px; padding: 18px 10px 14px; text-align: center;
  background: linear-gradient(178deg, #fdfdf8, #f0efe5);
  border-radius: 6px; box-shadow: 0 16px 40px rgba(0,0,0,.6);
  display: flex; flex-direction: column; gap: 4px;
  animation: slip-drop 1.05s cubic-bezier(.45, 0, .55, 1) both;
  position: relative; z-index: 2;
}
.vs-letter { font-family: 'Secular One', sans-serif; font-size: 44px; color: #131418; line-height: 1; }
.vs-name { font-size: 10px; color: #454a55; }
.vote-box { width: 220px; margin-top: -36px; filter: drop-shadow(0 14px 30px rgba(0,0,0,.55)); }
@keyframes slip-drop {
  0% { transform: translateY(-160px) rotate(-6deg) scale(1.05); opacity: 0; }
  30% { transform: translateY(-60px) rotate(2deg) scale(1); opacity: 1; }
  62% { transform: translateY(6px) rotate(-1deg) scaleY(1); opacity: 1; }
  100% { transform: translateY(64px) rotate(0deg) scaleY(.1); opacity: 0; }
}

.op-emoji { font-size: 40px; flex-shrink: 0; width: 54px; text-align: center; }
/* ===== סט האייקונים =====
   יורש את צבע ההקשר, ולכן אותו אייקון עובד בזהב על כרטיס החלטה ובאפור על שורת מידע. */
.ico { display: inline-block; vertical-align: -.18em; flex-shrink: 0; }
.op-ico {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center; color: var(--gold);
  background: rgba(255,209,102,.1); border: 1px solid rgba(255,209,102,.26);
}

/* ===== קרב המנהיגים ===== */
.battle-card {
  display: flex; align-items: center; gap: 12px; width: 100%;
  margin-top: 10px; padding: 12px 14px; cursor: pointer; text-align: right;
  background: linear-gradient(160deg, rgba(123,47,242,.14), rgba(123,47,242,.03));
  border: 1px solid rgba(150,90,240,.4); border-radius: var(--radius);
  color: var(--ink); font-family: inherit; animation: rise .5s both;
}
.battle-card:active { transform: scale(.98); }
.battle-emoji { font-size: 30px; flex-shrink: 0; }
.s-duel { text-align: center; }
.duel-top { font-family: 'Secular One', sans-serif; font-size: 17px; margin-top: 8px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.duel-count { color: var(--mut); font-size: 13px; }
.duel-q { color: var(--mut); font-size: 15px; margin: 6px 0 18px; }
.duel-arena { display: flex; align-items: center; gap: 10px; justify-content: center; }
.duel-side {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 7px;
  background: linear-gradient(165deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.11); backdrop-filter: blur(12px); border-radius: var(--radius);
  padding: 20px 8px; cursor: pointer; color: var(--ink); font-family: inherit;
  transition: transform .12s, border-color .15s, box-shadow .15s;
}
.duel-side:active { transform: scale(.96); }
@media (hover:hover){ .duel-side:hover { border-color: var(--pc); box-shadow: 0 12px 30px -14px var(--pc); transform: translateY(-3px); } }
.duel-side { position: relative; }
.duel-tag {
  position: absolute; top: 6px; inset-inline-start: 6px;
  font-size: 9.5px; font-weight: 700; color: var(--gold);
  background: rgba(0,0,0,.35); border-radius: 6px; padding: 2px 6px; white-space: nowrap;
}
.duel-name { font-family: 'Secular One', sans-serif; font-size: 16px; }
.duel-leader { font-size: 12px; color: var(--mut); }
.duel-vs { color: var(--gold); font-size: 22px; flex-shrink: 0; transition: transform .2s; }
.s-battle-result { text-align: center; }

/* ===== משוב שחקני-על ===== */
.vip-card { border-color: rgba(255,209,102,.45) !important; }
.vip-crown { font-size: 44px; }
.vip-stat { display: flex; gap: 8px; margin: 12px 0; }
.vip-stat span {
  flex: 1; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: 11px; padding: 8px 4px; font-size: 10.5px; color: #c8cede; text-align: center;
}
.vip-stat b { display: block; font-size: 17px; color: var(--gold); }
.vip-card textarea, .welcome-card textarea {
  width: 100%; margin-top: 12px; padding: 11px; border-radius: 12px;
  background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.18);
  color: var(--ink); font-family: inherit; font-size: 13.5px; resize: none; min-height: 76px;
}
.welcome-card textarea:focus { outline: none; border-color: var(--gold); }
.fb-never { font-size: 11.5px !important; opacity: .7; }
/* בקשת המשוב במסך הסיום: כרטיס בתחתית, לא חלון מעל התוצאה */
.fb-inline { margin: 18px 0 6px; }
.fb-inline .welcome-card { max-width: none; margin: 0 auto; box-shadow: none; }
.fb-link {
  display: block; width: 100%; margin-top: 10px; padding: 11px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.13); border-radius: 13px;
  color: #c8cede; font-family: inherit; font-size: 13.5px; cursor: pointer;
}
.reply-card .reply-from { font-size: 11.5px; color: var(--mut); margin-top: 2px; }
.reply-card .reply-body {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 13px;
  padding: 12px; margin-top: 12px; font-size: 13.5px; line-height: 1.7; text-align: right; color: #dfe4f5;
}

/* ===== היכל התהילה: קלף זהב ===== */
.hall-gold {
  display: flex; align-items: center; gap: 12px; width: 100%;
  margin-top: 10px; padding: 13px 14px; cursor: pointer; text-align: right;
  border: none; border-radius: 16px; color: #fff; font-family: inherit;
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, #b8860b, #7b5104 55%, #3d2c14);
  box-shadow: 0 12px 32px -14px rgba(245,179,1,.75);
  animation: rise .5s both;
}
.hall-gold::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.15) 50%, transparent 60%);
  transform: translateX(130%); animation: hgsheen 3.4s ease-in-out infinite;
}
@keyframes hgsheen { 45%, 100% { transform: translateX(-130%); } }
.hall-gold:active { transform: scale(.98); }
.hg-em { font-size: 29px; flex-shrink: 0; filter: drop-shadow(0 2px 8px rgba(0,0,0,.5)); }
.hg-txt { flex: 1; min-width: 0; }
.hg-txt b { font-family: 'Heebo', sans-serif; font-weight: 900; font-size: 15.5px; display: block; }
.hg-q { font-size: 11.5px; color: #ffeebe; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hg-go {
  flex-shrink: 0; font-size: 11.5px; font-weight: 800; color: #7b5104;
  background: #fff; border-radius: 999px; padding: 7px 12px;
  box-shadow: 0 4px 14px -5px rgba(0,0,0,.6);
}

/* ===== בחירת שם ===== */
.name-card input {
  width: 100%; margin-top: 14px; padding: 12px 14px; text-align: center;
  background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.2); border-radius: 12px;
  color: var(--ink); font-family: inherit; font-size: 16px;
}
.name-card input:focus { outline: none; border-color: var(--gold); }
.name-card .cta { margin-top: 12px; }
.name-sub { color: #c8cede; font-size: 13.5px; line-height: 1.7; margin-top: 7px; }
.name-guest {
  display: block; margin: 11px auto 0; background: none; border: none;
  color: var(--mut); font-size: 13px; font-family: inherit; cursor: pointer; text-decoration: underline;
}
.name-edit {
  display: block; margin: 0 auto 8px; background: none; border: none;
  color: var(--mut); font-size: 12.5px; font-family: inherit; cursor: pointer; text-decoration: underline;
}

/* ===== מדריך "קח את הקלפי לכיס" ===== */
.inst-card .inst-icon {
  width: 74px; height: 74px; border-radius: 18px; margin: 0 auto; overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 14px 30px -12px rgba(29,111,242,.6);
}
.inst-icon img { width: 100%; height: 100%; display: block; }
.inst-benefits { display: flex; gap: 7px; margin-top: 13px; }
.inst-b {
  flex: 1; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.11);
  border-radius: 12px; padding: 9px 4px; font-size: 10.5px; color: #c8cede; text-align: center;
}
.ib-e { display: block; font-size: 19px; margin-bottom: 3px; }
.inst-steps {
  text-align: right; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: 11px 13px; margin-top: 13px; font-size: 13px; line-height: 2;
}
.inst-steps b { color: var(--gold); }
.inst-card .cta { margin-top: 13px; }

/* ===== שורת נקודות בסיום + מזל דרגה ===== */
.earn-line {
  margin: 12px auto 0; max-width: 560px; text-align: center;
  background: linear-gradient(135deg, rgba(255,209,102,.12), rgba(255,209,102,.04));
  border: 1px solid rgba(255,209,102,.3); border-radius: 12px;
  padding: 11px 14px; font-size: 14px; color: #e8ecf5; line-height: 1.7;
}
.earn-line b { color: var(--gold); }
.earn-next { opacity: .85; }
.roll-luck {
  font-size: 12.5px; color: var(--gold); opacity: .9; margin: -4px 0 10px;
  letter-spacing: .02em;
}

/* ===== הזמנה לקרב המנהיגים ===== */
.binv-arena {
  position: relative; display: flex; height: 118px; margin: -6px -6px 14px;
  border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,209,102,.28);
}
.binv-side {
  flex: 1; position: relative; overflow: hidden; background: var(--pc);
}
.binv-side img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 12%;
  filter: saturate(1.05);
}
.binv-side::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--pc) -25%, transparent 55%);
}
/* אלכסון: הצד הימני חתוך שמאלה, השמאלי ימינה - כמו הזירה עצמה (פיזי, לא לוגי - RTL!) */
.binv-side:first-child { clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); margin-left: -9%; }
.binv-left { clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%); }
.binv-vs {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe9ad, var(--gold) 65%);
  color: #241a02; font-weight: 900; font-size: 15px; font-family: 'Heebo', sans-serif;
  box-shadow: 0 0 22px rgba(255,209,102,.55); animation: vsPulse 1.6s ease-in-out infinite;
}
@keyframes vsPulse { 50% { transform: translate(-50%, -50%) scale(1.09); } }
@media (prefers-reduced-motion: reduce) { .binv-vs { animation: none; } }
.binv-card h2 { margin-top: 0; }

/* ===== היכל התהילה ===== */
.hall-entry {
  display: flex; align-items: center; gap: 11px; width: 100%;
  margin-top: 10px; padding: 11px 14px; cursor: pointer; text-align: right;
  background: linear-gradient(135deg, rgba(255,209,102,.13), rgba(123,47,242,.10));
  border: 1px solid rgba(255,209,102,.4); border-radius: 16px;
  color: var(--ink); font-family: inherit; animation: rise .5s both;
}
.hall-entry:active { transform: scale(.98); }
.he-em { font-size: 24px; flex-shrink: 0; }
.he-txt { flex: 1; min-width: 0; }
.he-txt b { font-family: 'Heebo', sans-serif; font-weight: 800; font-size: 14px; display: block; }
.he-s { font-size: 11.5px; color: #b9c3dd; }
.he-crown { flex-shrink: 0; font-size: 11px; color: var(--gold); white-space: nowrap; font-weight: 700; }
.hall-title {
  font-family: 'Heebo', sans-serif; font-weight: 900; font-size: 24px; text-align: center; margin-top: 6px;
  background: linear-gradient(180deg, #fff3cf, #f5b301);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hall-sub { text-align: center; color: var(--mut); font-size: 12.5px; margin: 4px 0 12px; }
.podium { display: flex; align-items: flex-end; gap: 8px; margin-bottom: 12px; }
.pod {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
  text-align: center; border-radius: 14px; padding: 10px 4px 9px;
  background: linear-gradient(165deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.12);
}
.pod.p1 {
  border-color: rgba(255,209,102,.6); padding-top: 14px;
  background: linear-gradient(165deg, rgba(255,209,102,.15), rgba(255,255,255,.02));
  box-shadow: 0 0 28px -10px rgba(255,209,102,.7);
}
.pod.p1 .face { box-shadow: 0 0 0 2px var(--gold); }
.pod-medal { font-size: 19px; }
.pod-emoji { font-size: 34px; }
.pod-nm { font-size: 11.5px; font-weight: 700; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 3px; }
.pod-sc { font-size: 17px; color: var(--gold); }
.pod.p1 .pod-sc { font-size: 21px; }
.pod-dt { font-size: 9.5px; color: var(--mut); }
.hrow {
  display: flex; align-items: center; gap: 9px; padding: 8px 10px;
  border-radius: 11px; margin-top: 5px; font-size: 12.5px;
  background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08);
}
.hrow-me { border-color: rgba(255,209,102,.5); background: rgba(255,209,102,.08); }
.hr-rk { width: 18px; text-align: center; color: var(--mut); }
.hr-nm { flex: 1; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hr-pt { font-size: 10.5px; color: var(--mut); white-space: nowrap; }
.hr-sc { color: var(--gold); }
.hall-you {
  margin-top: 12px; padding: 10px; border-radius: 12px; text-align: center; font-size: 13px;
  background: rgba(47,123,255,.1); border: 1px solid rgba(47,123,255,.35);
}
.hall-you b { color: var(--gold); }
.hall-hint { text-align: center; font-size: 11px; color: var(--mut); margin: 10px 0 14px; line-height: 1.6; }

/* ===== גלגול הפתיחה ===== */
.roll-wrap { text-align: center; padding-top: 8vh; }
.roll-kicker { color: #a8b3cf; font-size: 14px; margin-bottom: 18px; }
.roll-card {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  max-width: 320px; margin: 0 auto; padding: 26px 18px;
  background: linear-gradient(165deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 2px solid rgba(255,255,255,.14); border-radius: 22px; backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px -25px #000;
  transition: border-color .3s, box-shadow .3s;
}
.roll-emoji { font-size: 54px; line-height: 1; display: grid; place-items: center; color: var(--mut); transition: color .3s; }
.roll-emoji .ico { width: 54px; height: 54px; }
/* בנחיתה הסמל לוקח את צבע הנדירות שיצאה */
.roll-landed .roll-emoji { color: var(--ink); }
.r-rare.roll-landed .roll-emoji { color: #7db2ff; }
.r-epic.roll-landed .roll-emoji { color: #cf9bff; }
.r-legend.roll-landed .roll-emoji { color: var(--gold); }
.roll-name { font-family: 'Heebo', sans-serif; font-weight: 900; font-size: 21px; margin-top: 4px; }
.roll-rarity {
  font-size: 11px; font-weight: 800; letter-spacing: 1px;
  border-radius: 999px; padding: 3px 12px; margin-top: 2px; display: none;
}
.roll-desc { font-size: 13.5px; color: #c8cede; margin-top: 4px; min-height: 20px; }
.roll-landed { animation: pop .45s cubic-bezier(.2,1.8,.4,1); }
.roll-landed .roll-rarity { display: inline-block; }
.roll-wrap .cta { max-width: 320px; margin: 18px auto 0; }
/* צבעי נדירות */
.r-common { border-color: rgba(255,255,255,.2); }
.r-common .roll-rarity { background: rgba(255,255,255,.1); color: #aeb6d0; }
.r-rare { border-color: #3b82f6; box-shadow: 0 0 34px -10px rgba(59,130,246,.75), 0 20px 50px -25px #000; }
.r-rare .roll-rarity { background: rgba(59,130,246,.2); color: #7db2ff; }
.r-epic { border-color: #a855f7; box-shadow: 0 0 40px -8px rgba(168,85,247,.8), 0 20px 50px -25px #000; }
.r-epic .roll-rarity { background: rgba(168,85,247,.22); color: #cf9bff; }
.r-legend { border-color: var(--gold); box-shadow: 0 0 52px -6px rgba(255,209,102,.95), 0 20px 50px -25px #000; animation: pop .45s cubic-bezier(.2,1.8,.4,1), kglow 1.2s ease-in-out infinite !important; }
.r-legend .roll-rarity { background: linear-gradient(135deg, #ffe9a8, #f5b301); color: #131722; }
.hud-buff { margin-inline-start: 5px; font-size: 13px; }

/* ===== יומן הקריירה ===== */
.log-stats {
  display: flex; flex-wrap: wrap; gap: 7px 14px; justify-content: center;
  font-size: 12.5px; color: #c8cede; padding: 10px;
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; margin-bottom: 10px;
}
.log-stats b { color: var(--gold); }
.log-list { display: flex; flex-direction: column; gap: 5px; }
.log-row {
  display: grid; grid-template-columns: 40px 26px 1fr 30px auto; gap: 8px; align-items: center;
  padding: 7px 10px; font-size: 12px;
  background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); border-radius: 10px;
}
.log-date { color: var(--mut); font-size: 10.5px; }
.log-party { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.log-daily { font-style: normal; font-size: 10px; }
.log-seats { color: var(--gold); text-align: center; }
.log-out { color: #aeb6d0; font-size: 11px; white-space: nowrap; }

/* ===== כפתור קרב המנהיגים: זירת פנים ===== */
.battle-arena-btn {
  position: relative; display: block; width: 100%; min-height: 158px;
  margin-top: 10px; padding: 0; cursor: pointer; overflow: hidden;
  border: 1px solid rgba(255,209,102,.4); border-radius: var(--radius);
  background: #0a0e1e; color: var(--ink); font-family: inherit;
  box-shadow: 0 14px 34px -20px rgba(0,0,0,1);
  animation: rise .5s both;
  transition: transform .15s, box-shadow .2s;
}
.battle-arena-btn:active { transform: scale(.98); }
@media (hover:hover) { .battle-arena-btn:hover { box-shadow: 0 18px 40px -18px rgba(255,209,102,.45); } }
/* התמונות ממלאות את כל הכפתור ונפגשות באלכסון במרכז - בלי רווח.
   מיקום פיזי (left/right) ולא לוגי - כדי שהאלכסונים לא יתהפכו ב-RTL */
.bab-side { position: absolute; top: 0; bottom: 0; width: 56%; overflow: hidden; }
.bab-a { left: 0; clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%); }
.bab-b { right: 0; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.bab-side img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; filter: saturate(1.05); }
/* סקרים עדין רק כדי שהטקסט ייקרא - לא חוסם את הפנים */
.bab-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 44% 90% at 50% 55%, rgba(5,8,18,.88) 0%, rgba(5,8,18,.32) 60%, transparent 78%), linear-gradient(180deg, transparent 55%, rgba(5,8,18,.55));
}
.bab-mid {
  position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 158px; padding: 10px 8px 12px; text-align: center;
}
.bab-vs {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  font-size: 12.5px; color: #131722;
  background: radial-gradient(circle at 35% 30%, #fff3cf, #ffd166 55%, #e8a80c);
  box-shadow: 0 0 0 3px rgba(5,7,15,.85), 0 0 22px rgba(255,209,102,.85);
  animation: vspulse 1.6s ease-in-out infinite;
}
.bab-title { font-family: 'Heebo', sans-serif; font-weight: 900; font-size: 16px; margin-top: 5px; text-shadow: 0 2px 10px rgba(0,0,0,.95); }
.bab-sub { font-size: 11px; color: #d5dcf2; text-shadow: 0 1px 8px rgba(0,0,0,.95); }

/* ===== כפתור האוסף: פסי מדבקות ===== */
.col-strip-btn {
  display: flex; align-items: center; gap: 12px; width: 100%;
  margin-top: 10px; padding: 12px 14px; cursor: pointer; text-align: right;
  background: linear-gradient(165deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius);
  color: var(--ink); font-family: inherit; backdrop-filter: blur(8px);
  animation: rise .5s both;
}
.col-strip-btn:active { transform: scale(.98); }
@media (hover:hover) { .col-strip-btn:hover { border-color: rgba(255,209,102,.45); } }
.col-faces { display: flex; flex-shrink: 0; }
.col-faces .face { width: 34px; height: 34px; box-shadow: 0 0 0 2px #0a0e1e; }
.col-faces .face + .face { margin-inline-start: -11px; }
.col-more {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; background: #1b2544; color: var(--gold);
  font-size: 10.5px; font-weight: 800; font-family: 'Heebo', sans-serif;
}
.col-bt { display: block; font-family: 'Heebo', sans-serif; font-weight: 800; font-size: 14.5px; }
.col-bs { display: block; font-size: 11.5px; color: var(--mut); margin-top: 2px; }
.col-bs b { color: var(--gold); }

/* ===== רצף יומי ===== */
.streak-chip {
  display: inline-flex; align-items: center; gap: 5px; width: fit-content;
  margin-top: 7px; padding: 4px 12px; border-radius: 999px;
  font-size: 11.5px; font-weight: 800;
}
.streak-chip.done {
  color: #3ddc84; background: rgba(61,220,132,.12); border: 1px solid rgba(61,220,132,.35);
}
.streak-chip.risk {
  color: #ffb347; background: rgba(255,140,66,.14); border: 1px solid rgba(255,140,66,.5);
  animation: blink 1.6s infinite;
}
.streak-line {
  text-align: center; font-size: 14.5px; font-weight: 700; color: #ffb347;
  padding: 7px 10px; margin-bottom: 9px;
  background: rgba(255,140,66,.09); border: 1px solid rgba(255,140,66,.3); border-radius: 12px;
}
.streak-line b { font-size: 17px; }
.streak-best { font-weight: 500; font-size: 12px; color: var(--mut); }

/* ===== מסך אירוע-בחירה: משבר / הפתעת אוקטובר ===== */
.ev-card {
  border-radius: 20px; padding: 16px; animation: rise .45s cubic-bezier(.2,.9,.3,1) both;
}
.ev-red {
  border: 1px solid rgba(239,43,75,.45);
  background: linear-gradient(165deg, rgba(239,43,75,.14), rgba(10,8,20,.6));
}
.ev-orange {
  border: 1px solid rgba(255,140,66,.45);
  background: linear-gradient(165deg, rgba(255,140,66,.12), rgba(10,8,20,.5));
}
.ev-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; font-weight: 800; color: #fff;
  padding: 4px 12px; border-radius: 999px; animation: blink 1.4s infinite;
}
.ev-red .ev-tag { background: linear-gradient(135deg, #ef2b4b, #b3122c); box-shadow: 0 4px 16px -5px rgba(239,43,75,.9); }
.ev-orange .ev-tag { background: linear-gradient(135deg, #ff8c42, #e0541a); box-shadow: 0 4px 16px -5px rgba(255,140,66,.9); }
.ev-title { font-family: 'Heebo', sans-serif; font-weight: 900; font-size: 22px; margin-top: 10px; }
.ev-text { font-size: 14px; color: #d7dcef; line-height: 1.65; margin-top: 7px; }
.ev-ops { display: flex; flex-direction: column; gap: 9px; margin-top: 14px; }
.ev-op {
  text-align: right; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: 13px; padding: 12px 14px; color: #f5f7ff; font-family: inherit;
  font-size: 14px; cursor: pointer; transition: .15s; line-height: 1.5;
}
.ev-op:active { transform: scale(.98); }
@media (hover:hover) { .ev-op:hover:not(:disabled) { border-color: var(--gold); background: rgba(255,209,102,.09); } }
.ev-odds { display: block; font-size: 11px; color: #ffb347; margin-top: 4px; }
.ev-result { margin-top: 12px; padding: 12px; border-radius: 12px; font-weight: 700; font-size: 14.5px; text-align: center; display: none; }
.ev-result.show { display: block; animation: pop .4s cubic-bezier(.2,1.8,.4,1) both; }
.ev-result.ev-win { background: rgba(61,220,132,.13); border: 1px solid rgba(61,220,132,.4); color: var(--green); }
.ev-result.ev-lose { background: rgba(255,77,94,.12); border: 1px solid rgba(255,77,94,.4); color: #ff8d99; }
.ev-card .cta { margin-top: 12px; }

/* ===== אתגר חבר ===== */
.chal-banner {
  display: flex; align-items: center; gap: 11px; width: 100%; text-align: right;
  margin: 4px 0 14px; padding: 12px 14px; cursor: pointer; font-family: inherit;
  background: linear-gradient(135deg, rgba(123,47,242,.18), rgba(47,123,255,.12));
  border: 1px solid rgba(150,120,255,.45); border-radius: 16px;
  color: var(--ink); animation: rise .5s both;
}
.chal-banner:active { transform: scale(.98); }
.chal-emoji { font-size: 26px; flex-shrink: 0; }
.chal-btxt { flex: 1; font-size: 13px; line-height: 1.55; }
.chal-btxt b { color: var(--gold); }
.chal-go {
  flex-shrink: 0; font-size: 12.5px; font-weight: 800; color: #131722;
  background: linear-gradient(135deg, #ffe9a8, #f5b301); border-radius: 999px; padding: 8px 14px;
}
.chal-card {
  margin-top: 12px; padding: 14px; border-radius: 18px;
  border: 1px solid rgba(255,209,102,.35);
  background: linear-gradient(160deg, rgba(255,209,102,.10), rgba(255,255,255,.02));
  backdrop-filter: blur(10px); animation: rise .5s both;
}
.chal-top { display: flex; align-items: center; gap: 11px; }
.chal-txt { font-size: 14px; line-height: 1.55; }
.chal-txt b { color: var(--gold); }
.chal-sub { color: var(--mut); font-size: 12px; margin-top: 3px; }
.chal-cta { margin-top: 11px; background: linear-gradient(135deg, #ffe9a8, #f5b301); }
.chal-res-title { text-align: center; font-weight: 700; font-size: 14.5px; }
.chal-vs { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 10px; }
.chal-p { text-align: center; display: flex; flex-direction: column; }
.chal-p b {
  font-size: 38px; line-height: 1;
  background: linear-gradient(180deg, #fff3cf, #f5b301);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.chal-p.chal-them b { filter: grayscale(.6); opacity: .75; }
.chal-p i { font-style: normal; font-size: 11.5px; color: var(--mut); margin-top: 3px; }
.chal-dot { color: var(--mut); }
.chal-verdict { text-align: center; font-weight: 700; font-size: 14.5px; margin-top: 10px; }
.chal-verdict.chal-won { color: var(--green); }
.chal-verdict.chal-lost { color: #ff8d99; }

/* ===== מירוץ ההמיציקל בשיא ===== */
.hemi-race { margin-top: 14px; position: relative; }
.hemi-svg { width: 100%; display: block; }
.hemi-count {
  position: absolute; bottom: 4px; inset-inline: 0; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 2px; pointer-events: none;
}
.hemi-race .climax-num { font-size: 58px; }
.hemi-race.cx-past61 .climax-num { color: var(--gold); }

/* ===== זירת לוחמים: מסך מפוצל, תמונות ענק, VS זהב ===== */
.fight-wrap {
  position: relative; display: flex; border-radius: 18px; overflow: hidden;
  min-height: min(58vh, 460px);
  box-shadow: 0 24px 60px -30px rgba(0,0,0,1);
  animation: rise .45s cubic-bezier(.2,.9,.3,1) both;
}
.fight-side {
  flex: 1; position: relative; cursor: pointer; overflow: hidden;
  border: none; padding: 0; background: #0a0e1e; font-family: inherit;
  transition: flex .25s ease, filter .25s;
}
@media (hover:hover) { .fight-side:hover { flex: 1.18; } }
.fight-side:active { filter: brightness(1.12); }
.fight-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 12%;
  filter: saturate(1.05) contrast(1.05);
}
.fight-side::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, var(--pc));
  opacity: .85; pointer-events: none;
}
.fight-king { clip-path: polygon(0 0, 100% 0, 100% 100%, 12% 100%); }
.fight-chal { clip-path: polygon(0 0, 88% 0, 100% 100%, 0 100%); margin-inline-start: -11%; }
.fight-plate {
  position: absolute; bottom: 0; inset-inline: 0; z-index: 2;
  padding: 14px 10px 14px; text-align: center; pointer-events: none;
  display: flex; flex-direction: column; gap: 2px;
}
.fight-nm {
  font-family: 'Heebo', sans-serif; font-weight: 900; font-size: 20px; line-height: 1.1;
  color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.9);
}
.fight-ld { font-size: 12px; color: rgba(255,255,255,.85); text-shadow: 0 1px 6px rgba(0,0,0,.9); }
.fight-tag {
  position: absolute; top: 10px; inset-inline-start: 10px; z-index: 2;
  font-size: 10px; font-weight: 800; color: var(--gold); pointer-events: none;
  background: rgba(0,0,0,.55); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,209,102,.4); border-radius: 999px; padding: 3px 10px;
  white-space: nowrap;
}
.fight-chal .fight-tag { color: #9fd0ff; border-color: rgba(120,180,255,.4); }
.fight-wrap:has(.fight-streak) .fight-tag { top: 42px; }
.fight-vs {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 5;
  width: 62px; height: 62px; border-radius: 50%; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 900; color: #131722;
  background: radial-gradient(circle at 35% 30%, #fff3cf, #ffd166 55%, #e8a80c);
  box-shadow: 0 0 0 4px rgba(5,7,15,.9), 0 0 34px rgba(255,209,102,.85);
  animation: vspulse 1.6s ease-in-out infinite;
}
@keyframes vspulse { 50% { box-shadow: 0 0 0 4px rgba(5,7,15,.9), 0 0 52px rgba(255,209,102,1); } }
.fight-streak {
  position: absolute; top: 0; inset-inline: 0; z-index: 4;
  display: flex; justify-content: center; pointer-events: none;
}
.fight-streak span {
  font-size: 11px; font-weight: 800; color: #131722;
  background: linear-gradient(135deg, #ffe9a8, #f5b301);
  padding: 5px 16px; border-radius: 0 0 12px 12px;
  box-shadow: 0 6px 18px -6px rgba(245,179,1,.8);
}
/* דרגות רצף - הפס מתלהט */
.fight-streak.tier-fire span { background: linear-gradient(135deg, #ffb173, #ff7a1f); color: #fff; }
.fight-streak.tier-ruler span { background: linear-gradient(135deg, #ffe9a8, #f5b301); animation: kglow 1s ease-in-out infinite; }
.fight-streak.tier-legend span { background: linear-gradient(135deg, #ffd166, #ff8c42); color: #131722; animation: kshake .4s ease-in-out infinite; }
.fight-wrap.tier-fire .fight-vs, .fight-wrap.tier-ruler .fight-vs, .fight-wrap.tier-legend .fight-vs {
  background: radial-gradient(circle at 35% 30%, #ffe0b5, #ff9c42 55%, #e85d0c);
}
/* כפתור עצירה - פיל זהב אלגנטי */
.fight-stop {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: fit-content; margin: 16px auto 0; padding: 10px 22px;
  background: linear-gradient(165deg, rgba(255,209,102,.12), rgba(255,209,102,.04));
  border: 1px solid rgba(255,209,102,.4); border-radius: 999px;
  color: #ffd166; font-family: inherit; font-size: 13.5px; cursor: pointer;
  backdrop-filter: blur(8px);
  transition: transform .12s, box-shadow .2s, background .2s;
}
.fight-stop b { font-weight: 700; }
.fight-stop:active { transform: scale(.96); }
@media (hover:hover) {
  .fight-stop:hover { background: linear-gradient(165deg, rgba(255,209,102,.22), rgba(255,209,102,.08)); box-shadow: 0 8px 26px -12px rgba(255,209,102,.7); }
}
.fs-crown { font-size: 16px; }

/* ג'וס בזירה: המפסיד מאפיר וצולל, המנצח מבליח */
.fight-side.lose-out { filter: grayscale(1) brightness(.45); transform: translateY(26px); transition: filter .5s, transform .55s cubic-bezier(.5,0,.8,.4); pointer-events: none; }
.fight-side.win-pulse { animation: fwin .55s ease; }
@keyframes fwin { 30% { filter: brightness(1.35) saturate(1.3); } }
.fight-side.enter-in { animation: fenter .45s cubic-bezier(.2,.9,.3,1) both; }
@keyframes fenter { from { opacity: 0; transform: translateX(-46px); } to { opacity: 1; transform: none; } }

/* דרגות רצף מלכותי מתלהט */
.is-king { transition: box-shadow .4s, transform .3s; }
.tier-hot.is-king { box-shadow: 0 0 0 1px #ffb347, 0 8px 26px -10px #ffb347; }
.tier-fire.is-king { box-shadow: 0 0 0 2px #ff8c42, 0 10px 34px -8px #ff6a1f; animation: kglow 1.3s ease-in-out infinite; }
.tier-ruler.is-king { box-shadow: 0 0 0 2px var(--gold), 0 12px 40px -6px rgba(255,209,102,.7); animation: kglow 1s ease-in-out infinite; }
.tier-legend.is-king { box-shadow: 0 0 0 3px var(--gold), 0 0 50px -4px rgba(255,209,102,.9); animation: kshake .4s ease-in-out infinite; }
@keyframes kglow { 50% { box-shadow: 0 0 0 2px var(--gold), 0 14px 48px 2px rgba(255,209,102,.55); } }
@keyframes kshake { 0%,100%{transform:translateX(0)} 25%{transform:translateX(-1.5px) rotate(-.4deg)} 75%{transform:translateX(1.5px) rotate(.4deg)} }
.duel-arena.tier-fire .duel-vs, .duel-arena.tier-ruler .duel-vs, .duel-arena.tier-legend .duel-vs { color: #ff8c42; transform: scale(1.15); }

/* ג'וס: כניסה/יציאה/פעימה */
.enter-in { animation: enterIn .5s cubic-bezier(.2,.9,.3,1) both; }
@keyframes enterIn { from { opacity: 0; transform: translateX(40px) scale(.9); } to { opacity: 1; transform: none; } }
.lose-out { animation: loseOut .55s cubic-bezier(.5,0,.75,0) forwards; pointer-events: none; }
@keyframes loseOut { to { opacity: 0; transform: translateY(60px) scale(.7) rotate(6deg); filter: grayscale(1); } }
.win-pulse { animation: winPulse .5s cubic-bezier(.2,1.6,.4,1); z-index: 2; }
@keyframes winPulse { 40% { transform: scale(1.08); } }

/* "והעם?" - חשיפה אחרי בחירה */
.duel-verdict {
  min-height: 1.6em; margin-top: 14px; text-align: center;
  font-size: 14px; color: #c8cede; opacity: 0; transform: translateY(6px);
  transition: opacity .4s, transform .4s;
}
.duel-verdict.show { opacity: 1; transform: none; }
.duel-verdict b { color: var(--gold); font-family: 'Secular One', sans-serif; }

/* ===== פס מבזקים תחתון ===== */
#ticker {
  position: fixed; bottom: 0; right: 0; left: 0; z-index: 60;
  display: flex; align-items: stretch; height: var(--ticker-h);
  background: #0a0f22f8; border-top: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
/* ליל הבחירות: הפס בזרימה, אחרי המסך - לא מכסה את השבבים שבתחתית הפירוק */
body.night-screen #ticker { position: relative; margin-top: 8px; }
body.night-screen .screen { padding-bottom: 28px; }
.t-label {
  flex-shrink: 0; display: flex; align-items: center;
  background: var(--red); color: #fff;
  padding: 0 12px; font-size: 11.5px; font-weight: 700;
}
.t-viewport { flex: 1; overflow: hidden; display: flex; align-items: center; }
/* פס המבזקים: שני עותקים זהים של אותה שורה, והאנימציה מזיזה בדיוק עותק אחד -
   ולכן הלולאה חלקה ותמיד יש טקסט בחלון.
   קודם זה רץ מ--50% ל-0, ובפריסה מימין-לשמאל זה הותיר את הפס מחוץ למסך:
   הטקסט היה נראה רק ב-13 השניות האחרונות של כל מחזור בן 36 שניות, ו-23 שניות
   המסך היה ריק. בלי gap, כי אז חצי מהרוחב הוא בדיוק עותק אחד.
   הכיוון חיובי: בעברית הטקסט נכנס משמאל ונע ימינה, לפי כיוון הקריאה. */
.t-track {
  display: flex; white-space: nowrap;
  font-size: 12.5px; color: #c8cede;
  animation: tick 30s linear infinite;
  will-change: transform;
}
.t-track span { padding-inline-start: 60px; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) { .t-track { animation: none; } }

/* ===== ספירה לאחור למדגם ===== */
.cd-wrap { text-align: center; padding: 90px 0 40px; }
.cd-top {
  display: inline-block; font-size: 13px; color: #dfe4f5;
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 16px;
  background: rgba(255,255,255,.03);
}
.cd-sub { margin-top: 34px; font-size: 17px; color: var(--mut); }
.cd-num {
  font-size: 130px; line-height: 1.1; color: var(--gold);
  text-shadow: 0 0 60px rgba(255, 209, 102, .55);
}
.cd-pop { animation: pop .5s cubic-bezier(.2, 1.8, .4, 1) both; }
.cd-sub2 { font-size: 13px; color: var(--mut); margin-top: 20px; animation: blink 1.6s infinite; }

/* ===== פאנל האולפן ===== */
.panel-box {
  margin-top: 12px; padding: 11px 13px;
  background: linear-gradient(170deg, var(--card2), var(--card));
  border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 8px;
}
.panel-title { font-size: 11px; color: var(--gold); letter-spacing: .5px; }
.pundit { display: flex; align-items: center; gap: 9px; }
.pundit-q { font-size: 12.5px; color: #c8cede; line-height: 1.5; font-style: italic; }

/* ===== משבר ===== */
.crisis {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255, 77, 94, .09);
  border: 1px solid rgba(255, 77, 94, .4); border-radius: 12px;
  padding: 10px 12px; margin-bottom: 12px;
  animation: rise .4s both;
}
.crisis .brk-chip { flex-shrink: 0; }
.crisis-text { font-size: 12.5px; line-height: 1.5; }
.crisis-text b { color: var(--red); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ===== HUD ===== */
/* ===== עמוד השדרה של הקמפיין =====
   רצועה אחת שמחזיקה את כל המידע שהשחקן צריך כל הזמן: מי אתה, כמה כסף, כמה מנדטים,
   ואיפה אתה בקמפיין. האות היא פתק הצבעה אמיתי - נייר קרם ואות שחורה. */
.hud {
  padding: 9px 12px 10px; margin-bottom: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.085), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.11); backdrop-filter: blur(12px); border-radius: 16px;
  font-size: 13.5px;
}
.hud-row { display: flex; align-items: center; gap: 8px; }
.hud-party { display: flex; align-items: center; gap: 7px; min-width: 0; }
.hud-let {
  flex: none; min-width: 26px; height: 26px; padding: 0 5px; border-radius: 5px;
  background: linear-gradient(178deg, #fdfdf8, #eae8db); color: #14161d;
  display: grid; place-items: center;
  font-family: 'Secular One', 'Heebo', sans-serif; font-size: 14px; line-height: 1;
  box-shadow: 0 2px 8px -2px rgba(0,0,0,.7), inset 0 -1px 0 rgba(0,0,0,.14);
}
.hud-pname {
  font-weight: 600; font-size: 13px; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; max-width: 118px;
}
.hud-buff { display: inline-flex; color: var(--gold); margin-inline-start: 1px; }
.hud-coins { display: flex; align-items: center; gap: 3px; margin-inline-start: auto; }
.hud-coins .coin {
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 6px rgba(255,209,102,.55);
}
.hud-coins .coin.off { background: #2a3350; box-shadow: none; }
.hud-cash { font-size: 11px; color: var(--gold); margin-inline-start: 4px; }
.hud-seats { position: relative; display: flex; align-items: baseline; gap: 4px; margin-inline-start: 9px; }
.hud-seats b { font-size: 23px; line-height: 1; color: var(--gold); }
.hud-seats i { font-style: normal; font-size: 10px; color: var(--mut); }
/* שובר המנדטים: כמה השתנה מאז הפעם הקודמת שהמסך הזה נבנה */
.hud-delta {
  position: absolute; top: -13px; inset-inline-start: -4px;
  font-family: 'Heebo', sans-serif; font-weight: 800; font-size: 11.5px;
  animation: delta-fly 1.9s ease-out both; pointer-events: none;
}
.hud-delta.up { color: var(--green); }
.hud-delta.down { color: var(--red); }
@keyframes delta-fly {
  0% { opacity: 0; transform: translateY(7px) scale(.85); }
  18% { opacity: 1; transform: translateY(0) scale(1.1); }
  30% { transform: translateY(0) scale(1); }
  78% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-11px); }
}
/* שישה סבבים כשישה קטעים שמתמלאים */
.spine { display: flex; gap: 3px; margin-top: 9px; }
.spine .sg { flex: 1; height: 3px; border-radius: 2px; background: #222c49; overflow: hidden; }
.spine .sg.done { background: var(--gold); }
.spine .sg.now { background: #222c49; position: relative; }
.spine .sg.now::after {
  content: ''; position: absolute; inset: 0; background: var(--gold);
  transform: translateX(45%); animation: spine-fill .7s cubic-bezier(.2,.9,.3,1) both;
}
@keyframes spine-fill { from { transform: translateX(100%); } }
.spine-lbl {
  display: flex; justify-content: space-between; gap: 8px;
  font-size: 10px; color: var(--mut2, #6b7492); margin-top: 5px;
}
.spine-lbl .num { color: var(--gold); font-size: 11px; }
.hud-sub { color: var(--mut); font-size: 14px; margin: 10px 4px 14px; line-height: 1.5; }

/* ===== מסך פתיחה ===== */
.hero { text-align: center; padding: 26px 0 8px; }
.logo-mark { font-size: 40px; filter: drop-shadow(0 6px 18px rgba(255, 209, 102, .35)); }
.logo {
  font-family: 'Heebo', sans-serif; font-weight: 900; font-size: 56px; line-height: 1; margin-top: 8px;
  letter-spacing: -1px;
  background: linear-gradient(180deg, #fff 30%, #b9c6e8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 24px rgba(60, 120, 255, .45));
}
.gold {
  background: linear-gradient(180deg, #ffe9a8, #f5b301);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 22px rgba(255, 190, 60, .6));
}
.tagline {
  display: inline-block; margin-top: 12px; padding: 5px 16px;
  border: 1px solid rgba(255,255,255,.12); border-radius: 999px;
  background: rgba(255,255,255,.05); backdrop-filter: blur(8px);
  color: #a8b3cf; font-size: 12.5px; letter-spacing: .4px;
}
.intro { color: var(--mut); font-size: 14.5px; line-height: 1.65; margin-top: 14px; }

.pick-title {
  font-family: 'Secular One', sans-serif; font-size: 19px; margin: 26px 4px 12px;
  display: flex; align-items: center; gap: 10px;
}
.pick-title::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }

/* ===== פתקי הצבעה ===== */
.party-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ballot {
  position: relative; text-align: center; cursor: pointer;
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,.012) 0 2px, transparent 2px 4px),
    linear-gradient(175deg, #fffefa 0%, #f2f0e6 100%);
  border-radius: 8px;
  padding: 0 0 11px; color: #14161c;
  display: flex; flex-direction: column; overflow: hidden; font-family: inherit;
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 14px 30px -16px rgba(0,0,0,1), 0 2px 6px rgba(0,0,0,.4);
  animation: rise .5s cubic-bezier(.2,.9,.3,1) both;
  transition: transform .25s cubic-bezier(.2,.9,.3,1), box-shadow .25s;
}
/* קיפול פינה של פתק */
.ballot::after {
  content: ''; position: absolute; top: 0; inset-inline-start: 0;
  border-style: solid; border-width: 0 16px 16px 0;
  border-color: transparent #05070f #d8d5c4 transparent;
  transform: scaleX(-1);
}
.ballot:active { transform: scale(.97) rotate(.4deg); }
@media (hover:hover) {
  .ballot:hover { transform: translateY(-5px) rotate(-.7deg); box-shadow: 0 26px 46px -20px rgba(0,0,0,1), 0 0 0 1px rgba(255,209,102,.35); }
}
.b-band {
  display: flex; align-items: center; gap: 7px; position: relative;
  background: linear-gradient(135deg, var(--pc), color-mix(in srgb, var(--pc) 65%, #fff 20%));
  color: #fff; padding: 7px 9px; font-size: 11px;
  box-shadow: 0 2px 8px -3px rgba(0,0,0,.5);
}
.b-band::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.22), transparent 60%);
}
.b-band > * { position: relative; z-index: 1; }
.b-band .face { box-shadow: 0 0 0 1.5px rgba(255,255,255,.7); }
.b-band-txt { flex: 1; text-align: right; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-seats { font-family: 'Heebo', sans-serif; font-weight: 900; font-size: 19px; color: #fff; text-shadow: 0 1px 5px rgba(0,0,0,.5); }
.b-under {
  font-size: 9px; font-weight: 700; line-height: 1.05; text-align: center;
  color: #fff; opacity: .95; letter-spacing: .2px;
  background: rgba(0,0,0,.28); border-radius: 5px; padding: 3px 5px; white-space: nowrap;
}
.b-letter {
  font-family: 'Heebo', sans-serif; font-weight: 900; font-size: 46px; line-height: 1.1;
  margin-top: 10px; color: #101218; letter-spacing: 1px;
  text-shadow: 0 1px 0 rgba(255,255,255,.8);
}
.b-name {
  font-size: 10.5px; color: #454a55; padding: 2px 8px 8px;
  border-bottom: 1px dashed #d0cdba; margin: 0 10px 8px; line-height: 1.4;
  min-height: 2.2em;
}
.b-foot { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 8px; flex-wrap: wrap; }
.b-tag { font-size: 9.5px; color: #6a6f7c; line-height: 1.3; }
.pc-diff {
  margin-top: 0; border-radius: 999px !important;
  font-size: 10px; font-weight: 700; letter-spacing: .3px;
  border-radius: 6px; padding: 2.5px 8px;
}
.diff-easy { color: var(--green); background: rgba(61,220,132,.12); border: 1px solid rgba(61,220,132,.3); }
.diff-mid { color: #59b7ff; background: rgba(89,183,255,.1); border: 1px solid rgba(89,183,255,.3); }
.diff-hard { color: #ffb347; background: rgba(255,179,71,.1); border: 1px solid rgba(255,179,71,.3); }
.diff-elite { color: var(--red); background: rgba(255,77,94,.1); border: 1px solid rgba(255,77,94,.35); }

.ghost-btn {
  width: 100%; margin-top: 18px; padding: 13px;
  background: transparent; border: 1px dashed var(--line); border-radius: 14px;
  color: var(--mut); font-family: inherit; font-size: 14px; cursor: pointer;
}
.ghost-btn:active { background: rgba(255,255,255,.04); }
/* עוד מהיוצר — כפתור עדין */
.more-link {
  display: block; width: 100%; margin-top: 8px; padding: 11px;
  background: transparent; border: 0; color: #6a7391;
  font-family: inherit; font-size: 13px; cursor: pointer;
  transition: color .15s;
}
.more-link:active, .more-link:hover { color: var(--gold); }

/* מודל עוד מהיוצר */
.more-overlay {
  position: fixed; inset: 0; z-index: 92;
  background: rgba(4, 7, 15, .82); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  animation: fadein .25s both;
}
.more-card {
  width: 100%; max-width: 400px; max-height: 86dvh; overflow-y: auto;
  background: linear-gradient(170deg, var(--card2), var(--card));
  border: 1px solid var(--line); border-radius: 20px; padding: 18px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.85);
  animation: pop .4s cubic-bezier(.2,1.5,.4,1) both;
}
.more-head { display: flex; align-items: center; justify-content: space-between; }
.more-title { font-family: 'Secular One', sans-serif; font-size: 19px; }
.more-close { background: none; border: 0; color: var(--mut); font-size: 20px; cursor: pointer; padding: 0 4px; }
.more-sub { color: var(--mut); font-size: 12.5px; margin: 4px 0 14px; }
.more-list { display: flex; flex-direction: column; gap: 9px; }
.more-item {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
  border-radius: 14px; padding: 10px 12px; color: var(--ink);
  transition: transform .12s, border-color .15s, background .15s;
}
.more-item:active { transform: scale(.98); }
@media (hover:hover) { .more-item:hover { border-color: var(--gold); background: rgba(255,255,255,.06); } }
.more-item img { width: 52px; height: 52px; border-radius: 13px; flex-shrink: 0; box-shadow: 0 4px 12px -4px rgba(0,0,0,.6); }
.more-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.more-txt b { font-size: 14px; }
.more-txt span { font-size: 11.5px; color: var(--mut); line-height: 1.4; }
.more-arrow { flex-shrink: 0; font-size: 11px; font-weight: 600; color: var(--gold); }

.legal { text-align: center; color: #525b77; font-size: 11px; margin-top: 18px; line-height: 1.6; }
.credit-link { color: #8b93ad; text-decoration: none; border-bottom: 1px dotted #525b77; }
.credit-link:hover { color: var(--gold); }
.poll-fresh { color: var(--mut); font-size: 11.5px; margin: -6px 4px 12px; }

/* ===== CTA ===== */
.cta {
  display: block; width: 100%; margin-top: 14px; padding: 15px;
  background: var(--ink); color: #0a0f1e;
  border: 0; border-radius: 14px; cursor: pointer;
  font-family: 'Secular One', 'Rubik', sans-serif; font-size: 17px;
  box-shadow: 0 10px 30px -10px rgba(245, 247, 255, .4);
  transition: transform .12s;
}
.cta:active { transform: scale(.975); }
.gold-cta { background: var(--gold); box-shadow: 0 10px 34px -8px rgba(255, 209, 102, .55); }

/* ===== כרטיס סקר ===== */
.poll-card {
  background: linear-gradient(165deg, rgba(255,255,255,.075), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.12); border-radius: 20px;
  padding: 15px; margin-top: 10px;
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -25px rgba(0,0,0,1), 0 1px 0 rgba(255,255,255,.14) inset;
}
.poll-head {
  display: flex; align-items: center; gap: 8px;
  color: #a8b3cf; font-size: 11.5px; letter-spacing: .4px;
  padding-bottom: 9px; border-bottom: 1px solid rgba(255,255,255,.09); margin-bottom: 11px;
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #ef2b4b; box-shadow: 0 0 10px #ef2b4b; animation: blink 1.3s infinite; }
@keyframes blink { 50% { opacity: .25; } }

.my-line { display: flex; align-items: baseline; gap: 8px; margin: 2px 2px 6px; }
.my-line.big { justify-content: center; margin: 10px 0; }
.my-name {
  font-family: 'Heebo', sans-serif; font-weight: 800; font-size: 16px;
  border-inline-start: 3px solid var(--pc); padding-inline-start: 10px;
}
.my-seats {
  font-size: 50px; line-height: 1; margin-inline-start: auto;
  background: linear-gradient(180deg, #fff3cf, #f5b301);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 18px rgba(245,179,1,.55));
}
.my-line.big .my-seats { font-size: 62px; margin-inline-start: 0; }
.my-unit { color: var(--mut); font-size: 13px; }
.delta-badge {
  margin-inline-start: auto; font-family: 'Secular One', sans-serif; font-size: 15px;
  padding: 3px 10px; border-radius: 999px; animation: pop .5s .25s cubic-bezier(.2,2,.4,1) both;
}
.delta-badge.up { color: var(--green); background: rgba(61, 220, 132, .12); }
.delta-badge.dn { color: var(--red); background: rgba(255, 77, 94, .12); }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }

.hemi { width: 100%; height: auto; display: block; margin: 4px auto 2px; }
.hemi .seg { transition: opacity .4s; }
.me-halo { animation: halo 1.8s ease-in-out infinite; }
@keyframes halo { 50% { opacity: .35; } }

.bloc-row { display: flex; gap: 8px; margin: 8px 0 12px; }
.bloc {
  flex: 1; text-align: center; padding: 9px 4px 8px;
  border-radius: 14px; border: 1px solid rgba(255,255,255,.1);
  display: flex; flex-direction: column; gap: 1px;
  backdrop-filter: blur(8px);
}
.bloc b { font-size: 20px; }
.bloc span { font-size: 11px; color: var(--mut); }
.bloc-change { background: rgba(29, 111, 242, .1); } .bloc-change b { color: #6ea8ff; }
.bloc-right { background: rgba(255, 209, 102, .07); } .bloc-right b { color: var(--gold); }
.bloc-arab { background: rgba(61, 220, 132, .06); } .bloc-arab b { color: #7ce6a8; }

/* רשימת מפלגות */
.plist { display: flex; flex-direction: column; gap: 4px; }
.prow {
  display: grid; grid-template-columns: 22px 88px 1fr 30px 38px;
  align-items: center; gap: 7px; padding: 5px 8px; border-radius: 10px; font-size: 13px;
}
.face-xs { width: 22px; height: 22px; }
.prow-me { background: rgba(255, 209, 102, .08); outline: 1px solid rgba(255, 209, 102, .25); }
.pname { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.you {
  font-size: 9.5px; background: var(--gold); color: #1a1405;
  border-radius: 5px; padding: 1px 5px; vertical-align: 2px; margin-inline-start: 3px;
}
.pbar { height: 9px; background: rgba(255,255,255,.06); border-radius: 99px; overflow: hidden; }
.pbar i {
  display: block; height: 100%; border-radius: 99px;
  box-shadow: 0 0 12px -2px currentColor;
  animation: grow 1.1s cubic-bezier(.2,.9,.3,1) both;
}
@keyframes grow { from { width: 0 !important; } }
.pseats { text-align: center; font-size: 15px; }
.up { color: var(--green); font-size: 11.5px; } .dn { color: var(--red); font-size: 11.5px; }
.eq { color: #4a5470; font-size: 11.5px; text-align: center; }
.fell { color: #6a7391; font-size: 11.5px; margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--line); line-height: 1.6; }

/* ===== בחירת ערוץ ===== */
.ch-grid { display: flex; flex-direction: column; gap: 10px; }
.ch-card {
  display: flex; gap: 14px; align-items: stretch; text-align: right; cursor: pointer;
  background: linear-gradient(165deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.11); backdrop-filter: blur(12px); border-radius: var(--radius);
  padding: 14px; color: var(--ink); font-family: inherit;
  box-shadow: 0 14px 34px -22px rgba(0,0,0,1);
  animation: rise .5s both; transition: transform .15s, border-color .15s, box-shadow .2s;
}
.ch-card:active { transform: scale(.98); }
@media (hover:hover) { .ch-card:hover { border-color: var(--cc); transform: translateY(-2px); } }
.ch-logo-wrap { align-self: center; }
.ch-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ch-name { font-family: 'Secular One', sans-serif; font-size: 16px; }
.ch-host { color: #aeb6d0; font-size: 12.5px; display: flex; align-items: center; gap: 4px; }
.ch-host .face { margin-inline-end: -6px; box-shadow: 0 0 0 2px var(--card2); }
.ch-host .face:last-of-type { margin-inline-end: 4px; }
.ch-desc { color: var(--mut); font-size: 12px; line-height: 1.5; }
.ch-risk { color: var(--gold); font-size: 11px; margin-top: 3px; }

/* ===== אולפן ושאלה ===== */
.studio {
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 12px;
  background: linear-gradient(165deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.11); backdrop-filter: blur(12px);
}
.studio-bar {
  display: flex; align-items: center; gap: 10px;
  background: var(--cc); color: #fff; font-size: 13px; font-weight: 600;
  padding: 8px 12px;
}
.live-chip {
  background: rgba(0,0,0,.35); border-radius: 6px; padding: 2px 8px;
  font-size: 11px; animation: blink 1.4s infinite;
}
.studio-logo { margin-inline-start: auto; display: flex; }
.studio-logo .ch-logo { border-radius: 7px; box-shadow: none; padding: 3px; }
.studio-host {
  display: flex; align-items: center; gap: 11px;
  padding: 13px 14px 0;
}
.host-faces { display: flex; }
.host-faces .face { box-shadow: 0 0 0 2px var(--ring); }
.host-faces .face + .face { margin-inline-start: -10px; }
.host-meta { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.q-topic { color: var(--gold); font-size: 12px; letter-spacing: .5px; }
.q-text { font-size: 16.5px; line-height: 1.65; padding: 10px 14px 16px; font-weight: 500; }

.ans-list { display: flex; flex-direction: column; gap: 9px; }
.ans {
  text-align: right; cursor: pointer; color: var(--ink); font-family: inherit;
  background: linear-gradient(165deg, rgba(255,255,255,.10), rgba(255,255,255,.045));
  border: 1px solid rgba(255,255,255,.16); border-radius: 14px;
  padding: 14px; display: flex; flex-direction: column; gap: 6px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 26px -18px rgba(0,0,0,1);
  animation: rise .45s both; transition: transform .12s, border-color .15s;
}
.ans:active { transform: scale(.98); }
@media (hover:hover) { .ans:hover { border-color: var(--gold); background: linear-gradient(165deg, rgba(255,209,102,.14), rgba(255,255,255,.05)); } }
.ans-text { font-size: 14.5px; line-height: 1.55; color: #f2f5ff; }
.ans-odds { font-size: 11.5px; color: var(--mut); }
/* הצבע נקבע במחלקה שמחושבת מהמספר, לא מהספרה הראשונה שלו:
   הכלל הישן [data-odds^="7"] תפס גם 76% וגם 7%, ולכן סיכוי של 7% הוצג בירוק. */
/* סולם צבע אחד לכל סיכוי במשחק (oddsClass ב-main.js קובע את הספים: 70+ ירוק, 40-69 צהוב, מתחת ל-40 אדום).
   --chip משמש את השבבים (rec-chip, def-odds), color את שורות הסיכוי (ans-odds, ev-odds, odds-txt). */
.odds-hi { --chip: var(--green); }
.odds-mid { --chip: #ffb347; }
.odds-lo { --chip: #ff5d73; }
.ans-odds.odds-hi, .ans-odds.odds-mid, .ans-odds.odds-lo,
.ev-odds.odds-hi, .ev-odds.odds-mid, .ev-odds.odds-lo,
.odds-txt { color: var(--chip); }
.odds-txt { font-weight: 600; }

/* ===== צירוף ===== */
.rec-grid { display: flex; flex-direction: column; gap: 10px; }
.rec-card {
  position: relative; text-align: right; cursor: pointer; color: var(--ink); font-family: inherit;
  background: linear-gradient(165deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.11); backdrop-filter: blur(12px); border-radius: var(--radius);
  padding: 14px; display: flex; flex-direction: column; gap: 4px;
  box-shadow: 0 14px 34px -22px rgba(0,0,0,1);
  animation: rise .5s both; transition: transform .12s, border-color .15s;
}
.rec-card:active { transform: scale(.98); }
@media (hover:hover) { .rec-card:hover { border-color: var(--chip, var(--gold)); } }
.rec-chip {
  position: absolute; top: 12px; inset-inline-end: 12px;
  background: color-mix(in srgb, var(--chip) 16%, transparent);
  color: var(--chip); border: 1px solid color-mix(in srgb, var(--chip) 45%, transparent);
  font-size: 11px; font-weight: 600; border-radius: 999px; padding: 3px 10px;
}
.rec-row { display: flex; gap: 12px; align-items: flex-start; }
.rec-titles { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rec-name { font-family: 'Secular One', sans-serif; font-size: 17px; padding-inline-end: 90px; }
.rec-desc { color: var(--mut); font-size: 12.5px; line-height: 1.55; }
.rec-math { color: #aeb6d0; font-size: 11.5px; margin-top: 3px; }

/* ===== פלאש תוצאה ===== */
.s-flash { text-align: center; }
/* inline-block ברוחב האימוג׳י: קודם זה היה בלוק ברוחב המסך, והקפיצה (scale מעל 1) דחפה אותו 27-29px מחוץ למסך - גלילה הצידה */
.flash-emoji { width: max-content; margin: 34px auto 0; font-size: 64px; animation: pop .5s cubic-bezier(.2,2,.4,1) both; }
.flash-title { font-family: 'Secular One', sans-serif; font-size: 26px; margin: 8px 0 20px; }
.s-win .flash-title { color: var(--green); }
.s-lose .flash-title { color: var(--red); }
.breaking {
  display: flex; align-items: center; gap: 10px; text-align: right;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 12px; margin-top: 8px; animation: rise .5s .15s both;
}
.breaking.dim { opacity: .65; animation-delay: .3s; }
.brk-chip {
  flex-shrink: 0; background: var(--red); color: #fff;
  font-size: 11px; font-weight: 700; border-radius: 6px; padding: 3px 8px;
  animation: blink 1.5s infinite;
}
.brk-chip.alt { background: #39415c; animation: none; }
.brk-text { font-size: 13px; line-height: 1.5; }

/* ===== ליל בחירות ===== */
.tv-frame {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(170deg, #101a35, var(--card));
  box-shadow: 0 0 0 4px rgba(255,255,255,.02), 0 24px 60px -30px rgba(29,111,242,.5);
}
.tv-top {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; font-size: 13px; font-weight: 600;
  background: linear-gradient(90deg, #182448, #101a35);
  border-bottom: 1px solid var(--line);
}
.exit-reveal { padding: 8px 12px; }
.tv-note { color: var(--mut); font-size: 12px; padding: 0 14px 14px; line-height: 1.5; }
.count-up { animation: pop .7s .2s cubic-bezier(.2,1.6,.4,1) both; }

/* ===== שיא: הרכבת ממשלה ===== */
.climax { text-align: center; padding: 40px 0 30px; }
.climax-top {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #dfe4f5;
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; background: rgba(255,255,255,.03);
}
.climax-ring {
  width: 200px; height: 200px; margin: 34px auto 0; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 4px solid var(--line); transition: border-color .4s, box-shadow .4s;
}
.climax-ring.cx-past61 { border-color: var(--gold); box-shadow: 0 0 40px -6px rgba(255,209,102,.5); }
.climax-ring.cx-win { border-color: var(--green); box-shadow: 0 0 60px -4px rgba(61,220,132,.6); }
.climax-ring.cx-fail { border-color: var(--red); box-shadow: 0 0 50px -8px rgba(255,77,94,.5); }
.climax-num { font-size: 72px; line-height: 1; color: var(--ink); }
.climax-num.cx-past61 { color: var(--gold); }
.cx-pop { animation: pop .18s cubic-bezier(.2,1.8,.4,1); }
.climax-need { font-size: 13px; color: var(--mut); margin-top: 6px; }
.climax-need b { color: var(--gold); }
.climax-verdict {
  min-height: 3em; margin-top: 22px; font-size: 19px; font-family: 'Secular One', sans-serif;
  color: var(--ink); opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s;
}
.climax-verdict.show { opacity: 1; transform: none; }
.climax-verdict b { color: var(--gold); font-size: 24px; }
.cx-sub { font-family: 'Rubik', sans-serif; font-size: 14px; color: var(--mut); font-weight: 400; }

/* ===== מסך סיום ===== */
.final-take {
  margin: 12px auto 0; max-width: 340px; font-size: 14.5px; line-height: 1.5; color: #dfe4f5;
  background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px;
}
.final-head { text-align: center; padding: 22px 0 6px; }
.final-face-wrap {
  position: relative; display: inline-block;
  animation: pop .6s cubic-bezier(.2,1.8,.4,1) both;
}
.final-face-wrap .face { display: block; }
.final-emoji-badge {
  position: absolute; bottom: -8px; inset-inline-end: -14px;
  font-size: 44px; filter: drop-shadow(0 8px 22px rgba(0,0,0,.6));
  animation: pop .55s .25s cubic-bezier(.2,2,.4,1) both;
}
.final-title { font-family: 'Secular One', sans-serif; font-size: 32px; margin-top: 6px; }
.rank-6 .final-title { color: var(--gold); text-shadow: 0 0 40px rgba(255,209,102,.5); }
.rank-5 .final-title { color: #6ea8ff; }
.rank-0 .final-title { color: var(--red); }
.final-sub { color: #aeb6d0; font-size: 14px; line-height: 1.65; margin: 10px 6px 0; }
.donut { width: 210px; height: auto; display: block; margin: 6px auto; }
.gov-note {
  font-size: 13px; color: #c8cede; line-height: 1.6;
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
  border-radius: 10px; padding: 9px 12px; margin: 8px 0 12px;
}
.run-sum {
  margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line);
  color: var(--mut); font-size: 13px; text-align: center; letter-spacing: 1px;
}

/* ===== אוסף ===== */
.tabs { display: flex; gap: 6px; margin-bottom: 4px; }
.tab {
  flex: 1; padding: 9px 4px; font-family: inherit; font-size: 12px; font-weight: 600;
  background: var(--card); color: var(--mut);
  border: 1px solid var(--line); border-radius: 11px; cursor: pointer;
}
.tab-on { background: var(--ink); color: #0a0f1e; border-color: var(--ink); }

.tt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tt {
  display: flex; align-items: flex-start; gap: 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 11px; font-size: 12px; color: #57608040;
  color: #5a6482; min-height: 46px;
}
.tt-have { border-color: rgba(255, 209, 102, .35); background: rgba(255, 209, 102, .05); color: var(--ink); }
.tt-e { font-size: 20px; }
.tt-name { line-height: 1.3; flex: 1; }
.tt-how { display: block; font-size: 10.5px; line-height: 1.35; color: #7a8399; margin-top: 3px; font-weight: 400; }
.tt .tt-name { display: flex; flex-direction: column; }
.tt-n { color: var(--gold); font-size: 12px; }

.ach-list { display: flex; flex-direction: column; gap: 8px; }
.ach {
  display: flex; align-items: center; gap: 11px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 12px;
}
.ach-done { border-color: rgba(61, 220, 132, .35); background: rgba(61, 220, 132, .05); }
.ach-e { font-size: 24px; }
.ach-body { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ach-name { font-size: 13.5px; font-weight: 600; }
.ach-desc { font-size: 11.5px; color: var(--mut); }
.ach-bar { height: 5px; background: rgba(255,255,255,.06); border-radius: 99px; overflow: hidden; margin-top: 2px; }
.ach-bar i { display: block; height: 100%; background: var(--gold); border-radius: 99px; }
.ach-done .ach-bar i { background: var(--green); }
.ach-count { color: var(--mut); font-size: 13px; }
.ach-done .ach-count { color: var(--green); }

.col-list { display: flex; flex-direction: column; gap: 7px; }
.col-row {
  display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  border-inline-start: 4px solid var(--pc);
  padding: 9px 12px; font-size: 13.5px;
}
.col-best { color: var(--gold); font-size: 12px; text-align: left; margin-inline-start: auto; }
.col-empty .col-best { color: #4a5470; }

/* רצועת המסע במסך הסיום */
.journey {
  display: flex; gap: 5px; align-items: stretch;
  padding: 12px 4px 6px; margin-top: 4px;
}
.j-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.j-val { font-size: 13px; color: #c8cede; }
.j-bar {
  width: 100%; height: 64px; display: flex; align-items: flex-end;
  background: rgba(255,255,255,.04); border-radius: 6px; overflow: hidden;
}
.j-bar i { display: block; width: 100%; border-radius: 6px 6px 0 0; transition: height .6s cubic-bezier(.2,.9,.3,1); }
.j-label { font-size: 9.5px; color: var(--mut); }

.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 50; }

/* ===== המשך קמפיין שמור ===== */
.resume-btn {
  display: flex; align-items: center; gap: 12px; width: 100%;
  margin-top: 20px; padding: 12px 14px; cursor: pointer; text-align: right;
  background: linear-gradient(160deg, rgba(255, 209, 102, .1), var(--card));
  border: 1px solid rgba(255, 209, 102, .4); border-radius: var(--radius);
  color: var(--ink); font-family: inherit;
  animation: rise .5s both;
}
.resume-btn:active { transform: scale(.98); }
.resume-txt { display: flex; flex-direction: column; gap: 2px; }
.resume-txt b { font-size: 14.5px; }
.resume-txt span { font-size: 12px; color: var(--mut); }

/* ===== האתגר היומי ===== */
.daily-card {
  display: flex; align-items: center; gap: 12px; width: 100%;
  margin-top: 12px; padding: 12px 14px; cursor: pointer; text-align: right;
  background: linear-gradient(160deg, rgba(255, 209, 102, .12), rgba(255, 209, 102, .03));
  border: 1px solid rgba(255, 209, 102, .45); border-radius: var(--radius);
  color: var(--ink); font-family: inherit;
  animation: rise .5s both;
  box-shadow: 0 10px 30px -16px rgba(255, 209, 102, .5);
}
.daily-card:active { transform: scale(.98); }
.daily-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.daily-txt > b { font-size: 15px; color: var(--gold); }
.daily-txt > span { font-size: 12px; color: #c8cede; line-height: 1.5; }

.daily-box {
  margin-top: 14px; padding: 13px;
  background: linear-gradient(170deg, var(--card2), var(--card));
  border: 1px solid rgba(255, 209, 102, .35); border-radius: var(--radius);
}
.daily-box-title { font-size: 14px; margin-bottom: 10px; }
.daily-box-title b { color: var(--gold); font-size: 17px; }
.daily-form { display: flex; gap: 8px; margin-bottom: 10px; }
.daily-form input {
  flex: 1; padding: 11px 13px; font-family: inherit; font-size: 14px;
  background: rgba(255,255,255,.05); color: var(--ink);
  border: 1px solid var(--line); border-radius: 11px; outline: none;
}
.daily-form input:focus { border-color: var(--gold); }
.daily-submit {
  padding: 11px 18px; font-family: inherit; font-size: 13.5px; font-weight: 700;
  background: var(--gold); color: #1a1405; border: 0; border-radius: 11px; cursor: pointer;
}
.daily-board { display: flex; flex-direction: column; gap: 4px; }
.db-row {
  display: grid; grid-template-columns: 34px 1fr auto 44px;
  align-items: center; gap: 8px;
  padding: 6px 9px; border-radius: 9px; font-size: 13px;
  background: rgba(255,255,255,.03);
}
.db-me { background: rgba(255, 209, 102, .12); outline: 1px solid rgba(255, 209, 102, .35); }
.db-rank { text-align: center; }
.db-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.db-title { color: var(--mut); font-size: 11px; }
.db-score { color: var(--gold); text-align: left; }
.db-empty, .db-count { color: var(--mut); font-size: 12px; text-align: center; padding: 6px 0 2px; }

/* ===== דירוג קריירה (בבית) ===== */
.career-strip {
  display: flex; align-items: center; gap: 11px; margin-top: 14px; padding: 10px 14px;
  background: linear-gradient(160deg, var(--card2), var(--card));
  border: 1px solid var(--line); border-radius: 14px; animation: rise .5s both;
}
.career-emoji { font-size: 30px; flex-shrink: 0; }
.career-mid { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.career-label { font-size: 10.5px; color: var(--mut); letter-spacing: .3px; }
.career-title { font-size: 14px; color: #dfe4f5; font-weight: 600; }
.career-title b { color: var(--gold); font-weight: 700; }
.career-bar { height: 6px; background: rgba(255,255,255,.06); border-radius: 99px; overflow: hidden; margin-top: 2px; }
.career-bar i { display: block; height: 100%; background: linear-gradient(90deg, #ffb347, var(--gold)); border-radius: 99px; transition: width .6s; }
.career-nextline { font-size: 10.5px; color: var(--mut); }
.career-pts { color: var(--gold); font-size: 18px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; line-height: 1; }
.career-pts-lbl { font-size: 9px; color: var(--mut); font-family: 'Rubik', sans-serif; }

/* ===== מומנטום (מסך פלאש) ===== */
.momentum {
  display: inline-block; margin: 0 auto 14px; padding: 6px 16px;
  background: rgba(255,140,66,.14); border: 1px solid rgba(255,140,66,.5); border-radius: 999px;
  color: #ffb347; font-weight: 700; font-size: 14px;
  animation: pop .4s cubic-bezier(.2,1.8,.4,1) both;
}

/* ===== אלבום הפוליטיקאים ===== */
.sticker-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.sticker {
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 6px;
  min-height: 92px; justify-content: center;
}
.sticker.got { border-color: rgba(255,209,102,.35); background: rgba(255,209,102,.05); }
.sticker:not(.got) { opacity: .55; border-style: dashed; }
.sticker-lock { font-size: 30px; filter: grayscale(1); }
.sticker-name { font-size: 10.5px; line-height: 1.3; color: var(--ink); }
.sticker:not(.got) .sticker-name { color: var(--mut); }

/* ===== תיק שרים ===== */
.s-cabinet, .s-cabinet-done { text-align: center; }
.cab-head { padding: 14px 0 10px; }
.cab-emoji { font-size: 52px; animation: pop .5s cubic-bezier(.2,1.8,.4,1) both; }
.cab-title { font-family: 'Secular One', sans-serif; font-size: 24px; margin-top: 6px; }
.cab-sub { color: #c8cede; font-size: 14.5px; margin-top: 8px; }
.cab-sub b { color: var(--gold); }
.cab-options { display: flex; flex-direction: column; gap: 9px; margin-top: 16px; }
.cab-opt {
  display: flex; align-items: center; gap: 11px; text-align: right;
  background: linear-gradient(160deg, var(--card2), var(--card));
  border: 1px solid var(--line); border-radius: 14px; padding: 10px 13px;
  color: var(--ink); font-family: inherit; font-size: 15px; cursor: pointer;
  transition: transform .12s, border-color .15s;
}
.cab-opt:active { transform: scale(.98); }
@media (hover:hover){ .cab-opt:hover { border-color: var(--pc); } }
.cab-opt > span:nth-child(2) { flex: 1; }
.cab-seats { color: var(--gold); font-size: 16px; }
.cab-progress { color: var(--mut); font-size: 12px; margin-top: 16px; }
.cabinet-cta { background: #1b2a4a; color: #dfe4f5; }

/* ===== חלון ברוכים הבאים ===== */
.welcome-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(4, 7, 15, .78); backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 24px;
  overflow-y: auto; overscroll-behavior: contain;
  animation: fadein .3s both;
}
@keyframes fadein { from { opacity: 0; } }
.welcome-card {
  max-width: 340px; width: 100%; text-align: center;
  background: linear-gradient(170deg, var(--card2), var(--card));
  border: 1px solid rgba(255, 209, 102, .35); border-radius: 20px;
  padding: 26px 22px 20px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8), 0 0 60px -20px rgba(255, 209, 102, .3);
  animation: pop .5s cubic-bezier(.2, 1.6, .4, 1) both;
}
.welcome-emoji { font-size: 52px; filter: drop-shadow(0 8px 24px rgba(255,209,102,.4)); }
.welcome-card h2 { font-family: 'Secular One', sans-serif; font-size: 24px; margin: 10px 0 8px; }
.welcome-card p { font-size: 15px; color: #c8cede; line-height: 1.6; }
.welcome-card p b { color: var(--gold); font-size: 18px; }
.welcome-sub { color: var(--mut) !important; font-size: 13px !important; margin-top: 4px; }

/* מונה גלובלי במסך הסיום */
.global-count {
  margin-top: 12px; font-size: 13px; color: var(--mut);
  opacity: 0; transform: translateY(6px); transition: all .5s;
}
.global-count b { color: var(--gold); font-size: 15px; }
.gc-show { opacity: 1; transform: none; }

@media (min-width: 520px) {
  .party-grid { grid-template-columns: 1fr 1fr 1fr; }
}

/* ===== תקציב קמפיין ===== */
.hud-budget {
  display: inline-flex; align-items: center; gap: 4px; margin-inline-start: 8px;
  font-size: 12px; color: var(--gold);
  background: rgba(255,209,102,.1); border: 1px solid rgba(255,209,102,.3);
  border-radius: 999px; padding: 3px 9px;
}
.hb-icon { font-size: 11px; }
.budget-bar {
  margin: 10px 0 12px; padding: 10px 12px; border-radius: 14px;
  background: linear-gradient(165deg, rgba(255,209,102,.09), rgba(255,255,255,.02));
  border: 1px solid rgba(255,209,102,.28);
}
.bg-head { font-size: 12px; color: #c8cede; margin-bottom: 8px; }
.bg-head b { color: var(--gold); }
.bg-opts { display: flex; gap: 7px; }
.bg-opt {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 4px; border-radius: 11px; cursor: pointer; font-family: inherit;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.13);
  color: #c8cede; font-size: 10.5px; transition: .15s;
}
.bg-opt b { font-size: 15px; color: var(--gold); }
.bg-opt.bg-on { border-color: var(--gold); background: rgba(255,209,102,.16); color: #fff; }
.bg-boost { font-style: normal; font-size: 10px; color: var(--green); font-weight: 700; }
.bg-boost.bg-none { color: var(--mut); font-weight: 400; }
/* מה התקציב שנבחר מוסיף לכל אופציה (וכמה יחויב) - ריק כשלא משקיעים */
.bg-add { display: block; font-size: 11px; color: var(--gold); margin-top: 3px; }
.bg-add:empty { display: none; }
.bg-add.bg-none { color: var(--mut); }

/* ===== בחירת פעולה (2 בסבב) ===== */
.act-grid { display: flex; flex-direction: column; gap: 9px; margin-top: 12px; }
.act-card {
  display: grid; grid-template-columns: 46px 1fr; grid-template-rows: auto auto; gap: 2px 10px;
  align-items: center; text-align: right; padding: 13px 14px; cursor: pointer;
  background: linear-gradient(165deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius);
  color: var(--ink); font-family: inherit; backdrop-filter: blur(10px);
  animation: rise .45s both; transition: .15s;
}
.act-card:active { transform: scale(.98); }
@media (hover:hover) { .act-card:not([disabled]):hover { border-color: var(--gold); } }
.act-em { grid-row: 1 / 3; font-size: 30px; text-align: center; }
.act-t { font-family: 'Heebo', sans-serif; font-weight: 800; font-size: 15px; }
.act-d { font-size: 11.5px; color: var(--mut); line-height: 1.5; }
.act-poach { border-color: rgba(168,85,247,.5); background: linear-gradient(165deg, rgba(168,85,247,.14), rgba(255,255,255,.02)); }
.act-off { opacity: .45; cursor: default; }
/* כרטיס בייס כשהבייס כבר מגויס: אפור ולא לחיץ. filter ולא opacity - אנימציית הכניסה (rise, fill both) דורסת את ה-opacity */
.rec-card.act-off, .ch-card.act-off { filter: grayscale(.85) brightness(.62); cursor: default; }

/* ===== חטיפת ח"כ ===== */
.ev-purple {
  border: 1px solid rgba(168,85,247,.5);
  background: linear-gradient(165deg, rgba(168,85,247,.16), rgba(10,8,20,.5));
}
.ev-purple .ev-tag { background: linear-gradient(135deg, #a855f7, #6d28d9); box-shadow: 0 4px 16px -5px rgba(168,85,247,.9); }
.poach-target {
  display: flex; align-items: center; gap: 11px; margin-top: 12px; padding: 10px 12px;
  background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.12); border-radius: 13px;
}
.poach-target b { display: block; font-size: 14px; }
.pt-sub { font-size: 11.5px; color: var(--mut); }
.ev-op.ev-off { opacity: .45; cursor: default; }

/* ===== מחטף פוליטי אחרי הבחירות ===== */
.def-list { display: flex; flex-direction: column; gap: 8px; margin-top: 13px; }
.def-card {
  display: flex; align-items: center; gap: 11px; text-align: right;
  padding: 10px 12px; border-radius: 13px; cursor: pointer; font-family: inherit;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
  color: var(--ink); animation: rise .4s both; transition: .15s;
}
.def-card:active { transform: scale(.98); }
@media (hover:hover) { .def-card:not([disabled]):hover { border-color: var(--pc); } }
.def-mid { flex: 1; min-width: 0; }
.def-card[disabled], .off-opt[disabled] { opacity: .5; cursor: default; }
.def-card .def-sub + .def-sub { margin-top: 2px; }
.def-nm { display: block; font-weight: 700; font-size: 14px; }
.def-nm b { color: var(--gold); }
.def-sub { display: block; font-size: 11.5px; color: var(--mut); }
.def-odds {
  flex-shrink: 0; font-size: 15px; color: var(--chip);
  background: color-mix(in srgb, var(--chip) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--chip) 40%, transparent);
  border-radius: 999px; padding: 5px 11px;
}

/* ===== משא ומתן קואליציוני ===== */
.ev-gold {
  border: 1px solid rgba(255,209,102,.5);
  background: linear-gradient(165deg, rgba(255,209,102,.13), rgba(12,10,4,.5));
}
.ev-gold .ev-tag { background: linear-gradient(135deg, #ffe9a8, #f5b301); color: #131722; box-shadow: 0 4px 16px -5px rgba(245,179,1,.9); }

/* שורת יצירת קשר בפוטר הבית */
.contact-line { display:inline-block; margin:6px 0 2px; padding:5px 12px; border-radius:999px; background:rgba(255,209,102,.08); border:1px solid rgba(255,209,102,.25); color:#e8ecf5; font-size:12.5px; }
.contact-line .credit-link { color:var(--gold); font-weight:600; }

/* ===== הכתרה במסך הסיום + כרטיס שיתוף ההכתרה ===== */
.crown-cta {
  position: relative; display: block; width: 100%; min-height: 104px; margin-top: 12px; padding: 0;
  overflow: hidden; cursor: pointer; text-align: right; font-family: inherit;
  border: 1px solid rgba(255,209,102,.4); border-radius: var(--radius); background: #0a0e1e; color: var(--ink);
  box-shadow: 0 14px 34px -20px rgba(0,0,0,1); animation: rise .5s both; transition: transform .15s;
}
.crown-cta:active { transform: scale(.98); }
.crown-cta .bab-side { width: 38%; }
.crown-cta .bab-a { clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%); }
.crown-cta .bab-b { clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); }
.crown-cta .bab-scrim { background: radial-gradient(ellipse 50% 100% at 50% 50%, rgba(5,8,18,.92) 0%, rgba(5,8,18,.5) 60%, transparent 80%); }
.crown-mid {
  position: relative; z-index: 2; min-height: 104px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 10px 90px;
}
.crown-mid b { font-family: 'Heebo', sans-serif; font-weight: 900; font-size: 15px; text-shadow: 0 2px 10px #000; }
.crown-mid span { font-size: 11.5px; color: #d5dcf2; text-shadow: 0 1px 8px #000; margin-top: 3px; }
.crown-mid .go { margin-top: 7px; font-size: 12px; background: var(--gold); color: #1a1405; border-radius: 999px; padding: 4px 12px; font-weight: 700; text-shadow: none; }
.crown-share {
  margin-top: 12px; padding: 14px; border-radius: 18px; text-align: right;
  background: linear-gradient(160deg, #141a33, #0a0e1e); border: 1px solid rgba(255,209,102,.55);
  box-shadow: 0 14px 34px -18px rgba(255,209,102,.5);
}
.cs-top { display: flex; align-items: center; gap: 12px; }
.cs-title { font-family: 'Secular One', sans-serif; font-size: 19px; color: var(--gold); line-height: 1.2; }
.cs-sub { font-size: 12px; color: #aeb6d0; }
.cs-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.cs-stats div { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 8px; text-align: center; }
.cs-stats b { display: block; font-size: 20px; color: var(--gold); }
.cs-stats span { font-size: 10.5px; color: #aeb6d0; }
.cs-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 12px; font-size: 11px; color: #8b96a5; }
.cs-foot b { color: #d5dcf2; font-family: 'Heebo', sans-serif; }
.cs-link { font-family: monospace; font-size: 11.5px; color: var(--gold); direction: ltr; }

/* ===== רקע וידאו: אולם הכנסת (בדיוק כמו הדגמת 8.9: החשכה 72%, טשטוש קל אפוי בקובץ, בלי הזוהר הצבעוני) ===== */
.bgv { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: #05070f; }
.bgv img, .bgv video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center;
  filter: saturate(.7); transform: scale(1.04);
}
.bgv video { opacity: 0; transition: opacity 1.2s ease; }
.bgv.on video { opacity: 1; }
/* החשכה כדי שהטקסט והכרטיסים יישארו קריאים - חזק יותר למטה, איפה שהתוכן צפוף */
.bgv::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,7,15,.72) 0%, rgba(5,7,15,.87) 60%, rgba(5,7,15,.97) 100%);
}
/* הזוהר הצבעוני הישן מוסתר כשיש רקע וידאו/פוסטר (הוא נשאר בקוד למקרה שנחזור אליו) */
body::before { display: none; }
@media (prefers-reduced-motion: reduce) { .bgv video { display: none; } }

/* ===== פעולות אחרי סגירת הרשימות: עימות / הסכם עודפים / תשדיר ===== */
.act-debate { border-color: rgba(77,141,255,.55); background: linear-gradient(165deg, rgba(77,141,255,.14), rgba(255,255,255,.02)); }
.act-surplus { border-color: rgba(255,209,102,.5); background: linear-gradient(165deg, rgba(255,209,102,.12), rgba(255,255,255,.02)); }
.act-ad { border-color: rgba(230,57,70,.5); background: linear-gradient(165deg, rgba(230,57,70,.14), rgba(255,255,255,.02)); }
.ev-blue { border-color: rgba(77,141,255,.5); }
.ev-gold { border-color: rgba(255,209,102,.5); }
.debate-vs { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 6px 0 12px; }
.debate-vs .vs { font-family: 'Heebo', sans-serif; font-weight: 900; color: var(--gold); font-size: 15px; }
.debate-q { font-size: 14.5px; color: #d5dcf2; line-height: 1.6; margin: 0 0 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.05); }
.surplus-line { margin: 10px 0; padding: 10px 13px; border-radius: 12px; font-size: 13.5px; background: rgba(255,209,102,.08); border: 1px solid rgba(255,209,102,.3); color: #ffe6a8; }

/* מחלקת עזר שהקוד משתמש בה מהיום הראשון (roll-go, ev-next, dem-next...) - מעולם לא הוגדרה, והכפתורים
   "הממשיכים" נראו לפני שהיה להם מה לעשות. מוגדרת מ-8.9. */
.hidden { display: none !important; }
.inst-never { display: block; margin-top: 2px; font-size: 12px; opacity: .65; }
/* פס התקדמות בקרב המנהיגים + רמז עד שהכתר נפתח */
.duel-bar { position: relative; height: 6px; border-radius: 99px; background: rgba(255,255,255,.1); margin: 10px 22px 4px; }
.duel-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #ffd166, #ffb347); transition: width .4s ease; }
.duel-bar-crown { position: absolute; left: -2px; top: -9px; font-size: 15px; filter: saturate(.6) brightness(.8); }
.duel-hint { text-align: center; font-size: 12.5px; color: #aeb6d0; margin-top: 8px; }
.duel-hint b { color: var(--gold); }
/* טאב "השיאים שלי": שיא מנדטים לכל מפלגה (שמות ייחודיים - .rec-* שייך לכרטיסי הצירוף) */
.pbest-row { display: grid; grid-template-columns: 30px 92px 1fr 34px; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 12px; }
.pbest-row + .pbest-row { margin-top: 4px; }
.pbest-bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.09); overflow: hidden; }
.pbest-bar i { display: block; height: 100%; border-radius: 99px; background: var(--pc); }
.pbest-seats { text-align: left; color: var(--gold); font-size: 14px; }
/* ===== מצב "להנהיג את המפלגה" ===== */
.lead-cta { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 10px; padding: 12px 14px; cursor: pointer; text-align: right;
  background: linear-gradient(160deg, rgba(93,214,255,.14), rgba(255,255,255,.02)); border: 1px solid rgba(93,214,255,.45);
  border-radius: var(--radius); color: var(--ink); font-family: inherit; animation: rise .5s both; }
.lead-cta:active { transform: scale(.98); }
.lead-cta-em { font-size: 26px; }
.lead-cta-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.lead-cta-txt > b { font-size: 15px; color: #7fdcff; }
.lead-cta-txt > span { font-size: 12px; color: #c8cede; }
.lead-hero { padding-top: 14px; }
.lead-badge { display: inline-block; }
.lead-form { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.lead-lbl { font-size: 13px; color: #aeb6d0; margin-top: 8px; }
.lead-form input { padding: 12px 14px; font-family: inherit; font-size: 15px; background: rgba(255,255,255,.05); color: var(--ink);
  border: 1px solid var(--line); border-radius: 12px; outline: none; }
.lead-form input:focus { border-color: var(--gold); }
.lead-parties { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; margin-top: 4px; }
.lead-p { display: flex; align-items: center; gap: 7px; padding: 8px 9px; border-radius: 12px; cursor: pointer; font-family: inherit;
  background: rgba(255,255,255,.04); border: 1px solid var(--line); color: var(--ink); text-align: right; }
.lead-p.lead-on { border-color: var(--pc); background: color-mix(in srgb, var(--pc) 18%, transparent); }
/* בחירת מראה לדמות: אותו כפתור כמו בחירת המפלגה, בלי טקסט */
.lead-looks { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; margin-top: 4px; }
.lead-look { aspect-ratio: 1; padding: 4px; border-radius: 12px; cursor: pointer; background: rgba(255,255,255,.04);
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.lead-look .avatar-svg { width: 100%; height: 100%; max-width: 52px; max-height: 52px; display: block; }
.lead-look.lead-on { border-color: var(--pc, var(--gold)); background: color-mix(in srgb, var(--pc, #ffd166) 18%, transparent);
  box-shadow: 0 0 0 1px var(--pc, var(--gold)); }
.fb-face.fb-face-av { object-position: center 30%; filter: none; }
.lead-pn { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lead-note { font-size: 12px; color: #aeb6d0; line-height: 1.6; margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: rgba(255,209,102,.08); border: 1px solid rgba(255,209,102,.28); }
.lead-note b { color: var(--gold); }
.lead-err { color: #ff8b98; font-size: 13px; min-height: 18px; }
.lead-fair { font-size: 12.5px; color: #aeb6d0; text-align: center; margin: 10px 0 -2px; padding: 8px 12px; border-radius: 12px; background: rgba(255,255,255,.05); }
/* כרטיס בחירה בלי צ'יפ אחוזים (תכונות המנהיג) - השם לא צריך ריווח לצ'יפ */
.rec-card.no-chip .rec-name { padding-inline-end: 0; }
.rec-card.no-chip .rec-row { align-items: center; }

/* שורת מצב באוסף: המנהיג שהכתרת + כניסה יזומה לקרב חדש (מסך הבית כבר לא מציע קרב למי שהכתיר) */
.crown-chip { display: flex; align-items: center; gap: 10px; width: 100%; margin: 4px 0 12px; padding: 9px 12px;
  cursor: pointer; text-align: right; font-family: inherit; color: var(--ink);
  background: linear-gradient(160deg, rgba(255,209,102,.13), rgba(255,255,255,.02));
  border: 1px solid rgba(255,209,102,.4); border-radius: var(--radius); }
.crown-chip:active { transform: scale(.98); }
.crown-chip .cc-txt { flex: 1; min-width: 0; font-size: 13px; color: #c8cede; }
.crown-chip .cc-txt b { color: #ffd166; }
.crown-chip .cc-go { font-size: 12px; color: #ffd166; white-space: nowrap; }

/* שורת המנדט של הנשיא במסך ההמלצות */
.rec-mandate { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; color: #ffd166; }
.ev-sub2 { margin: -4px 0 8px; font-size: 13px; color: var(--mut, #9aa3b5); }

/* ספירת המעטפות הכפולות */
.env-list { margin: 10px 0 6px; display: flex; flex-direction: column; gap: 2px; }

/* אחוזי הצבעה לפי מגזר, במסך המדגם */
.turnout-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 8px 0 4px; font-size: 12px; }
.turnout-row .to-head { color: #e8ecf5; font-weight: 700; }
.to-chip { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 3px 9px; color: #c8cede; }
.to-chip.to-mine { border-color: rgba(255,209,102,.6); color: #ffd166; }
.to-chip i { font-style: normal; }
.to-chip i.up { color: #3ddc84; }
.to-chip i.dn { color: #ff5d73; }

/* הרכבת הממשלה: דרישות השותפות ויציבות הממשלה */
.cab-want { font-size: 12px; color: #ffd166; margin-top: 4px; }
.cab-nm { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; text-align: right; }
.cab-why { font-size: 11px; color: #9aa3b5; font-weight: 400; }
.cab-stab { margin: 14px 0 4px; padding: 12px 14px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid var(--sc); }
.cab-stab-top { font-size: 15px; color: var(--sc); }
.cab-stab-sub { font-size: 12px; color: #c8cede; margin-top: 6px; line-height: 1.5; }
.cab-bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; margin-top: 8px; }
.cab-bar i { display: block; height: 100%; background: var(--sc); border-radius: 999px; }
.final-stab { margin: 10px 0; }

/* שורת המתודולוגיה בסקר, כמו בסקר אמיתי */
.poll-meta { font-size: 11px; color: #8b93a5; margin: -2px 0 8px; line-height: 1.5; }

/* התוצאה הסופית אחרי המעטפות הכפולות */
.env-final { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 6px; padding: 12px 14px;
  border-radius: var(--radius); background: rgba(255,209,102,.1); border: 1px solid rgba(255,209,102,.4); flex-wrap: wrap; }
.env-final-lbl { font-size: 13px; color: #c8cede; }
.env-final-num { font-size: 34px; font-weight: 800; color: #ffd166; line-height: 1; }
.env-final-unit { font-size: 13px; color: #9aa3b5; }

/* הרכב הממשלה במסך הסיום, גלוי לכל שחקן */
.gov-list { margin: 10px 0 4px; padding: 10px 12px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.gov-list-head { font-size: 12.5px; color: #ffd166; font-weight: 700; margin-bottom: 6px; }
.gov-role { display: block; font-size: 10.5px; color: #8b93a5; font-weight: 400; white-space: normal; }
.gov-out { opacity: .75; }

/* ===== חלון התמיכה =====
   מעוצב כמו החלון המקביל בסימולטור נהוראי: גיליון שעולה מלמטה בתוך מסגרת זהב,
   הברקה שעוברת פעם אחת, ובפנים פתק אישי - "מהיוצר", עיגול עם טבעת, כותרת במילוי
   גרדיאנט, קו מופרד בכוכב, וחתימה בסוף. ההבדל מהגרסה הקודמת הוא שזה כבר לא נראה
   כמו עוד חלון במשחק אלא כמו מכתב. */
.sup-overlay { align-items: flex-end; padding: 0; }
.sup-frame {
  position: relative; width: 100%; max-width: 420px; margin: 0 auto;
  padding: 2px 2px 0; border-radius: 24px 24px 0 0; overflow: hidden;
  background: linear-gradient(168deg, #fff0be, #ffd166 24%, #8a6100 62%, #ffd95e 92%);
  box-shadow: 0 -28px 70px -18px rgba(0,0,0,.95), 0 0 80px -24px rgba(255,209,102,.5);
  animation: supUp .4s cubic-bezier(.2,.9,.3,1) both;
}
@keyframes supUp { from { transform: translateY(26px); opacity: 0 } }
/* הברקה: עוברת פעם אחת בכניסה ומסמנת שזה משהו אחר */
.sup-sheen {
  position: absolute; inset: 0; z-index: 4; pointer-events: none; border-radius: inherit;
  background: linear-gradient(104deg, transparent 38%, rgba(255,255,255,.34) 50%, transparent 62%);
  transform: translateX(-130%); animation: supSweep 1.15s .45s ease-out both;
}
@keyframes supSweep { to { transform: translateX(130%) } }
.sup-in {
  text-align: center; padding: 12px 18px calc(18px + env(safe-area-inset-bottom));
  max-height: 92dvh; overflow-y: auto; scrollbar-width: none;
  border-radius: 22px 22px 0 0;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(255,209,102,.13), transparent 62%),
    linear-gradient(180deg, #16203a, #070b16 78%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
}
.sup-in::-webkit-scrollbar { display: none }
.sup-grab {
  display: block; width: 38px; height: 4px; border-radius: 99px;
  background: rgba(255,255,255,.22); margin: 0 auto 11px;
}
/* "מהיוצר" עם שני קווים - מכריז על הרגיסטר לפני שקוראים מילה */
.sup-eyebrow { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 10px; }
.sup-eyebrow span {
  font-size: 10.5px; font-weight: 700; letter-spacing: .34em; color: var(--gold);
  opacity: .9; padding-inline-start: .34em;
}
.sup-eyebrow::before, .sup-eyebrow::after {
  content: ''; width: 34px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,209,102,.55));
}
.sup-eyebrow::after { background: linear-gradient(270deg, transparent, rgba(255,209,102,.55)); }
.sup-face {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  margin: 0 auto 10px; background: #101828; color: var(--gold);
  border: 2px solid rgba(255,214,120,.85); box-shadow: 0 0 34px -6px rgba(255,209,102,.6);
}
.sup-head {
  font-family: 'Secular One', sans-serif; font-weight: 400; font-size: 27px;
  line-height: 1.1; margin: 0; text-wrap: balance;
  background: linear-gradient(172deg, #fff3ce, var(--gold) 52%, #d89b00);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sup-you { font-size: 13.5px; font-weight: 700; color: #c8cede; margin: 7px 0 0; }
.sup-you b { color: var(--gold); font-variant-numeric: tabular-nums; }
/* קו מופרד בכוכב, לא קו שטוח */
.sup-rule {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  margin: 12px auto; max-width: 250px; color: var(--gold);
}
.sup-rule i { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,209,102,.5), transparent); }
.sup-rule svg { flex: none; opacity: .85; }
.sup-body {
  font-size: 13.5px; line-height: 1.52; color: #cfd4e4; font-weight: 600;
  margin: 0 auto 15px; max-width: 33ch;
}
.sup-body b { color: #fff; font-weight: 700; }
.sup-amts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.sup-amt {
  position: relative; display: grid; place-items: center; min-height: 52px;
  font: inherit; font-weight: 700; font-size: 17px; color: #c8cede; cursor: pointer;
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.12); border-radius: 14px;
  transition: background .16s, border-color .16s, color .16s, transform .12s;
}
.sup-amt:active { transform: scale(.97); }
@media (hover:hover) { .sup-amt:hover { border-color: rgba(255,209,102,.45); color: var(--ink); } }
.sup-amt.on {
  color: #241a04; border-color: transparent;
  background: linear-gradient(176deg, #ffe9a3, var(--gold) 55%, #e2a400);
  box-shadow: 0 8px 22px -10px rgba(255,209,102,.75);
}
.sup-tag {
  position: absolute; top: -9px; inset-inline-start: 50%; transform: translateX(50%);
  font-size: 10px; font-weight: 700; color: var(--gold); background: #131b2e;
  border: 1px solid rgba(255,209,102,.5); border-radius: 999px; padding: 2px 9px; white-space: nowrap;
}
.sup-go { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 0; text-decoration: none; }
.sup-go svg { flex: none; }
.amt { font-style: normal; direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
.sup-hint { font-size: 11.5px; color: var(--mut); margin: 9px 0 0; line-height: 1.5; }
.sup-qr {
  display: flex; align-items: center; gap: 14px; text-align: start;
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,209,102,.22);
  border-radius: 14px; padding: 12px; margin-bottom: 6px;
}
.sup-qr img { border-radius: 8px; flex: none; background: #fff; padding: 5px; }
.sup-qr span { font-size: 13px; font-weight: 700; color: #c8cede; line-height: 1.5; }
.sup-qr em { font-style: normal; font-size: 11.5px; color: var(--mut); font-weight: 600; }
/* החתימה: מה שהופך את זה מבקשה לפתק */
.sup-sig { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin: 14px 0 0; }
.sup-sig b { font-family: 'Secular One', sans-serif; font-weight: 400; font-size: 19px; color: #ffe1a0; }
.sup-sig span { font-size: 11px; font-weight: 600; color: var(--mut); letter-spacing: .08em; }
.sup-sig::after { content: ''; }
.sup-sig span { position: relative; padding-inline-start: 11px; }
.sup-sig span::before {
  content: ''; position: absolute; inset-inline-start: 0; top: 50%;
  width: 3px; height: 3px; border-radius: 50%; background: #4a5470; transform: translateY(-50%);
}
/* יציאות שקטות, זו לצד זו, שלא מתחרות בפעולה */
.sup-exit { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 9px; }
.sup-link {
  font: inherit; font-size: 13.5px; font-weight: 700; color: #c8cede;
  background: none; border: 0; padding: 8px 6px; cursor: pointer; min-height: 44px;
}
.sup-link.quiet { color: var(--mut); font-weight: 600; }
@media (hover:hover) { .sup-link:hover { color: var(--ink); } }
.sup-dot { color: #4a5470; }
.sup-sign { font-size: 11.5px; color: var(--mut); margin: 6px 0 0; line-height: 1.5; }
@media (prefers-reduced-motion: reduce) {
  .sup-frame, .sup-sheen { animation: none; }
  .sup-sheen { display: none; }
}

/* רצועת תמיכה קבועה בראש מסך הבית */
/* רצועת התמיכה: זהב מלא, לא רמז של זהב. זו הכניסה היחידה שזמינה תמיד לכל שחקן,
   ולכן היא אמורה להיות הדבר הכי בולט במסך הבית אחרי הכותרת. */
.sup-strip {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 11px; width: 100%; margin-top: 10px; padding: 12px 14px;
  cursor: pointer; text-align: right; font-family: inherit; color: #2a1d02;
  background: linear-gradient(176deg, #fff0bd, #ffd166 52%, #e0a217);
  border: 1px solid #ffe9a8; border-radius: var(--radius);
  box-shadow: 0 10px 30px -12px rgba(255,209,102,.75), 0 0 0 1px rgba(255,209,102,.25),
              inset 0 1px 0 rgba(255,255,255,.55);
  animation: rise .5s both, supPulse 3.4s 1.2s ease-in-out infinite;
}
/* הברקה שעוברת על הזהב ומושכת את העין */
.sup-strip::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 42%; pointer-events: none;
  background: linear-gradient(104deg, transparent, rgba(255,255,255,.7), transparent);
  transform: translateX(-180%); animation: supStripSheen 4.2s 1.6s ease-in-out infinite;
}
@keyframes supStripSheen { 0% { transform: translateX(-180%) } 45%, 100% { transform: translateX(300%) } }
@keyframes supPulse {
  0%, 100% { box-shadow: 0 10px 30px -12px rgba(255,209,102,.75), 0 0 0 1px rgba(255,209,102,.25), inset 0 1px 0 rgba(255,255,255,.55); }
  50% { box-shadow: 0 12px 38px -10px rgba(255,209,102,1), 0 0 0 1px rgba(255,209,102,.5), inset 0 1px 0 rgba(255,255,255,.55); }
}
.sup-strip:active { transform: scale(.98); }
.sup-strip-txt { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.sup-strip-em { color: #3a2906; }
.sup-strip-go {
  flex: none; font-size: 12.5px; font-weight: 800; color: #2a1d02;
  background: rgba(255,255,255,.5); border: 1px solid rgba(90,64,6,.22);
  border-radius: 999px; padding: 5px 11px; white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  .sup-strip { animation: rise .5s both; }
  .sup-strip::after { display: none; }
}
.sup-strip-txt > b { font-size: 14.5px; font-weight: 800; color: #2a1d02; }
.sup-strip-txt > span { font-size: 12px; color: rgba(42,29,2,.78); font-weight: 600; }

/* בורר הסכום בחלון התמיכה: בחירה מסומנת מראש, ופעולה אחת בלבד */
.amt { font-style: normal; direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
.sup-you b { color: #ffd166 !important; font-size: inherit !important; }


/* ===== היררכיית כרטיסים =====
   עד עכשיו כרטיס החלטה וכרטיס מידע נראו זהים, ולכן העין לא ידעה מה דורש ממנה תשובה.
   כרטיס שאפשר ללחוץ עליו מקבל משקל: מסגרת חמה יותר, צל, וסמל בתוך ריבוע מודגש.
   כרטיס מידע נשאר שטוח לגמרי. */
.act-card, .rec-card, .ch-card, .ev-op, .def-card {
  box-shadow: 0 12px 26px -20px rgba(0,0,0,1);
}
.act-card { grid-template-columns: 50px 1fr; }
.act-em {
  grid-row: 1 / 3; width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center; color: var(--gold); font-size: 30px;
  background: rgba(255,209,102,.1); border: 1px solid rgba(255,209,102,.26);
  transition: background .15s, border-color .15s;
}
@media (hover:hover) {
  .act-card:not([disabled]):hover .act-em { background: rgba(255,209,102,.2); border-color: rgba(255,209,102,.5); }
}
.act-debate .act-em, .act-poach .act-em { color: #7aa4ff; background: rgba(77,141,255,.12); border-color: rgba(77,141,255,.3); }
.act-off .act-em { color: var(--mut); background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); }

/* לחיצה שמרגישה: כל דבר לחיץ נדחס קלות ומשחרר */
.act-card:active, .rec-card:active, .ch-card:active, .ev-op:active,
.cta:active, .def-card:active, .ans:active, .bg-opt:active, .party-grid button:active {
  transform: scale(.975);
}
.cta, .ans, .bg-opt { transition: transform .12s, background .15s, border-color .15s; }

/* שלד טעינה: בזמן שהנתונים בדרך מופיע מקום בצורת התוכן, ולא מסך ריק שקופץ */
.skel {
  border-radius: var(--radius); background: linear-gradient(90deg, #131c33 0%, #1b2643 50%, #131c33 100%);
  background-size: 300% 100%; animation: skel 1.4s ease-in-out infinite;
}
@keyframes skel { to { background-position: -150% 0; } }
@media (prefers-reduced-motion: reduce) {
  .skel { animation: none; }
  .hud-delta, .spine .sg.now::after { animation: none; }
}


/* אייקונים בשורות הניווט של מסך הבית: אותו גודל, אותו מרכוז, צבע לפי ההקשר */
.sup-strip-em, .lead-cta-em, .hg-em, .chal-emoji, .career-emoji {
  display: grid; place-items: center; flex-shrink: 0;
}
.sup-strip-em .ico, .lead-cta-em .ico, .hg-em .ico, .chal-emoji .ico { vertical-align: 0; }
.hg-em { color: var(--gold); }
.lead-cta-em { color: var(--gold); }
.chal-emoji { color: var(--red); }
/* אייקון קטן שרץ בתוך שורת טקסט */
.daily-txt b .ico, .resume-txt b .ico, .career-label .ico, .col-bt .ico, .poll-fresh .ico { color: var(--gold); }


/* ===== ליל הבחירות =====
   מסך הסיום כגרפיקת שידור: המנהיג שרצת איתו ממלא את הפריים, המספר הסופי ענק,
   ומתחת רצועה תחתונה כמו באולפן. זו התמונה שמצלמים ושולחים. */
.final-bc {
  border-radius: 22px; overflow: hidden; margin: 4px 0 14px;
  background: var(--card); border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 26px 60px -34px #000;
  animation: rise .55s cubic-bezier(.2,.9,.3,1) both;
}
.fb-photo {
  position: relative; aspect-ratio: 320 / 232; overflow: hidden; background: #0a1020;
  display: flex; align-items: flex-start; justify-content: center;
}
/* רקע: אותה תמונה, מוגדלת ומטושטשת. טשטוש לא דורש חדות, ולכן ההגדלה כאן לא נראית.
   הנתיב נקבע ב-style ישיר על האלמנט, כי נתיב יחסי בתוך קובץ CSS נפתר ביחס לקובץ עצמו. */
.fb-bg {
  position: absolute; inset: -12%;
  background-size: cover; background-position: center 18%;
  filter: blur(24px) saturate(1.35) brightness(.5);
  transform: scale(1.05);
}
/* חזית: קרוב לגודל האמיתי של הקובץ, ולכן חדה */
.fb-face {
  position: relative; z-index: 1; display: block;
  width: 150px; height: 200px; margin-top: 14px;
  object-fit: cover; object-position: center 12%;
  border-radius: 12px;
  filter: saturate(1.06) contrast(1.08);
  box-shadow: 0 20px 46px -16px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.14);
}
.fb-scrim {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: linear-gradient(180deg,
    rgba(5,7,15,.55) 0%, rgba(5,7,15,.05) 26%, rgba(5,7,15,0) 45%,
    color-mix(in srgb, var(--pc) 88%, transparent) 78%, #0d1424 100%);
}
.fb-live {
  position: absolute; top: 11px; inset-inline-end: 11px;
  display: flex; align-items: center; gap: 6px;
  font-size: 10.5px; font-weight: 600; color: #fff;
  background: rgba(8,12,24,.72); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 4px 10px;
}
/* במצב "להנהיג את המפלגה": מי בעצם רץ כאן */
.fb-you {
  position: absolute; top: 11px; inset-inline-start: 11px;
  display: flex; align-items: center; gap: 7px;
  background: rgba(8,12,24,.72); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 4px 11px 4px 4px;
}
.fb-you .face { flex: none; }
.fb-you-tx { display: flex; flex-direction: column; line-height: 1.25; }
.fb-you-tx b { font-size: 11.5px; }
.fb-you-tx i { font-style: normal; font-size: 9px; color: #cfd6ea; }
.fb-num {
  position: absolute; inset-inline: 0; bottom: 8px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.fb-num b {
  font-family: 'Heebo', sans-serif; font-weight: 900; font-size: 74px; line-height: .88;
  letter-spacing: -.045em; color: #fff;
  text-shadow: 0 6px 26px rgba(0,0,0,.6);
}
.fb-num i { font-style: normal; font-size: 12.5px; color: rgba(255,255,255,.88); margin-top: 3px; font-weight: 600; }
.fb-l3 { padding: 14px 15px 16px; background: linear-gradient(180deg, #0d1424, var(--card)); }
.fb-tag {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .09em;
  padding: 3px 9px; border-radius: 4px; margin-bottom: 9px;
  background: rgba(255,255,255,.1); color: #cfd6ea;
}
.fb-tag-6 { background: linear-gradient(135deg, #ffe9a8, #f5b301); color: #16181f; }
.fb-tag-5 { background: linear-gradient(135deg, #ffd166, #e0a02e); color: #16181f; }
.fb-tag-0 { background: linear-gradient(135deg, #ef2b4b, #b3122c); color: #fff; }
.final-bc .final-title {
  display: flex; align-items: center; gap: 9px; margin-top: 0;
  font-size: 27px; line-height: 1.15; text-wrap: balance;
}
.final-bc .final-title .ft-ico {
  flex: none; width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center; color: var(--gold);
  background: rgba(255,209,102,.12); border: 1px solid rgba(255,209,102,.3);
}
.final-bc .final-sub { margin: 9px 0 0; text-align: start; }
.final-bc .final-take { margin: 11px 0 0; }
.final-bc .global-count { margin: 9px 0 0; text-align: start; }

/* ===== גרף הקמפיין ===== */
.cg { margin: 14px 0 10px; }
.cg-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  margin-bottom: 6px; font-size: 13px;
}
.cg-head > b { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); }
.cg-head > b .ico { color: var(--gold); }
.cg-head i { font-style: normal; font-size: 12px; color: var(--mut); }
.cg-head i .num { color: var(--gold); font-size: 15px; }
.cg-arrow { color: var(--mut); padding: 0 2px; }
.cg-svg { width: 100%; height: auto; display: block; overflow: visible; }
.cg-pt { fill: var(--bg); stroke: rgba(255,255,255,.45); stroke-width: 1.6; }
.cg-mark { stroke: var(--bg); stroke-width: 2.4; }
.cg-up { fill: var(--green); }
.cg-down { fill: var(--red); }
.cg-final { fill: var(--gold); stroke: var(--bg); stroke-width: 2.6; }
.cg-fv { fill: var(--gold); font-family: 'Heebo', sans-serif; font-weight: 800; font-size: 12px; }
.cg-lb { fill: var(--mut); font-family: 'Rubik', sans-serif; font-size: 9px; }
.cg-lb-end { fill: var(--gold); }
.cg-note {
  display: flex; gap: 9px; align-items: flex-start; margin-top: 7px;
  background: var(--card2); border: 1px solid var(--line); border-radius: 12px; padding: 9px 11px;
}
.cg-note .cg-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; margin-top: 5px; }
.cg-note-up .cg-dot { background: var(--green); box-shadow: 0 0 0 3px rgba(61,220,132,.16); }
.cg-note-down .cg-dot { background: var(--red); box-shadow: 0 0 0 3px rgba(255,77,94,.16); }
.cg-note b { display: block; font-size: 12.5px; font-weight: 600; }
.cg-note i { font-style: normal; display: block; font-size: 11px; color: var(--mut); margin-top: 1px; }
.cg-note-up i .num { color: var(--green); }
.cg-note-down i .num { color: var(--red); }

/* ===== איורי הרגעים הגדולים =====
   רצועה רחבה בראש מסך, חתוכה מלמטה כך שהקרקע נוגעת בתוכן. וקטור, לא תמונה. */
.scene {
  position: relative; width: 100%; aspect-ratio: 320 / 120; overflow: hidden;
  border-radius: 14px; margin: 2px 0 12px;
  background: linear-gradient(180deg, #0b1424, #0d1526);
  border: 1px solid rgba(255,255,255,.07);
  animation: rise .5s cubic-bezier(.2,.9,.3,1) both;
}
.scene svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.scene::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(7,11,22,.35), transparent 38%, rgba(7,11,22,.5));
}
/* בתוך כרטיס: בלי מסגרת כפולה */
.scene-in { margin: 10px 0 4px; border: 0; background: rgba(0,0,0,.2); }
/* רצועה נמוכה בין שני כרטיסים */
.scene-band { aspect-ratio: 320 / 100; margin: 0 0 12px; }


/* גרעין עדין על תמונת השידור: מסווה את הריכוך של תמונת מקור קטנה */
.fb-photo::after {
  content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  opacity: .16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}
.fb-num { z-index: 4; }
.fb-live, .fb-you { z-index: 4; }

/* ויניאט על הרקע המטושטש, כדי שהדיוקן החד ימשוך את העין */
.fb-photo .fb-bg::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 34%, transparent 24%, rgba(5,8,16,.62) 78%);
}

/* שלד טעינה לטבלה היומית: מקום בצורת התוכן, במקום קפיצה ממסך ריק */
.skel-row { height: 30px; margin-bottom: 6px; border-radius: 9px; }


/* ===== פתיחה שמכירה את השחקן ===== */
.wc-back { text-align: center; }
.wc-top {
  display: flex; align-items: center; gap: 12px; text-align: right;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 15px; padding: 10px 12px; margin-bottom: 14px;
}
.wc-top .face { flex: none; }
.wc-last { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.wc-lbl { font-size: 10.5px; color: var(--mut); letter-spacing: .04em; }
.wc-last b { font-size: 15px; font-weight: 600; }
.wc-last b .num { color: var(--gold); font-size: 18px; }
.wc-title { font-size: 12px; color: #aeb6d0; }
.wc-moves { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 10px 0 2px; }
.wc-move, .pm-list .wc-move {
  font-size: 12px; font-weight: 600; border-radius: 999px; padding: 3px 10px;
  border: 1px solid; white-space: nowrap;
}
.wc-move.up { color: var(--green); background: rgba(61,220,132,.1); border-color: rgba(61,220,132,.32); }
.wc-move.down { color: var(--red); background: rgba(255,77,94,.1); border-color: rgba(255,77,94,.32); }
.wc-move .num { font-size: 13px; }

/* רצועת תנועת הסקרים במסך הבית */
.poll-moves {
  display: flex; flex-direction: column; gap: 7px; margin: 12px 0 8px;
  padding: 11px 13px; border-radius: 15px;
  background: linear-gradient(165deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.1);
}
.pm-lbl { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--mut); }
.pm-lbl .ico { color: var(--gold); }
.pm-list { display: flex; flex-wrap: wrap; gap: 6px; }

/* הגוש שעבר את 61 מסומן, כדי שהקו יהיה לו מול מה להשוות */
.bloc-win { outline: 1.5px solid rgba(255,209,102,.55); box-shadow: 0 0 20px -6px rgba(255,209,102,.7); }
.bloc-win span { color: var(--gold) !important; font-weight: 700; }

/* הכרזה על תמיכה מבחוץ, במסך ההמלצה */
.rec-out {
  display: block; text-align: right; cursor: pointer; margin: 10px 0 2px;
  padding: 11px 13px; border-radius: 13px; font-size: 13.5px; font-weight: 600;
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.12);
  transition: border-color .15s, background .15s;
}
.rec-out:has(input:checked) { border-color: rgba(255,209,102,.55); background: rgba(255,209,102,.08); }
.rec-out input { accent-color: #ffd166; margin-inline-end: 7px; vertical-align: -1px; }
.rec-out span { display: block; font-size: 11.5px; font-weight: 500; color: var(--mut); margin-top: 3px; padding-inline-start: 22px; }

/* כשכל המועמדים חסומים בקווים אדומים - אומרים את זה במקום להשאיר מסך שנראה תקוע */
.rec-none {
  font-size: 13px; color: #ffb347; margin: 8px 0 2px; padding: 10px 12px;
  background: rgba(255,179,71,.08); border: 1px solid rgba(255,179,71,.3); border-radius: 12px;
}

/* "מי לא הצטרף ולמה" - הסיבות כבר חושבו במנוע, עכשיו הן גלויות */
.gov-why-head {
  font-size: 11.5px; color: var(--mut); font-weight: 600; letter-spacing: .04em;
  margin: 12px 0 4px; padding-top: 10px; border-top: 1px dashed var(--line);
}
.gov-no { opacity: .72; }
.gov-no .gov-role { color: #ffb347; }

/* שולחן הממשלה: התיק בצד השורה, ותיק שעוד לא חולק */
.cab-port {
  font-family: 'Heebo', sans-serif; font-weight: 800; font-size: 12.5px; color: var(--gold);
  white-space: nowrap; background: rgba(255,209,102,.1);
  border: 1px solid rgba(255,209,102,.3); border-radius: 999px; padding: 4px 11px;
}
.cab-empty { border-style: dashed; opacity: .75; }
.cab-q {
  width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-family: 'Heebo', sans-serif; font-weight: 900; font-size: 19px; color: var(--mut);
  background: rgba(255,255,255,.05); border: 1px dashed rgba(255,255,255,.22);
}
.cab-why.hot { color: var(--gold); }
.cab-why.cold { color: #ff8f7a; }
.cab-stab-sub.cab-pain { color: #ff8f7a; }
/* בשולחן הממשלה פס המבזקים לא מסתיר שורות: כאן כל שורה היא החלטה */
body:has(.s-cabinet) #ticker, body:has(.s-cabinet-done) #ticker { display: none; }
.cta.cab-off { opacity: .45; }
.cab-opt.cab-off { opacity: .45; cursor: default; }

/* ===== שולחן המשא ומתן ===== */
.ng-clock {
  display: inline-flex; align-items: baseline; gap: 6px; font-size: 12px; color: #c8cede;
  background: rgba(255,255,255,.06); border: 1px solid var(--line);
  border-radius: 99px; padding: 5px 12px; margin-bottom: 4px;
}
.ng-clock b { font-size: 19px; color: #fff; }
.ng-clock.hot { background: rgba(255,93,115,.12); border-color: rgba(255,93,115,.4); color: #ff8fa0; }
.ng-clock.hot b { color: #ff5d73; }

.ng-meter { margin: 10px 0 4px; }
.ng-top { display: flex; align-items: baseline; gap: 8px; font-size: 13px; color: #c8cede; }
.ng-top b { font-size: 30px; color: #fff; line-height: 1; }
.ng-top .ng-out { color: #3ddc84; font-weight: 700; }
.ng-top .ng-goal { margin-inline-start: auto; font-size: 12px; color: #93a0c0; }
.ng-track {
  position: relative; height: 12px; border-radius: 99px; background: rgba(255,255,255,.07);
  border: 1px solid var(--line); overflow: hidden; margin-top: 7px;
}
.ng-track i {
  position: absolute; inset-block: 0; inset-inline-start: 0; border-radius: 99px;
  background: linear-gradient(90deg, #2456c8, #5a8dee);
  transition: width .45s cubic-bezier(.2,.9,.3,1);
}
.ng-track.win i { background: linear-gradient(90deg, #f5b301, #ffe9a8); }
.ng-61 { position: absolute; top: -4px; bottom: -4px; inset-inline-start: calc(61 / 120 * 100%); width: 2px; background: var(--gold); opacity: .85; }
.ng-61::after { content: '61'; position: absolute; top: -15px; inset-inline-start: -7px; font-size: 9.5px; font-weight: 800; color: var(--gold); }

.ng-row.ng-in {
  border-color: color-mix(in srgb, var(--pc) 55%, transparent);
  background: linear-gradient(90deg, color-mix(in srgb, var(--pc) 13%, transparent), rgba(255,255,255,.03));
}
.ng-row.ng-no { opacity: .62; }
.ng-act {
  flex: none; font-size: 11.5px; font-weight: 700; padding: 5px 11px; border-radius: 99px;
  border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.07); color: #dfe4f5;
}
.ng-row.ng-in .ng-act { background: rgba(61,220,132,.14); border-color: rgba(61,220,132,.4); color: #3ddc84; }
.ng-row.ng-no .ng-act, .ng-row.ng-cost .ng-act { background: rgba(255,93,115,.12); border-color: rgba(255,93,115,.38); color: #ff8fa0; }

.ng-price { display: block; font-size: 11px; color: var(--gold); margin-top: 3px; font-weight: 600; line-height: 1.45; }
.ng-block { display: block; font-size: 11px; color: #ff8fa0; margin-top: 3px; line-height: 1.45; }

.ng-deal { margin-top: 12px; border-top: 1px dashed var(--line); padding-top: 11px; }
.ng-deal-h { font-size: 12px; color: #93a0c0; margin-bottom: 7px; }
.ng-chip {
  display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600;
  background: rgba(255,209,102,.1); border: 1px solid rgba(255,209,102,.28); color: var(--gold);
  border-radius: 99px; padding: 4px 10px; margin: 0 0 6px 6px;
}
.ng-chip.bad { background: rgba(255,93,115,.12); border-color: rgba(255,93,115,.4); color: #ff8fa0; }
.ng-none { font-size: 12px; color: #6f7b99; }

/* תיק שהובטח במשא ומתן - נעול בשולחן הממשלה */
.cab-opt.cab-locked { opacity: .9; cursor: default; }
.cab-lock { font-size: 10px; color: var(--gold); font-weight: 700; }

/* ===== ההצעה שעל השולחן ===== */
.off-card {
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  border-radius: 13px; padding: 11px 13px; margin: 12px 0 4px;
}
.off-h { font-size: 11.5px; color: var(--gold); font-weight: 700; display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.off-line { display: flex; align-items: baseline; gap: 10px; font-size: 13px; padding: 5px 0; border-top: 1px dashed rgba(255,255,255,.08); }
.off-line:first-of-type { border-top: 0; }
.off-line span { flex: none; color: #93a0c0; font-size: 11.5px; min-width: 92px; }
.off-line b { color: #f2f5ff; line-height: 1.45; }
.off-opt .off-ico {
  flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  color: var(--pc); background: color-mix(in srgb, var(--pc) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--pc) 38%, transparent);
}
.off-warn {
  font-size: 12px; line-height: 1.55; color: #ff8fa0; margin: 10px 0 0;
  background: rgba(255,93,115,.09); border: 1px solid rgba(255,93,115,.3);
  border-radius: 10px; padding: 8px 11px;
}


/* מסך ההצעות הקואליציוניות: פס המבזקים לא מסתיר את הנימוקים שליד כל דרישה */
body:has(.s-offer) #ticker { display: none; }
/* המקום שלך בממשלה: השורה שלך מודגשת, והסיבה נשברת לשורות במקום להיחתך */
.gov-me .pname, .gov-no .pname { white-space: normal; }
.gov-me { opacity: 1; }
.gov-unity { font-size: 12px; color: var(--mut); margin: 2px 8px 2px; line-height: 1.5; }
/* ===== דף הבית: כותרת קומפקטית כדי שהפתקים ייראו כבר במסך הראשון ===== */
.s-home .hero { padding: 12px 0 2px; }
.s-home .home-brand { display: flex; align-items: center; justify-content: center; gap: 10px; }
.s-home .logo-mark { font-size: 32px; }
.s-home .logo { font-size: 46px; margin-top: 0; }
.s-home .tagline { margin-top: 8px; }
.s-home .tagline b { color: var(--gold); }
.s-home .intro { margin-top: 8px; font-size: 14px; line-height: 1.5; }
.s-home .pick-title { scroll-margin-top: 64px; }
.s-home .intro-go { border: 0; font-family: inherit; cursor: pointer; padding: 5px 12px; font-size: 12.5px; vertical-align: 1px; margin-inline-end: 4px; }
.daily-card .daily-txt { flex: 1; }
.daily-card .hg-go { color: #6b4a00; }
.daily-meta { font-size: 11px; color: var(--mut); }
.daily-meta:empty { display: none; }
/* קרב המנהיגים: המתמודד חופף את שולי המלך, אז שם המלך מתרחק מהחפיפה ולא נחתך */
.fight-king .fight-plate { padding-inline-end: 16%; }
.fight-chal .fight-plate { padding-inline-start: 6%; }
.fight-nm { font-size: clamp(16px, 5vw, 20px); overflow-wrap: anywhere; }
#btn-hall-daily { margin-top: 14px; }

/* ===== דף הבית: שורת אוסף · היכל · קרב (מתחת ליומי ולמנהיג) =====
   אותם חומרים של הכפתורים הגדולים שהיו בתחתית: זכוכית של האוסף, זהב של ההיכל, זירת הפנים של הקרב */
.meta-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.meta-tile {
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  gap: 2px; min-height: 92px; padding: 8px 4px 9px; cursor: pointer; text-align: center;
  border-radius: 14px; color: var(--ink); font-family: inherit; animation: rise .5s both;
  transition: transform .15s;
}
.meta-tile:active { transform: scale(.97); }
.mt-vis { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; height: 30px; margin-bottom: 2px; }
.mt-name { position: relative; z-index: 2; font-family: 'Heebo', sans-serif; font-weight: 900; font-size: 13px; line-height: 1.2; white-space: nowrap; }
.mt-count { position: relative; z-index: 2; font-size: 11px; line-height: 1.3; color: #c8cede; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mt-count b { color: var(--gold); font-weight: 800; }
.mt-col {
  background: linear-gradient(165deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.13); backdrop-filter: blur(8px);
}
.mt-col .col-faces .face, .mt-col .col-more { width: 26px; height: 26px; }
.mt-col .col-faces .face + .face { margin-inline-start: -8px; }
.mt-hall {
  border: none; background: linear-gradient(120deg, #b8860b, #7b5104 55%, #3d2c14);
  box-shadow: 0 12px 28px -16px rgba(245,179,1,.75);
}
.mt-hall .hg-em { font-size: inherit; }
.mt-hall .mt-count { color: #ffeebe; }
.mt-hall .mt-count b { color: #fff; }
.mt-battle { border: 1px solid rgba(255,209,102,.4); background: #0a0e1e; }
.mt-battle .bab-scrim { background: radial-gradient(ellipse 60% 80% at 50% 45%, rgba(5,8,18,.55) 0%, rgba(5,8,18,.2) 70%, transparent 90%), linear-gradient(180deg, transparent 25%, rgba(5,8,18,.92) 72%); }
.mt-battle .bab-vs { width: 28px; height: 28px; font-size: 10.5px; }
.mt-battle .mt-name, .mt-battle .mt-count { text-shadow: 0 1px 8px rgba(0,0,0,.95); }
.meta-row + .pick-title { margin-top: 16px; margin-bottom: 10px; }
/* סבב 4: הכול קומפקטי יותר כדי ששורת הפתקים הראשונה תיראה גם ב-375x667 (בלי לגעת בפס התמיכה) */
.s-home .hero { padding-top: 6px; }
.daily-head { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; }
.daily-head > b { font-size: 15px; color: var(--gold); }
.s-home .daily-card, .s-home .lead-cta { padding-top: 9px; padding-bottom: 9px; }
.s-home .meta-tile { min-height: 74px; padding: 6px 4px 7px; gap: 1px; }
.s-home .mt-vis { height: 24px; margin-bottom: 1px; }
.s-home .mt-col .col-faces .face, .s-home .mt-col .col-more { width: 22px; height: 22px; }
.s-home .mt-battle .bab-vs { width: 24px; height: 24px; font-size: 9.5px; }
.s-home .mt-hall .hg-em .ico { width: 20px; height: 20px; }
.duel-count b { color: var(--gold); }

/* ליל הבחירות (ספירה לאחור, מדגם): תמונת הרקע והפס בזרימה לא גוללים הצידה ב-390 */
.bgv, .bgv-poster { max-width: 100vw; }
body.night-screen #ticker { max-width: 100%; overflow: hidden; box-sizing: border-box; }
html, body { overflow-x: clip; }
/* קרב המנהיגים: מנהיגות כפולה - השותף בעיגול קטן מעל הלוחית */
.fight-img2 { position: absolute; z-index: 2; top: 44px; inset-inline-start: 8px; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: center 15%; border: 2px solid #ffd166; box-shadow: 0 4px 12px rgba(0,0,0,.5); }
/* כרטיס שיתוף הקרב: הקישור לא נשבר לשתי שורות ב-375 - הכיתוב מתקפל לפניו */
.cs-foot { flex-wrap: wrap; }
.cs-link { white-space: nowrap; font-size: 10.5px; }
/* בחירת התכונה: הקמפיין עוד לא התחיל - בלי "0 מנדטים" ו"סבב 0" ב-HUD */
.s-leadtrait .hud-seats, .s-leadtrait .spine, .s-leadtrait .spine-lbl { display: none; }
/* תגית "חדש" בעברית (במקום אימוג'י 🆕 שמוצג כקופסה באנגלית במכשירים מסוימים) */
.fight-new { display: inline-block; background: #ffd166; color: #241a02; border-radius: 6px; padding: 0 5px; margin-inline-end: 3px; font-size: .85em; font-weight: 900; line-height: 1.5; }

/* מצב מנהיג: תמונה אישית (לא חובה) */
.lead-opt { font-weight: 400; opacity: .7; font-size: .9em; }
.lead-photo { display: flex; gap: 12px; align-items: flex-start; margin-top: 4px; }
.lead-ph-prev { flex: 0 0 72px; width: 72px; height: 96px; border-radius: 12px; overflow: hidden; display: grid; place-items: center;
  background: rgba(255,255,255,.04); border: 1px dashed rgba(255,255,255,.22); color: rgba(255,255,255,.5); }
.lead-ph-prev.lead-ph-has { border-style: solid; border-color: var(--gold, #ffd166); }
.lead-ph-prev img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lead-ph-prev .avatar-svg { width: 64px; height: 64px; }
.lead-ph-side { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.lead-ph-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); font-weight: 700; font-size: 14px; }
.lead-ph-rm { background: none; border: none; color: rgba(255,255,255,.6); text-decoration: underline; font-size: 13px; padding: 0; cursor: pointer; }
.lead-ph-note { margin: 0; font-size: 12px; }

/* ===================================================================
   UI v2 - מסכי הקמפיין: בחירת פעולה, בחירת אולפן, סקר
   אותה שפה (כחול לילה, זהב, זכוכית), היררכיה ברורה יותר: מספר אחד גדול בכל מסך.
   =================================================================== */

/* HUD: תמונת המנהיג ליד פתק ההצבעה */
.hud-party .face { box-shadow: 0 0 0 1.5px var(--ring), 0 3px 10px -3px rgba(0,0,0,.8); }
@media (max-width: 380px) { .hud .hud-pname { max-width: 84px; } .hud-row { gap: 6px; } .hud-seats { margin-inline-start: 4px; } }

/* --- HUD "במה": מנדטים במרכז --- */
.hud-hero { padding: 14px 14px 12px; }
.hh-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.hh-side { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.hh-party { align-items: flex-start; }
.hh-id { display: flex; align-items: center; gap: 6px; }
.hh-party .hud-pname { font-size: 14px; font-weight: 700; max-width: 100%; }
.hh-party .hud-coins { margin: 0; }
.hh-when { align-items: flex-end; text-align: left; }
.hh-date { color: var(--gold); font-size: 15px; letter-spacing: .5px; }
.hh-weeks { display: inline-flex; align-items: center; gap: 4px; color: #c8cede; font-size: 12px; white-space: nowrap; }
.hh-weeks .ico { color: var(--gold); }
.hh-round { color: var(--mut); font-size: 11px; white-space: nowrap; }
.hh-round .num { color: var(--gold); }
.hud-seats.hh-seats { flex-direction: column; align-items: center; gap: 0; margin: 0; }
.hh-seats b {
  font-size: 58px; line-height: .95;
  background: linear-gradient(180deg, #fff3cf, #f5b301);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 18px rgba(245,179,1,.45));
}
.hh-seats i { font-size: 15px; color: #aeb6d0; }
.hh-seats .hud-delta { top: -8px; inset-inline-start: auto; inset-inline-end: -18px; }
.hud-hero .spine { margin-top: 12px; }
.hh-title { font-family: 'Heebo', sans-serif; font-weight: 800; font-size: 20px; color: var(--ink); margin: 14px 4px 10px; }
@media (max-width: 380px) { .hh-seats b { font-size: 50px; } .hh-weeks { font-size: 11px; } .hh-title { font-size: 18px; } }

/* --- כרטיס המצב: הצבעה בבייס + פס מנדטים (סקר / צפוי / תקרה) + שני סוגי הפעולות --- */
.act-status {
  padding: 13px 13px 12px; border-radius: 20px;
  background: linear-gradient(165deg, rgba(255,255,255,.075), rgba(255,255,255,.02));
  border: 1px solid rgba(255,209,102,.22); backdrop-filter: blur(12px);
  box-shadow: 0 16px 36px -26px rgba(0,0,0,1), 0 1px 0 rgba(255,255,255,.1) inset;
}
.as-head { display: flex; align-items: baseline; gap: 6px; font-size: 16px; font-weight: 700; color: var(--ink); }
.as-head > .ico { color: var(--gold); align-self: center; }
.as-head > b { color: var(--gold); font-size: 19px; }
.as-head i { font-style: normal; font-size: 12px; } .as-head i.up { color: var(--green); } .as-head i.dn { color: var(--red); }
.as-sub { margin-inline-start: auto; font-size: 11px; font-weight: 400; color: var(--mut); white-space: nowrap; }
.as-sub b { color: #c8cede; font-size: 11.5px; }
.sb-row { position: relative; height: 18px; margin-top: 3px; font-size: 11.5px; color: #c8cede; }
.sb-row.sb-top { margin: 6px 0 2px; }
.sb-lbl { position: absolute; top: 0; transform: translateX(50%); white-space: nowrap; }
.sb-lbl b { color: var(--ink); }
.sb-poll b { color: #7fe3ff; } .sb-proj b { color: var(--gold); }
.sb-bar { position: relative; height: 10px; margin-top: 10px; border-radius: 99px; background: rgba(255,255,255,.08); }
.sb-row.sb-top + .sb-bar { margin-top: 2px; }
.sb-fill, .sb-gain { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; border-radius: 99px; }
.sb-fill { background: linear-gradient(270deg, #1a6f8f, #33d6ff); box-shadow: 0 0 14px -2px rgba(51,214,255,.7); }
.sb-gain { background: repeating-linear-gradient(135deg, rgba(255,209,102,.55) 0 4px, rgba(255,209,102,.25) 4px 8px); border-radius: 99px 0 0 99px; }
.sb-tick { position: absolute; top: -4px; width: 3px; height: 18px; border-radius: 2px; transform: translateX(50%); }
.sb-t-proj { background: var(--gold); box-shadow: 0 0 8px rgba(255,209,102,.8); }
.sb-t-cap { background: #e8ecf5; }
.as-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.as-tile {
  display: flex; gap: 7px; align-items: flex-start; padding: 9px 9px; border-radius: 13px;
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.1);
  font-size: 11px; line-height: 1.45; color: #aeb6d0;
}
.as-tile b { color: var(--ink); font-size: 12.5px; }
.as-ico { flex: none; color: var(--gold); margin-top: 1px; }
.as-exp .as-ico { color: #7fb0ff; }

/* --- כרטיסי הפעולה --- */
.s-actpick .act-grid { gap: 10px; margin-top: 12px; }
.s-actpick .act-card { grid-template-columns: 56px 1fr; padding: 15px 14px; border-radius: 20px; gap: 3px 12px; }
.s-actpick .act-em { width: 52px; height: 52px; border-radius: 15px; }
.s-actpick .act-t { font-size: 17px; }
.s-actpick .act-d { font-size: 12.5px; color: #9aa3bd; }
/* פעולה מוגבלת בזמן (הסכם עודפים / תשדיר / עימות): מסגרת זוהרת */
.s-actpick .act-surplus { border-color: rgba(255,209,102,.8); box-shadow: 0 0 0 1px rgba(255,209,102,.35), 0 0 26px -6px rgba(255,209,102,.6), 0 12px 26px -20px #000; }
.s-actpick .act-debate { box-shadow: 0 0 22px -8px rgba(77,141,255,.6), 0 12px 26px -20px #000; }
.s-actpick .act-ad { box-shadow: 0 0 22px -8px rgba(230,57,70,.6), 0 12px 26px -20px #000; }

/* --- שלושת המספרים של הקמפיין: שלוש משבצות בשורה אחת (כל המסכים) --- */
.turnout-row.camp-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 10px 0 8px; }
.turnout-row.camp-row.camp-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.camp-row .to-chip {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 5px; align-items: center;
  border-radius: 13px; padding: 7px 9px; min-width: 0;
}
.camp-row .to-chip > .ico { grid-row: 1; color: var(--gold); }
.camp-row .to-chip:not(.to-mine) > .ico { color: #9fb0d6; }
.camp-row .cr-l { font-size: 10.5px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.camp-row .to-chip.to-mine .cr-l { color: rgba(255,209,102,.8); }
.camp-row .to-chip > b { grid-column: 1 / -1; font-size: 17px; line-height: 1.2; color: var(--ink); }
.camp-row .to-chip.to-mine > b { color: var(--gold); }
.camp-row .to-chip > b i { font-size: 11px; }

/* --- מד ההצבעה בבייס (מסך בחירת האולפן) --- */
.gauge-card {
  margin: 4px 0 10px; padding: 10px 12px 12px; border-radius: 22px; text-align: center;
  background: radial-gradient(120% 90% at 50% 100%, rgba(255,209,102,.1), transparent 60%), linear-gradient(180deg, #0f1831, #0a1124);
  border: 1px solid rgba(120,150,230,.22);
  box-shadow: 0 18px 40px -26px #000, 0 1px 0 rgba(255,255,255,.08) inset;
}
.gauge { width: 100%; max-width: 330px; height: auto; display: block; margin: 0 auto; }
.g-track { fill: none; stroke: rgba(255,255,255,.08); stroke-linecap: round; }
.g-val { fill: none; stroke: url(#gg-gold); stroke-linecap: round; filter: drop-shadow(0 0 7px rgba(255,190,60,.65)); }
.g-cap { stroke: #e8ecf5; stroke-width: 3; stroke-linecap: round; }
.g-avg { stroke: rgba(232,236,245,.4); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 3 2; }
.g-num { fill: #ffd166; font-size: 54px; filter: drop-shadow(0 3px 12px rgba(245,179,1,.45)); }
.g-lbl { fill: #c8cede; font-size: 15px; font-family: 'Rubik', system-ui, sans-serif; }
.g-foot { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 14px; font-size: 11.5px; color: var(--mut); margin-top: 2px; }
.g-foot b { color: #e8ecf5; }
.g-d.up b { color: var(--green); } .g-d.dn b { color: var(--red); }
.g-cap-dot { display: inline-block; width: 3px; height: 10px; border-radius: 2px; background: #e8ecf5; margin-inline-end: 5px; vertical-align: -1px; }

/* --- כרטיסי האולפנים --- */
.s-channels .ch-grid { gap: 12px; }
.s-channels .ch-card { padding: 15px 14px; border-radius: 20px; gap: 13px; }
.s-channels .ch-logo { border-radius: 16px; }
.s-channels .ch-name { font-size: 18px; }
.s-channels .ch-host { font-size: 13px; color: #c8cede; }
.s-channels .ch-desc { font-size: 12.5px; color: #9aa3bd; }
.s-channels .ch-odds { font-size: 12.5px; font-weight: 600; margin-top: 4px; }
.s-channels .ch-role { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 12px; }
.s-channels .ch-role .to-chip { font-size: 12px; padding: 3px 10px; display: inline-flex; align-items: center; gap: 4px; }
.ch-card.ch-home { border-color: rgba(255,209,102,.55); box-shadow: 0 0 22px -8px rgba(255,209,102,.45), 0 12px 26px -20px #000; }

/* --- סיכום הסקר: זהות, שלושה מספרים וטבעת הגוש מול 61 --- */
.poll-sum {
  margin-top: 10px; padding: 14px 14px 12px; border-radius: 22px;
  background: linear-gradient(165deg, rgba(255,255,255,.085), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.13); backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -25px #000, 0 1px 0 rgba(255,255,255,.14) inset;
}
.ps-id { display: flex; align-items: center; gap: 10px; margin: 0 2px 10px; }
.ps-id .my-name { font-size: 17px; }
.ps-stats { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 6px; }
.ps-stat, .ps-ring { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.ps-ico { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; color: #c8cede;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); margin-bottom: 4px; }
.ps-stat > b { font-size: 34px; line-height: 1.05; }
.ps-turn > b { color: #ffe29a; }
.ps-seats > b {
  font-size: 48px; line-height: .95;
  background: linear-gradient(180deg, #fff3cf, #f5b301);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 18px rgba(245,179,1,.5));
}
.ps-seats .ps-ico { color: var(--gold); }
.ps-l { font-size: 12.5px; color: #c8cede; margin-top: 2px; white-space: nowrap; }
.ps-d { font-size: 11px; color: var(--mut); }
.ps-d.up { color: var(--green); } .ps-d.dn { color: var(--red); }
.ps-ring { position: relative; }
.ps-ring svg { width: 92px; height: 92px; display: block; }
.pr-track { fill: rgba(0,0,0,.2); stroke: rgba(255,255,255,.1); stroke-width: 7; }
.pr-val { fill: none; stroke: var(--bc); stroke-width: 7; stroke-linecap: round; }
.ps-ring svg { filter: drop-shadow(0 0 7px color-mix(in srgb, var(--bc) 60%, transparent)); }
.ps-maj .pr-val { stroke: var(--gold); }
.pr-in { position: absolute; top: 0; inset-inline: 0; height: 92px; display: flex; align-items: center; justify-content: center; gap: 1px; direction: ltr; }
.pr-in b { font-size: 27px; color: var(--ink); }
.pr-in i { font-style: normal; font-size: 12px; color: var(--mut); margin-top: 9px; }
.ps-need { font-size: 11.5px; color: var(--mut); white-space: nowrap; }
.ps-need b { color: var(--ink); }
.ps-maj .ps-need, .ps-maj .ps-need b { color: var(--gold); }
.poll-sum .camp-row { margin: 12px 0 6px; }
.ps-note { display: flex; gap: 7px; align-items: flex-start; margin-top: 8px; padding-top: 9px; border-top: 1px solid rgba(255,255,255,.08); }
.ps-note > .ico { flex: none; color: var(--gold); margin-top: 2px; }
.ps-note .poll-meta { margin: 0 0 3px; }
.s-poll .poll-card { margin-top: 12px; }
@media (max-width: 380px) { .ps-stat > b { font-size: 29px; } .ps-seats > b { font-size: 42px; } .ps-ring svg { width: 84px; height: 84px; } .pr-in { height: 84px; } }

/* --- כרטיסי הגושים --- */
.bloc { padding: 10px 6px 10px; border-radius: 16px; gap: 2px; align-items: center; }
.bloc-ico { order: 0; display: grid; place-items: center; font-style: normal; opacity: .85; }
.bloc span { order: 1; font-size: 12px; font-weight: 600; }
.bloc b { order: 2; font-size: 26px; line-height: 1.1; }
.bloc-right { border-color: rgba(255,176,32,.45); background: linear-gradient(180deg, rgba(255,176,32,.12), rgba(255,176,32,.03)); } .bloc-right .bloc-ico { color: #ffb020; }
.bloc-arab { border-color: rgba(61,220,132,.4); background: linear-gradient(180deg, rgba(61,220,132,.1), rgba(61,220,132,.02)); } .bloc-arab .bloc-ico { color: #3ddc84; }
.bloc-change { border-color: rgba(77,141,255,.45); background: linear-gradient(180deg, rgba(77,141,255,.13), rgba(77,141,255,.03)); } .bloc-change .bloc-ico { color: #6ea8ff; }

/* --- רשימת המפלגות: מקום, פתק, תמונה ושם, פס, מנדטים --- */
.prow { grid-template-columns: 14px 30px 24px minmax(0, 100px) 1fr 26px 26px; gap: 6px; padding: 6px 8px; border-bottom: 1px solid rgba(255,255,255,.05); border-radius: 0; }
.prow-me { border-radius: 12px; border-bottom-color: transparent; }
.prank { color: var(--mut); font-size: 12px; text-align: center; font-weight: 700; }
.plet {
  height: 20px; border-radius: 4px; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(178deg, #fdfdf8, #eae8db); color: #14161d;
  font-family: 'Secular One', 'Heebo', sans-serif; font-size: 11.5px; line-height: 1; white-space: nowrap;
}
.prow .face-xs { width: 24px; height: 24px; }
.prow .pseats { font-size: 16px; }
.prow .pbar { height: 8px; }
@media (max-width: 380px) { .prow { grid-template-columns: 12px 28px 22px minmax(0, 84px) 1fr 24px 28px; gap: 5px; padding: 6px 6px; } .prow .face-xs { width: 22px; height: 22px; } }
.hud-cash { white-space: nowrap; }
.hud-row .hud-coins { gap: 2px; }
@media (max-width: 400px) { .hud-row .hud-coins .coin { width: 6px; height: 6px; } }
.camp-row .cr-l { white-space: normal; line-height: 1.25; }
.delta-badge { white-space: nowrap; }
.ps-id .my-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 375: שם המפלגה קודם לנקודות התקציב (הסכום עצמו נשאר) */
@media (max-width: 380px) { .hud-row .hud-coins .coin { display: none; } .hud .hud-pname { max-width: 104px; } }

/* --- שפה אחת: לוח זכוכית משותף לכרטיסי המידע החדשים (כמו .poll-card), ואריח אייקון אחד (כמו .act-em) --- */
.act-status, .gauge-card, .poll-sum {
  background: linear-gradient(165deg, rgba(255,255,255,.075), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.12); border-radius: 20px; backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -25px #000, 0 1px 0 rgba(255,255,255,.14) inset;
}
.gauge-card { background: radial-gradient(90% 70% at 50% 95%, rgba(255,209,102,.09), transparent 65%), linear-gradient(165deg, rgba(255,255,255,.075), rgba(255,255,255,.02)); }
/* אריח אייקון: זהב לבייס/שלך, כחול להרחבה - אותו ריבוע של כרטיסי הפעולה, בקטן */
.ps-ico, .as-ico {
  width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; flex: none;
  color: var(--gold); background: rgba(255,209,102,.1); border: 1px solid rgba(255,209,102,.26); margin: 0;
}
.ps-ico { margin-bottom: 4px; }
.as-exp .as-ico { color: #7aa4ff; background: rgba(77,141,255,.12); border-color: rgba(77,141,255,.3); }
.as-tile { align-items: center; }
.as-tile { flex-direction: column; align-items: stretch; gap: 6px; }
.as-top { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.as-top .as-ico { width: 26px; height: 26px; border-radius: 9px; }
.as-top i { font-style: normal; font-size: 10.5px; color: var(--gold); background: rgba(255,209,102,.1); border-radius: 99px; padding: 1px 7px; }
.as-tile em { font-style: normal; color: var(--gold); font-weight: 600; }
.as-exp em { color: #7aa4ff; }
/* מפלגה משלך: דוגמית צבע בתוך כפתור הבחירה הקיים */
.own-sw { display: block; width: 100%; height: 100%; min-height: 34px; border-radius: 9px; }
.own-camp .lead-pn small { font-weight: 400; opacity: .75; font-size: 11px; line-height: 1.35; }
/* מפלגה משלך: שורות הטופס של המנהיג באותה עמודה כמו שאר הטופס (בלי זה התווית נצמדת לצד השדה) */
#own-me:not([hidden]), #own-mk:not([hidden]) { display: flex; flex-direction: column; gap: 6px; }
.lead-note .face { display: inline-block; vertical-align: middle; margin-inline-end: 6px; }
/* מונה מטפס: המספר הסופי נשאר בטקסט, והמטפס מצויר מעליו */
.num.rolling { position: relative; color: transparent !important; text-shadow: none !important; }
.num.rolling::after { content: attr(data-roll); position: absolute; inset: 0; text-align: center; color: var(--rc); text-shadow: var(--rs); }
