body {
  font-family: Arial, sans-serif;
  max-width: 900px;
  margin: 50px auto;
  padding: 20px;
  background-color: #f5f5f5;
}
.container {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
h1 {
  color: #333;
  margin-bottom: 10px;
}
.subtitle {
  color: #666;
  margin-bottom: 30px;
  font-size: 14px;
}
.info-box {
  background-color: #e8f4f8;
  border-left: 4px solid #2196F3;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
}
.info-box h3 {
  margin-top: 0;
  color: #1976D2;
}
.warning-box {
  background-color: #fff3e0;
  border-left: 4px solid #ff9800;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
}
.warning-box h3 {
  margin-top: 0;
  color: #f57c00;
}
button {
  padding: 12px 24px;
  font-size: 16px;
  cursor: pointer;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 4px;
  margin-bottom: 20px;
  margin-right: 10px;
}
button:hover {
  background-color: #45a049;
}
button:active {
  background-color: #3d8b40;
}
button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}
#downloadWavButton {
  background-color: #2196F3;
}
#downloadWavButton:hover:not(:disabled) {
  background-color: #1976D2;
}
#downloadWavButton:active:not(:disabled) {
  background-color: #1565C0;
}
pre {
  background-color: #f4f4f4;
  padding: 15px;
  border-radius: 4px;
  overflow-x: auto;
  border: 1px solid #ddd;
  max-height: 400px;
  overflow-y: auto;
}
code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
}
.links {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
}
.links a {
  color: #2196F3;
  text-decoration: none;
  margin-right: 20px;
}
.links a:hover {
  text-decoration: underline;
}
.repo-link-footer {
  position: fixed;
  bottom: 10px;
  left: 10px;
  font-size: 12px;
  z-index: 1000;
}
.repo-link-footer a {
  color: #2196F3;
  text-decoration: none;
  margin-right: 15px;
  opacity: 0.5;
}
.repo-link-footer a:hover {
  opacity: 1;
  text-decoration: underline;
}
.status {
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 4px;
  font-size: 14px;
}
.status.loading {
  background-color: #fff3e0;
  color: #f57c00;
}
.status.ready {
  background-color: #e8f5e9;
  color: #2e7d32;
}
.status.error {
  background-color: #ffebee;
  color: #c62828;
}
@media (prefers-color-scheme: dark) {
  body {
    background-color: #1a1a1a;
    color: #e0e0e0;
  }
  .container {
    background-color: #2d2d2d;
    color: #e0e0e0;
  }
  h1, h2 {
    color: #f5f5f5;
  }
  .subtitle {
    color: #b0b0b0;
  }
  pre {
    background-color: #1e1e1e;
    border-color: #444;
    color: #e0e0e0;
  }
  .links {
    border-top-color: #444;
  }
  .repo-link-footer a {
    color: #64b5f6;
  }
}
