body {
  background: #f5f7fb;
  color: #0f172a;
}

.voice-page {
  min-height: 100vh;
}

.voice-hero {
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.3), transparent 30%),
              linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #0f766e 100%);
  color: #fff;
}

.voice-kicker {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.24);
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  margin-bottom: 14px;
}

.voice-card {
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.12);
  border-radius: 32px;
  padding: 36px 24px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(10px);
}

.big-mic-btn {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: 8px solid rgba(255,255,255,0.28);
  background: #22c55e;
  color: #fff;
  font-size: 5.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 26px 60px rgba(34, 197, 94, 0.36);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.big-mic-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 30px 70px rgba(34, 197, 94, 0.48);
}

body.listening .big-mic-btn {
  background: #ef4444;
  animation: micPulse 1.2s infinite;
}

.voice-state {
  font-size: 1.2rem;
  font-weight: 800;
}

.voice-transcript {
  font-size: 1rem;
  color: rgba(255,255,255,0.82);
  min-height: 28px;
}

.voice-wave-large {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 34px;
  opacity: 0.65;
}

.voice-wave-large span {
  display: inline-block;
  width: 6px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
}

body.listening .voice-wave-large span {
  animation: voiceWaveLarge 0.85s ease-in-out infinite;
}

body.listening .voice-wave-large span:nth-child(2) { animation-delay: 0.08s; }
body.listening .voice-wave-large span:nth-child(3) { animation-delay: 0.16s; }
body.listening .voice-wave-large span:nth-child(4) { animation-delay: 0.24s; }
body.listening .voice-wave-large span:nth-child(5) { animation-delay: 0.32s; }
body.listening .voice-wave-large span:nth-child(6) { animation-delay: 0.40s; }
body.listening .voice-wave-large span:nth-child(7) { animation-delay: 0.48s; }


.voice-loading {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.16);
  border-radius: 18px;
  padding: 14px 16px;
  text-align: left;
  color: rgba(255,255,255,0.94);
}

.voice-progress {
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  overflow: hidden;
}

.voice-progress .progress-bar {
  border-radius: 999px;
}

.reader-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.reader-box,
.summary-box,
.news-card {
  border: 0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.reader-box,
.summary-box {
  padding: 18px;
}

.reader-avatar {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: #dcfce7;
  color: #15803d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex: 0 0 auto;
}

.summary-box {
  white-space: pre-line;
  line-height: 1.65;
}

.news-card {
  height: 100%;
  padding: 20px;
}

.news-number {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: #eff6ff;
  color: #1d4ed8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex: 0 0 auto;
}

.news-title {
  font-weight: 800;
  line-height: 1.35;
}

.news-summary {
  color: #475569;
  line-height: 1.55;
  margin-top: 10px;
}

@keyframes micPulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.42); }
  70% { box-shadow: 0 0 0 26px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

@keyframes voiceWaveLarge {
  0%, 100% { height: 10px; }
  50% { height: 32px; }
}

@media (max-width: 576px) {
  .big-mic-btn {
    width: 148px;
    height: 148px;
    font-size: 4.1rem;
  }
  .voice-card {
    border-radius: 24px;
    padding: 28px 16px;
  }
}
