/* =====================================================
   ליכודלינק — Spread meter + daily mission widget
   ===================================================== */
.spread-meter {
  background: #fff;
  border: 1px solid #DCE4F4;
  border-radius: 16px;
  padding: 16px 18px 18px;
  margin: 0 0 14px;
  box-shadow: 0 6px 20px rgba(11, 71, 196, 0.08);
  position: relative;
  overflow: hidden;
  animation: sm-in 0.5s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}
.spread-meter::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, #0B47C4, #2E74F0);
}

@keyframes sm-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sm-head { display: flex; align-items: center; gap: 11px; margin-bottom: 10px; }
.sm-flame { font-size: 26px; line-height: 1; filter: drop-shadow(0 2px 4px rgba(255, 120, 0, 0.35)); }
.sm-titles { min-width: 0; }
.sm-title { font-weight: 800; font-size: 16px; color: #0E1B33; letter-spacing: -0.2px; }
.sm-sub { font-size: 12.5px; color: #6B7894; margin-top: 1px; }

.sm-count {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-variant-numeric: tabular-nums;
  margin: 2px 0 9px;
}
.sm-num {
  font-size: 34px;
  font-weight: 900;
  color: #0B47C4;
  line-height: 1;
  letter-spacing: -1px;
}
.sm-goal { font-size: 15px; font-weight: 700; color: #93A0BC; }

.sm-bar {
  height: 10px;
  background: #EAF0FB;
  border-radius: 999px;
  overflow: hidden;
}
.sm-bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #2E74F0, #0B47C4);
  transition: width 0.9s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.sm-mission {
  margin-top: 13px;
  padding: 11px 13px;
  background: #F3F7FE;
  border: 1px solid #E1EAFA;
  border-radius: 12px;
  color: #2A3958;
}
.sm-mission.done {
  background: #ECFBF1;
  border-color: #BBE9CC;
  color: #15623A;
}
.sm-m-top { display: flex; align-items: center; gap: 8px; }
.sm-m-ico { font-size: 16px; line-height: 1; }
.sm-m-title { font-weight: 800; font-size: 14px; }
.sm-m-prog {
  margin-inline-start: auto;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  background: #fff;
  border: 1px solid #D7E2F6;
  color: #0B47C4;
  border-radius: 999px;
  padding: 2px 11px;
  white-space: nowrap;
}
.sm-mission.done .sm-m-prog { border-color: #BBE9CC; color: #15623A; }
.sm-m-lock {
  margin-inline-start: auto;
  font-size: 11.5px;
  font-weight: 700;
  color: #8A6D2F;
  background: #FFF6E5;
  border: 1px solid #F2E2BC;
  border-radius: 999px;
  padding: 2px 9px;
  white-space: nowrap;
}
.sm-m-action { margin-top: 7px; font-size: 15px; font-weight: 700; line-height: 1.3; color: #16233E; }
.sm-m-sub { margin-top: 3px; font-size: 12.5px; line-height: 1.45; color: #6B7894; }
.sm-mission.done .sm-m-action { color: #15623A; }
.sm-mission.done .sm-m-sub { color: #2E7D52; }
.sm-mission.admin .sm-m-sub { margin-top: 7px; }
.sm-mission .sm-cta { margin-top: 10px; }

/* Guest (not registered): register-to-earn CTA in place of the mission */
.sm-cta {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 13px;
  padding: 11px 13px;
  border-radius: 12px;
  text-decoration: none;
  background: linear-gradient(90deg, #0B47C4, #2E74F0);
  color: #fff;
  box-shadow: 0 4px 14px rgba(11, 71, 196, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.sm-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(11, 71, 196, 0.36); }
.sm-cta:active { transform: translateY(0); }
.sm-cta-ico { font-size: 16px; line-height: 1; }
.sm-cta-txt { font-weight: 700; font-size: 13.5px; flex: 1; min-width: 0; }
.sm-cta-arrow { font-size: 17px; font-weight: 800; opacity: 0.9; }

/* ── Unified engagement card (replaces invite + submit in the feed) ── */
.actions-card {
  background: #fff;
  border: 1px solid #DCE4F4;
  border-radius: 16px;
  padding: 14px 16px 16px;
  margin: 0 0 14px;
  box-shadow: 0 6px 20px rgba(11, 71, 196, 0.08);
}
.acard-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.acard-badge { width: 38px; height: 38px; border-radius: 50%; flex: none; background: #EAF0FB; color: #0B47C4; display: flex; align-items: center; justify-content: center; }
.acard-badge svg { width: 19px; height: 19px; }
.acard-title { font-weight: 800; font-size: 16px; color: #0E1B33; letter-spacing: -0.2px; }
.acard-sub { font-size: 12.5px; color: #6B7894; margin-top: 1px; }
.action-row {
  display: flex; align-items: center; gap: 11px; width: 100%;
  text-align: start; font-family: inherit;
  background: #F3F7FE; border: 1px solid #E1EAFA; border-radius: 12px;
  padding: 10px 12px; margin-top: 8px; cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}
.action-row:hover { background: #E9F1FD; }
.action-row:active { transform: scale(0.995); }
.arow-ico { width: 36px; height: 36px; border-radius: 50%; flex: none; background: #fff; border: 1px solid #D7E2F6; color: #0B47C4; display: flex; align-items: center; justify-content: center; }
.arow-ico svg { width: 18px; height: 18px; }
.arow-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.arow-txt b { font-size: 14.5px; font-weight: 700; color: #16233E; }
.arow-txt i { font-size: 12px; color: #6B7894; font-style: normal; margin-top: 1px; }
.arow-arrow { font-size: 17px; font-weight: 800; color: #9AAAC9; flex: none; }
.invite-modal-mount .invite-card { box-shadow: none; margin: 0; }

/* ── Leaderboard (sidebar "see more" + top-100 modal) ── */
.lead-more { display: block; width: 100%; margin-top: 8px; padding: 7px; border: none; background: #F3F7FE; color: #0B47C4; font-weight: 700; font-size: 12.5px; border-radius: 8px; cursor: pointer; font-family: inherit; transition: background 0.15s ease; }
.lead-more:hover { background: #E9F1FD; }
.lb-title { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 20px; font-weight: 800; color: #0E1B33; }
.lb-title svg { width: 22px; height: 22px; }
.lb-subtitle { text-align: center; font-size: 13px; color: #6B7894; margin: 4px 0 12px; }
.lb-list { max-height: 56vh; overflow-y: auto; border: 1px solid #E1EAFA; border-radius: 12px; -webkit-overflow-scrolling: touch; }
.lb-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid #EEF2FA; }
.lb-row:last-child { border-bottom: none; }
.lb-rank { width: 30px; height: 30px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; background: #EEF2FA; color: #5A6886; }
.lb-rank.r1 { background: #F6DA7E; color: #6E5100; }
.lb-rank.r2 { background: #D8DEE8; color: #44515F; }
.lb-rank.r3 { background: #EEC39A; color: #6F4318; }
.lb-name { flex: 1; min-width: 0; font-weight: 600; font-size: 14px; color: #16233E; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-pts { font-weight: 800; font-size: 14px; color: #0B47C4; white-space: nowrap; }
.lb-pts i { font-size: 11px; font-weight: 600; color: #9AAAC9; font-style: normal; margin-inline-start: 3px; }
.lb-me { margin-top: 12px; padding: 11px 14px; background: #0B47C4; color: #fff; border-radius: 12px; text-align: center; font-size: 14px; font-weight: 700; }
.lb-me b { font-size: 15px; }
.lb-me.lb-guest { background: #F3F7FE; color: #0B47C4; }

@media (max-width: 560px) {
  .spread-meter { border-radius: 14px; padding: 14px 15px 16px; }
  .sm-num { font-size: 30px; }
  .sm-title { font-size: 15px; }
}
