/* Magic407 professional polish layer */
:root {
    --pro-page-max: 1560px;
    --pro-card: rgba(22, 20, 34, 0.82);
    --pro-card-2: rgba(38, 30, 52, 0.74);
    --pro-border: rgba(194, 92, 255, 0.28);
    --pro-border-warm: rgba(255, 102, 26, 0.30);
    --pro-glow-purple: rgba(141, 0, 255, 0.32);
    --pro-glow-orange: rgba(255, 90, 0, 0.24);
    --pro-ink: rgba(247, 247, 251, 0.92);
    --pro-muted: rgba(210, 200, 224, 0.76);
}

body {
    background:
        radial-gradient(circle at 16% 0%, rgba(141, 0, 255, 0.24), transparent 34rem),
        radial-gradient(circle at 86% 8%, rgba(255, 90, 0, 0.18), transparent 32rem),
        linear-gradient(180deg, rgba(19, 4, 29, 0.90), rgba(7, 6, 13, 0.98) 28rem),
        #07060d;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 72%);
}

.site-shell {
    width: min(100%, var(--pro-page-max));
}

.topbar {
    min-height: 86px;
    margin-top: 10px;
    padding: 13px 18px;
    border: 1px solid rgba(186, 88, 255, 0.16);
    border-radius: 0 0 8px 8px;
    background:
        linear-gradient(90deg, rgba(16, 5, 25, 0.86), rgba(54, 31, 65, 0.58), rgba(20, 8, 14, 0.82)),
        rgba(7, 6, 13, 0.78);
    box-shadow:
        0 18px 60px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand-mark {
    width: 54px;
    height: 54px;
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.12),
        0 0 0 5px rgba(141, 0, 255, 0.12),
        0 16px 34px rgba(255, 90, 0, 0.18);
}

.brand strong {
    font-size: 1.26rem;
}

.brand small {
    font-size: 0.88rem;
}

.nav {
    gap: 2px;
    padding: 7px;
    border-color: rgba(255, 255, 255, 0.16);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.035)),
        linear-gradient(90deg, rgba(141, 0, 255, 0.24), rgba(255, 90, 0, 0.13));
}

.nav a {
    min-height: 42px;
    padding-inline: 17px;
    letter-spacing: -0.01em;
}

.ghost-link {
    min-width: 140px;
    min-height: 46px;
    padding-inline: 20px;
    border-color: rgba(255, 90, 0, 0.34);
    background:
        radial-gradient(circle at 0% 0%, rgba(141, 0, 255, 0.24), transparent 70%),
        rgba(255, 90, 0, 0.06);
    box-shadow: 0 12px 34px rgba(255, 90, 0, 0.12);
}

.top-banner {
    height: clamp(172px, 18vw, 286px);
    margin-top: 16px;
    overflow: hidden;
    border: 1px solid rgba(194, 92, 255, 0.24);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(36, 0, 63, 0.50), transparent 28%, transparent 70%, rgba(68, 20, 8, 0.50)),
        #030306;
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.32),
        0 0 42px rgba(141, 0, 255, 0.10);
}

.top-banner img {
    object-fit: contain;
    padding: 0;
}

.live-strip {
    display: none;
}

.hero {
    grid-template-columns: minmax(0, 0.78fr) minmax(520px, 1.22fr);
    gap: 24px;
    min-height: auto;
    padding-top: 28px;
}

.hero-copy,
.player-card,
.section {
    border-color: var(--pro-border);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.034)),
        var(--pro-card);
    box-shadow:
        0 26px 84px rgba(0, 0, 0, 0.38),
        0 0 34px rgba(141, 0, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-copy {
    position: relative;
    overflow: hidden;
    min-height: 500px;
    justify-content: flex-start;
    padding: 22px clamp(30px, 3.4vw, 52px) clamp(30px, 3.4vw, 52px);
}

.hero-copy::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(115deg, rgba(153, 25, 255, 0.18), transparent 42%),
        radial-gradient(circle at 18% 18%, rgba(255, 102, 26, 0.18), transparent 18rem);
    opacity: 0.75;
}

.hero-copy > * {
    position: relative;
    z-index: 1;
}

.hero-copy h1 {
    max-width: 600px;
    font-size: clamp(2.1rem, 3.05vw, 3.75rem);
    line-height: 1.02;
    margin-top: 22px;
    letter-spacing: 0;
}

.hero-title-brand,
.hero-title-sub {
    display: block;
}

.hero-title-sub {
    margin-top: 0.08em;
    font-size: 0.72em;
    line-height: 1.08;
    font-weight: 800;
}

h1 {
    max-width: 620px;
    font-size: clamp(2.1rem, 3.05vw, 3.75rem);
}

.section h2,
.section-head h2,
.full-schedule h2 {
    font-size: clamp(1.45rem, 1.9vw, 2.15rem);
    letter-spacing: -0.035em;
}

.lead {
    max-width: 610px;
    margin-top: 20px;
    font-size: clamp(1.02rem, 1.08vw, 1.22rem);
    line-height: 1.55;
}

.hero-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hero-signals span {
    display: grid;
    gap: 3px;
    min-width: 138px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(170, 32, 255, 0.16), rgba(255, 94, 20, 0.08)),
        rgba(6, 5, 12, 0.28);
}

.hero-signals strong {
    color: #fff;
    font-size: 1rem;
    line-height: 1;
}

.hero-signals small {
    color: rgba(247, 247, 251, 0.72);
    font-size: 0.78rem;
    line-height: 1.25;
}

.welcome-copy {
    max-width: 650px;
    margin-top: 24px;
    padding: 13px 0 13px 18px;
    border-left: 3px solid var(--orange);
    color: rgba(247, 247, 251, 0.78);
    font-size: clamp(0.95rem, 1vw, 1.08rem);
    line-height: 1.62;
}

.eyebrow {
    color: var(--orange-soft);
    letter-spacing: 0.16em;
    text-shadow: 0 0 20px rgba(255, 90, 0, 0.18);
}

.ticker {
    margin-top: 20px;
}

.ticker span,
.day-tabs button,
.text-link,
.secondary-button,
.cast-button,
.popup-player-button {
    border-color: rgba(194, 92, 255, 0.22);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
        rgba(31, 22, 43, 0.56);
}

.ticker span:hover,
.day-tabs button:hover,
.text-link:hover,
.secondary-button:hover,
.cast-button:hover,
.popup-player-button:hover {
    border-color: rgba(255, 90, 0, 0.42);
}

.primary-button,
.secondary-button,
.text-link,
.poll-form button,
.contact-form button,
.request-btn,
.popup-player-button,
.cast-button {
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.primary-button:hover,
.text-link:hover,
.poll-form button:hover,
.contact-form button:hover,
.request-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 42px rgba(255, 90, 0, 0.24), 0 0 28px rgba(141, 0, 255, 0.16);
}

.pro-player-main {
    grid-template-columns: 210px minmax(0, 1fr);
    align-items: center;
}

.pro-player .art-wrap {
    width: 200px;
    height: 200px;
    margin: 10px auto;
}

.track-meta h2 {
    max-width: 680px;
    font-size: clamp(1.18rem, 1.45vw, 1.62rem);
    line-height: 1.18;
    letter-spacing: 0;
    font-weight: 850;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.player-eq {
    display: block;
    width: 100%;
    height: 80px;
    min-height: 72px;
    margin-top: 22px;
    opacity: 0.92;
    transform: translateZ(0);
}

.player-bio {
    background: rgba(3, 4, 8, 0.48);
    border-color: rgba(255, 255, 255, 0.10);
}

.section {
    margin-top: 24px;
    position: relative;
    overflow: hidden;
    padding-top: clamp(32px, 3vw, 46px);
    padding-bottom: clamp(32px, 3vw, 46px);
}

.section::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, var(--purple), var(--orange), transparent);
    opacity: 0.65;
}

.section > * {
    position: relative;
    z-index: 1;
}

.split {
    grid-template-columns: 0.72fr 1.28fr;
}

.schedule-list article,
.week-row,
.request-live-card,
.request-state,
.request-results .track,
.request-results .empty,
.station-info-card,
.contact-grid article,
.contact-form,
.poll-card,
.update-grid article {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.086), rgba(255, 255, 255, 0.026)),
        rgba(10, 11, 18, 0.42);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.055),
        0 14px 36px rgba(0, 0, 0, 0.18);
}

.week-row {
    grid-template-columns: 138px 64px minmax(0, 1fr);
    border-radius: 8px;
}

.week-photo,
.schedule-list article > img {
    box-shadow: 0 0 0 2px rgba(141, 0, 255, 0.26), 0 14px 30px rgba(0, 0, 0, 0.25);
}

.dj-week-card {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    margin: 0 0 22px;
    padding: 20px 22px;
    border: 1px solid rgba(255, 90, 0, 0.22);
    border-radius: 18px;
    background:
        radial-gradient(circle at 8% 10%, rgba(141, 0, 255, 0.26), transparent 16rem),
        radial-gradient(circle at 92% 50%, rgba(255, 90, 0, 0.16), transparent 18rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.074), rgba(255, 255, 255, 0.022)),
        rgba(8, 8, 14, 0.58);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 20px 50px rgba(0, 0, 0, 0.22);
    overflow: hidden;
}

.dj-week-art {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, #8d00ff, #e2308d 52%, #ff5a00);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28), 0 0 30px rgba(141, 0, 255, 0.24);
}

.dj-week-art img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
    background: #05050a;
}

.dj-week-card h3 {
    margin: 4px 0 2px;
    font-size: clamp(1.65rem, 3vw, 2.55rem);
    line-height: 0.98;
}

.dj-week-card p:not(.eyebrow) {
    margin: 0;
    color: rgba(247, 247, 251, 0.72);
    font-size: 1rem;
    font-weight: 750;
}

.dj-week-time {
    display: inline-flex;
    width: fit-content;
    margin-top: 10px !important;
    padding: 8px 12px;
    border: 1px solid rgba(52, 211, 153, 0.28);
    border-radius: 999px;
    background: rgba(52, 211, 153, 0.08);
    color: #34d399 !important;
    font-size: 0.86rem !important;
    font-weight: 950 !important;
}

.dj-strip {
    grid-auto-columns: minmax(178px, 208px);
    padding-bottom: 24px;
    scroll-snap-type: x proximity;
}

.dj-card {
    min-height: 232px;
    scroll-snap-align: start;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 90, 0, 0.16), transparent 42%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
        rgba(10, 11, 18, 0.44);
    border-color: rgba(255, 255, 255, 0.12);
}

.dj-card > img {
    width: 112px;
    height: 112px;
    box-shadow:
        0 0 0 3px rgba(141, 0, 255, 0.22),
        0 0 0 6px rgba(255, 90, 0, 0.10),
        0 18px 34px rgba(0, 0, 0, 0.30);
}

.updates-section .update-grid article:last-child {
    border-color: var(--pro-border-warm);
}

.request-panel {
    border-color: rgba(52, 211, 153, 0.24);
}

.request-panel .section-head {
    align-items: center;
}

.request-live-card {
    grid-template-columns: 96px minmax(0, 1fr);
    border-color: rgba(52, 211, 153, 0.20);
}

.request-cover {
    border-radius: 14px;
    border-color: rgba(141, 0, 255, 0.78);
}

.listener-request-form {
    display: grid;
    gap: 16px;
    margin-top: 18px;
    padding: 22px;
    border: 1px solid rgba(186, 88, 255, 0.24);
    border-radius: 16px;
    background:
        radial-gradient(circle at 14% 0%, rgba(141, 0, 255, 0.20), transparent 18rem),
        radial-gradient(circle at 90% 18%, rgba(255, 90, 0, 0.16), transparent 18rem),
        rgba(4, 5, 10, 0.42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.request-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.listener-request-form label,
.request-message-field {
    display: grid;
    gap: 8px;
}

.listener-request-form label span,
.request-message-field span {
    color: rgba(247, 247, 251, 0.86);
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.listener-request-form input,
.listener-request-form textarea {
    width: 100%;
    border: 1px solid rgba(186, 88, 255, 0.24);
    border-radius: 12px;
    outline: 0;
    background: rgba(5, 6, 10, 0.78);
    color: var(--text);
    padding: 14px 15px;
    font: inherit;
    font-weight: 750;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.listener-request-form input[type="file"] {
    padding: 11px 14px;
    color: rgba(247, 247, 251, 0.72);
}

.listener-request-form input::file-selector-button {
    margin-right: 12px;
    border: 1px solid rgba(255, 90, 0, 0.38);
    border-radius: 999px;
    background: rgba(255, 90, 0, 0.12);
    color: var(--text);
    padding: 8px 12px;
    font-weight: 900;
    cursor: pointer;
}

.listener-request-form textarea {
    min-height: 130px;
    resize: vertical;
}

.listener-request-form input:focus,
.listener-request-form textarea:focus {
    border-color: rgba(255, 90, 0, 0.74);
    box-shadow: 0 0 0 4px rgba(141, 0, 255, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.request-unavailable {
    border: 1px solid rgba(255, 90, 0, 0.36);
    border-radius: 14px;
    padding: 14px 16px;
    color: #ffb26b;
    background: rgba(255, 90, 0, 0.10);
    font-weight: 900;
}

.request-form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.request-state.is-success {
    color: #34d399;
    border-color: rgba(52, 211, 153, 0.58);
    background: rgba(52, 211, 153, 0.10);
}

.request-state.is-error {
    color: #ff9f43;
    border-color: rgba(255, 90, 0, 0.36);
    background: rgba(255, 90, 0, 0.08);
}

.request-results .track {
    grid-template-columns: 80px minmax(0, 1fr) auto;
}

.request-results .track img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
}

.poll-options {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.poll-options label {
    min-height: 44px;
}

.style-options {
    opacity: 0.72;
}

.info-layout {
    grid-template-columns: 0.86fr 1.14fr;
}

.sticky-player {
    border-color: rgba(255, 90, 0, 0.40);
}

.sticky-player a {
    border-color: rgba(52, 211, 153, 0.24);
}

.footer {
    border-top: 1px solid rgba(186, 88, 255, 0.16);
    margin-top: 28px;
}

@media (max-width: 1180px) {
    .hero,
    .split,
    .info-layout {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        min-height: auto;
    }
}

@media (max-width: 720px) {
    .dj-week-card {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 14px;
        padding: 16px;
    }

    .dj-week-art {
        width: 76px;
        height: 76px;
    }

    .dj-week-card .text-link {
        grid-column: 1 / -1;
        width: 100%;
        text-align: center;
    }

    .request-form-grid {
        grid-template-columns: 1fr;
    }

    .listener-request-form {
        padding: 16px;
    }

    .request-form-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .request-form-actions .request-btn,
    .request-form-actions .request-state {
        width: 100%;
    }
}

@media (max-width: 980px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .site-shell {
        width: 100%;
        max-width: 100%;
        padding-inline: 10px;
        overflow-x: hidden;
    }

    .topbar {
        width: 100%;
        max-width: 100%;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        min-height: 78px;
        gap: 8px;
        padding: 10px;
        overflow: visible;
    }

    .nav {
        position: fixed;
        left: 10px;
        right: 10px;
        top: 78px;
        width: auto;
        max-width: calc(100vw - 20px);
        overflow-x: hidden;
        z-index: 90;
        border-radius: 14px;
    }

    .brand-side,
    .top-actions {
        min-width: 0;
    }

    .brand-side {
        display: flex;
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
    }

    .top-actions {
        display: flex;
        justify-content: flex-end;
        width: auto;
        max-width: 100%;
        gap: 8px;
    }

    .brand {
        min-width: 0;
        flex: 1 1 auto;
        overflow: hidden;
    }

    .brand strong {
        max-width: 34vw;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .language-switch {
        flex: 0 0 auto;
    }

    .social-links {
        display: none;
    }

    .pro-player-main {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .track-board {
        grid-template-columns: 1fr;
    }

    .player-controls {
        justify-content: center;
    }
}

@media (max-width: 560px) {
    body {
        padding-bottom: 92px;
    }

    .top-banner {
        height: 160px;
    }

    .topbar {
        position: sticky;
        left: 0;
        right: 0;
        margin-top: 6px;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .brand-mark {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }

    .brand strong {
        max-width: 26vw;
        font-size: 1.05rem;
    }

    .brand-side {
        gap: 8px;
    }

    .top-actions {
        gap: 6px;
    }

    .language-switch button {
        width: 26px;
        height: 28px;
        font-size: 0.85rem;
    }

    .language-switch {
        gap: 2px;
        padding: 2px;
    }

    .menu-button {
        width: 38px;
        height: 40px;
        min-width: 38px;
    }

    .nav {
        left: 8px;
        right: 8px;
        top: 72px;
        max-width: calc(100vw - 16px);
        padding: 8px;
    }

    h1 {
        font-size: 2.45rem;
    }

    .pro-player .art-wrap {
        width: min(190px, 58vw);
        height: min(190px, 58vw);
        margin: 4px auto 12px;
    }

    .track-meta h2 {
        font-size: 1.18rem;
        -webkit-line-clamp: 2;
    }

    .track-meta .next-track {
        width: 100%;
        justify-content: flex-start;
        border-radius: 14px;
    }

    .track-meta .next-track strong {
        max-width: none;
    }

    .player-eq {
        height: 62px;
        min-height: 62px;
        margin-top: 14px;
    }

    .player-bio {
        max-height: 106px;
        padding: 12px;
    }

    .player-controls {
        display: grid;
        grid-template-columns: 58px minmax(0, 1fr);
        align-items: center;
        gap: 10px;
    }

    .player-controls .stream-line {
        min-width: 0;
    }

    .volume-control,
    .cast-button,
    .popup-player-button {
        grid-column: 1 / -1;
        width: 100%;
        justify-content: center;
    }

    .volume-control {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) 44px;
    }

    .volume-control input {
        width: 100%;
        min-height: 34px;
    }

    .track-board {
        gap: 10px;
    }

    .track-board section {
        padding: 12px;
    }

    .track-board-item {
        grid-template-columns: 28px 38px minmax(0, 1fr);
        gap: 8px;
        padding: 8px;
    }

    .track-board-photo {
        width: 38px;
        height: 38px;
    }

    .track-board-copy strong {
        font-size: 0.82rem;
    }

    .track-board-copy small {
        font-size: 0.7rem;
    }

    .hero-actions > * {
        width: 100%;
    }

    .sticky-player {
        bottom: 10px;
        grid-template-columns: 40px minmax(0, 1fr) 38px;
        gap: 9px;
        width: calc(100% - 20px);
        padding: 9px 10px;
        border-radius: 16px;
    }

    .sticky-player img {
        width: 40px;
        height: 40px;
    }

    .sticky-player strong {
        font-size: 0.9rem;
    }

    .sticky-player span {
        font-size: 0.76rem;
    }

    .request-results .track {
        grid-template-columns: 68px minmax(0, 1fr);
    }

    .request-results .track .request-btn {
        grid-column: 1 / -1;
    }
}

.dj-flag {
    width: 18px !important;
    height: 12px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    border-radius: 1px !important;
    object-fit: cover !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.28) !important;
}

/* Magic407 Prosody chat */
.chat-section {
    scroll-margin-top: 96px;
}

.chat-section .section-head {
    align-items: flex-end;
    gap: 24px;
}

.chat-shell {
    position: relative;
    overflow: hidden;
    min-height: clamp(220px, 30vh, 320px);
    border: 1px solid rgba(255, 204, 41, 0.24);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 204, 41, 0.09), transparent 94px),
        radial-gradient(circle at 12% 0%, rgba(141, 0, 255, 0.24), transparent 30rem),
        radial-gradient(circle at 92% 0%, rgba(255, 90, 0, 0.18), transparent 28rem),
        #05020a;
    box-shadow:
        0 28px 90px rgba(0, 0, 0, 0.42),
        0 0 46px rgba(141, 0, 255, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.chat-launch-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(24px, 5vw, 48px);
}

.chat-launch-panel strong {
    display: block;
    color: #fffaf0;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    line-height: 1.05;
}

.chat-launch-panel p {
    max-width: 680px;
    margin: 12px 0 0;
    color: rgba(255, 250, 240, 0.72);
    font-size: 1.05rem;
    line-height: 1.6;
}

.chat-frame {
    display: block;
    width: 100%;
    height: clamp(620px, 74vh, 760px);
    min-height: inherit;
    border: 0;
    background: #05020a;
}

@media (max-width: 720px) {
    .chat-section .section-head {
        align-items: flex-start;
    }

    .chat-shell {
        min-height: 260px;
        border-radius: 12px;
    }

    .chat-launch-panel {
        align-items: flex-start;
        flex-direction: column;
    }
}

.listenback-inline[hidden] {
    display: none !important;
}

.listenback-inline {
    padding: 24px;
}

.listenback-inline-inner {
    display: grid;
    gap: 22px;
}

.listenback-list {
    display: grid;
    gap: 12px;
    max-height: min(42vh, 430px);
    overflow-y: auto;
    padding-right: 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 91, 31, .72) rgba(255, 255, 255, .08);
}

.listenback-list::-webkit-scrollbar {
    width: 9px;
}

.listenback-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .07);
    border-radius: 999px;
}

.listenback-list::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #b913ff, #ff5a1f);
    border-radius: 999px;
}

.listenback-item {
    display: flex;
    gap: 12px;
    align-items: center;
    width: 100%;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 10px;
    background: rgba(255,255,255,.055);
    padding: 10px 12px;
    color: #fff;
    cursor: pointer;
    text-align: left;
}

.listenback-item:hover {
    border-color: rgba(255, 91, 31, .6);
    background:
        linear-gradient(135deg, rgba(160, 0, 255, .18), rgba(255, 91, 31, .12)),
        rgba(255,255,255,.07);
}

.listenback-cover {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border: 2px solid rgba(105, 28, 150, .82);
    border-radius: 50%;
    object-fit: cover;
    background: rgba(0, 0, 0, .35);
}

.listenback-title {
    color: #fff;
    font-size: clamp(15px, 1.05vw, 18px);
    font-weight: 800;
    line-height: 1.25;
}

.listenback-copy {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 7px;
    min-width: 0;
}

.listenback-date {
    color: #bdaec8;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
}

.listenback-download {
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    border-radius: 8px;
    padding: 10px 12px;
    background: linear-gradient(135deg,#a000ff,#ff5a1f);
}

@media (max-width: 820px) {
    .listenback-item {
        align-items: flex-start;
    }
}

/* Strakker Magic407 polish - 2026-08-02 */
:root {
    --pro-page-max: 1680px;
    --pro-card: rgba(18, 17, 27, 0.88);
    --pro-card-2: rgba(28, 25, 39, 0.78);
    --pro-border: rgba(194, 92, 255, 0.22);
    --pro-border-warm: rgba(255, 102, 26, 0.24);
}

body {
    background:
        linear-gradient(180deg, rgba(18, 5, 28, 0.94), rgba(6, 5, 10, 0.99) 420px),
        #07060d;
}

body::before {
    opacity: 0.42;
}

.site-shell {
    padding-inline: clamp(14px, 1.6vw, 28px);
}

.topbar {
    min-height: 74px;
    margin-top: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(14, 6, 23, 0.94), rgba(35, 23, 47, 0.78), rgba(17, 7, 14, 0.92)),
        rgba(7, 6, 13, 0.90);
    box-shadow:
        0 14px 42px rgba(0, 0, 0, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.brand-side {
    min-width: 248px;
}

.brand-mark {
    width: 48px;
    height: 48px;
}

.brand strong {
    font-size: 1.16rem;
    line-height: 1;
}

.brand small {
    margin-top: 4px;
    font-size: 0.8rem;
}

.language-switch {
    background: rgba(255, 255, 255, 0.055);
}

.nav {
    padding: 5px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
        rgba(22, 14, 32, 0.78);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 12px 34px rgba(0, 0, 0, 0.18);
}

.nav a {
    min-height: 36px;
    padding-inline: 13px;
    font-size: 0.88rem;
}

.nav a::after {
    left: 13px;
    right: 13px;
    bottom: 4px;
}

.social-link {
    width: 40px;
    height: 40px;
}

.ghost-link {
    min-width: 124px;
    min-height: 40px;
    padding-inline: 16px;
}

.top-banner {
    height: clamp(156px, 16vw, 244px);
    margin-top: 14px;
    border-color: rgba(194, 92, 255, 0.18);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.hero {
    grid-template-columns: minmax(420px, 0.72fr) minmax(560px, 1.28fr);
    gap: 18px;
    padding-top: 18px;
}

.hero-copy,
.player-card,
.section,
.dj-week-card,
.chat-shell,
.listener-request-form {
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.082), rgba(255, 255, 255, 0.024)),
        var(--pro-card);
    box-shadow:
        0 18px 54px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.hero-copy {
    min-height: 430px;
    padding: clamp(24px, 2.4vw, 38px);
}

.hero-copy h1,
h1 {
    max-width: 560px;
    font-size: clamp(2rem, 2.45vw, 3.15rem);
    line-height: 1.04;
}

.hero-title-sub {
    font-size: 0.68em;
}

.lead {
    max-width: 560px;
    margin-top: 16px;
    font-size: clamp(0.98rem, 1vw, 1.12rem);
}

.hero-signals {
    gap: 8px;
    margin-top: 20px;
}

.hero-signals span {
    min-width: 126px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.045);
}

.welcome-copy {
    max-width: 580px;
    margin-top: 18px;
    padding-block: 10px;
    font-size: 0.96rem;
    line-height: 1.54;
}

.hero-actions {
    margin-top: 22px;
}

.primary-button,
.secondary-button,
.text-link,
.request-btn,
.popup-player-button,
.cast-button,
.poll-form button,
.contact-form button {
    border-radius: 8px;
    min-height: 42px;
}

.primary-button {
    padding-inline: 22px;
}

.pro-player {
    padding: clamp(18px, 2vw, 26px);
}

.pro-player-main {
    grid-template-columns: 168px minmax(0, 1fr);
    gap: 22px;
}

.pro-player .art-wrap {
    width: 168px;
    height: 168px;
}

.track-meta h2 {
    font-size: clamp(1.1rem, 1.28vw, 1.42rem);
    line-height: 1.2;
    -webkit-line-clamp: 2;
}

.player-eq {
    height: 62px;
    min-height: 62px;
    margin-top: 16px;
}

.player-bio {
    margin-top: 16px;
    padding: 14px;
    border-radius: 8px;
}

.player-controls {
    gap: 10px;
    margin-top: 16px;
}

.round-button {
    width: 48px;
    height: 48px;
}

.section {
    margin-top: 18px;
    padding: clamp(26px, 2.5vw, 36px);
}

.section::before {
    width: 2px;
    opacity: 0.5;
}

.section h2,
.section-head h2,
.full-schedule h2 {
    font-size: clamp(1.35rem, 1.55vw, 1.95rem);
    letter-spacing: 0;
}

.split {
    grid-template-columns: 0.62fr 1.38fr;
    gap: 24px;
}

.schedule-list {
    gap: 10px;
}

.schedule-list article,
.week-row,
.request-live-card,
.request-state,
.request-results .track,
.request-results .empty,
.station-info-card,
.contact-grid article,
.contact-form,
.poll-card,
.update-grid article,
.listenback-item {
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.062), rgba(255, 255, 255, 0.018)),
        rgba(9, 9, 15, 0.52);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.045),
        0 10px 28px rgba(0, 0, 0, 0.14);
}

.week-row {
    grid-template-columns: 126px 56px minmax(0, 1fr);
}

.dj-week-card {
    grid-template-columns: 86px minmax(0, 1fr) auto;
    gap: 18px;
    padding: 16px 18px;
}

.dj-week-art {
    width: 86px;
    height: 86px;
}

.dj-week-card h3 {
    font-size: clamp(1.35rem, 2.2vw, 2.05rem);
}

.dj-card {
    min-height: 210px;
    border-radius: 8px;
}

.dj-card > img {
    width: 96px;
    height: 96px;
}

.listenback-inline {
    padding: 24px;
}

.listenback-item {
    grid-template-columns: 220px minmax(260px, 1fr) auto;
}

.listenback-download {
    border-radius: 8px;
}

.footer {
    margin-top: 18px;
}

@media (max-width: 1280px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        min-height: auto;
    }
}

@media (max-width: 980px) {
    .topbar {
        min-height: 72px;
        margin-top: 6px;
    }

    .nav {
        top: 74px;
    }

    .top-banner {
        height: 150px;
    }
}

@media (max-width: 560px) {
    .site-shell {
        padding-inline: 8px;
    }

    .topbar {
        padding: 8px;
    }

    .brand small {
        display: none;
    }

    .top-banner {
        height: 118px;
    }

    .hero-copy,
    .player-card,
    .section {
        padding: 18px;
    }

    .hero-copy h1,
    h1 {
        font-size: 2.08rem;
    }

    .hero-signals span {
        min-width: 100%;
    }

    .pro-player-main {
        gap: 12px;
    }

    .pro-player .art-wrap {
        width: min(160px, 52vw);
        height: min(160px, 52vw);
    }
}

/* Mobile cleanup - 2026-08-03 */
@media (max-width: 760px) {
    body {
        padding-bottom: 92px;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hero-copy,
    .player-card,
    .section {
        padding: 18px;
    }

    .pro-player-main {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .pro-player .art-wrap {
        width: min(156px, 48vw);
        height: min(156px, 48vw);
    }

    .track-meta {
        justify-items: center;
        text-align: center;
    }

    .track-meta .next-track {
        max-width: 100%;
    }

    .split,
    .section.split {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    #shows > div:first-child {
        display: grid;
        gap: 8px;
    }

    #shows > div:first-child p:not(.eyebrow) {
        max-width: 34rem;
        font-size: 1rem;
        line-height: 1.55;
    }

    .today-brand-mark {
        display: none;
    }

    .schedule-list {
        gap: 12px;
    }

    .schedule-list article {
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 10px 12px;
        padding: 14px;
        align-items: center;
    }

    .schedule-list article > img {
        grid-row: 1 / span 2;
        width: 54px;
        height: 54px;
    }

    .schedule-list article > span {
        align-self: end;
        font-size: 1.06rem;
        line-height: 1.1;
    }

    .schedule-main {
        align-self: start;
        display: grid;
        gap: 5px;
    }

    .schedule-main strong,
    .schedule-main small {
        width: 100%;
        line-height: 1.18;
    }

    .schedule-main small {
        font-size: 0.86rem;
    }

    .schedule-badge {
        width: fit-content;
        margin-top: 2px;
    }

    .sticky-player {
        bottom: 8px;
        grid-template-columns: 40px minmax(0, 1fr) 42px;
        gap: 9px;
        width: calc(100% - 18px);
        padding: 8px 10px;
        border-radius: 16px;
    }

    .sticky-player img {
        width: 40px;
        height: 40px;
    }

    .sticky-player strong {
        font-size: 0.9rem;
        line-height: 1.12;
    }

    .sticky-player span {
        font-size: 0.76rem;
        line-height: 1.12;
    }

    .sticky-player button {
        width: 42px;
        min-height: 42px;
    }

    .sticky-player a {
        display: none;
    }
}

@media (max-width: 420px) {
    .hero-copy h1,
    h1 {
        font-size: 1.88rem;
    }

    .section h2,
    .section-head h2,
    .full-schedule h2 {
        font-size: 1.58rem;
    }

    .schedule-list article {
        grid-template-columns: 48px minmax(0, 1fr);
        padding: 12px;
    }

    .schedule-list article > img {
        width: 48px;
        height: 48px;
    }
}

/* Uitzending gemist - harde mobiele fix */
@media (max-width: 760px) {
    .listenback-inline {
        overflow: hidden !important;
        padding: 16px 12px 32px !important;
    }

    .listenback-inline-inner {
        min-width: 0 !important;
        overflow: hidden !important;
    }

    .listenback-inline h2 {
        font-size: 1.85rem !important;
        line-height: 1.08 !important;
    }

    .listenback-inline p {
        max-width: 100% !important;
        overflow-wrap: break-word !important;
    }

    .listenback-list {
        min-width: 0 !important;
        max-height: 52vh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        padding-right: 4px !important;
    }

    .listenback-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        gap: 10px !important;
        padding: 14px !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .listenback-item > div {
        width: 100% !important;
        min-width: 0 !important;
    }

    .listenback-item strong {
        display: block !important;
        font-size: 1.18rem !important;
        line-height: 1.15 !important;
    }

    .listenback-meta {
        max-width: 100% !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
        font-size: .88rem !important;
        line-height: 1.35 !important;
    }

    .listenback-item audio {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 4px 0 0 !important;
        box-sizing: border-box !important;
    }

    .listenback-download {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        text-align: center !important;
        margin-top: 2px !important;
    }
}
.native-airplay[hidden]{display:none!important}
.native-airplay{margin-top:12px;max-width:620px;padding:12px;border:1px solid rgba(255,255,255,.14);border-radius:12px;background:rgba(255,255,255,.055)}
.native-airplay audio{width:100%;display:block}
.native-airplay small{display:block;margin-top:8px;color:#d8c7df;font-size:12px;line-height:1.35}
@media(max-width:760px){.native-airplay{max-width:100%;padding:10px}}

.airplay-button,
.cast-button {
    min-height: 46px;
}

/* Uitzending gemist popup */
.listenback-detail-modal[hidden] {
    display: none !important;
}

.listenback-detail-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 22px;
    background: rgba(0, 0, 0, .76);
    backdrop-filter: blur(9px);
}

.listenback-detail-panel {
    position: relative;
    width: min(760px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid rgba(255, 91, 31, .4);
    border-radius: 18px;
    background:
        radial-gradient(circle at 20% 0%, rgba(166, 0, 255, .28), transparent 42%),
        linear-gradient(145deg, rgba(31, 24, 42, .98), rgba(10, 7, 18, .98));
    box-shadow: 0 30px 90px rgba(0, 0, 0, .58);
    padding: clamp(22px, 4vw, 34px);
    color: #fff;
}

.listenback-detail-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .09);
    color: #fff;
    cursor: pointer;
    font-size: 30px;
    line-height: 1;
}

.listenback-detail-header {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}

.listenback-detail-photo {
    width: 92px;
    height: 92px;
    border: 3px solid rgba(105, 28, 150, .9);
    border-radius: 50%;
    object-fit: cover;
    background: rgba(0, 0, 0, .35);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .35);
}

.listenback-detail-panel h3 {
    margin: 4px 48px 6px 0;
    color: #fff;
    font-size: clamp(22px, 2.2vw, 30px);
    line-height: 1.12;
}

.listenback-detail-date {
    margin: 0;
    color: #d8c7df;
    font-size: 14px;
    font-weight: 700;
}

.listenback-detail-styles {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.listenback-detail-styles span {
    border: 1px solid rgba(255, 91, 31, .38);
    border-radius: 999px;
    padding: 7px 11px;
    color: #ffd4bd;
    font-size: 13px;
    font-weight: 900;
}

.listenback-detail-bio {
    margin: 18px 0;
    color: #efe6f4;
    font-size: 15px;
    line-height: 1.55;
}

.listenback-detail-player audio {
    display: block;
    width: 100%;
}

.listenback-detail-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
}

@media (max-width: 760px) {
    .listenback-item {
        flex-direction: row !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .listenback-cover {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .listenback-title {
        font-size: .98rem !important;
    }

    .listenback-date {
        font-size: .78rem !important;
    }

    .listenback-detail-modal {
        padding: 12px;
    }

    .listenback-detail-header {
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 14px;
    }

    .listenback-detail-photo {
        width: 82px;
        height: 82px;
    }

    .listenback-detail-panel h3 {
        margin-right: 38px;
        font-size: 1.35rem;
    }

    .listenback-detail-actions .listenback-download {
        width: 100%;
        text-align: center;
    }
}

.airplay-button {
    border: 1px solid rgba(96, 165, 250, .55);
    border-radius: 10px;
    padding: 0 16px;
    color: #fff;
    font-weight: 900;
    background: linear-gradient(135deg, rgba(37,99,235,.38), rgba(168,85,247,.22));
    cursor: pointer;
}

.airplay-button::before {
    content: "▭";
    margin-right: 8px;
    font-size: 16px;
}

.cast-button::before {
    content: "◱";
    margin-right: 8px;
    font-size: 16px;
}

@media (max-width: 760px) {
    .airplay-button,
    .cast-button {
        width: 100%;
        justify-content: center;
    }
}

/* losse AirPlay en Chromecast knoppen */
.airplay-button,
.cast-button {
    min-height: 46px;
    border-radius: 10px;
    padding: 0 16px;
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.airplay-button {
    border: 1px solid rgba(96,165,250,.55);
    background: linear-gradient(135deg, rgba(37,99,235,.42), rgba(168,85,247,.24));
}

.airplay-button::before {
    content: "△";
    margin-right: 8px;
}

.cast-button::before {
    content: "▱";
    margin-right: 8px;
}

@media (max-width:760px) {
    .airplay-button,
    .cast-button {
        width: 100%;
    }
}

/* AirPlay/Chromecast knoppen strak op mobiel */
.airplay-button,
.cast-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    height: 46px !important;
    min-height: 46px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

@media (max-width: 760px) {
    .player-controls {
        display: grid !important;
        grid-template-columns: 56px minmax(0, 1fr) !important;
        gap: 10px !important;
        align-items: center !important;
    }

    .player-controls .round-button {
        grid-column: 1;
        grid-row: 1;
    }

    .player-controls .stream-line {
        grid-column: 2;
        grid-row: 1;
        min-width: 0 !important;
    }

    .player-controls .volume-control {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100% !important;
    }

    .airplay-button,
    .cast-button {
        width: 100% !important;
        height: 44px !important;
        min-height: 44px !important;
        padding: 0 10px !important;
        border-radius: 10px !important;
        font-size: 14px !important;
        box-sizing: border-box !important;
    }

    .airplay-button {
        grid-column: 1;
        grid-row: 3;
    }

    .cast-button {
        grid-column: 2;
        grid-row: 3;
    }

    .popup-player-button {
        grid-column: 1 / -1;
        grid-row: 4;
        width: 100% !important;
        height: 44px !important;
    }

    .airplay-button::before {
        content: "▵" !important;
        margin-right: 4px !important;
        font-size: 15px !important;
    }

    .cast-button::before {
        content: "▱" !important;
        margin-right: 4px !important;
        font-size: 15px !important;
    }
}

@media (max-width: 390px) {
    .airplay-button,
    .cast-button {
        font-size: 13px !important;
        padding: 0 8px !important;
    }
}

/* AirPlay/Chromecast knoppen strak op mobiel */
.airplay-button,
.cast-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    height: 46px !important;
    min-height: 46px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

@media (max-width: 760px) {
    .player-controls {
        display: grid !important;
        grid-template-columns: 56px minmax(0, 1fr) !important;
        gap: 10px !important;
        align-items: center !important;
    }

    .player-controls .round-button {
        grid-column: 1;
        grid-row: 1;
    }

    .player-controls .stream-line {
        grid-column: 2;
        grid-row: 1;
        min-width: 0 !important;
    }

    .player-controls .volume-control {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100% !important;
    }

    .airplay-button,
    .cast-button {
        width: 100% !important;
        height: 44px !important;
        min-height: 44px !important;
        padding: 0 10px !important;
        border-radius: 10px !important;
        font-size: 14px !important;
        box-sizing: border-box !important;
    }

    .airplay-button {
        grid-column: 1;
        grid-row: 3;
    }

    .cast-button {
        grid-column: 2;
        grid-row: 3;
    }

    .popup-player-button {
        grid-column: 1 / -1;
        grid-row: 4;
        width: 100% !important;
        height: 44px !important;
    }

    .airplay-button::before {
        content: "▵" !important;
        margin-right: 4px !important;
        font-size: 15px !important;
    }

    .cast-button::before {
        content: "▱" !important;
        margin-right: 4px !important;
        font-size: 15px !important;
    }
}

@media (max-width: 390px) {
    .airplay-button,
    .cast-button {
        font-size: 13px !important;
        padding: 0 8px !important;
    }
}

/* Fix afgesneden AirPlay-knop mobiel */
@media (max-width: 760px) {
    .player-controls {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    }

    .player-controls .round-button {
        grid-column: 1 / -1 !important;
        justify-self: center !important;
    }

    .player-controls .stream-line {
        grid-column: 1 / -1 !important;
        text-align: center !important;
    }

    .player-controls .volume-control {
        grid-column: 1 / -1 !important;
    }

    .airplay-button {
        grid-column: 1 !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .cast-button {
        grid-column: 2 !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .popup-player-button {
        grid-column: 1 / -1 !important;
    }

    .airplay-button,
    .cast-button,
    .popup-player-button {
        margin: 0 !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 360px) {
    .airplay-button,
    .cast-button {
        font-size: 12px !important;
        padding: 0 6px !important;
    }
}

/* AirPlay alleen mobiel tonen */
.airplay-button {
    display: none !important;
}

@media (max-width: 760px) {
    .airplay-button {
        display: inline-flex !important;
    }
}

/* AirPlay alleen mobiel tonen */
.airplay-button {
    display: none !important;
}

@media (max-width: 760px) {
    .airplay-button {
        display: inline-flex !important;
    }
}

/* Native live AirPlay/audio balk altijd zichtbaar */
.native-airplay {
    display: block !important;
    margin-top: 12px !important;
    max-width: 620px !important;
}

.native-airplay small {
    opacity: .82;
}

/* Native AirPlay balk alleen op mobiel */
.native-airplay {
    display: none !important;
}

@media (max-width: 760px) {
    .native-airplay {
        display: block !important;
    }
}

/* Compacte mobiele live player controls */
@media (max-width: 760px) {
    .player-controls {
        display: grid !important;
        grid-template-columns: 48px minmax(0, 1fr) !important;
        gap: 10px 12px !important;
        align-items: center !important;
        padding-top: 4px !important;
    }

    .player-controls .round-button {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        font-size: 18px !important;
        justify-self: start !important;
    }

    .player-controls .stream-line {
        grid-column: 2 !important;
        grid-row: 1 !important;
        text-align: left !important;
        min-width: 0 !important;
    }

    .player-controls .stream-line strong {
        font-size: 1rem !important;
        line-height: 1.1 !important;
    }

    .player-controls .stream-line span {
        font-size: .86rem !important;
        line-height: 1.1 !important;
    }

    .player-controls .volume-control {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        height: 46px !important;
        padding: 0 12px !important;
        border-radius: 14px !important;
    }

    .player-controls .volume-control span {
        font-size: .92rem !important;
    }

    .player-controls .volume-control output {
        font-size: .92rem !important;
        min-width: 42px !important;
    }

    .airplay-button,
    .cast-button {
        height: 42px !important;
        min-height: 42px !important;
        border-radius: 12px !important;
        font-size: .9rem !important;
        padding: 0 10px !important;
    }

    .airplay-button {
        grid-column: 1 !important;
        grid-row: 3 !important;
    }

    .cast-button {
        grid-column: 2 !important;
        grid-row: 3 !important;
    }

    .popup-player-button {
        grid-column: 1 / -1 !important;
        grid-row: 4 !important;
        height: 42px !important;
        min-height: 42px !important;
        border-radius: 12px !important;
        font-size: .95rem !important;
    }
}

@media (max-width: 390px) {
    .airplay-button,
    .cast-button {
        font-size: .82rem !important;
        padding: 0 8px !important;
    }

    .airplay-button::before,
    .cast-button::before {
        margin-right: 4px !important;
    }
}

/* AirPlay en Chromecast exact gelijk breed op mobiel */
@media (max-width: 760px) {
    .player-controls {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    }

    .airplay-button {
        grid-column: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
        justify-self: stretch !important;
    }

    .cast-button {
        grid-column: 2 !important;
        width: 100% !important;
        min-width: 0 !important;
        justify-self: stretch !important;
    }

    .airplay-button,
    .cast-button {
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        font-size: 16px !important;
    }

    .airplay-button::before {
        content: "" !important;
        margin: 0 !important;
    }
}

.donate-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    color: #fff;
    font-weight: 900;
    text-decoration: none;
    background: linear-gradient(135deg, #a000ff 0%, #e7338a 52%, #ff5a1f 100%);
    box-shadow: 0 14px 36px rgba(255,86,31,.22);
    white-space: nowrap;
}

.donate-link:hover,
.donate-link:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 16px 42px rgba(255,86,31,.32);
}

@media (max-width: 760px) {
    .donate-link {
        min-height: 42px;
        padding: 0 14px;
        font-size: 13px;
    }
}


.update-donate-card{border-color:rgba(255,122,26,.35)!important;background:linear-gradient(135deg,rgba(160,0,255,.12),rgba(255,90,31,.10))!important}
.update-donate-button{display:inline-flex;align-items:center;justify-content:center;width:fit-content;margin-top:14px;padding:10px 14px;border-radius:8px;color:#fff;font-weight:900;text-decoration:none;background:linear-gradient(135deg,#a000ff,#ff5a1f);box-shadow:0 12px 30px rgba(255,90,31,.18)}
.update-donate-button:hover,.update-donate-button:focus-visible{transform:translateY(-1px);box-shadow:0 16px 38px rgba(255,90,31,.28)}
@media(max-width:720px){.update-donate-button{width:100%}}

.donate-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid rgba(255, 184, 77, .55);
    border-radius: 999px;
    color: #fff !important;
    font-weight: 950;
    text-decoration: none !important;
    white-space: nowrap;
    background: radial-gradient(circle at 24% 16%, rgba(255,255,255,.28), transparent 28%),
        linear-gradient(135deg, #9c1cff 0%, #e8329c 46%, #ff5a1f 100%);
    box-shadow: 0 12px 28px rgba(255, 90, 31, .26), 0 0 20px rgba(160, 0, 255, .18), inset 0 1px 0 rgba(255,255,255,.28);
}

.donate-link::before {
    content: "\2665";
    width: 20px;
    height: 20px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 999px;
    color: #ff4b1f;
    background: rgba(255,255,255,.96);
    font-size: 12px;
    font-weight: 1000;
}

.donate-link:hover,
.donate-link:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(255,255,255,.36);
    filter: saturate(1.08);
}

@media (max-width: 980px) {
    .donate-link {
        min-height: 40px;
        padding: 0 13px;
        font-size: 13px;
    }
}

/* Header actions: match the compact main menu height. */
.top-actions .donate-link,
.top-actions .ghost-link {
    width: auto;
    min-width: 132px;
    height: 42px;
    min-height: 42px;
    padding: 0 18px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .88rem;
    line-height: 1;
}

.top-actions .donate-link {
    gap: 8px;
}

.top-actions .donate-link::before {
    width: 18px;
    height: 18px;
    font-size: 11px;
}

@media (max-width: 1180px) {
    .top-actions .donate-link,
    .top-actions .ghost-link {
        min-width: 120px;
        height: 40px;
        min-height: 40px;
        padding: 0 14px;
        font-size: .84rem;
    }
}

@media (max-width: 760px) {
    .top-actions .donate-link,
    .top-actions .ghost-link {
        width: auto;
        min-width: 0;
        height: 44px;
        min-height: 44px;
    }
}

/* Mobile header: keep the action buttons equal without squeezing the layout. */
@media (max-width: 760px) {
    .topbar {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        min-height: 0;
        padding: 8px;
    }

    .brand-side {
        width: 100%;
        justify-content: space-between;
    }

    .brand strong {
        max-width: 44vw;
    }

    .top-actions {
        width: 100%;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 40px;
        align-items: center;
        gap: 8px;
    }

    .top-actions .social-links {
        display: none !important;
    }

    .top-actions .donate-link,
    .top-actions .ghost-link {
        width: 100% !important;
        min-width: 0 !important;
        height: 40px !important;
        min-height: 40px !important;
        padding: 0 10px !important;
        border-radius: 999px;
        font-size: 13px !important;
        line-height: 1 !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .top-actions .donate-link::before {
        width: 16px;
        height: 16px;
        font-size: 10px;
    }

    .top-actions .menu-button {
        width: 40px;
        min-width: 40px;
        height: 40px;
        justify-self: end;
    }
}

@media (max-width: 420px) {
    .brand span {
        display: none;
    }

    .brand strong {
        max-width: 58vw;
    }

    .top-actions {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 38px;
        gap: 6px;
    }

    .top-actions .donate-link,
    .top-actions .ghost-link {
        height: 38px !important;
        min-height: 38px !important;
        padding: 0 8px !important;
        font-size: 12px !important;
    }

    .top-actions .menu-button {
        width: 38px;
        min-width: 38px;
        height: 38px;
    }
}
.dj-vibe-memorial {
    padding-top: 0.5rem;
    scroll-margin-top: 120px;
}

.dj-vibe-memorial-card {
    display: grid;
    grid-template-columns: minmax(120px, 170px) 1fr;
    gap: 1.15rem;
    align-items: center;
    padding: clamp(1rem, 2vw, 1.45rem);
    border: 1px solid rgba(215, 170, 99, 0.35);
    border-radius: 18px;
    background:
        radial-gradient(circle at 18% 20%, rgba(215, 170, 99, 0.18), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.24);
}

.dj-vibe-memorial-photo-wrap {
    max-width: 170px;
    margin: 0 auto;
}

.dj-vibe-memorial-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    filter: grayscale(1);
    border: 2px solid rgba(215, 170, 99, 0.75);
    box-shadow: 0 0 0 5px rgba(215, 170, 99, 0.08), 0 10px 32px rgba(0, 0, 0, 0.42);
}

.dj-vibe-memorial-eyebrow {
    margin: 0 0 0.25rem;
    color: #d7aa63;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.68rem;
    font-weight: 800;
}

.dj-vibe-memorial-copy h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.55rem, 3vw, 2.5rem);
    line-height: 1;
}

.dj-vibe-memorial-meta {
    margin: 0.35rem 0 0.65rem;
    color: #d7aa63;
    font-size: 0.92rem;
    font-weight: 700;
}

.dj-vibe-memorial-copy p {
    max-width: 820px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(0.9rem, 1vw, 0.98rem);
    line-height: 1.45;
    margin: 0.35rem 0;
}

.dj-vibe-memorial-signoff {
    color: #fff !important;
    font-weight: 800;
    margin-top: 0.45rem;
}

@media (max-width: 760px) {
    .dj-vibe-memorial-card {
        grid-template-columns: 1fr;
        gap: 0.9rem;
        padding: 1rem;
        text-align: center;
    }

    .dj-vibe-memorial-photo-wrap {
        max-width: 145px;
    }

    .dj-vibe-memorial-copy p {
        margin-left: auto;
        margin-right: auto;
    }
}
