/* Herald · Metronome — app tweaks. Base in glass-core.css (premium
   kit: per-app warm accent, depth come for free). Built from LIGHT so
   it reads on the see-through waveguide. */

.mt-stage {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 24px;
}

.mt-sig {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  text-transform: uppercase;
}

/* the beat orb */
.mt-orb {
  position: relative;
  width: 232px;
  height: 232px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--aa-edge, rgba(255, 138, 92, 0.34));
  background:
    radial-gradient(circle at 50% 42%, var(--aa-bloom2, rgba(255, 138, 92, 0.12)), transparent 70%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 0 30px var(--aa-glow-soft, rgba(255, 138, 92, 0.18));
  transition: box-shadow 90ms ease-out, border-color 90ms ease-out, transform 90ms ease-out;
}
.mt-orb.beat {
  border-color: var(--app-accent, #ff8a5c);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.10) inset,
    0 0 36px var(--aa-glow, rgba(255, 138, 92, 0.42)),
    0 0 90px var(--aa-glow-soft, rgba(255, 138, 92, 0.26));
  transform: scale(1.045);
}
.mt-orb.beat.down {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14) inset,
    0 0 48px var(--aa-glow, rgba(255, 138, 92, 0.55)),
    0 0 120px var(--aa-glow, rgba(255, 138, 92, 0.32));
  transform: scale(1.075);
}

.mt-bpm {
  font-size: 84px;
  line-height: 1;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -2px;
  color: var(--app-accent, #ff8a5c);
  text-shadow:
    0 0 26px var(--aa-glow, rgba(255, 138, 92, 0.42)),
    0 0 70px var(--aa-glow-soft, rgba(255, 138, 92, 0.24));
}
.mt-unit {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--text-muted);
}

/* beat dots */
.mt-beats {
  display: flex;
  gap: 12px;
  align-items: center;
  height: 16px;
}
.mt-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  transition: background 70ms ease-out, box-shadow 70ms ease-out, transform 70ms ease-out;
}
.mt-dot.down { background: rgba(255, 255, 255, 0.28); }
.mt-dot.on {
  background: var(--app-accent, #ff8a5c);
  box-shadow: 0 0 14px var(--aa-glow, rgba(255, 138, 92, 0.6));
  transform: scale(1.25);
}
.mt-dot.on.down { transform: scale(1.45); }

.mt-state {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}
.mt-state.on { color: var(--app-accent, #ff8a5c); }

.mt-hint {
  position: absolute;
  bottom: 22px;
  left: 0; right: 0;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  padding: 0 18px;
}
