.spk-card { padding: 0; overflow: hidden; }

/* Slim, professional toolbar - matches the recorder/webcam tool pattern used elsewhere in the hub */
.spk-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 14px 22px; border-bottom: 1px solid #eee; background: #fafbfc; }
.spk-toolbar-brand { display: flex; align-items: center; gap: 9px; font-weight: 700; color: #1f2937; font-size: 1.02em; }
.spk-toolbar-brand i { color: var(--site-dark-2); }

.spk-body { padding: 22px; }

.spk-status { text-align: center; color: #6b7280; font-size: .88em; margin-bottom: 18px; min-height: 1.4em; }

/* Channel test row: Left / Both / Right, with a visual stereo-field feel */
.spk-channel-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; margin-bottom: 22px; }
.spk-channel-btn { border: 2px solid #e5e7eb; background: #fff; border-radius: 12px; padding: 22px 14px; display: flex; flex-direction: column; align-items: center; gap: 10px; cursor: pointer; font-weight: 700; color: #23272f; transition: all .15s ease; }
.spk-channel-btn i { font-size: 1.8em; color: var(--site-dark-2); }
.spk-channel-btn span.spk-channel-sub { font-weight: 400; font-size: .78em; color: #6b7280; }
.spk-channel-btn:hover { border-color: var(--site-accent); transform: translateY(-2px); }
.spk-channel-btn.is-playing { border-color: var(--site-accent); background: rgba(13,148,136,.08); box-shadow: 0 0 0 4px rgba(13,148,136,.12); animation: spk-pulse 1s ease-in-out infinite; }
.spk-channel-btn.is-playing i { color: var(--site-accent); }

@keyframes spk-pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(13,148,136,.12); }
    50% { box-shadow: 0 0 0 9px rgba(13,148,136,.05); }
}

.spk-section-title { font-size: .82em; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #6b7280; margin: 0 0 12px; display: flex; align-items: center; gap: 7px; }
.spk-section-title i { color: var(--site-dark-2); }

.spk-freq-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.spk-freq-btn { border: 2px solid #e5e7eb; background: #fff; border-radius: 9px; padding: 12px 18px; font-weight: 600; color: #23272f; cursor: pointer; transition: all .15s ease; display: flex; align-items: center; gap: 8px; }
.spk-freq-btn:hover { border-color: var(--site-accent); }
.spk-freq-btn.is-playing { border-color: var(--site-accent); background: rgba(13,148,136,.08); color: var(--site-dark-2); animation: spk-pulse 1s ease-in-out infinite; }
.spk-freq-btn .spk-freq-label { font-weight: 700; }
.spk-freq-btn .spk-freq-desc { font-weight: 400; font-size: .78em; color: #6b7280; }

.spk-volume-row { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fafbfc; border: 1px solid #eee; border-radius: 10px; margin-bottom: 18px; }
.spk-volume-row i { color: var(--site-dark-2); font-size: 1.1em; }
.spk-volume-row input[type="range"] { flex: 1; accent-color: var(--site-accent); }
.spk-volume-value { font-weight: 700; color: #23272f; font-size: .9em; width: 3.2em; text-align: right; }

.spk-error { margin-top: 4px; background: rgba(220,38,38,.08); border: 1px solid rgba(220,38,38,.25); color: var(--site-danger); padding: 10px 14px; border-radius: 8px; font-size: .88em; line-height: 1.5; }

.spk-privacy-note { display: flex; align-items: flex-start; gap: 10px; margin: 0 22px 22px; padding: 14px 16px; background: var(--site-success-bg); border: 1px solid var(--site-success-border); border-radius: 10px; color: var(--site-success); font-size: .88em; line-height: 1.6; }
.spk-privacy-note i { margin-top: 2px; color: var(--site-success); flex-shrink: 0; }

@media (max-width: 700px) {
    .spk-channel-row { grid-template-columns: 1fr; }
    .spk-freq-row { flex-direction: column; }
    .spk-privacy-note { margin: 0 16px 16px; }
    .spk-body { padding: 16px; }
}
