/* ==========================================================
   GloRave Radio — Unified Main Style V2
   Scope: radio page only. Keeps original IDs for radio.js.
   Works with the new main style.css and does not depend on wp.css.
   ========================================================== */

/* ----------------------------------------------------------
   01. Page variables
   ---------------------------------------------------------- */
#glrvRadioPage,
.radio-shell {
    --grv-radio-text: var(--home-text-color, #ffffff);
    --grv-radio-muted: rgba(235, 246, 255, 0.72);
    --grv-radio-soft: rgba(235, 246, 255, 0.52);
    --grv-radio-card: rgba(15, 18, 23, 0.84);
    --grv-radio-card-strong: rgba(20, 24, 31, 0.94);
    --grv-radio-card-soft: rgba(255, 255, 255, 0.055);
    --grv-radio-border: var(--home-border, rgba(255, 255, 255, 0.10));
    --grv-radio-accent: var(--home-accent, #2f5161);
    --grv-radio-accent-dark: var(--home-accent-dark, #1e3340);
    --grv-radio-neon: var(--home-neon-light, #4fc3f7);
    --grv-radio-neon-soft: var(--home-tx-about2, #81d4fa);
    --grv-radio-rgb: var(--home-accent-rgb, 47, 81, 97);
    --grv-radio-neon-rgb: var(--home-tx-about-rgb, 79, 195, 247);
    --grv-radio-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
    --grv-radio-shadow-soft: 0 12px 28px rgba(0, 0, 0, 0.20);
    --grv-radio-radius-xl: 30px;
    --grv-radio-radius-lg: 24px;
    --grv-radio-radius-md: 18px;
    --grv-radio-max: 1500px;
    color: var(--grv-radio-text);
}

[data-theme="light"] #glrvRadioPage,
[data-theme="light"] .radio-shell {
    --grv-radio-muted: rgba(17, 28, 38, 0.70);
    --grv-radio-soft: rgba(17, 28, 38, 0.52);
    --grv-radio-card: rgba(255, 255, 255, 0.86);
    --grv-radio-card-strong: rgba(255, 255, 255, 0.96);
    --grv-radio-card-soft: rgba(47, 81, 97, 0.055);
    --grv-radio-shadow: 0 18px 42px rgba(47, 81, 97, 0.13);
    --grv-radio-shadow-soft: 0 12px 28px rgba(47, 81, 97, 0.10);
}

body.glrv-radio-body {
    background: var(--home-background, linear-gradient(to bottom right, #000000, #1c1c1c));
    color: var(--home-text-color, #ffffff);
}

body.glrv-radio-body a {
    color: inherit;
}

body.glrv-radio-body button,
body.glrv-radio-body input {
    font: inherit;
}

/* ----------------------------------------------------------
   02. Shell and hero
   ---------------------------------------------------------- */
#glrvRadioPage.radio-shell,
.radio-shell {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

#glrvRadioPage::before,
.radio-shell::before {
    content: "";
    position: fixed;
    inset: 92px auto auto -170px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--grv-radio-neon-rgb), 0.13), transparent 68%);
    pointer-events: none;
    z-index: -1;
}

#glrvRadioPage::after,
.radio-shell::after {
    content: "";
    position: fixed;
    inset: auto -170px 28px auto;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 92, 126, 0.09), transparent 70%);
    pointer-events: none;
    z-index: -1;
}

#glrvRadioPage .radio-container,
.radio-shell .radio-container {
    max-width: var(--grv-radio-max);
    margin: 0 auto;
    padding-inline: clamp(12px, 2vw, 18px);
}

#glrvRadioPage .radio-page,
.radio-shell .radio-page {
    min-height: calc(100vh - 80px);
    padding: clamp(18px, 3vw, 34px) 0 clamp(44px, 6vw, 68px);
}

#glrvRadioPage .radio-hero,
.radio-shell .radio-hero {
    position: relative;
    margin: 0 auto clamp(18px, 3vw, 26px);
	border-radius: 32px;
}

#glrvRadioPage .radio-hero__ambient,
.radio-shell .radio-hero__ambient {
    display: none;
}

#glrvRadioPage .radio-hero__glass,
.radio-shell .radio-hero__glass {
    position: relative;
    overflow: hidden;
    border-radius: var(--grv-radio-radius-xl);
    padding: clamp(20px, 4vw, 38px);
    background:
        radial-gradient(circle at 16% 0%, rgba(var(--grv-radio-neon-rgb), 0.13), transparent 34%),
        radial-gradient(circle at 88% 20%, rgba(255, 92, 126, 0.07), transparent 30%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018)),
        var(--grv-radio-card);
    border: 1px solid var(--grv-radio-border);
    box-shadow: var(--grv-radio-shadow);
}

#glrvRadioPage .radio-hero__glass::before,
.radio-shell .radio-hero__glass::before {
    content: "";
    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--grv-radio-neon), var(--grv-radio-accent), var(--grv-radio-neon), transparent);
    opacity: 0.82;
    pointer-events: none;
}

#glrvRadioPage .radio-hero__topline,
.radio-shell .radio-hero__topline,
#glrvRadioPage .radio-hero__chips,
.radio-shell .radio-hero__chips {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

#glrvRadioPage .radio-hero__topline,
.radio-shell .radio-hero__topline {
    margin-bottom: 16px;
}

#glrvRadioPage .on-air,
.radio-shell .on-air,
#glrvRadioPage .radio-frequency,
.radio-shell .radio-frequency,
#glrvRadioPage .radio-hero__chips span,
.radio-shell .radio-hero__chips span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    border: 1px solid rgba(var(--grv-radio-neon-rgb), 0.24);
    background: rgba(var(--grv-radio-neon-rgb), 0.08);
    color: var(--grv-radio-muted);
    font-size: 0.86rem;
    font-weight: 850;
    line-height: 1;
}

#glrvRadioPage .on-air,
.radio-shell .on-air {
    padding: 8px 15px;
    color: var(--grv-radio-neon);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 950;
}

#glrvRadioPage .radio-frequency,
.radio-shell .radio-frequency,
#glrvRadioPage .radio-hero__chips span,
.radio-shell .radio-hero__chips span {
    padding: 8px 12px;
}

#glrvRadioPage .radio-hero__chips,
.radio-shell .radio-hero__chips {
    margin-top: 22px;
}

#glrvRadioPage .radio-hero__chips i,
.radio-shell .radio-hero__chips i,
#glrvRadioPage .radio-frequency i,
.radio-shell .radio-frequency i {
    color: var(--grv-radio-neon);
}

#glrvRadioPage .on-air .dot,
.radio-shell .on-air .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ff3c5f;
    box-shadow: 0 0 12px rgba(255, 60, 95, 0.72);
}

#glrvRadioPage .nl_radio_txt h1,
.radio-shell .nl_radio_txt h1 {
    margin: 0;
    text-align: center;
    font-size: clamp(2.55rem, 7vw, 5.3rem);
    line-height: 0.94;
    font-weight: 1000;
    letter-spacing: -0.08em;
    background: linear-gradient(92deg, var(--grv-radio-neon), var(--grv-radio-text) 42%, var(--grv-radio-neon-soft), var(--grv-radio-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

#glrvRadioPage .nl_radio_txt_2 p,
.radio-shell .nl_radio_txt_2 p {
    width: min(100%, 860px);
    margin: 16px auto 0;
    text-align: center;
    color: var(--grv-radio-muted);
    font-size: clamp(1rem, 2.2vw, 1.18rem);
    line-height: 1.58;
}

/* ----------------------------------------------------------
   03. Main radio layout
   ---------------------------------------------------------- */
#glrvRadioPage .radio-main,
.radio-shell .radio-main {
    display: grid;
    grid-template-columns: minmax(300px, 400px) minmax(360px, 1fr) minmax(280px, 340px);
    gap: clamp(14px, 2vw, 22px);
    align-items: stretch;
}

#glrvRadioPage .radio-cover-panel,
.radio-shell .radio-cover-panel,
#glrvRadioPage .radio-control-panel,
.radio-shell .radio-control-panel,
#glrvRadioPage .queue-sidebar,
.radio-shell .queue-sidebar,
#glrvRadioPage .lyrics-single-content,
.radio-shell .lyrics-single-content {
    position: relative;
    border-radius: var(--grv-radio-radius-lg);
    border: 1px solid var(--grv-radio-border);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018)),
        var(--grv-radio-card);
    box-shadow: var(--grv-radio-shadow-soft);
}

#glrvRadioPage .radio-cover-panel,
.radio-shell .radio-cover-panel,
#glrvRadioPage .radio-control-panel,
.radio-shell .radio-control-panel,
#glrvRadioPage .queue-sidebar,
.radio-shell .queue-sidebar {
    min-width: 0;
    padding: clamp(16px, 2vw, 22px);
    overflow: hidden;
}

#glrvRadioPage .radio-cover-panel,
.radio-shell .radio-cover-panel,
#glrvRadioPage .radio-control-panel,
.radio-shell .radio-control-panel {
    display: flex;
    flex-direction: column;
}

#glrvRadioPage .radio-cover-panel::before,
.radio-shell .radio-cover-panel::before,
#glrvRadioPage .radio-control-panel::before,
.radio-shell .radio-control-panel::before,
#glrvRadioPage .queue-sidebar::before,
.radio-shell .queue-sidebar::before,
#glrvRadioPage .lyrics-single-content::before,
.radio-shell .lyrics-single-content::before {
    content: "";
    position: absolute;
    inset: 0 9% auto;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--grv-radio-neon), var(--grv-radio-accent), transparent);
    opacity: 0.82;
    pointer-events: none;
}

#glrvRadioPage .radio-panel-label,
.radio-shell .radio-panel-label,
#glrvRadioPage .radio-now-pill,
.radio-shell .radio-now-pill,
#glrvRadioPage .queue-sidebar__eyebrow,
.radio-shell .queue-sidebar__eyebrow,
#glrvRadioPage .lyrics-block-head span,
.radio-shell .lyrics-block-head span {
    display: inline-flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    gap: 8px;
    margin: 0 0 16px;
    padding: 7px 11px;
    border-radius: 999px;
    color: var(--grv-radio-neon);
    background: rgba(var(--grv-radio-neon-rgb), 0.08);
    border: 1px solid rgba(var(--grv-radio-neon-rgb), 0.20);
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

/* ----------------------------------------------------------
   04. Cover / visualizer
   ---------------------------------------------------------- */
#glrvRadioPage .cover-wrapper,
.radio-shell .cover-wrapper {
    position: relative;
    width: min(100%, 380px);
    aspect-ratio: 1 / 1;
    margin: auto;
    overflow: hidden;
    border-radius: 24px;
    background:
        radial-gradient(circle at 50% 38%, rgba(var(--grv-radio-neon-rgb), 0.16), transparent 58%),
        #06080c;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 18px 42px rgba(0, 0, 0, 0.34),
        0 0 32px rgba(var(--grv-radio-neon-rgb), 0.12);
    transform: translateZ(0);
}

#glrvRadioPage .cover-wrapper__halo,
.radio-shell .cover-wrapper__halo {
    position: absolute;
    inset: -34%;
    z-index: 0;
    background: conic-gradient(from 0deg, transparent, rgba(var(--grv-radio-neon-rgb), 0.28), transparent, rgba(255, 92, 126, 0.16), transparent);
    opacity: 0.45;
    transition: opacity 0.3s ease;
}

#glrvRadioPage .cover-wrapper.playing .cover-wrapper__halo,
.radio-shell .cover-wrapper.playing .cover-wrapper__halo {
    opacity: 0.64;
}

#glrvRadioPage #radioCover,
.radio-shell #radioCover {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.4s ease, filter 0.4s ease;
}

#glrvRadioPage .cover-wrapper.playing #radioCover,
.radio-shell .cover-wrapper.playing #radioCover {
    transform: scale(1.025);
    filter: saturate(1.06) contrast(1.03);
}

#glrvRadioPage #coverBars,
.radio-shell #coverBars {
    position: absolute;
    inset: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    opacity: 0.42;
    pointer-events: none;
    mix-blend-mode: screen;
}

#glrvRadioPage .cover-wrapper__shade,
.radio-shell .cover-wrapper__shade {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 42%, transparent 48%, rgba(0, 0, 0, 0.30) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.38));
}

#glrvRadioPage .cover-wrapper__corner,
.radio-shell .cover-wrapper__corner {
    position: absolute;
    z-index: 4;
    bottom: 14px;
    width: 64px;
    height: 3px;
    border-radius: 999px;
    background: var(--grv-radio-neon);
    box-shadow: 0 0 16px rgba(var(--grv-radio-neon-rgb), 0.45);
    opacity: 0.8;
}

#glrvRadioPage .cover-wrapper__corner--left,
.radio-shell .cover-wrapper__corner--left {
    left: 16px;
}

#glrvRadioPage .cover-wrapper__corner--right,
.radio-shell .cover-wrapper__corner--right {
    right: 16px;
}

#glrvRadioPage .cover-wrapper.playing::after,
.radio-shell .cover-wrapper.playing::after {
    content: "";
    position: absolute;
    inset: 11px;
    z-index: 5;
    border-radius: 18px;
    border: 1px solid rgba(var(--grv-radio-neon-rgb), 0.28);
    pointer-events: none;
}

#glrvRadioPage .radio-start-overlay,
.radio-shell .radio-start-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    color: var(--grv-radio-neon);
    background: rgba(0, 0, 0, 0.70);
    border-radius: 24px;
}

#glrvRadioPage .press_play,
.radio-shell .press_play {
    width: 100%;
    font-size: clamp(0.98rem, 2.5vw, 1.22rem);
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-shadow: 0 0 22px rgba(var(--grv-radio-neon-rgb), 0.65);
}

#glrvRadioPage .press_play i,
.radio-shell .press_play i {
    display: block;
    margin-bottom: 12px;
    font-size: clamp(3.2rem, 7vw, 4.9rem);
}

/* ----------------------------------------------------------
   05. Player controls
   ---------------------------------------------------------- */
#glrvRadioPage .radio-control-panel,
.radio-shell .radio-control-panel {
    justify-content: flex-start;
    text-align: center;
}

#glrvRadioPage .track-info,
.radio-shell .track-info {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 9px;
    margin: clamp(14px, 3vh, 32px) auto 0;
    width: 100%;
}

#glrvRadioPage .radio-track-title,
.radio-shell .radio-track-title {
    color: var(--grv-radio-text);
    font-size: clamp(1.85rem, 4.2vw, 3.55rem);
    line-height: 0.98;
    font-weight: 1000;
    letter-spacing: -0.06em;
    overflow-wrap: anywhere;
}

#glrvRadioPage .radio-album-title,
.radio-shell .radio-album-title {
    color: var(--grv-radio-muted);
    font-size: clamp(1rem, 2vw, 1.22rem);
    font-weight: 750;
}

#glrvRadioPage .genre,
.radio-shell .genre {
    min-height: 1.25em;
    margin: 0;
    color: var(--grv-radio-neon);
    font-size: 0.95rem;
    font-weight: 780;
}

#glrvRadioPage .controls,
.radio-shell .controls {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(12px, 3vw, 22px);
    margin: clamp(24px, 5vh, 44px) 0 clamp(20px, 4vh, 30px);
}

#glrvRadioPage .btn-player,
.radio-shell .btn-player {
    position: relative;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 1px solid rgba(var(--grv-radio-neon-rgb), 0.40);
    color: var(--grv-radio-neon);
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.14), transparent 28%),
        rgba(var(--grv-radio-neon-rgb), 0.10);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.85rem;
    box-shadow: 0 0 18px rgba(var(--grv-radio-neon-rgb), 0.13);
    transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
    -webkit-tap-highlight-color: transparent;
}

#glrvRadioPage .btn-player:hover,
.radio-shell .btn-player:hover {
    transform: translateY(-2px) scale(1.05);
    color: #fff;
    background: linear-gradient(135deg, var(--grv-radio-accent), var(--grv-radio-neon));
    box-shadow: 0 0 26px rgba(var(--grv-radio-neon-rgb), 0.30), 0 14px 28px rgba(0, 0, 0, 0.22);
}

#glrvRadioPage .play-btn,
.radio-shell .play-btn {
    width: 90px;
    height: 90px;
    color: #ffffff;
    font-size: 2.6rem;
    border-color: rgba(255, 255, 255, 0.22);
    background:
        radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.36), transparent 24%),
        linear-gradient(135deg, var(--grv-radio-accent), var(--grv-radio-neon) 60%, #7b61ff);
    box-shadow: 0 0 34px rgba(var(--grv-radio-neon-rgb), 0.24), 0 16px 34px rgba(0, 0, 0, 0.26);
}

#glrvRadioPage .radio-is-playing .play-btn,
.radio-shell.radio-is-playing .play-btn,
#glrvRadioPage.radio-is-playing .play-btn {
    box-shadow: 0 0 48px rgba(var(--grv-radio-neon-rgb), 0.36), 0 16px 38px rgba(0, 0, 0, 0.30);
}

#glrvRadioPage .radio-progress,
.radio-shell .radio-progress {
    position: relative;
    z-index: 1;
    width: min(100%, 600px);
    margin: 0 auto;
}

#glrvRadioPage input[type="range"],
.radio-shell input[type="range"] {
    accent-color: var(--grv-radio-neon);
}

#glrvRadioPage .radio-progress input[type="range"],
.radio-shell .radio-progress input[type="range"] {
    width: 100%;
    height: 8px;
    border: 0;
    border-radius: 999px;
    outline: none;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    -webkit-appearance: none;
    appearance: none;
}

#glrvRadioPage .radio-progress input[type="range"]::-webkit-slider-thumb,
.radio-shell .radio-progress input[type="range"]::-webkit-slider-thumb,
#glrvRadioPage .volume input::-webkit-slider-thumb,
.radio-shell .volume input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 3px solid var(--grv-radio-card-strong);
    background: var(--grv-radio-neon);
    box-shadow: 0 0 16px rgba(var(--grv-radio-neon-rgb), 0.42);
}

#glrvRadioPage .radio-progress input[type="range"]::-moz-range-thumb,
.radio-shell .radio-progress input[type="range"]::-moz-range-thumb,
#glrvRadioPage .volume input::-moz-range-thumb,
.radio-shell .volume input::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border: 3px solid var(--grv-radio-card-strong);
    border-radius: 50%;
    background: var(--grv-radio-neon);
    box-shadow: 0 0 16px rgba(var(--grv-radio-neon-rgb), 0.42);
}

#glrvRadioPage .time,
.radio-shell .time {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 9px;
    color: var(--grv-radio-soft);
    font-size: 0.9rem;
    font-weight: 800;
}

#glrvRadioPage .radio-extra,
.radio-shell .radio-extra {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 24px;
}

#glrvRadioPage .radio-extra .btn-download,
.radio-shell .radio-extra .btn-download,
#glrvRadioPage .radio-extra .lyrics-btn,
.radio-shell .radio-extra .lyrics-btn,
#glrvRadioPage .volume,
.radio-shell .volume {
    border-radius: 999px;
    border: 1px solid rgba(var(--grv-radio-neon-rgb), 0.24);
    background: rgba(var(--grv-radio-neon-rgb), 0.07);
    color: var(--grv-radio-muted);
}

#glrvRadioPage .radio-extra .btn-download,
.radio-shell .radio-extra .btn-download,
#glrvRadioPage .radio-extra .lyrics-btn,
.radio-shell .radio-extra .lyrics-btn {
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--grv-radio-neon);
    transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
}

#glrvRadioPage .radio-extra .btn-download:hover,
.radio-shell .radio-extra .btn-download:hover,
#glrvRadioPage .radio-extra .lyrics-btn:hover,
.radio-shell .radio-extra .lyrics-btn:hover {
    transform: translateY(-2px) scale(1.05);
    color: #fff;
    background: var(--grv-radio-accent);
}

#glrvRadioPage .volume,
.radio-shell .volume {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
}

#glrvRadioPage .volume i,
.radio-shell .volume i {
    color: var(--grv-radio-neon);
    font-size: 1.22rem;
}

#glrvRadioPage .volume input,
.radio-shell .volume input {
    width: 96px;
    height: 5px;
    border-radius: 999px;
    border: 0;
    outline: 0;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

/* ----------------------------------------------------------
   06. Queue
   ---------------------------------------------------------- */
#glrvRadioPage .queue-sidebar,
.radio-shell .queue-sidebar {
    display: flex;
    flex-direction: column;
}

#glrvRadioPage .queue-sidebar__head,
.radio-shell .queue-sidebar__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

#glrvRadioPage .queue-sidebar__eyebrow,
.radio-shell .queue-sidebar__eyebrow {
    margin-bottom: 7px;
}

#glrvRadioPage .queue-sidebar h3,
.radio-shell .queue-sidebar h3 {
    margin: 0;
    color: var(--grv-radio-text);
    font-size: 1.35rem;
    line-height: 1.1;
    font-weight: 950;
    letter-spacing: -0.03em;
}

#glrvRadioPage .queue-sidebar__head > i,
.radio-shell .queue-sidebar__head > i {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: var(--grv-radio-neon);
    background: rgba(var(--grv-radio-neon-rgb), 0.08);
    border: 1px solid rgba(var(--grv-radio-neon-rgb), 0.16);
}

#glrvRadioPage .queue-list,
.radio-shell .queue-list {
    display: grid;
    gap: 9px;
}

#glrvRadioPage .queue-item,
.radio-shell .queue-item {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 9px;
    border: 1px solid transparent;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.035);
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

#glrvRadioPage .queue-item:hover,
.radio-shell .queue-item:hover,
#glrvRadioPage .queue-item.active,
.radio-shell .queue-item.active,
#glrvRadioPage .queue-item.is-active,
.radio-shell .queue-item.is-active,
#glrvRadioPage .queue-item.current,
.radio-shell .queue-item.current,
#glrvRadioPage .queue-item.now-playing,
.radio-shell .queue-item.now-playing {
    transform: translateY(-1px);
    background: rgba(var(--grv-radio-neon-rgb), 0.085);
    border-color: rgba(var(--grv-radio-neon-rgb), 0.22);
}

#glrvRadioPage .queue-item img,
.radio-shell .queue-item img,
#glrvRadioPage .queue-item__cover,
.radio-shell .queue-item__cover {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
    object-position: center top;
    background: #080b10;
}

#glrvRadioPage .queue-item__info,
.radio-shell .queue-item__info {
    min-width: 0;
    display: grid;
    align-content: center;
    gap: 4px;
    overflow: hidden;
}

#glrvRadioPage .queue-item__title,
.radio-shell .queue-item__title,
#glrvRadioPage .queue-item__album,
.radio-shell .queue-item__album {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#glrvRadioPage .queue-item__title,
.radio-shell .queue-item__title {
    color: var(--grv-radio-text);
    font-size: 0.96rem;
    line-height: 1.15;
    font-weight: 850;
}

#glrvRadioPage .queue-item__album,
.radio-shell .queue-item__album {
    color: var(--grv-radio-soft);
    font-size: 0.84rem;
    font-weight: 700;
}

#glrvRadioPage .queue-empty,
.radio-shell .queue-empty {
    padding: 16px;
    text-align: center;
    color: var(--grv-radio-soft);
    border: 1px dashed var(--grv-radio-border);
    border-radius: 16px;
}

/* ----------------------------------------------------------
   07. Lyrics block
   ---------------------------------------------------------- */
#glrvRadioPage .lyrics-single-content,
.radio-shell .lyrics-single-content {
    margin: clamp(18px, 3vw, 26px) auto 0;
    padding: clamp(16px, 2.5vw, 24px);
    overflow: hidden;
}

#glrvRadioPage .lyrics-block-head,
.radio-shell .lyrics-block-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 15px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--grv-radio-border);
}

#glrvRadioPage .lyrics-block-head strong,
.radio-shell .lyrics-block-head strong {
    color: var(--grv-radio-text);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    line-height: 1.02;
    font-weight: 1000;
    letter-spacing: -0.045em;
}

#glrvRadioPage .lyrics-text-container,
.radio-shell .lyrics-text-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

#glrvRadioPage .lyrics-column,
.radio-shell .lyrics-column {
    display: grid;
    gap: 16px;
    min-width: 0;
}

#glrvRadioPage .lyrics-section-title,
.radio-shell .lyrics-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 9px;
    color: var(--grv-radio-neon);
    font-size: 1.03rem;
    font-weight: 900;
}

#glrvRadioPage .lyrics-text,
.radio-shell .lyrics-text,
#glrvRadioPage .lyrics-translation,
.radio-shell .lyrics-translation,
#glrvRadioPage .lyrics-explanation,
.radio-shell .lyrics-explanation {
    min-height: 90px;
    padding: 16px;
    border-radius: 17px;
    color: var(--grv-radio-muted);
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--grv-radio-border);
    line-height: 1.65;
    font-size: 0.98rem;
    overflow-wrap: anywhere;
}

#glrvRadioPage .lyrics-text,
.radio-shell .lyrics-text {
    border-left: 4px solid var(--grv-radio-neon);
}

#glrvRadioPage .lyrics-translation,
.radio-shell .lyrics-translation {
    border-left: 4px solid var(--grv-radio-accent);
}

#glrvRadioPage .lyrics-explanation,
.radio-shell .lyrics-explanation {
    border-left: 4px solid var(--grv-radio-neon-soft);
}

#glrvRadioPage .lyrics-text p,
.radio-shell .lyrics-text p,
#glrvRadioPage .lyrics-translation p,
.radio-shell .lyrics-translation p,
#glrvRadioPage .lyrics-explanation p,
.radio-shell .lyrics-explanation p {
    margin: 0.35rem 0;
}

/* ----------------------------------------------------------
   08. Modal compatibility
   ---------------------------------------------------------- */
body.glrv-radio-body .modal,
.modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(0, 0, 0, 0.78);
}

body.glrv-radio-body .modal.show,
.modal.show {
    display: flex;
}

body.glrv-radio-body .modal-dialog,
.modal-dialog {
    width: min(800px, 94vw);
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid var(--grv-radio-border, rgba(255, 255, 255, 0.10));
    background: var(--grv-radio-card-strong, #161a22);
    color: var(--grv-radio-text, #fff);
    box-shadow: var(--grv-radio-shadow, 0 18px 44px rgba(0, 0, 0, 0.28));
}

body.glrv-radio-body .modal-header,
body.glrv-radio-body .modal-footer,
.modal-header,
.modal-footer {
    padding: 1rem 1.2rem;
    border-color: var(--grv-radio-border, rgba(255, 255, 255, 0.10));
}

body.glrv-radio-body .modal-header,
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--grv-radio-border, rgba(255, 255, 255, 0.10));
}

body.glrv-radio-body .modal-header h5,
.modal-header h5 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 900;
}

body.glrv-radio-body .close-modal,
.close-modal {
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font-size: 1.45rem;
}

body.glrv-radio-body .modal-body,
.modal-body {
    max-height: 60vh;
    overflow-y: auto;
    padding: 1.2rem;
    white-space: pre-wrap;
    line-height: 1.55;
}

body.glrv-radio-body .modal-footer,
.modal-footer {
    text-align: right;
    border-top: 1px solid var(--grv-radio-border, rgba(255, 255, 255, 0.10));
}

body.glrv-radio-body .btn-secondary,
.btn-secondary {
    padding: 0.65rem 1.1rem;
    border-radius: 12px;
    border: 1px solid rgba(var(--grv-radio-neon-rgb, 79, 195, 247), 0.28);
    color: var(--grv-radio-neon, #4fc3f7);
    background: transparent;
    cursor: pointer;
    font-weight: 850;
}

body.glrv-radio-body .btn-secondary:hover,
.btn-secondary:hover {
    color: #fff;
    background: var(--grv-radio-accent, #2f5161);
}

body.glrv-radio-body .blurred,
.blurred {
    filter: blur(4px);
    cursor: help;
}

body.glrv-radio-body .blurred:hover,
.blurred:hover {
    filter: none;
}

/* ----------------------------------------------------------
   09. Light theme tuning
   ---------------------------------------------------------- */
[data-theme="light"] #glrvRadioPage .radio-hero__glass,
[data-theme="light"] .radio-shell .radio-hero__glass,
[data-theme="light"] #glrvRadioPage .radio-cover-panel,
[data-theme="light"] .radio-shell .radio-cover-panel,
[data-theme="light"] #glrvRadioPage .radio-control-panel,
[data-theme="light"] .radio-shell .radio-control-panel,
[data-theme="light"] #glrvRadioPage .queue-sidebar,
[data-theme="light"] .radio-shell .queue-sidebar,
[data-theme="light"] #glrvRadioPage .lyrics-single-content,
[data-theme="light"] .radio-shell .lyrics-single-content {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(246, 250, 253, 0.80)),
        var(--grv-radio-card);
}

[data-theme="light"] #glrvRadioPage .cover-wrapper,
[data-theme="light"] .radio-shell .cover-wrapper {
    box-shadow:
        0 0 0 1px rgba(47, 81, 97, 0.10),
        0 18px 38px rgba(47, 81, 97, 0.14),
        0 0 22px rgba(var(--grv-radio-neon-rgb), 0.08);
}

[data-theme="light"] #glrvRadioPage .radio-progress input[type="range"],
[data-theme="light"] .radio-shell .radio-progress input[type="range"],
[data-theme="light"] #glrvRadioPage .volume input,
[data-theme="light"] .radio-shell .volume input {
    background: rgba(47, 81, 97, 0.14);
}

[data-theme="light"] #glrvRadioPage .queue-item,
[data-theme="light"] .radio-shell .queue-item,
[data-theme="light"] #glrvRadioPage .lyrics-text,
[data-theme="light"] .radio-shell .lyrics-text,
[data-theme="light"] #glrvRadioPage .lyrics-translation,
[data-theme="light"] .radio-shell .lyrics-translation,
[data-theme="light"] #glrvRadioPage .lyrics-explanation,
[data-theme="light"] .radio-shell .lyrics-explanation {
    background: rgba(47, 81, 97, 0.045);
}

/* ----------------------------------------------------------
   10. Responsive
   ---------------------------------------------------------- */
@media (max-width: 1180px) {
    #glrvRadioPage .radio-main,
    .radio-shell .radio-main {
        grid-template-columns: minmax(300px, 390px) minmax(360px, 1fr);
    }

    #glrvRadioPage .queue-sidebar,
    .radio-shell .queue-sidebar {
        grid-column: 1 / -1;
    }

    #glrvRadioPage .queue-list,
    .radio-shell .queue-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    #glrvRadioPage .radio-main,
    .radio-shell .radio-main {
        grid-template-columns: 1fr;
    }

    #glrvRadioPage .cover-wrapper,
    .radio-shell .cover-wrapper {
        width: min(100%, 370px);
    }

    #glrvRadioPage .queue-list,
    .radio-shell .queue-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #glrvRadioPage .lyrics-text-container,
    .radio-shell .lyrics-text-container {
        grid-template-columns: 1fr;
    }

    #glrvRadioPage .lyrics-block-head,
    .radio-shell .lyrics-block-head {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    #glrvRadioPage::before,
    .radio-shell::before,
    #glrvRadioPage::after,
    .radio-shell::after {
        display: none;
    }

    #glrvRadioPage .radio-container,
    .radio-shell .radio-container {
        padding-inline: 10px;
    }

    #glrvRadioPage .radio-page,
    .radio-shell .radio-page {
        padding-top: 16px;
    }

    #glrvRadioPage .radio-hero__glass,
    .radio-shell .radio-hero__glass,
    #glrvRadioPage .radio-cover-panel,
    .radio-shell .radio-cover-panel,
    #glrvRadioPage .radio-control-panel,
    .radio-shell .radio-control-panel,
    #glrvRadioPage .queue-sidebar,
    .radio-shell .queue-sidebar,
    #glrvRadioPage .lyrics-single-content,
    .radio-shell .lyrics-single-content {
        border-radius: 20px;
    }

    #glrvRadioPage .radio-hero__topline,
    .radio-shell .radio-hero__topline,
    #glrvRadioPage .radio-hero__chips,
    .radio-shell .radio-hero__chips {
        justify-content: center;
    }

    #glrvRadioPage .nl_radio_txt h1,
    .radio-shell .nl_radio_txt h1,
    #glrvRadioPage .nl_radio_txt_2 p,
    .radio-shell .nl_radio_txt_2 p {
        text-align: center;
    }

    #glrvRadioPage .cover-wrapper,
    .radio-shell .cover-wrapper {
        width: min(100%, 315px);
        border-radius: 22px;
    }

    #glrvRadioPage .radio-track-title,
    .radio-shell .radio-track-title {
        font-size: clamp(2rem, 12vw, 3rem);
    }

    #glrvRadioPage .btn-player,
    .radio-shell .btn-player {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }

    #glrvRadioPage .play-btn,
    .radio-shell .play-btn {
        width: 78px;
        height: 78px;
        font-size: 2.3rem;
    }

    #glrvRadioPage .radio-extra .volume,
    .radio-shell .radio-extra .volume {
        display: none;
    }

    #glrvRadioPage .queue-list,
    .radio-shell .queue-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 380px) {
    #glrvRadioPage .controls,
    .radio-shell .controls {
        gap: 8px;
    }

    #glrvRadioPage .btn-player,
    .radio-shell .btn-player {
        width: 55px;
        height: 55px;
    }

    #glrvRadioPage .play-btn,
    .radio-shell .play-btn {
        width: 72px;
        height: 72px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #glrvRadioPage *,
    #glrvRadioPage *::before,
    #glrvRadioPage *::after,
    .radio-shell *,
    .radio-shell *::before,
    .radio-shell *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}
