.js-cf-banner {
  position: relative;
  z-index: 50;
  color: #fafafa;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.75rem 1rem;
  font-family: var(--js-font-sans);
}

.js-cf-banner--sticky {
  position: sticky;
  top: 0;
}

.js-cf-banner--noir-crimson {
  background: linear-gradient(90deg, #12090b 0%, #240d12 52%, #140c0e 100%);
}

.js-cf-banner--obsidian-amber {
  background: linear-gradient(90deg, #0f1115 0%, #1c1710 55%, #111318 100%);
}

.js-cf-banner--editorial-slate {
  background: #18181b;
}

.js-cf-container {
  width: min(1240px, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(190px, 1fr) auto auto;
  align-items: center;
  gap: 1rem 1.5rem;
}

.js-cf-kicker {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fbbf24;
  margin-bottom: 0.15rem;
}

.js-cf-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem;
}

.js-cf-headline {
  font-family: var(--js-font-display);
  font-size: clamp(0.95rem, 1.3vw, 1.125rem);
  font-weight: 700;
  color: #ffffff;
}

.js-cf-subtitle {
  font-size: 0.8125rem;
  color: #d4d4d8;
}

.js-cf-metrics-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: #e4e4e7;
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.35rem;
}

.js-cf-raised {
  font-weight: 700;
  color: #ffffff;
}

.js-cf-progress-track {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.js-cf-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #dc2626 0%, #f59e0b 100%);
  transition: width 300ms ease;
}

.js-cf-countdown {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-variant-numeric: tabular-nums;
}

.js-cf-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 2rem;
}

.js-cf-num {
  font-family: var(--js-font-mono);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.1;
  color: #ffffff;
}

.js-cf-label {
  font-size: 0.625rem;
  color: #a1a1aa;
}

.js-cf-sep {
  font-family: var(--js-font-mono);
  color: #71717a;
  font-weight: 600;
}

.js-cf-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.js-cf-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.05rem;
  border-radius: 0.5rem;
  background: #dc2626;
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 150ms ease, transform 150ms ease;
}

.js-cf-cta:hover {
  background: #b91c1c;
  transform: translateY(-1px);
}

.js-cf-close {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e4e4e7;
  width: 2rem;
  height: 2rem;
  border-radius: 0.375rem;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .js-cf-container {
    grid-template-columns: 1fr auto;
  }
  .js-cf-metrics {
    grid-column: 1 / 2;
  }
}

@media (max-width: 640px) {
  .js-cf-banner--sticky {
    position: static;
  }
  .js-cf-container {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .js-cf-subtitle {
    display: none;
  }
  .js-cf-actions {
    width: 100%;
  }
  .js-cf-cta {
    flex: 1;
    justify-content: center;
    min-height: 44px;
  }
}
