* {
    box-sizing: border-box;
}

body {
    background: #000;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    padding: 24px;
}

.card {
    width: 100%;
    max-width: 420px;
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

h1 {
    text-align: center;
    font-size: 1.5rem;
    margin: 0 0 4px;
}

.accent {
    color: #eab308;
}

.subtitle {
    text-align: center;
    color: #a1a1aa;
    font-size: 0.8rem;
    margin: 0 0 20px;
}

textarea, select {
    width: 100%;
    background: #000;
    border: 1px solid #3f3f46;
    color: #fff;
    padding: 14px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
}

textarea:focus, select:focus {
    outline: none;
    border-color: #eab308;
}

.char-count {
    text-align: right;
    font-size: 0.7rem;
    color: #71717a;
    margin: 4px 0 16px;
}

.field {
    margin-bottom: 16px;
}

.field-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #a1a1aa;
    font-weight: 700;
    margin-bottom: 8px;
}

.status {
    text-transform: none;
    font-size: 0.65rem;
}

.status-loading { color: #eab308; }
.status-ok { color: #10b981; }
.status-error { color: #ef4444; }

input[type="range"] {
    width: 100%;
    accent-color: #eab308;
}

button {
    width: 100%;
    background: #eab308;
    color: #000;
    font-weight: 700;
    padding: 14px;
    margin-top: 8px;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.15s;
}

button:hover:not(:disabled) {
    background: #facc15;
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

audio {
    width: 100%;
    margin-top: 20px;
}

.error {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 12px;
    text-align: center;
}

.hidden {
    display: none;
}
