/* ==========================
   NUNU PLAYER VARIABLES
========================== */

.nunu-player {

    --nunu-purple:#8F74F1;
    --nunu-red:#B10F24;
    --nunu-cyan:#72D6D5;
    --nunu-broadcast-accent:#72D6D5;

    --nunu-background:var(--nunu-dark-background, #090A12);
    --nunu-control:var(--nunu-dark-control, #11101B);

    --nunu-text:#FFFFFF;
    --nunu-muted:#BFC0C7;

    --nunu-border:rgba(143,116,241,1.0);

}

/* During the annual holiday schedule, the original 180x64 Listen Live area
 * becomes two independent actions without changing the header dimensions. */
#nunu-listen-links-slot:has(.nunu-listen-link--holiday) {
    display:flex;
    flex-direction:column;
    gap:2px;
    width:180px;
    height:64px;
}

#nunu-listen-links-slot:has(.nunu-listen-link--holiday) .nunu-listen-link {
    display:flex;
    flex:1 1 0;
    align-items:center;
    justify-content:center;
    width:180px;
    min-height:0;
    height:auto;
    padding:0;
    font:700 14px/1 Roboto, sans-serif;
    text-decoration:none;
    box-sizing:border-box;
}

#nunu-listen-links-slot:has(.nunu-listen-link--holiday) .nunu-listen-link::before {
    margin-right:7px;
    font-size:12px;
}

#nunu-listen-links-slot .nunu-listen-link--live {
    background:#fc1b3b;
    color:#fff;
}

#nunu-listen-links-slot .nunu-listen-link--holiday {
    background:#145a3a;
    color:#ffd76a;
}

#nunu-listen-links-slot:has(.nunu-listen-link--holiday) .nunu-listen-link:hover,
#nunu-listen-links-slot:has(.nunu-listen-link--holiday) .nunu-listen-link:focus-visible {
    filter:brightness(1.12);
    outline:2px solid currentColor;
    outline-offset:-2px;
}

@media (max-width:991px) {
    #nunu-listen-links-slot:has(.nunu-listen-link--holiday) {
        flex-direction:row;
        width:100%;
        max-width:none;
    }

    #nunu-listen-links-slot:has(.nunu-listen-link--holiday) .nunu-listen-link {
        flex:1 1 50%;
        width:auto;
        height:64px;
        font-size:13px;
    }
}


/* ==========================
   LIGHT THEME VARIABLES
========================== */

.nunu-player.nunu-light {

    --nunu-background:#F4F4F6;
    --nunu-control:#FAFAFA;

    --nunu-text:#111111;
    --nunu-muted:#555555;

    --nunu-border:rgba(143,116,241,0.65);
    --nunu-broadcast-accent:#087F83;

}


/* ==========================
   PLAYER FRAME
========================== */

.nunu-listen-live {

    width:100%;
    box-sizing:border-box;

}

/* The main-page shortcode owns the complete radio presentation so the small
   player, caption, backup notice, and legal copy share one consistent pad. */
.nunu-now-playing-page {

    width:100%;
    box-sizing:border-box;

}

.nunu-now-playing-page__pad {

    width:100%;
    max-width:739px;
    margin:0 auto;
    padding:28px;
    box-sizing:border-box;

    background:
        radial-gradient(circle at 50% 0, rgba(255,255,255,.76), transparent 48%),
        linear-gradient(145deg, #ded5f0 0%, #ebe5f6 52%, #cec2e4 100%);

    border:1px solid rgba(91,72,139,.42);
    border-radius:32px;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.92),
        inset 0 -12px 28px rgba(72,52,116,.09),
        0 18px 45px rgba(52,39,91,.18),
        0 0 24px rgba(143,116,241,.15);

}

.nunu-now-playing-page__pad > .nunu-player {

    box-shadow:
        0 18px 34px rgba(20,16,42,.3),
        0 5px 12px rgba(20,16,42,.22),
        0 0 20px rgba(143,116,241,.26);

}

.nunu-now-playing-page__pad .nunu-listen-live__backup-wrap,
.nunu-now-playing-page__pad .nunu-listen-live__disclaimer {

    padding-left:0;
    padding-right:0;

}

.nunu-now-playing-page__pad .nunu-listen-live__disclaimer {

    max-width:675px;

}

.nunu-listen-live__caption {

    margin:12px 0 24px;
    text-align:center;

}

.nunu-listen-live__backup-wrap {

    display:flex;
    justify-content:center;
    width:100%;

}

.nunu-listen-live__backup {

    width:100%;
    max-width:675px;
    box-sizing:border-box;

    margin:10px 0 22px;
    padding:15px 18px;

    border:1px solid rgba(143,116,241,.38);
    border-left:5px solid #b10f24;
    border-radius:10px;

    background:linear-gradient(135deg,#fff 0%,#f2edff 100%);

    box-shadow:
        0 10px 24px rgba(43,31,78,.15),
        inset 0 1px 0 rgba(255,255,255,.95);

}

.nunu-listen-live__backup-title {

    margin-bottom:5px;
    font-weight:700;

}

.nunu-listen-live__backup-title span,
.nunu-listen-live__disclaimer-label {

    color:#b10f24;

}

.nunu-listen-live__backup-title a {

    color:#513d9a;
    text-decoration:none;

}

.nunu-listen-live__backup-title a:hover,
.nunu-listen-live__backup-title a:focus-visible {

    text-decoration:underline;

}

.nunu-listen-live__backup-help {

    color:#4d4a56;
    font-size:.9em;
    line-height:1.45;

}

.nunu-listen-live__disclaimer {

    width:100%;
    max-width:calc(var(--nunu-player-width, 1100px) + 64px);
    margin:0 auto;
    padding:0 30px;
    box-sizing:border-box;
    line-height:1.65;

}

.nunu-listen-live__disclaimer p {

    margin:0 0 1.15em;

}

@media (max-width:767px) {

    .nunu-now-playing-page__pad {

        padding:12px;
        border-radius:22px;

    }

    .nunu-listen-live__caption {

        margin:10px 0 18px;

    }

    .nunu-listen-live__backup-wrap,
    .nunu-listen-live__disclaimer {

        padding-left:12px;
        padding-right:12px;
        box-sizing:border-box;

    }

}

.nunu-player-presentation {

    width:100%;
    max-width:calc(var(--nunu-player-width, 1100px) + 64px);

    margin:0 auto;
    padding:30px;

    background:
        radial-gradient(circle at 50% 0, rgba(255,255,255,.78), transparent 48%),
        linear-gradient(145deg, #e5def5 0%, #f0ecf8 52%, #d6cce9 100%);

    border:1px solid rgba(91,72,139,.36);
    border-radius:calc(var(--nunu-player-radius, 22px) + 10px);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.9),
        inset 0 -12px 28px rgba(72,52,116,.08),
        0 18px 45px rgba(52,39,91,.16),
        0 0 24px rgba(143,116,241,.14);

    box-sizing:border-box;

}

.nunu-player-presentation > .nunu-player {

    box-shadow:
        0 18px 34px rgba(20,16,42,.28),
        0 5px 12px rgba(20,16,42,.2),
        0 0 20px rgba(143,116,241,.25);

}

.nunu-player {

    width:100%;
    max-width:var(--nunu-player-width, 1100px);

    height:var(--nunu-player-height, 430px);

    display:flex;
    align-items:center;

    margin-left:auto;
    margin-right:auto;

    background:var(--nunu-background);
    color:var(--nunu-text);

    padding:18px;

    border-radius:var(--nunu-player-radius, 22px);

    overflow:hidden;

    box-sizing:border-box;

    position:relative;

    box-shadow:var(
        --nunu-player-shadow,
        0 0 18px rgba(143,116,241,.55)
    );

}

@media (max-width:767px) {

    .nunu-player-presentation {

        padding:12px;
        border-radius:22px;
        box-shadow:
            inset 0 1px 0 rgba(255,255,255,.82),
            inset 0 -8px 18px rgba(72,52,116,.07),
            0 10px 28px rgba(52,39,91,.14),
            0 0 18px rgba(143,116,241,.12);

    }

}


/* ==========================
   PLAYER CHILD PROTECTION
========================== */

.nunu-player > * {

    position:relative;

    z-index:1;

    box-sizing:border-box;

}


.nunu-artwork-panel,
.nunu-controls-panel,
.nunu-information-panel {

    flex-shrink:0;

}


/* ==========================
   INNER PURPLE PERIMETER
========================== */

.nunu-player::before {

    content:"";

    position:absolute;

    top:14px;
    left:14px;
    right:14px;
    bottom:14px;

    border:1px solid rgba(143,116,241,1);

    box-shadow:

        inset 0 0 3px rgba(143,116,241,.55),
        0 0 6px rgba(143,116,241,.45);

    border-radius:18px;

    pointer-events:none;

    z-index:0;

}

/* ==========================
   ARTWORK AREA
========================== */

.nunu-artwork-panel {

    width:40%;

    height:100%;

    padding:6px;

    display:flex;

    align-items:center;

    justify-content:center;

}


.nunu-artwork-container {

    width:100%;

    height:100%;

    border-radius:14px;

    overflow:hidden;

    background:#000;

    position:relative;

}


.nunu-artwork-background {

    position:absolute;

    inset:-8%;

    width:116%;

    height:116%;

    object-fit:cover;

    filter:blur(22px) brightness(.34) saturate(.85);

    transform:scale(1.04);

    opacity:.92;

    pointer-events:none;

    user-select:none;

}


.nunu-artwork {

    width:100%;

    height:100%;

    object-fit:contain;

    image-rendering:auto;

    display:block;

    position:relative;

    z-index:1;

}


/* ==========================
   CONTROLS PANEL
========================== */

.nunu-controls-panel {

    width:12%;

    height:100%;

    margin:0 10px;

    border-left:1px solid rgba(143,116,241,.55);

    border-right:1px solid rgba(143,116,241,.55);

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    gap:18px;

}


/* ==========================
   CONTROL BUTTONS
========================== */

.nunu-control-button,
.nunu-volume-button {

    position:relative;

    width:48px;

    height:48px;

    border-radius:50%;

    border:1px solid var(--nunu-purple);

    background:var(--nunu-control);

    color:#FFFFFF;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:22px;

    font-weight:600;

    cursor:pointer;

    box-sizing:border-box;

    box-shadow:

        0 0 8px rgba(143,116,241,.65);

}

.nunu-volume-button {
    touch-action:none;
    -webkit-user-select:none;
    user-select:none;
}


/* ==========================
   VOLUME WRAPPER
========================== */

.nunu-volume-wrapper {

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    gap:3px;

}


/* ==========================
   VOLUME LABEL
========================== */

.nunu-volume-label {

    color:#FFFFFF;

    font-size:8px;

    font-weight:600;

    letter-spacing:1px;

}


/* ==========================
   DISABLED VOLUME BUTTON
========================== */

.nunu-volume-button.disabled {

    opacity:.25;

    cursor:not-allowed;

    box-shadow:none;

}


/* ==========================
   VOLUME UP
========================== */

.nunu-volume-up {

    font-size:22px;

}


/* ==========================
   VOLUME DOWN
========================== */

.nunu-volume-down {

    font-size:0;

}


.nunu-volume-down::before {

    content:"";

    width:18px;

    height:3px;

    background:#FFFFFF;

    border-radius:2px;

}


/* ==========================
   VOLUME DISPLAY
========================== */

.nunu-volume-display {

    width:70px;

    height:48px;

    background:var(--nunu-control);

    border:1px solid var(--nunu-purple);

    border-radius:6px;

    color:var(--nunu-purple);

    font-size:34px;

    font-weight:700;

    line-height:1;

    text-align:center;

    box-sizing:border-box;

    padding:0;

    outline:none;

    box-shadow:

        0 0 8px rgba(143,116,241,.65);

}


/* ==========================
   REMOVE NUMBER SPINNERS
========================== */

.nunu-volume-display::-webkit-inner-spin-button,
.nunu-volume-display::-webkit-outer-spin-button {

    -webkit-appearance:none;

    margin:0;

}


.nunu-volume-display {

    -moz-appearance:textfield;

}


/* ==========================
   MUTE ICON
========================== */

.nunu-volume-icon {

    width:30px;

    height:24px;

    fill:white;

}


.nunu-mute-button.muted .nunu-volume-icon {

    opacity:.45;

}


.nunu-mute-button.muted {

    border-color:var(--nunu-red);

}

.nunu-privacy-reset {
    font-size:23px;
    line-height:1;
}

.nunu-privacy-reset span {
    display:block;
    transform:translateY(-1px);
}

@media (min-width:768px) {
    .nunu-player.nunu-layout-full[data-nunu-privacy-reset="1"] .nunu-controls-panel {
        gap:12px;
    }
}


/* ==========================
   PLAY ICON
========================== */

.nunu-play-icon {

    width:0;

    height:0;

    border-top:10px solid transparent;

    border-bottom:10px solid transparent;

    border-left:16px solid currentColor;

    display:block;

}


.nunu-play-icon.playing {

    width:16px;

    height:18px;

    border:none;

    position:relative;

}


.nunu-play-icon.playing::before,
.nunu-play-icon.playing::after {

    content:"";

    position:absolute;

    top:0;

    width:4px;

    height:20px;

    background:currentColor;

}


/* ==========================
   PLAYBACK CONNECTION STATES
========================== */

@keyframes nunu-connection-pulse {
    0%, 100% {
        box-shadow:0 0 8px rgba(143,116,241,.65);
    }
    50% {
        box-shadow:
            0 0 0 5px rgba(143,116,241,.18),
            0 0 18px rgba(143,116,241,.9);
    }
}

@keyframes nunu-loading-ring {
    to { transform:rotate(360deg); }
}

@keyframes nunu-playing-pulse {
    0%, 100% {
        box-shadow:0 0 8px rgba(143,116,241,.65);
    }
    50% {
        box-shadow:
            0 0 0 4px rgba(143,116,241,.14),
            0 0 17px rgba(143,116,241,.78);
    }
}

.nunu-player[data-nunu-playback-state="connecting"] .nunu-play-button::after,
.nunu-player[data-nunu-playback-state="reconnecting"] .nunu-play-button::after {
    content:"";
    position:absolute;
    inset:-6px;
    border:3px solid rgba(143,116,241,.22);
    border-top-color:var(--nunu-cyan);
    border-right-color:var(--nunu-purple);
    border-radius:50%;
    pointer-events:none;
    animation:nunu-loading-ring .8s linear infinite;
}

.nunu-player[data-nunu-playback-status="1"][data-nunu-playback-state="connecting"] .nunu-play-button,
.nunu-player[data-nunu-playback-status="1"][data-nunu-playback-state="reconnecting"] .nunu-play-button {
    animation:nunu-connection-pulse 1.35s ease-in-out infinite;
    border-color:var(--nunu-purple);
}

.nunu-player[data-nunu-playback-status="1"][data-nunu-playback-state="offline"] .nunu-play-button,
.nunu-player[data-nunu-playback-status="1"][data-nunu-playback-state="error"] .nunu-play-button {
    animation:none;
    border-color:var(--nunu-red);
    box-shadow:0 0 10px rgba(177,15,36,.72);
}

.nunu-player[data-nunu-playback-status="1"][data-nunu-playback-state="playing"] .nunu-play-button {
    border-color:var(--nunu-purple);
    animation:nunu-playing-pulse 1.8s ease-in-out infinite;
}


.nunu-play-icon.playing::before {

    left:0;

}


.nunu-play-icon.playing::after {

    right:0;

}

/* ==========================
   NOW PLAYING LABEL
========================== */

.nunu-now-playing-label {

    color:var(--nunu-purple);

    font-size:12px;

    font-weight:700;

    letter-spacing:1.6px;

    text-transform:uppercase;

    margin-top:-8px;

    margin-bottom:8px;

    text-align:left;

}

.nunu-now-playing-label::before {
    content:none;
    display:none;
}

.nunu-player[data-nunu-content-state="live"] .nunu-now-playing-label {
    color:var(--nunu-cyan);
}

.nunu-player[data-nunu-content-state="live"] .nunu-now-playing-label::before {
    box-shadow:0 0 0 4px rgba(114,214,213,.16);
    animation:nunu-live-pulse 1.8s ease-in-out infinite;
}

.nunu-player[data-nunu-content-state="recorded"] .nunu-now-playing-label {
    color:var(--nunu-purple);
}

.nunu-player[data-nunu-content-state="unavailable"] .nunu-now-playing-label {
    color:var(--nunu-muted);
}

.nunu-player-announcement,
.nunu-player-instructions {
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
    border:0;
}

.nunu-playback-message {
    position:absolute;
    right:calc(100% + 10px);
    left:auto;
    top:50%;
    z-index:90;
    transform:translateY(-50%);
    width:max-content;
    max-width:220px;
    padding:7px 12px;
    border:1px solid var(--nunu-purple);
    border-radius:7px;
    background:rgba(9,10,18,.94);
    color:#fff;
    font-size:13px;
    font-weight:700;
    line-height:1.25;
    text-align:center;
    box-shadow:0 5px 16px rgba(0,0,0,.32);
    pointer-events:none;
}

.nunu-layout-compact .nunu-playback-message,
.nunu-layout-home .nunu-playback-message {
    right:auto;
    left:0;
    top:auto;
    bottom:calc(100% + 9px);
    transform:none;
    max-width:min(220px, calc(100vw - 48px));
}

.nunu-playback-message[hidden] {
    display:none;
}

.nunu-listen-live .nunu-playback-message {
    border-color:var(--nunu-cyan);
    animation:nunu-autoplay-notice-pulse 1.8s ease-in-out infinite;
}

@keyframes nunu-autoplay-notice-pulse {
    0%, 100% {
        box-shadow:0 0 0 0 rgba(114,214,213,.16), 0 5px 16px rgba(0,0,0,.32);
    }
    50% {
        box-shadow:0 0 0 4px rgba(114,214,213,.34), 0 5px 16px rgba(0,0,0,.32);
    }
}

@keyframes nunu-live-pulse {
    0%, 100% { opacity:1; }
    50% { opacity:.45; }
}

@media (prefers-reduced-motion:reduce) {
    .nunu-listen-live .nunu-playback-message {
        animation:none;
    }
    .nunu-player[data-nunu-playback-state="connecting"] .nunu-play-button::after,
    .nunu-player[data-nunu-playback-state="reconnecting"] .nunu-play-button::after {
        animation:none;
    }
    .nunu-player[data-nunu-playback-state="playing"] .nunu-play-button {
        animation:none;
    }
    .nunu-player[data-nunu-content-state="live"] .nunu-now-playing-label::before {
        animation:none;
    }
}


/* ==========================
   NOW PLAYING HEADER POSITION
========================== */

.nunu-now-playing-panel {

    position:relative;

    display:flex;

    flex-direction:column;

    min-height:0;

    padding-bottom:16px;

    border-bottom:1px solid rgba(143,116,241,.85);

}


/* ==========================
   THEME SWITCH POSITION
========================== */

.nunu-theme-switch {

    position:absolute !important;

    top:-6px !important;

    right:10px !important;

    bottom:auto !important;

    left:auto !important;

    width:max-content !important;

    height:max-content !important;

    margin:0 !important;

    padding:0 !important;

    float:none !important;

    z-index:5;

    display:flex !important;

    align-items:center;

    justify-content:center;

}

/* Test-player schedule control: fixed directly below the theme switch. */
.nunu-player.nunu-signature-test .nunu-schedule-switch {
    position:absolute !important;
    top:46px !important;
    right:10px !important;
    bottom:auto !important;
    left:auto !important;
    width:42px !important;
    height:42px !important;
    margin:0 !important;
    padding:0 !important;
    float:none !important;
    z-index:5;
    display:flex !important;
    align-items:center;
    justify-content:center;
}

.nunu-player.nunu-signature-test .nunu-schedule-toggle {
    appearance:none;
    -webkit-appearance:none;
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0;
    padding:0;
    border:1px solid var(--nunu-purple);
    border-radius:50%;
    background:var(--nunu-control);
    color:var(--nunu-purple);
    font:700 18px/1 Arial, sans-serif;
    cursor:pointer;
    box-shadow:0 0 8px rgba(143,116,241,.28);
}

.nunu-player.nunu-signature-test .nunu-schedule-icon {
    display:block;
    width:22px;
    height:22px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
    pointer-events:none;
}

.nunu-player.nunu-signature-test .nunu-schedule-toggle:hover,
.nunu-player.nunu-signature-test .nunu-schedule-toggle:focus-visible {
    color:var(--nunu-text);
    border-color:var(--nunu-cyan);
    outline:2px solid transparent;
    box-shadow:0 0 10px rgba(114,214,213,.42);
}

.nunu-player.nunu-signature-test .nunu-schedule-toggle[aria-expanded="true"] {
    background:var(--nunu-purple);
    color:#fff;
}

/* Schedule drawer preview. Provider and manual data are connected later. */
.nunu-player.nunu-signature-test .nunu-schedule-drawer {
    position:absolute;
    inset:0;
    z-index:4;
    display:flex;
    flex-direction:column;
    min-width:0;
    padding:12px 70px 24px 18px;
    background:var(--nunu-background);
    color:var(--nunu-text);
    box-sizing:border-box;
}

.nunu-player.nunu-signature-test .nunu-schedule-drawer[hidden] {
    display:none;
}

/* Keep the experimental full player centered inside its outer shell. The
   original flex percentages plus control-column margins could leave an
   uneven black gutter at desktop widths. */
@media (min-width:901px) {
    .nunu-player.nunu-signature-test:not(.nunu-layout-compact) {
        display:grid;
        grid-template-columns:40% 12% 48%;
        grid-template-rows:minmax(0, 1fr);
        align-items:stretch;
    }

    .nunu-player.nunu-signature-test:not(.nunu-layout-compact)::before {
        inset:14px !important;
        box-sizing:border-box;
    }

    .nunu-player.nunu-signature-test:not(.nunu-layout-compact) .nunu-artwork-panel {
        grid-column:1;
        width:100%;
    }

    .nunu-player.nunu-signature-test:not(.nunu-layout-compact) .nunu-controls-panel {
        grid-column:2;
        width:100%;
        margin:0;
    }

    .nunu-player.nunu-signature-test:not(.nunu-layout-compact) .nunu-information-panel {
        grid-column:3;
        width:100%;
        min-width:0;
    }
}

.nunu-schedule-heading {
    min-height:38px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    color:var(--nunu-purple);
    font-size:12px;
    font-weight:800;
    letter-spacing:1.5px;
}

.nunu-schedule-heading small {
    margin-top:2px;
    color:var(--nunu-muted);
    font-size:8px;
    font-weight:600;
    letter-spacing:.7px;
    text-transform:uppercase;
}

.nunu-schedule-days {
    display:flex;
    gap:4px;
    margin:8px 0 10px;
    padding:0 0 5px;
    overflow-x:auto;
    overflow-y:hidden;
    overscroll-behavior-x:contain;
    scrollbar-width:thin;
    scrollbar-color:var(--nunu-purple) transparent;
    -webkit-overflow-scrolling:touch;
}

.nunu-schedule-days::-webkit-scrollbar {
    height:4px;
}

.nunu-schedule-days::-webkit-scrollbar-thumb {
    background:var(--nunu-purple);
    border-radius:20px;
}

.nunu-schedule-day {
    appearance:none;
    -webkit-appearance:none;
    flex:0 0 48px;
    min-width:48px;
    height:30px;
    padding:0 2px;
    border:1px solid rgba(143,116,241,.58);
    border-radius:7px;
    background:var(--nunu-control);
    color:var(--nunu-text);
    font-size:9px;
    font-weight:800;
    letter-spacing:.3px;
    text-transform:uppercase;
    cursor:pointer;
}

.nunu-schedule-day:hover,
.nunu-schedule-day:focus-visible,
.nunu-schedule-day.is-active {
    border-color:var(--nunu-red);
    background:var(--nunu-red);
    color:#fff;
    outline:none;
}

.nunu-schedule-list {
    flex:1;
    min-height:0;
    overflow-y:auto;
    overflow-x:hidden;
    padding:0 8px 0 0;
    scrollbar-width:thin;
    scrollbar-color:var(--nunu-purple) transparent;
}

.nunu-schedule-list::-webkit-scrollbar {
    width:6px;
}

.nunu-schedule-list::-webkit-scrollbar-thumb {
    background:var(--nunu-purple);
    border-radius:20px;
}

.nunu-schedule-day-panel[hidden] {
    display:none;
}

/* RadioJar builds its schedule here; NUNU reads the result and renders it in
   the approved drawer. Keep the provider DOM available without displaying
   RadioJar's raw widget. */
.nunu-radiojar-schedule-provider {
    position:fixed !important;
    left:-10000px !important;
    top:0 !important;
    width:2px !important;
    height:2px !important;
    overflow:hidden !important;
    opacity:0 !important;
    pointer-events:none !important;
}

.nunu-schedule-card {
    position:relative;
    display:grid;
    grid-template-columns:68px minmax(0, 1fr) 18px;
    gap:12px;
    min-height:68px;
    margin:0 0 9px;
    padding:8px;
    border:1px solid rgba(143,116,241,.38);
    border-radius:11px;
    background:linear-gradient(135deg, rgba(143,116,241,.12), rgba(114,214,213,.04));
    box-sizing:border-box;
}

.nunu-schedule-card.is-on-air,
.nunu-radiojar-schedule-card.is-on-air {
    border-color:var(--nunu-red);
    box-shadow:0 0 12px rgba(204,17,49,.34);
}

.nunu-schedule-on-air {
    position:absolute;
    top:50%;
    right:12px;
    width:12px;
    height:12px;
    margin-top:-6px;
    border:2px solid rgba(255,255,255,.9);
    border-radius:50%;
    background:var(--nunu-red);
    box-shadow:0 0 0 0 rgba(204,17,49,.72);
    box-sizing:border-box;
    animation:nunu-schedule-on-air-pulse 1.45s ease-out infinite;
    z-index:3;
}

.nunu-schedule-on-air[hidden] {
    display:none;
}

@keyframes nunu-schedule-on-air-pulse {
    0% { box-shadow:0 0 0 0 rgba(204,17,49,.72); }
    70%, 100% { box-shadow:0 0 0 9px rgba(204,17,49,0); }
}

.nunu-schedule-artwork {
    width:68px;
    height:68px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:8px;
    background:#211b3f;
    color:#fff;
    font-size:28px;
    font-weight:900;
    object-fit:contain;
}

.nunu-schedule-artwork-twilight {
    background:linear-gradient(135deg, #2b174d, #090a12);
}

.nunu-schedule-artwork-play {
    background:linear-gradient(135deg, #557067, #15181c);
}

.nunu-schedule-card-copy {
    grid-column:2;
    min-width:0;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
    text-align:left;
}

.nunu-schedule-card-copy strong {
    color:var(--nunu-text);
    font-size:13px;
    line-height:1.2;
}

.nunu-schedule-card-copy span,
.nunu-schedule-card-copy time {
    margin-top:3px;
    color:var(--nunu-muted);
    font-size:10px;
    line-height:1.25;
}

.nunu-schedule-card-copy time {
    color:var(--nunu-cyan);
    font-weight:700;
}

.nunu-light .nunu-schedule-card-copy time {
    color:var(--nunu-purple);
}

.nunu-schedule-empty {
    margin:30px 0 0;
    color:var(--nunu-muted);
    font-size:12px;
    text-align:center;
}

/* One-day RadioJar presentation preview using provider-style wide banners. */
.nunu-radiojar-preview-day {
    grid-template-columns:minmax(56px, 82px);
    justify-content:start;
}

.nunu-radiojar-schedule-card {
    position:relative;
    min-height:104px;
    margin:0 0 10px;
    overflow:hidden;
    border:1px solid rgba(143,116,241,.42);
    border-radius:11px;
    background-position:center;
    background-size:cover;
    box-sizing:border-box;
}

.nunu-radiojar-banner-flip {
    background-image:linear-gradient(105deg, #b58e3e 0%, #745830 34%, #285d77 70%, #0d202b 100%);
}

.nunu-radiojar-banner-twilight {
    background-image:radial-gradient(circle at 28% 35%, rgba(143,116,241,.75), transparent 28%), linear-gradient(120deg, #130726, #3b0c3c 58%, #07060d);
}

.nunu-radiojar-banner-play {
    background-image:linear-gradient(115deg, #8ca69a, #43544c 48%, #1a1f1d 100%);
}

.nunu-radiojar-schedule-overlay {
    position:absolute;
    inset:0;
    display:grid;
    grid-template-columns:minmax(0, 1fr) auto;
    grid-template-rows:auto auto auto;
    align-content:end;
    gap:2px 12px;
    padding:12px 42px 12px 12px;
    background:linear-gradient(90deg, rgba(5,5,10,.88), rgba(5,5,10,.28));
    color:#fff;
    text-align:left;
    box-sizing:border-box;
}

.nunu-radiojar-schedule-overlay strong {
    grid-column:1;
    font-size:16px;
    line-height:1.15;
}

.nunu-radiojar-schedule-overlay span {
    grid-column:1;
    color:rgba(255,255,255,.82);
    font-size:9px;
    line-height:1.2;
}

.nunu-radiojar-schedule-overlay time {
    grid-column:2;
    grid-row:1 / span 3;
    align-self:end;
    color:#fff;
    font-size:10px;
    font-weight:800;
    white-space:nowrap;
}


/* ==========================
   THEME BUTTON
========================== */

.nunu-theme-toggle {

    width:42px;

    height:42px;

    border-radius:50%;

    border:1px solid var(--nunu-purple);

    background:var(--nunu-control);

    color:var(--nunu-text);

    cursor:pointer;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:3px;

}


/* ==========================
   ICONS
========================== */

.nunu-sun,
.nunu-moon {

    font-size:18px;

    line-height:1;

}


/* ==========================
   TITLE LINE POSITION
========================== */

.nunu-title-line {

    margin-top:24px;

    padding-right:60px;

    display:flex;

    flex-wrap:wrap;

    align-items:baseline;

    justify-content:flex-start;

    text-align:left;

    gap:10px;

}

.nunu-artist-group {
    display:inline-flex;
    flex:0 0 auto;
    max-width:100%;
    align-items:baseline;
    gap:10px;
    white-space:nowrap;
    text-align:left;
}


/* ==========================
   PRIMARY TITLE
========================== */

.nunu-title {

    color:#FFFFFF;

    font-size:32px;

    font-weight:700;

    line-height:1.1;

}


/* ==========================
   TITLE DIVIDER
========================== */

.nunu-title-divider {

    color:var(--nunu-purple);

    font-size:20px;

}


/* ==========================
   ARTIST INLINE
========================== */

.nunu-artist-inline {

    color:#FFFFFF;

    font-size:18px;

    font-weight:400;

    text-align:left;

    white-space:nowrap;

}

.nunu-layout-compact .nunu-artist-group,
.nunu-layout-home .nunu-artist-group {
    gap:7px;
}

/* ==========================
   INFORMATION SCROLL AREA
========================== */

.nunu-information-scroll {

    flex:1;

    min-height:0;

    overflow-y:auto;

    overflow-x:hidden;

    padding-right:14px;

    scrollbar-width:thin;

    scrollbar-color:#8F74F1 transparent;

}


/* ==========================
   CHROME / EDGE / SAFARI SCROLLBAR
========================== */

.nunu-information-scroll::-webkit-scrollbar {

    width:6px;

}


.nunu-information-scroll::-webkit-scrollbar-track {

    background:transparent;

}


.nunu-information-scroll::-webkit-scrollbar-thumb {

    background:#8F74F1;

    border-radius:20px;

}


/* ==========================
   SCROLL CONTENT HEIGHT
========================== */

.nunu-scroll-content {

    min-height:100%;

}


/* ==========================
   SCROLL CONTENT FIX
========================== */

.nunu-scroll-content {

    min-height:max-content;

}


/* ==========================
   INFORMATION PANEL
========================== */

.nunu-information-panel {

    width:48%;

    height:100%;

    padding:12px 18px 24px 18px;

    display:flex;

    flex-direction:column;

    box-sizing:border-box;

    overflow:hidden;

}


/* ==========================
   META INFORMATION
========================== */

.nunu-meta-section {

    padding-top:16px;

    padding-bottom:18px;

}


.nunu-meta-row {

    display:grid;

    grid-template-columns:120px 1fr;

    margin-bottom:12px;

}


.nunu-meta-row span {

    color:#BFC0C7;

    font-size:14px;

    font-weight:500;

}


.nunu-meta-row strong {

    color:#FFFFFF;

    font-size:16px;

    font-weight:400;

    min-width:0;

    overflow-wrap:anywhere;

    word-break:break-word;

}


/* RadioJar may use the Album field for multi-line additional information. */
.nunu-meta-row [data-nunu-field="track-album"] {

    display:block;

    white-space:pre-wrap;

    overflow-wrap:anywhere;

    word-break:break-word;

}

.nunu-additional-information {
    min-width:0;
}

.nunu-additional-information [data-nunu-field="track-album"].is-overflowing,
.nunu-broadcast-notice.is-special [data-nunu-field="show-description"].is-overflowing {
    display:-webkit-box;
    overflow:hidden;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
}

.nunu-additional-more {
    margin:6px 0 0;
    padding:0;
    border:0;
    background:transparent;
    color:var(--nunu-purple);
    font:inherit;
    font-size:12px;
    font-weight:700;
    cursor:pointer;
}

.nunu-additional-more[hidden] {
    display:none !important;
}

.nunu-additional-more:hover,
.nunu-additional-more:focus-visible {
    color:var(--nunu-text);
    text-decoration:underline;
}

.nunu-additional-dialog[hidden] {
    display:none;
}

.nunu-additional-dialog {
    position:fixed;
    inset:0;
    z-index:999999;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:16px;
    background:rgba(5,6,12,.88);
    backdrop-filter:blur(5px);
}

.nunu-additional-dialog-panel {
    position:relative;
    width:min(560px, 100%);
    max-height:90%;
    overflow:auto;
    box-sizing:border-box;
    padding:25px 27px;
    border:1px solid var(--nunu-purple);
    border-radius:14px;
    background:var(--nunu-background);
    box-shadow:0 0 22px rgba(143,116,241,.3);
    color:var(--nunu-text);
}

.nunu-additional-dialog-panel h4 {
    margin:0 38px 16px 0;
    color:var(--nunu-purple);
    font-size:20px;
    line-height:1.25;
}

.nunu-additional-dialog-content {
    white-space:pre-wrap;
    overflow-wrap:anywhere;
    color:var(--nunu-text);
    font-size:15px;
    line-height:1.55;
}

.nunu-additional-close {
    position:absolute;
    top:12px;
    right:14px;
    width:34px;
    height:34px;
    padding:0;
    border:1px solid var(--nunu-purple);
    border-radius:50%;
    background:var(--nunu-control);
    color:var(--nunu-text);
    font-size:24px;
    line-height:30px;
    cursor:pointer;
}


/* ==========================
   INFORMATION SECTIONS
========================== */

.nunu-information-section {

    margin-top:16px;

    padding-top:16px;

    border-top:1px solid rgba(143,116,241,.45);

}


/* ==========================
   PLAYER SIGNATURE
========================== */

.nunu-player-signature {

    position:absolute;

    left:auto;

    right:32px;

    bottom:var(--nunu-signature-bottom, 10px);

    width:calc(48% - 50px);

    height:28px;

    display:flex;

    align-items:center;

    justify-content:center;

    margin:0;

    padding:0;

    border-top:0;

    background:var(--nunu-background);

    color:var(--nunu-cyan);

    font-size:11px;

    font-weight:600;

    letter-spacing:.8px;

    text-align:center;

    pointer-events:none;

    z-index:3;

}

.nunu-player.nunu-light .nunu-player-signature {

    color:var(--nunu-purple);

}

/* ==========================
   SECTION TITLES
========================== */

.nunu-information-section h3 {

    color:var(--nunu-purple);

    font-size:11px;

    font-weight:700;

    letter-spacing:1.4px;

    text-transform:uppercase;

    margin:0 0 6px 0;

    text-align:left;

}

/* Individual information-section controls. These explicit selectors allow
   one section to be adjusted without changing the others. */
.nunu-show-information-section,
.nunu-show-information-section h3 {
    text-align:left;
}

.nunu-recently-played,
.nunu-recently-played h3 {
    text-align:left;
}

.nunu-credits-section,
.nunu-credits-section h3 {
    text-align:left;
}

.nunu-links-section,
.nunu-links-section h3,
.nunu-links-section .nunu-links {
    text-align:left;
}

/* Browser-neutral information layout. Explicit placement prevents page-theme
   alignment rules from centering individual sections in some browsers. */
.nunu-information-panel,
.nunu-now-playing-panel,
.nunu-information-scroll {
    text-align:left;
}

.nunu-now-playing-label {
    display:block;
    width:100%;
    text-align:left !important;
}

.nunu-title-line {
    width:100%;
    justify-content:flex-start;
    text-align:left;
    box-sizing:border-box;
}

.nunu-information-section,
.nunu-show-information-section,
.nunu-recently-played,
.nunu-credits-section,
.nunu-links-section {
    width:100%;
    align-self:stretch;
    text-align:left !important;
    box-sizing:border-box;
}

.nunu-information-section h3,
.nunu-history-list,
.nunu-history-list li,
.nunu-history-empty,
.nunu-links-section .nunu-links {
    width:100%;
    text-align:left !important;
    box-sizing:border-box;
}

.nunu-information-section .nunu-meta-row {
    width:100%;
    justify-items:start;
    text-align:left;
    box-sizing:border-box;
}

.nunu-information-section .nunu-meta-row span,
.nunu-information-section .nunu-meta-row strong {
    text-align:left !important;
}

.nunu-history-list {
    margin:0;
    padding:0;
    list-style:none;
}

.nunu-history-list li {
    padding:9px 0;
    border-bottom:1px solid rgba(143,116,241,.28);
    color:var(--nunu-text);
    line-height:1.35;
    overflow-wrap:anywhere;
}

.nunu-history-list li:last-child {
    border-bottom:0;
}

.nunu-history-list span,
.nunu-history-empty {
    color:var(--nunu-muted);
}


/* ==========================
   SECTION TEXT
========================== */

.nunu-information-section p {

    color:#FFFFFF;

    font-size:15px;

    font-weight:400;

    line-height:1.5;

    margin:8px 0;

    text-align:left;

}

.nunu-branding-notice {
    position:absolute;
    top:12px;
    left:12px;
    right:12px;
    z-index:100;
    grid-column:1 / -1;
    flex-basis:100%;
    padding:12px;
    border:1px solid var(--nunu-purple);
    color:var(--nunu-text);
    background:var(--nunu-background);
    font-size:14px;
    line-height:1.5;
}
.nunu-branding-notice[hidden] { display:none !important; }

.nunu-broadcast-notice {
    margin:8px 0;
}

.nunu-broadcast-label {
    display:none;
}

.nunu-broadcast-more[hidden] {
    display:none !important;
}

.nunu-broadcast-notice.is-special {
    position:relative;
    overflow:hidden;
    margin:12px 0 10px;
    padding:13px 16px 14px 19px;
    border:1px solid var(--nunu-broadcast-accent);
    border-radius:9px;
    background:linear-gradient(90deg, rgba(101,217,220,.12), rgba(101,217,220,.025));
    box-shadow:0 0 12px rgba(101,217,220,.16);
}

.nunu-broadcast-notice.is-special::before {
    position:absolute;
    inset:0 auto 0 0;
    width:4px;
    background:var(--nunu-broadcast-accent);
    content:"";
}

.nunu-broadcast-notice.is-special .nunu-broadcast-label {
    display:flex;
    align-items:center;
    gap:7px;
    margin-bottom:5px;
    color:var(--nunu-broadcast-accent);
    font-size:10px;
    font-weight:800;
    letter-spacing:1.5px;
}

.nunu-broadcast-dot {
    flex:0 0 auto;
    width:7px;
    height:7px;
    border-radius:50%;
    background:var(--nunu-broadcast-accent);
    box-shadow:0 0 8px var(--nunu-broadcast-accent);
    animation:nunu-broadcast-pulse 2.4s ease-in-out infinite;
}

@keyframes nunu-broadcast-pulse {
    0%, 100% { opacity:.58; transform:scale(.92); }
    50% { opacity:1; transform:scale(1.08); }
}

.nunu-broadcast-notice.is-special p {
    margin:0;
    font-weight:600;
    white-space:pre-wrap;
    overflow-wrap:anywhere;
}

.nunu-broadcast-more {
    display:inline-block;
    margin:7px 0 0;
    padding:0;
    border:0;
    background:transparent;
    color:var(--nunu-broadcast-accent);
    font:inherit;
    font-size:12px;
    font-weight:700;
    cursor:pointer;
}

.nunu-broadcast-more:hover,
.nunu-broadcast-more:focus-visible {
    color:var(--nunu-text);
    text-decoration:underline;
}

.nunu-broadcast-dialog[hidden] {
    display:none;
}

.nunu-broadcast-dialog {
    position:fixed;
    inset:0;
    z-index:999999;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:16px;
    border-radius:0;
    background:rgba(5,6,12,.88);
    backdrop-filter:blur(5px);
}

.nunu-broadcast-dialog-panel {
    position:relative;
    width:min(560px, 100%);
    max-height:90%;
    overflow:auto;
    box-sizing:border-box;
    padding:25px 27px;
    border:1px solid var(--nunu-broadcast-accent);
    border-radius:14px;
    background:var(--nunu-background);
    box-shadow:0 0 22px rgba(101,217,220,.26);
    color:var(--nunu-text);
}

.nunu-broadcast-dialog-label {
    display:flex;
    align-items:center;
    gap:8px;
    color:var(--nunu-broadcast-accent);
    font-size:11px;
    font-weight:800;
    letter-spacing:1.6px;
}

.nunu-broadcast-dialog-panel h4 {
    margin:9px 32px 16px 0;
    color:var(--nunu-text);
    font-size:22px;
    line-height:1.25;
}

.nunu-broadcast-dialog-content p {
    margin:0 0 12px;
    color:var(--nunu-text);
    font-size:15px;
    line-height:1.55;
}

.nunu-broadcast-close {
    position:absolute;
    top:12px;
    right:14px;
    width:34px;
    height:34px;
    padding:0;
    border:1px solid var(--nunu-purple);
    border-radius:50%;
    background:var(--nunu-control);
    color:var(--nunu-text);
    font-size:24px;
    line-height:30px;
    cursor:pointer;
}

@media (max-width:600px) {
    .nunu-broadcast-dialog { padding:8px; }
    .nunu-broadcast-dialog-panel { max-height:96%; padding:22px 20px; }
    .nunu-broadcast-dialog-panel h4 { font-size:19px; }
    .nunu-additional-dialog { padding:8px; }
    .nunu-additional-dialog-panel { max-height:96%; padding:22px 20px; }
}

@media (prefers-reduced-motion:reduce) {
    .nunu-broadcast-dot { animation:none; }
}

/* ==========================
   LIGHT THEME TEXT OVERRIDES
========================== */

.nunu-player.nunu-light .nunu-title {

    color:#111111;

}


.nunu-player.nunu-light .nunu-artist-inline {

    color:#222222;

}


.nunu-player.nunu-light .nunu-meta-row span {

    color:#555555;

}


.nunu-player.nunu-light .nunu-meta-row strong {

    color:#111111;

}


.nunu-player.nunu-light .nunu-information-section p {

    color:#222222;

}


/* ==========================
   LIGHT THEME CONTROL DETAILS
========================== */

.nunu-player.nunu-light .nunu-volume-label {

    color:#555555;

}


.nunu-player.nunu-light .nunu-volume-icon {

    fill:#111111;

}


.nunu-player.nunu-light .nunu-volume-down::before {

    background:#111111;

}


/* ==========================
   LIGHT THEME PLAY ICON
========================== */

.nunu-player.nunu-light .nunu-play-icon {

    color:#111111;

    border-left-color:#111111;

}


/* ==========================
   LIGHT THEME CONTROL BUTTONS
========================== */

.nunu-player.nunu-light .nunu-control-button,
.nunu-player.nunu-light .nunu-volume-button {

    color:#111111;

}


/* ==========================
   LIGHT THEME VOLUME INPUT
========================== */

.nunu-player.nunu-light .nunu-volume-display {

    color:#8F74F1;

    background:#FAFAFA;

}


/* ==========================
   LIGHT THEME SWITCH
========================== */

.nunu-player.nunu-light .nunu-theme-toggle {

    background:#FAFAFA;

    color:#111111;

}

/* ==========================
   FINAL SAFETY FIXES
========================== */


/* Keep player sections above border */

.nunu-information-panel,
.nunu-controls-panel,
.nunu-artwork-panel {

    position:relative;

    z-index:2;

}


/* Keep artwork clean */

.nunu-player .nunu-artwork-container {

    background:#000;

}


/* ==========================
   MOBILE PLAYER LAYOUT
========================== */

@media (max-width:767px) {

/* ==========================
   PLAYER MOBILE FRAME
========================== */

.nunu-player {

    width:100%;

    height:auto;

    min-height:0;

    flex-direction:column;

    padding:14px;

    border-radius:18px;

}


/* ==========================
   ARTWORK MOBILE
========================== */

.nunu-artwork-panel {

    width:100%;

    height:auto;

    aspect-ratio:1 / 1;

    padding:4px;

}


.nunu-artwork-container {

    width:100%;

    height:100%;

}


.nunu-artwork {

    object-fit:contain;

}


/* ==========================
   CONTROLS MOBILE
========================== */

.nunu-controls-panel {

    width:100%;

    height:auto;

    margin:16px 0;

    padding:12px 0;

    border-left:none;

    border-right:none;

    border-top:1px solid rgba(143,116,241,.55);

    border-bottom:1px solid rgba(143,116,241,.55);

    flex-direction:row;

    justify-content:center;

    gap:14px;

}


.nunu-control-button,
.nunu-volume-button {

    width:44px;

    height:44px;

}


.nunu-volume-display {

    width:60px;

    height:44px;

    font-size:28px;

}


/* ==========================
   INFORMATION MOBILE
========================== */

.nunu-information-panel {

    width:100%;

    height:auto;

    padding:14px;

}


.nunu-title {

    font-size:24px;

}


.nunu-artist-inline {

    font-size:16px;

}


.nunu-meta-row {

    grid-template-columns:100px 1fr;

}


.nunu-information-scroll {

    max-height:300px;

    padding-right:10px;

}


}

/* ==========================
   CONTROL HOVER STATES
========================== */

.nunu-control-button:hover,
.nunu-volume-button:hover {

    border-color:var(--nunu-red);

    transform:translateY(-1px);

}

.nunu-theme-toggle:hover,
.nunu-theme-toggle:focus-visible {

    color:var(--nunu-text);

    border-color:var(--nunu-cyan);

    outline:2px solid transparent;

    box-shadow:0 0 10px rgba(114,214,213,.42);

    transform:translateY(-1px);

}


/* ==========================
   CONTROL ACTIVE STATE
========================== */

.nunu-control-button:active,
.nunu-volume-button:active,
.nunu-theme-toggle:active {

    transform:scale(.96);

}


/* ==========================
   DISABLED CONTROLS
========================== */

.nunu-volume-button.disabled {

    border-color:var(--nunu-purple);

    transform:none;

}


/* ==========================
   REMOVE BUTTON DEFAULTS
========================== */

.nunu-player button {

    font-family:inherit;

    outline:none;

}


/* ==========================
   FOCUS ACCESSIBILITY
========================== */

.nunu-player button:focus-visible,
.nunu-player input:focus-visible,
.nunu-player:focus-visible {

    outline:2px solid var(--nunu-purple);

    outline-offset:3px;

}

.nunu-player:focus-visible {
    box-shadow:
        0 0 0 3px var(--nunu-background),
        0 0 0 6px var(--nunu-purple),
        var(--nunu-player-shadow, 0 0 18px rgba(143,116,241,.55));
}

@media (prefers-reduced-motion:reduce) {
    .nunu-player,
    .nunu-player *,
    .nunu-player *::before,
    .nunu-player *::after {
        scroll-behavior:auto !important;
        transition-duration:.01ms !important;
        animation-duration:.01ms !important;
        animation-iteration-count:1 !important;
    }
}


/* ==========================
   RESPONSIVE PLAYER REFINEMENT
========================== */

@media (max-width:767px) {

    .nunu-listen-live .nunu-playback-message {
        right:auto;
        left:0;
        top:auto;
        bottom:calc(100% + 9px);
        transform:none;
        width:max-content;
        max-width:min(220px, calc(100vw - 56px));
    }

    .nunu-player[data-nunu-privacy-reset="1"] .nunu-controls-panel {
        grid-template-columns:repeat(6, minmax(38px, 56px));
    }

    .nunu-player[data-nunu-privacy-reset="1"] .nunu-volume-up,
    .nunu-player[data-nunu-privacy-reset="1"] .nunu-volume-down {
        display:flex;
    }

    .nunu-player {
        gap:0;
        padding:12px;
        border-radius:18px;
    }

    .nunu-player::before {
        top:8px;
        right:8px;
        bottom:8px;
        left:8px;
        border-radius:14px;
    }

    .nunu-artwork-panel {
        aspect-ratio:1 / 1;
        max-height:min(82vw, 460px);
        padding:4px;
    }

    .nunu-controls-panel {
        display:grid;
        grid-template-columns:repeat(6, minmax(38px, 56px));
        align-items:center;
        justify-content:center;
        gap:clamp(6px, 2.5vw, 12px);
        margin:10px 0;
        padding:12px 6px;
    }

    .nunu-control-button,
    .nunu-volume-button {
        width:clamp(42px, 12vw, 52px);
        height:clamp(42px, 12vw, 52px);
        margin:0;
    }

    .nunu-volume-wrapper {
        width:clamp(52px, 15vw, 64px);
        margin:0;
    }

    .nunu-volume-display {
        width:100%;
        height:44px;
        font-size:25px;
    }

    .nunu-volume-label {
        margin-top:3px;
        font-size:8px;
        letter-spacing:.7px;
    }

    .nunu-information-panel {
        min-height:390px;
        padding:12px 10px 8px;
        border-left:0;
    }

    .nunu-now-playing-header {
        min-height:44px;
        padding-right:54px;
    }

    .nunu-theme-switch {
        top:0 !important;
        right:0 !important;
    }

    .nunu-player.nunu-signature-test .nunu-schedule-switch {
        top:50px !important;
        right:0 !important;
    }

    .nunu-player.nunu-signature-test .nunu-schedule-drawer {
        padding:12px 54px 14px 12px;
    }

    .nunu-schedule-days {
        gap:2px;
    }

    .nunu-schedule-day {
        height:28px;
        font-size:8px;
    }

    .nunu-theme-toggle {
        width:42px;
        height:42px;
    }

    .nunu-title-line {
        display:flex;
        flex-wrap:wrap;
        align-items:baseline;
        gap:4px 8px;
        margin-top:8px;
    }

    .nunu-title {
        max-width:100%;
        font-size:clamp(23px, 8vw, 34px);
        line-height:1.08;
        overflow-wrap:anywhere;
    }

    .nunu-artist-inline {
        max-width:100%;
        font-size:16px;
        overflow-wrap:anywhere;
    }

    .nunu-information-scroll {
        max-height:330px;
        padding-right:8px;
        overscroll-behavior:contain;
        -webkit-overflow-scrolling:touch;
    }

    .nunu-meta-section,
    .nunu-information-section {
        padding-top:14px;
        padding-bottom:14px;
    }

    .nunu-meta-row {
        grid-template-columns:minmax(72px, 28%) minmax(0, 1fr);
        gap:10px;
        margin-bottom:12px;
    }

    .nunu-meta-row strong,
    .nunu-information-section p {
        overflow-wrap:anywhere;
        word-break:normal;
    }

    .nunu-player-signature {
        position:relative;
        right:auto;
        bottom:auto;
        width:100%;
        height:32px;
        flex:0 0 32px;
        order:10;
        background:transparent;
        border-top:1px solid rgba(143,116,241,.45);
        font-size:10px;
    }

}

@media (max-width:380px) {

    .nunu-controls-panel {
        grid-template-columns:repeat(6, minmax(36px, 44px));
        gap:4px;
    }

    .nunu-control-button,
    .nunu-volume-button {
        width:44px;
        height:44px;
    }

    .nunu-volume-wrapper {
        width:48px;
    }

    .nunu-volume-display {
        height:44px;
        font-size:22px;
    }

    .nunu-meta-row {
        grid-template-columns:1fr;
        gap:3px;
    }

}


/* ==========================
   TABLET LAYOUT
========================== */

@media (min-width:768px) and (max-width:1024px) {

    .nunu-player {
        height:clamp(390px, 52vw, 430px);
        padding:14px;
    }

    .nunu-player::before {
        top:10px;
        right:10px;
        bottom:10px;
        left:10px;
        border-radius:16px;
    }

    .nunu-artwork-panel {
        width:38%;
        padding:5px;
    }

    .nunu-controls-panel {
        width:14%;
        margin:0 6px;
        gap:clamp(10px, 1.8vw, 16px);
    }

    .nunu-control-button,
    .nunu-volume-button {
        width:44px;
        height:44px;
    }

    .nunu-volume-wrapper {
        width:58px;
    }

    .nunu-volume-display {
        width:58px;
        height:44px;
        font-size:26px;
    }

    .nunu-information-panel {
        width:48%;
        padding:10px 14px 24px;
    }

    .nunu-now-playing-header {
        padding-right:48px;
    }

    .nunu-title {
        font-size:clamp(25px, 3.8vw, 34px);
        line-height:1.08;
        overflow-wrap:anywhere;
    }

    .nunu-artist-inline {
        font-size:16px;
        overflow-wrap:anywhere;
    }

    .nunu-meta-row {
        grid-template-columns:minmax(74px, 28%) minmax(0, 1fr);
        gap:8px;
    }

    .nunu-information-scroll {
        padding-right:8px;
        overscroll-behavior:contain;
        -webkit-overflow-scrolling:touch;
    }

}


/* Keep a phone in landscape compact instead of creating a very tall stack. */
@media (max-width:900px) and (orientation:landscape) and (max-height:520px) {

    .nunu-player {
        display:flex;
        flex-direction:row;
        width:100%;
        height:min(94vh, 430px);
        min-height:330px;
        padding:12px;
    }

    .nunu-artwork-panel {
        width:36%;
        height:100%;
        aspect-ratio:auto;
        max-height:none;
        padding:4px;
    }

    .nunu-controls-panel {
        display:flex;
        width:14%;
        height:100%;
        flex-direction:column;
        gap:8px;
        margin:0 6px;
        padding:5px;
        border-top:0;
        border-bottom:0;
        border-left:1px solid rgba(143,116,241,.55);
        border-right:1px solid rgba(143,116,241,.55);
    }

    .nunu-control-button,
    .nunu-volume-button {
        width:44px;
        height:44px;
        flex:0 0 44px;
    }

    .nunu-volume-wrapper {
        width:50px;
    }

    .nunu-volume-display {
        height:42px;
        font-size:22px;
    }

    .nunu-information-panel {
        width:50%;
        height:100%;
        min-height:0;
        padding:8px 10px 22px;
        border-left:0;
    }

    .nunu-now-playing-label {
        font-size:11px;
    }

    .nunu-title {
        font-size:clamp(21px, 4vw, 30px);
    }

    .nunu-information-scroll {
        max-height:none;
    }

    .nunu-player-signature {
        position:absolute;
        right:24px;
        bottom:var(--nunu-signature-bottom, 10px);
        width:calc(50% - 42px);
        height:24px;
        font-size:9px;
    }

}


/* ==========================
   DARK THEME DETAILS
========================== */

.nunu-player.nunu-dark .nunu-control-button,
.nunu-player.nunu-dark .nunu-volume-button {

    color:#FFFFFF;

}


.nunu-player.nunu-dark .nunu-volume-display {

    color:var(--nunu-purple);

    background:#11101B;

}


/* ==========================
   DARK THEME INFORMATION
========================== */

.nunu-player.nunu-dark .nunu-meta-row span {

    color:#BFC0C7;

}


.nunu-player.nunu-dark .nunu-meta-row strong {

    color:#FFFFFF;

}


.nunu-player.nunu-dark .nunu-information-section p {

    color:#FFFFFF;

}


/* ==========================
   SMOOTH THEME TRANSITION
========================== */

.nunu-player,
.nunu-player button,
.nunu-player input {

    transition:

        background .25s ease,

        color .25s ease,

        border-color .25s ease,

        box-shadow .25s ease;

}

/* Keep the main-page range control from inheriting the numeric volume box. */
.nunu-player.nunu-layout-home .nunu-home-volume-slider {
    width:100%;
    height:7px;
    min-height:7px;
    padding:0;
    border:0;
    border-radius:999px;
    background:rgba(143,116,241,.38);
}


/* ==========================
   COMPACT PLAYER LAYOUT
========================== */

.nunu-player.nunu-layout-compact {
    display:grid;
    grid-template-columns:222px minmax(0, 1fr);
    grid-template-rows:minmax(0, 1fr) 74px;
    width:100%;
    max-width:min(var(--nunu-player-width, 1100px), 820px);
    height:250px;
    min-height:250px;
    padding:14px;
    align-items:stretch;
}

.nunu-layout-compact .nunu-compact-loading {
    display:none;
}

.nunu-player.nunu-layout-compact.nunu-compact-initializing .nunu-compact-loading {
    position:absolute;
    z-index:40;
    inset:10px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    color:var(--nunu-cyan, #67d4d6);
    background:var(--nunu-dark-background, #090a12);
    border:1px solid rgba(143,116,241,.72);
    border-radius:calc(var(--nunu-player-radius, 22px) - 5px);
    font-size:13px;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.nunu-player.nunu-layout-compact.nunu-light.nunu-compact-initializing .nunu-compact-loading {
    color:var(--nunu-purple, #8f74f1);
    background:#f7f5fb;
}

.nunu-compact-loading-dot {
    width:10px;
    height:10px;
    border-radius:50%;
    background:currentColor;
    box-shadow:0 0 12px currentColor;
    animation:nunu-compact-loading-pulse 1.25s ease-in-out infinite;
}

@keyframes nunu-compact-loading-pulse {
    50% {
        opacity:.35;
        transform:scale(.75);
    }
}

@media (prefers-reduced-motion: reduce) {
    .nunu-compact-loading-dot {
        animation:none;
    }
}

.nunu-player.nunu-layout-compact::before {
    top:9px;
    right:9px;
    bottom:9px;
    left:9px;
    border-radius:calc(var(--nunu-player-radius, 22px) - 4px);
}

.nunu-layout-compact .nunu-artwork-panel {
    grid-column:1;
    grid-row:1 / 3;
    width:100%;
    height:100%;
    aspect-ratio:auto;
    max-height:none;
    padding:4px;
}

.nunu-layout-compact .nunu-artwork-container {
    border-radius:12px;
}

.nunu-layout-compact .nunu-information-panel {
    grid-column:2;
    grid-row:1;
    width:100%;
    height:100%;
    min-height:0;
    padding:12px 16px 4px;
    border-left:0;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    text-align:left;
}

.nunu-layout-compact .nunu-information-scroll {
    display:none;
}

.nunu-layout-compact .nunu-now-playing-header {
    min-height:0;
    height:100%;
    padding-right:52px;
    border-bottom:0;
    display:flex;
    flex-direction:column;
}

.nunu-layout-compact .nunu-now-playing-label {
    margin-top:0;
}

.nunu-layout-compact .nunu-title-line {
    margin-top:9px;
    display:block;
    text-align:left;
    flex:1 1 auto;
    width:100%;
    max-width:100%;
    min-height:0;
    box-sizing:border-box;
    gap:4px 8px;
    overflow-x:hidden;
    overflow-y:auto;
    padding-right:8px;
    overscroll-behavior:contain;
    scrollbar-width:thin;
    scrollbar-color:var(--nunu-purple) transparent;
    -webkit-overflow-scrolling:touch;
}

.nunu-layout-compact .nunu-title-line::-webkit-scrollbar {
    width:6px;
}

.nunu-layout-compact .nunu-title-line::-webkit-scrollbar-track {
    background:transparent;
}

.nunu-layout-compact .nunu-title-line::-webkit-scrollbar-thumb {
    background:var(--nunu-purple);
    border-radius:20px;
}

.nunu-layout-compact .nunu-title {
    max-width:100%;
    font-size:clamp(24px, 4vw, 34px);
    line-height:1.05;
    overflow-wrap:anywhere;
    display:block;
    white-space:normal;
}

.nunu-layout-compact .nunu-artist-group {
    display:block;
    width:100%;
    margin-top:6px;
    white-space:normal;
}
.nunu-layout-compact .nunu-title-divider { display:none; }

.nunu-layout-compact .nunu-artist-inline {
    max-width:100%;
    font-size:16px;
    overflow-wrap:anywhere;
    display:block;
    white-space:normal;
}

.nunu-layout-compact .nunu-controls-panel {
    grid-column:2;
    grid-row:2;
    display:flex;
    width:100%;
    height:100%;
    flex-direction:row;
    justify-content:flex-start;
    gap:10px;
    margin:0;
    padding:7px 210px 18px 16px;
    border-right:0;
    border-left:0;
    border-top:1px solid rgba(143,116,241,.45);
    border-bottom:0;
}

.nunu-layout-compact .nunu-control-button,
.nunu-layout-compact .nunu-volume-button {
    width:44px;
    height:44px;
    flex:0 0 44px;
    margin:0;
}

.nunu-layout-compact .nunu-volume-wrapper {
    width:54px;
    flex:0 0 54px;
    margin:0;
}

.nunu-layout-compact .nunu-volume-display {
    width:54px;
    height:42px;
    font-size:24px;
}

.nunu-layout-compact .nunu-volume-label {
    display:none;
}

.nunu-layout-compact .nunu-theme-toggle {
    width:40px;
    height:40px;
}

/* The compact layout already has one divider above its controls. Keep every
   nested title container borderless so signature positioning cannot expose a
   second line beneath the song title. */
.nunu-player.nunu-layout-compact .nunu-information-panel,
.nunu-player.nunu-layout-compact .nunu-now-playing-panel,
.nunu-player.nunu-layout-compact .nunu-now-playing-header,
.nunu-player.nunu-layout-compact .nunu-title-line {
    border-bottom:0 !important;
}

.nunu-layout-compact .nunu-player-signature {
    position:absolute;
    right:24px;
    bottom:12px;
    width:180px;
    height:20px;
    font-size:9px;
    background:transparent;
    white-space:nowrap;
    justify-content:flex-end;
    text-align:right;
}

.nunu-layout-compact .nunu-compact-full-player-link-wrap {
    position:absolute;
    right:24px;
    bottom:43px;
    z-index:5;
    width:180px;
    text-align:center;
}

.nunu-layout-compact .nunu-compact-full-player-link {
    color:var(--nunu-cyan, #72d6d5);
    font-size:9px;
    font-weight:700;
    line-height:1;
    letter-spacing:.04em;
    text-decoration:none;
    text-transform:uppercase;
    white-space:nowrap;
}

.nunu-layout-compact .nunu-compact-full-player-link:hover,
.nunu-layout-compact .nunu-compact-full-player-link:focus-visible {
    color:#fff;
    text-decoration:underline;
    text-shadow:0 0 8px rgba(114,214,213,.72);
}

.nunu-player.nunu-layout-compact.nunu-light .nunu-compact-full-player-link {
    color:var(--nunu-purple, #8f74f1);
}

/* The desktop compact information row is intentionally shallow.  Give its
   schedule drawer a compact header and weekday rail so the program list keeps
   real height instead of collapsing to 0px.  The list remains independently
   scrollable and the full-player schedule is unaffected. */
@media (min-width:768px) {
    .nunu-player.nunu-signature-test.nunu-layout-compact .nunu-schedule-drawer {
        padding:5px 58px 5px 12px;
    }

    .nunu-player.nunu-signature-test.nunu-layout-compact .nunu-schedule-heading {
        min-height:22px;
        font-size:10px;
        line-height:1.05;
        letter-spacing:1px;
    }

    .nunu-player.nunu-signature-test.nunu-layout-compact .nunu-schedule-heading small {
        margin-top:1px;
        font-size:6px;
        line-height:1;
        letter-spacing:.35px;
    }

    .nunu-player.nunu-signature-test.nunu-layout-compact .nunu-schedule-days {
        flex:0 0 25px;
        gap:3px;
        height:25px;
        margin:2px 0 3px;
        padding:0;
        scrollbar-width:none;
    }

    .nunu-player.nunu-signature-test.nunu-layout-compact .nunu-schedule-days::-webkit-scrollbar {
        display:none;
    }

    .nunu-player.nunu-signature-test.nunu-layout-compact .nunu-schedule-day {
        flex-basis:40px;
        min-width:40px;
        height:24px;
        border-radius:5px;
        font-size:7px;
    }

    .nunu-player.nunu-signature-test.nunu-layout-compact .nunu-schedule-list {
        flex:1 1 auto;
        min-height:48px;
        padding-right:4px;
    }

    .nunu-player.nunu-signature-test.nunu-layout-compact .nunu-schedule-card {
        grid-template-columns:42px minmax(0, 1fr) 12px;
        gap:6px;
        min-height:44px;
        margin-bottom:4px;
        padding:3px;
        border-radius:7px;
    }

    /* Fit RadioJar's complete banner inside the compact schedule viewport
       while preserving its real provider content and on-air treatment. */
    .nunu-player.nunu-signature-test.nunu-layout-compact .nunu-radiojar-schedule-card {
        min-height:64px;
        margin-bottom:4px;
        border-radius:7px;
        background-position:center;
    }

    .nunu-player.nunu-signature-test.nunu-layout-compact .nunu-radiojar-schedule-overlay {
        gap:1px 7px;
        padding:6px 28px 6px 8px;
        background:linear-gradient(90deg, rgba(5,5,10,.78), rgba(5,5,10,.16));
    }

    .nunu-player.nunu-signature-test.nunu-layout-compact .nunu-radiojar-schedule-overlay strong {
        font-size:10px;
        line-height:1.1;
    }

    .nunu-player.nunu-signature-test.nunu-layout-compact .nunu-radiojar-schedule-overlay span {
        font-size:7px;
        line-height:1.1;
    }

    .nunu-player.nunu-signature-test.nunu-layout-compact .nunu-radiojar-schedule-overlay time {
        font-size:8px;
    }

    .nunu-player.nunu-signature-test.nunu-layout-compact .nunu-schedule-artwork {
        width:42px;
        height:42px;
        border-radius:5px;
        font-size:18px;
    }

    .nunu-player.nunu-signature-test.nunu-layout-compact .nunu-schedule-card-copy strong {
        font-size:9px;
        line-height:1.1;
    }

    .nunu-player.nunu-signature-test.nunu-layout-compact .nunu-schedule-card-copy span,
    .nunu-player.nunu-signature-test.nunu-layout-compact .nunu-schedule-card-copy time {
        margin-top:1px;
        font-size:7px;
        line-height:1.1;
    }

    .nunu-player.nunu-signature-test.nunu-layout-compact .nunu-schedule-on-air {
        right:5px;
        width:8px;
        height:8px;
        margin-top:-4px;
        border-width:1px;
    }
}

@media (max-width:767px) {
    .nunu-player.nunu-layout-compact {
        grid-template-columns:clamp(108px, 29vw, 172px) minmax(0, 1fr);
        grid-template-rows:minmax(174px, 1fr) 58px 20px 22px;
        height:294px;
        min-height:294px;
        padding:10px;
        border-radius:16px;
    }

    .nunu-layout-compact .nunu-information-panel {
        padding:9px 8px 5px 10px;
    }

    .nunu-layout-compact .nunu-now-playing-header {
        padding-right:38px;
    }

    .nunu-layout-compact .nunu-now-playing-label {
        font-size:9px;
        letter-spacing:1px;
    }

    .nunu-layout-compact .nunu-title-line {
        margin-top:6px;
        gap:2px 5px;
    }

    .nunu-layout-compact .nunu-title {
        font-size:clamp(17px, 5.6vw, 25px);
        line-height:1.02;
    }

    .nunu-layout-compact .nunu-title-divider {
        font-size:12px;
    }

    .nunu-layout-compact .nunu-artist-inline {
        font-size:clamp(11px, 3.2vw, 14px);
        line-height:1.12;
    }

    .nunu-layout-compact .nunu-theme-switch {
        top:0 !important;
        right:0 !important;
    }

    .nunu-player.nunu-signature-test.nunu-layout-compact .nunu-schedule-switch {
        top:42px !important;
        right:0 !important;
        width:34px !important;
        height:34px !important;
    }

    .nunu-player.nunu-signature-test.nunu-layout-compact .nunu-schedule-toggle {
        width:34px;
        height:34px;
        font-size:14px;
        display:flex !important;
        visibility:visible !important;
        opacity:1;
        touch-action:manipulation;
    }

    .nunu-player.nunu-signature-test.nunu-layout-compact .nunu-schedule-drawer {
        padding:8px 48px 18px 10px;
    }

    .nunu-player.nunu-signature-test.nunu-layout-compact .nunu-schedule-drawer[hidden] {
        display:none !important;
    }

    .nunu-player.nunu-signature-test.nunu-layout-compact.nunu-schedule-open {
        height:420px;
        min-height:420px;
    }

    .nunu-player.nunu-signature-test.nunu-layout-compact.nunu-schedule-open .nunu-information-panel {
        position:static;
    }

    .nunu-player.nunu-signature-test.nunu-layout-compact.nunu-schedule-open .nunu-schedule-drawer {
        inset:10px 10px 30px;
        z-index:4;
        padding:8px 48px 10px 10px;
        border-radius:12px;
    }

    .nunu-player.nunu-signature-test.nunu-layout-compact.nunu-schedule-open .nunu-theme-switch {
        top:10px !important;
        right:10px !important;
        z-index:6;
    }

    .nunu-player.nunu-signature-test.nunu-layout-compact.nunu-schedule-open .nunu-schedule-switch {
        top:52px !important;
        right:10px !important;
        z-index:6;
    }

    .nunu-player.nunu-signature-test.nunu-layout-compact .nunu-schedule-card {
        grid-template-columns:52px minmax(0, 1fr);
    }

    .nunu-player.nunu-signature-test.nunu-layout-compact .nunu-schedule-artwork {
        width:52px;
        height:52px;
        font-size:22px;
    }

    .nunu-layout-compact .nunu-theme-toggle {
        width:34px;
        height:34px;
        font-size:12px;
    }

    .nunu-layout-compact .nunu-controls-panel {
        grid-column:1 / -1;
        gap:6px;
        padding:7px 8px 10px;
        justify-content:center;
    }

    .nunu-layout-compact .nunu-volume-up,
    .nunu-layout-compact .nunu-volume-down {
        display:flex;
    }

    .nunu-layout-compact .nunu-control-button,
    .nunu-layout-compact .nunu-volume-button {
        width:36px;
        height:36px;
        flex-basis:36px;
    }

    .nunu-layout-compact .nunu-volume-wrapper,
    .nunu-layout-compact .nunu-volume-display {
        width:44px;
        flex-basis:44px;
    }

    .nunu-layout-compact .nunu-volume-display {
        height:36px;
        font-size:20px;
    }

    .nunu-layout-compact .nunu-player-signature {
        position:relative;
        grid-column:1 / -1;
        grid-row:4;
        left:auto;
        right:auto;
        bottom:auto;
        width:100%;
        height:22px;
        align-self:stretch;
        border-top:1px solid rgba(143,116,241,.45);
        font-size:clamp(7px, 2.2vw, 9px);
        line-height:1;
        white-space:nowrap;
    }

    .nunu-layout-compact .nunu-compact-full-player-link-wrap {
        position:relative;
        grid-column:1 / -1;
        grid-row:3;
        right:auto;
        bottom:auto;
        width:100%;
        align-self:center;
        text-align:center;
    }
}

@media (max-width:360px) {
    .nunu-player.nunu-layout-compact {
        grid-template-columns:96px minmax(0, 1fr);
        grid-template-rows:minmax(184px, 1fr) 58px 20px 22px;
        height:304px;
        min-height:304px;
    }

    .nunu-player.nunu-signature-test.nunu-layout-compact.nunu-schedule-open {
        height:460px;
        min-height:460px;
    }

    .nunu-layout-compact .nunu-information-panel {
        padding:7px 5px 2px 8px;
    }

    .nunu-layout-compact .nunu-now-playing-header {
        padding-right:31px;
    }

    .nunu-layout-compact .nunu-title {
        font-size:clamp(16px, 5.7vw, 20px);
    }

    .nunu-layout-compact .nunu-artist-inline {
        font-size:11px;
    }

    .nunu-layout-compact .nunu-theme-toggle,
    .nunu-player.nunu-signature-test.nunu-layout-compact .nunu-schedule-toggle {
        width:30px;
        height:30px;
    }

    .nunu-player.nunu-signature-test.nunu-layout-compact .nunu-schedule-switch {
        top:36px !important;
        width:30px !important;
        height:30px !important;
    }
}

/* ==========================
   MAIN-PAGE NOW PLAYING CARD
========================== */

.nunu-player.nunu-layout-home {
    display:grid;
    grid-template-columns:220px minmax(0, 1fr);
    grid-template-rows:minmax(0, 1fr) 64px;
    width:100%;
    max-width:min(var(--nunu-player-width, 1100px), 675px);
    height:220px;
    min-height:220px;
    padding:10px;
    align-items:stretch;
}

.nunu-layout-home .nunu-artwork-panel {
    grid-column:1;
    grid-row:1 / 3;
    width:100%;
    height:100%;
    max-height:none;
    padding:4px;
}

.nunu-layout-home .nunu-artwork-container {
    border-radius:12px;
}

.nunu-layout-home .nunu-information-panel {
    grid-column:2;
    grid-row:1;
    width:100%;
    height:100%;
    min-height:0;
    padding:12px 14px 4px;
    border-left:0;
    overflow:hidden;
}

.nunu-layout-home .nunu-now-playing-panel,
.nunu-layout-home .nunu-now-playing-header,
.nunu-layout-home .nunu-title-line {
    border:0 !important;
}

.nunu-layout-home .nunu-now-playing-panel,
.nunu-layout-home .nunu-now-playing-header {
    height:100%;
    min-height:0;
    padding-bottom:0;
}

.nunu-layout-home .nunu-now-playing-label {
    margin:0;
    font-size:12px;
}

.nunu-layout-home .nunu-now-playing-header {
    display:flex;
    flex-direction:column;
}

.nunu-layout-home .nunu-title-line {
    display:block;
    flex:1 1 auto;
    min-height:0;
    min-width:0;
    width:100%;
    text-align:left;
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior:contain;
    scrollbar-width:thin;
    scrollbar-color:var(--nunu-purple) transparent;
    -webkit-overflow-scrolling:touch;
    margin-top:8px;
    padding-right:44px;
}

.nunu-layout-home .nunu-title-line::-webkit-scrollbar { width:6px; }
.nunu-layout-home .nunu-title-line::-webkit-scrollbar-thumb {
    background:var(--nunu-purple);
    border-radius:20px;
}
.nunu-layout-home .nunu-title-line:focus-visible {
    outline:1px solid var(--nunu-purple);
    outline-offset:-1px;
}
.nunu-layout-home .nunu-artist-group {
    display:block;
    width:100%;
    margin-top:6px;
}
.nunu-layout-home .nunu-title-divider { display:none; }

.nunu-layout-home .nunu-title {
    max-width:100%;
    font-size:clamp(23px, 3.2vw, 32px);
    line-height:1.05;
    display:block;
    white-space:normal;
    overflow-wrap:anywhere;
    overflow:visible;
}

.nunu-layout-home .nunu-artist-inline {
    max-width:100%;
    font-size:clamp(14px, 1.8vw, 18px);
    line-height:1.25;
    display:block;
    white-space:normal;
    overflow-wrap:anywhere;
    overflow:visible;
}

.nunu-layout-home .nunu-information-scroll,
.nunu-layout-home .nunu-schedule-switch,
.nunu-layout-home .nunu-schedule-drawer,
.nunu-layout-home .nunu-privacy-reset {
    display:none !important;
}

/* Keep the same theme control available on the main-page player. */
.nunu-player.nunu-layout-home {
    padding-bottom:26px;
}
.nunu-layout-home .nunu-player-signature {
    position:absolute;
    display:flex;
    justify-content:flex-end;
    text-align:right;
    left:12px;
    right:12px;
    bottom:1px;
    width:auto;
    height:18px;
    border:0;
    background:transparent;
    font-size:9px;
    letter-spacing:.4px;
}
.nunu-layout-home .nunu-theme-switch {
    display:flex !important;
    top:0 !important;
    right:0 !important;
}

.nunu-layout-home .nunu-theme-toggle {
    width:38px;
    height:38px;
}

/* Current live and recorded shows use the same red on-air treatment as the
   active schedule card. Music-only playback retains the normal purple frame. */
.nunu-player.nunu-layout-home[data-nunu-content-state="live"],
.nunu-player.nunu-layout-home[data-nunu-content-state="recorded"] {
    box-shadow:
        inset 0 0 0 2px var(--nunu-red),
        0 0 14px rgba(177,15,36,.38),
        var(--nunu-player-shadow, 0 0 18px rgba(143,116,241,.55));
}

.nunu-player.nunu-layout-home[data-nunu-content-state="live"]::after,
.nunu-player.nunu-layout-home[data-nunu-content-state="recorded"]::after {
    content:"";
    position:absolute;
    top:50%;
    right:8px;
    width:12px;
    height:12px;
    margin-top:-6px;
    border:2px solid rgba(255,255,255,.9);
    border-radius:50%;
    background:var(--nunu-red);
    box-shadow:0 0 0 0 rgba(204,17,49,.72);
    box-sizing:border-box;
    animation:nunu-schedule-on-air-pulse 1.45s ease-out infinite;
    z-index:8;
    pointer-events:none;
}

/* Match the Listen Live artwork treatment: preserve the entire foreground
   image and use a darkened blurred copy to fill any remaining space. */
.nunu-layout-home .nunu-artwork-background {
    object-fit:cover;
    filter:blur(22px) brightness(.34) saturate(.85);
}

.nunu-layout-home .nunu-artwork {
    object-fit:contain;
    object-position:center;
}

.nunu-layout-home .nunu-controls-panel {
    grid-column:2;
    grid-row:2;
    display:flex;
    position:relative;
    flex-direction:row;
    flex-wrap:nowrap;
    width:100%;
    height:100%;
    align-items:center;
    justify-content:flex-start;
    gap:8px;
    margin:0;
    padding:8px 125px 8px 14px;
    border:0;
    border-top:1px solid rgba(143,116,241,.5);
    overflow:visible;
}

.nunu-layout-home .nunu-control-button {
    width:44px;
    height:44px;
    flex:0 0 44px;
    margin:0;
}

.nunu-home-volume {
    display:flex;
    flex:0 1 145px;
    width:min(145px, 40%);
    min-width:72px;
    align-items:center;
}

.nunu-layout-home .nunu-home-volume-slider {
    appearance:none;
    -webkit-appearance:none;
    width:100%;
    height:7px;
    min-height:7px;
    padding:0;
    border:0;
    border-radius:999px;
    outline:0;
    background:rgba(143,116,241,.38);
    cursor:pointer;
}

.nunu-layout-home .nunu-home-volume-slider::-webkit-slider-thumb {
    appearance:none;
    -webkit-appearance:none;
    width:18px;
    height:18px;
    border:2px solid var(--nunu-purple);
    border-radius:50%;
    background:#fff;
    box-shadow:0 0 8px rgba(143,116,241,.55);
}

.nunu-layout-home .nunu-home-volume-slider::-moz-range-thumb {
    width:16px;
    height:16px;
    border:2px solid var(--nunu-purple);
    border-radius:50%;
    background:#fff;
    box-shadow:0 0 8px rgba(143,116,241,.55);
}

.nunu-home-player-link {
    position:absolute;
    right:18px;
    bottom:25px;
    z-index:5;
    color:var(--nunu-cyan, #72d6d5);
    font-size:11px;
    font-weight:700;
    line-height:1;
    text-decoration:none;
    letter-spacing:.02em;
}

.nunu-home-player-link:hover,
.nunu-home-player-link:focus-visible {
    color:#fff;
    text-decoration:underline;
}

/* In the white theme, match the Open full player link to the purple
   NOW PLAYING heading instead of retaining the dark-theme cyan. */
.nunu-player.nunu-layout-home.nunu-light .nunu-home-player-link {
    color:var(--nunu-purple, #8f74f1);
}

.nunu-player.nunu-layout-home.nunu-light .nunu-home-player-link:hover,
.nunu-player.nunu-layout-home.nunu-light .nunu-home-player-link:focus-visible {
    color:var(--nunu-purple, #8f74f1);
}

@media (max-width:767px) {
    .nunu-player.nunu-layout-home {
        grid-template-columns:132px minmax(0, 1fr);
        grid-template-rows:minmax(150px, 1fr) 66px;
        height:238px;
        min-height:238px;
        padding:10px;
        border-radius:16px;
    }

    .nunu-layout-home .nunu-artwork-panel {
        grid-row:1;
    }

    .nunu-layout-home .nunu-information-panel {
        padding:10px 10px 4px 12px;
    }

    .nunu-layout-home .nunu-title-line {
        margin-top:7px;
        padding-right:44px;
        gap:3px 6px;
    }

    .nunu-layout-home .nunu-title {
        font-size:clamp(20px, 7vw, 30px);
    }

    .nunu-layout-home .nunu-artist-inline {
        font-size:13px;
    }

    .nunu-layout-home .nunu-controls-panel {
        grid-column:1 / -1;
        padding:8px 112px 8px 10px;
        gap:8px;
    }

    .nunu-layout-home .nunu-control-button {
        width:42px;
        height:42px;
        flex-basis:42px;
    }

    .nunu-home-volume {
        width:min(150px, 45%);
    }

    .nunu-home-player-link {
        right:18px;
        bottom:29px;
        font-size:11px;
    }

    .nunu-player.nunu-layout-home[data-nunu-content-state="live"]::after,
    .nunu-player.nunu-layout-home[data-nunu-content-state="recorded"]::after {
        right:6px;
    }
}

@media (prefers-reduced-motion:reduce) {
    .nunu-player.nunu-layout-home[data-nunu-content-state="live"]::after,
    .nunu-player.nunu-layout-home[data-nunu-content-state="recorded"]::after {
        animation:none;
    }
}













/* ==========================
   DARK THEME DETAILS
========================== */

.nunu-player.nunu-dark .nunu-control-button,
.nunu-player.nunu-dark .nunu-volume-button {

    color:#FFFFFF;

}


.nunu-player.nunu-dark .nunu-volume-display {

    color:var(--nunu-purple);

    background:#11101B;

}


/* ==========================
   DARK THEME INFORMATION
========================== */

.nunu-player.nunu-dark .nunu-meta-row span {

    color:#BFC0C7;

}


.nunu-player.nunu-dark .nunu-meta-row strong {

    color:#FFFFFF;

}


.nunu-player.nunu-dark .nunu-information-section p {

    color:#FFFFFF;

}


/* ==========================
   SMOOTH THEME TRANSITION
========================== */

.nunu-player,
.nunu-player button,
.nunu-player input {

    transition:

        background .25s ease,

        color .25s ease,

        border-color .25s ease,

        box-shadow .25s ease;

}

/* Main-page player safeguards placed after the shared theme rules. */
.nunu-player.nunu-layout-home .nunu-home-volume-slider {
    width:100%;
    height:7px;
    min-height:7px;
    padding:0;
    border:0;
    border-radius:999px;
    background:rgba(143,116,241,.38);
}

.nunu-screen-reader-text {
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0, 0, 0, 0);
    white-space:nowrap;
    border:0;
}

/* Landscape phones keep the autoplay action beside the Play control. */
@media (max-width:767px) and (orientation:landscape) {
    .nunu-listen-live .nunu-playback-message {
        right:calc(100% + 10px);
        left:auto;
        top:50%;
        bottom:auto;
        transform:translateY(-50%);
        width:max-content;
        max-width:min(200px, 30vw);
    }
}

/* Keep expandable information inside narrow mobile player panels. */
@media (max-width:767px) {
    .nunu-meta-row,
    .nunu-additional-information,
    .nunu-broadcast-notice,
    .nunu-broadcast-notice p,
    .nunu-additional-information [data-nunu-field="track-album"] {
        min-width:0;
        max-width:100%;
        box-sizing:border-box;
    }

    .nunu-additional-information {
        width:100%;
        overflow:hidden;
    }

    .nunu-additional-information [data-nunu-field="track-album"],
    .nunu-broadcast-notice p {
        white-space:normal;
        overflow-wrap:anywhere;
        word-break:normal;
    }

    .nunu-additional-information [data-nunu-field="track-album"],
    .nunu-broadcast-notice.is-special [data-nunu-field="show-description"] {
        display:-webkit-box;
        overflow:hidden;
        -webkit-box-orient:vertical;
        -webkit-line-clamp:3;
    }

    .nunu-additional-dialog,
    .nunu-broadcast-dialog {
        align-items:center;
        padding:10px;
    }

    .nunu-additional-dialog-panel,
    .nunu-broadcast-dialog-panel {
        width:min(560px, 100%);
        max-width:100%;
        max-height:calc(100dvh - 20px);
        overflow-x:hidden;
        overflow-y:auto;
        overscroll-behavior:contain;
        -webkit-overflow-scrolling:touch;
    }
}

@media (max-width:767px) and (orientation:landscape) {
    .nunu-additional-dialog,
    .nunu-broadcast-dialog {
        padding:8px max(10px, env(safe-area-inset-right)) 8px max(10px, env(safe-area-inset-left));
    }

    .nunu-additional-dialog-panel,
    .nunu-broadcast-dialog-panel {
        width:min(720px, 92vw);
        max-height:calc(100dvh - 16px);
        padding:18px 22px;
    }
}

/* Reserve a real signature row on landscape phones across browser engines. */
@media (max-width:900px) and (orientation:landscape) and (max-height:520px) {
    .nunu-player:not(.nunu-layout-home):not(.nunu-layout-compact) {
        display:grid;
        grid-template-columns:minmax(0, 36fr) minmax(62px, 14fr) minmax(0, 50fr);
        grid-template-rows:minmax(0, 1fr) 28px;
        column-gap:6px;
        align-items:stretch;
    }

    .nunu-player:not(.nunu-layout-home):not(.nunu-layout-compact) .nunu-artwork-panel {
        grid-column:1;
        grid-row:1;
        width:100%;
        height:100%;
    }

    .nunu-player:not(.nunu-layout-home):not(.nunu-layout-compact) .nunu-controls-panel {
        grid-column:2;
        grid-row:1;
        width:100%;
        height:100%;
        margin:0;
    }

    .nunu-player:not(.nunu-layout-home):not(.nunu-layout-compact) .nunu-information-panel {
        grid-column:3;
        grid-row:1;
        width:100%;
        height:100%;
        padding-bottom:4px;
    }

    .nunu-player:not(.nunu-layout-home):not(.nunu-layout-compact) .nunu-player-signature {
        position:relative;
        grid-column:1 / -1;
        grid-row:2;
        right:auto;
        bottom:auto;
        width:100%;
        height:28px;
        min-width:0;
        padding:6px 14px 0;
        gap:0;
        border-top:1px solid rgba(143,116,241,.55);
        background:transparent;
        white-space:nowrap;
    }

    .nunu-player:not(.nunu-layout-home):not(.nunu-layout-compact) .nunu-player-signature::before,
    .nunu-player:not(.nunu-layout-home):not(.nunu-layout-compact) .nunu-player-signature::after {
        content:none;
        display:none;
    }

    .nunu-player:not(.nunu-layout-home):not(.nunu-layout-compact) .nunu-player-signature span {
        flex:0 0 auto;
        white-space:nowrap;
    }
}

/* Compact: one scrolling information column; outer grid and controls stay fixed. */
.nunu-player.nunu-signature-test.nunu-layout-compact > .nunu-theme-switch,
.nunu-player.nunu-signature-test.nunu-layout-compact > .nunu-schedule-switch {
    width:42px !important;
    height:42px !important;
    right:24px !important;
    left:auto !important;
    justify-content:center !important;
    align-items:center !important;
}
.nunu-player.nunu-layout-compact > .nunu-theme-switch > button,
.nunu-player.nunu-layout-compact > .nunu-schedule-switch > button {
    margin:0 !important;
    padding:0 !important;
    flex-shrink:0;
}
@media (max-width:767px) {
    .nunu-player.nunu-signature-test.nunu-layout-compact > .nunu-theme-switch,
    .nunu-player.nunu-signature-test.nunu-layout-compact > .nunu-schedule-switch {
        width:34px !important;
        height:34px !important;
        right:18px !important;
    }
}
.nunu-player.nunu-layout-compact > .nunu-theme-switch {
    top:18px !important;
    right:24px !important;
}
.nunu-player.nunu-signature-test.nunu-layout-compact > .nunu-schedule-switch {
    top:62px !important;
    right:24px !important;
}
@media (max-width:767px) {
    .nunu-player.nunu-layout-compact > .nunu-theme-switch {
        top:22px !important;
        right:18px !important;
    }
    .nunu-player.nunu-signature-test.nunu-layout-compact > .nunu-schedule-switch {
        top:60px !important;
        right:18px !important;
    }
}
.nunu-player.nunu-layout-compact .nunu-information-panel {
    padding-right:72px;
    display:block;
    overflow-y:auto;
    overflow-x:hidden;
    overscroll-behavior:contain;
    scrollbar-width:thin;
    scrollbar-color:var(--nunu-purple) transparent;
    -webkit-overflow-scrolling:touch;
}
.nunu-player.nunu-layout-compact .nunu-information-panel::-webkit-scrollbar { width:6px; }
.nunu-player.nunu-layout-compact .nunu-information-panel::-webkit-scrollbar-thumb {
    background:var(--nunu-purple);
    border-radius:20px;
}
.nunu-player.nunu-layout-compact .nunu-information-panel:focus-visible {
    outline:1px solid var(--nunu-purple);
    outline-offset:-2px;
}
.nunu-player.nunu-layout-compact .nunu-now-playing-panel,
.nunu-player.nunu-layout-compact .nunu-now-playing-header {
    height:auto;
    flex:none;
    width:100%;
}
.nunu-player.nunu-layout-compact .nunu-now-playing-header {
    padding-right:0;
}
.nunu-player.nunu-layout-compact .nunu-title-line {
    overflow:visible;
    flex:none;
}
.nunu-player.nunu-layout-compact .nunu-information-scroll {
    display:block;
    height:auto;
    max-height:none;
    overflow:visible;
    flex:none;
    width:100%;
    padding-right:8px;
    margin-top:12px;
}
.nunu-player.nunu-layout-compact .nunu-now-playing-panel {
    min-height:100%;
}
.nunu-player.nunu-layout-compact .nunu-now-playing-header {
    min-height:100%;
}
.nunu-player.nunu-layout-compact .nunu-meta-row {
    grid-template-columns:minmax(0, 1fr);
    gap:3px;
}
.nunu-player.nunu-layout-compact .nunu-meta-row strong {
    min-width:0;
    overflow-wrap:anywhere;
}

/* Portrait uses a full divider above a separately centered signature. */
@media (max-width:767px) and (orientation:portrait) {
    .nunu-player:not(.nunu-layout-home):not(.nunu-layout-compact) .nunu-player-signature {
        width:100%;
        height:32px;
        flex:0 0 32px;
        min-width:0;
        padding:7px 12px 0;
        gap:0;
        border-top:1px solid rgba(143,116,241,.55);
        background:transparent;
        white-space:nowrap;
    }

    .nunu-player:not(.nunu-layout-home):not(.nunu-layout-compact) .nunu-player-signature::before,
    .nunu-player:not(.nunu-layout-home):not(.nunu-layout-compact) .nunu-player-signature::after {
        content:none;
        display:none;
    }

    .nunu-player:not(.nunu-layout-home):not(.nunu-layout-compact) .nunu-player-signature span {
        flex:0 0 auto;
        white-space:nowrap;
    }
}
