.mxm-countdown {
  --mxm-countdown-text-color: #fff;
  --mxm-countdown-timer-color: #ff3434;
  --mxm-countdown-bg: #080909;

  box-sizing: border-box;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .18em;
  max-width: 100%;
  padding: .28em .48em .32em;
  background: var(--mxm-countdown-bg);

  font-family: "Arial Narrow", "Roboto Condensed", "Courier New", monospace;
  line-height: 1;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.mxm-countdown *,
.mxm-countdown *::before,
.mxm-countdown *::after {
  box-sizing: border-box;
}

/* Transparenter Hintergrund */
.mxm-countdown--transparent {
  background: transparent;
}

/* Optionaler Gehäuserahmen */
.mxm-countdown--frame {
  border: 4px solid #777b7d;
  border-radius: 5px;
  box-shadow:
    inset 0 0 0 2px #292c2d,
    0 2px 9px rgba(0, 0, 0, .25);
}

/* Freitext oberhalb des Timers */
.mxm-countdown__label {
  color: var(--mxm-countdown-text-color);
  font: 700 var(--mxm-countdown-text-size, 18pt)/1.25 Arial, sans-serif;
  letter-spacing: .015em;
  margin-bottom: .22em;
  overflow-wrap: anywhere;
}

/* Timerziffern ohne Leuchteffekt */
.mxm-countdown__time {
  color: var(--mxm-countdown-timer-color);
  white-space: nowrap;
  font-weight: 800;
  letter-spacing: .045em;
  text-shadow: none;
}

.mxm-countdown__digits {
  display: inline-block;
}

/* Beschriftung unter dem Timer */
.mxm-countdown__caption {
  color: var(--mxm-countdown-text-color);
  font: 600 .13em/1.2 Arial, sans-serif;
  letter-spacing: .08em;
  opacity: .8;
}

/* Verschiedene Anzeigegrößen */
.mxm-countdown--compact {
  font-size: clamp(22px, 3vw, 34px);
}

.mxm-countdown--medium {
  font-size: clamp(32px, 5vw, 58px);
}

.mxm-countdown--large {
  font-size: clamp(42px, 7vw, 92px);
}

.mxm-countdown--responsive {
  display: flex;
  width: 100%;
  font-size: clamp(24px, 8vw, 100px);
}

/* Rücksicht auf reduzierte Animationen */
@media (prefers-reduced-motion: reduce) {
  .mxm-countdown * {
    animation: none !important;
  }
}