/* Animated stats inside pillar flip-back */

.pillar-face--back .pc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.pillar-stat {
  width: 100%;
  margin: 0.35rem 0 1.1rem;
  padding: 0 0 1rem;
  border-bottom: 1px solid rgba(224, 90, 26, 0.2);
}

.pillar-stat__display {
  margin: 0;
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.06em;
}

.pillar-stat__n {
  font-family: var(--sans);
  font-size: clamp(3.2rem, 8vw, 5.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--orange-em);
  font-variant-numeric: tabular-nums;
}

.pillar-stat__n--sm {
  font-size: 1.35em;
}

.pillar-stat__u {
  font-family: var(--sans);
  font-size: clamp(1.35rem, 3.2vw, 2.1rem);
  font-weight: 600;
  color: var(--orange-em);
  opacity: 0.88;
}

.pillar-stat__lead {
  margin: 0.55rem 0 0;
  font-family: var(--sans);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  text-transform: none;
  letter-spacing: 0.01em;
}

.pillar-stat__sub {
  margin: 0.35rem 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  font-weight: 400;
}

.pillar-stat__sub .pillar-stat__n {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-right: 0.15em;
}

.pillar-stat--compare {
  padding-bottom: 0.85rem;
}

.pillar-stat__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pillar-stat__chip {
  text-align: center;
  min-width: 4.5rem;
}

.pillar-stat__chip .pillar-stat__display {
  margin-bottom: 0.25rem;
}

.pillar-stat__chip-lbl {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.pillar-stat__chip--accent .pillar-stat__chip-lbl {
  color: var(--orange-em);
}

.pillar-stat__vs {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(242, 237, 230, 0.35);
}

.pillar-face--back .pdt {
  display: none;
}

.pillar-face--back .pnm {
  margin-bottom: 0.5rem;
}

.pillar.is-flipped .pillar-stat__n {
  transition: color 0.3s ease;
}

@media (max-width: 1080px) {
  .pillar-stat__n {
    font-size: clamp(2.75rem, 10vw, 4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pillar-stat__n {
    transition: none;
  }
}
