/* Refactored from v1 refined — styles kept as supplied. */
.countdown-page {
  text-align: center;
  color: #450920;
}
.countdown-page h2 {
  margin-bottom: 23px;
}
.timer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 16px 0 8px;
}
.timer-grid > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #f9dbbd;
  border: 1px solid #f9dbbd;
  border-radius: 10px;
  padding: 12px 2px 10px;
  min-width: 0;
}
.timer-grid b {
  font:
    500 32px/1 'Cormorant Garamond',
    serif;
  color: #450920;
  font-variant-numeric: tabular-nums;
}
.timer-grid small {
  font:
    600 9px/1.8 'DM Sans',
    sans-serif;
  text-transform: uppercase;
  color: #a53860;
  letter-spacing: 0.1em;
}
.countdown-date {
  font:
    italic 16px 'Cormorant Garamond',
    serif;
  color: #a53860;
}
.countdown-page h3 {
  font:
    500 29px/1.1 'Cormorant Garamond',
    serif;
  color: var(--sage);
  margin: 16px 0;
}
.wishes-list {
  max-height: 210px;
  overflow: auto;
  display: grid;
  gap: 9px;
}
.home-wishes-scroll {
  position: relative;
}
.home-wishes-scroll.has-more::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 26px;
  background: linear-gradient(transparent, #fff9ee);
  pointer-events: none;
}
.home-wishes-hint {
  color: #8b2850;
  font-size: 10px;
  font-weight: 600;
  margin: 7px 0 0;
}
.home-wishes-hint[hidden] {
  display: none;
}
.home-wishes-hint span {
  margin-left: 3px;
}
.empty-wishes {
  font:
    italic 16px/1.5 'Cormorant Garamond',
    serif;
  color: #a53860;
}
.wish {
  background: #f9dbbd;
  border-left: 2px solid #a53860;
  padding: 12px;
  text-align: left;
  box-shadow: 0 2px 8px #45092008;
}
.wish strong {
  display: block;
  font-size: 12px;
  color: var(--sage);
  margin-bottom: 4px;
}
.wish p {
  font-size: 13px;
  color: #450920;
  line-height: 1.5;
  margin: 0;
}
.attendance-stats {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.attendance-stats div {
  width: 110px;
  background: #f9dbbd;
  border-radius: 9px;
  padding: 9px;
}
.attendance-stats b {
  display: block;
  font:
    500 29px 'Cormorant Garamond',
    serif;
  color: var(--sage);
}
.attendance-stats small {
  font-size: 10px;
  color: #a53860;
}
