.hcs-mixer {
    --hcs-panel: #241c17;
    --hcs-panel-2: #2f251d;
    --hcs-gold: #c9a34a;
    --hcs-gold-light: #e1c57a;
    --hcs-cream: #f4ead7;
    --hcs-muted: #bda98a;
    --hcs-line: rgba(201, 163, 74, 0.28);
    --hcs-shadow: rgba(0, 0, 0, 0.35);

    position: relative;
    max-width: 720px;
    margin: 24px auto;
    padding: 2.25rem;
    border-radius: 24px;
    color: var(--hcs-cream);
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.05), transparent 35%),
        linear-gradient(145deg, var(--hcs-panel-2), var(--hcs-panel));
    border: 1px solid rgba(201, 163, 74, 0.22);
    box-shadow:
        0 18px 40px var(--hcs-shadow),
        inset 0 1px 0 rgba(255,255,255,0.03);
    overflow: hidden;
}

.hcs-mixer::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid var(--hcs-line);
    border-radius: 18px;
    pointer-events: none;
}

.hcs-mixer::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(160deg, transparent 0%, rgba(201, 163, 74, 0.04) 52%, transparent 100%),
        repeating-linear-gradient(
            0deg,
            rgba(255,255,255,0.018) 0,
            rgba(255,255,255,0.018) 1px,
            transparent 1px,
            transparent 9px
        );
    opacity: 0.8;
    pointer-events: none;
}

.hcs-mixer__header,
.hcs-master-btn,
.hcs-controls {
    position: relative;
    z-index: 1;
}

.hcs-mixer__header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.hcs-mixer__kicker {
    margin: 0 0 0.5rem;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--hcs-gold);
}

.hcs-mixer h2 {
    margin: 0;
    color: var(--hcs-cream);
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    line-height: 1.1;
}

.hcs-mixer__subtitle {
    margin: 0.75rem auto 0;
    max-width: 36rem;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--hcs-muted);
}

.hcs-divider {
    width: 120px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--hcs-gold), transparent);
    margin: 1rem auto 0;
    opacity: 0.9;
}

.hcs-master-btn {
    display: block;
    width: 100%;
    max-width: 420px;
    margin: 0 auto 2rem;
    padding: 0.95rem 1.4rem;
    border-radius: 999px;
    border: 1px solid rgba(201, 163, 74, 0.5);
    background: linear-gradient(180deg, #d8b35d, #bf9540);
    color: #201914;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    box-shadow:
        0 10px 20px rgba(0,0,0,0.18),
        inset 0 1px 0 rgba(255,255,255,0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hcs-master-btn:hover,
.hcs-master-btn:focus-visible {
    transform: translateY(-1px);
    box-shadow:
        0 14px 24px rgba(0,0,0,0.22),
        inset 0 1px 0 rgba(255,255,255,0.35);
}

.hcs-master-btn:focus-visible,
.hcs-volume-slider:focus-visible {
    outline: 2px solid var(--hcs-gold-light);
    outline-offset: 4px;
}

.hcs-master-btn.active {
    background: transparent;
    color: var(--hcs-cream);
    border-color: rgba(201, 163, 74, 0.55);
    box-shadow:
        0 10px 20px rgba(0,0,0,0.16),
        inset 0 0 0 1px rgba(201, 163, 74, 0.15);
}

.hcs-controls {
    display: grid;
    gap: 1rem;
}

.hcs-sound-row {
    padding: 1rem 1rem 0.9rem;
    border: 1px solid rgba(201, 163, 74, 0.12);
    border-radius: 16px;
    background: rgba(255,255,255,0.02);
}

.hcs-sound-label {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.7rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--hcs-cream);
}

.hcs-sound-icon {
    display: inline-grid;
    place-items: center;
    width: 1.7rem;
    height: 1.7rem;
    border: 1px solid rgba(201, 163, 74, 0.28);
    border-radius: 50%;
    color: var(--hcs-gold-light);
    font-size: 0.95rem;
    line-height: 1;
}

.hcs-volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    background: transparent;
    cursor: pointer;
}

.hcs-volume-slider::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(to right, #57473b, #4a3d32);
}

.hcs-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    margin-top: -6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #b7892f;
    background: radial-gradient(circle at 30% 30%, #f2d58f, #c49a42 65%, #9b742c 100%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hcs-volume-slider::-moz-range-track {
    height: 6px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(to right, #57473b, #4a3d32);
}

.hcs-volume-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border: 2px solid #b7892f;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #f2d58f, #c49a42 65%, #9b742c 100%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

@media (max-width: 640px) {
    .hcs-mixer {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .hcs-mixer::before {
        inset: 10px;
    }

    .hcs-sound-row {
        padding: 0.9rem 0.85rem 0.8rem;
    }
}
