/* Broadcast Schedule Pro - schedule.css v3.0.0 */

/* ── Custom Properties ──────────────────────────────────────────────────── */
.bspro-schedule-container,
.bspro-now-next-widget {
    --bspro-accent    : #ffd700;
    --bspro-bg-deep   : #0f0f14;
    --bspro-bg-card   : #1a1a24;
    --bspro-bg-hover  : #22222e;
    --bspro-text      : #f0f0f5;
    --bspro-muted     : #7070a0;
    --bspro-border    : rgba(255,255,255,0.07);
    --bspro-radius    : 12px;
    --bspro-shadow    : 0 8px 40px rgba(0,0,0,0.5);
    --bspro-featured-bg  : linear-gradient(135deg, #1e1030 0%, #2a1545 100%);
    --bspro-featured-border : #6a3fa0;
    --bspro-replay-bg    : linear-gradient(135deg, #0e2418 0%, #152e20 100%);
    --bspro-replay-border: #2d6e45;
    --bspro-overnight-bg : linear-gradient(135deg, #111118 0%, #16161f 100%);
    --bspro-open-bg      : linear-gradient(135deg, #1a1a22 0%, #222230 100%);
}

/* ── Schedule Container ──────────────────────────────────────────────────── */
.bspro-schedule-container {
    max-width    : 1100px;
    width        : 100%;
    margin       : 0 auto;
    background   : var(--bspro-bg-deep);
    border-radius: var(--bspro-radius);
    box-shadow   : var(--bspro-shadow);
    overflow     : visible; /* must NOT be hidden — clips Swiper touch events */
    font-family  : -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── Header Bar ─────────────────────────────────────────────────────────── */
.bspro-schedule-header {
    display         : flex;
    align-items     : center;
    justify-content : space-between;
    flex-wrap       : wrap;
    gap             : 12px;
    padding         : 16px 24px;
    background      : rgba(255,255,255,0.04);
    border-bottom   : 1px solid rgba(255,215,0,0.15);
}

.bspro-header-left {
    display     : flex;
    align-items : baseline;
    gap         : 10px;
}

.bspro-station-name {
    font-size   : 16px;
    font-weight : 700;
    color       : var(--bspro-text);
    letter-spacing: 0.03em;
}

.bspro-schedule-label {
    font-size   : 11px;
    font-weight : 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color       : var(--bspro-muted);
}

/* ── Timezone Controls ───────────────────────────────────────────────────── */
.bspro-tz-controls {
    display    : flex;
    align-items: center;
    gap        : 12px;
    flex-wrap  : wrap;
}

.bspro-tz-badge {
    display    : flex;
    align-items: center;
    gap        : 5px;
    font-size  : 12px;
    color      : var(--bspro-muted);
}

.bspro-tz-icon { font-size: 14px; }

.bspro-tz-current-label {
    font-size  : 12px;
    font-weight: 500;
    color      : rgba(255,255,255,0.65);
}

.bspro-tz-toggle {
    display      : flex;
    border       : 1px solid rgba(255,255,255,0.12);
    border-radius: 6px;
    overflow     : hidden;
}

.bspro-tz-btn {
    background  : transparent;
    border      : none;
    padding     : 5px 12px;
    font-size   : 12px;
    font-weight : 600;
    color       : var(--bspro-muted);
    cursor      : pointer;
    transition  : all 0.2s ease;
    line-height : 1;
}

.bspro-tz-btn:hover { color: var(--bspro-text); background: rgba(255,255,255,0.06); }

.bspro-tz-btn.active {
    background  : var(--bspro-accent);
    color       : #000;
    font-weight : 700;
}

/* ── Carousel ────────────────────────────────────────────────────────────── */
.bspro-schedule-carousel {
    position : relative;
    padding  : 20px 48px 56px;
    overflow : hidden !important; /* Clips non-active slides. Buttons sit within the
                                     padding area (48px sides) so are never clipped.
                                     Button clicks were previously eaten by slide content
                                     layer — fixed with z-index below, not overflow. */
}

.bspro-day-schedule {
    background   : var(--bspro-bg-card);
    border-radius: 10px;
    padding      : 20px;
    min-height   : 480px;
    max-height   : 780px;
    overflow-y   : auto;
}

.bspro-day-schedule::-webkit-scrollbar       { width: 5px; }
.bspro-day-schedule::-webkit-scrollbar-track { background: rgba(255,255,255,0.04); border-radius: 3px; }
.bspro-day-schedule::-webkit-scrollbar-thumb { background: var(--bspro-accent); border-radius: 3px; }

.bspro-day-title {
    text-align    : center;
    color         : var(--bspro-accent);
    font-size     : 22px;
    font-weight   : 800;
    margin-bottom : 20px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.bspro-timeline {
    display       : flex;
    flex-direction: column;
    gap           : 4px;
}

/* ── Show Blocks ─────────────────────────────────────────────────────────── */
.bspro-show-block {
    position       : relative;
    display        : flex;
    align-items    : center;
    gap            : 14px;
    padding        : 12px 16px;
    border-radius  : 8px;
    border-left    : 4px solid transparent;
    text-decoration: none;
    cursor         : pointer;
    transition     : transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    overflow       : hidden;
}

.bspro-show-block::before {
    content   : '';
    position  : absolute;
    inset     : 0;
    background: rgba(255,255,255,0);
    transition: background 0.2s ease;
    pointer-events: none;
}

.bspro-show-block:hover { transform: translateX(4px); }
.bspro-show-block:hover::before { background: rgba(255,255,255,0.03); }

.bspro-show-block.featured-show {
    background         : var(--bspro-featured-bg);
    border-left-color  : var(--bspro-featured-border);
    color              : var(--bspro-text);
}

.bspro-show-block.replay {
    background        : var(--bspro-replay-bg);
    border-left-color : var(--bspro-replay-border);
    color             : rgba(255,255,255,0.75);
}

.bspro-show-block.overnight {
    background        : var(--bspro-overnight-bg);
    border-left-color : rgba(255,255,255,0.1);
    color             : var(--bspro-muted);
    cursor            : default;
}
.bspro-show-block.overnight:hover { transform: none; }
.bspro-show-block.overnight:hover::before { background: transparent; }

.bspro-show-block.open-programming {
    background        : var(--bspro-open-bg);
    border-left-color : rgba(255,255,255,0.2);
    color             : rgba(255,255,255,0.6);
}

/* Now-playing glow */
.bspro-show-block.now-playing {
    border-left-color : var(--bspro-accent) !important;
    border-left-width : 5px;
    box-shadow        : 0 0 24px rgba(255,215,0,0.25), inset 0 0 40px rgba(255,215,0,0.04);
    animation         : bspro-pulse 3s ease-in-out infinite;
}

@keyframes bspro-pulse {
    0%,100% { box-shadow: 0 0 24px rgba(255,215,0,0.25), inset 0 0 40px rgba(255,215,0,0.04); }
    50%      { box-shadow: 0 0 38px rgba(255,215,0,0.45), inset 0 0 60px rgba(255,215,0,0.08); }
}

/* ON AIR badge */
.bspro-now-badge {
    position      : absolute;
    top           : 8px;
    right         : 10px;
    background    : var(--bspro-accent);
    color         : #000;
    font-size      : 9px;
    font-weight   : 800;
    letter-spacing: 0.1em;
    padding       : 2px 6px;
    border-radius : 4px;
}

/* Image */
.bspro-show-image-wrap {
    flex-shrink  : 0;
    width        : 52px;
    height       : 52px;
    border-radius: 8px;
    overflow     : hidden;
    border       : 1px solid rgba(255,255,255,0.1);
}

.bspro-show-image {
    width     : 100%;
    height    : 100%;
    object-fit: cover;
}

/* Content */
.bspro-show-content {
    flex   : 1;
    min-width: 0;
}

.bspro-show-time {
    font-size  : 11px;
    font-weight: 600;
    opacity    : 0.65;
    font-family: monospace;
    margin-bottom: 3px;
    letter-spacing: 0.04em;
}

.bspro-time-sep { margin: 0 4px; opacity: 0.5; }

.bspro-show-name {
    font-size  : 15px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
    overflow   : hidden;
    text-overflow: ellipsis;
}

.bspro-show-cta {
    font-size  : 11px;
    font-weight: 600;
    color      : var(--bspro-accent);
    margin-top : 4px;
    opacity    : 0;
    transition : opacity 0.2s ease;
}
.bspro-show-block:hover .bspro-show-cta { opacity: 1; }

/* ── Pro: Description & DJ (v3.0) ─────────────────────────────────────── */
.bspro-show-description {
    font-size  : 11px;
    color      : rgba(255,255,255,0.55);
    margin-top : 4px;
    line-height: 1.4;
    white-space: normal;
    overflow   : hidden;
    display    : -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.bspro-show-dj {
    font-size  : 11px;
    color      : var(--bspro-accent);
    margin-top : 3px;
    font-weight: 600;
    opacity    : 0.85;
}
.bspro-show-dj a { color: inherit; text-decoration: none; }
.bspro-show-dj a:hover { text-decoration: underline; }

/* Custom show color: applied via --bsp-show-color CSS var on the block */
.bspro-show-block[style*="--bsp-show-color"] {
    border-color: var(--bsp-show-color) !important;
    border-left-width: 3px;
}
.bspro-show-block[style*="--bsp-show-color"] .bspro-show-time {
    color: var(--bsp-show-color);
}

/* ── Swiper overrides ────────────────────────────────────────────────────── */
.swiper-button-prev, .swiper-button-next {
    color  : var(--bspro-accent) !important;
    width  : 36px !important;
    height : 36px !important;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    backdrop-filter: blur(4px);
    transition: background 0.2s ease;
}
.swiper-button-prev:hover,.swiper-button-next:hover { background: rgba(255,255,255,0.12); }
.swiper-button-prev:after,.swiper-button-next:after { font-size: 16px !important; font-weight: 900 !important; }

.swiper-pagination {
    position  : relative !important;
    bottom    : 0 !important;
    margin-top: 20px !important;
    display   : flex !important;
    justify-content: center !important;
    gap       : 6px !important;
    flex-wrap : wrap !important;
}

.swiper-pagination-bullet {
    background   : rgba(255,255,255,0.1) !important;
    opacity      : 1 !important;
    width        : auto !important;
    height       : auto !important;
    border-radius: 6px !important;
    padding      : 6px 14px !important;
    font-size    : 12px !important;
    font-weight  : 700 !important;
    color        : var(--bspro-muted) !important;
    transition   : all 0.2s ease !important;
    letter-spacing: 0.04em !important;
}

.swiper-pagination-bullet:hover { background: rgba(255,255,255,0.18) !important; color: var(--bspro-text) !important; }

.swiper-pagination-bullet-active {
    background : var(--bspro-accent) !important;
    color      : #000 !important;
    transform  : scale(1.05) !important;
}

/* ── Now & Next Widget ───────────────────────────────────────────────────── */
.bspro-now-next-widget {
    display   : grid;
    grid-template-columns: 1fr 1fr;
    gap       : 2px;
    background: var(--bspro-bg-deep);
    border-radius: var(--bspro-radius);
    overflow  : hidden;
    box-shadow: var(--bspro-shadow);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.bspro-on-air-panel,
.bspro-up-next-panel {
    padding   : 18px 20px;
    background: var(--bspro-bg-card);
}

.bspro-on-air-panel { border-left: 4px solid var(--bspro-accent); }
.bspro-up-next-panel { border-left: 4px solid var(--bspro-replay-border); }

.bspro-on-air-badge {
    font-size    : 10px;
    font-weight  : 800;
    letter-spacing: 0.15em;
    color        : var(--bspro-accent);
    border       : 1px solid currentColor;
    display      : inline-block;
    padding      : 2px 7px;
    border-radius: 4px;
    margin-bottom: 10px;
    animation    : bspro-blink 1.8s ease-in-out infinite;
}

@keyframes bspro-blink {
    0%,100% { opacity: 1; }
    50%     { opacity: 0.55; }
}

.bspro-up-next-label {
    font-size    : 10px;
    font-weight  : 700;
    letter-spacing: 0.12em;
    color        : var(--bspro-muted);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.bspro-on-air-show,
.bspro-up-next-show {
    display    : flex;
    align-items: center;
    gap        : 12px;
    min-height : 44px;
}

.bspro-loading-pulse {
    color  : var(--bspro-muted);
    font-size: 14px;
    animation: bspro-blink 1.5s ease-in-out infinite;
}

.bspro-widget-thumb {
    width        : 44px;
    height       : 44px;
    object-fit   : cover;
    border-radius: 6px;
    border       : 1px solid rgba(255,255,255,0.1);
    flex-shrink  : 0;
}

.bspro-widget-info {
    display       : flex;
    flex-direction: column;
    gap           : 3px;
    min-width     : 0;
}

.bspro-widget-name {
    font-size  : 15px;
    font-weight: 700;
    color      : var(--bspro-text);
    white-space: nowrap;
    overflow   : hidden;
    text-overflow: ellipsis;
}

.bspro-widget-time {
    font-size  : 12px;
    color      : var(--bspro-muted);
    font-weight: 500;
}

a.bspro-widget-link {
    display        : flex;
    align-items    : center;
    gap            : 12px;
    text-decoration: none;
    color          : inherit;
    transition     : opacity 0.2s ease;
}
a.bspro-widget-link:hover { opacity: 0.8; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .bspro-schedule-carousel { padding: 12px 32px 48px; }
    .bspro-schedule-header   { padding: 12px 16px; }
    .bspro-now-next-widget   { grid-template-columns: 1fr; }
    .bspro-tz-controls       { width: 100%; }
    .bspro-day-title         { font-size: 18px; }
    .bspro-show-name         { font-size: 14px; }
}

@media (max-width: 480px) {
    .bspro-schedule-carousel { padding: 8px 20px 42px; }
    .bspro-day-schedule      { padding: 14px; min-height: 360px; }
    .bspro-show-block        { padding: 10px 12px; gap: 10px; }
    .bspro-show-image-wrap   { width: 42px; height: 42px; }
    .bspro-show-name         { font-size: 13px; }
    .bspro-show-time         { font-size: 10px; }
    .bspro-widget-name       { font-size: 14px; }
    .swiper-pagination-bullet { padding: 5px 10px !important; font-size: 11px !important; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SINGLE LAYOUT  [bspro_now_next layout="single"]
   Full-width bar — large current DJ, next mentioned in text only
   ═══════════════════════════════════════════════════════════════════════════ */

.bspro-nn-single {
    display      : block;
    background   : var(--bspro-bg-card);
    border-radius: var(--bspro-radius);
    box-shadow   : var(--bspro-shadow);
    overflow     : hidden;
    font-family  : -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    border-left  : 4px solid var(--bspro-accent);
}

.bspro-nn-single-header {
    display    : flex;
    align-items: center;
    padding    : 10px 18px 0;
}

/* Reuse the existing ON AIR badge style */
.bspro-nn-single .bspro-on-air-badge { margin: 0; }

.bspro-nn-single-main {
    display    : flex;
    align-items: center;
    gap        : 18px;
    padding    : 14px 18px;
}

a.bspro-nn-single-link {
    display        : flex;
    align-items    : center;
    gap            : 18px;
    text-decoration: none;
    color          : inherit;
    width          : 100%;
    transition     : opacity 0.2s ease;
}
a.bspro-nn-single-link:hover { opacity: 0.85; }

.bspro-nn-single-img-wrap {
    width        : 72px;
    height       : 72px;
    border-radius: 10px;
    overflow     : hidden;
    flex-shrink  : 0;
    border       : 2px solid rgba(255,215,0,0.2);
}

.bspro-nn-single-img {
    width     : 100%;
    height    : 100%;
    object-fit: cover;
}

.bspro-nn-single-name {
    font-size  : 22px;
    font-weight: 800;
    color      : var(--bspro-text);
    line-height: 1.2;
    flex       : 1;
}

.bspro-nn-single-time {
    font-size  : 13px;
    font-weight: 500;
    color      : var(--bspro-accent);
    margin-top : 4px;
    font-family: monospace;
}

.bspro-nn-single-footer {
    display    : flex;
    align-items: center;
    gap        : 8px;
    padding    : 10px 18px 14px;
    border-top : 1px solid rgba(255,255,255,0.06);
    background : rgba(0,0,0,0.15);
}

.bspro-nn-single-up-label {
    font-size    : 10px;
    font-weight  : 800;
    letter-spacing: 0.12em;
    color        : var(--bspro-muted);
    text-transform: uppercase;
    flex-shrink  : 0;
}

.bspro-nn-single-up-text {
    font-size  : 13px;
    color      : rgba(255,255,255,0.7);
}

.bspro-nn-single-up-text strong {
    color      : var(--bspro-text);
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════════════════
   WIDGET LAYOUT  [bspro_now_next layout="widget"]
   Fixed 336×280 — drops into standard sidebar ad widget space
   ═══════════════════════════════════════════════════════════════════════════ */

.bspro-nn-widget {
    width        : 336px;
    height       : 280px;
    display      : flex;
    flex-direction: column;
    background   : var(--bspro-bg-deep);
    border-radius: 10px;
    overflow     : hidden;
    box-shadow   : var(--bspro-shadow);
    font-family  : -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    position     : relative;
}

/* Header strip */
.bspro-nnw-header {
    display        : flex;
    align-items    : center;
    justify-content: space-between;
    padding        : 8px 12px;
    background     : rgba(255,255,255,0.04);
    border-bottom  : 1px solid rgba(255,255,255,0.06);
    flex-shrink    : 0;
}

.bspro-nnw-station {
    font-size    : 11px;
    font-weight  : 700;
    color        : rgba(255,255,255,0.6);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space  : nowrap;
    overflow     : hidden;
    text-overflow: ellipsis;
    max-width    : 180px;
}

/* Reuse .bspro-on-air-badge at smaller scale */
.bspro-nn-widget .bspro-on-air-badge {
    font-size : 9px;
    padding   : 2px 6px;
    flex-shrink: 0;
}

/* Main current show area */
.bspro-nnw-current {
    flex       : 1;
    overflow   : hidden;
    position   : relative;
}

.bspro-nnw-current-inner {
    width  : 100%;
    height : 100%;
    display: flex;
    flex-direction: column;
}

/* Image fills the top portion */
.bspro-nnw-img-wrap {
    width   : 100%;
    flex    : 1;
    overflow: hidden;
    position: relative;
}

.bspro-nnw-img {
    width     : 100%;
    height    : 100%;
    object-fit: cover;
    display   : block;
}

/* Show info overlay at bottom of image */
.bspro-nnw-current-info {
    padding   : 8px 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 70%, transparent 100%);
    position  : absolute;
    bottom    : 0;
    left      : 0;
    right     : 0;
}

/* When no image, info just sits in the panel */
.bspro-nnw-current-inner:not(:has(.bspro-nnw-img-wrap)) .bspro-nnw-current-info {
    position  : static;
    background: transparent;
    padding   : 20px 12px 8px;
    flex      : 1;
    display   : flex;
    flex-direction: column;
    justify-content: center;
}

.bspro-nnw-show-name {
    font-size  : 17px;
    font-weight: 800;
    color      : #fff;
    line-height: 1.2;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
    white-space: nowrap;
    overflow   : hidden;
    text-overflow: ellipsis;
}

.bspro-nnw-show-time {
    font-size  : 11px;
    font-weight: 600;
    color      : var(--bspro-accent);
    margin-top : 2px;
    font-family: monospace;
}

a.bspro-nnw-show-link {
    display        : flex;
    flex-direction : column;
    width          : 100%;
    height         : 100%;
    text-decoration: none;
    color          : inherit;
}

/* UP NEXT strip */
.bspro-nnw-next-row {
    display    : flex;
    align-items: center;
    gap        : 8px;
    padding    : 6px 12px;
    background : rgba(255,255,255,0.04);
    border-top : 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
    min-height : 30px;
}

.bspro-nnw-next-label {
    font-size    : 9px;
    font-weight  : 800;
    letter-spacing: 0.1em;
    color        : var(--bspro-muted);
    text-transform: uppercase;
    flex-shrink  : 0;
}

.bspro-nnw-next-text {
    font-size  : 12px;
    color      : rgba(255,255,255,0.75);
    font-weight: 500;
    white-space: nowrap;
    overflow   : hidden;
    text-overflow: ellipsis;
    flex       : 1;
}

.bspro-nnw-next-time {
    color  : var(--bspro-muted);
    font-size: 11px;
    font-family: monospace;
}

/* Tune In button footer */
.bspro-nnw-footer {
    padding   : 7px 12px;
    background: rgba(0,0,0,0.25);
    flex-shrink: 0;
    display   : flex;
    justify-content: center;
}

.bspro-nnw-tune-btn {
    display      : inline-block;
    background   : var(--bspro-accent);
    color        : #000;
    font-size    : 12px;
    font-weight  : 800;
    padding      : 6px 20px;
    border-radius: 20px;
    text-decoration: none;
    letter-spacing : 0.04em;
    transition   : opacity 0.2s ease, transform 0.2s ease;
}

.bspro-nnw-tune-btn:hover { opacity: 0.88; transform: scale(1.03); color: #000; }

/* ── Responsive: widget stays fixed width, others adapt ─────────────────── */
@media (max-width: 400px) {
    .bspro-nn-widget { width: 100%; height: auto; min-height: 280px; }
    .bspro-nnw-current { min-height: 160px; }
}

/* ── Navigation: buttons sit in padding area, well above all content ────── */
/*    Click handling is done in JS (mousedown/touchstart), NOT via Swiper's  */
/*    internal navigation binding. This way theme overlays can't intercept.  */

.bspro-schedule-carousel .swiper-slide,
.bspro-schedule-carousel .bspro-day-schedule {
    position : relative;
    z-index  : 1;
}

.bspro-schedule-carousel .swiper-button-prev,
.bspro-schedule-carousel .swiper-button-next {
    z-index        : 50 !important;
    pointer-events : auto !important;
    cursor         : pointer !important;
    /* Ensure no theme rule can hide these */
    display        : flex !important;
    visibility     : visible !important;
    opacity        : 1;
    transition     : opacity 0.2s ease;
    /* Remove Swiper's default after: content arrows — we rely on theme arrows */
}

/* Disabled state managed by JS via .swiper-button-disabled class */
.bspro-schedule-carousel .swiper-button-disabled {
    opacity        : 0.35 !important;
    cursor         : default !important;
}

.bspro-schedule-carousel .swiper-pagination {
    z-index        : 50 !important;
    pointer-events : auto !important;
    cursor         : pointer !important;
}

.bspro-schedule-carousel .swiper-wrapper {
    z-index : 1;
}

/* ── Clickable show blocks — cursor + hover affordance ─────────────────── */
a.bspro-show-block {
    cursor: pointer;
}

a.bspro-show-block:hover .bspro-show-name {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(255,255,255,0.4);
}

a.bspro-show-block:hover .bspro-show-cta {
    opacity: 1;
}

/* ── Single layout: clickable card ─────────────────────────────────────── */
.bspro-nn-single-info {
    display       : flex;
    flex-direction: column;
    gap           : 4px;
    flex          : 1;
}

.bspro-nn-single-cta {
    font-size  : 12px;
    font-weight: 600;
    color      : var(--bspro-accent);
    margin-top : 2px;
    opacity    : 0;
    transition : opacity 0.2s ease;
}

a.bspro-nn-single-link:hover .bspro-nn-single-cta {
    opacity: 1;
}

/* Next show text link in single layout */
a.bspro-nn-next-link {
    color          : var(--bspro-text);
    text-decoration: none;
}
a.bspro-nn-next-link:hover { text-decoration: underline; color: var(--bspro-text); }

/* ── Widget layout: clickable card + next link ──────────────────────────── */
a.bspro-nnw-show-link {
    cursor: pointer;
}

a.bspro-nnw-next-link {
    color          : rgba(255,255,255,0.75);
    text-decoration: none;
    font-weight    : 500;
    font-size      : 12px;
}
a.bspro-nnw-next-link:hover { color: var(--bspro-text); text-decoration: underline; }

/* ── Default 2-col widget: make whole row feel clickable ────────────────── */
a.bspro-widget-link {
    display        : flex;
    align-items    : center;
    gap            : 12px;
    text-decoration: none;
    color          : inherit;
    transition     : opacity 0.2s ease;
    width          : 100%;
    border-radius  : 6px;
    padding        : 4px;
    margin         : -4px;
}
a.bspro-widget-link:hover {
    opacity   : 0.85;
    background: rgba(255,255,255,0.04);
}

/* ── Single layout: Now Playing track bar ───────────────────────────────── */
.bspro-nn-single-now-playing {
    display    : flex;
    align-items: center;
    gap        : 10px;
    padding    : 8px 18px;
    background : rgba(255,255,255,0.04);
    border-top : 1px solid rgba(255,255,255,0.06);
    flex-wrap  : wrap;
}

.bspro-nn-single-np-label {
    font-size    : 9px;
    font-weight  : 800;
    letter-spacing: 0.12em;
    color        : var(--bspro-accent);
    text-transform: uppercase;
    flex-shrink  : 0;
    animation    : bspro-blink 1.4s ease-in-out infinite;
}

.bspro-nn-single-np-track {
    font-size  : 13px;
    font-weight: 600;
    color      : var(--bspro-text);
    white-space: nowrap;
    overflow   : hidden;
    text-overflow: ellipsis;
    max-width  : 400px;
}

.bspro-nn-single-np-artist {
    font-size  : 12px;
    color      : var(--bspro-muted);
    white-space: nowrap;
    overflow   : hidden;
    text-overflow: ellipsis;
}

/* ── Single layout: Listen Live button ──────────────────────────────────── */
.bspro-nn-single-tune-btn {
    display        : inline-block;
    background     : var(--bspro-accent);
    color          : #000 !important;
    font-size      : 11px;
    font-weight    : 800;
    padding        : 4px 14px;
    border-radius  : 20px;
    text-decoration: none;
    letter-spacing : 0.04em;
    flex-shrink    : 0;
    margin-left    : auto;
    transition     : opacity 0.2s ease, transform 0.15s ease;
}

.bspro-nn-single-tune-btn:hover {
    opacity  : 0.85;
    transform: scale(1.04);
}

/* ══════════════════════════════════════════════════════════════════════════
   FULL LAYOUT  [bspro_now_next layout="full"]
   Two-zone card: left = track (art + title + artist + next track)
                  right = show (image + name + time + next show + CTA)
   ══════════════════════════════════════════════════════════════════════════ */

.bspro-nn-full {
    display        : flex;
    align-items    : stretch;
    background     : var(--bspro-bg-card);
    border-radius  : 12px;
    overflow       : hidden;
    min-height     : 140px;
    border         : 1px solid rgba(255,255,255,0.06);
    box-shadow     : 0 4px 24px rgba(0,0,0,0.35);
}

/* ── Left zone — track ──────────────────────────────────────────────────── */
.bspro-nnf-left {
    display    : flex;
    align-items: center;
    gap        : 16px;
    flex       : 1.4;          /* slightly wider — track is primary */
    padding    : 18px 20px;
    min-width  : 0;            /* prevent flex overflow */
    border-right: 1px solid rgba(255,255,255,0.07);
}

/* Art block — fixed square, shows fallback music note when src is empty */
.bspro-nnf-art-wrap {
    position     : relative;
    flex-shrink  : 0;
    width        : 90px;
    height       : 90px;
    border-radius: 8px;
    overflow     : hidden;
    background   : rgba(255,255,255,0.06);
    border       : 1px solid rgba(255,255,255,0.1);
}

.bspro-nnf-track-img {
    position  : absolute;
    inset     : 0;
    width     : 100%;
    height    : 100%;
    object-fit: cover;
    transition: opacity 0.4s ease;
    border-radius: 8px;
}

.bspro-nnf-art-fallback {
    position       : absolute;
    inset          : 0;
    display        : flex;
    align-items    : center;
    justify-content: center;
    z-index        : 0;
}

.bspro-nnf-music-note {
    font-size  : 32px;
    opacity    : 0.25;
    line-height: 1;
}

/* Track text stack */
.bspro-nnf-track-info {
    flex    : 1;
    min-width: 0;
    display : flex;
    flex-direction: column;
    gap     : 4px;
}

.bspro-nnf-np-label {
    font-size    : 10px;
    font-weight  : 700;
    letter-spacing: 0.12em;
    color        : var(--bspro-accent);
    text-transform: uppercase;
    margin-bottom: 2px;
}

.bspro-nnf-track-title {
    font-size  : 20px;
    font-weight: 800;
    color      : #ffffff;
    line-height: 1.2;
    white-space: nowrap;
    overflow   : hidden;
    text-overflow: ellipsis;
}

.bspro-nnf-track-artist {
    font-size  : 13px;
    font-weight: 500;
    color      : var(--bspro-accent);
    white-space: nowrap;
    overflow   : hidden;
    text-overflow: ellipsis;
}

.bspro-nnf-next-track-row {
    display    : flex;
    align-items: center;
    gap        : 6px;
    margin-top : 8px;
    padding-top: 8px;
    border-top : 1px solid rgba(255,255,255,0.07);
}

.bspro-nnf-next-label {
    font-size    : 9px;
    font-weight  : 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color        : rgba(255,255,255,0.35);
    flex-shrink  : 0;
}

.bspro-nnf-next-track {
    font-size  : 11px;
    color      : rgba(255,255,255,0.5);
    white-space: nowrap;
    overflow   : hidden;
    text-overflow: ellipsis;
}

/* ── Divider ────────────────────────────────────────────────────────────── */
.bspro-nnf-divider {
    width     : 1px;
    background: rgba(255,255,255,0.07);
    flex-shrink: 0;
}

/* ── Right zone — show ──────────────────────────────────────────────────── */
.bspro-nnf-right {
    display       : flex;
    flex-direction: column;
    align-items   : flex-start;
    gap           : 8px;
    flex          : 1;
    padding       : 18px 20px;
    min-width     : 0;
    position      : relative;
}

.bspro-nnf-right .bspro-on-air-badge {
    align-self: flex-start;
    font-size : 10px;
}

/* Show art — smaller than track art, decorative */
.bspro-nnf-show-art-wrap {
    width        : 52px;
    height       : 52px;
    border-radius: 6px;
    overflow     : hidden;
    flex-shrink  : 0;
    background   : rgba(255,255,255,0.06);
    border       : 1px solid rgba(255,255,255,0.1);
}

.bspro-nnf-show-img {
    width     : 100%;
    height    : 100%;
    object-fit: cover;
}

/* Show text */
.bspro-nnf-show-info {
    flex    : 1;
    min-width: 0;
    display : flex;
    flex-direction: column;
    gap     : 3px;
}

.bspro-nnf-show-name,
.bspro-nnf-show-name a {
    font-size  : 15px;
    font-weight: 700;
    color      : var(--bspro-accent);
    white-space: nowrap;
    overflow   : hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}

.bspro-nnf-show-name a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.bspro-nnf-show-time {
    font-size: 12px;
    color    : rgba(255,255,255,0.5);
}

.bspro-nnf-show-next {
    display    : flex;
    align-items: center;
    gap        : 5px;
    margin-top : 4px;
}

.bspro-nnf-show-next-label {
    font-size    : 9px;
    font-weight  : 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color        : rgba(255,255,255,0.35);
    flex-shrink  : 0;
}

.bspro-nnf-show-next-text,
.bspro-nnf-show-next-text a {
    font-size     : 11px;
    color         : rgba(255,255,255,0.5);
    text-decoration: none;
    white-space   : nowrap;
    overflow      : hidden;
    text-overflow : ellipsis;
}

.bspro-nnf-show-next-text a:hover { color: rgba(255,255,255,0.8); }

/* Listen Live button — bottom of right column */
.bspro-nnf-listen-btn {
    display        : inline-flex;
    align-items    : center;
    gap            : 6px;
    margin-top     : auto;
    padding        : 7px 16px;
    background     : var(--bspro-accent);
    color          : #000 !important;
    font-size      : 12px;
    font-weight    : 700;
    border-radius  : 20px;
    text-decoration: none !important;
    transition     : opacity 0.2s, transform 0.15s;
    align-self     : flex-start;
    white-space    : nowrap;
}

.bspro-nnf-listen-btn:hover {
    opacity  : 0.88;
    transform: translateY(-1px);
}

/* ── Track image transition on change ───────────────────────────────────── */
.bspro-nnf-track-img.bspro-art-loading { opacity: 0; }
.bspro-nnf-track-img.bspro-art-loaded  { opacity: 1; }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .bspro-nn-full {
        flex-direction: column;
    }
    .bspro-nnf-left {
        border-right : none;
        border-bottom: 1px solid rgba(255,255,255,0.07);
        flex         : none;
    }
    .bspro-nnf-divider { display: none; }
    .bspro-nnf-right   { flex: none; }
}
