:root {
    color-scheme: dark;
    --color-background: #a51a1a;
    --color-background-deep: #3b0b0b;
    --color-surface: #1e1e1e;
    --color-surface-red: #7c1414;
    --color-primary: #f97519;
    --color-text: #ffffff;
    --color-text-muted: rgba(255, 255, 255, 0.68);
    --content-width: 1040px;
    font-family: Arial, Helvetica, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: #101010;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-text);
    background:
        radial-gradient(ellipse at 50% 35%, rgba(201, 31, 24, 0.44), transparent 44%),
        linear-gradient(180deg, #a51a1a 0%, #651010 55%, #1b1010 100%);
    min-height: 100vh;
}

button,
select,
input {
    font: inherit;
}

button,
a,
select,
input {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.topbar {
    min-height: 104px;
    padding: 14px max(24px, calc((100% - var(--content-width)) / 2));
    display: flex;
    align-items: center;
    gap: 28px;
    background: linear-gradient(105deg, #bc0000 0%, #900000 58%, #5e0202 100%);
    box-shadow: 0 8px 26px rgba(27, 0, 0, 0.22);
    position: relative;
    z-index: 3;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    width: 220px;
    height: 70px;
}

.brand img {
    display: block;
    width: 100%;
    height: auto;
}

.topbar-current {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 20px;
    font-weight: 700;
    white-space: nowrap;
}

.topbar-indicator,
.live-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 14px rgba(249, 117, 25, 0.8);
}

.navigation {
    display: flex;
    align-items: center;
    gap: 4px;
}

.navigation a {
    padding: 10px 12px;
    color: rgba(255, 255, 255, 0.82);
    border-radius: 4px;
    font-size: 13px;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease;
}

.navigation a:hover,
.navigation a.is-current {
    color: #fff;
    background: rgba(249, 117, 25, 0.25);
}

.menu-toggle {
    display: none;
}

.player-panel {
    width: 100%;
    min-height: 112px;
    padding: 18px max(24px, calc((100% - var(--content-width)) / 2));
    display: flex;
    align-items: center;
    gap: 20px;
    background:
        radial-gradient(circle at 54% 40%, rgba(249, 117, 25, 0.22) 0 5px, transparent 6px),
        radial-gradient(circle at 58% 56%, rgba(249, 117, 25, 0.17) 0 12px, transparent 13px),
        linear-gradient(90deg, rgba(160, 18, 18, 0.94), rgba(122, 12, 12, 0.94));
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.player-panel audio {
    display: none;
}

.play-button {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    padding: 0;
    color: #fff;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.play-glyph {
    width: 0;
    height: 0;
    margin-left: 5px;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 19px solid #fff;
}

.play-button.is-playing .play-glyph {
    width: 17px;
    height: 20px;
    margin: 0;
    border: 0;
    background: linear-gradient(90deg, #fff 0 5px, transparent 5px 12px, #fff 12px 17px);
}

.stream-select-wrap {
    min-width: 0;
    flex: 1;
    height: 58px;
    position: relative;
    display: flex;
    align-items: center;
    border: 2px solid var(--color-primary);
    border-radius: 17px;
    background: rgba(108, 6, 6, 0.34);
}

.stream-select-wrap select {
    width: 100%;
    height: 100%;
    padding: 0 50px 0 20px;
    appearance: none;
    color: #fff;
    background: transparent;
    border: 0;
    outline: none;
    font-size: clamp(16px, 2.2vw, 25px);
    cursor: pointer;
}

.stream-select-wrap option {
    color: #fff;
    background: #741212;
}

.select-chevron {
    width: 12px;
    height: 12px;
    position: absolute;
    right: 20px;
    border-right: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: translateY(-3px) rotate(45deg);
    pointer-events: none;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-left: 6px;
}

.volume-icon {
    color: #fff;
    font-size: 20px;
}

.volume-control input {
    width: 96px;
    accent-color: var(--color-primary);
}

.player-status {
    min-width: 82px;
    margin: 0;
    color: var(--color-text-muted);
    font-size: 12px;
    text-align: right;
}

.main-content {
    width: min(100% - 48px, var(--content-width));
    flex: 1;
    margin: 34px auto 50px;
}

.global-user-menu {
    width: 100%;
    margin: 24px auto;
}

.global-user-menu .account-tools,
.global-user-menu .admin-tools {
    margin-top: 0;
}

.global-user-menu .admin-tools {
    margin-top: 20px;
}

.now-playing {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.artwork-frame {
    width: min(100%, 620px);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 32px;
    box-shadow: 0 18px 50px rgba(12, 0, 0, 0.33);
}

.artwork-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.track-actions {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    color: #ffc21a;
}

.action-mark {
    font-size: 32px;
    line-height: 1;
}

.playlist-mark {
    position: relative;
    font-size: 36px;
}

.playlist-mark b {
    position: absolute;
    right: -8px;
    bottom: -3px;
    font-size: 19px;
}

.track-title {
    margin: 0 0 34px;
    text-align: center;
}

.eyebrow {
    margin: 0 0 8px;
    color: #ffc21a;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.track-title h1,
.section-placeholder h1 {
    margin: 0;
    font-size: clamp(22px, 4vw, 34px);
    font-weight: 500;
    letter-spacing: 0.025em;
}

.metadata-note {
    margin: 10px 0 0;
    color: var(--color-text-muted);
    font-size: 13px;
}

.content-card {
    margin-top: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(76, 11, 11, 0.62);
    box-shadow: 0 12px 28px rgba(16, 0, 0, 0.14);
}

.section-heading {
    min-height: 68px;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #8f1717;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.section-heading h2 {
    margin: 0;
    font-size: 20px;
}

.section-heading a {
    color: #ffc21a;
    font-size: 14px;
    text-decoration: none;
}

.empty-state {
    min-height: 94px;
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--color-text-muted);
}

.empty-state p {
    margin: 0;
}

.empty-state-line {
    width: 34px;
    height: 2px;
    background: var(--color-primary);
}

.section-placeholder {
    max-width: 700px;
    margin: 20px auto;
    padding: clamp(24px, 6vw, 54px);
}

.section-placeholder h1 {
    margin-bottom: 16px;
}

.section-placeholder > p:not(.eyebrow) {
    max-width: 540px;
    color: var(--color-text-muted);
    line-height: 1.65;
}

.back-link {
    display: inline-block;
    margin-top: 12px;
    color: #ffc21a;
    text-decoration: none;
}

.site-footer {
    min-height: 48px;
    padding: 13px max(24px, calc((100% - var(--content-width)) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(23, 23, 23, 0.9);
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.footer-tagline {
    color: var(--color-text-muted);
    font-weight: 400;
}

.visually-hidden {
    width: 1px;
    height: 1px;
    position: absolute;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 980px) {
    .topbar {
        min-height: 90px;
        gap: 16px;
    }

    .brand {
        width: 190px;
    }

    .topbar-current {
        font-size: 18px;
    }

    .navigation {
        gap: 0;
    }

    .navigation a {
        padding: 9px 8px;
        font-size: 12px;
    }
}

@media (max-width: 760px) {
    .topbar {
        min-height: 82px;
        padding: 10px 20px;
    }

    .brand {
        width: 170px;
        height: 58px;
    }

    .topbar-current {
        margin-left: auto;
        font-size: 16px;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
        padding: 10px 7px;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        background: transparent;
        border: 0;
        cursor: pointer;
    }

    .menu-toggle span {
        height: 3px;
        width: 28px;
        display: block;
        background: #fff;
    }

    .navigation {
        position: absolute;
        top: calc(100% - 1px);
        right: 0;
        left: 0;
        padding: 8px 20px 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        background: #640303;
        box-shadow: 0 16px 22px rgba(0, 0, 0, 0.28);
    }

    .navigation.is-open {
        display: flex;
    }

    .navigation a {
        padding: 12px 10px;
        font-size: 15px;
    }

    .player-panel {
        min-height: 88px;
        padding: 12px 16px;
        gap: 10px;
    }

    .play-button {
        width: 38px;
        height: 42px;
        flex-basis: 38px;
    }

    .stream-select-wrap {
        height: 52px;
        border-radius: 14px;
    }

    .stream-select-wrap select {
        padding-left: 14px;
        padding-right: 36px;
        font-size: clamp(14px, 3.7vw, 20px);
    }

    .select-chevron {
        right: 14px;
        width: 10px;
        height: 10px;
    }

    .volume-control {
        display: none;
    }

    .player-status {
        display: none;
    }

    .main-content {
        width: min(100% - 32px, var(--content-width));
        margin-top: 26px;
        margin-bottom: 34px;
    }

    .artwork-frame {
        width: min(100%, 540px);
        border-radius: 26px;
    }

    .track-title {
        margin-bottom: 24px;
    }
}

@media (max-width: 420px) {
    .topbar {
        padding-right: 14px;
        padding-left: 14px;
        gap: 8px;
    }

    .brand {
        width: 136px;
    }

    .topbar-current {
        gap: 7px;
        font-size: 14px;
    }

    .topbar-indicator {
        width: 7px;
        height: 7px;
    }

    .menu-toggle {
        width: 38px;
        flex-basis: 38px;
    }

    .player-panel {
        padding-right: 10px;
        padding-left: 10px;
        gap: 5px;
    }

    .play-button {
        flex-basis: 34px;
    }

    .section-heading {
        min-height: 60px;
        padding: 14px 16px;
    }

    .section-heading h2 {
        font-size: 18px;
    }

    .site-footer {
        padding: 12px 16px;
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *:before,
    *:after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

:root {
    --color-background: #a51a1a;
    --color-background-deep: #3b0b0b;
    --color-surface: #1e1e1e;
    --color-surface-red: #7c1414;
    --color-primary: #f97519;
    --color-text-muted: rgba(255, 255, 255, .68);
    --content-width: 1280px;
}

html,
body {
    background: #3b0b0b;
}

body {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(ellipse at 16% 12%, rgba(249, 117, 25, .24), transparent 32%),
        radial-gradient(ellipse at 84% 20%, rgba(188, 0, 0, .28), transparent 38%),
        linear-gradient(145deg, #a51a1a 0%, #841616 38%, #5b1010 72%, #3b0b0b 100%);
    background-attachment: fixed;
    color: #fff;
}

.ambient-effects {
    position: fixed;
    z-index: 0;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.ambient-orb {
    position: absolute;
    display: block;
    border-radius: 50%;
    opacity: .34;
    filter: blur(2px);
    mix-blend-mode: screen;
    will-change: transform;
}

.ambient-orb-one {
    top: 9%;
    left: 7%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle at 35% 35%, rgba(249, 117, 25, .8), rgba(249, 117, 25, 0) 68%);
    animation: orb-float-one 31s ease-in-out infinite alternate;
}

.ambient-orb-two {
    top: 38%;
    right: 3%;
    width: 300px;
    height: 300px;
    opacity: .22;
    background: radial-gradient(circle at 45% 45%, rgba(255, 85, 39, .75), rgba(188, 0, 0, 0) 70%);
    animation: orb-float-two 38s ease-in-out infinite alternate;
}

.ambient-orb-three {
    bottom: -5%;
    left: 34%;
    width: 270px;
    height: 270px;
    opacity: .2;
    background: radial-gradient(circle at 50% 50%, rgba(188, 0, 0, .8), rgba(124, 20, 20, 0) 70%);
    animation: orb-float-three 35s ease-in-out infinite alternate;
}

.ambient-orb-four {
    top: 52%;
    left: 48%;
    width: 240px;
    height: 240px;
    opacity: .18;
    background: radial-gradient(circle at 50% 50%, rgba(255, 169, 69, .7), rgba(249, 117, 25, 0) 70%);
    animation: orb-float-four 42s ease-in-out infinite alternate;
}

.ambient-orb-five {
    top: 4%;
    right: 16%;
    width: 180px;
    height: 180px;
    opacity: .2;
    background: radial-gradient(circle at 50% 50%, rgba(255, 80, 52, .75), rgba(188, 0, 0, 0) 70%);
    animation: orb-float-five 37s ease-in-out infinite alternate;
}

.ambient-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    display: block;
    border-radius: 50%;
    background: #ffbd78;
    box-shadow: 0 0 14px 4px rgba(249, 117, 25, .68);
    opacity: .72;
    will-change: transform, opacity;
}

.ambient-particle:after {
    position: absolute;
    z-index: -1;
    inset: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249, 117, 25, .46), rgba(249, 117, 25, 0) 72%);
    content: "";
}

.ambient-particle-one {
    top: 18%;
    left: 24%;
    animation: particle-float-one 17s ease-in-out infinite;
}

.ambient-particle-two {
    top: 38%;
    left: 77%;
    width: 5px;
    height: 5px;
    animation: particle-float-two 21s ease-in-out infinite;
}

.ambient-particle-three {
    top: 66%;
    left: 17%;
    width: 4px;
    height: 4px;
    animation: particle-float-three 19s ease-in-out infinite;
}

.ambient-particle-four {
    top: 77%;
    left: 63%;
    animation: particle-float-two 24s ease-in-out infinite reverse;
}

.ambient-particle-five {
    top: 27%;
    left: 56%;
    width: 4px;
    height: 4px;
    animation: particle-float-three 22s ease-in-out infinite reverse;
}

.ambient-particle-six {
    top: 53%;
    left: 91%;
    width: 6px;
    height: 6px;
    animation: particle-float-one 20s ease-in-out infinite reverse;
}

.ambient-particle-seven {
    top: 86%;
    left: 39%;
    width: 5px;
    height: 5px;
    animation: particle-float-three 18s ease-in-out infinite;
}

.ambient-particle-eight {
    top: 9%;
    left: 88%;
    width: 4px;
    height: 4px;
    animation: particle-float-two 23s ease-in-out infinite reverse;
}

.ambient-particle-nine {
    top: 46%;
    left: 35%;
    width: 5px;
    height: 5px;
    animation: particle-float-three 20s ease-in-out infinite reverse;
}

.ambient-particle-ten {
    top: 14%;
    left: 68%;
    width: 4px;
    height: 4px;
    animation: particle-float-one 25s ease-in-out infinite reverse;
}

.ambient-particle-eleven {
    top: 72%;
    left: 82%;
    width: 6px;
    height: 6px;
    animation: particle-float-two 19s ease-in-out infinite;
}

.ambient-particle-twelve {
    top: 91%;
    left: 12%;
    width: 4px;
    height: 4px;
    animation: particle-float-one 22s ease-in-out infinite;
}

.ambient-particle-thirteen {
    top: 32%;
    left: 9%;
    width: 5px;
    height: 5px;
    animation: particle-float-three 26s ease-in-out infinite;
}

.ambient-particle-fourteen {
    top: 59%;
    left: 56%;
    width: 4px;
    height: 4px;
    animation: particle-float-one 18s ease-in-out infinite reverse;
}

.ambient-particle-fifteen {
    top: 4%;
    left: 43%;
    width: 6px;
    height: 6px;
    animation: particle-float-two 27s ease-in-out infinite;
}

.ambient-particle-sixteen {
    top: 95%;
    left: 72%;
    width: 5px;
    height: 5px;
    animation: particle-float-three 23s ease-in-out infinite reverse;
}

@keyframes orb-float-one {
    to { transform: translate3d(24vw, 18vh, 0) scale(1.18); }
}

@keyframes orb-float-two {
    to { transform: translate3d(-20vw, -16vh, 0) scale(.86); }
}

@keyframes orb-float-three {
    to { transform: translate3d(14vw, -21vh, 0) scale(1.12); }
}

@keyframes orb-float-four {
    to { transform: translate3d(-17vw, -12vh, 0) scale(1.2); }
}

@keyframes orb-float-five {
    to { transform: translate3d(18vw, 22vh, 0) scale(.84); }
}

@keyframes particle-float-one {
    0%, 100% { transform: translate3d(0, 0, 0); opacity: .35; }
    50% { transform: translate3d(8vw, -13vh, 0); opacity: .9; }
}

@keyframes particle-float-two {
    0%, 100% { transform: translate3d(0, 0, 0); opacity: .45; }
    50% { transform: translate3d(-10vw, 12vh, 0); opacity: .95; }
}

@keyframes particle-float-three {
    0%, 100% { transform: translate3d(0, 0, 0); opacity: .3; }
    50% { transform: translate3d(6vw, 10vh, 0); opacity: .8; }
}

.site-shell {
    position: relative;
    z-index: 1;
    max-width: 1720px;
    margin: 0 auto;
    background: rgba(57, 11, 11, .08);
}

.topbar {
    min-height: 82px;
    padding: 10px max(26px, calc((100% - var(--content-width)) / 2));
    gap: 20px;
    background:
        linear-gradient(105deg, rgba(165, 26, 26, .38) 0%, rgba(124, 20, 20, .3) 58%, rgba(59, 11, 11, .38) 100%),
        url("../img/summer.jpg") center top / cover no-repeat;
    border-bottom: 1px solid rgba(255, 255, 255, .13);
    box-shadow: 0 8px 26px rgba(27, 0, 0, .22);
    backdrop-filter: blur(18px);
}

.brand {
    width: 236px;
    height: 72px;
}

.brand img {
    width: auto;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: left center;
    transform: none;
}

.topbar-current {
    display: none;
}

.navigation {
    margin-left: auto;
    gap: 4px;
}

.navigation a {
    padding: 10px 11px;
    color: rgba(255, 255, 255, .82);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

.navigation a:hover,
.navigation a.is-current {
    color: #fff;
    background: rgba(249, 117, 25, .25);
}

.navigation a.is-current {
    box-shadow: inset 0 -2px #f97519;
}

.player-panel {
    position: sticky;
    top: 0;
    z-index: 4;
    min-height: 78px;
    padding: 12px max(26px, calc((100% - var(--content-width)) / 2));
    gap: 18px;
    background: linear-gradient(90deg, rgba(124, 20, 20, .38), rgba(30, 30, 30, .42));
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 10px 35px rgba(32, 0, 0, .24);
    backdrop-filter: blur(12px);
}

.play-button {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    border-radius: 50%;
    background: rgba(249, 117, 25, .94);
    box-shadow: 0 0 26px rgba(249, 117, 25, .48), 0 2px 12px rgba(32, 0, 0, .3);
    transition: transform 160ms ease, background 160ms ease;
}

.play-button:hover {
    transform: scale(1.05);
    background: #ff8a36;
}

.stream-select-wrap {
    max-width: none;
    height: 48px;
    flex: 1 1 220px;
    min-width: 0;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(249, 117, 25, .72);
    border-radius: 10px;
    background: rgba(45, 20, 20, .62);
    backdrop-filter: blur(8px);
}

.stream-select-wrap select {
    padding-left: 15px;
    font-size: 14px;
}

.stream-select-wrap.is-playing-track select {
    color: transparent;
}

.stream-select-wrap.is-playing-track:focus-within select {
    color: #fff;
}

.stream-select-wrap option {
    color: #fff;
    background: #741212;
}

.live-return {
    min-height: 36px;
    padding: 0 11px;
    color: #ffbd82;
    border: 1px solid rgba(249, 117, 25, .35);
    border-radius: 8px;
    background: rgba(45, 20, 20, .58);
    backdrop-filter: blur(8px);
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.live-return:hover {
    background: rgba(249, 117, 25, .18);
}

.live-return[hidden] {
    display: none;
}

.player-track-ticker {
    position: absolute;
    top: 0;
    right: 42px;
    bottom: 0;
    left: 15px;
    z-index: 1;
    display: flex;
    overflow: hidden;
    align-items: center;
    color: #fff;
    font-size: 12px;
    line-height: 1;
    pointer-events: none;
}

.player-track-ticker[hidden] {
    display: none;
}

.player-track-ticker-track {
    position: absolute;
    top: 50%;
    left: 100%;
    display: flex;
    width: max-content;
    transform: translateY(-50%);
    white-space: nowrap;
}

.stream-select-wrap:focus-within .player-track-ticker {
    visibility: hidden;
}

.player-track-ticker.is-overflowing .player-track-ticker-track {
    animation: player-track-scroll 21s linear infinite;
}

@keyframes player-track-scroll {
    from {
        transform: translate(0, -50%);
    }

    to {
        transform: translate(calc(-100% - var(--ticker-width)), -50%);
    }
}

.equalizer {
    position: absolute;
    right: 0;
    top: 50%;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 20px;
    display: block;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%);
    transition: opacity 180ms ease;
}

.equalizer.is-active {
    opacity: 1;
}

.volume-control {
    margin-left: 0;
}

.volume-icon {
    color: #a5a9aa;
}

.volume-control input {
    accent-color: #f97519;
}

.player-status {
    min-width: 60px;
    margin-left: 8px;
    color: #a5a9aa;
}

@media (prefers-reduced-motion: reduce) {
    .player-track-ticker.is-overflowing .player-track-ticker-track {
        animation: none;
        left: 0;
        transform: translateY(-50%);
    }
}

.main-content {
    width: min(100% - 64px, var(--content-width));
    margin: 36px auto 60px;
}

.hero-panel {
    display: grid;
    grid-template-columns: minmax(240px, .82fr) minmax(0, 1.18fr);
    align-items: center;
    gap: clamp(24px, 5vw, 74px);
    padding: clamp(20px, 3vw, 42px);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 20px;
    background:
        radial-gradient(ellipse at 95% 10%, rgba(249, 117, 25, .18), transparent 44%),
        linear-gradient(130deg, rgba(30, 30, 30, .54) 0%, rgba(40, 30, 30, .5) 58%, rgba(80, 20, 20, .46) 100%);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .24);
    backdrop-filter: blur(10px);
}

.artwork-frame {
    position: relative;
    width: 100%;
    max-width: 440px;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .35);
}

.track-category-badge {
    position: absolute;
    z-index: 1;
    top: 14px;
    right: 14px;
    padding: 7px 10px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 7px;
    background: rgba(15, 18, 22, .76);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    line-height: 1;
    pointer-events: none;
    backdrop-filter: blur(8px);
}

.track-category-badge[hidden] {
    display: none;
}

.hero-details {
    min-width: 0;
}

.eyebrow {
    color: #f97519;
    font-size: 10px;
    letter-spacing: .16em;
}

.hero-details h1 {
    margin: 14px 0 8px;
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1.04;
    letter-spacing: -.045em;
    overflow-wrap: anywhere;
}

.hero-subtitle {
    margin: 0;
    color: #d0c4c1;
    font-size: 15px;
}

.track-actions {
    justify-content: flex-start;
    gap: 10px;
    margin: 24px 0;
}

.action-button {
    min-height: 40px;
    padding: 0 14px;
    color: #fff1ed;
    border: 1px solid rgba(255, 235, 222, .17);
    border-radius: 9px;
    background: rgba(255, 231, 220, .075);
    cursor: pointer;
    font-size: 13px;
}

.action-button:hover {
    border-color: rgba(249, 117, 25, .6);
    background: rgba(249, 117, 25, .12);
}

.action-button b {
    color: #f97519;
}

.live-stats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.live-stats > div {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #a5aaab;
    font-size: 12px;
}

.live-stats strong {
    color: #fff;
    font-size: 14px;
}

.live-listen-note {
    color: #969c9e;
    font-size: 11px;
}

.live-dot {
    width: 7px;
    height: 7px;
    background: #f97519;
    box-shadow: 0 0 10px rgba(249, 117, 25, .65);
}

.quality-badge,
.live-chip,
.on-air-badge {
    padding: 6px 9px;
    color: #ffad68;
    border: 1px solid rgba(249, 117, 25, .3);
    border-radius: 20px;
    background: rgba(249, 117, 25, .1);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .1em;
}

.metadata-note {
    color: #858b8e;
    font-size: 11px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
    gap: 20px;
    margin-top: 22px;
}

.content-card {
    margin-top: 0;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    background: rgba(30, 30, 30, .76);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .15);
    backdrop-filter: blur(16px);
}

.section-heading {
    min-height: 75px;
    padding: 16px 20px;
    background: transparent;
    border-bottom-color: rgba(255, 255, 255, .07);
}

.section-heading h2 {
    font-size: 18px;
    letter-spacing: -.02em;
}

.section-link,
.text-action,
.muted-link {
    color: #ff9a4a;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.section-link:hover,
.text-action:hover,
.muted-link:hover {
    color: #ffc184;
}

.track-list,
.show-list {
    padding: 4px 18px 12px;
}

.track-row,
.show-row,
.chart-row {
    min-height: 66px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 10px 2px;
    border-bottom: 1px solid rgba(255, 255, 255, .055);
}

.show-row {
    color: inherit;
    text-decoration: none;
    transition: background-color 160ms ease;
}

.show-row:hover,
.show-row:focus {
    background: rgba(249, 117, 25, .08);
}

.track-row:last-child,
.show-row:last-child,
.chart-row:last-child {
    border-bottom: 0;
}

.track-artwork-thumb {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    background: rgba(15, 15, 15, .55);
}

.track-artwork-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.track-index,
.chart-rank {
    width: 27px;
    flex: 0 0 27px;
    color: #73797c;
    font-size: 11px;
    font-weight: 700;
}

.track-meta,
.show-meta,
.chart-track {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.track-meta strong,
.show-meta strong,
.chart-track strong {
    overflow: hidden;
    color: #fff6f1;
    font-size: 13px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.track-meta .track-artist,
.show-meta > span,
.chart-track > span {
    overflow: hidden;
    color: #c0b4b1;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.track-time {
    color: #f97519;
    font-size: 10px;
}

.track-mixshow-badge {
    width: fit-content;
    padding: 3px 6px;
    color: #ffd2ad;
    border: 1px solid rgba(249, 117, 25, .38);
    border-radius: 4px;
    background: rgba(249, 117, 25, .12);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1;
}

.track-mixshow-badge[hidden] {
    display: none;
}

.track-row-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.icon-action {
    width: 32px;
    height: 32px;
    color: #9da2a4;
    border: 0;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
}

.icon-action:hover {
    color: #ffad68;
    background: rgba(249, 117, 25, .12);
}

.live-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.live-chip i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #f97519;
}

.show-avatar {
    width: 100px;
    height: 100px;
    flex: 0 0 100px;
    border-radius: 10px;
    background: #514443;
    object-fit: cover;
}

.show-time {
    width: 48px;
    flex: 0 0 48px;
    color: #b7bbbc;
    font-size: 11px;
    font-variant-numeric: tabular-nums;
}

.show-row.is-on-air {
    margin: 0 -8px;
    padding-right: 10px;
    padding-left: 10px;
    border-radius: 8px;
    background: rgba(249, 117, 25, .1);
}

.on-air-badge {
    padding: 5px 7px;
    font-size: 8px;
}

.show-arrow {
    color: #777e80;
    font-size: 15px;
}

.discovery-strip {
    margin-top: 22px;
    padding: 26px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    background:
        radial-gradient(ellipse at 10% 110%, rgba(249, 117, 25, .18), transparent 48%),
        linear-gradient(105deg, rgba(124, 20, 20, .52), rgba(30, 30, 30, .5) 58%);
    backdrop-filter: blur(8px);
}

body[data-page="main"] .content-card {
    background: rgba(30, 30, 30, .48);
    backdrop-filter: blur(8px);
}

body[data-page="main"] .track-history .track-list {
    border: 0;
    border-radius: 0;
    background: transparent;
}

.discovery-strip h2 {
    margin: 0 0 7px;
    font-size: clamp(20px, 3vw, 29px);
    letter-spacing: -.03em;
}

.discovery-strip p:not(.eyebrow) {
    margin: 0;
    color: #d0c5c2;
    font-size: 13px;
}

.primary-link,
.primary-button {
    min-height: 42px;
    padding: 0 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #fff;
    border: 0;
    border-radius: 9px;
    background: #9d0101;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.primary-link:hover,
.primary-button:hover {
    color: #fff;
    background: #f97519;
}

.page-heading {
    margin: 4px 0 22px;
}

.page-heading h1 {
    margin: 0 0 8px;
    font-size: clamp(30px, 4vw, 42px);
    letter-spacing: -.045em;
}

.page-heading > p:last-child {
    max-width: 640px;
    margin: 0;
    color: #9da3a5;
    font-size: 14px;
    line-height: 1.6;
}

#route-content {
    min-height: 250px;
}

.loading-state,
.empty-state {
    min-height: 100px;
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #969c9e;
    font-size: 13px;
}

.loading-state.compact {
    min-height: 44px;
    padding: 8px 0;
}

.loading-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, .14);
    border-top-color: #f97519;
    border-radius: 50%;
    animation: spin 750ms linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.notice {
    margin: 16px 0;
    padding: 14px 16px;
    color: #d3d5d5;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px;
    background: rgba(255, 255, 255, .035);
    font-size: 13px;
    line-height: 1.5;
}

.notice-error {
    color: #ffc184;
    border-color: rgba(249, 117, 25, .25);
    background: rgba(124, 20, 20, .22);
}

.account-navigation-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.account-navigation-avatar,
.account-profile-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 6px;
    background: linear-gradient(135deg, #f97519, #9d0101);
    font-weight: 700;
}

.account-navigation-avatar {
    position: relative;
    width: 25px;
    height: 25px;
    overflow: hidden;
    font-size: 12px;
}

.account-navigation-link.is-sign-in {
    color: #e8f1ff;
    border: 1px solid rgba(147, 190, 255, .38);
    background: rgba(37, 100, 177, .34);
}

.account-navigation-link.is-sign-in:hover {
    color: #fff;
    background: rgba(48, 119, 205, .58);
}

.account-navigation-avatar[hidden] {
    display: none;
}

.account-navigation-avatar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.account-profile-avatar {
    width: 58px;
    height: 58px;
    font-size: 23px;
}

.profile-avatar-image {
    display: block;
    width: 58px;
    height: 58px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
}

.profile-avatar-editor-image {
    width: 250px;
    height: 250px;
    border-radius: 16px;
}

.avatar-change-button {
    min-height: 38px;
    margin-bottom: 12px;
    padding: 0 16px;
    color: #fff;
    border: 1px solid rgba(249, 117, 25, .48);
    border-radius: 8px;
    background: rgba(249, 117, 25, .16);
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
}

.avatar-change-button:hover {
    background: rgba(249, 117, 25, .28);
}

.account-edit-card {
    margin-top: 20px;
    padding: 22px;
}

.account-profile-form {
    display: grid;
    grid-template-columns: minmax(190px, .75fr) minmax(0, 1.25fr);
    gap: 28px;
}

.profile-avatar-editor {
    min-width: 0;
}

.profile-avatar-current {
    min-height: 264px;
    margin-bottom: 14px;
}

.profile-file-label,
.account-fields label {
    display: block;
    margin-bottom: 14px;
    color: #c4c7c7;
    font-size: 12px;
    font-weight: 700;
}

.account-fields label[hidden] {
    display: none;
}

.profile-file-label input {
    display: block;
    width: 100%;
    margin-top: 9px;
    color: #aab0b1;
    font-size: 12px;
}

.profile-file-label[hidden] {
    display: none;
}

.country-select-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
}

.account-fields .country-select-wrap select {
    flex: 1;
    min-width: 0;
    margin-top: 0;
}

.country-flag-preview {
    width: 48px;
    height: 36px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 5px;
    background: #fff;
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
    font-size: 27px;
    line-height: 1;
}

.country-flag-preview[hidden],
.country-flag-preview img[hidden],
.country-flag-preview span[hidden] {
    display: none;
}

.country-flag-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-help,
.optional-label {
    color: #9ca2a4;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5;
}

.avatar-crop-controls {
    display: grid;
    justify-items: start;
    gap: 12px;
    margin-top: 14px;
}

.avatar-crop-controls[hidden] {
    display: none;
}

#avatar-crop-canvas {
    display: block;
    width: min(100%, 300px);
    height: auto;
    aspect-ratio: 1 / 1;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 8px;
    background: #fff;
    cursor: move;
    touch-action: none;
}

.avatar-zoom-label {
    width: min(100%, 300px);
    display: grid;
    gap: 8px;
    color: #c4c7c7;
    font-size: 12px;
}

.avatar-zoom-label input {
    width: 100%;
    accent-color: var(--color-primary);
}

.account-fields {
    min-width: 0;
}

.account-fields input,
.account-fields select {
    display: block;
    width: 100%;
    min-width: 0;
    height: 42px;
    margin-top: 6px;
    padding: 0 12px;
    color: #f1f1f0;
    border: 1px solid rgba(255, 235, 222, .16);
    border-radius: 8px;
    outline: none;
    background: rgba(40, 34, 35, .9);
    font-size: 13px;
}

.account-fields select option {
    color: #fff;
    background: #292323;
}

.account-fields .primary-button {
    width: 100%;
}

.account-fields .form-status,
.profile-avatar-editor .form-status {
    min-height: 18px;
    margin: 8px 0 0;
    color: #b8bfc0;
    font-size: 12px;
    line-height: 1.5;
}

.account-fields .form-status.is-error,
.profile-avatar-editor .form-status.is-error {
    color: #ff9b94;
}

.account-fields .form-status.is-success,
.profile-avatar-editor .form-status.is-success {
    color: #b8d9b8;
}

.account-overview {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px;
}

.account-profile-copy {
    min-width: 0;
    flex: 1;
}

.account-profile-copy h2 {
    margin: 4px 0;
    overflow-wrap: anywhere;
}

.account-profile-copy p:last-child {
    margin: 0;
    color: var(--color-text-muted);
}

.account-profile-copy p strong {
    color: #fff;
}

.user-bar {
    padding: 8px 10px;
    border: 1px solid rgba(165, 180, 202, .18);
    border-radius: 14px;
    background: rgba(31, 36, 44, .97);
}

.user-bar-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.user-pill {
    padding: 7px 14px;
    color: #e8edf5;
    font: inherit;
    font-size: 14px;
    line-height: 1.2;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
    text-decoration: none;
    cursor: pointer;
    list-style: none;
    transition: border-color 160ms ease, background-color 160ms ease;
}

.user-pill::-webkit-details-marker {
    display: none;
}

.user-pill:hover {
    border-color: rgba(249, 117, 25, .55);
    background: rgba(249, 117, 25, .1);
}

.user-pill.is-current {
    border-color: rgba(249, 117, 25, .75);
    background: rgba(249, 117, 25, .18);
}

.user-pill.is-admin {
    border-color: rgba(96, 165, 250, .35);
    background: rgba(37, 99, 174, .16);
}

.user-pill.is-admin:hover {
    border-color: rgba(96, 165, 250, .7);
    background: rgba(37, 99, 174, .3);
}

.user-bar-sep {
    width: 1px;
    height: 22px;
    margin: 0 4px;
    background: rgba(255, 255, 255, .16);
}

.user-pill-group {
    position: relative;
}

.user-pill-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 20;
    min-width: 160px;
    padding: 6px;
    display: grid;
    gap: 2px;
    border: 1px solid rgba(96, 165, 250, .35);
    border-radius: 10px;
    background: #1c2a3d;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .4);
}

.user-pill-menu button,
.user-pill-menu a {
    display: block;
    padding: 8px 10px;
    color: #e8f2ff;
    font: inherit;
    font-size: 14px;
    text-align: left;
    border: 0;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    text-decoration: none;
}

.user-pill-menu button:hover,
.user-pill-menu a:hover {
    background: rgba(96, 165, 250, .25);
}

.account-tools {
    margin-top: 0;
    border-color: rgba(165, 180, 202, .18);
    background: linear-gradient(135deg, rgba(39, 45, 54, .97), rgba(31, 36, 44, .97));
}

.account-tools .section-heading,
.admin-tools .section-heading {
    min-height: 0;
    padding: 16px 24px 10px;
    border-bottom: 0;
}

.account-tool-grid {
    padding: 0 24px 18px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
}

.account-tool {
    min-height: 92px;
    padding: 13px 16px;
    display: grid;
    align-content: start;
    gap: 5px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    background: rgba(255, 255, 255, .045);
    text-decoration: none;
    transition: border-color 160ms ease, background-color 160ms ease;
}

.account-tool:hover {
    border-color: rgba(249, 117, 25, .55);
    background: rgba(249, 117, 25, .09);
}

.account-tool.is-current {
    border-color: rgba(249, 117, 25, .72);
    background: rgba(249, 117, 25, .13);
}

.account-tool > span {
    color: #f97519;
    font-size: 18px;
}

.account-tool small {
    color: var(--color-text-muted);
}

.admin-tools {
    margin-top: 20px;
    border-color: rgba(96, 165, 250, .38);
    background: linear-gradient(145deg, rgba(28, 47, 70, .97), rgba(31, 39, 52, .97));
}

.admin-tool-grid {
    padding: 0 24px 18px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
}

.admin-tool,
.admin-tool-subitem {
    min-height: 58px;
    padding: 11px 14px;
    display: grid;
    align-content: start;
    gap: 4px;
    color: #e8f2ff;
    text-align: left;
    border: 1px solid rgba(96, 165, 250, .28);
    border-radius: 10px;
    background: rgba(37, 99, 174, .18);
    cursor: pointer;
    transition: border-color 160ms ease, background-color 160ms ease;
}

.admin-tool:hover,
.admin-tool-subitem:hover {
    border-color: rgba(96, 165, 250, .7);
    background: rgba(37, 99, 174, .32);
}

.admin-tool > span {
    color: #93c5fd;
    font-weight: 700;
}

.admin-tool small,
.admin-tool-subitem small {
    color: #a9bdd7;
}

.admin-tool-group {
    min-width: 0;
    border: 1px solid rgba(96, 165, 250, .28);
    border-radius: 10px;
    background: rgba(37, 99, 174, .12);
}

.admin-tool-group summary {
    padding: 11px 14px;
    color: #d7e9ff;
    font-weight: 700;
    cursor: pointer;
}

.admin-tool-submenu {
    padding: 0 10px 10px;
    display: grid;
    gap: 6px;
}

.admin-tool-subitem {
    width: 100%;
}

.admin-row {
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px;
    background: rgba(255, 255, 255, .03);
}

.admin-row > summary {
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    list-style: none;
}

.admin-row > summary::-webkit-details-marker {
    display: none;
}

.admin-row > summary:hover,
.admin-row[open] > summary {
    background: rgba(249, 117, 25, .08);
}

.admin-row > summary strong {
    min-width: 0;
}

.admin-row > summary small {
    margin-left: auto;
    color: var(--color-text-muted);
    white-space: nowrap;
}

.admin-row > summary span {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-row > .admin-record {
    margin: 0;
    border-radius: 0 0 10px 10px;
}

.admin-row-add > summary {
    color: #f97519;
}

.admin-user-row > summary {
    display: grid;
    grid-template-columns: 24px 32px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}

.admin-user-row > summary small {
    margin-left: 0;
}

.admin-chat-row {
    padding: 8px 14px;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) auto;
    align-items: start;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px;
    background: rgba(255, 255, 255, .03);
}

.admin-chat-row:hover,
.admin-chat-row.is-editing {
    background: rgba(249, 117, 25, .08);
}

.admin-chat-meta {
    display: flex;
    gap: 10px;
    align-items: baseline;
}

.admin-chat-meta time {
    color: var(--color-text-muted);
    font-size: 12px;
}

.admin-chat-text {
    margin: 2px 0 0;
    overflow-wrap: anywhere;
}

.admin-chat-row .form-status {
    margin: 4px 0 0;
}

.admin-chat-edit,
.admin-chat-row.is-editing .admin-chat-text,
.admin-chat-row.is-editing .admin-chat-view-only,
.admin-chat-edit-only {
    display: none;
}

.admin-chat-row.is-editing .admin-chat-edit {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 8px 10px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 7px;
    background: rgba(15, 17, 20, .8);
    resize: vertical;
}

.admin-chat-row.is-editing .admin-chat-edit-only {
    display: inline-flex;
}

.admin-chat-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.admin-chat-icon {
    width: 30px;
    height: 30px;
    color: inherit;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 7px;
    background: transparent;
    cursor: pointer;
}

.admin-chat-icon.is-danger {
    color: #fecaca;
    border-color: rgba(248, 113, 113, .38);
}

.admin-user-flag {
    width: 24px;
    height: 16px;
    display: block;
    object-fit: cover;
    border-radius: 2px;
}

.admin-user-flag.is-empty {
    background: rgba(255, 255, 255, .08);
}

.admin-user-avatar {
    width: 32px;
    height: 32px;
    display: block;
    object-fit: cover;
    border-radius: 6px;
    background: rgba(255, 255, 255, .08);
}

.admin-user-photo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-user-photo .admin-user-avatar {
    width: 64px;
    height: 64px;
}

.admin-avatar-label {
    cursor: pointer;
}

.admin-user-dates {
    margin: 0;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    color: var(--color-text-muted);
    font-size: 13px;
}

.admin-show-row > summary {
    display: grid;
    grid-template-columns: 36px 52px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}

.admin-show-row > summary small {
    margin-left: 0;
}

.admin-show-logo {
    width: 36px;
    height: 36px;
    display: block;
    object-fit: cover;
    border-radius: 6px;
    background: rgba(255, 255, 255, .08);
}

.admin-show-photo {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    flex-wrap: wrap;
}

.admin-show-logo-large {
    width: 140px;
    height: 140px;
    display: block;
    object-fit: cover;
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
}

.admin-day {
    display: grid;
    gap: 6px;
}

.admin-day h3 {
    margin: 10px 0 2px;
    font-size: 15px;
}

.admin-day h3 small {
    color: var(--color-text-muted);
}

.admin-panel {
    margin-top: 20px;
    scroll-margin-top: 24px;
}

.admin-panel[hidden] {
    display: none;
}

.admin-record-list {
    display: grid;
    gap: 12px;
}

.admin-record {
    min-width: 0;
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    align-items: end;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 10px;
    background: rgba(255, 255, 255, .035);
}

.admin-record-heading {
    min-width: 0;
    display: grid;
    align-content: center;
    gap: 5px;
}

.admin-record-heading strong {
    overflow-wrap: anywhere;
}

.admin-record-heading small,
.admin-ip-stream > h3 {
    color: var(--color-text-muted);
}

.admin-record label {
    min-width: 0;
    display: grid;
    gap: 6px;
    color: var(--color-text-muted);
    font-size: 13px;
}

.admin-record input:not([type="checkbox"]),
.admin-record select,
.admin-record textarea {
    width: 100%;
    min-width: 0;
    padding: 10px 11px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 7px;
    background: rgba(15, 17, 20, .8);
}

.admin-record select option {
    color: #fff;
    background: #17191c;
}

.admin-record textarea {
    resize: vertical;
}

.admin-record .form-status {
    grid-column: 1 / -1;
    margin: 0;
}

.admin-week-fields {
    min-width: 0;
    margin: 0;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
}

.admin-schedule-main {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.admin-schedule-main > .admin-record-heading {
    flex: 0 0 140px;
}

.admin-schedule-fields {
    flex: 1;
    min-width: 0;
    display: grid;
    gap: 12px;
}

.admin-schedule-record .admin-week-fields,
.admin-description-field {
    grid-column: 1 / -1;
}

.admin-description-field textarea {
    min-height: 180px;
}

@media (max-width: 520px) {
    .admin-schedule-main {
        flex-direction: column;
    }
}

.admin-week-fields legend {
    padding: 0 5px;
    color: var(--color-text-muted);
    font-size: 13px;
}

.admin-week-fields label {
    display: flex;
    align-items: center;
    gap: 5px;
}

.admin-danger-button {
    min-height: 42px;
    padding: 10px 14px;
    color: #fecaca;
    border: 1px solid rgba(248, 113, 113, .38);
    border-radius: 8px;
    background: rgba(153, 27, 27, .22);
    cursor: pointer;
}

.admin-danger-button:hover {
    background: rgba(153, 27, 27, .4);
}

.admin-ip-streams {
    display: grid;
    gap: 14px;
}

.admin-ip-stream {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px;
}

.admin-ip-stream > h3 {
    margin: 0 0 10px;
}

.admin-ip-list {
    display: grid;
    gap: 7px;
}

.admin-ip-list > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.admin-ip-list code {
    color: #bfdbfe;
}

.admin-ip-list span {
    color: var(--color-text-muted);
}

.schedule-card,
.chat-card,
.analytics-card,
.legacy-form-card {
    padding-bottom: 10px;
}

.schedule-toolbar,
.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.schedule-toolbar {
    padding: 22px 22px 10px;
}

.schedule-toolbar h2 {
    margin: 0;
    font-size: 24px;
}

.day-tabs {
    margin: 12px 20px 10px;
    padding: 4px;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    border-radius: 10px;
    background: rgba(38, 32, 33, .85);
}

.day-tab {
    padding: 10px 4px;
    color: #969c9e;
    border: 0;
    border-radius: 7px;
    background: transparent;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
}

.day-tab.is-active {
    color: #fff;
    background: #9d0101;
}

.schedule-list .show-row {
    min-height: 76px;
}

.schedule-list .show-avatar {
    width: 128px;
    height: 128px;
    flex-basis: 128px;
}

.show-meta p {
    margin: 6px 0 0;
    color: #9da2a4;
    font-size: 12px;
    line-height: 1.6;
}

.feed-toolbar,
.playlist-toolbar {
    margin-bottom: 18px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.search-field {
    min-width: 220px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #c6b8b5;
    border: 1px solid rgba(255, 235, 222, .14);
    border-radius: 9px;
    background: rgba(40, 34, 35, .76);
    padding: 0 12px;
}

.search-field input,
.create-playlist-form input,
.chat-composer input,
.auth-form input {
    width: 100%;
    min-width: 0;
    height: 42px;
    color: #f1f1f0;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 13px;
}

.search-field input::placeholder,
.create-playlist-form input::placeholder,
.chat-composer input::placeholder {
    color: #747b7d;
}

.feed-count {
    color: #909698;
    font-size: 12px;
}

.episode-grid,
.playlist-grid,
.about-values,
.stats-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.podcast-inline-player {
    margin-bottom: 18px;
    padding: 18px 22px;
}

.podcast-inline-player[hidden] {
    display: none !important;
}

.podcast-player-heading {
    display: flex;
    align-items: center;
    gap: 14px;
}

.podcast-player-actions {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
}

.podcast-action-button {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    color: #d7cdca;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    font-size: 19px;
}

.podcast-action-button:hover {
    color: #ffad68;
    background: rgba(249, 117, 25, .12);
}

.podcast-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.podcast-download svg {
    display: block;
}

.podcast-player-cover {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: 8px;
    background: #2a2525;
    object-fit: cover;
}

.podcast-player-title {
    min-width: 0;
    flex: 1;
}

.podcast-player-title .eyebrow {
    margin: 0 0 4px;
}

.podcast-player-title h2 {
    overflow: hidden;
    margin: 0;
    color: #fff6f1;
    font-size: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.podcast-player-title > p:last-child {
    overflow: hidden;
    margin: 4px 0 0;
    color: #c0b4b1;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.podcast-player-toggle {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    color: #fff;
    border: 0;
    border-radius: 50%;
    background: #a51a1a;
    box-shadow: 0 5px 16px rgba(0, 0, 0, .28);
    cursor: pointer;
    font-size: 18px;
}

.podcast-player-toggle:hover {
    background: #c3261c;
}

.podcast-player-timeline {
    margin-top: 15px;
}

.podcast-waveform {
    position: relative;
    height: 72px;
    overflow: hidden;
    border-radius: 5px;
    background: rgba(15, 15, 15, .22);
    --playback-progress: 0%;
}

.podcast-wave-image {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 180px;
    max-width: none;
    object-fit: fill;
    transform: translateY(-50%);
}

.podcast-wave-progress {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    background: rgba(249, 117, 25, .32);
    mix-blend-mode: screen;
    pointer-events: none;
}

.podcast-wave-bars {
    position: absolute;
    inset: 3px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2px;
    padding: 0 2px;
    pointer-events: none;
}

.podcast-wave-bars span {
    min-width: 1px;
    flex: 1 1 0;
    border-radius: 2px;
    background: linear-gradient(90deg, #f97519 0, #f97519 var(--playback-progress), rgba(255, 255, 255, .3) var(--playback-progress), rgba(255, 255, 255, .3) 100%);
}

.podcast-waveform.has-image .podcast-wave-bars {
    display: none;
}

.podcast-seek {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    appearance: none;
    background: transparent;
    cursor: pointer;
}

.podcast-seek:disabled {
    cursor: wait;
}

.podcast-seek::-webkit-slider-runnable-track {
    height: 100%;
    background: transparent;
}

.podcast-seek::-moz-range-track {
    height: 100%;
    background: transparent;
}

.podcast-seek::-webkit-slider-thumb {
    width: 12px;
    height: 12px;
    appearance: none;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #f97519;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .45);
}

.podcast-seek::-moz-range-thumb {
    width: 9px;
    height: 9px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #f97519;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .45);
}

.podcast-player-times {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    color: #c0b4b1;
    font-size: 10px;
    font-variant-numeric: tabular-nums;
}

.episode-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 229, 218, .13);
    border-radius: 13px;
    background: rgba(49, 41, 42, .86);
}

.episode-cover {
    position: relative;
    display: block;
    width: 100%;
    flex: 0 0 auto;
    padding: 0;
    color: inherit;
    text-align: left;
    border: 0;
    aspect-ratio: 1.5 / 1;
    overflow: hidden;
    background: #2a2525;
    cursor: pointer;
}

.episode-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 260ms ease;
}

.episode-card:hover .episode-cover img {
    transform: scale(1.04);
}

.cover-play {
    width: 34px;
    height: 34px;
    position: absolute;
    right: 9px;
    bottom: 9px;
    display: grid;
    place-items: center;
    color: #fff;
    border: 0;
    border-radius: 50%;
    background: #9d0101;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
}

.cover-play svg {
    display: block;
}

.episode-info {
    flex: 1;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
}

.episode-info h3 {
    min-height: 4.05em;
    margin: 0 0 8px;
    display: -webkit-box;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.episode-actions {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 4px;
    padding-top: 4px;
}

.episode-action-button {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #c0b4b1;
    border: 0;
    border-radius: 7px;
    background: transparent;
    cursor: pointer;
    font-size: 15px;
    text-decoration: none;
}

.episode-action-button:hover {
    color: #ffad68;
    background: rgba(249, 117, 25, .12);
}

.episode-action-button.like-button {
    width: auto;
    min-width: 36px;
    gap: 4px;
    font-size: 12px;
}

.episode-action-button.like-button.is-liked {
    color: #f97519;
}

.episode-download svg {
    display: block;
}

.mixshow-back {
    display: inline-block;
    margin-bottom: 14px;
}

.mixshow-detail {
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.mixshow-detail-cover {
    width: 220px;
    height: 220px;
    flex: 0 0 220px;
    border-radius: 12px;
    background: #2a2525;
    object-fit: cover;
}

.mixshow-detail-copy {
    min-width: 0;
}

.mixshow-detail-copy h2 {
    margin: 4px 0;
    color: #fff6f1;
    font-size: 24px;
}

.mixshow-author {
    margin: 0;
    color: #ff9a4a;
    font-size: 13px;
}

.mixshow-likes {
    margin: 0 0 12px;
    color: var(--color-text-muted);
}

.mixshow-likes strong {
    color: #f97519;
}

.like-button.is-liked {
    color: #f97519;
}

.mixshow-description {
    margin: 16px 0 0;
    color: #c0b4b1;
    font-size: 13px;
    line-height: 1.7;
}

.mixshow-schedule {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .09);
}

.mixshow-schedule h3 {
    margin: 0 0 8px;
    color: #fff6f1;
    font-size: 13px;
}

.mixshow-schedule ul {
    margin: 0;
    padding-left: 18px;
    color: #c0b4b1;
    font-size: 12px;
    line-height: 1.7;
}

.mixshow-schedule p {
    margin: 0;
    color: #c0b4b1;
    font-size: 12px;
}

.mixshow-episodes {
    margin-top: 20px;
}

.mixshow-episode-list {
    padding: 4px 18px;
    border: 1px solid rgba(255, 229, 218, .1);
    border-radius: 12px;
    background: rgba(30, 30, 30, .48);
    backdrop-filter: blur(8px);
}

.mixshow-episode-row {
    padding: 4px 2px;
    border-bottom: 1px solid rgba(255, 255, 255, .055);
}

.mixshow-episode-row:last-child {
    border-bottom: 0;
}

.mixshow-episode-row .chart-row-main {
    gap: 12px;
}

.mixshow-episode-actions {
    display: flex;
    align-items: center;
    gap: 5px;
}

.mixshow-episode-actions .like-button {
    width: auto;
    min-width: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    white-space: nowrap;
}

.mixshow-episode-actions .mixshow-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.mixshow-episode-actions .mixshow-download svg {
    display: block;
}

.chart-intro {
    margin-bottom: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(110deg, #382020, #202224 76%);
}

.chart-intro h2 {
    margin: 0 0 7px;
    font-size: 26px;
}

.chart-intro p:last-child {
    margin: 0;
    color: #a3a8aa;
    font-size: 13px;
}

.chart-orbit {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    color: #ffb66f;
    border: 1px solid rgba(249, 117, 25, .35);
    border-radius: 50%;
    background: rgba(249, 117, 25, .09);
    font-size: 22px;
    font-weight: 700;
}

.chart-list,
.track-list {
    padding: 0 20px;
    border: 1px solid rgba(255, 229, 218, .1);
    border-radius: 12px;
    background: rgba(41, 35, 36, .76);
}

.chart-row {
    min-height: 72px;
    margin: 4px -8px;
    padding: 6px 8px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border-bottom-color: transparent;
    border-radius: 8px;
}

.chart-row-main {
    width: 100%;
    min-height: 58px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 13px;
}

.chart-row-player {
    width: 100%;
    flex: 0 0 auto;
    margin: 0 0 8px;
    padding: 0 4px 2px 40px;
}

.chart-row-player[hidden] {
    display: none;
}

.chart-waveform {
    position: relative;
    height: 38px;
    overflow: hidden;
    border-radius: 5px;
    background: rgba(15, 15, 15, .28);
    --playback-progress: 0%;
}

.chart-wave-bars {
    position: absolute;
    inset: 3px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2px;
    padding: 0 2px;
    pointer-events: none;
}

.chart-wave-bars span {
    min-width: 1px;
    flex: 1 1 0;
    border-radius: 2px;
    background: linear-gradient(90deg, #f97519 0, #f97519 var(--playback-progress), rgba(255, 255, 255, .3) var(--playback-progress), rgba(255, 255, 255, .3) 100%);
}

.chart-wave-progress {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    background: rgba(249, 117, 25, .3);
    mix-blend-mode: screen;
    pointer-events: none;
}

.chart-seek {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    appearance: none;
    background: transparent;
    cursor: pointer;
}

.chart-seek:disabled {
    cursor: wait;
}

.chart-seek::-webkit-slider-runnable-track,
.chart-seek::-moz-range-track {
    height: 100%;
    background: transparent;
}

.chart-seek::-webkit-slider-thumb {
    width: 10px;
    height: 10px;
    appearance: none;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #f97519;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .45);
}

.chart-seek::-moz-range-thumb {
    width: 7px;
    height: 7px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #f97519;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .45);
}

.chart-player-times {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
    color: #c0b4b1;
    font-size: 10px;
    font-variant-numeric: tabular-nums;
}

.chart-row.chart-tier-one {
    background: rgba(249, 117, 25, .14);
}

.chart-row.chart-tier-two {
    background: rgba(177, 75, 38, .12);
}

.chart-row.chart-tier-three {
    background: rgba(111, 54, 48, .13);
}

.chart-artwork-thumb {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
}

.chart-play-button {
    color: #ffad68;
    background: rgba(249, 117, 25, .1);
}

.vote-button {
    width: 34px;
    height: 34px;
    color: #ffab5d;
    border: 1px solid rgba(249, 117, 25, .24);
    border-radius: 9px;
    background: rgba(249, 117, 25, .08);
    cursor: pointer;
}

.auth-card {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    overflow: hidden;
}

.auth-art {
    min-height: 410px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(145deg, rgba(165, 26, 26, .66), rgba(30, 30, 30, .84)), url("../img/mixshows_cover.webp") center / cover;
}

.auth-art > span {
    margin-bottom: auto;
    font-size: 54px;
}

.auth-art p {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.auth-form {
    max-width: 520px;
    padding: 36px clamp(22px, 5vw, 62px);
}

.auth-form h2,
.playlist-toolbar h2 {
    margin: 0 0 9px;
    font-size: 25px;
}

.auth-form > p:not(.eyebrow) {
    color: #9ca2a4;
    font-size: 13px;
    line-height: 1.6;
}

.auth-form form {
    margin-top: 22px;
}

.auth-form label {
    margin-bottom: 14px;
    display: block;
    color: #c4c7c7;
    font-size: 11px;
    font-weight: 700;
}

.auth-form input {
    margin-top: 6px;
    padding: 0 12px;
    display: block;
    border: 1px solid rgba(255, 235, 222, .16);
    border-radius: 8px;
    background: rgba(40, 34, 35, .9);
}

.auth-form .primary-button {
    width: 100%;
    margin-top: 4px;
}

.auth-secondary-button {
    width: 100%;
    min-height: 38px;
    margin-top: 8px;
    color: #d7e8ff;
    border: 1px solid rgba(147, 190, 255, .32);
    border-radius: 8px;
    background: rgba(37, 100, 177, .2);
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    transition: background-color 160ms ease, border-color 160ms ease;
}

.auth-secondary-button:hover {
    border-color: rgba(147, 190, 255, .58);
    background: rgba(48, 119, 205, .35);
}

.form-status {
    min-height: 18px;
    color: #ff9b94;
    font-size: 12px;
}

.auth-form label small {
    display: block;
    margin-top: 5px;
    color: #9ca2a4;
    font-size: 10px;
    font-weight: 400;
}

.auth-form .muted-link {
    display: inline-block;
    margin-top: 8px;
}

.playlist-toolbar {
    flex-wrap: wrap;
}

.create-playlist-form {
    width: 100%;
    display: flex;
    gap: 10px;
}

.create-playlist-form input {
    padding: 0 13px;
    border: 1px solid rgba(255, 235, 222, .14);
    border-radius: 8px;
    background: rgba(40, 34, 35, .82);
}

.playlist-card {
    min-width: 0;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    color: #fff6f1;
    border: 1px solid rgba(255, 229, 218, .14);
    border-radius: 12px;
    background: rgba(50, 42, 43, .87);
    cursor: pointer;
}

.playlist-card:hover,
.playlist-card.is-selected {
    border-color: rgba(249, 117, 25, .5);
}

.playlist-cover {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: grid;
    place-items: center;
    color: #ffbd82;
    border-radius: 9px;
    background: linear-gradient(140deg, #9d0101, #3b0b0b);
    font-size: 23px;
}

.playlist-card-copy {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.playlist-card-copy strong {
    overflow: hidden;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.playlist-card-copy small {
    color: #92989a;
    font-size: 10px;
}

.playlist-detail {
    margin-top: 18px;
}

.playlist-search {
    padding: 18px 20px 0;
}

.catalog-result {
    padding: 11px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.catalog-result > span {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.catalog-result strong {
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.catalog-result small {
    color: #949a9c;
    font-size: 10px;
}

.danger-action {
    color: #ff8a84;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.chat-signin {
    margin: 12px 20px 20px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 235, 222, .12);
    border-radius: 10px;
    background: rgba(41, 34, 35, .58);
    color: #a3a8aa;
    font-size: 13px;
}

.chat-signin p {
    margin: 0;
}

.chat-signin .primary-link {
    margin-top: 8px;
}

body[data-page="main"] .home-chat-card {
    margin-top: 24px;
}

body[data-page="main"] .home-partners-card {
    margin-top: 20px;
    margin-bottom: 0;
}

body[data-page="main"] .main-content {
    margin-bottom: 20px;
}

.partner-links {
    min-height: 68px;
    padding: 14px 24px 16px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.partner-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 35px;
}

.partner-links .partner-app-link {
    gap: 8px;
    margin-left: auto;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.partner-links .partner-app-link:hover {
    color: var(--color-primary);
}

.google-play-icon {
    display: block;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
}

.partner-links img {
    display: block;
    width: auto;
    max-width: min(100%, 220px);
    height: 35px;
    object-fit: contain;
}

.home-chat-card .chat-messages {
    max-height: 340px;
    padding-bottom: 14px;
}

.chat-composer {
    margin: 12px 20px 20px;
    padding: 8px;
    display: grid;
    gap: 8px;
    border: 1px solid rgba(255, 235, 222, .14);
    border-radius: 10px;
    background: rgba(41, 34, 35, .9);
}

.chat-smiley-bar {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    padding: 2px 0 7px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    scrollbar-width: thin;
}

.chat-smiley-button {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: grid;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
}

.chat-smiley-button:hover,
.chat-smiley-button:focus-visible {
    border-color: rgba(249, 117, 25, .48);
    background: rgba(249, 117, 25, .12);
}

.chat-composer-row {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-composer input:not([type="hidden"]),
.chat-editor {
    flex: 1;
}

.chat-editor {
    min-width: 0;
    min-height: 42px;
    max-height: 100px;
    overflow-y: auto;
    padding: 12px 0;
    color: #f1f1f0;
    outline: none;
    font-size: 13px;
    line-height: 18px;
    overflow-wrap: anywhere;
}

.chat-editor:empty:before {
    color: #747b7d;
    content: attr(data-placeholder);
    pointer-events: none;
}

.chat-editor-smilie {
    width: 18px;
    height: 18px;
    margin: 0 1px;
    vertical-align: middle;
    object-fit: contain;
}

.chat-user {
    padding: 0 8px;
    color: #f18a83;
    font-size: 11px;
    font-weight: 700;
}

.chat-composer .primary-button {
    min-height: 36px;
}

.chat-messages {
    max-height: 560px;
    overflow: auto;
    padding: 8px 22px 20px;
}

.chat-message {
    padding: 13px 0;
    display: flex;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.chat-message.is-replyable {
    cursor: pointer;
}

.chat-message.is-replyable:hover,
.chat-message.is-replyable:focus-visible {
    outline: none;
    background: rgba(249, 117, 25, .06);
}

.chat-avatar {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: block;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 6px;
    background: rgba(15, 15, 15, .55);
    object-fit: cover;
}

.chat-smilie {
    width: 15px;
    height: 15px;
    display: inline-block;
    margin: 0 1px;
    vertical-align: text-bottom;
    object-fit: contain;
}

.chat-message-body {
    min-width: 0;
    flex: 1;
}

.chat-message-body > div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-message-body strong {
    color: #eee;
    font-size: 12px;
}

.chat-message time {
    color: #7d8587;
    font-size: 10px;
}

.chat-message p {
    margin: 6px 0 0;
    color: #b8bdbd;
    font-size: 12px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.stats-cards {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

.stat-card {
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    border: 1px solid rgba(255, 229, 218, .13);
    border-radius: 8px;
    background: rgba(50, 42, 43, .87);
}

.stat-card > span,
.stat-card small {
    color: #969c9e;
    font-size: 10px;
}

.stat-card strong {
    font-size: 20px;
}

.stats-group {
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px;
    background: rgba(255, 255, 255, .03);
}

.stats-group > summary {
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    list-style: none;
}

.stats-group > summary::-webkit-details-marker {
    display: none;
}

.stats-group > summary::before {
    content: "▸";
    margin-right: 8px;
    color: #f97519;
}

.stats-group[open] > summary::before {
    content: "▾";
}

.stats-group > summary strong {
    flex: 1;
}

.stats-group > summary small {
    color: var(--color-text-muted);
}

.stats-group > summary:hover,
.stats-group[open] > summary {
    background: rgba(249, 117, 25, .08);
}

.stats-group-body {
    padding: 12px;
}

.stats-group-body > .analytics-card {
    margin-top: 12px;
}

.listeners-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
}

.listeners-detail-stream h3 {
    margin: 0 0 8px;
    font-size: 14px;
}

.listeners-detail-scroll {
    max-height: 320px;
    overflow: auto;
}

.listeners-detail table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.listeners-detail th,
.listeners-detail td {
    padding: 4px 8px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.listeners-detail th {
    position: sticky;
    top: 0;
    color: #969c9e;
    font-weight: 600;
    background: #1f1b1c;
}

.listeners-detail td:nth-child(2) {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.listeners-detail td:last-child {
    white-space: nowrap;
}

.analytics-card {
    padding-bottom: 22px;
}

.listeners-ranges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.range-button {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.listeners-svg {
    display: block;
    width: 100%;
    height: 100%;
}

.listeners-plot {
    position: relative;
    height: 200px;
    margin: 20px 20px 0 56px;
}

.listeners-y span {
    position: absolute;
    left: -40px;
    width: 32px;
    text-align: right;
    transform: translateY(-50%);
    font-size: 11px;
    opacity: 0.7;
}

.listeners-x {
    display: flex;
    justify-content: space-between;
    margin: 6px 20px 16px 56px;
    font-size: 11px;
    opacity: 0.7;
}

.listeners-legend {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    padding: 14px 20px 0;
    font-size: 14px;
}

.listeners-legend i {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
}

.analytics-chart {
    height: 220px;
    margin: 20px 20px 0;
    display: flex;
    align-items: stretch;
    gap: 6px;
    overflow-x: auto;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.stat-bar-column {
    min-width: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

.stat-bar-column span {
    color: #aeb2b3;
    font-size: 9px;
}

.stat-bar-column i {
    width: min(20px, 72%);
    min-height: 3px;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(180deg, #f97519, #9d0101);
}

.stat-bar-column small {
    padding: 3px 0 7px;
    color: #858b8d;
    font-size: 8px;
    white-space: nowrap;
}

.stat-bar-column.is-missing {
    opacity: .48;
}

.analytics-footnote {
    margin: 10px 20px 0;
    color: #858b8d;
    font-size: 10px;
}

.legacy-frame {
    width: 100%;
    min-height: 480px;
    border: 0;
    border-radius: 10px;
    background: #fff;
}

.section-copy {
    padding: 0 22px;
    color: #a0a6a8;
    font-size: 13px;
    line-height: 1.6;
}

.about-hero {
    padding: clamp(22px, 5vw, 50px);
    display: grid;
    grid-template-columns: minmax(180px, .7fr) minmax(0, 1.3fr);
    align-items: center;
    gap: 44px;
    background: linear-gradient(125deg, #2b2021, #1d2021 65%);
}

.about-logo {
    min-height: 200px;
    display: grid;
    place-items: center;
}

.about-logo img {
    width: min(100%, 330px);
    max-height: 180px;
    height: auto;
    object-fit: contain;
}

.about-copy h2 {
    margin: 10px 0 16px;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.1;
    letter-spacing: -.04em;
}

.about-copy > p:not(.eyebrow) {
    color: #d0c5c2;
    font-size: 13px;
    line-height: 1.8;
}

.about-links {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.about-links a {
    color: #f27b74;
    font-size: 11px;
    text-decoration: none;
}

.about-contact-trigger {
    padding: 0;
    color: #f27b74;
    border: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-size: 11px;
}

.about-contact-trigger:hover,
.about-links a:hover {
    color: #fff;
}

.contact-form {
    max-width: 620px;
    margin-top: 24px;
    display: grid;
    gap: 14px;
}

.about-contact-email {
    margin: 14px 0 0;
    color: #d0c5c2;
    font-size: 12px;
}

.about-contact-email a {
    color: #f27b74;
    text-decoration: none;
}

.about-contact-email a:hover {
    color: #fff;
}

.contact-form[hidden] {
    display: none;
}

.contact-form label {
    display: grid;
    gap: 6px;
    color: #e4d7d4;
    font-size: 12px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 11px 12px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 7px;
    background: rgba(0, 0, 0, .24);
    font: inherit;
}

.contact-form textarea {
    min-height: 130px;
    resize: vertical;
}

.contact-form .primary-button {
    justify-self: start;
}

.contact-form .form-status {
    margin: 0;
}

.contact-form .form-status.is-success {
    color: #8fe0a5;
}

.contact-form .form-status.is-error {
    color: #ff9b94;
}

.contact-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.about-values {
    margin-top: 18px;
}

.about-values article {
    padding: 20px;
}

.about-values article > span {
    color: #f0716b;
    font-size: 11px;
    font-weight: 700;
}

.about-values h3 {
    margin: 11px 0 6px;
    font-size: 15px;
}

.about-values p {
    margin: 0;
    color: #979d9f;
    font-size: 11px;
    line-height: 1.6;
}

.site-toast {
    position: fixed;
    z-index: 10;
    right: 22px;
    bottom: 22px;
    max-width: min(420px, calc(100vw - 32px));
    padding: 13px 17px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 10px;
    background: #423638;
    box-shadow: 0 10px 35px rgba(0, 0, 0, .35);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 180ms ease, transform 180ms ease;
    font-size: 12px;
}

.site-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.site-footer {
    min-height: 62px;
    padding: 14px max(26px, calc((100% - var(--content-width)) / 2));
    color: #c1b6b3;
    border-top: 1px solid rgba(255, 231, 220, .1);
    background: rgba(35, 29, 30, .84);
    backdrop-filter: blur(16px);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0;
}

.footer-tagline {
    color: #a99d9a;
}

.iua-counter {
    display: inline-flex;
    flex: 0 0 88px;
    align-items: center;
    width: 88px;
    height: 15px;
    text-decoration: none;
}

.iua-counter img {
    display: block;
    width: 88px;
    height: 15px;
    border: 0;
}

@media (max-width: 980px) {
    .topbar {
        padding-right: 20px;
        padding-left: 20px;
    }

    .dashboard-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .episode-grid,
    .playlist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stats-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .topbar {
        min-height: 70px;
        padding: 8px 18px;
        z-index: 5;
        background:
            linear-gradient(105deg, rgba(165, 26, 26, .4), rgba(59, 11, 11, .42)),
            url("../img/summer.jpg") center top / cover no-repeat;
    }

    .brand {
        width: 172px;
        height: 56px;
    }

    .topbar-current {
        display: none;
    }

    .menu-toggle {
        width: 40px;
        height: 40px;
        margin-left: auto;
        flex-basis: 40px;
        border-radius: 8px;
    }

    .menu-toggle span {
        width: 24px;
        height: 2px;
        margin: 0 auto;
        border-radius: 2px;
        background: #d6d8d8;
    }

    .navigation {
        top: 100%;
        padding: 10px 18px 16px;
        border-top: 1px solid rgba(255, 231, 220, .1);
        background: rgba(44, 35, 36, .97);
        backdrop-filter: blur(18px);
    }

    .navigation a {
        padding: 12px;
        font-size: 13px;
    }

    .player-panel {
        min-height: 68px;
        padding: 9px 16px;
        gap: 10px;
        flex-wrap: wrap;
    }

    .play-button {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .stream-select-wrap {
        height: 43px;
        flex: 1 1 160px;
        border-radius: 8px;
    }

    .player-track-ticker {
        right: 34px;
        left: 11px;
        font-size: 11px;
    }

    .stream-select-wrap select {
        padding: 0 34px 0 11px;
        font-size: 12px;
    }

    .volume-control {
        display: none;
    }

    .player-status {
        display: none;
    }

    .main-content {
        width: calc(100% - 32px);
    }

    .global-user-menu {
        width: 100%;
    }

    .global-user-menu .account-tools .section-heading,
    .global-user-menu .admin-tools .section-heading {
        padding: 14px 18px 8px;
    }

    .global-user-menu .account-tool-grid,
    .global-user-menu .admin-tool-grid {
        padding: 0 18px 14px;
        gap: 10px;
    }

    .main-content {
        margin: 24px auto 38px;
    }

    .hero-panel {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
        padding: 18px;
        border-radius: 15px;
    }

    .artwork-frame {
        width: min(100%, 430px);
        margin: 0 auto;
        border-radius: 12px;
    }

    .hero-details h1 {
        font-size: clamp(29px, 8vw, 44px);
    }

    .track-actions {
        justify-content: flex-start;
        margin: 16px 0;
    }

    .dashboard-grid {
        gap: 14px;
        margin-top: 14px;
    }

    .content-card {
        border-radius: 12px;
    }

    .account-edit-card {
        padding: 18px;
    }

    .account-profile-form {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .discovery-strip {
        margin-top: 14px;
        padding: 20px;
        align-items: flex-start;
        flex-direction: column;
    }

    .page-heading h1 {
        font-size: 32px;
    }

    .schedule-toolbar {
        padding: 18px 18px 8px;
    }

    .day-tabs {
        margin-right: 12px;
        margin-left: 12px;
    }

    .day-tab {
        font-size: 9px;
    }

    .auth-card,
    .about-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .auth-art {
        min-height: 170px;
    }

    .about-logo {
        min-height: 140px;
    }

    .about-logo img {
        width: min(100%, 260px);
    }

    .about-values {
        grid-template-columns: minmax(0, 1fr);
    }

    .partner-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding: 14px 16px 16px;
    }

    .partner-links a {
        min-width: 0;
        width: 100%;
    }

    .partner-links img {
        max-width: 100%;
        height: auto;
        max-height: 35px;
    }

    .partner-links .partner-app-link {
        grid-column: 1 / -1;
        margin-left: 0;
        justify-self: center;
        width: auto;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .brand {
        width: 150px;
        height: 49px;
    }

    .main-content {
        width: calc(100% - 24px);
    }

    .global-user-menu {
        width: 100%;
    }

    .global-user-menu .account-tools .section-heading,
    .global-user-menu .admin-tools .section-heading {
        padding: 12px 14px 7px;
    }

    .global-user-menu .account-tool-grid,
    .global-user-menu .admin-tool-grid {
        padding: 0 14px 12px;
        gap: 8px;
    }

    .player-panel {
        padding-right: 10px;
        padding-left: 10px;
        gap: 7px;
    }

    .play-button {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .hero-panel {
        padding: 13px;
    }

    .section-heading {
        min-height: 66px;
        padding: 14px;
    }

    .section-heading h2 {
        font-size: 16px;
    }

    .track-list,
    .show-list {
        padding-right: 12px;
        padding-left: 12px;
    }

    .track-row,
    .show-row,
    .chart-row {
        gap: 8px;
    }

    .chart-row-main {
        gap: 8px;
    }

    .chart-row-player {
        padding-left: 0;
    }

    .track-row-actions .icon-action {
        width: 28px;
    }

    .show-avatar {
        width: 84px;
        height: 84px;
        flex-basis: 84px;
    }

    .schedule-list .show-avatar {
        width: 96px;
        height: 96px;
        flex-basis: 96px;
    }

    .show-time {
        width: 39px;
        flex-basis: 39px;
        font-size: 10px;
    }

    .show-meta strong {
        max-width: 150px;
        font-size: 11px;
    }

    .podcast-inline-player {
        padding: 14px;
    }

    .podcast-player-heading {
        gap: 10px;
    }

    .podcast-player-cover {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
    }

    .podcast-player-title h2 {
        font-size: 14px;
    }

    .episode-grid,
    .playlist-grid,
    .stats-cards {
        grid-template-columns: minmax(0, 1fr);
    }

    .episode-cover {
        aspect-ratio: 1.7 / 1;
    }

    .mixshow-detail {
        padding: 18px;
        flex-direction: column;
    }

    .mixshow-detail-cover {
        width: 160px;
        height: 160px;
        flex-basis: 160px;
    }

    .mixshow-episode-list {
        padding: 4px 12px;
    }

    .mixshow-episode-row .chart-row-main {
        gap: 7px;
    }

    .mixshow-episode-actions .text-action {
        display: none;
    }

    .feed-toolbar,
    .playlist-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .search-field {
        min-width: 0;
    }

    .create-playlist-form {
        flex-direction: column;
    }

    .chat-composer-row {
        align-items: stretch;
        flex-wrap: wrap;
    }

    .chat-composer-row input:not([type="hidden"]),
    .chat-editor {
        flex-basis: 100%;
        order: 3;
        padding: 0 8px;
    }

    .chat-user {
        order: 1;
    }

    .chat-composer .primary-button {
        order: 2;
        margin-left: auto;
    }

    .day-tab {
        padding: 9px 1px;
    }

    .site-footer {
        padding: 12px;
        font-size: 9px;
    }
}

@media (max-width: 760px) {
    .ambient-orb-one {
        width: 160px;
        height: 160px;
    }

    .ambient-orb-two,
    .ambient-orb-three {
        width: 210px;
        height: 210px;
    }

    .ambient-orb-four,
    .ambient-orb-five {
        width: 150px;
        height: 150px;
    }

    .ambient-particle {
        opacity: .58;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ambient-orb,
    .ambient-particle {
        animation: none !important;
    }

    .ambient-orb {
        opacity: .16;
    }

    .ambient-particle {
        opacity: .35;
    }
}

/* Playlist tracks and player */
.drag-handle {
    width: 22px;
    flex: 0 0 22px;
    padding: 0;
    color: #8a8f91;
    border: 0;
    background: transparent;
    cursor: grab;
    font-size: 16px;
    letter-spacing: -3px;
    touch-action: none;
    user-select: none;
}

.drag-handle:hover {
    color: #f97519;
}

.playlist-track-row.is-dragging {
    opacity: .75;
    background: rgba(249, 117, 25, .16);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}

.playlist-track-row.is-current {
    background: rgba(249, 117, 25, .12);
}

.playlist-track-row.is-current .track-meta strong {
    color: #f97519;
}

.style-badge {
    width: fit-content;
    padding: 3px 7px;
    color: #ffd2ad;
    border: 1px solid rgba(249, 117, 25, .38);
    border-radius: 4px;
    background: rgba(249, 117, 25, .12);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1;
    text-transform: uppercase;
}

.style-badge.style-trance {
    color: #bfe3ff;
    border-color: rgba(56, 189, 248, .45);
    background: rgba(56, 189, 248, .14);
}

.style-badge.style-house {
    color: #ffe0a8;
    border-color: rgba(250, 204, 21, .45);
    background: rgba(250, 204, 21, .14);
}

.style-badge.style-chill {
    color: #c8f5d0;
    border-color: rgba(74, 222, 128, .45);
    background: rgba(74, 222, 128, .14);
}

.style-badge.style-re {
    color: #f6c9ff;
    border-color: rgba(217, 70, 239, .45);
    background: rgba(217, 70, 239, .14);
}

.playlist-play-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding: 4px 18px 10px;
}

.playlist-now {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 8px 18px 18px;
}

.playlist-now-cover {
    width: min(320px, 40vw);
    aspect-ratio: 1;
    flex: 0 0 auto;
    border-radius: 14px;
    object-fit: cover;
    background: rgba(15, 15, 15, .55);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}

.playlist-now-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.playlist-now-info h3 {
    margin: 0;
    font-size: clamp(20px, 3vw, 30px);
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.playlist-now-info p {
    margin: 0;
}

.playlist-controls {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.playlist-controls .icon-action {
    width: 44px;
    height: 44px;
    font-size: 20px;
    color: #fff;
    background: rgba(255, 255, 255, .1);
    border-radius: 50%;
}

.playlist-controls .playlist-toggle-play {
    width: 54px;
    height: 54px;
    background: #f97519;
}

.playlist-shuffle[aria-pressed="true"] {
    color: #f97519;
}

@media (max-width: 640px) {
    .playlist-now {
        flex-direction: column;
        align-items: stretch;
    }

    .playlist-now-cover {
        width: 100%;
    }
}
/* Playlist waveform seek bar */
.playlist-wave { position: relative; height: 72px; margin: 16px 0 4px; border-radius: 10px; background: #141414; border: 1px solid rgba(255,255,255,.12); overflow: hidden; cursor: pointer; touch-action: none; user-select: none; }
.playlist-wave-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; pointer-events: none; }
.playlist-wave-progress { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: rgba(249,117,25,.45); border-right: 2px solid #f97519; pointer-events: none; }
.playlist-wave.no-image .playlist-wave-image { display: none; }
.playlist-wave.no-image { height: 22px; }
.playlist-wave-times { display: flex; justify-content: space-between; font-size: 12px; color: #bbb; margin-bottom: 12px; }

/* Playlist player spacing and icon toggle */
.playlist-wave { margin: 28px 0 8px; }
.playlist-wave-times { margin-bottom: 28px; padding: 0 2px; }
.playlist-controls .playlist-shuffle { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }
.playlist-controls .playlist-shuffle[aria-pressed="true"] { background: rgba(249,117,25,.18); }

.playlist-wave { margin-left: 24px; margin-right: 24px; }
.playlist-wave-times { margin-left: 24px; margin-right: 24px; padding: 0; }
@media (max-width: 640px) { .playlist-wave, .playlist-wave-times { margin-left: 12px; margin-right: 12px; } }

.playlist-controls .playlist-download { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; text-decoration: none; }

/* Top 40 real waveform */
.chart-wave-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; pointer-events: none; }
.chart-waveform.has-image { background: #141414; }
.chart-waveform.has-image .chart-wave-bars { display: none; }
.chart-waveform.has-image .chart-wave-progress { background: rgba(249, 117, 25, .45); border-right: 2px solid #f97519; mix-blend-mode: normal; }

body[data-page="schedule"] .content-card,
body[data-page="podcasts"] .content-card,
body[data-page="top40"] .content-card,
body[data-page="chat"] .content-card,
body[data-page="about"] .content-card,
body[data-page="playlists"] .content-card,
body[data-page="playlist"] .content-card,
body[data-page="account"] .content-card,
body[data-page="podcasts"] .episode-card,
body[data-page="podcasts"] .feed-toolbar,
body[data-page="top40"] .chart-list,
body[data-page="playlists"] .playlist-card,
body[data-page="playlists"] .track-list,
body[data-page="playlist"] .track-list,
body[data-page="account"] .track-list {
    background: rgba(30, 30, 30, .48);
    backdrop-filter: blur(8px);
}

body[data-page="top40"] .chart-intro {
    background: rgba(30, 30, 30, .48);
}

body[data-page="playlists"] .auth-art {
    background: linear-gradient(145deg, rgba(165, 26, 26, .42), rgba(30, 30, 30, .48)), url("../img/mixshows_cover.webp") center / cover;
}

body[data-page="privacy"] .privacy-policy {
    padding: clamp(22px, 4vw, 40px);
    color: #d0c5c2;
    background: rgba(30, 30, 30, .48);
    line-height: 1.75;
    backdrop-filter: blur(8px);
}

.episode-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.privacy-policy > :first-child {
    margin-top: 0;
}

.privacy-policy section {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.privacy-policy h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 19px;
    letter-spacing: -.02em;
}

.privacy-policy p,
.privacy-policy ul {
    margin: 0 0 12px;
}

.privacy-policy p:last-child,
.privacy-policy ul:last-child {
    margin-bottom: 0;
}

.privacy-policy ul {
    padding-left: 22px;
}

.privacy-policy li + li {
    margin-top: 6px;
}

.privacy-policy a {
    color: #ff9a4a;
    text-decoration: none;
}

.privacy-policy a:hover {
    color: #ffc184;
    text-decoration: underline;
}

.privacy-meta {
    color: #fff;
}

.privacy-home-link {
    margin-left: auto;
    color: #ff9a4a;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.privacy-home-link:hover {
    color: #ffc184;
}

@media (max-width: 760px) {
    .privacy-home-link {
        display: none;
    }

    .privacy-policy section {
        margin-top: 22px;
        padding-top: 18px;
    }
}

@media (max-width: 980px) {
    .episode-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .episode-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .episode-info {
        padding: 9px;
    }

    .episode-info h3 {
        min-height: 4.05em;
        font-size: 11px;
    }
}

@media (max-width: 420px) {
    .episode-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
