/* Compact player, media windows and public listings. */
.rw-poll [hidden], .rw-pwa-invite[hidden], [data-rw-pwa-ios][hidden], [data-rw-pwa-confirm][hidden] {
    display: none !important;
}

html body .rw-showcase .rw-player-bar .rw-player-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1.08fr) minmax(235px, .79fr) minmax(365px, 1.13fr) !important;
    align-items: center;
    gap: 7px clamp(10px, 1.5vw, 24px);
    padding: 9px clamp(10px, 2vw, 30px);
    height: auto;
    min-height: 0;
}
.rw-player-identity, .rw-player-controls, .rw-player-schedule {
    display: flex;
    align-items: center;
    gap: clamp(7px, 1vw, 15px);
    min-width: 0;
}
html body .rw-showcase .rw-player-bar .rw-brand-mini { display: flex !important; flex: none; }
.rw-player-controls { justify-content: space-evenly; flex-wrap: wrap; }
.rw-player-identity .rw-brand-copy { max-width: clamp(70px, 7vw, 118px); }
.rw-player-identity .rw-brand-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rw-player-identity .rw-brand-mini .custom-logo {
    max-width: clamp(82px, 9vw, 150px);
    object-fit: contain;
}
html body .rw-showcase .rw-player-bar .rw-now-playing {
    display: flex !important;
    align-items: center;
    flex: 1 1 0;
    min-width: 0;
    gap: 8px;
}
html body .rw-showcase .rw-player-bar .rw-now-copy {
    display: flex !important;
    flex: 1 1 0;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    gap: 2px;
}
html body .rw-showcase .rw-player-bar .rw-now-copy :is(#rw-player-status, #rw-track-artist) {
    display: block !important;
    visibility: visible !important;
    overflow: hidden;
    max-width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: clamp(12px, 1vw, 16px);
    line-height: 1.25;
}
html body .rw-showcase .rw-player-bar .rw-now-copy #rw-track-artist { font-size: clamp(11px, .85vw, 14px); }
html body .rw-showcase .rw-player-bar .rw-track-art:not([hidden]) { flex: 0 0 auto; }

html body .rw-showcase .rw-player-bar .rw-player-spectrum {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 64px;
    gap: 2px;
    height: 25px;
    width: 64px;
    margin-inline: 0;
}
html body .rw-showcase .rw-player-bar .rw-player-spectrum i {
    display: block;
    flex: 0 0 2px;
    height: 82%;
    border-radius: 4px;
    background: linear-gradient(#ffd840, #4bcaff);
    transform: scaleY(.22);
    opacity: .56;
    animation: none;
}
html body .rw-showcase .rw-player-bar.rw-spectrum-active .rw-player-spectrum i {
    opacity: 1;
    animation: rw-spectrum-pulse .64s ease-in-out infinite alternate;
}
html body .rw-showcase .rw-player-bar.rw-spectrum-active .rw-player-spectrum i:nth-child(2n) { animation-delay: -.24s; }
html body .rw-showcase .rw-player-bar.rw-spectrum-active .rw-player-spectrum i:nth-child(3n) { animation-delay: -.41s; }
html body .rw-showcase .rw-player-bar.rw-spectrum-active .rw-player-spectrum i:nth-child(5n) { animation-delay: -.58s; }
@keyframes rw-spectrum-pulse {
    from { transform: scaleY(.22); }
    to { transform: scaleY(var(--rw-bar-height, .9)); }
}
@media (prefers-reduced-motion: reduce) {
    html body .rw-showcase .rw-player-bar.rw-spectrum-active .rw-player-spectrum i {
        animation: none !important;
        transform: scaleY(var(--rw-bar-height, .72));
    }
}
html body .rw-showcase .rw-player-bar .rw-player-social { display: flex !important; flex: none; align-items: center; }
html body .rw-showcase .rw-player-bar .rw-volume { display: flex !important; flex: 0 1 110px; min-width: 66px; }
html body .rw-showcase .rw-player-bar .rw-volume input { width: 100%; min-width: 0; }
html body .rw-showcase .rw-player-bar .rw-player-program { display: block; flex: 1 1 0 !important; min-width: 0; }
html body .rw-showcase .rw-player-bar .rw-player-program .rw-player-program-copy {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(8px, 1vw, 16px);
    color: #fff;
}
.rw-player-schedule .rw-player-requests { margin-inline-start: 0; }

.rw-next-program { padding-inline-start: 10px; border-inline-start: 1px solid #ffffff55; }
.rw-next-program :is(span, strong, time), .rw-player-host-info :is(span, strong) {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.rw-next-program time { font-size: .75rem; }
.rw-player-program-label { display: block; font-size: .64rem; text-transform: uppercase; }
.rw-player-requests {
    flex: none;
    border: 0;
    border-radius: 10px;
    padding: 9px 14px;
    background: #ffd21a;
    color: #11172a;
    font-weight: 800;
    cursor: pointer;
}
.rw-popup {
    box-sizing: border-box;
    max-height: 88vh;
    width: min(92vw, 760px);
    padding: clamp(12px, 3vw, 24px);
    border: 1px solid #687995;
    border-radius: 18px;
    background: var(--rw-surface, #fff);
    color: var(--rw-ink, #14233a);
}
.rw-popup::backdrop { background: #091125ba; }
.rw-popup-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rw-popup-header h2 { margin: 0 0 10px; color: inherit; }
.rw-popup button:not(.rw-button) { padding: 6px 10px; cursor: pointer; }
.rw-episode-media { display: grid; gap: 10px; }
.rw-episode-media iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; }
.rw-episode-media audio { width: 100%; }

.rw-episode-grid, .rw-events-grid, .rw-community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 185px), 232px));
    gap: 14px;
}
.rw-reference-home .rw-reference-podcasts, .rw-events-section { margin: 12px 16px; }
.rw-events-section { padding: 12px 0; color: var(--rw-ink); }
.rw-events-section h2 { margin: 0 0 12px; }
.rw-events-grid, .rw-community-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 198px), 285px)); }
.rw-episode-card, .rw-event-card, .rw-community-card {
    border-radius: 14px;
    padding: 9px;
    background: var(--rw-surface);
    color: var(--rw-ink);
    border: 1px solid var(--rw-outline);
    min-width: 0;
}
.rw-episode-card h3, .rw-community-card :is(h2, a:not(.rw-button)) { color: inherit; }
.rw-episode-card h3 { margin: 8px 0 0; font-size: 1rem; overflow-wrap: anywhere; }
.rw-episode-cover {
    display: grid;
    place-items: center;
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: #142856;
    color: #fff;
    cursor: pointer;
}
.rw-episode-cover img { width: 100%; height: 100%; object-fit: cover; }
.rw-episode-cover > b { position: absolute; bottom: 9px; left: 9px; padding: 4px 10px; border-radius: 18px; background: #081630; }
.rw-event-card { display: grid; gap: 5px; text-decoration: none; }
.rw-event-card time { font-size: .85rem; font-weight: 700; }
.rw-event-card img, .rw-community-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; }

html body.rw-vibes .rw-reference-sponsors .rw-ad-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    justify-items: center;
    gap: clamp(8px, 1.5vw, 24px);
}
html body.rw-vibes .rw-reference-sponsors .rw-ad-card {
    width: 100%;
    max-width: 220px;
    height: auto;
    aspect-ratio: 1;
}
html body.rw-vibes .rw-reference-sponsors .rw-ad-card .rw-ad-image img { object-fit: contain; }
html body.rw-vibes .rw-reference-sponsors .rw-sponsor-fill { display: none; }
html body.rw-vibes .rw-reference-sponsors .rw-sponsor-fill > a {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 6px;
    padding: 8px;
    color: #fff;
    text-align: center;
    background: linear-gradient(145deg, #76235e, #3e1265 65%);
}
.rw-sponsor-fill strong { font-size: clamp(14px, 1.5vw, 25px); }
.rw-sponsor-fill span { font-size: .8rem; }
@media (min-width: 1001px) {
    html body.rw-vibes .rw-reference-sponsors .rw-sponsor-fill:nth-child(-n+5 of .rw-sponsor-fill, .rw-ad-card:not(.rw-ad-device-mobile)) {
        display: block;
    }
}

.rw-pwa-invite {
    position: fixed;
    z-index: 9999;
    inset: auto 12px 14px auto;
    box-sizing: border-box;
    width: min(390px, calc(100% - 24px));
    padding: 14px;
    background: #102449;
    border: 1px solid #4885dc;
    color: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 28px #0006;
}
.rw-pwa-invite strong { display: block; margin-bottom: 8px; }
.rw-pwa-invite [data-rw-pwa-dismiss] { cursor: pointer; border: 0; padding: 8px; background: transparent; color: #fff; text-decoration: underline; }

html[data-rw-theme="light"] { color-scheme: light; --rw-surface: #fff; --rw-ink: #17243a; --rw-outline: #c6d4e7; }
html[data-rw-theme="dark"] { color-scheme: dark; --rw-surface: #17243a; --rw-ink: #edf4ff; --rw-outline: #415573; }
html[data-rw-theme="light"] body.rw-vibes {
    background: var(--rw-visual-backdrop, #e8effa) !important;
    color: var(--rw-visual-ink, var(--rw-ink));
}
html[data-rw-theme="dark"] body.rw-vibes { background: #0a1224 !important; color: var(--rw-ink); }
html[data-rw-theme="light"] body.rw-vibes .rw-site-header,
html[data-rw-theme="light"] body.rw-vibes .rw-site-header .rw-nav {
    background: var(--rw-visual-header, #f8fbff) !important;
    color: var(--rw-visual-ink, var(--rw-ink)) !important;
}
html[data-rw-theme="light"] body.rw-vibes .rw-site-header :is(.rw-brand, .rw-brand strong, .rw-brand small, .rw-nav a, .rw-menu-toggle) {
    color: var(--rw-visual-ink, var(--rw-ink)) !important;
    -webkit-text-fill-color: var(--rw-visual-ink, var(--rw-ink)) !important;
}
html[data-rw-theme="dark"] body.rw-vibes .rw-site-header,
html[data-rw-theme="dark"] body.rw-vibes .rw-site-header .rw-nav { background: #10213a !important; }
html[data-rw-theme="dark"] body.rw-vibes .rw-site-header :is(.rw-brand, .rw-brand strong, .rw-brand small, .rw-nav a, .rw-menu-toggle) {
    color: #eef5ff !important;
    -webkit-text-fill-color: #eef5ff !important;
}
html body.rw-vibes .rw-reference-home :is(.rw-reference-podcasts, .rw-events-section) h2 { color: inherit; }
html[data-rw-theme="light"] body.rw-vibes :is(.rw-episode-card, .rw-event-card, .rw-community-card) { color: #17243a; }

@media (max-width: 1150px) {
    html body .rw-showcase .rw-player-bar .rw-player-inner {
        grid-template-columns: minmax(0, 1fr) auto !important;
    }
    .rw-player-schedule { grid-column: 1 / -1; }
}

@media (max-width: 1000px) {
    html body.rw-vibes .rw-reference-sponsors .rw-ad-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    html body .rw-showcase .rw-player-bar .rw-brand-mini { display: none !important; }
    html body .rw-showcase .rw-player-bar .rw-player-spectrum { flex-basis: 40px; width: 40px; overflow: hidden; }
    html body .rw-showcase .rw-player-bar .rw-player-spectrum i:nth-child(n+10) { display: none; }
    html body .rw-showcase .rw-player-bar .rw-player-social { gap: 4px; }
    html body.rw-vibes .rw-reference-sponsors .rw-ad-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rw-events-grid, .rw-community-grid { grid-template-columns: 1fr; }
    .rw-episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
    html body .rw-showcase .rw-player-bar .rw-player-inner { grid-template-columns: minmax(0, 1fr) !important; }
    .rw-player-identity { padding-block-end: 3px; }
    .rw-player-controls { justify-content: space-between; flex-wrap: wrap; }
    .rw-player-schedule { padding-block-start: 5px; border-top: 1px solid #ffffff30; }
    html body .rw-showcase .rw-player-bar .rw-player-requests { padding: 8px 10px; }
    html body .rw-showcase .rw-player-bar .rw-now-copy #rw-player-status { font-size: 14px; }
    html body .rw-showcase .rw-player-bar .rw-now-copy #rw-track-artist { font-size: 12px; }
    html body .rw-showcase .rw-player-bar .rw-player-program .rw-player-program-copy { padding-inline-start: 0; border-inline-start: 0; }
}

.rw-community-module { padding-block: clamp(24px, 4vw, 60px); }
.rw-community-module .rw-container { width: min(1180px, calc(100% - 24px)); }
