.hero-audio-widget {
    width: min(100%, 980px);
    margin: 18px auto 22px;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
}

.hero-audio-widget [hidden] {
    display: none !important;
}

.hero-audio-card {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
    border-radius: 22px;
    background:
        radial-gradient(circle at top left, rgba(239, 68, 56, 0.16), transparent 34%),
        radial-gradient(circle at bottom right, rgba(255, 211, 107, 0.12), transparent 36%),
        linear-gradient(145deg, rgba(8, 13, 23, 0.96), rgba(13, 20, 33, 0.90));
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow:
        0 16px 42px rgba(0,0,0,0.28),
        inset 0 0 0 1px rgba(255,255,255,0.03);
}

.hero-audio-card::before,
.hero-audio-details::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            -35deg,
            rgba(255,255,255,0.025) 0px,
            rgba(255,255,255,0.025) 2px,
            transparent 2px,
            transparent 12px
        );
    pointer-events: none;
    opacity: 0.35;
}

.hero-audio-main {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.hero-audio-kicker {
    margin: 0 0 5px;
    color: #ffd36b;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-audio-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1;
    font-weight: 950;
    letter-spacing: -0.045em;
    text-shadow:
        1px 1px 0 rgba(239,68,56,0.65),
        3px 3px 0 rgba(0,0,0,0.40);
}

.hero-audio-status-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.32);
    box-shadow: 0 0 0 rgba(255,255,255,0);
    flex: 0 0 auto;
}

.hero-audio-widget[data-mode]:not([data-mode="off"]) .hero-audio-status-dot {
    background: #b9ff45;
    box-shadow: 0 0 16px rgba(185,255,69,0.45);
}

.hero-audio-subtitle {
    margin-top: 7px;
    color: rgba(255,255,255,0.72);
    font-size: 13px;
    line-height: 1.35;
    font-weight: 800;
}

.hero-audio-nowline {
    margin-top: 8px;
    color: rgba(255,255,255,0.70);
    font-size: 12px;
    font-weight: 850;
    line-height: 1.3;
    max-width: 72ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-audio-controls {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.hero-audio-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 86px;
    min-height: 42px;
    padding: 8px 13px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.16);
    background: linear-gradient(180deg, rgba(239,68,56,0.98), rgba(95,10,8,0.98));
    color: #ffffff;
    cursor: pointer;
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.04),
        0 10px 22px rgba(0,0,0,0.22);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-audio-play[disabled] {
    opacity: 0.48;
    cursor: not-allowed;
    filter: grayscale(0.35);
}

.hero-audio-play-icon {
    font-size: 13px;
    line-height: 1;
}

.hero-audio-toggle {
    position: relative;
    flex: 0 0 auto;
    width: 138px;
    min-height: 52px;
    padding: 6px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.08);
    cursor: pointer;
    color: #ffffff;
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.04),
        0 10px 22px rgba(0,0,0,0.22);
}

.hero-audio-toggle-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 44px;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    pointer-events: none;
}

.hero-audio-knob {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 35% 25%, rgba(255,255,255,0.38), transparent 32%),
        linear-gradient(180deg, rgba(239,68,56,0.98), rgba(95,10,8,0.98));
    border: 1px solid rgba(255,255,255,0.20);
    box-shadow: 0 8px 18px rgba(0,0,0,0.28);
    transition: left 0.18s ease, background 0.18s ease;
}

.hero-audio-widget[data-mode="2b2a"] .hero-audio-knob {
    left: 34px;
}

.hero-audio-widget[data-mode="pbs"] .hero-audio-knob {
    left: 62px;
}

.hero-audio-widget[data-mode="phreakfrequency"] .hero-audio-knob {
    left: 90px;
}

.hero-audio-widget[data-mode="2b2a"] .hero-audio-toggle,
.hero-audio-widget[data-mode="pbs"] .hero-audio-toggle,
.hero-audio-widget[data-mode="phreakfrequency"] .hero-audio-toggle {
    background: rgba(255,211,107,0.14);
    border-color: rgba(255,211,107,0.34);
}

.hero-audio-details {
    position: relative;
    overflow: hidden;
    margin-top: 10px;
    padding: 13px;
    border-radius: 18px;
    background: rgba(0,0,0,0.28);
    border: 1px solid rgba(255,255,255,0.10);
}

.hero-audio-error {
    position: relative;
    z-index: 2;
    color: #ffaaa3;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 800;
}

.hero-audio-player {
    display: none !important;
}

.hero-audio-link {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(239,68,56,0.98), rgba(95,10,8,0.98));
    border: 1px solid rgba(255,255,255,0.16);
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 950;
}

@media (max-width: 760px) {
    .hero-audio-card {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-audio-controls {
        width: 100%;
        justify-content: space-between;
    }

    .hero-audio-toggle {
        width: 100%;
        max-width: 260px;
    }

    .hero-audio-play {
        min-width: 92px;
    }

    .hero-audio-widget[data-mode="2b2a"] .hero-audio-knob {
        left: calc(33.333% - 14px);
    }

    .hero-audio-widget[data-mode="pbs"] .hero-audio-knob {
        left: calc(66.666% - 28px);
    }

    .hero-audio-widget[data-mode="phreakfrequency"] .hero-audio-knob {
        left: calc(100% - 46px);
    }
}
