/*
=================================================
BLOKS Shader Player
Version: 0.1.7
=================================================
*/

:root {
    --bloks-player-bg: #050816;
    --bloks-player-panel: rgba(7, 12, 30, 0.92);
    --bloks-player-panel-soft: rgba(15, 23, 42, 0.78);
    --bloks-player-border: rgba(74, 125, 255, 0.18);
    --bloks-player-border-soft: rgba(255, 255, 255, 0.08);
    --bloks-player-blue: #4A7DFF;
    --bloks-player-cyan: #38BDF8;
    --bloks-player-text: #F8FAFC;
    --bloks-player-muted: #94A3B8;
    --bloks-player-soft: #CBD5E1;
    --bloks-sticky-header-offset: 96px;
}

/* =========================================================
   Player Stage
========================================================= */

.bloks-shader-wrap {
    position: relative;
    width: 100%;
    min-height: 220px;
    border-radius: 22px;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 0%, rgba(74,125,255,0.18), transparent 38%),
        radial-gradient(circle at 90% 18%, rgba(56,189,248,0.12), transparent 34%),
        var(--bloks-player-bg);
    border: 1px solid var(--bloks-player-border-soft);
    box-shadow:
        0 28px 80px rgba(0,0,0,0.48),
        0 0 0 1px rgba(74,125,255,0.05),
        inset 0 0 44px rgba(74,125,255,0.06);
}

.bloks-shader-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    border-radius: inherit;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.08), transparent 22%, transparent 78%, rgba(56,189,248,0.06)),
        linear-gradient(180deg, rgba(5,8,22,0.04), rgba(5,8,22,0.18));
    box-shadow: inset 0 0 0 1px rgba(56,189,248,0.08);
}

.bloks-shader-canvas {
    display: block;
    width: 100%;
    height: 100%;
    touch-action: none;
}

/* =========================================================
   Fallback
========================================================= */

.bloks-shader-fallback {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 6;
    align-items: center;
    justify-content: center;
    padding: 28px;
    color: #dbeafe;
    background:
        radial-gradient(circle at center, rgba(56,189,248,0.24), rgba(5,8,22,0.96) 68%),
        #050816;
    font-size: 14px;
    text-align: center;
}

.bloks-shader-fallback-inner { max-width: 440px; }

.bloks-shader-fallback-icon {
    font-size: 38px;
    color: var(--bloks-player-cyan);
    margin-bottom: 12px;
    text-shadow: 0 0 24px rgba(56,189,248,0.65);
}

.bloks-shader-fallback h3 {
    margin: 0 0 8px;
    color: var(--bloks-player-text);
    font-size: 20px;
}

.bloks-shader-fallback p {
    margin: 0;
    color: var(--bloks-player-muted);
    line-height: 1.6;
}

.bloks-shader-wrap.bloks-shader-error .bloks-shader-canvas { display: none; }
.bloks-shader-wrap.bloks-shader-error .bloks-shader-fallback { display: flex; }

/* =========================================================
   Controls
========================================================= */

.bloks-shader-controls {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 7;
    display: flex;
    gap: 8px;
}

.bloks-shader-retry,
.bloks-shader-audio,
.bloks-shader-fullscreen {
    appearance: none;
    font: inherit;
    transition: border-color .2s ease, color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.bloks-shader-retry:hover,
.bloks-shader-audio:hover,
.bloks-shader-fullscreen:hover { transform: translateY(-1px); }

.bloks-shader-retry {
    margin-top: 18px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(56,189,248,0.48);
    background: rgba(56,189,248,0.12);
    color: #e0f2fe;
    cursor: pointer;
}

.bloks-shader-retry:hover { background: rgba(56,189,248,0.22); }

.bloks-shader-audio,
.bloks-shader-fullscreen {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(120,170,255,0.35);
    background: rgba(5,8,18,0.74);
    color: rgba(220,235,255,0.94);
    cursor: pointer;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.25);
}

.bloks-shader-audio:hover,
.bloks-shader-fullscreen:hover {
    border-color: rgba(56,189,248,0.82);
    box-shadow: 0 0 18px rgba(56,189,248,0.18);
}

.bloks-shader-audio-active .bloks-shader-audio {
    border-color: rgba(120,255,220,0.95);
    color: rgba(170,255,235,1);
    box-shadow: 0 0 20px rgba(120,255,220,0.30);
}

.bloks-shader-audio-unavailable .bloks-shader-audio {
    border-color: rgba(255,120,150,0.55);
    color: rgba(255,170,190,0.95);
}

/* =========================================================
   Modes
========================================================= */

.bloks-shader-wrap.bloks-shader-slow::after {
    content: "Mobile preview mode";
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 6;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(5, 8, 22, 0.74);
    border: 1px solid rgba(56,189,248,0.28);
    color: #bae6fd;
    font-size: 12px;
    pointer-events: none;
}

.bloks-shader-is-fullscreen {
    position: fixed !important;
    inset: 0;
    width: 100vw !important;
    height: 100vh !important;
    border-radius: 0 !important;
    z-index: 99999;
}

.bloks-shader-is-fullscreen .bloks-shader-canvas {
    width: 100%;
    height: 100%;
}

.bloks-shader-wrap.bloks-shader-drop-active {
    outline: 2px solid rgba(56,189,248,.75);
    outline-offset: 4px;
}

/* =========================================================
   Builder-Style Player Layout
========================================================= */

.bloks-shader-library {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: stretch;
    margin: 4rem 0;
}

.bloks-shader-library-stage,
.bloks-shader-library-side {
    min-width: 0;
}

.bloks-shader-library-stage {
    position: sticky;
    top: var(--bloks-sticky-header-offset);
    z-index: 10;
    align-self: start;
}

.bloks-shader-library-stage .bloks-shader-wrap {
    min-height: var(--bloks-player-stage-height, 560px);
    border-radius: 24px;
    border: 1px solid rgba(120,180,255,0.14);
    background: #020611;
    box-shadow:
        0 30px 100px rgba(0,0,0,0.45),
        0 0 50px rgba(80,140,255,0.08);
}

.bloks-shader-library-side {
    display: flex;
    flex-direction: column;
    min-height: var(--bloks-player-stage-height, 560px);
    border-radius: 24px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(8,12,28,0.96), rgba(4,6,18,0.98));
    border: 1px solid rgba(120,180,255,0.14);
    box-shadow:
        0 30px 100px rgba(0,0,0,0.45),
        0 0 50px rgba(80,140,255,0.08);
}

.bloks-shader-player-panel-head {
    padding: 1rem;
    border-bottom: 1px solid rgba(120,180,255,0.10);
    background:
        radial-gradient(circle at top left, rgba(56,189,248,0.14), transparent 42%),
        linear-gradient(180deg, rgba(10,16,36,0.98), rgba(5,8,22,0.96));
}

.bloks-shader-player-kicker,
.bloks-shader-panel-section-head span {
    color: #67e8f9;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-transform: uppercase;
}

.bloks-shader-player-kicker {
    margin: 0 0 0.25rem;
}

.bloks-shader-player-panel-head h2 {
    margin: 0;
    color: #f8fafc;
    font-size: 1.05rem;
    line-height: 1.25;
}

.bloks-shader-panel-section {
    padding: 1rem;
    border-bottom: 1px solid rgba(120,180,255,0.10);
}

.bloks-shader-panel-section-library {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    flex-direction: column;
}

.bloks-shader-panel-section-head {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.75rem;
}

.bloks-shader-panel-section-head::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(56,189,248,.24), transparent);
}

/* =========================================================
   Visual Info Panel
========================================================= */

.bloks-shader-info {
    position: relative;
    z-index: 20;
    overflow: visible;
    margin: 0;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(120,180,255,0.14);
    background:
        radial-gradient(circle at top right, rgba(56,189,248,0.12), transparent 42%),
        rgba(5,8,22,0.58);
    color: #dbeafe;
}

.bloks-shader-info-head {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.bloks-shader-info-thumb-link {
    position: relative;
    display: block;
    width: 96px;
    height: 96px;
    overflow: visible;
}

.bloks-shader-info-thumb {
    display: block;
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(56,189,248,.24);
    background: #050816;
    cursor: zoom-in;
    box-shadow: 0 14px 34px rgba(0,0,0,0.28);
}

.bloks-shader-thumb-preview {
    position: absolute;
    left: 100%;
    top: 0;
    z-index: 100;
    width: 320px;
    max-width: none;
    height: auto;
    aspect-ratio: 16 / 9;
    margin-left: 1rem;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid rgba(56,189,248,.26);
    background: #050816;
    box-shadow: 0 24px 70px rgba(0,0,0,.55), 0 0 38px rgba(56,189,248,.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px) scale(.96);
    pointer-events: none;
    transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.bloks-shader-info-thumb-link:hover .bloks-shader-thumb-preview {
    opacity: 1;
    visibility: visible;
    transform: translateY(-4px) scale(1);
}

.bloks-shader-info-copy { min-width: 0; }

.bloks-shader-info-title {
    margin: 0 0 .4rem;
    color: var(--bloks-player-text);
    font-size: clamp(1.15rem, 1.9vw, 1.45rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.bloks-shader-info-description {
    margin: 0 0 .78rem;
    color: var(--bloks-player-muted);
    font-size: .9rem;
    line-height: 1.5;
}

.bloks-shader-info-description:empty { display: none; }

.bloks-shader-info-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .42rem;
    margin: 0 0 .82rem;
}

.bloks-tag,
.bloks-shader-category,
.bloks-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: .32rem .7rem;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .02em;
}

.bloks-tag,
.bloks-shader-category {
    border: 1px solid rgba(56,189,248,.22);
    background: rgba(56,189,248,.08);
    color: #94d8ff;
}

.bloks-badge {
    border: 1px solid rgba(74,125,255,.35);
    background: rgba(47,82,255,.18);
    color: #dbeafe;
}

.bloks-shader-info-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .85rem;
    margin-top: .9rem;
    padding-top: .9rem;
    border-top: 1px solid rgba(255,255,255,.07);
    color: #bae6fd;
    font-size: .84rem;
}

.bloks-shader-info-identity,
.bloks-shader-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .48rem;
    min-width: 0;
}

.bloks-shader-author {
    color: #bae6fd;
    font-weight: 800;
}

.bloks-shader-badges { justify-content: flex-end; }

/* =========================================================
   Search
========================================================= */

.bloks-shader-library-search { margin: 0 0 1rem; }

.bloks-shader-search {
    width: 100%;
    min-height: 42px;
    padding: 0 0.95rem;
    border-radius: 12px;
    border: 1px solid rgba(120,180,255,0.18);
    background: rgba(5,8,22,0.82);
    color: #e0f2fe;
    font-size: .9rem;
    outline: none;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.bloks-shader-search::placeholder { color: var(--bloks-player-muted); }

.bloks-shader-search:focus {
    border-color: rgba(56,189,248,.62);
    background: rgba(15,23,42,.96);
    box-shadow: 0 0 0 3px rgba(56,189,248,.08), 0 0 24px rgba(56,189,248,0.08);
}

.bloks-shader-no-results {
    margin: .8rem 0 0;
    padding: .9rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(56,189,248,.16);
    background: rgba(15,23,42,.65);
    color: var(--bloks-player-muted);
    font-size: .9rem;
}

/* =========================================================
   Library Groups / Shader Buttons
========================================================= */

.bloks-shader-library-browser {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: visible;
    padding: 1rem;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.02);
}

.bloks-shader-library-browser::-webkit-scrollbar { width: 10px; }
.bloks-shader-library-browser::-webkit-scrollbar-track { background: rgba(15,23,42,0.65); border-radius: 999px; }
.bloks-shader-library-browser::-webkit-scrollbar-thumb { background: rgba(74,125,255,0.55); border-radius: 999px; }
.bloks-shader-library-browser::-webkit-scrollbar-thumb:hover { background: rgba(56,189,248,0.78); }

.bloks-shader-library-group { margin: 0 0 1.35rem; }
.bloks-shader-library-group:last-child { margin-bottom: 0; }

.bloks-shader-library-group h3 {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin: 0 0 .75rem;
    color: #67e8f9;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.bloks-shader-library-group h3::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(56,189,248,.24), transparent);
}

.bloks-shader-library-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
}

.bloks-shader-library-item {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 64px;
    padding: .75rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.025);
    color: #dbeafe;
    font-size: .82rem;
    font-weight: 800;
    line-height: 1.25;
    text-align: left;
    white-space: normal;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease, color .2s ease;
}

.bloks-shader-library-item:hover {
    border-color: rgba(120,180,255,0.35);
    background: rgba(255,255,255,0.045);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.24), 0 0 18px rgba(56,189,248,0.08);
}

.bloks-shader-library-item.is-active {
    border-color: rgba(103,232,249,0.6);
    background: rgba(56,189,248,0.12);
    color: #ffffff;
    box-shadow: 0 0 0 1px rgba(56,189,248,0.14), 0 0 22px rgba(74,125,255,0.32);
}

/* =========================================================
   Responsive
========================================================= */

@media (max-width: 1100px) {
    .bloks-shader-library {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.25rem;
        margin: 3rem 0;
    }

    .bloks-shader-library-stage,
    .bloks-shader-library-browser {
        position: relative;
        top: auto;
        max-height: none;
    }

    .bloks-shader-library-side {
        min-height: 0;
    }

    .bloks-shader-library-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .bloks-shader-library {
        padding: .75rem;
        border-radius: 22px;
    }

    .bloks-shader-library-grid {
        grid-template-columns: 1fr;
    }

    .bloks-shader-info-head {
        grid-template-columns: 76px minmax(0, 1fr);
    }

    .bloks-shader-info-thumb-link,
    .bloks-shader-info-thumb {
        width: 76px;
        height: 76px;
        border-radius: 15px;
    }

    .bloks-shader-thumb-preview { display: none; }

    .bloks-shader-info-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .bloks-shader-badges { justify-content: flex-start; }
}


/* =========================================================
   PLAYER AUDIO SOURCE PANEL
========================================================= */

.bloks-player-audio-source-body {
    padding: 16px;
}

.bloks-player-audio-source-actions,
.bloks-player-audio-stream-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.bloks-player-audio-source-actions {
    margin-bottom: 16px;
}

.bloks-player-audio-action {
    appearance: none;
    border: 1px solid rgba(64, 226, 255, 0.45);
    border-radius: 999px;
    background: rgba(30, 113, 255, 0.18);
    color: #f5f8ff;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    padding: 10px 15px;
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.bloks-player-audio-action:hover,
.bloks-player-audio-action:focus-visible {
    border-color: rgba(64, 226, 255, 0.9);
    background: rgba(30, 113, 255, 0.32);
}

.bloks-player-audio-action:active {
    transform: translateY(1px);
}

.bloks-player-audio-action-secondary {
    border-color: rgba(165, 181, 214, 0.25);
    background: rgba(255, 255, 255, 0.04);
}

.bloks-player-audio-stream label {
    display: block;
    margin-bottom: 8px;
    color: #dce7ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.bloks-player-audio-stream-row {
    align-items: stretch;
}

.bloks-player-audio-url {
    min-width: 0;
    flex: 1 1 auto;
    border: 1px solid rgba(120, 153, 210, 0.28);
    border-radius: 10px;
    background: rgba(3, 9, 25, 0.72);
    color: #f5f8ff;
    font: inherit;
    font-size: 13px;
    padding: 10px 12px;
    outline: none;
}

.bloks-player-audio-url:focus {
    border-color: rgba(64, 226, 255, 0.72);
    box-shadow: 0 0 0 2px rgba(64, 226, 255, 0.08);
}

.bloks-player-audio-url::placeholder {
    color: rgba(185, 199, 229, 0.52);
}

.bloks-player-audio-help,
.bloks-player-audio-status {
    margin: 9px 0 0;
    font-size: 11px;
    line-height: 1.45;
}

.bloks-player-audio-help {
    color: rgba(190, 204, 232, 0.68);
}

.bloks-player-audio-status {
    min-height: 1.45em;
    color: #9edff0;
}

.bloks-player-audio-status[data-state="error"] {
    color: #ff9ca8;
}

.bloks-player-audio-status[data-state="playing"] {
    color: #80ffd5;
}

.bloks-player-audio-status[data-state="loading"] {
    color: #ffe08a;
}

@media (max-width: 640px) {
    .bloks-player-audio-stream-row {
        flex-direction: column;
    }

    .bloks-player-audio-stream-row .bloks-player-audio-action {
        align-self: flex-start;
    }
}


/* =========================================================
   CHANNEL PAGE SHORTCODE VISIBILITY
========================================================= */

.bloks-player-app[data-show-library="false"] .bloks-shader-panel-section-library {
    display: none;
}

.bloks-player-app[data-show-info="false"] .bloks-shader-panel-section-info {
    display: none;
}

.bloks-player-app[data-show-audio-controls="false"] .bloks-player-audio-source {
    display: none;
}


/* =========================================================
   BLOKS RADIO — NOW PLAYING
========================================================= */

.bloks-radio-now-playing {
    grid-column: 1 / -1;
    display: flex;
    align-items: stretch;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(120, 153, 210, 0.22);
    border-radius: 12px;
    background: rgba(3, 9, 25, 0.88);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.20);
}

.bloks-radio-now-playing-label {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border-right: 1px solid rgba(120, 153, 210, 0.20);
    background: rgba(30, 113, 255, 0.16);
    color: #80ffd5;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}

.bloks-radio-ticker-window {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.bloks-radio-ticker-track {
    display: flex;
    align-items: center;
    width: max-content;
    min-width: 100%;
    white-space: nowrap;
    animation: bloks-radio-ticker 24s linear infinite;
    will-change: transform;
}

.bloks-radio-ticker-text {
    flex: 0 0 auto;
    padding: 10px 28px;
    color: #eaf2ff;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0.04em;
}

.bloks-radio-now-playing[data-state="error"] .bloks-radio-ticker-text {
    color: #ffb0ba;
}

.bloks-radio-now-playing:hover .bloks-radio-ticker-track {
    animation-play-state: paused;
}

@keyframes bloks-radio-ticker {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .bloks-radio-ticker-track {
        animation: none;
    }

    .bloks-radio-ticker-clone {
        display: none;
    }
}

@media (max-width: 640px) {
    .bloks-radio-now-playing {
        border-radius: 10px;
    }

    .bloks-radio-now-playing-label {
        padding-left: 10px;
        padding-right: 10px;
    }
}


/* =========================================================
   BLOKS RADIO — STATION-FIRST CONTROLS
========================================================= */

.bloks-radio-configured-stream {
    display: none !important;
}

.bloks-player-app[data-show-custom-stream="false"] .bloks-player-audio-help {
    display: none;
}


/* =========================================================
   BLOKS RADIO — TRANSPORT
========================================================= */

.bloks-radio-transport {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 16px;
}

.bloks-radio-volume-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 180px;
    color: rgba(220, 231, 255, 0.78);
    font-size: 11px;
    font-weight: 700;
}

.bloks-radio-volume {
    flex: 1 1 auto;
    min-width: 110px;
    accent-color: currentColor;
}

.bloks-player-audio-status[data-state="paused"],
.bloks-player-audio-status[data-state="blocked"] {
    color: #ffd98a;
}

@media (max-width: 640px) {
    .bloks-radio-transport {
        align-items: stretch;
    }

    .bloks-radio-volume-wrap {
        width: 100%;
    }
}


/* =========================================================
   BLOKS RADIO — STATION DIRECTORY
========================================================= */

.bloks-radio-directory {
    width: 100%;
}

.bloks-radio-directory-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 24px;
}

.bloks-radio-directory-search,
.bloks-radio-directory-filter {
    min-height: 42px;
    border: 1px solid rgba(120, 153, 210, 0.28);
    border-radius: 10px;
    background: rgba(3, 9, 25, 0.72);
    color: #f5f8ff;
    font: inherit;
    padding: 9px 12px;
}

.bloks-radio-directory-search {
    flex: 1 1 260px;
}

.bloks-radio-directory-filter {
    flex: 0 1 220px;
}

.bloks-radio-station-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 18px;
}

.bloks-radio-station-card {
    overflow: hidden;
    border: 1px solid rgba(120, 153, 210, 0.20);
    border-radius: 16px;
    background: rgba(7, 14, 34, 0.86);
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.bloks-radio-station-card:hover {
    transform: translateY(-3px);
    border-color: rgba(64, 226, 255, 0.55);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.bloks-radio-station-card-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.bloks-radio-station-logo {
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 35%, rgba(47, 95, 255, 0.20), transparent 60%),
        rgba(3, 9, 25, 0.9);
}

.bloks-radio-station-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 18px;
}

.bloks-radio-station-logo-placeholder {
    font-size: 46px;
    opacity: 0.55;
}

.bloks-radio-station-card-copy {
    padding: 16px;
}

.bloks-radio-station-card-copy h3 {
    margin: 0 0 7px;
    color: #f5f8ff;
    font-size: 17px;
    line-height: 1.2;
}

.bloks-radio-station-genres,
.bloks-radio-station-location {
    margin: 4px 0;
    color: rgba(195, 211, 239, 0.72);
    font-size: 12px;
}

.bloks-radio-station-listen {
    display: inline-block;
    margin-top: 14px;
    color: #80ffd5;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.bloks-radio-directory-pagination {
    margin-top: 28px;
}

.bloks-radio-directory-pagination .page-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    list-style: none;
}

.bloks-radio-directory-pagination a,
.bloks-radio-directory-pagination span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 7px 11px;
    border: 1px solid rgba(120, 153, 210, 0.24);
    border-radius: 9px;
    background: rgba(3, 9, 25, 0.72);
    color: #eaf2ff;
    text-decoration: none;
}

.bloks-radio-directory-pagination .current {
    border-color: rgba(64, 226, 255, 0.7);
    color: #80ffd5;
}

.bloks-radio-directory-empty {
    padding: 24px;
    border: 1px solid rgba(120, 153, 210, 0.18);
    border-radius: 12px;
    background: rgba(3, 9, 25, 0.56);
}


/* =========================================================
   BLOKS RADIO — CURRENT STATION IDENTITY
========================================================= */

.bloks-radio-current-station {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    padding: 12px;
    border: 1px solid rgba(120, 153, 210, 0.20);
    border-radius: 12px;
    background: rgba(3, 9, 25, 0.52);
}

.bloks-radio-current-station-logo {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    object-fit: contain;
    padding: 6px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.94);
}

.bloks-radio-current-station-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.bloks-radio-current-station-label {
    color: rgba(190, 204, 232, 0.65);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.bloks-radio-current-station-copy strong {
    color: #f5f8ff;
    font-size: 17px;
    line-height: 1.2;
}


/* =========================================
   BLOKS RADIO 0.1.12
   CHANNEL GUIDE 2.0
========================================= */

.bloks-radio-directory-intro {
  max-width: 720px;
  margin: 0 0 clamp(24px, 3vw, 38px);
}

.bloks-radio-directory-kicker {
  margin: 0 0 7px;
  color: #55f1ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.bloks-radio-directory-intro h2 {
  margin: 0;
  color: #f5f8ff;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.05;
}

.bloks-radio-directory-intro > p:last-child {
  margin: 10px 0 0;
  color: rgba(214, 224, 242, .72);
  font-size: 16px;
  line-height: 1.6;
}

.bloks-radio-directory-toolbar {
  grid-template-columns: minmax(240px, 1fr) minmax(150px, 220px) minmax(150px, 190px) auto;
}

.bloks-radio-station-card {
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.bloks-radio-station-card:hover,
.bloks-radio-station-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(85, 241, 255, .34);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .24), 0 0 24px rgba(85, 241, 255, .05);
}

.bloks-radio-station-card-link:focus-visible {
  outline: 2px solid #55f1ff;
  outline-offset: 3px;
}

.bloks-radio-station-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 4px;
}

.bloks-radio-station-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid rgba(85, 241, 255, .20);
  border-radius: 999px;
  background: rgba(85, 241, 255, .055);
  color: rgba(194, 239, 247, .84);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.2;
}

.bloks-radio-station-badge-location {
  border-color: rgba(153, 163, 255, .18);
  background: rgba(153, 163, 255, .055);
  color: rgba(211, 215, 255, .78);
}

.bloks-radio-directory-empty {
  padding: 46px 24px;
  border: 1px dashed rgba(116, 149, 202, .28);
  border-radius: 18px;
  color: rgba(214, 224, 242, .72);
  text-align: center;
}

@media (max-width: 900px) {
  .bloks-radio-directory-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .bloks-radio-directory-search {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .bloks-radio-directory-toolbar {
    grid-template-columns: 1fr;
  }

  .bloks-radio-directory-search {
    grid-column: auto;
  }

  .bloks-radio-directory-toolbar .bloks-player-audio-action {
    width: 100%;
  }
}


/* =========================================
   BLOKS RADIO 0.1.13
   RECENTLY PLAYED
========================================= */

.bloks-radio-recent[hidden] {
  display: none !important;
}

.bloks-radio-recent {
  margin: 0 0 clamp(22px, 3vw, 34px);
}

.bloks-radio-recent-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.bloks-radio-recent-kicker {
  margin: 0;
  color: rgba(221, 230, 247, .78);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.bloks-radio-recent-clear {
  appearance: none;
  border: 0;
  padding: 4px 0;
  background: transparent;
  color: rgba(170, 190, 222, .58);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
}

.bloks-radio-recent-clear:hover,
.bloks-radio-recent-clear:focus-visible {
  color: #55f1ff;
}

.bloks-radio-recent-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.bloks-radio-recent-item {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 11px;
  padding: 10px;
  border: 1px solid rgba(95, 129, 185, .24);
  border-radius: 14px;
  background: rgba(8, 18, 43, .58);
  color: inherit;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.bloks-radio-recent-item:hover,
.bloks-radio-recent-item:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(85, 241, 255, .34);
  background: rgba(12, 27, 58, .72);
}

.bloks-radio-recent-logo {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(255, 255, 255, .05);
}

.bloks-radio-recent-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bloks-radio-recent-logo-placeholder {
  display: grid;
  place-items: center;
  color: #55f1ff;
}

.bloks-radio-recent-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.bloks-radio-recent-copy strong {
  overflow: hidden;
  color: #f4f7ff;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bloks-radio-recent-copy span {
  color: #63f5d1;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .bloks-radio-recent-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .bloks-radio-recent-list {
    grid-template-columns: 1fr;
  }
}


/* =========================================
   BLOKS RADIO 0.1.14
   RESPONSIVE STATION LOGO STAGES
========================================= */

/*
 * Station artwork is branding, not photography. Keep the complete logo
 * visible regardless of its source dimensions or aspect ratio.
 */
.bloks-radio-station-logo {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(7, 15, 34, .78);
}

.bloks-radio-station-logo img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  padding: clamp(10px, 6%, 18px);
  object-fit: contain !important;
  object-position: center !important;
  box-sizing: border-box;
}

/* Recently Played uses the same complete-logo treatment. */
.bloks-radio-recent-logo {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(7, 15, 34, .82);
}

.bloks-radio-recent-logo img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  padding: 5px;
  object-fit: contain !important;
  object-position: center !important;
  box-sizing: border-box;
}

/* Preserve a clean stage even when an uploaded logo has transparency. */
.bloks-radio-station-logo,
.bloks-radio-recent-logo {
  isolation: isolate;
}


/* =========================================
   BLOKS RADIO 0.1.19
   VISUAL QUICK CONTROLS
========================================= */

.bloks-radio-visual-transport {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 0 4px;
}

.bloks-radio-visual-transport button {
  appearance: none;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(85, 241, 255, .2);
  border-radius: 999px;
  background: rgba(8, 18, 43, .62);
  color: rgba(225, 235, 249, .88);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.bloks-radio-visual-transport button:hover,
.bloks-radio-visual-transport button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(85, 241, 255, .48);
  background: rgba(15, 31, 63, .86);
  color: #55f1ff;
}

@media (max-width: 520px) {
  .bloks-radio-visual-transport {
    gap: 7px;
  }

  .bloks-radio-visual-transport button {
    padding-inline: 11px;
    font-size: 11px;
  }
}


/* =========================================
   BLOKS RADIO 0.1.20
   VISUAL CONTROL LAYOUT FIX
========================================= */

.bloks-shader-library-stage.bloks-app-stage {
  display: flex;
  flex-direction: column;
}

.bloks-shader-library-stage .bloks-radio-visual-transport {
  flex: 0 0 auto;
  width: 100%;
  padding: 12px 0 0;
}

.bloks-shader-library-stage .bloks-shader-wrap {
  width: 100%;
}


/* =========================================
   BLOKS RADIO 0.1.24
   VISUAL LIBRARY DRAWER
========================================= */

.bloks-radio-browse-visuals {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  min-height: 42px;
  margin: 12px auto 0;
  padding: 10px 20px;
  border: 1px solid rgba(56, 189, 248, .52);
  border-radius: 999px;
  background: rgba(8, 24, 52, .94);
  color: #7dd3fc;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.bloks-radio-browse-visuals:hover,
.bloks-radio-browse-visuals:focus-visible {
  border-color: rgba(56, 189, 248, .9);
  background: rgba(12, 39, 78, .96);
}

.bloks-radio-visual-drawer {
  position: fixed;
  inset: 0;
  z-index: 999999;
  visibility: hidden;
  pointer-events: none;
}

.bloks-radio-visual-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.bloks-radio-visual-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, .64);
  opacity: 0;
  transition: opacity .24s ease;
}

.bloks-radio-visual-drawer.is-open .bloks-radio-visual-drawer-backdrop {
  opacity: 1;
}

.bloks-radio-visual-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(700px, 56vw);
  height: 100%;
  overflow-y: auto;
  box-sizing: border-box;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(12, 27, 62, .995), rgba(5, 10, 26, .995));
  border-left: 1px solid rgba(56, 189, 248, .2);
  box-shadow: -28px 0 70px rgba(0, 0, 0, .45);
  transform: translateX(100%);
  transition: transform .26s ease;
}

.bloks-radio-visual-drawer.is-open .bloks-radio-visual-drawer-panel {
  transform: translateX(0);
}

.bloks-radio-visual-drawer-head {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 4px 0 20px;
  margin-bottom: 8px;
  background: rgba(12, 27, 62, .995);
}

.bloks-radio-visual-drawer-kicker {
  display: block;
  color: #67e8f9;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.bloks-radio-visual-drawer-head h2 {
  margin: 4px 0 0;
  color: #f8fafc;
}

.bloks-radio-visual-drawer-close {
  appearance: none;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid rgba(148, 163, 184, .3);
  border-radius: 50%;
  background: #071027;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.bloks-radio-visual-drawer .bloks-shader-panel-section-library {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.bloks-radio-visual-drawer .bloks-shader-panel-section-head {
  display: none;
}

.bloks-radio-visual-drawer .bloks-shader-library-browser {
  max-height: none !important;
  overflow: visible !important;
}

body.bloks-radio-visual-drawer-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .bloks-radio-visual-drawer-panel {
    width: min(92vw, 700px);
  }
}

@media (max-width: 640px) {
  .bloks-radio-visual-drawer-panel {
    width: 100%;
    padding: 18px;
  }
}


/* =========================================
   BLOKS RADIO 0.1.25
   SPECIFIC STATION PAGE CONTENT PLACEMENT
========================================= */

.single-bloks_radio_station
.bloks-radio-visual-info-under-stage {
  width: 100%;
  margin: 22px 0 0;
  box-sizing: border-box;
}

.single-bloks_radio_station
.bloks-radio-visual-info-under-stage
.bloks-shader-info {
  width: 100%;
}

.single-bloks_radio_station
.lava-radio-station-about--radio-side {
  width: 100%;
  max-width: none;
  margin: 22px 0 0;
  box-sizing: border-box;
}

.single-bloks_radio_station
.lava-radio-station-about--radio-side
.lava-radio-station-about__content {
  max-width: none;
}

/*
 * On station pages, keep the right side focused on listening and station
 * information while the visual details live with the preview on the left.
 */
.single-bloks_radio_station
.bloks-shader-library-side {
  align-self: start;
}

@media (max-width: 900px) {
  .single-bloks_radio_station
  .bloks-radio-visual-info-under-stage,
  .single-bloks_radio_station
  .lava-radio-station-about--radio-side {
    margin-top: 18px;
  }
}


/* =========================================
   BLOKS RADIO 0.1.26
   COMPACT STATION SIDE PANEL
========================================= */

/*
 * Individual station pages:
 * make the right-side LAVA Radio / station area much smaller and tighter.
 * Preserve the visual-stage layout and the working visual drawer.
 */

.single-bloks_radio_station
.bloks-shader-library-side {
  gap: 0 !important;
}

/* Compact the large LAVA Radio intro/header area. */
.single-bloks_radio_station
.bloks-shader-library-side > .bloks-shader-panel-head,
.single-bloks_radio_station
.bloks-shader-library-side > .bloks-app-panel-head,
.single-bloks_radio_station
.bloks-shader-library-side > header {
  padding: 18px 26px 14px !important;
  min-height: 0 !important;
}

.single-bloks_radio_station
.bloks-shader-library-side .bloks-player-kicker,
.single-bloks_radio_station
.bloks-shader-library-side .bloks-shader-panel-kicker,
.single-bloks_radio_station
.bloks-shader-library-side .bloks-app-kicker {
  margin: 0 0 4px !important;
  font-size: 12px !important;
  line-height: 1.1 !important;
  letter-spacing: .14em !important;
}

.single-bloks_radio_station
.bloks-shader-library-side .bloks-player-title,
.single-bloks_radio_station
.bloks-shader-library-side .bloks-shader-panel-title,
.single-bloks_radio_station
.bloks-shader-library-side h1,
.single-bloks_radio_station
.bloks-shader-library-side h2 {
  margin: 0 !important;
}

/*
 * The main explanatory heading was dominating the column.
 * Keep it present, but reduce it substantially.
 */
.single-bloks_radio_station
.bloks-shader-library-side > :first-child h2,
.single-bloks_radio_station
.bloks-shader-library-side > :first-child h1 {
  font-size: clamp(20px, 2vw, 28px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.02em !important;
}

/* Tighten every right-side section. */
.single-bloks_radio_station
.bloks-shader-library-side
.bloks-shader-panel-section {
  padding: 20px 26px !important;
}

.single-bloks_radio_station
.bloks-shader-library-side
.bloks-shader-panel-section-head {
  margin-bottom: 14px !important;
}

/* Compact the station identity card. */
.single-bloks_radio_station
.bloks-radio-station-now-playing,
.single-bloks_radio_station
.bloks-radio-current-station,
.single-bloks_radio_station
.bloks-radio-station-card-current {
  min-height: 0 !important;
  padding: 12px 14px !important;
  border-radius: 15px !important;
}

.single-bloks_radio_station
.bloks-radio-station-now-playing img,
.single-bloks_radio_station
.bloks-radio-current-station img,
.single-bloks_radio_station
.bloks-radio-station-card-current img {
  width: 58px !important;
  height: 58px !important;
  max-width: 58px !important;
  max-height: 58px !important;
  object-fit: contain !important;
}

/* Controls should sit close to the station card. */
.single-bloks_radio_station
.bloks-radio-controls,
.single-bloks_radio_station
.bloks-player-controls {
  margin-top: 14px !important;
  gap: 8px !important;
}

.single-bloks_radio_station
.bloks-radio-controls button,
.single-bloks_radio_station
.bloks-player-controls button {
  min-height: 38px !important;
  padding: 8px 15px !important;
}

/* Pull the volume row up and make it quieter visually. */
.single-bloks_radio_station
.bloks-radio-volume,
.single-bloks_radio_station
.bloks-player-volume {
  margin-top: 14px !important;
}

/* About This Station now belongs directly under the controls. */
.single-bloks_radio_station
.lava-radio-station-about--radio-side {
  margin: 0 !important;
  padding: 20px 26px 24px !important;
  border-radius: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  background: transparent !important;
}

.single-bloks_radio_station
.lava-radio-station-about--radio-side h2,
.single-bloks_radio_station
.lava-radio-station-about--radio-side h3 {
  font-size: 22px !important;
  line-height: 1.15 !important;
  margin-bottom: 12px !important;
}

.single-bloks_radio_station
.lava-radio-station-about--radio-side p {
  font-size: 15px !important;
  line-height: 1.55 !important;
  margin: 0 0 12px !important;
}

/* Visual info under the preview should feel like a compact companion card. */
.single-bloks_radio_station
.bloks-radio-visual-info-under-stage {
  margin-top: 16px !important;
  padding: 18px !important;
  border-radius: 18px !important;
}

.single-bloks_radio_station
.bloks-radio-visual-info-under-stage
.bloks-shader-panel-section-head {
  margin-bottom: 12px !important;
}

.single-bloks_radio_station
.bloks-radio-visual-info-under-stage
.bloks-shader-info {
  gap: 14px !important;
}

/* Keep the station side panel compact and sticky. */
@media (min-width: 901px) {
  .single-bloks_radio_station
  .bloks-shader-library-side {
    position: sticky !important;
    top: 90px !important;
    align-self: start !important;
  }
}

@media (max-width: 900px) {
  .single-bloks_radio_station
  .bloks-shader-library-side > .bloks-shader-panel-head,
  .single-bloks_radio_station
  .bloks-shader-library-side > .bloks-app-panel-head,
  .single-bloks_radio_station
  .bloks-shader-library-side > header,
  .single-bloks_radio_station
  .bloks-shader-library-side
  .bloks-shader-panel-section,
  .single-bloks_radio_station
  .lava-radio-station-about--radio-side {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
}


/* =========================================
   BLOKS RADIO 0.1.27
   TRUE COMPACT STATION SIDE PANEL
========================================= */

/*
 * Exact selectors for the current BLOKS Radio markup.
 * Applies only to specific Radio Station pages.
 */

/* Shrink the panel header to a tiny brand strip. */
.single-bloks_radio_station
.bloks-shader-library-side
.bloks-shader-player-panel-head {
  padding: 14px 24px 10px !important;
  min-height: 0 !important;
  border-bottom: 0 !important;
}

.single-bloks_radio_station
.bloks-shader-library-side
.bloks-shader-player-kicker {
  margin: 0 !important;
  font-size: 12px !important;
  line-height: 1 !important;
  letter-spacing: .14em !important;
}

/* Remove the oversized explanatory headline entirely on station pages. */
.single-bloks_radio_station
.bloks-shader-library-side
.bloks-shader-player-panel-head h2 {
  display: none !important;
}

/* Tighten the audio/station section. */
.single-bloks_radio_station
.bloks-shader-library-side
.bloks-player-audio-source {
  padding: 10px 24px 18px !important;
  border-top: 0 !important;
}

/* The station name is already visible inside the station card. */
.single-bloks_radio_station
.bloks-player-audio-source
> .bloks-shader-panel-section-head {
  display: none !important;
}

.single-bloks_radio_station
.bloks-player-audio-source-body {
  padding-top: 0 !important;
}

/* Compact current-station identity card. */
.single-bloks_radio_station
.bloks-radio-current-station {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 0 !important;
  margin: 0 0 14px !important;
  padding: 10px 12px !important;
  border-radius: 14px !important;
}

.single-bloks_radio_station
.bloks-radio-current-station-logo {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  max-width: 52px !important;
  max-height: 52px !important;
  object-fit: contain !important;
  border-radius: 10px !important;
}

.single-bloks_radio_station
.bloks-radio-current-station-copy {
  gap: 2px !important;
}

.single-bloks_radio_station
.bloks-radio-current-station-label {
  font-size: 10px !important;
  line-height: 1.1 !important;
  letter-spacing: .12em !important;
}

.single-bloks_radio_station
.bloks-radio-current-station-copy strong {
  font-size: 16px !important;
  line-height: 1.15 !important;
}

/* Pull transport buttons into one compact row. */
.single-bloks_radio_station
.bloks-radio-transport {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: 0 !important;
}

.single-bloks_radio_station
.bloks-radio-transport
.bloks-player-audio-action {
  min-height: 36px !important;
  padding: 7px 14px !important;
  font-size: 12px !important;
}

/* Keep volume close to the controls. */
.single-bloks_radio_station
.bloks-radio-volume-wrap {
  flex: 1 1 100% !important;
  display: grid !important;
  grid-template-columns: auto minmax(120px, 1fr) !important;
  align-items: center !important;
  gap: 12px !important;
  margin-top: 8px !important;
}

.single-bloks_radio_station
.bloks-radio-volume-wrap > span {
  font-size: 9px !important;
  line-height: 1 !important;
}

.single-bloks_radio_station
.bloks-radio-volume {
  width: 100% !important;
}

/* About section directly beneath controls, compact and integrated. */
.single-bloks_radio_station
.lava-radio-station-about--radio-side {
  margin: 0 !important;
  padding: 16px 24px 20px !important;
  border-radius: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  background: transparent !important;
}

.single-bloks_radio_station
.lava-radio-station-about--radio-side
.lava-radio-station-about__eyebrow,
.single-bloks_radio_station
.lava-radio-station-about--radio-side
.bloks-caption {
  margin-bottom: 8px !important;
  font-size: 11px !important;
  letter-spacing: .13em !important;
}

.single-bloks_radio_station
.lava-radio-station-about--radio-side h2,
.single-bloks_radio_station
.lava-radio-station-about--radio-side h3 {
  margin: 0 0 10px !important;
  font-size: 20px !important;
  line-height: 1.15 !important;
}

.single-bloks_radio_station
.lava-radio-station-about--radio-side p {
  margin: 0 0 10px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

/* Make the whole side panel read as one tight module. */
.single-bloks_radio_station
.bloks-shader-library-side {
  overflow: hidden !important;
  border-radius: 22px !important;
}

/* Visual info beneath the preview: compact, not oversized. */
.single-bloks_radio_station
.bloks-radio-visual-info-under-stage {
  margin-top: 14px !important;
  padding: 16px !important;
}

.single-bloks_radio_station
.bloks-radio-visual-info-under-stage
.bloks-shader-panel-section-head {
  margin-bottom: 10px !important;
}

.single-bloks_radio_station
.bloks-radio-visual-info-under-stage
.bloks-shader-info-head {
  gap: 12px !important;
}

.single-bloks_radio_station
.bloks-radio-visual-info-under-stage
.bloks-shader-info-thumb-link {
  flex: 0 0 72px !important;
}

.single-bloks_radio_station
.bloks-radio-visual-info-under-stage
.bloks-shader-info-thumb {
  width: 72px !important;
  height: 72px !important;
}

.single-bloks_radio_station
.bloks-radio-visual-info-under-stage
.bloks-shader-info-title {
  font-size: 20px !important;
  line-height: 1.15 !important;
}

.single-bloks_radio_station
.bloks-radio-visual-info-under-stage
.bloks-shader-info-description {
  margin-top: 5px !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

@media (max-width: 900px) {
  .single-bloks_radio_station
  .bloks-shader-library-side
  .bloks-shader-player-panel-head,
  .single-bloks_radio_station
  .bloks-shader-library-side
  .bloks-player-audio-source,
  .single-bloks_radio_station
  .lava-radio-station-about--radio-side {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
}


/* =========================================
   BLOKS RADIO 0.1.28
   MASTHEAD VISUAL DECK
========================================= */

/* Restore the headline, but keep it compact. */
.single-bloks_radio_station
.bloks-shader-library-side
.bloks-shader-player-panel-head h2 {
  display: block !important;
  margin: 4px 0 0 !important;
  font-size: clamp(24px, 2.2vw, 32px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.02em !important;
}

/* Restore the station-name kicker above the station card. */
.single-bloks_radio_station
.bloks-player-audio-source
> .bloks-shader-panel-section-head {
  display: flex !important;
  margin-bottom: 12px !important;
}

/* Give the masthead room for a compact visual-info/control deck. */
.single-bloks_radio_station
.lava-radio-masthead.bloks-radio-masthead-has-visual-deck,
.single-bloks_radio_station
.bloks-radio-masthead.bloks-radio-masthead-has-visual-deck {
  display: grid !important;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr) !important;
  align-items: center !important;
  gap: clamp(24px, 4vw, 56px) !important;
}

/* Deck on the right side of the masthead. */
.single-bloks_radio_station
.bloks-radio-masthead-visual-deck {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Strip the old Visual Info section chrome when it lives in the masthead. */
.single-bloks_radio_station
.bloks-radio-visual-info-in-masthead {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.single-bloks_radio_station
.bloks-radio-visual-info-in-masthead
> .bloks-shader-panel-section-head {
  display: none !important;
}

.single-bloks_radio_station
.bloks-radio-visual-info-in-masthead
.bloks-shader-info {
  padding: 0 !important;
}

.single-bloks_radio_station
.bloks-radio-visual-info-in-masthead
.bloks-shader-info-head {
  display: grid !important;
  grid-template-columns: 64px minmax(0, 1fr) !important;
  gap: 14px !important;
  align-items: center !important;
}

.single-bloks_radio_station
.bloks-radio-visual-info-in-masthead
.bloks-shader-info-thumb-link {
  width: 64px !important;
  min-width: 64px !important;
  height: 64px !important;
}

.single-bloks_radio_station
.bloks-radio-visual-info-in-masthead
.bloks-shader-info-thumb {
  width: 64px !important;
  height: 64px !important;
  border-radius: 12px !important;
}

.single-bloks_radio_station
.bloks-radio-visual-info-in-masthead
.bloks-shader-thumb-preview {
  display: none !important;
}

.single-bloks_radio_station
.bloks-radio-visual-info-in-masthead
.bloks-shader-info-title {
  margin: 0 0 4px !important;
  font-size: clamp(18px, 2vw, 24px) !important;
  line-height: 1.08 !important;
}

.single-bloks_radio_station
.bloks-radio-visual-info-in-masthead
.bloks-shader-info-description {
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  color: var(--bloks-text-soft, #cbd5e1) !important;
}

/* Keep masthead Visual Info minimal. */
.single-bloks_radio_station
.bloks-radio-visual-info-in-masthead
.bloks-shader-info-tags,
.single-bloks_radio_station
.bloks-radio-visual-info-in-masthead
.bloks-shader-info-meta {
  display: none !important;
}

/* Put all visual-switching controls into a single compact masthead row. */
.single-bloks_radio_station
.bloks-radio-masthead-visual-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.single-bloks_radio_station
.bloks-radio-masthead-visual-controls
.bloks-radio-visual-transport {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
}

.single-bloks_radio_station
.bloks-radio-masthead-visual-controls
.bloks-radio-visual-transport button,
.single-bloks_radio_station
.bloks-radio-masthead-visual-controls
.bloks-radio-browse-visuals {
  min-height: 36px !important;
  margin: 0 !important;
  padding: 7px 13px !important;
  font-size: 12px !important;
  line-height: 1 !important;
}

/* The preview stage can now remain visually static. */
.single-bloks_radio_station
.bloks-shader-library-stage {
  position: sticky;
  top: 90px;
  align-self: start;
}

/* Remove now-empty spacing beneath the preview stage. */
.single-bloks_radio_station
.bloks-shader-library-stage
> .bloks-radio-visual-transport,
.single-bloks_radio_station
.bloks-shader-library-stage
> .bloks-radio-browse-visuals,
.single-bloks_radio_station
.bloks-shader-library-stage
> .bloks-radio-visual-info-under-stage {
  margin-top: 0 !important;
}

/* Mobile: stack the masthead deck beneath the masthead brand. */
@media (max-width: 900px) {
  .single-bloks_radio_station
  .lava-radio-masthead.bloks-radio-masthead-has-visual-deck,
  .single-bloks_radio_station
  .bloks-radio-masthead.bloks-radio-masthead-has-visual-deck {
    grid-template-columns: 1fr !important;
  }

  .single-bloks_radio_station
  .bloks-radio-masthead-visual-deck {
    margin-top: 18px;
  }
}


/* =========================================
   BLOKS RADIO 0.1.29
   TARGET STATION PAGE LAYOUT
========================================= */

/* ---- Top hero ---- */

.single-bloks_radio_station
.bloks-radio-station-hero-129 {
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(500px, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  width: min(100%, 1360px);
  margin: 28px auto 18px;
  padding: 0 28px;
  box-sizing: border-box;
}

.single-bloks_radio_station
.bloks-radio-station-hero-brand {
  text-align: center;
}

.single-bloks_radio_station
.bloks-radio-station-hero-kicker {
  margin: 0 0 6px;
  color: #67e8f9;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.single-bloks_radio_station
.bloks-radio-station-hero-title {
  margin: 0;
  font-size: clamp(48px, 5.8vw, 82px);
  line-height: .96;
  letter-spacing: .02em;
  background: linear-gradient(90deg, #a5f3fc, #38bdf8 48%, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.single-bloks_radio_station
.bloks-radio-station-hero-tagline {
  margin: 10px 0 0;
  color: #cbd5e1;
  font-size: 18px;
  font-weight: 700;
}

/* ---- Visual info deck ---- */

.single-bloks_radio_station
.bloks-radio-station-hero-deck {
  min-width: 0;
  padding: 16px 18px 14px;
  border: 1px solid rgba(56, 189, 248, .16);
  border-radius: 18px;
  background: rgba(5, 13, 31, .58);
}

.single-bloks_radio_station
.bloks-radio-visual-info-in-hero {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.single-bloks_radio_station
.bloks-radio-visual-info-in-hero
> .bloks-shader-panel-section-head {
  display: none !important;
}

.single-bloks_radio_station
.bloks-radio-visual-info-in-hero
.bloks-shader-info {
  padding: 0 !important;
}

.single-bloks_radio_station
.bloks-radio-visual-info-in-hero
.bloks-shader-info-head {
  display: grid !important;
  grid-template-columns: 74px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 16px !important;
}

.single-bloks_radio_station
.bloks-radio-visual-info-in-hero
.bloks-shader-info-thumb-link {
  width: 74px !important;
  height: 74px !important;
}

.single-bloks_radio_station
.bloks-radio-visual-info-in-hero
.bloks-shader-info-thumb {
  width: 74px !important;
  height: 74px !important;
  object-fit: cover !important;
  border-radius: 12px !important;
}

.single-bloks_radio_station
.bloks-radio-visual-info-in-hero
.bloks-shader-thumb-preview,
.single-bloks_radio_station
.bloks-radio-visual-info-in-hero
.bloks-shader-info-tags,
.single-bloks_radio_station
.bloks-radio-visual-info-in-hero
.bloks-shader-info-meta {
  display: none !important;
}

.single-bloks_radio_station
.bloks-radio-visual-info-in-hero
.bloks-shader-info-title {
  margin: 0 0 6px !important;
  font-size: clamp(21px, 2vw, 28px) !important;
  line-height: 1.08 !important;
}

.single-bloks_radio_station
.bloks-radio-visual-info-in-hero
.bloks-shader-info-description {
  margin: 0 !important;
  color: #cbd5e1 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

/* ---- Visual controls in hero ---- */

.single-bloks_radio_station
.bloks-radio-station-hero-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.single-bloks_radio_station
.bloks-radio-station-hero-controls
.bloks-radio-visual-transport {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin: 0 !important;
}

.single-bloks_radio_station
.bloks-radio-station-hero-controls
.bloks-radio-visual-transport button,
.single-bloks_radio_station
.bloks-radio-station-hero-controls
.bloks-radio-browse-visuals {
  min-height: 42px !important;
  margin: 0 !important;
  padding: 9px 18px !important;
  font-size: 13px !important;
  border-radius: 999px !important;
}

/* ---- Ticker ---- */

.single-bloks_radio_station
.bloks-radio-now-playing {
  width: min(calc(100% - 56px), 1360px);
  margin: 0 auto 16px !important;
}

/* ---- Main two-column player ---- */

.single-bloks_radio_station
.bloks-shader-library.bloks-radio-station-main-129 {
  display: grid !important;
  grid-template-columns: minmax(0, 1.18fr) minmax(380px, .82fr) !important;
  gap: 24px !important;
  width: min(calc(100% - 56px), 1360px) !important;
  margin: 0 auto !important;
  align-items: start !important;
  overflow: visible !important;
}

.single-bloks_radio_station
.bloks-radio-station-main-129
.bloks-shader-library-stage {
  position: sticky !important;
  top: 90px !important;
  align-self: start !important;
}

.single-bloks_radio_station
.bloks-radio-station-main-129
.bloks-shader-library-side {
  position: sticky !important;
  top: 90px !important;
  align-self: start !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

/* Remove legacy empty spacing from moved controls/info. */
.single-bloks_radio_station
.bloks-radio-station-main-129
.bloks-shader-library-stage
> .bloks-radio-visual-transport,
.single-bloks_radio_station
.bloks-radio-station-main-129
.bloks-shader-library-stage
> .bloks-radio-browse-visuals,
.single-bloks_radio_station
.bloks-radio-station-main-129
.bloks-shader-library-stage
> .bloks-shader-panel-section-info {
  display: none !important;
}

/* ---- Compact station side panel ---- */

.single-bloks_radio_station
.bloks-radio-station-main-129
.bloks-shader-player-panel-head {
  display: none !important;
}

.single-bloks_radio_station
.bloks-radio-station-main-129
.bloks-player-audio-source {
  padding: 18px 20px 20px !important;
}

.single-bloks_radio_station
.bloks-radio-station-main-129
.bloks-player-audio-source
> .bloks-shader-panel-section-head {
  display: flex !important;
  margin: 0 0 14px !important;
}

.single-bloks_radio_station
.bloks-radio-station-main-129
.bloks-radio-current-station {
  margin: 0 0 14px !important;
  padding: 10px 12px !important;
  min-height: 0 !important;
}

.single-bloks_radio_station
.bloks-radio-station-main-129
.bloks-radio-current-station-logo {
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  max-width: 58px !important;
  object-fit: contain !important;
}

.single-bloks_radio_station
.bloks-radio-station-main-129
.bloks-radio-transport {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.single-bloks_radio_station
.bloks-radio-station-main-129
.bloks-radio-volume-wrap {
  flex: 1 1 100% !important;
  display: grid !important;
  grid-template-columns: auto minmax(120px, 1fr) !important;
  align-items: center !important;
  gap: 12px !important;
  margin-top: 8px !important;
}

/* About section integrated beneath controls. */
.single-bloks_radio_station
.bloks-radio-station-main-129
.lava-radio-station-about--radio-side {
  margin: 0 !important;
  padding: 20px !important;
  border-radius: 0 0 20px 20px !important;
  border-left: 0 !important;
  border-right: 0 !important;
  background: transparent !important;
}

.single-bloks_radio_station
.bloks-radio-station-main-129
.lava-radio-station-about--radio-side h2,
.single-bloks_radio_station
.bloks-radio-station-main-129
.lava-radio-station-about--radio-side h3 {
  margin: 0 0 10px !important;
  font-size: 24px !important;
  line-height: 1.12 !important;
}

.single-bloks_radio_station
.bloks-radio-station-main-129
.lava-radio-station-about--radio-side p {
  margin: 0 0 10px !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
}

/* ---- Responsive ---- */

@media (max-width: 980px) {
  .single-bloks_radio_station
  .bloks-radio-station-hero-129 {
    grid-template-columns: 1fr !important;
    text-align: left;
  }

  .single-bloks_radio_station
  .bloks-radio-station-hero-brand {
    text-align: left;
  }

  .single-bloks_radio_station
  .bloks-shader-library.bloks-radio-station-main-129 {
    grid-template-columns: 1fr !important;
  }

  .single-bloks_radio_station
  .bloks-radio-station-main-129
  .bloks-shader-library-stage,
  .single-bloks_radio_station
  .bloks-radio-station-main-129
  .bloks-shader-library-side {
    position: static !important;
    top: auto !important;
  }
}

@media (max-width: 640px) {
  .single-bloks_radio_station
  .bloks-radio-station-hero-129,
  .single-bloks_radio_station
  .bloks-shader-library.bloks-radio-station-main-129,
  .single-bloks_radio_station
  .bloks-radio-now-playing {
    width: calc(100% - 28px) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .single-bloks_radio_station
  .bloks-radio-station-hero-title {
    font-size: 46px !important;
  }

  .single-bloks_radio_station
  .bloks-radio-visual-info-in-hero
  .bloks-shader-info-head {
    grid-template-columns: 58px minmax(0, 1fr) !important;
  }

  .single-bloks_radio_station
  .bloks-radio-visual-info-in-hero
  .bloks-shader-info-thumb-link,
  .single-bloks_radio_station
  .bloks-radio-visual-info-in-hero
  .bloks-shader-info-thumb {
    width: 58px !important;
    height: 58px !important;
  }
}


/* =========================================
   BLOKS RADIO 0.1.30
   SINGLE STATION MASTHEAD
========================================= */

/*
 * The new 0.1.29 station hero replaces the child theme's original
 * centered LAVA Radio masthead on individual station pages.
 */
.single-bloks_radio_station
.lava-radio-masthead:not(.bloks-radio-station-hero-129),
.single-bloks_radio_station
.bloks-radio-masthead:not(.bloks-radio-station-hero-129) {
  display: none !important;
}

/* Remove leftover spacing from wrappers that previously held the old masthead. */
.single-bloks_radio_station
.lava-radio-station-page > .lava-radio-masthead,
.single-bloks_radio_station
.lava-radio-station-page > .bloks-radio-masthead {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
}

/* Tighten the transition from the new hero into ticker/player. */
.single-bloks_radio_station
.bloks-radio-station-hero-129 {
  margin-bottom: 14px !important;
}

.single-bloks_radio_station
.bloks-radio-now-playing {
  margin-top: 0 !important;
}

/* In case the old masthead was inside a now-empty wrapper. */
.single-bloks_radio_station
.lava-radio-station-page > :empty {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
}


/* =========================================
   BLOKS RADIO 0.1.31
   COMPACT HERO — MATCH ORIGINAL MASTHEAD SCALE
========================================= */

/* Make the whole top composition substantially shorter. */
.single-bloks_radio_station
.bloks-radio-station-hero-129 {
  grid-template-columns: minmax(340px, .92fr) minmax(480px, 1.08fr) !important;
  gap: clamp(28px, 4vw, 56px) !important;
  width: min(calc(100% - 56px), 1280px) !important;
  margin: 20px auto 12px !important;
  padding: 0 !important;
}

/* Return LAVA RADIO to approximately the size of the original masthead. */
.single-bloks_radio_station
.bloks-radio-station-hero-title {
  font-size: clamp(46px, 4vw, 64px) !important;
  line-height: .98 !important;
  letter-spacing: .04em !important;
  white-space: nowrap !important;
}

.single-bloks_radio_station
.bloks-radio-station-hero-kicker {
  margin-bottom: 5px !important;
  font-size: 11px !important;
}

.single-bloks_radio_station
.bloks-radio-station-hero-tagline {
  margin-top: 7px !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
}

/* Compact the visual deck. */
.single-bloks_radio_station
.bloks-radio-station-hero-deck {
  padding: 12px 16px !important;
  border-radius: 16px !important;
}

/* Smaller thumbnail and tighter information row. */
.single-bloks_radio_station
.bloks-radio-visual-info-in-hero
.bloks-shader-info-head {
  grid-template-columns: 60px minmax(0, 1fr) !important;
  gap: 12px !important;
}

.single-bloks_radio_station
.bloks-radio-visual-info-in-hero
.bloks-shader-info-thumb-link,
.single-bloks_radio_station
.bloks-radio-visual-info-in-hero
.bloks-shader-info-thumb {
  width: 60px !important;
  height: 60px !important;
}

.single-bloks_radio_station
.bloks-radio-visual-info-in-hero
.bloks-shader-info-title {
  margin: 0 !important;
  font-size: clamp(18px, 1.7vw, 24px) !important;
  line-height: 1.08 !important;
}

/* The title is enough in this compact masthead. */
.single-bloks_radio_station
.bloks-radio-visual-info-in-hero
.bloks-shader-info-description {
  display: none !important;
}

/* Ensure all secondary visual metadata stays hidden. */
.single-bloks_radio_station
.bloks-radio-visual-info-in-hero
.bloks-shader-info-tags,
.single-bloks_radio_station
.bloks-radio-visual-info-in-hero
.bloks-shader-info-meta {
  display: none !important;
}

/* Controls sit beside/under the title with less bulk. */
.single-bloks_radio_station
.bloks-radio-station-hero-controls {
  margin-top: 10px !important;
  gap: 8px !important;
}

.single-bloks_radio_station
.bloks-radio-station-hero-controls
.bloks-radio-visual-transport {
  gap: 8px !important;
}

.single-bloks_radio_station
.bloks-radio-station-hero-controls
.bloks-radio-visual-transport button,
.single-bloks_radio_station
.bloks-radio-station-hero-controls
.bloks-radio-browse-visuals {
  min-height: 36px !important;
  padding: 7px 14px !important;
  font-size: 12px !important;
}

/* Pull the ticker and player upward. */
.single-bloks_radio_station
.bloks-radio-now-playing {
  width: min(calc(100% - 56px), 1280px) !important;
  margin: 0 auto 10px !important;
}

.single-bloks_radio_station
.bloks-shader-library.bloks-radio-station-main-129 {
  width: min(calc(100% - 56px), 1280px) !important;
  gap: 18px !important;
}

/* Slightly reduce the visual-to-player top footprint. */
.single-bloks_radio_station
.bloks-radio-station-main-129
.bloks-shader-library-side {
  border-radius: 20px !important;
}

@media (max-width: 980px) {
  .single-bloks_radio_station
  .bloks-radio-station-hero-title {
    white-space: normal !important;
  }
}

@media (max-width: 640px) {
  .single-bloks_radio_station
  .bloks-radio-station-hero-129,
  .single-bloks_radio_station
  .bloks-radio-now-playing,
  .single-bloks_radio_station
  .bloks-shader-library.bloks-radio-station-main-129 {
    width: calc(100% - 28px) !important;
  }

  .single-bloks_radio_station
  .bloks-radio-station-hero-title {
    font-size: 42px !important;
  }
}


/* =========================================
   BLOKS RADIO 0.2.0
   SHARED STATION + GENERIC PLAYER LAYOUT
========================================= */

.bloks-radio-shared-hero {
  display: grid;
  grid-template-columns: minmax(340px, .92fr) minmax(480px, 1.08fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  width: min(calc(100% - 56px), 1280px);
  margin: 20px auto 12px;
}

.bloks-radio-shared-brand {
  text-align: center;
}

.bloks-radio-shared-kicker {
  margin: 0 0 5px;
  color: #67e8f9;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.bloks-radio-shared-title {
  margin: 0;
  font-size: clamp(46px, 4vw, 64px);
  line-height: .98;
  letter-spacing: .04em;
  white-space: nowrap;
  background: linear-gradient(90deg, #a5f3fc, #38bdf8 48%, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bloks-radio-shared-tagline {
  margin: 7px 0 0;
  color: #cbd5e1;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.bloks-radio-shared-deck {
  min-width: 0;
  padding: 12px 16px;
  border: 1px solid rgba(56, 189, 248, .16);
  border-radius: 16px;
  background: rgba(5, 13, 31, .58);
}

.bloks-radio-shared-deck .bloks-radio-visual-info-in-hero {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.bloks-radio-shared-deck .bloks-radio-visual-info-in-hero > .bloks-shader-panel-section-head,
.bloks-radio-shared-deck .bloks-shader-info-description,
.bloks-radio-shared-deck .bloks-shader-info-tags,
.bloks-radio-shared-deck .bloks-shader-info-meta,
.bloks-radio-shared-deck .bloks-shader-thumb-preview {
  display: none !important;
}

.bloks-radio-shared-deck .bloks-shader-info-head {
  display: grid !important;
  grid-template-columns: 60px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 12px !important;
}

.bloks-radio-shared-deck .bloks-shader-info-thumb-link,
.bloks-radio-shared-deck .bloks-shader-info-thumb {
  width: 60px !important;
  height: 60px !important;
}

.bloks-radio-shared-deck .bloks-shader-info-title {
  margin: 0 !important;
  font-size: clamp(18px, 1.7vw, 24px) !important;
  line-height: 1.08 !important;
}

.bloks-radio-shared-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.bloks-radio-shared-controls .bloks-radio-visual-transport {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 0 !important;
}

.bloks-radio-shared-controls .bloks-radio-visual-transport button,
.bloks-radio-shared-controls .bloks-radio-browse-visuals {
  min-height: 36px !important;
  margin: 0 !important;
  padding: 7px 14px !important;
  font-size: 12px !important;
  border-radius: 999px !important;
}

.bloks-shader-library.bloks-radio-shared-main {
  display: grid !important;
  grid-template-columns: minmax(0, 1.18fr) minmax(380px, .82fr) !important;
  gap: 18px !important;
  width: min(calc(100% - 56px), 1280px) !important;
  margin: 0 auto !important;
  align-items: start !important;
  overflow: visible !important;
}

.bloks-radio-shared-main .bloks-shader-library-stage {
  position: sticky !important;
  top: 90px !important;
  align-self: start !important;
}

.bloks-radio-shared-main .bloks-shader-library-side {
  position: sticky !important;
  top: 90px !important;
  align-self: start !important;
}

.bloks-radio-shared-main .bloks-shader-library-stage > .bloks-radio-visual-transport,
.bloks-radio-shared-main .bloks-shader-library-stage > .bloks-radio-browse-visuals,
.bloks-radio-shared-main .bloks-shader-library-side > .bloks-shader-panel-section-info {
  display: none !important;
}

body:not(.single-bloks_radio_station)
.bloks-radio-shared-main
.bloks-shader-player-panel-head {
  display: none !important;
}

body:not(.single-bloks_radio_station)
.bloks-radio-shared-main
.bloks-player-audio-source {
  padding: 18px 20px 20px !important;
}

@media (max-width: 980px) {
  .bloks-radio-shared-hero {
    grid-template-columns: 1fr;
  }

  .bloks-radio-shared-brand {
    text-align: left;
  }

  .bloks-shader-library.bloks-radio-shared-main {
    grid-template-columns: 1fr !important;
  }

  .bloks-radio-shared-main .bloks-shader-library-stage,
  .bloks-radio-shared-main .bloks-shader-library-side {
    position: static !important;
    top: auto !important;
  }
}

@media (max-width: 640px) {
  .bloks-radio-shared-hero,
  .bloks-shader-library.bloks-radio-shared-main {
    width: calc(100% - 28px) !important;
  }

  .bloks-radio-shared-title {
    font-size: 42px;
    white-space: normal;
  }
}


/* =========================================
   BLOKS RADIO 0.2.1
   SINGLE SHARED MASTHEAD
========================================= */

.bloks-radio-legacy-masthead-hidden {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
}


/* =========================================
   BLOKS RADIO 0.2.4
   STATION PAGE PANEL HEADER CLEANUP
========================================= */

/*
 * Individual station pages already show the full LAVA Radio branding
 * in the shared masthead. Remove the redundant player-panel branding
 * from the right column, while leaving the generic /radio/ player intact.
 */
.single-bloks_radio_station
.bloks-radio-shared-main
.bloks-shader-player-panel-head,
.single-bloks_radio_station
.bloks-shader-library-side
.bloks-shader-player-panel-head {
  display: none !important;
}
