.screen[data-screen="play"] {
  padding: 120px 16px 20px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.screen[data-screen="play"].active {
  display: flex;
}

.stage {
  width: 100%;
  max-width: 850px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  gap: 16px;
}

/* Slogan Presentation */
.slogan-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.slogan-caption {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--brand);
  letter-spacing: 0.2em;
  font-weight: 700;
  margin-bottom: 6px;
}

.slogan-text {
  font-family: var(--font-display);
  font-size: clamp(26px, 5.5vmin, 52px);
  font-weight: 900;
  color: #FFFFFF;
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
  letter-spacing: 0.04em;
  transition: transform 0.08s ease-out, color 0.15s ease-out;
}

.slogan-text.active-charge {
  background: linear-gradient(135deg, #38BDF8, #A855F7, #EC4899);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: scale(1.04);
  filter: drop-shadow(0 0 16px rgba(236, 72, 153, 0.6));
}

.threshold-badge {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  background: rgba(15, 23, 42, 0.7);
  padding: 4px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Meter Panel with Circular Gauge + Live dB Bar */
.meter-panel {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 6vw, 60px);
  padding: 10px 0;
}

/* Circular Charge Gauge */
.charge-circle-wrap {
  position: relative;
  width: clamp(160px, 32vmin, 220px);
  height: clamp(160px, 32vmin, 220px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.charge-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  overflow: visible;
}

.charge-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 14;
}

.charge-bar {
  fill: none;
  stroke: url(#chargeGrad);
  stroke: #38BDF8;
  stroke-width: 14;
  stroke-linecap: round;
  stroke-dasharray: 515.2; /* 2 * PI * 82 */
  stroke-dashoffset: 515.2;
  transition: stroke-dashoffset 0.08s linear, stroke 0.2s ease;
  filter: drop-shadow(0 0 8px #38BDF8);
}

.charge-inner {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.charge-pct {
  font-family: var(--font-display);
  font-size: clamp(34px, 7vmin, 48px);
  font-weight: 900;
  color: #FFFFFF;
}

.charge-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.15em;
}

/* dB Live Sound Meter */
.meter-column {
  height: clamp(180px, 34vmin, 230px);
  display: flex;
  align-items: center;
}

.db-meter-track {
  position: relative;
  width: 44px;
  height: 100%;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 22px;
  padding: 4px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
  overflow: visible;
}

.db-fill {
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 4px;
  height: 0%;
  border-radius: 18px;
  background: linear-gradient(to top, #38BDF8 0%, #6366F1 50%, #EC4899 90%);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
  transition: height 0.05s ease-out;
}

.db-peak {
  position: absolute;
  left: 4px;
  right: 4px;
  height: 4px;
  border-radius: 2px;
  background: #FFFFFF;
  box-shadow: 0 0 8px #FFFFFF;
  bottom: 4px;
  transition: bottom 0.1s linear;
}

/* Threshold line for -18 dB (approx 78% of the meter height) */
.db-threshold-line {
  position: absolute;
  left: -8px;
  right: -8px;
  bottom: 78%;
  height: 2px;
  background: #EC4899;
  box-shadow: 0 0 8px #EC4899;
  pointer-events: none;
}

.threshold-tag {
  position: absolute;
  left: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  color: #EC4899;
  white-space: nowrap;
}

/* Fallback button */
.fallback-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.fallback-btn {
  width: 100%;
  max-width: 460px;
  padding: 14px 20px;
  font-size: 14px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(236, 72, 153, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.fallback-btn:active, .fallback-btn.active {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.6), rgba(99, 102, 241, 0.6));
  border-color: #EC4899;
  box-shadow: 0 0 25px rgba(236, 72, 153, 0.6);
  transform: scale(0.98);
}

.fallback-btn .btn-icon {
  font-size: 20px;
}

@media (max-width: 600px) {
  .screen[data-screen="play"] {
    padding: 110px 12px 16px;
  }
  .hud {
    width: 96%;
    max-width: 380px;
    gap: 4px;
    justify-content: center;
  }
  .hud .pill {
    padding: 6px 10px;
    font-size: 13px;
  }
  .fallback-btn {
    font-size: 13px;
    padding: 12px 14px;
  }
  .meter-panel {
    gap: 20px;
  }
  .slogan-text {
    font-size: clamp(20px, 5.5vmin, 32px);
  }
  .charge-circle-wrap {
    width: 150px;
    height: 150px;
  }
  .db-meter-track {
    height: 160px;
  }
}

@media (max-height: 650px) {
  .screen[data-screen="play"] {
    padding-top: 96px;
    padding-bottom: 8px;
  }
  .hud {
    top: 60px;
  }
  .stage {
    gap: 8px;
  }
}
