.ltm-cost-image {
  width: 900px;
  max-width: calc(100vw - 60px);
  aspect-ratio: 4 / 5;
  background-image: url('https://mf-data.b-cdn.net/web/Evo%20Chains%20BG.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 40px;
  text-align: center;
}

.ltm-cost-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%);
}

.ltm-cost-image-heading,
.ltm-cost-image-total-label,
.ltm-cost-image-total-value,
.ltm-cost-image-stats-row,
.ltm-cost-image-footer {
  position: relative;
  z-index: 1;
}

.ltm-cost-image-heading {
  font-family: "Cruyff Sans Expanded", sans-serif;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: #fff;
  text-shadow: 0 3px 10px rgba(0,0,0,0.5);
}

.ltm-cost-image-total-label {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-top: 6px;
}

.ltm-cost-image-total-value {
  font-family: robotoSemiBold, sans-serif;
  font-size: 72px;
  font-weight: 900;
  color: #4ade80;
  text-shadow: 0 4px 16px rgba(0,0,0,0.55);
  line-height: 1;
}

.ltm-cost-image-stats-row {
  display: flex;
  gap: 40px;
  margin-top: 18px;
}

.ltm-cost-image-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.ltm-cost-image-stat-value {
  font-family: robotoSemiBold, sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
}

.ltm-cost-image-stat-label {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 11px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.ltm-cost-image-footer {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.55);
}

.ltm-total-cost-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.12);
  background: var(--bg-grey);
  color: var(--dark);
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}
.ltm-total-cost-btn:hover { background: #d0d0d0; }
.ltm-total-cost-btn svg { width: 15px; height: 15px; flex-shrink: 0; }

@media (max-width: 600px) {
  .ltm-cost-image-total-value { font-size: 52px; }
  .ltm-cost-image-heading { font-size: 22px; }
  .ltm-cost-image-stats-row { gap: 24px; }
}
/* ── Lightbox overlay, same behavior as the Votes page ── */
.ltm-cost-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.ltm-cost-lightbox.open {
  display: flex;
}

.ltm-cost-lightbox-close {
  position: fixed;
  top: 18px;
  right: 22px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.ltm-cost-lightbox-close svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
  stroke-width: 2.5;
  stroke-linecap: round;
  fill: none;
}