/* =========================================================================
   BIBLIORUS RADIO & AMBIENT VIDEO SLIDER — WORDPRESS FRONTEND STYLES
   Strictly Sans-Serif (Onest / Manrope) & font-style: normal
   ========================================================================= */

.brp-floating-player,
.brp-floating-player *,
.brp-launcher-pill,
.brp-launcher-pill *,
.brp-screensaver-overlay,
.brp-screensaver-overlay *,
.brp-shortcode-trigger-btn {
    box-sizing: border-box !important;
    font-family: 'Onest', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-style: normal !important;
}

/* Seamless AJAX Page Navigation Top Progress Bar */
.brp-ajax-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    z-index: 999999;
    background: linear-gradient(90deg, #b88938, #f2d184, #d0a85c);
    box-shadow: 0 0 12px rgba(208, 168, 92, 0.85);
    opacity: 0;
    pointer-events: none;
    transition: width 0.28s ease, opacity 0.25s ease;
}

.brp-ajax-progress.loading {
    opacity: 1;
}

/* Native Full-Viewport Site Stage Iframe (keeps WordPress 100% native while Radio stays alive in parent) */
.brp-site-stage-iframe {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 999980 !important;
    background: #ffffff;
    display: block;
}

html.brp-stage-mode-active,
html.brp-stage-mode-active body,
html.brp-screensaver-open,
html.brp-screensaver-open body {
    overflow: hidden !important;
    height: 100vh !important;
    height: 100dvh !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

html.brp-screensaver-open #wpadminbar {
    display: none !important;
}

html.brp-screensaver-open::-webkit-scrollbar,
html.brp-screensaver-open body::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Hide duplicate radio widgets inside the child stage iframe */
html.brp-in-child-stage #brpFloatingPlayer,
html.brp-in-child-stage #brpLauncherPill,
html.brp-in-child-stage #brpScreensaverOverlay,
html.brp-in-child-stage #brpAjaxProgressBar {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Shortcode button that can be placed anywhere on bibliorus.com */
button.brp-shortcode-trigger-btn,
.brp-shortcode-trigger-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 9px 18px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #161412 0%, #252019 100%) !important;
    background-color: #161412 !important;
    color: #f7f1e6 !important;
    border: 1.5px solid #d0a85c !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28) !important;
    transition: all 0.22s ease !important;
    text-decoration: none !important;
}

button.brp-shortcode-trigger-btn:hover,
.brp-shortcode-trigger-btn:hover {
    background: #d0a85c !important;
    background-color: #d0a85c !important;
    color: #12100e !important;
    transform: translateY(-1px);
}

/* =========================================================================
   MINIMIZED FLOATING RADIO PILL LAUNCHER
   ========================================================================= */
button#brpLauncherPill.brp-launcher-pill,
.brp-launcher-pill {
    position: fixed !important;
    bottom: 24px !important;
    z-index: 2147483645 !important;
    display: none;
    align-items: center !important;
    gap: 10px !important;
    padding: 11px 22px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #161412 0%, #241f18 100%) !important;
    background-color: #161412 !important;
    color: #f7f1e6 !important;
    border: 1.5px solid #d0a85c !important;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.48) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    font-size: 13.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.03em !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

button#brpLauncherPill.brp-launcher-pill span,
.brp-launcher-pill span {
    color: #f7f1e6 !important;
    font-weight: 800 !important;
}

button#brpLauncherPill.brp-launcher-pill.brp-pos-right,
.brp-launcher-pill.brp-pos-right {
    right: 24px !important;
}

button#brpLauncherPill.brp-launcher-pill.brp-pos-left,
.brp-launcher-pill.brp-pos-left {
    left: 24px !important;
}

button#brpLauncherPill.brp-launcher-pill.visible,
.brp-launcher-pill.visible {
    display: inline-flex !important;
}

button#brpLauncherPill.brp-launcher-pill:hover,
.brp-launcher-pill:hover {
    transform: translateY(-2px);
    background: #d0a85c !important;
    background-color: #d0a85c !important;
    color: #141210 !important;
    border-color: #d0a85c !important;
    box-shadow: 0 18px 44px rgba(208, 168, 92, 0.35) !important;
}

button#brpLauncherPill.brp-launcher-pill:hover span,
.brp-launcher-pill:hover span {
    color: #141210 !important;
}

.brp-eq-bars {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
    height: 13px;
}

.brp-eq-bar {
    width: 3px;
    background: #22c55e;
    border-radius: 2px;
    animation: brpEqBounce 0.9s ease-in-out infinite;
}

.brp-eq-bar:nth-child(1) { height: 5px; animation-delay: 0s; }
.brp-eq-bar:nth-child(2) { height: 12px; animation-delay: 0.18s; }
.brp-eq-bar:nth-child(3) { height: 8px; animation-delay: 0.34s; }
.brp-eq-bar:nth-child(4) { height: 10px; animation-delay: 0.5s; }

@keyframes brpEqBounce {
    0%, 100% { transform: scaleY(0.45); }
    50% { transform: scaleY(1); }
}

/* =========================================================================
   FLOATING MINI-PLAYER DOCK
   ========================================================================= */
.brp-floating-player {
    position: fixed !important;
    bottom: 22px !important;
    z-index: 2147483646 !important;
    width: min(510px, calc(100vw - 28px)) !important;
    background: rgba(18, 16, 14, 0.97) !important;
    background-color: #12100e !important;
    color: #f3ece2 !important;
    border: 1px solid rgba(208, 168, 92, 0.48) !important;
    border-radius: 18px !important;
    padding: 14px 16px !important;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.58), 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: none;
    flex-direction: column;
    gap: 11px;
    transition: all 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.brp-floating-player.brp-pos-right {
    right: 22px;
}

.brp-floating-player.brp-pos-left {
    left: 22px;
}

.brp-floating-player.visible {
    display: flex;
}

/* Embedded YouTube stage (1x1 invisible by default, expands when PiP Video is toggled) */
.brp-embedded-video-stage {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0.01;
    pointer-events: none;
    bottom: 0;
    right: 0;
}

.brp-floating-player.video-expanded .brp-embedded-video-stage {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    opacity: 1;
    pointer-events: auto;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(208, 168, 92, 0.35);
    margin-bottom: 4px;
}

.brp-embedded-video-stage iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    display: block;
}

/* Top Header Row */
.brp-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.brp-header-info {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    flex: 1;
}

.brp-thumb {
    width: 44px;
    height: 44px;
    border-radius: 9px;
    object-fit: cover;
    border: 1px solid rgba(208, 168, 92, 0.45);
    flex-shrink: 0;
    background: #24201b;
}

.brp-header-text {
    min-width: 0;
    flex: 1;
}

.brp-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #d0a85c;
    margin-bottom: 2px;
}

.brp-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
    display: inline-block;
    animation: brpPulseDot 1.6s ease-in-out infinite;
}

@keyframes brpPulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.85); }
}

.brp-track-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
}

.brp-top-actions {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

#brpFloatingPlayer button.brp-icon-btn,
.brp-icon-btn {
    background: rgba(255, 255, 255, 0.1) !important;
    background-color: #26221d !important;
    border: 1px solid rgba(208, 168, 92, 0.28) !important;
    color: #f3ece2 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 6px 10px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.18s ease !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
}

#brpFloatingPlayer button.brp-icon-btn:hover,
#brpFloatingPlayer button.brp-icon-btn.active,
.brp-icon-btn:hover,
.brp-icon-btn.active {
    background: #d0a85c !important;
    background-color: #d0a85c !important;
    color: #141210 !important;
    border-color: #d0a85c !important;
}

/* Status Box */
.brp-status-box {
    background: rgba(255, 255, 255, 0.06) !important;
    border-left: 3px solid #d0a85c !important;
    border-radius: 8px !important;
    padding: 7px 11px !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    color: #e8e0d4 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brp-status-text {
    color: #e8e0d4 !important;
}

/* Controls Row */
.brp-controls-row {
    display: flex;
    align-items: center;
    gap: 7px;
}

#brpFloatingPlayer button.brp-play-btn,
.brp-play-btn {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    border: none !important;
    background: #d0a85c !important;
    background-color: #d0a85c !important;
    color: #141210 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    transition: transform 0.18s ease, background 0.18s ease !important;
}

#brpFloatingPlayer button.brp-play-btn:hover,
.brp-play-btn:hover {
    transform: scale(1.06);
    background: #e2bc71 !important;
    background-color: #e2bc71 !important;
    color: #141210 !important;
}

#brpFloatingPlayer button.brp-skip-btn,
.brp-skip-btn {
    background: rgba(255, 255, 255, 0.1) !important;
    background-color: #26221d !important;
    border: 1px solid rgba(208, 168, 92, 0.25) !important;
    color: #f3ece2 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 6px 8px !important;
    border-radius: 7px !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    transition: all 0.18s ease !important;
}

#brpFloatingPlayer button.brp-skip-btn:hover,
.brp-skip-btn:hover {
    background: #d0a85c !important;
    background-color: #d0a85c !important;
    border-color: #d0a85c !important;
    color: #141210 !important;
}

.brp-progress-track {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.brp-progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #b88938, #e5c176);
    border-radius: 999px;
    transition: width 0.18s linear;
}

.brp-time {
    font-size: 11px;
    font-weight: 700;
    color: #b7afa4;
    min-width: 72px;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* =========================================================================
   PLAYLIST DRAWER
   ========================================================================= */
.brp-playlist-drawer {
    background: rgba(10, 9, 8, 0.92);
    border: 1px solid rgba(208, 168, 92, 0.28);
    border-radius: 12px;
    padding: 10px;
    max-height: 250px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.brp-playlist-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brp-playlist-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #d0a85c;
}

.brp-playlist-count {
    background: rgba(208, 168, 92, 0.2);
    color: #f3ece2;
    padding: 1px 7px;
    border-radius: 999px;
    font-size: 10px;
}

.brp-playlist-modes {
    display: flex;
    gap: 5px;
}

.brp-playlist-filter-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.brp-podcast-filter-select {
    width: 100%;
    background: rgba(255, 255, 255, 0.07) !important;
    color: #f3ece2 !important;
    border: 1px solid rgba(208, 168, 92, 0.42) !important;
    border-radius: 8px !important;
    padding: 6px 10px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    cursor: pointer;
    outline: none !important;
}

.brp-podcast-filter-select option {
    background: #161412 !important;
    color: #f3ece2 !important;
}

#brpFloatingPlayer button.brp-mode-pill,
.brp-mode-pill {
    background: rgba(255, 255, 255, 0.08) !important;
    background-color: #24201b !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    color: #d8d0c4 !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    padding: 4px 9px !important;
    border-radius: 999px !important;
    cursor: pointer !important;
    transition: all 0.18s ease !important;
}

#brpFloatingPlayer button.brp-mode-pill.active,
.brp-mode-pill.active {
    background: #d0a85c !important;
    background-color: #d0a85c !important;
    border-color: #d0a85c !important;
    color: #141210 !important;
}

.brp-playlist-items {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 190px;
    padding-right: 3px;
}

.brp-playlist-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 6px 8px;
    border-radius: 8px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid transparent;
    transition: all 0.16s ease;
}

.brp-playlist-item:hover {
    background: rgba(255, 255, 255, 0.07);
}

.brp-playlist-item.active {
    background: rgba(208, 168, 92, 0.16);
    border-color: rgba(208, 168, 92, 0.48);
}

.brp-playlist-item-num {
    font-size: 11px;
    font-weight: 800;
    color: #9e9589;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.brp-playlist-item.active .brp-playlist-item-num {
    color: #d0a85c;
}

.brp-playlist-item-thumb {
    width: 36px;
    height: 26px;
    border-radius: 5px;
    object-fit: cover;
    flex-shrink: 0;
}

.brp-playlist-item-info {
    min-width: 0;
    flex: 1;
}

.brp-playlist-item-title {
    font-size: 12px;
    font-weight: 700;
    color: #f3ece2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brp-playlist-item-meta {
    font-size: 10px;
    color: #a69d90;
}

/* =========================================================================
   FULL-SCREEN AMBIENT VIDEO SLIDER OVERLAY (IDLE SCREENSAVER)
   ========================================================================= */
.brp-screensaver-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    z-index: 2147483640 !important;
    background: #070707;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.8s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(22px, 4vw, 52px);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.brp-screensaver-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.brp-rss-video-stage {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    background: #050505;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.brp-rss-video-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 1.35s ease-in-out, transform 14s ease-out;
    -webkit-transform: scale(1.04) translateZ(0);
    transform: scale(1.04) translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.brp-rss-video-slide.active {
    opacity: 1;
    -webkit-transform: scale(1) translateZ(0);
    transform: scale(1) translateZ(0);
}

.brp-rss-video-slide video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.brp-rss-vignette {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(5, 5, 5, var(--brp-rss-dim, 0.55));
    box-shadow: inset 0 0 140px rgba(0, 0, 0, calc(var(--brp-rss-dim, 0.55) * 0.85));
    transition: background 0.15s ease, box-shadow 0.15s ease;
    pointer-events: none;
}

.brp-dim-control-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    padding: 6px 13px !important;
    border-radius: 999px !important;
    background: rgba(18, 16, 14, 0.88) !important;
    background-color: #161412 !important;
    border: 1px solid rgba(208, 168, 92, 0.5) !important;
    color: #f7f1e6 !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.brp-dim-control-pill span {
    white-space: nowrap !important;
}

.brp-dim-control-pill input[type="range"] {
    width: 74px !important;
    height: 5px !important;
    accent-color: #d0a85c !important;
    cursor: pointer !important;
    margin: 0 !important;
    padding: 0 !important;
}

.brp-rss-topbar {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s ease;
}

/* Auto-hide topbar buttons & make Radio button transparent when idle in Slider mode */
#brpScreensaverOverlay.brp-ui-idle .brp-rss-topbar,
.brp-screensaver-overlay.brp-ui-idle .brp-rss-topbar,
html.brp-screensaver-ui-idle .brp-rss-topbar,
body.brp-screensaver-ui-idle .brp-rss-topbar {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-14px) !important;
}

button#brpLauncherPill.brp-launcher-pill.brp-ui-idle,
.brp-launcher-pill.brp-ui-idle,
html.brp-screensaver-ui-idle button#brpLauncherPill.brp-launcher-pill,
html.brp-screensaver-ui-idle .brp-launcher-pill,
body.brp-screensaver-ui-idle button#brpLauncherPill.brp-launcher-pill {
    opacity: 0.16 !important;
    background: rgba(18, 16, 14, 0.15) !important;
    background-color: rgba(18, 16, 14, 0.15) !important;
    border-color: rgba(208, 168, 92, 0.22) !important;
    box-shadow: none !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

#brpFloatingPlayer.brp-ui-idle,
html.brp-screensaver-ui-idle .brp-floating-player,
body.brp-screensaver-ui-idle .brp-floating-player {
    opacity: 0.16 !important;
    transition: opacity 0.45s ease !important;
}

.brp-rss-brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    border-radius: 999px;
    background: rgba(14, 13, 11, 0.72);
    border: 1px solid rgba(208, 168, 92, 0.42);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #e8dfd1;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.brp-rss-top-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

#brpScreensaverOverlay button.brp-pill-btn,
.brp-pill-btn {
    padding: 9px 16px !important;
    border-radius: 999px !important;
    background: rgba(18, 16, 14, 0.88) !important;
    background-color: #161412 !important;
    border: 1px solid rgba(208, 168, 92, 0.5) !important;
    color: #f7f1e6 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.2s ease !important;
}

#brpScreensaverOverlay button.brp-pill-btn:hover,
.brp-pill-btn:hover {
    background: #d0a85c !important;
    background-color: #d0a85c !important;
    color: #141210 !important;
    border-color: #d0a85c !important;
}

/* Caption Card & Full-Screen Slow-Scrolling Article Teleprompter on Video Slider */
.brp-rss-caption-card {
    position: relative;
    z-index: 4;
    width: min(980px, 94vw) !important;
    max-width: min(980px, 94vw) !important;
    margin: auto auto clamp(105px, 13vh, 150px) 0 !important;
    background: rgba(12, 11, 9, var(--brp-rss-card-dim, 0.75)) !important;
    border: 1px solid rgba(208, 168, 92, 0.42) !important;
    border-left: 4px solid #d0a85c !important;
    border-radius: 24px !important;
    padding: clamp(20px, 2.6vw, 34px) !important;
    backdrop-filter: blur(var(--brp-rss-card-blur, 18px));
    -webkit-backdrop-filter: blur(var(--brp-rss-card-blur, 18px));
    box-shadow: 0 28px 72px rgba(0, 0, 0, calc(var(--brp-rss-card-dim, 0.75) * 0.85)) !important;
    transition: opacity 0.35s ease, transform 0.35s ease, background 0.15s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.brp-rss-kicker-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.brp-rss-kicker {
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: #d0a85c !important;
    margin: 0 !important;
}

.brp-rss-article-counter {
    font-size: 11px !important;
    font-weight: 800 !important;
    color: #e8dfd1 !important;
    background: rgba(208, 168, 92, 0.2) !important;
    border: 1px solid rgba(208, 168, 92, 0.45) !important;
    padding: 3px 10px !important;
    border-radius: 999px !important;
}

.brp-rss-title {
    font-size: clamp(22px, 3vw, 38px) !important;
    font-weight: 800 !important;
    line-height: 1.18 !important;
    color: #ffffff !important;
    margin: 0 0 6px 0 !important;
    letter-spacing: -0.02em;
}

.brp-rss-article-scroll-box {
    max-height: clamp(200px, 42vh, 430px);
    overflow-y: auto;
    padding-right: 0;
    scroll-behavior: auto;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    mask-image: linear-gradient(to bottom, transparent 0%, #000 6%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 6%, #000 92%, transparent 100%);
}

.brp-rss-article-scroll-box::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.brp-rss-article-scroll-inner {
    padding: 12px 0 36px 0;
}

.brp-rss-text,
.brp-rss-article-para {
    font-size: clamp(15.5px, 1.38vw, 19.5px) !important;
    font-weight: 500 !important;
    line-height: 1.72 !important;
    color: rgba(246, 241, 232, 0.94) !important;
    margin: 0 0 16px 0 !important;
}

.brp-rss-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

a.brp-rss-open-article-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 7px 15px !important;
    border-radius: 999px !important;
    background: rgba(208, 168, 92, 0.22) !important;
    border: 1px solid #d0a85c !important;
    color: #f7f1e6 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

a.brp-rss-open-article-btn:hover {
    background: #d0a85c !important;
    color: #141210 !important;
}

.brp-rss-dots {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

#brpScreensaverOverlay button.brp-rss-dot,
.brp-rss-dot {
    width: 10px !important;
    height: 10px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(208, 168, 92, 0.75) !important;
    background: rgba(255, 255, 255, 0.25) !important;
    background-color: rgba(255, 255, 255, 0.25) !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: all 0.25s ease !important;
}

#brpScreensaverOverlay button.brp-rss-dot.active,
.brp-rss-dot.active {
    width: 28px !important;
    background: #d0a85c !important;
    background-color: #d0a85c !important;
    border-color: #d0a85c !important;
}

/* =========================================================================
   RESPONSIVE DESIGN FOR TABLETS (<= 1024px) & MOBILE PHONES (<= 680px)
   ========================================================================= */
@media (max-width: 1024px) {
    .brp-screensaver-overlay {
        padding: 18px 20px !important;
        gap: 12px !important;
    }

    .brp-rss-topbar {
        gap: 10px;
    }

    .brp-rss-brand-badge {
        font-size: 10px;
        padding: 7px 14px;
    }

    .brp-rss-top-actions {
        gap: 6px;
    }

    #brpScreensaverOverlay button.brp-pill-btn,
    .brp-pill-btn {
        padding: 7px 12px !important;
        font-size: 11px !important;
    }

    .brp-dim-control-pill {
        padding: 5px 11px !important;
        font-size: 11px !important;
    }

    .brp-dim-control-pill input[type="range"] {
        width: 60px !important;
    }

    .brp-rss-caption-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: auto 0 74px 0 !important;
        padding: 20px 22px !important;
        border-radius: 20px !important;
    }

    .brp-rss-article-scroll-box {
        max-height: clamp(180px, 44vh, 380px);
    }
}

@media (max-width: 680px) {
    .brp-screensaver-overlay {
        padding: 10px 10px 12px 10px !important;
        justify-content: flex-start !important;
        gap: 8px !important;
    }

    .brp-rss-topbar {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        width: 100%;
        flex-shrink: 0;
    }

    .brp-rss-brand-badge {
        width: 100%;
        justify-content: center;
        padding: 6px 12px;
        font-size: 9.5px;
        letter-spacing: 0.08em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .brp-rss-top-actions {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
        width: 100%;
    }

    .brp-dim-control-pill {
        flex: 1 1 calc(50% - 4px);
        justify-content: space-between !important;
        padding: 5px 10px !important;
        font-size: 10.5px !important;
        gap: 5px !important;
    }

    .brp-dim-control-pill input[type="range"] {
        flex: 1;
        width: 48px !important;
        min-width: 40px !important;
    }

    #brpScreensaverOverlay button.brp-pill-btn,
    .brp-pill-btn {
        padding: 6px 10px !important;
        font-size: 10.5px !important;
        line-height: 1.2 !important;
    }

    .brp-rss-caption-card {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 auto !important;
        min-height: 0 !important;
        margin: 0 0 54px 0 !important;
        padding: 14px 15px !important;
        border-radius: 16px !important;
        gap: 8px !important;
    }

    .brp-rss-kicker-row {
        gap: 6px;
    }

    .brp-rss-kicker {
        font-size: 9.5px !important;
        letter-spacing: 0.09em !important;
    }

    .brp-rss-article-counter {
        font-size: 9.5px !important;
        padding: 2px 8px !important;
    }

    .brp-rss-title {
        font-size: clamp(16.5px, 4.6vw, 21px) !important;
        line-height: 1.22 !important;
        margin: 0 0 2px 0 !important;
    }

    .brp-rss-article-scroll-box {
        flex: 1 1 auto !important;
        min-height: 110px !important;
        max-height: none !important;
    }

    .brp-rss-article-scroll-inner {
        padding: 8px 0 24px 0;
    }

    .brp-rss-text,
    .brp-rss-article-para {
        font-size: clamp(13.5px, 3.7vw, 15.5px) !important;
        line-height: 1.6 !important;
        margin: 0 0 12px 0 !important;
    }

    .brp-rss-footer-row {
        gap: 8px;
        padding-top: 6px;
        flex-shrink: 0;
    }

    .brp-rss-dots {
        gap: 5px;
    }

    #brpScreensaverOverlay button.brp-rss-dot,
    .brp-rss-dot {
        width: 7px !important;
        height: 7px !important;
    }

    #brpScreensaverOverlay button.brp-rss-dot.active,
    .brp-rss-dot.active {
        width: 18px !important;
    }

    a.brp-rss-open-article-btn {
        width: 100%;
        justify-content: center !important;
        padding: 7px 12px !important;
        font-size: 11.5px !important;
    }

    /* Floating Radio Player & Pill on Mobile */
    button#brpLauncherPill.brp-launcher-pill,
    .brp-launcher-pill {
        bottom: 10px !important;
        right: 10px !important;
        padding: 8px 15px !important;
        font-size: 12px !important;
        gap: 7px !important;
    }

    button#brpLauncherPill.brp-launcher-pill.brp-pos-left,
    .brp-launcher-pill.brp-pos-left {
        left: 10px !important;
        right: auto !important;
    }

    .brp-floating-player {
        right: 8px !important;
        left: 8px !important;
        bottom: 8px !important;
        width: auto !important;
        max-width: none !important;
        padding: 10px 12px !important;
        border-radius: 16px !important;
        gap: 8px !important;
    }

    .brp-top-row {
        flex-wrap: wrap;
        gap: 8px;
    }

    .brp-header-info {
        width: 100%;
    }

    .brp-top-actions {
        width: 100%;
        display: flex;
        justify-content: space-between;
        gap: 5px;
    }

    .brp-top-actions .brp-icon-btn {
        flex: 1 1 auto;
        text-align: center;
        justify-content: center;
        padding: 6px 5px !important;
        font-size: 10.5px !important;
        white-space: nowrap !important;
    }

    .brp-playlist-drawer {
        max-height: 210px;
    }

    .brp-floating-player.video-expanded .brp-embedded-video-stage {
        height: 175px;
    }
}
