/* Ghadi Count · DS-065 · .gd- prefixed */
.gd { font: 400 14px/1.6 ui-sans-serif, system-ui, sans-serif; text-align: center; }
.gd-label {
  color: #8B93A7; font-size: 13px; letter-spacing: .12em;
  text-transform: uppercase; margin-bottom: 14px;
}
.gd-tiles { display: flex; gap: 10px; justify-content: center; }
.gd-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.gd-num {
  display: inline-block; min-width: 58px;
  background: #1E2330; border: 1px solid #3A4152; border-radius: 12px;
  color: #F5F1E8; font: 700 30px/1 ui-monospace, monospace;
  padding: 14px 10px;
}
.gd-num.gd-flip { animation: gdFlip .32s ease; }
.gd-unit { color: #5C6478; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.gd-done { color: #4ADE80; font: 700 22px/1.3 inherit; padding: 20px 0; }
.gd-done.gd-pop { animation: gdPop .5s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes gdFlip {
  0% { transform: rotateX(88deg); }
  100% { transform: rotateX(0); }
}
@keyframes gdPop {
  0% { transform: scale(.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .gd-num.gd-flip, .gd-done.gd-pop { animation: none; }
}

/* phone view: demo stage is designed ~900px wide — zoom the page down on small screens */
@media (max-width: 430px) { body { zoom: .40; } }
@media (min-width: 431px) and (max-width: 560px) { body { zoom: .52; } }
@media (min-width: 561px) and (max-width: 720px) { body { zoom: .65; } }
@media (min-width: 721px) and (max-width: 860px) { body { zoom: .78; } }
