* { box-sizing: border-box; }
body { font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; margin: 0; color: #111; background: #0f172a; }
.container { max-width: 900px; margin: 0 auto; padding: 24px; }
h1 { color: #e2e8f0; }
label { display: block; color: #cbd5e1; margin-bottom: 6px; font-weight: 600; }
textarea { width: 100%; padding: 10px; border-radius: 8px; border: 1px solid #334155; background: #0b1220; color: #e2e8f0; min-height: 140px; }
input[type="number"], input[type="text"], input[type="file"] { width: 100%; padding: 10px; border-radius: 8px; border: 1px solid #334155; background: #0b1220; color: #e2e8f0; }
small { color: #94a3b8; }

.controls { margin-top: 16px; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }

button#generate { margin-top: 16px; background: #2563eb; color: white; border: none; padding: 12px 16px; border-radius: 10px; font-weight: 700; cursor: pointer; }
button#generate:hover { background: #1d4ed8; }

.status { margin-top: 16px; color: #e2e8f0; }

#result { margin-top: 24px; background: #0b1220; border: 1px solid #334155; padding: 16px; border-radius: 12px; }
#result.hidden { display: none; }
#result h2 { color: #e2e8f0; }
audio { width: 100%; margin-top: 8px; }
.actions { margin-top: 12px; display: flex; gap: 12px; }
.actions a, .actions button { background: #0b3b8c; color: #e2e8f0; padding: 10px 12px; border-radius: 8px; text-decoration: none; border: 1px solid #1e293b; }
.actions a:hover, .actions button:hover { background: #1e40af; }
