.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 28px 18px 48px;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
  color: #0f172a;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #f8fafc, #ffffff);
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  font-size: 0.95em;
}

.header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.brand {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 22px;
}

.tag {
  font-size: 12px;
  color: #334155;
  background: #e2e8f0;
  border-radius: 999px;
  padding: 3px 10px;
}

.panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 16px;
  box-shadow: 0 1px 0 rgba(2, 6, 23, 0.03);
  margin: 12px 0;
}

.h1 {
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.h2 {
  margin: 0 0 10px;
  font-size: 15px;
}

.note {
  margin: 0;
  color: #0f172a;
  line-height: 1.45;
}

.muted {
  color: #475569;
}

.kv {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 8px 12px;
  align-items: center;
  margin: 12px 0 6px;
}

.k {
  font-size: 12px;
  color: #64748b;
}

.v code {
  display: inline-block;
  padding: 4px 8px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  word-break: break-all;
}

.controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.btn {
  appearance: none;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 650;
  cursor: pointer;
  color: #0f172a;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn.primary {
  background: #0ea5e9;
  border-color: #0284c7;
  color: #ffffff;
}

.btn.ghost {
  background: #f8fafc;
}

.status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #94a3b8;
}

.dot.live {
  background: #ef4444;
}

.divider {
  height: 1px;
  background: #e2e8f0;
  margin: 16px 0;
}

audio {
  width: 100%;
}

.downloadRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.error {
  margin-top: 14px;
  border-radius: 12px;
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #7f1d1d;
  padding: 10px 12px;
  line-height: 1.4;
}

.footer {
  margin-top: 18px;
}

.hidden {
  display: none;
}

