﻿:root {
    --bg-1: #0f122c;
    --bg-2: #141b3c;
    --glow-1: #2f2e67;
    --glow-2: #1f3d6e;
    --card-1: #1a2347;
    --card-2: #111a37;
    --surface-1: #1e274d;
    --surface-2: #162241;
    --orange: #f97316;
    --orange-2: #fb923c;
    --accent-rgb: 249 115 22;
    --accent2-rgb: 251 146 60;
    --ring-rgb: 249 115 22;
    --ring-underlay-rgb: 255 255 255;
    --mini-1: #8d4c1e;
    --mini-2: #5f3b2f;
    --text: #f8fafc;
    --muted: #cbd5e1;
    --line: rgba(255, 255, 255, 0.16);
    --card-outline: rgba(203, 213, 225, 0.28);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --card-gap: 18px;
    --theme-cover-url: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Outfit", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 8% 10%, var(--glow-1) 0%, transparent 36%),
        radial-gradient(circle at 90% 78%, var(--glow-2) 0%, transparent 30%),
        linear-gradient(140deg, var(--bg-1), var(--bg-2));
    overflow-x: hidden;
    padding-bottom: 88px;
}

html,
body {
    overflow: hidden;
    color-scheme: dark;
    scrollbar-width: thin;
    scrollbar-color: var(--orange) rgba(var(--accent-rgb), 0.18) !important;
    height: 100%;
    background:
        radial-gradient(circle at 8% 10%, var(--glow-1) 0%, transparent 36%),
        radial-gradient(circle at 90% 78%, var(--glow-2) 0%, transparent 30%),
        linear-gradient(140deg, var(--bg-1), var(--bg-2));
}

html {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar {
    width: 0 !important;
    display: none;
}

body::-webkit-scrollbar {
    width: 0 !important;
    display: none;
}

:root {
    scrollbar-width: thin;
    scrollbar-color: var(--orange) rgba(var(--accent-rgb), 0.18) !important;
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--orange) rgba(var(--accent-rgb), 0.18) !important;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
    width: 10px !important;
    height: 10px !important;
    background-color: rgba(var(--accent-rgb), 0.18) !important;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
*::-webkit-scrollbar-track {
    background-color: rgba(var(--accent-rgb), 0.18) !important;
    background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.18), rgba(var(--accent2-rgb), 0.12)) !important;
}

html::-webkit-scrollbar-track-piece,
body::-webkit-scrollbar-track-piece,
*::-webkit-scrollbar-track-piece {
    background-color: rgba(var(--accent-rgb), 0.18) !important;
    background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.18), rgba(var(--accent2-rgb), 0.12)) !important;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb {
    background-color: var(--orange) !important;
    background: linear-gradient(180deg, var(--orange), var(--orange-2)) !important;
    border-radius: 999px !important;
    border: 2px solid rgba(22, 14, 14, 0.86) !important;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
*::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--orange-2), var(--orange)) !important;
}

html::-webkit-scrollbar-button,
body::-webkit-scrollbar-button,
*::-webkit-scrollbar-button {
    display: block;
    height: 14px;
    background-color: rgba(var(--accent-rgb), 0.22);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 8px 8px;
}

html::-webkit-scrollbar-button:single-button:vertical:decrement,
body::-webkit-scrollbar-button:single-button:vertical:decrement,
*::-webkit-scrollbar-button:single-button:vertical:decrement {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath fill='%23ffffff' d='M4 2 1.5 5h5z'/%3E%3C/svg%3E");
}

html::-webkit-scrollbar-button:single-button:vertical:increment,
body::-webkit-scrollbar-button:single-button:vertical:increment,
*::-webkit-scrollbar-button:single-button:vertical:increment {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath fill='%23ffffff' d='M4 6 6.5 3h-5z'/%3E%3C/svg%3E");
}

html::-webkit-scrollbar-corner,
body::-webkit-scrollbar-corner,
*::-webkit-scrollbar-corner {
    background: transparent;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseLive {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.35);
    }
    60% {
        box-shadow: 0 0 0 9px rgba(239, 68, 68, 0);
    }
}

@keyframes softGlow {
    0%,
    100% {
        filter: drop-shadow(0 0 0 rgba(var(--accent-rgb), 0));
    }
    50% {
        filter: drop-shadow(0 0 14px rgba(var(--accent-rgb), 0.35));
    }
}

#particles {
    position: fixed;
    inset: 0;
    z-index: -1;
}

.site-scroll-area {
    position: fixed;
    inset: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 68px;
    background:
        radial-gradient(circle at 8% 10%, var(--glow-1) 0%, transparent 36%),
        radial-gradient(circle at 90% 78%, var(--glow-2) 0%, transparent 30%),
        linear-gradient(140deg, var(--bg-1), var(--bg-2));
    overscroll-behavior-y: none;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.site-scroll-area::before {
    content: "";
    position: fixed;
    inset: -18%;
    z-index: 0;
    pointer-events: none;
    background-image: var(--theme-cover-url);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.2;
    filter: blur(54px) saturate(1.55);
    transform: scale(1.08);
    transition: background-image 0.35s ease, opacity 0.35s ease;
}

.site-scroll-area::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 5;
    background: linear-gradient(90deg, var(--card-1), var(--card-2));
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.topbar-inner {
    width: min(1500px, 97vw);
    margin: 0 auto;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    min-width: 0;
}

.brand-text {
    display: grid;
    min-width: 0;
    line-height: 1.1;
}

.brand-text strong {
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-text small {
    margin-top: 3px;
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(248, 250, 252, 0.8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 50%;
    transition: border-radius 0.2s var(--ease-out);
}

.layout,
.site-footer,
.cookie-banner {
    position: relative;
    z-index: 1;
}

body.cover-shape-square .brand img {
    border-radius: 12px;
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-link-btn {
    font-weight: 700;
    border-radius: 999px;
    padding: 10px 14px;
}

.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    border-radius: 10px;
    padding: 10px 16px;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s var(--ease-out), background 0.2s var(--ease-out), border-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.ghost-btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.34);
}

.ghost-btn:active {
    transform: translateY(0) scale(0.98);
}

.station-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.56);
    z-index: 20;
    display: grid;
    place-items: center;
    padding: 16px;
}

.station-modal.hidden {
    display: none;
}

.station-modal-content {
    width: min(520px, 95vw);
    background: #101934;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    padding: 14px;
}

.station-modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.station-modal-head button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    cursor: pointer;
}

.station-list {
    display: grid;
    gap: 8px;
}

.station-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.04);
}

.station-item img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    transition: border-radius 0.2s var(--ease-out);
}

body.cover-shape-square .station-item img {
    border-radius: 10px;
}

.layout {
    width: min(1500px, 97vw);
    margin: 14px auto 0;
    padding: 12px 16px 24px;
    display: grid;
    grid-template-columns: minmax(280px, 320px) minmax(0, 1fr) minmax(260px, 300px);
    gap: var(--card-gap);
    align-items: start;
}

.layout.layout--no-main {
    grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
}

.layout.layout--no-side {
    grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
}

.layout.layout--left-only {
    grid-template-columns: minmax(280px, 420px);
    justify-content: center;
}

.site-footer {
    width: min(1500px, 97vw);
    margin: 4px auto 8px;
    padding: 0 16px;
}

.site-footer__inner {
    border: 1px solid var(--card-outline);
    background:
        linear-gradient(105deg, rgba(var(--accent-rgb), 0.14), rgba(var(--accent2-rgb), 0.08)),
        linear-gradient(90deg, var(--card-1), var(--card-2));
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 10px 14px;
    text-align: center;
    color: rgba(248, 250, 252, 0.92);
    font-size: clamp(0.78rem, 1.6vw, 0.9rem);
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.site-footer__inner p {
    margin: 0;
}

.site-footer__inner a {
    color: inherit;
    text-decoration: none;
    border-bottom: none;
}

.site-footer__inner a:hover,
.site-footer__inner a:focus-visible {
    color: inherit;
    border-bottom: none;
}

.card {
    background: linear-gradient(160deg, var(--card-1), var(--card-2));
    border: 1px solid var(--card-outline);
    border-radius: 22px;
    box-shadow:
        0 18px 38px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s var(--ease-out), background 0.25s var(--ease-out);
}

.card:hover {
    transform: translateY(-3px);
    border-color: rgba(var(--accent2-rgb), 0.56);
    box-shadow:
        0 24px 52px rgba(0, 0, 0, 0.38),
        0 0 0 1px rgba(var(--accent2-rgb), 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.player-card {
    padding: 16px;
    animation: fadeUp 0.55s var(--ease-out) both;
    position: relative;
}

.player-card:hover {
    transform: none;
}

.top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.player-online {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(248, 250, 252, 0.86);
    line-height: 1;
}

.player-online strong {
    font-size: 0.82rem;
    font-weight: 700;
}

.player-online small {
    font-size: 0.62rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.72;
}

.live-badge {
    background: linear-gradient(130deg, #ef4444, #f97316);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    animation: pulseLive 1.8s infinite;
}

.status {
    font-size: 0.75rem;
    color: var(--muted);
}

.cover-wrapper {
    position: relative;
    width: min(260px, 72vw);
    aspect-ratio: 1 / 1;
    margin: 14px auto 10px;
}

.progress-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.progress-ring__underlay {
    stroke: rgba(var(--ring-underlay-rgb), 0.34);
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
}

.progress-ring__circle {
    stroke: rgb(var(--ring-rgb));
    transition: stroke-dashoffset 1s linear;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    stroke-linecap: round;
    animation: ringPulse 2.6s ease-in-out infinite;
}

@keyframes ringPulse {
    0%,
    100% {
        stroke-opacity: 0.9;
    }
    50% {
        stroke-opacity: 1;
    }
}

.cover {
    position: absolute;
    inset: 12px;
    width: calc(100% - 24px);
    height: calc(100% - 24px);
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    z-index: 2;
}

body.cover-shape-square .progress-ring {
    display: none;
}

body.cover-shape-square .cover {
    position: static;
    inset: auto;
    width: 100%;
    height: 100%;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.mini-eq {
    display: none;
}

.mini-eq__bar {
    width: 3px;
    min-height: 4px;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.6) 100%);
    transform-origin: center bottom;
    transform: scaleY(max(0.22, var(--eq-level, 0.22)));
    transition: transform 38ms linear, opacity 38ms linear;
    opacity: 0.95;
}

.mini-eq__bar:nth-child(2n) {
    opacity: 0.78;
}

.mini-eq__bar:nth-child(3n) {
    opacity: 0.66;
}

body:not(.is-audio-playing) .mini-eq__bar {
    transform: scaleY(0.22) !important;
    opacity: 0.48;
}

.music-info {
    text-align: center;
}

@media (max-width: 480px) {
    .cover-wrapper {
        margin-bottom: 10px;
    }

    .mini-eq {
        width: min(144px, 58vw);
        gap: 3px;
        height: 18px;
    }

    .mini-eq__bar {
        width: 2px;
    }
}

.label {
    color: #fdba74;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
    margin-bottom: 8px;
}

#title {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}

#artist {
    margin-top: 4px;
    color: #dbeafe;
}

.controls {
    margin-top: 18px;
    display: grid;
    gap: 12px;
    justify-items: center;
}

.player-main-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap;
    width: 100%;
}

.play-btn {
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    background: #fff;
    color: var(--orange);
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
    box-shadow: none;
}

.play-btn-icon {
    font-size: 0.92rem;
    line-height: 1;
}

.play-btn-text {
    font-size: 1rem;
    line-height: 1;
}

.play-btn:hover {
    transform: none;
    filter: none;
    box-shadow: none;
}

.play-btn:active {
    transform: none;
}

.play-btn.playing {
    background: #fff;
    color: var(--orange);
    box-shadow: none;
}

.volume-group {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    width: min(300px, 100%);
}

.volume-icon {
    font-size: 1rem;
    line-height: 1;
    color: #ffffff;
    opacity: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.volume-icon-svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    display: block;
}

input[type="range"] {
    width: 100%;
    accent-color: #ffffff;
}

#volume {
    width: 100%;
    min-width: 0;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
}

#miniVolume {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
}

#volume::-webkit-slider-runnable-track,
#miniVolume::-webkit-slider-runnable-track {
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
}

#volume::-webkit-slider-thumb,
#miniVolume::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-top: -7px;
    border: 0;
    background: #ffffff;
    box-shadow: 0 0 0 1px rgba(2, 6, 23, 0.18);
}

#volume::-moz-range-track,
#miniVolume::-moz-range-track {
    height: 5px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.9);
}

#volume::-moz-range-thumb,
#miniVolume::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 0;
    background: #ffffff;
    box-shadow: 0 0 0 1px rgba(2, 6, 23, 0.18);
}

.card-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.player-upcoming {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.player-upcoming .block-head {
    margin-bottom: 10px;
}

.player-upcoming .block-head h2 {
    font-size: clamp(1.1rem, 2.4vw, 1.45rem);
}

.chip-btn {
    border: 1px solid rgba(255, 255, 255, 0.44);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    color: #fff;
    width: 42px;
    height: 42px;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    transition: background 0.2s var(--ease-out), border-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
    box-shadow: none;
}

.chip-btn:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.44);
}

.chip-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.chip-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.chip-count {
    display: inline-block;
    font-size: 0.95rem;
    line-height: 1;
    min-width: 1ch;
}

.chip-btn--like:hover {
    color: #22c55e;
    border-color: rgba(34, 197, 94, 0.85);
    background: rgba(34, 197, 94, 0.12);
}

.chip-btn--dislike:hover {
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.85);
    background: rgba(239, 68, 68, 0.12);
}

.player-shortcuts {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
    gap: 8px;
}

.player-stations {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.player-stations__head {
    margin-bottom: 8px;
}

.player-stations__head .title-with-icon {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.player-stations__head .title-icon {
    width: 18px;
    height: 18px;
}

.player-stations__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
}

.station-pill {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    padding: 6px 10px 6px 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: normal;
    min-height: 40px;
    width: 100%;
    justify-content: flex-start;
    transition: background 0.2s var(--ease-out), border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.station-pill img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    transition: border-radius 0.2s var(--ease-out);
}

body.cover-shape-square .station-pill img {
    border-radius: 8px;
}

.station-pill:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(var(--accent2-rgb), 0.7);
}

.station-pill.is-active {
    background: rgba(var(--accent2-rgb), 0.22);
    border-color: rgba(var(--accent2-rgb), 0.78);
}

.shortcut-btn {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 10px 8px;
    color: #fff;
    text-decoration: none;
    display: grid;
    justify-items: center;
    gap: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.15;
    min-width: 0;
    overflow: hidden;
    font-family: inherit;
    transition: transform 0.2s var(--ease-out), background 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.shortcut-btn span {
    display: block;
    width: 100%;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
}

.shortcut-btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(var(--accent2-rgb), 0.7);
    color: color-mix(in srgb, #ffffff 78%, rgb(var(--accent-rgb)));
}

.shortcut-btn[aria-disabled="true"] {
    opacity: 0.55;
    pointer-events: none;
}

.shortcut-icon {
    width: 18px;
    height: 18px;
    fill: #fff;
    transition: fill 0.2s var(--ease-out);
}

.left-content,
.main-content,
.side-content {
    display: grid;
    gap: 18px;
    align-content: start;
    animation: fadeUp 0.7s var(--ease-out) both;
    justify-items: stretch;
}

.left-content {
    align-self: stretch;
    height: 100%;
}

.player-card {
    position: sticky;
    top: 86px;
    align-self: start;
    will-change: auto;
}

.block {
    padding: 18px;
}

.block-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.block-head h2 {
    font-size: clamp(1.08rem, 1.9vw, 1.42rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: none;
    line-height: 1.15;
}

.title-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.title-icon {
    width: 22px;
    height: 22px;
    fill: currentColor;
    opacity: 0.95;
    flex: 0 0 auto;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.audience-item {
    border: 1px solid var(--card-outline);
    border-radius: 14px;
    padding: 12px 10px;
    background: linear-gradient(140deg, rgba(var(--accent-rgb), 0.18), rgba(255, 255, 255, 0.04));
    text-align: center;
}

.audience-item strong {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    line-height: 1.1;
}

.audience-item span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.82rem;
}

.audience-status {
    margin-top: 10px;
}

.days {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.day {
    border: 1px solid var(--line);
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    padding: 8px 12px;
    cursor: pointer;
    transition: transform 0.18s var(--ease-out), background 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.day:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.4);
}

.day.active {
    background: var(--orange);
    border-color: rgba(255, 255, 255, 0.3);
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: start;
}

.left-content .schedule-grid,
.player-upcoming .schedule-grid {
    grid-template-columns: 1fr;
}

.show-item {
    border: 1px solid var(--card-outline);
    border-radius: 16px;
    background: linear-gradient(150deg, var(--surface-1), var(--surface-2));
    padding: 10px;
    display: grid;
    grid-template-columns: 58px 1fr;
    align-items: center;
    gap: 10px;
    transition: transform 0.22s var(--ease-out), border-color 0.22s var(--ease-out), background 0.22s var(--ease-out);
}

.show-item:hover {
    transform: translateY(-2px);
    background: linear-gradient(150deg, rgba(var(--accent2-rgb), 0.18), rgba(255, 255, 255, 0.05));
    border-color: rgba(var(--accent2-rgb), 0.52);
}

.show-item[hidden] {
    display: none !important;
}

.show-item img {
    width: 58px;
    height: 58px;
    border-radius: 8px;
    object-fit: cover;
    justify-self: center;
    align-self: center;
}

.show-item > div {
    min-width: 0;
}

.show-item .hour {
    color: #fbbf24;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.show-item h3 {
    margin-top: 4px;
    font-size: 1.02rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.show-item p {
    color: var(--muted);
    font-size: 0.93rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.cover-loading-badge {
    display: inline-flex;
    margin-top: 4px;
    width: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 3px 8px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #cbd5e1;
    background: rgba(15, 23, 42, 0.55);
    letter-spacing: 0.01em;
}

.listeners-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.listener-kpi {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: linear-gradient(150deg, var(--surface-1), var(--surface-2));
    padding: 12px;
    text-align: center;
}

.listener-kpi span {
    display: block;
    color: #93c5fd;
    font-size: 0.8rem;
    margin-bottom: 6px;
}

.listener-kpi strong {
    font-size: 1.4rem;
    font-weight: 800;
}

.latest-tracks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    align-items: stretch;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.news-item {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: linear-gradient(150deg, var(--surface-1), var(--surface-2));
    padding: 12px;
    display: grid;
    gap: 6px;
}

.news-thumb-link {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--card-outline);
}

.news-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.news-link {
    color: #f8fafc;
    text-decoration: none;
    font-weight: 700;
    line-height: 1.3;
}

.news-link:hover {
    color: #93c5fd;
    text-decoration: underline;
}

.news-date {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.news-summary {
    margin: 0;
    color: #dbe7ff;
    font-size: 0.84rem;
    line-height: 1.35;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.video-item {
    display: grid;
    gap: 10px;
}

.video-item[hidden] {
    display: none !important;
}

.video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--card-outline);
    background: linear-gradient(150deg, var(--surface-1), var(--surface-2));
}

.video-trigger {
    padding: 0;
    cursor: pointer;
}

.video-frame img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.28s var(--ease-out), filter 0.28s var(--ease-out);
}

.video-trigger:hover img {
    transform: scale(1.03);
    filter: brightness(1.02);
}

.video-play-badge {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.22);
    display: grid;
    place-items: center;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

.video-play-badge svg {
    width: 26px;
    height: 26px;
    fill: #ffffff;
}

.video-title {
    font-size: 0.98rem;
    line-height: 1.3;
    color: #f8fafc;
}

.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.82);
    display: none;
    place-items: center;
    z-index: 56;
    padding: 14px;
}

.video-modal.is-open {
    display: grid;
}

.video-modal__dialog {
    width: min(960px, 94vw);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(160deg, var(--card-1), var(--card-2));
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.44);
    padding: 14px;
    display: grid;
    gap: 12px;
}

.video-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.video-modal__head h2 {
    font-size: 1.06rem;
    line-height: 1.2;
}

.video-modal__close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(0, 0, 0, 0.34);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}

.video-modal__frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    background: #020617;
}

.video-modal__frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.gallery-item {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--card-outline);
    background: #0f172a;
    aspect-ratio: 16 / 9;
    min-height: 0;
    display: grid;
    place-items: center;
}

.gallery-item[hidden] {
    display: none !important;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    background: transparent;
    display: block;
    cursor: pointer;
    transition: transform 0.28s var(--ease-out), filter 0.28s var(--ease-out);
}

.gallery-item:hover img {
    transform: scale(1.03);
    filter: brightness(1.02);
}

.gallery-more-btn {
    margin: 12px auto 0;
    width: fit-content;
    min-height: 44px;
    border-radius: 13px;
    border: 1px solid rgba(203, 213, 225, 0.35);
    background: linear-gradient(150deg, rgba(148, 163, 184, 0.16), rgba(15, 23, 42, 0.18));
    color: #e5e7eb;
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    font-size: 0.98rem;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.2s var(--ease-out), border-color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

.gallery-more-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(var(--accent2-rgb), 0.65);
    background: linear-gradient(150deg, rgba(var(--accent2-rgb), 0.24), rgba(15, 23, 42, 0.24));
}

.gallery-more-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.gallery-more-btn.is-expanded {
    border-color: rgba(var(--accent2-rgb), 0.75);
}

.gallery-empty {
    grid-column: 1 / -1;
    border: 1px dashed rgba(255, 255, 255, 0.24);
    border-radius: 12px;
    padding: 12px;
    color: var(--muted);
}

.gallery-modal {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.82);
    display: none;
    place-items: center;
    z-index: 50;
    padding: 14px;
}

.gallery-modal.is-open {
    display: grid;
}

.gallery-modal__dialog {
    position: relative;
    width: min(92vw, 980px);
    max-height: min(82vh, 900px);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(15, 23, 42, 0.9);
    padding: 12px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    display: grid;
    gap: 8px;
}

.gallery-modal__dialog img {
    width: 100%;
    max-height: min(68vh, 760px);
    object-fit: contain;
    border-radius: 10px;
    background: #020617;
}

.gallery-modal__close {
    position: absolute;
    right: 8px;
    top: 8px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}

.gallery-modal__caption {
    color: #e2e8f0;
    font-size: 0.92rem;
    min-height: 1.2em;
}

.gallery-modal__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
}

.gallery-modal__nav--prev {
    left: 10px;
}

.gallery-modal__nav--next {
    right: 10px;
}

@media (min-width: 860px) {
    .gallery-modal__nav {
        display: inline-flex;
    }
}

.request-modal {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(4px);
    display: none;
    place-items: center;
    z-index: 55;
    padding: 14px;
}

.request-modal.is-open {
    display: grid;
}

.request-modal__dialog {
    width: min(720px, 92vw);
    max-height: 80vh;
    overflow: auto;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: linear-gradient(160deg, var(--card-1), var(--card-2));
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.36);
    padding: 14px;
    display: grid;
    gap: 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--orange) rgba(var(--accent-rgb), 0.18);
}

.request-modal__dialog::-webkit-scrollbar {
    width: 10px;
}

.request-modal__dialog::-webkit-scrollbar-track {
    background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.18), rgba(var(--accent2-rgb), 0.12));
    border-radius: 999px;
}

.request-modal__dialog::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--orange), var(--orange-2));
    border-radius: 999px;
    border: 2px solid rgba(22, 14, 14, 0.86);
}

.request-modal__dialog::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--orange-2), var(--orange));
}

.request-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.request-modal__head h2 {
    margin: 0;
    font-size: 1.1rem;
}

.request-modal__close {
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(0, 0, 0, 0.34);
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
}

.request-modal__info {
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted);
}

.request-modal__search {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-radius: 10px;
    padding: 10px 11px;
    font-family: inherit;
}

.request-modal__search::placeholder {
    color: rgba(226, 232, 240, 0.7);
}

.request-modal__search:focus {
    outline: none;
    border-color: rgba(var(--accent2-rgb), 0.74);
    box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.24);
}

.request-modal__list {
    display: grid;
    gap: 8px;
}

.request-song-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    border: 1px solid var(--card-outline);
    border-radius: 12px;
    padding: 9px 10px;
    background: linear-gradient(150deg, var(--surface-1), var(--surface-2));
}

.request-song-meta {
    min-width: 0;
}

.request-song-title {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.25;
}

.request-song-artist {
    margin: 2px 0 0;
    font-size: 0.84rem;
    color: var(--muted);
}

.request-song-btn {
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(var(--accent-rgb), 0.34);
    color: #fff;
    border-radius: 999px;
    padding: 8px 12px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s var(--ease-out), border-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.request-song-btn--manual {
    justify-self: end;
}

.request-song-btn:hover {
    background: rgba(var(--accent2-rgb), 0.58);
    border-color: rgba(255, 255, 255, 0.52);
    color: #fff;
}

.request-song-btn[disabled] {
    opacity: 0.7;
    cursor: default;
}

.request-modal__pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    width: min(1500px, 97vw);
    z-index: 60;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: linear-gradient(120deg, var(--card-1), var(--card-2));
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.44);
}

.cookie-banner[hidden] {
    display: none !important;
}

.cookie-banner__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, var(--orange), var(--orange-2));
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.32);
}

.cookie-banner__icon svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.cookie-banner__content strong {
    display: block;
    font-size: 1.12rem;
    margin-bottom: 4px;
}

.cookie-banner__content p {
    margin: 0;
    color: #dbe5f3;
    font-size: 0.93rem;
    line-height: 1.45;
}

.cookie-banner__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-banner__actions .vote-btn {
    margin-top: 0;
    width: auto;
    min-width: 132px;
    min-height: 42px;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    line-height: 1;
    font-size: 0.96rem;
}

.terms-modal {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(4px);
    display: none;
    place-items: center;
    z-index: 65;
    padding: 14px;
}

.terms-modal.is-open {
    display: grid;
}

.terms-modal__dialog {
    width: min(760px, 94vw);
    max-height: 84vh;
    overflow: auto;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: linear-gradient(160deg, var(--card-1), var(--card-2));
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.42);
    padding: 16px;
    display: grid;
    gap: 12px;
    scrollbar-width: thin;
    scrollbar-color: var(--orange) rgba(var(--accent-rgb), 0.18);
}

.terms-modal__dialog::-webkit-scrollbar {
    width: 10px;
}

.terms-modal__dialog::-webkit-scrollbar-track {
    background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.18), rgba(var(--accent2-rgb), 0.12));
    border-radius: 999px;
}

.terms-modal__dialog::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--orange), var(--orange-2));
    border-radius: 999px;
    border: 2px solid rgba(22, 14, 14, 0.86);
}

.terms-modal__dialog::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--orange-2), var(--orange));
}

.terms-modal__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.terms-modal__head h2 {
    font-size: 1.08rem;
}

.terms-modal__close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(0, 0, 0, 0.34);
    color: #fff;
    font-size: 1.18rem;
    cursor: pointer;
}

.terms-modal__body {
    display: grid;
    gap: 10px;
    color: #e2e8f0;
    font-size: 0.95rem;
    line-height: 1.55;
}

.terms-modal__body p {
    margin: 0;
}

#requestPageLabel {
    font-size: 0.9rem;
    color: var(--muted);
}

.track-item {
    border: 1px solid var(--card-outline);
    border-radius: 14px;
    background: linear-gradient(150deg, var(--surface-1), var(--surface-2));
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.22s var(--ease-out), border-color 0.22s var(--ease-out);
}

.track-item:hover {
    transform: none;
    border-color: rgba(var(--accent2-rgb), 0.52);
}

.track-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.track-cover-wrap {
    position: relative;
}

.track-cover-wrap--youtube {
    cursor: pointer;
}

.track-cover-wrap--youtube[aria-busy="true"] {
    cursor: wait;
}

.track-media-actions {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    opacity: 0;
    z-index: 4;
    transition: opacity 0.22s var(--ease-out), transform 0.22s var(--ease-out);
}

.track-media-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.9);
    cursor: pointer;
    position: relative;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.34);
    text-decoration: none;
    transition: transform 0.2s var(--ease-out), filter 0.2s var(--ease-out);
}

.track-media-btn + .track-media-btn {
    margin-left: 10px;
}

.track-media-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

.track-media-btn svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.track-media-btn--youtube {
    background: #ff0033;
}

.track-cover-wrap:hover .track-media-actions,
.track-cover-wrap:focus-within .track-media-actions,
.track-cover-wrap:active .track-media-actions {
    opacity: 1;
    transform: translateX(-50%);
}

.track-media-btn[aria-busy="true"] {
    opacity: 0.72;
    cursor: wait;
}

.track-media-btn[aria-busy="true"] svg {
    opacity: 0.2;
}

.track-media-btn[aria-busy="true"]::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    animation: trackBtnSpin 0.75s linear infinite;
}

@keyframes trackBtnSpin {
    to {
        transform: rotate(360deg);
    }
}

.track-item > div:not(.track-cover-wrap),
.track-item__body {
    padding: 8px 9px 9px;
    display: grid;
    gap: 3px;
    align-content: start;
    flex: 1 1 auto;
}

.track-item h3 {
    font-size: 0.92rem;
    line-height: 1.15;
    margin-bottom: 2px;
    overflow-wrap: anywhere;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.track-item p {
    color: var(--muted);
    font-size: 0.82rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.track-item span {
    color: #fbbf24;
    font-size: 0.72rem;
}

.program-days {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.program-day-btn {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.09);
    color: #e5e7eb;
    border-radius: 999px;
    min-width: 58px;
    padding: 8px 12px;
    font-size: 0.92rem;
    cursor: pointer;
    transition: background 0.2s var(--ease-out), border-color 0.2s var(--ease-out), color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.program-day-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.28);
}

.program-day-btn.is-active {
    background: linear-gradient(130deg, var(--orange), var(--orange-2));
    border-color: transparent;
    color: #fff;
}

.program-viewport {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    transition: opacity 0.24s var(--ease-out), transform 0.24s var(--ease-out), filter 0.24s var(--ease-out);
    will-change: opacity, transform;
    align-items: stretch;
}

.program-viewport.is-switching {
    opacity: 0.32;
    transform: translateY(6px) scale(0.995);
    filter: saturate(0.94);
}

.program-item {
    border: 1px solid var(--card-outline);
    border-radius: 14px;
    background: linear-gradient(150deg, var(--surface-1), var(--surface-2));
    padding: 8px;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    grid-template-areas:
        "cover time"
        "title title"
        "subtitle subtitle";
    column-gap: 6px;
    row-gap: 0;
    align-items: start;
    min-height: 106px;
    height: 100%;
    animation: programItemIn 0.34s var(--ease-out) both;
}

.program-item.is-live {
    position: relative;
    border-color: rgba(var(--accent2-rgb), 0.9);
    box-shadow:
        0 0 0 1px rgba(var(--accent2-rgb), 0.45),
        0 12px 28px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.09);
    background: linear-gradient(150deg, rgba(var(--accent-rgb), 0.2), rgba(22, 34, 65, 0.95));
}

.program-live-badge {
    display: none;
    margin-left: 0;
    border-radius: 999px;
    padding: 2px 7px;
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(130deg, #ef4444, #f97316);
    border: 1px solid rgba(255, 255, 255, 0.28);
    vertical-align: middle;
    flex: 0 0 auto;
}

.program-item.is-live .program-live-badge {
    display: inline-flex;
    align-items: center;
}

@keyframes programItemIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.program-item[hidden] {
    display: none !important;
}

.program-item img {
    width: 54px;
    height: 54px;
    border-radius: 9px;
    object-fit: cover;
    grid-area: cover;
    align-self: start;
    border: 1px solid rgba(203, 213, 225, 0.42);
}

.program-time {
    grid-area: time;
    min-width: 0;
    align-self: center;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    color: #ffffff;
    font-size: 0.96rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
    overflow-wrap: anywhere;
    white-space: normal;
}

.program-time-text {
    white-space: nowrap;
    min-width: 0;
}

.program-title {
    grid-area: title;
    font-size: 0.92rem;
    line-height: 1.15;
    margin-bottom: 0;
    overflow-wrap: break-word;
    word-break: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 0;
}

.program-subtitle {
    grid-area: subtitle;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.1;
    margin: 0;
    overflow-wrap: break-word;
    word-break: normal;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 0;
}

.program-nav {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.program-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}

.program-arrow:disabled {
    opacity: 0.42;
    cursor: not-allowed;
}

.program-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.program-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.38);
    cursor: pointer;
}

.program-dot.is-active {
    background: var(--orange);
}

.schedule-list {
    display: grid;
    gap: 10px;
}

.schedule-row {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 10px;
    background: linear-gradient(150deg, var(--surface-1), var(--surface-2));
}

.schedule-time {
    color: #fbbf24;
    font-weight: 700;
    font-size: 0.86rem;
}

.schedule-day {
    color: #93c5fd;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.schedule-row h3 {
    margin-top: 3px;
    font-size: 1rem;
    line-height: 1.2;
}

.schedule-row p {
    color: var(--muted);
    font-size: 0.9rem;
}

.question {
    color: #fef3c7;
    margin-bottom: 10px;
    font-weight: 700;
}

.poll-list {
    display: grid;
    gap: 8px;
}

.poll-list label {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    padding: 10px;
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    display: flex;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.2s var(--ease-out), border-color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

.poll-list label:hover {
    transform: translateY(-1px);
    border-color: rgba(var(--accent2-rgb), 0.5);
    background: linear-gradient(130deg, rgba(var(--accent2-rgb), 0.2), rgba(255, 255, 255, 0.05));
}

.poll-list label:has(input:checked) {
    border-color: rgba(var(--accent2-rgb), 0.72);
    background: linear-gradient(130deg, rgba(var(--accent-rgb), 0.2), rgba(var(--accent2-rgb), 0.1));
}

.listener-message-form {
    display: grid;
    gap: 10px;
}

.listener-message-form input,
.listener-message-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
    color: #f8fafc;
    padding: 10px 12px;
    font-family: "Outfit", sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

.listener-message-form textarea {
    min-height: 96px;
    resize: vertical;
}

.listener-message-form input::placeholder,
.listener-message-form textarea::placeholder {
    color: rgba(226, 232, 240, 0.7);
}

.listener-message-form input:focus,
.listener-message-form textarea:focus {
    border-color: rgba(var(--accent2-rgb), 0.58);
    background: linear-gradient(130deg, rgba(var(--accent2-rgb), 0.18), rgba(255, 255, 255, 0.05));
}

.message-board {
    margin-top: 2px;
    position: relative;
}

.message-board__viewport {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 8px;
    gap: 10px;
    align-items: stretch;
}

.message-board__list {
    display: grid;
    gap: 10px;
    max-height: min(42vh, 420px);
    overflow-y: auto;
    padding-right: 2px;
    padding-bottom: 64px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.message-board__list::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.message-board__scrollbar {
    position: relative;
    width: 6px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.18), rgba(var(--accent2-rgb), 0.1));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.message-board__scrollbar[hidden] {
    display: none;
}

.message-board__scrollbar-thumb {
    position: absolute;
    left: 0;
    width: 100%;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--orange), var(--orange-2));
    box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.28);
    min-height: 42px;
}

.message-board__item,
.message-board__empty {
    border: 1px solid rgba(var(--accent-rgb), 0.32);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(var(--accent-rgb), 0.18), rgba(255, 255, 255, 0.02) 55%),
        linear-gradient(160deg, rgba(36, 17, 18, 0.96), rgba(29, 16, 17, 0.94));
    padding: 12px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 12px 24px rgba(0, 0, 0, 0.16);
}

.message-board__entry-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.message-board__avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: linear-gradient(135deg, var(--orange), var(--orange-2));
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    box-shadow:
        0 12px 28px rgba(var(--accent-rgb), 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    text-transform: uppercase;
}

.message-board__meta {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.message-board__meta strong {
    color: #fff;
    font-size: 0.98rem;
    line-height: 1.1;
    text-transform: none;
}

.message-board__meta span,
.message-board__empty {
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.2;
}

.message-board__item p {
    color: #f8fafc;
    line-height: 1.5;
    white-space: pre-wrap;
}

.message-board__more-btn {
    position: absolute;
    left: 0;
    right: 22px;
    bottom: 6px;
    width: auto;
    min-height: 52px;
    border: 1px dashed var(--orange);
    border-radius: 10px;
    padding: 12px 14px;
    background:
        linear-gradient(130deg, rgba(var(--accent-rgb), 0.24), rgba(var(--accent2-rgb), 0.14)),
        linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    color: rgba(248, 250, 252, 0.96);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 800;
    font-size: 0.94rem;
    letter-spacing: 0.01em;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.14);
    cursor: pointer;
    backdrop-filter: blur(2px);
    transition: transform 0.2s var(--ease-out), filter 0.2s var(--ease-out), border-color 0.2s var(--ease-out), opacity 0.22s var(--ease-out);
}

.message-board__more-btn::before {
    content: "+";
    width: auto;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1;
}

.message-board__more-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.07);
    border-color: var(--orange-2);
}

.message-board__more-btn:active {
    transform: translateY(0);
}

.message-board__more-btn:disabled {
    opacity: 0.86;
    cursor: wait;
}

.message-board__more-btn.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
}

.message-board__more-btn.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.block:has(.message-board__toggle) .block-head h2 {
    color: #fff;
}

.block:has(.message-board__toggle) .title-icon {
    color: #ffffff;
    filter: drop-shadow(0 0 10px rgba(var(--accent-rgb), 0.18));
}

.message-board__toggle {
    margin-top: 14px;
    width: 100%;
    border: 0;
    border-radius: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, var(--orange), var(--orange-2));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    transition: transform 0.2s var(--ease-out), filter 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.message-board__toggle:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
    box-shadow:
        0 10px 22px rgba(var(--accent-rgb), 0.34),
        0 0 20px rgba(var(--accent-rgb), 0.14);
}

.message-board__toggle-main {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.message-board__toggle-main strong {
    font-size: 1rem;
    line-height: 1;
}

.message-board__toggle-icon,
.message-board__toggle-arrow {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex: 0 0 auto;
}

.message-board__toggle[aria-expanded="true"] .message-board__toggle-arrow {
    transform: rotate(180deg);
}

.message-board__toggle-arrow {
    transition: transform 0.2s var(--ease-out);
}

.message-board__form-wrap {
    margin-top: 12px;
    padding-top: 4px;
    max-width: 100%;
    overflow-x: hidden;
}

.listener-message-form input,
.listener-message-form textarea {
    border: 1px solid rgba(var(--accent-rgb), 0.22);
    background: linear-gradient(130deg, rgba(12, 10, 10, 0.26), rgba(255, 255, 255, 0.04));
    color: #f8fafc;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.listener-message-form input::placeholder,
.listener-message-form textarea::placeholder {
    color: rgba(248, 250, 252, 0.72);
}

.listener-message-form input:focus,
.listener-message-form textarea:focus {
    border-color: rgba(var(--accent-rgb), 0.5);
    background: linear-gradient(130deg, rgba(18, 14, 14, 0.4), rgba(255, 255, 255, 0.06));
    color: #ffffff;
}

.recaptcha-wrap {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    min-width: 0;
}

.listener-message-form .g-recaptcha {
    max-width: 100%;
}

.vote-btn {
    margin-top: 12px;
    width: 100%;
    border: 0;
    border-radius: 12px;
    padding: 11px;
    background: linear-gradient(130deg, var(--orange), var(--orange-2));
    color: #fff;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s var(--ease-out), filter 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.vote-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.07);
    box-shadow: 0 8px 16px rgba(var(--accent-rgb), 0.32);
}

.vote-btn:active {
    transform: translateY(0) scale(0.99);
}

.is-pressed {
    transform: scale(0.97) !important;
}

.app-card .app-help {
    color: #cbd5e1;
    font-size: 0.92rem;
}

.app-actions {
    margin-top: 12px;
    display: grid;
    gap: 10px;
}

.app-actions .ghost-btn {
    width: 100%;
}

.app-actions button[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.ad-link {
    display: none;
    gap: 8px;
    text-decoration: none;
    color: #fff;
}

.ad-link.is-active {
    display: grid;
}

.ad-carousel {
    display: grid;
}

.ad-link img {
    border-radius: 12px;
    border: 0;
    display: block;
    object-fit: contain;
    object-position: center;
    background: rgba(2, 6, 23, 0.08);
    height: auto;
}

.ad-image--banner {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 728 / 90;
    object-fit: cover;
}

.ad-image--square {
    width: min(100%, 400px);
    aspect-ratio: 1 / 1;
}

.ad-link p {
    color: #e2e8f0;
    font-size: 0.92rem;
}

.socials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(108px, 1fr));
    gap: 10px;
}

.socials a {
    min-height: 78px;
    border-radius: 12px;
    text-decoration: none;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 6px;
    padding: 10px 8px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.26);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 0.2s var(--ease-out), background 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.socials a span {
    font-size: 0.78rem;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
}

.socials a:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
}

.social-icon {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.socials-empty {
    grid-column: 1 / -1;
    color: var(--muted);
    font-size: 0.9rem;
}

.mini-player {
    position: fixed;
    left: 50%;
    right: auto;
    width: min(1500px, 97vw);
    bottom: 8px;
    transform: translateX(-50%);
    z-index: 8;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-top-color: rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    background: linear-gradient(90deg, var(--card-1), var(--card-2));
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 52px 8px 12px;
    transition: transform 0.25s ease, opacity 0.25s ease;
    overflow: hidden;
}

.mini-player.is-hidden {
    transform: translate(-50%, 120%);
    opacity: 0;
    pointer-events: none;
}

.mini-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    max-width: min(58vw, 780px);
    flex: 1 1 auto;
}

.mini-left div {
    min-width: 0;
}

.mini-left img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
}

#miniTitle {
    font-weight: 700;
    font-size: 1.05rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#miniArtist {
    color: #f1f5f9;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.mini-controls {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-left: clamp(10px, 2vw, 22px);
    margin-right: 34px;
    flex: 0 0 auto;
}

.mini-controls button {
    border: 0;
    border-radius: 999px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.14);
    color: #fbbf24;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.18s var(--ease-out), background 0.18s var(--ease-out), filter 0.18s var(--ease-out);
}

.mini-controls button:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.2);
}

.mini-controls button svg {
    width: 16px;
    height: 16px;
    fill: #ffffff;
}

.mini-controls .mini-chip-btn {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.44);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.mini-controls .mini-chip-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.mini-controls .mini-chip-btn.chip-btn--like:hover {
    color: #22c55e;
    border-color: rgba(34, 197, 94, 0.85);
    background: rgba(34, 197, 94, 0.12);
}

.mini-controls .mini-chip-btn.chip-btn--dislike:hover {
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.85);
    background: rgba(239, 68, 68, 0.12);
}

#playBtnMini {
    width: auto;
    height: auto;
    border-radius: 999px;
    background: #fff;
    color: var(--orange);
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 1rem;
}

.mini-volume-icon {
    color: #ffffff;
    opacity: 1;
}

#closeMiniPlayerBtn {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    cursor: pointer;
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

#closeMiniPlayerBtn:hover {
    transform: translateY(-50%) scale(1.06);
    background: rgba(0, 0, 0, 0.7);
}

#miniVolume {
    width: 125px;
}

@media (max-width: 1180px) {
    .layout {
        grid-template-columns: minmax(260px, 290px) minmax(0, 1fr);
    }

    .side-content {
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}

@media (max-width: 860px) {
    .layout {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 12px;
        padding: 10px 12px 20px;
    }

    .side-content {
        grid-template-columns: 1fr;
    }

    .schedule-grid,
    .latest-tracks,
    .gallery-grid,
    .news-list {
        grid-template-columns: 1fr 1fr;
    }

    .program-viewport {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .block-head h2 {
        font-size: 1.22rem;
    }

    .listeners-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .player-card {
        padding: 14px;
    }

    .player-card {
        position: static;
        top: auto;
        transform: none !important;
        will-change: auto;
    }

    .card-actions {
        gap: 8px;
    }

    .player-shortcuts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ad-image--banner,
    .ad-image--square {
        width: 100%;
    }

    .ad-card--square {
        display: none !important;
    }

    .site-footer {
        margin-top: 4px;
        margin-bottom: 14px;
    }

    .site-scroll-area {
        padding-bottom: 104px;
    }
}

@media (max-width: 580px) {
    body {
        padding-bottom: 118px;
    }

    .brand {
        flex: 1;
        min-width: 0;
    }

    .brand-text {
        min-width: 0;
    }

    .brand-text strong,
    .brand-text small {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .ghost-btn {
        padding: 8px 10px;
    }

    .topbar-inner {
        width: 94vw;
        padding: 10px 0;
    }

    .site-footer {
        width: 94vw;
        margin-top: 4px;
        margin-bottom: 12px;
        padding: 0;
    }

    .site-scroll-area {
        padding-bottom: 112px;
    }

    .site-footer__inner {
        border-radius: 10px;
        padding: 10px 12px;
    }

    .top-link-btn {
        padding: 8px 10px;
        font-size: 0.85rem;
    }

    .cover-wrapper {
        width: min(240px, 74vw);
    }

    .player-main-actions {
        flex-wrap: wrap;
    }

    .play-btn {
        width: auto;
        min-width: 118px;
        max-width: max-content;
        justify-content: center;
    }

    .schedule-grid,
    .latest-tracks,
    .news-list {
        grid-template-columns: 1fr;
    }

    .audience-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .socials {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .message-board__list {
        max-height: 320px;
    }

    .track-item img {
        height: 108px;
    }

    .ad-link img { border-radius: 10px; }

    .program-viewport {
        grid-template-columns: 1fr;
    }

    .program-day-btn {
        min-width: 52px;
        padding: 7px 10px;
        font-size: 0.88rem;
    }

    .program-item {
        grid-template-columns: 52px minmax(0, 1fr);
        grid-template-areas:
            "cover time"
            "title title"
            "subtitle subtitle";
        padding: 8px;
        min-height: 100px;
    }

    .program-item img {
        width: 52px;
        height: 52px;
    }

    .program-live-badge {
        margin-left: 0;
        padding: 2px 6px;
        font-size: 0.62rem;
    }

    .program-arrow {
        width: 38px;
        height: 38px;
    }

    .block {
        padding: 14px;
    }

    .block-head h2 {
        font-size: 1.08rem;
    }

    .show-item {
        grid-template-columns: 52px 1fr;
        gap: 8px;
        padding: 9px;
    }

    .show-item img {
        width: 52px;
        height: 52px;
    }

    .show-item .hour {
        font-size: 0.88rem;
    }

    .show-item h3 {
        font-size: 0.96rem;
    }

    .show-item p {
        font-size: 0.88rem;
    }

    .listeners-grid {
        grid-template-columns: 1fr;
    }

    .mini-player {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        left: 50%;
        right: auto;
        width: 94vw;
        bottom: 6px;
        padding: 9px 12px 8px;
        transform: translateX(-50%);
    }

    .mini-left {
        max-width: 100%;
        padding-right: 30px;
    }

    .mini-controls {
        margin-left: 0;
        justify-self: center;
        justify-content: center;
        width: 100%;
        flex-wrap: nowrap;
        gap: 6px;
    }

    #closeMiniPlayerBtn {
        position: absolute;
        right: 8px;
        top: 50%;
        transform: translateY(-50%);
    }

    #miniVolume {
        width: min(120px, 32vw);
    }

    .mini-controls button {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }

    .mini-controls .mini-chip-btn {
        width: 42px;
        height: 42px;
    }

    #playBtnMini {
        width: auto;
        height: auto;
        padding: 9px 14px;
        font-size: 0.95rem;
    }

    .mini-volume-icon {
        font-size: 0.9rem;
    }

    .cookie-banner {
        grid-template-columns: 1fr;
        gap: 10px;
        bottom: 8px;
        width: 94vw;
        padding: 12px;
    }

    .cookie-banner__icon {
        width: 42px;
        height: 42px;
    }

    .cookie-banner__content strong {
        font-size: 1rem;
    }

    .cookie-banner__content p {
        font-size: 0.88rem;
    }

    .cookie-banner__actions {
        width: 100%;
        justify-content: flex-start;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .cookie-banner__actions .vote-btn {
        min-width: 0;
        width: 100%;
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    .program-item {
        grid-template-columns: 54px minmax(0, 1fr);
        grid-template-areas:
            "cover time"
            "title title"
            "subtitle subtitle";
        align-items: start;
        min-height: 0;
    }

    .program-item img {
        width: 54px;
        height: 54px;
    }
}

@media (max-width: 420px) {
    .layout {
        width: 94vw;
        margin-top: 10px;
        padding: 10px 0 18px;
    }

    .site-footer {
        margin-top: 2px;
        margin-bottom: 10px;
    }

    .brand img {
        width: 38px;
        height: 38px;
    }

    .brand-text strong {
        font-size: 0.95rem;
    }

    .brand-text small {
        font-size: 0.7rem;
    }

    .live-badge {
        padding: 5px 10px;
        font-size: 0.72rem;
    }

    .status {
        font-size: 0.7rem;
    }

    .block {
        padding: 12px;
    }

    .message-board__item,
    .message-board__empty {
        padding: 11px;
    }

    .message-board__toggle {
        padding: 13px 14px;
    }

    .track-item img {
        height: 96px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ad-link img { border-radius: 9px; }

    .gallery-modal__dialog {
        width: min(94vw, 980px);
        max-height: 84vh;
        padding: 10px;
    }

    .request-modal__dialog {
        width: min(94vw, 720px);
        max-height: 82vh;
        padding: 10px;
    }

    .terms-modal__dialog {
        width: min(94vw, 760px);
        max-height: 82vh;
        padding: 12px;
    }

    .request-song-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .request-song-btn {
        width: 100%;
    }

    .request-song-btn--manual {
        justify-self: stretch;
    }

    .gallery-modal__dialog img {
        max-height: 68vh;
    }

    #miniVolume {
        width: min(108px, 30vw);
    }
}

.devtools-guard-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(3, 7, 18, 0.95);
    backdrop-filter: blur(5px);
    display: grid;
    place-items: center;
    padding: 22px;
}

.devtools-guard-card {
    width: min(560px, 94vw);
    text-align: center;
    padding: 30px 22px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(160deg, rgba(5, 10, 24, 0.98), rgba(2, 6, 18, 0.94));
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.devtools-guard-icon {
    width: 66px;
    height: 66px;
    margin: 0 auto 16px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(239, 68, 68, 0.14);
}

.devtools-guard-icon svg {
    width: 38px;
    height: 38px;
    fill: #ff3b44;
}

.devtools-guard-card h2 {
    font-family: "Merriweather", serif;
    font-size: clamp(2rem, 3.4vw, 2.5rem);
    line-height: 1.1;
    margin-bottom: 12px;
    color: #ffffff;
}

.devtools-guard-card p {
    margin: 0;
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    line-height: 1.5;
    color: rgba(226, 232, 240, 0.92);
}

.devtools-guard-active .site-scroll-area,
.devtools-guard-active .mini-player,
.devtools-guard-active .cookie-banner {
    pointer-events: none;
    user-select: none;
}


.next-inline {
    margin: 10px 0 0;
    color: rgba(226, 232, 240, 0.92);
    font-size: 0.94rem;
    line-height: 1.35;
    letter-spacing: 0.02em;
}

.player-upcoming {
    display: none !important;
}

/* Guardas de responsividade: evitam overflow horizontal em qualquer resolucao */
.topbar-inner > *,
.layout > *,
.player-card > *,
.block > * {
    min-width: 0;
}

.player-card,
.controls,
.player-main-actions,
.card-actions,
.volume-group,
.player-shortcuts,
.player-stations,
.music-info,
#title,
#artist,
.next-inline {
    max-width: 100%;
    min-width: 0;
}

#title,
#artist {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.next-inline {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.top-actions {
    flex: 0 0 auto;
}

@media (max-width: 860px) {
    .player-main-actions,
    .card-actions {
        flex-wrap: wrap;
    }

    .play-btn {
        max-width: 100%;
    }
}

/* RadioWave visual refresh */
:root {
    --bg-1: #080a0f;
    --bg-2: #111827;
    --glow-1: rgba(0, 213, 184, 0.26);
    --glow-2: rgba(255, 61, 129, 0.22);
    --card-1: rgba(17, 24, 39, 0.82);
    --card-2: rgba(8, 10, 15, 0.9);
    --surface-1: rgba(255, 255, 255, 0.08);
    --surface-2: rgba(255, 255, 255, 0.05);
    --orange: #00d5b8;
    --orange-2: #ff3d81;
    --accent-rgb: 0 213 184;
    --accent2-rgb: 255 61 129;
    --ring-rgb: 0 213 184;
    --mini-1: #101820;
    --mini-2: #12111a;
    --text: #f8fafc;
    --muted: #aeb9cb;
    --line: rgba(255, 255, 255, 0.12);
    --card-outline: rgba(255, 255, 255, 0.14);
    --card-gap: 16px;
}

html,
body,
.site-scroll-area {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 28%),
        radial-gradient(circle at 14% 10%, rgba(var(--accent-rgb), 0.28), transparent 34%),
        radial-gradient(circle at 84% 18%, rgba(var(--accent2-rgb), 0.22), transparent 30%),
        radial-gradient(circle at 68% 92%, rgba(250, 204, 21, 0.11), transparent 32%),
        linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 58%, var(--card-2) 100%);
}

#particles {
    opacity: 0.34;
    mix-blend-mode: screen;
}

.topbar {
    background:
        linear-gradient(90deg, rgba(var(--accent-rgb), 0.12), rgba(var(--accent2-rgb), 0.08)),
        color-mix(in srgb, var(--bg-1) 82%, transparent);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(18px);
}

.topbar-inner,
.layout,
.site-footer,
.mini-player {
    width: min(1500px, 97vw);
}

.brand img {
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.brand-text strong {
    letter-spacing: 0;
}

.brand-text small,
.status,
.helper,
.track-item span,
.news-date,
.app-card .app-help {
    color: var(--muted);
}

.layout {
    margin-top: 18px;
    grid-template-columns: minmax(300px, 350px) minmax(0, 1fr) minmax(270px, 320px);
}

.card,
.site-footer__inner,
.station-modal-content,
.terms-modal__dialog,
.request-modal__dialog,
.gallery-modal__dialog,
.video-modal__dialog {
    background:
        linear-gradient(155deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
        linear-gradient(160deg, color-mix(in srgb, var(--card-1) 88%, transparent), color-mix(in srgb, var(--card-2) 92%, transparent));
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.card:hover {
    transform: translateY(-2px);
    border-color: rgba(var(--accent-rgb), 0.42);
    box-shadow:
        0 24px 56px rgba(0, 0, 0, 0.38),
        0 0 0 1px rgba(var(--accent2-rgb), 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.player-card {
    position: sticky;
    top: 84px;
    overflow: hidden;
}

.player-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, rgb(var(--accent-rgb)), rgb(var(--accent2-rgb)), var(--orange));
}

.cover-wrapper {
    width: min(286px, 74vw);
}

.cover {
    border: 1px solid rgba(255, 255, 255, 0.42);
    box-shadow:
        0 22px 50px rgba(0, 0, 0, 0.36),
        0 0 34px rgba(var(--ring-rgb), 0.16);
}

.label {
    color: rgb(var(--accent-rgb));
}

#title {
    font-size: clamp(1.35rem, 2vw, 1.8rem);
}

#artist {
    color: color-mix(in srgb, rgb(var(--accent2-rgb)) 58%, #ffffff);
}

.play-btn,
.vote-btn,
.message-board__toggle,
.request-song-btn,
.btn-primary {
    background: linear-gradient(135deg, rgb(var(--accent-rgb)), rgb(var(--accent2-rgb)));
    color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 14px 26px rgba(var(--accent-rgb), 0.18);
}

.play-btn.playing,
#playBtnMini {
    background: #f8fafc;
    color: #101820;
}

.ghost-btn,
.shortcut-btn,
.station-pill,
.program-day-btn,
.socials a,
.show-item,
.track-item,
.news-item,
.message-board__item,
.request-song-item,
.option-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
}

.shortcut-btn:hover,
.station-pill:hover,
.program-day-btn:hover,
.socials a:hover,
.track-item:hover,
.show-item:hover {
    background: rgba(var(--accent-rgb), 0.1);
    border-color: rgba(var(--accent-rgb), 0.34);
}

.title-icon,
.shortcut-icon,
.social-icon {
    color: rgb(var(--accent-rgb));
}

.block-head .title-icon {
    color: #ffffff;
    fill: #ffffff;
}

.socials .social-icon,
.socials a svg,
.app-actions svg {
    color: #ffffff;
    fill: #ffffff;
}

.block-head h2,
.title-with-icon {
    letter-spacing: 0;
}

.mini-player {
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--card-2) 94%, transparent), color-mix(in srgb, var(--card-1) 92%, transparent)),
        linear-gradient(90deg, rgba(var(--accent-rgb), 0.2), rgba(var(--accent2-rgb), 0.14));
    border-radius: 8px;
    backdrop-filter: blur(18px);
}

.mini-left img,
.track-item img,
.show-item img,
.gallery-item img,
.station-pill img,
.station-item img,
.ad-link img {
    border-radius: 8px;
}

.cookie-banner {
    border-radius: 8px;
    background: color-mix(in srgb, var(--card-2) 92%, transparent);
    border-color: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(18px);
}

@media (max-width: 1180px) {
    .layout {
        grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    }
}

@media (max-width: 860px) {
    .player-card {
        position: static;
    }
}

/* Responsividade final: esta camada vence os overrides anteriores */
html,
body,
.site-scroll-area {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

img,
video,
iframe,
canvas {
    max-width: 100%;
}

.topbar-inner,
.layout,
.site-footer,
.mini-player {
    max-width: 100%;
}

.layout {
    width: min(1500px, calc(100vw - 32px));
    padding-inline: 0;
    grid-template-columns: minmax(300px, 350px) minmax(0, 1fr) minmax(270px, 320px);
}

.left-content,
.main-content,
.side-content {
    min-width: 0;
    width: 100%;
}

.card,
.block,
.player-card {
    min-width: 0;
    max-width: 100%;
}

.latest-tracks,
.schedule-grid,
.news-list,
.gallery-grid,
.socials,
.program-viewport,
.side-content {
    min-width: 0;
}

.track-item,
.show-item,
.news-item,
.message-board__item,
.request-song-item {
    min-width: 0;
}

.track-item h3,
.track-item p,
.show-item h3,
.show-item p,
.news-item,
.brand-text strong,
.brand-text small {
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (max-width: 1260px) {
    .layout {
        grid-template-columns: minmax(290px, 340px) minmax(0, 1fr);
    }

    .side-content {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--card-gap);
    }
}

@media (max-width: 980px) {
    .topbar-inner,
    .layout,
    .site-footer,
    .mini-player {
        width: min(100% - 24px, 860px);
    }

    .layout,
    .layout.layout--no-main,
    .layout.layout--no-side,
    .layout.layout--left-only {
        grid-template-columns: minmax(0, 1fr);
        justify-content: stretch;
    }

    .player-card {
        position: static;
        top: auto;
    }

    .side-content {
        grid-column: auto;
        grid-template-columns: minmax(0, 1fr);
    }

    .main-content {
        grid-template-columns: minmax(0, 1fr);
    }

    .latest-tracks,
    .schedule-grid,
    .news-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cover-wrapper {
        width: min(286px, 68vw);
    }
}

@media (max-width: 640px) {
    .topbar-inner,
    .layout,
    .site-footer,
    .mini-player {
        width: min(100% - 20px, 560px);
    }

    .topbar-inner {
        padding-block: 10px;
    }

    .brand {
        gap: 8px;
        flex: 1 1 auto;
    }

    .brand img {
        width: 40px;
        height: 40px;
        flex: 0 0 auto;
    }

    .brand-text strong {
        font-size: 0.98rem;
    }

    .brand-text small {
        font-size: 0.74rem;
    }

    .top-actions {
        flex: 0 0 auto;
    }

    .top-link-btn {
        padding: 8px 10px;
        font-size: 0.84rem;
    }

    .layout {
        margin-top: 12px;
        gap: 12px;
    }

    .player-card,
    .block {
        padding: 14px;
    }

    .cover-wrapper {
        width: min(252px, 72vw);
    }

    #title {
        font-size: clamp(1.24rem, 6vw, 1.55rem);
    }

    #artist {
        font-size: 1rem;
    }

    .latest-tracks,
    .schedule-grid,
    .news-list,
    .program-viewport {
        grid-template-columns: minmax(0, 1fr);
    }

    .gallery-grid,
    .socials {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .track-item {
        grid-template-columns: 92px minmax(0, 1fr);
        align-items: center;
    }

    .track-item img {
        width: 92px;
        height: 92px;
        aspect-ratio: 1 / 1;
        object-fit: cover;
    }

    .track-cover-wrap {
        width: 92px;
    }

    .track-item h3 {
        font-size: 1rem;
        line-height: 1.18;
    }

    .track-item p {
        font-size: 0.9rem;
    }

    .next-inline {
        font-size: 0.9rem;
    }
}

@media (max-width: 430px) {
    .topbar-inner,
    .layout,
    .site-footer,
    .mini-player {
        width: calc(100vw - 16px);
    }

    .topbar-inner {
        gap: 8px;
    }

    .brand img {
        width: 36px;
        height: 36px;
    }

    .brand-text strong {
        font-size: 0.9rem;
    }

    .brand-text small {
        font-size: 0.68rem;
    }

    .top-link-btn {
        padding: 7px 9px;
    }

    .player-card,
    .block {
        padding: 12px;
    }

    .cover-wrapper {
        width: min(228px, 76vw);
    }

    .mini-eq {
        width: min(132px, 50vw);
    }

    .player-main-actions,
    .card-actions {
        width: 100%;
    }

    .play-btn {
        min-width: 112px;
    }

    .player-shortcuts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .track-item {
        grid-template-columns: 78px minmax(0, 1fr);
        gap: 9px;
        padding: 9px;
    }

    .track-item img,
    .track-cover-wrap {
        width: 78px;
        height: 78px;
    }

    .track-item h3 {
        font-size: 0.94rem;
    }

    .gallery-grid,
    .socials {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 340px) {
    .topbar-inner {
        flex-wrap: wrap;
    }

    .top-actions {
        width: 100%;
    }

    .top-link-btn {
        width: 100%;
    }

    .cover-wrapper {
        width: min(204px, 74vw);
    }
}

/* Player horizontal no topo */
.layout {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 28%);
    grid-template-areas:
        "player player"
        "main side";
}

.layout.layout--no-side {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
        "player"
        "main";
}

.layout.layout--no-main {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
        "player"
        "side";
}

.layout.layout--left-only {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "player";
}

.left-content {
    grid-area: player;
    height: auto;
    align-self: start;
}

.main-content {
    grid-area: main;
}

.side-content {
    grid-area: side;
    width: 100%;
}

.side-content > * {
    width: 100%;
}

.player-card {
    position: relative;
    top: auto;
    display: grid;
    grid-template-columns: 245px minmax(300px, 1fr) minmax(300px, 370px) minmax(270px, 360px);
    grid-template-areas:
        "meta meta meta meta"
        "cover info controls shortcuts"
        "eq info controls stations";
    gap: 18px 28px;
    align-items: center;
    min-height: 320px;
    padding: 28px 30px;
    overflow: hidden;
    isolation: isolate;
    background:
        linear-gradient(90deg, rgba(12, 8, 8, 0.74), rgba(12, 8, 8, 0.82)),
        var(--player-cover-url, none),
        linear-gradient(160deg, var(--card-1), var(--card-2));
    background-position: center;
    background-size: cover;
}

.player-card::before {
    content: "";
    position: absolute;
    inset: -28px;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(8, 6, 6, 0.72), rgba(8, 6, 6, 0.82)),
        var(--player-cover-url, none);
    background-position: center;
    background-size: cover;
    opacity: 0.2;
    filter: blur(30px) saturate(1.08);
    transform: scale(1.06);
}

.player-card > * {
    position: relative;
    z-index: 2;
}

.player-card::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    z-index: 3;
    height: 3px;
    background: linear-gradient(90deg, rgb(var(--accent-rgb)), rgb(var(--accent2-rgb)), var(--orange));
    opacity: 0.95;
}

.player-card .top-row {
    grid-area: meta;
    min-width: 0;
}

.player-card .cover-wrapper {
    grid-area: cover;
    width: 230px;
    margin: 0;
    justify-self: center;
}

.player-card .mini-eq {
    grid-area: eq;
    width: 190px;
    height: 24px;
    margin: -2px auto 0;
}

.player-card .music-info {
    grid-area: info;
    text-align: left;
    align-self: center;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.player-card .label {
    margin-bottom: 5px;
    color: rgba(248, 250, 252, 0.78);
    font-size: 0.88rem;
    letter-spacing: 0.16em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.player-card #title {
    font-size: clamp(1.55rem, 2.55vw, 2.55rem);
    line-height: 1.08;
    max-width: 100%;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.player-card #artist {
    font-size: clamp(1rem, 1.35vw, 1.18rem);
}

.player-card .next-inline {
    margin-top: 8px;
    max-width: 62ch;
}

.player-card .controls {
    grid-area: controls;
    margin-top: 0;
    justify-items: center;
    align-self: center;
}

.player-card .player-main-actions {
    justify-content: center;
}

.player-card .volume-group {
    width: min(240px, 100%);
    justify-self: center;
}

.player-card #volume {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
}

.player-card .player-shortcuts {
    grid-area: shortcuts;
    margin-top: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-self: center;
}

.player-card .shortcut-btn {
    min-height: 72px;
    background:
        linear-gradient(135deg, rgba(var(--accent-rgb), 0.16), rgba(var(--accent2-rgb), 0.08)),
        color-mix(in srgb, var(--card-2) 76%, transparent);
    border-color: rgba(var(--accent2-rgb), 0.24);
    backdrop-filter: blur(8px);
}

.player-card .shortcut-btn:hover {
    background:
        linear-gradient(135deg, rgba(var(--accent-rgb), 0.2), rgba(var(--accent2-rgb), 0.12)),
        color-mix(in srgb, var(--card-1) 78%, transparent);
    border-color: rgba(var(--accent2-rgb), 0.36);
    color: color-mix(in srgb, #ffffff 76%, rgb(var(--accent-rgb)));
}

.player-card .chip-btn {
    background:
        linear-gradient(135deg, rgba(var(--accent-rgb), 0.14), rgba(var(--accent2-rgb), 0.08)),
        color-mix(in srgb, var(--card-2) 72%, transparent);
    border-color: rgba(var(--accent2-rgb), 0.26);
    backdrop-filter: blur(8px);
}

.player-card .play-btn {
    min-height: 48px;
    padding-inline: 20px;
    font-size: 1.05rem;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.player-card .player-stations {
    grid-area: stations;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    align-self: start;
}

.player-card .player-stations__head {
    display: none;
}

.player-card .player-stations__list {
    grid-template-columns: repeat(auto-fit, minmax(124px, 1fr));
}

.player-card .station-pill {
    min-height: 38px;
}

.player-card .player-upcoming {
    grid-area: stations;
}

@media (max-width: 1260px) {
    .layout {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "player"
            "main"
            "side";
    }

    .side-content {
        grid-column: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .player-card {
        grid-template-columns: 180px minmax(0, 1fr) minmax(260px, 330px);
        grid-template-areas:
            "meta meta meta"
            "cover info controls"
            "eq shortcuts shortcuts"
            "stations stations stations";
        min-height: 270px;
    }

    .player-card .player-shortcuts {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .layout,
    .layout.layout--no-main,
    .layout.layout--no-side,
    .layout.layout--left-only {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "player"
            "main"
            "side";
    }

    .side-content {
        grid-template-columns: minmax(0, 1fr);
    }

    .player-card {
        grid-template-columns: 132px minmax(0, 1fr);
        grid-template-areas:
            "meta meta"
            "cover info"
            "eq info"
            "controls controls"
            "shortcuts shortcuts"
            "stations stations";
        padding: 18px;
        min-height: 0;
    }

    .player-card .cover-wrapper {
        width: 152px;
    }

    .player-card .mini-eq {
        width: 124px;
    }

    .player-card .controls {
        margin-top: 2px;
        width: 100%;
        min-width: 0;
    }

    .player-card .player-main-actions,
    .player-card .card-actions {
        justify-content: center;
    }
}

@media (max-width: 560px) {
    .layout,
    .layout.layout--no-main,
    .layout.layout--no-side,
    .layout.layout--left-only {
        width: calc(100vw - 20px);
        overflow: hidden;
    }

    .player-card {
        width: 100%;
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "meta"
            "cover"
            "eq"
            "info"
            "controls"
            "shortcuts"
            "stations";
        justify-items: stretch;
        background:
            linear-gradient(180deg, rgba(12, 8, 8, 0.76), rgba(12, 8, 8, 0.86)),
            var(--player-cover-url, none),
            linear-gradient(160deg, var(--card-1), var(--card-2));
        background-position: center;
        background-size: cover;
    }

    .player-card::before {
        opacity: 0.18;
    }

    .player-card .cover-wrapper {
        width: min(286px, 76vw);
        justify-self: center;
    }

    .player-card .mini-eq {
        width: min(130px, 44vw);
    }

    .player-card .music-info {
        text-align: center;
    }

    .player-card #title {
        font-size: clamp(1.15rem, 6vw, 1.55rem);
        line-height: 1.12;
    }

    .player-card #artist,
    .player-card .next-inline {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .player-card .top-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        text-align: center;
    }

    .player-card .player-main-actions {
        flex-wrap: wrap;
    }

    .player-card .volume-group {
        width: min(230px, 72vw);
        justify-self: center;
    }

    .player-card .player-shortcuts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
        min-width: 0;
    }

    .player-card .shortcut-btn {
        min-width: 0;
        min-height: 58px;
        padding: 8px 6px;
        gap: 3px;
        font-size: 0.8rem;
        background:
            linear-gradient(135deg, rgba(var(--accent-rgb), 0.15), rgba(var(--accent2-rgb), 0.08)),
            color-mix(in srgb, var(--card-2) 82%, transparent);
    }

    .player-card .shortcut-btn span {
        font-size: 0.78rem;
        line-height: 1.1;
    }

    .cookie-banner {
        left: 10px;
        right: 10px;
        transform: none;
        grid-template-columns: minmax(0, 1fr);
        width: auto;
        max-width: calc(100vw - 20px);
        max-height: calc(100vh - 24px);
        overflow: auto;
        padding: 12px;
    }

    .cookie-banner__icon {
        justify-self: center;
    }

    .cookie-banner__content {
        text-align: center;
        min-width: 0;
    }

    .cookie-banner__content p {
        margin-inline: auto;
        max-width: 34ch;
        font-size: 0.8rem;
        line-height: 1.35;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .cookie-banner__actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .cookie-banner__actions .vote-btn {
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 430px) {
    .player-card .shortcut-btn {
        min-height: 42px;
    }
}

/* Fundo uniforme do site */
:root {
    --site-solid-bg: #1d1715;
}

html,
body,
.site-scroll-area {
    background: var(--site-solid-bg) !important;
    transition: background-color 0.35s ease, background 0.35s ease;
}

.site-scroll-area::before {
    display: none !important;
}

#particles {
    opacity: 0.12;
}

/* Lista compacta para ultimas tocadas no mobile */
@media (max-width: 640px) {
    .latest-tracks {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 8px;
    }

    .latest-tracks .track-item {
        display: grid !important;
        grid-template-columns: 78px minmax(0, 1fr);
        align-items: center;
        gap: 12px;
        min-height: 96px;
        height: auto;
        padding: 8px 10px;
        border-radius: 10px;
        overflow: hidden;
    }

    .latest-tracks .track-cover-wrap {
        width: 78px !important;
        height: 78px !important;
        align-self: center;
    }

    .latest-tracks .track-item img {
        width: 78px !important;
        height: 78px !important;
        aspect-ratio: 1 / 1;
        border-radius: 8px;
        object-fit: cover;
        display: block;
    }

    .latest-tracks .track-item > div:not(.track-cover-wrap),
    .latest-tracks .track-item__body {
        padding: 0;
        gap: 3px;
        align-content: center;
        min-width: 0;
    }

    .latest-tracks .track-item h3 {
        margin: 0;
        font-size: 0.94rem;
        line-height: 1.15;
        -webkit-line-clamp: 2;
    }

    .latest-tracks .track-item p {
        font-size: 0.84rem;
        line-height: 1.2;
        -webkit-line-clamp: 1;
    }

    .latest-tracks .track-item span {
        font-size: 0.76rem;
    }
}
