@import url("./base.css");

.station-page {
    background: #000;
    color: #fff;
    font-family: "Inter", system-ui, sans-serif;
}

.station-page > header,
.station-page > footer {
    display: none;
}

.station-page main {
    max-width: none;
    padding: 0;
    margin: 0;
}

.station-page a {
    color: inherit;
    text-decoration: none;
}

.station-page a:hover {
    text-decoration: underline;
}

.takeover-stage {
    position: relative;
    min-height: 100svh;
    background: #000;
    overflow-wrap: anywhere;
}

.takeover-stage h1 {
    margin: 0;
    font-size: clamp(32px, 6vw, 88px);
    line-height: 1;
    text-transform: uppercase;
    font-weight: 750;
}

.artist-heading {
    position: absolute;
    left: 3%;
    top: 3%;
    max-width: 76%;
    z-index: 2;
}

.artist-platforms {
    display: flex;
    gap: 14px;
    margin-top: 8px;
}

.platform {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    font-size: 24px;
    line-height: 1;
    color: white;
    border-radius: 6px;
}

.platform svg {
    width: 100%;
    height: 100%;
}

.platform.apple {
    background: #ff3459;
}

.platform.youtube {
    background: red;
    border-radius: 50%;
}

.airtime {
    position: absolute;
    right: 3%;
    top: 4%;
    display: grid;
    gap: 4px;
    text-align: right;
    font-weight: bold;
    z-index: 3;
    font-size: clamp(12px, 1.8vw, 22px);
}

.airtime #listener-count {
    font-size: 0.75em;
}

.track-stack {
    position: absolute;
    left: 3%;
    top: 26%;
    width: 30%;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.track-label {
    display: block;
    font-size: clamp(10px, 1vw, 14px);
    margin: 0 0 5px;
    color: #888;
}

.track-stack strong {
    font-size: clamp(18px, 2.4vw, 32px);
    color: #777;
    line-height: 1.1;
}

.current-track > .track-label {
    color: white;
    font-weight: bold;
}

.playing-line {
    display: flex;
    align-items: center;
    gap: 8px;
}

.playing-line h2 {
    margin: 0;
    font-size: clamp(22px, 3.5vw, 48px);
    line-height: 1.05;
}

.radio-volume {
    display: flex;
    align-items: center;
    position: relative;
    flex-shrink: 0;
    z-index: 5;
}

.radio-volume button {
    background: none;
    border: 0;
    color: white;
    padding: 4px;
    width: 32px;
    height: 36px;
    display: grid;
    place-items: center;
}

.radio-volume svg {
    width: 24px;
    height: 24px;
}

.speaker-muted {
    display: none;
}

#mute[aria-pressed="true"] .speaker-muted {
    display: block;
}

#mute[aria-pressed="true"] .speaker-waves {
    display: none;
}

.volume-slider {
    position: absolute;
    left: 100%;
    display: flex;
    align-items: center;
    width: 0;
    overflow: hidden;
    opacity: 0;
    transition:
        width 0.16s,
        opacity 0.16s;
    height: 36px;
    background: #000c;
}

.radio-volume:hover .volume-slider,
.radio-volume:focus-within .volume-slider {
    width: 100px;
    opacity: 1;
}

.volume-slider input {
    min-width: 80px;
    width: 80px;
    margin: 0 10px;
    padding: 0;
    accent-color: white;
    cursor: pointer;
}

.audio-feedback:has(#unlock[hidden]) {
    display: none;
}

#unlock {
    background: white;
    color: black;
    padding: 5px 9px;
    font-size: 12px;
    margin-top: 8px;
}

#audio-status {
    font-size: 11px;
    color: var(--ui-muted);
    margin: 5px 0;
}

.artist-gallery {
    position: absolute;
    top: 19%;
    left: 35%;
    width: 30%;
}

.story-slide {
    display: none;
    margin: 0;
}

.story-slide.is-active {
    display: block;
}

.story-slide img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.story-slide figcaption {
    display: none;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 4px;
    padding: 10px;
}

.carousel-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #888;
}

.carousel-dots button[aria-pressed="true"] {
    background: white;
}

.new-artist-copy {
    position: absolute;
    top: 24%;
    left: 70%;
    width: 21%;
    margin: 0;
    font-weight: bold;
    font-size: clamp(12px, 1.5vw, 20px);
    line-height: 1.2;
    max-height: 53svh;
    overflow: auto;
}

.station-utility {
    position: absolute;
    left: 3%;
    bottom: 19%;
    z-index: 4;
}

.station-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: clamp(11px, 1.2vw, 16px);
    margin-top: 12px;
}

.song-report {
    position: relative;
    width: max-content;
}

.song-report > button {
    background: var(--ui-panel);
    border: 1px solid #444;
    border-radius: 0;
    padding: 3px 5px;
    font-size: 10px;
    line-height: 1;
}

.song-report-tip {
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 210px;
    padding: 12px;
    font-size: 12px;
    background: var(--ui-panel);
    border: 1px solid #555;
    visibility: hidden;
}

.song-report:hover .song-report-tip,
.song-report:focus-within .song-report-tip {
    visibility: visible;
}

.song-report-tip ul {
    padding-left: 18px;
}

#report-song-status {
    font-size: 11px;
}

.artist-tip {
    position: absolute;
    bottom: 3%;
    left: 3%;
    display: flex;
    align-items: center;
    gap: 9px;
    max-width: 30%;
    font-size: clamp(11px, 1.3vw, 18px);
    font-weight: bold;
}

.donation-icon {
    position: relative;
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 33px;
    flex-shrink: 0;
}

.donation-icon b {
    position: absolute;
    font-size: 19px;
    color: #ff542d;
    left: 10px;
    top: 8px;
}

.music-reaction {
    position: absolute;
    right: 3%;
    bottom: 3%;
    display: flex;
    gap: 15px;
    align-items: center;
    color: white;
    background: none;
    border: 0;
    padding: 0;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1;
}

.music-reaction b {
    color: red;
}

.music-reaction small {
    position: absolute;
    right: 0;
    bottom: -8px;
    font-size: 10px;
}

.public-tracklist {
    font-size: 12px;
    margin-top: 8px;
    max-height: 100px;
    overflow: auto;
}

.free-time h1 {
    position: static;
    margin: 0 0 24px;
    font-size: 35px;
    line-height: 1.2;
    text-transform: none;
}

.free-navigation {
    position: absolute;
    left: 50%;
    top: 34%;
    transform: translateX(-50%);
    width: max-content;
    max-width: 94%;
    text-align: center;
    display: grid;
    gap: 8px;
    font-weight: bold;
    font-size: clamp(40.32px, 5.4vw, 69.12px);
}
.free-brand {
    justify-self: center;
    margin-bottom: 44px;
    transform: scale(1.56);
    transform-origin: center;
}
.free-brand img {
    display: block;
}
.free-navigation .free-schedule {
    font-size: 24px;
    color: #bfbfbf;
}
.station-page .free-takeover {
    color: #469373;
    animation: takeover-hue 6s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
    .station-page .free-takeover {
        animation: none;
    }
}
.free-secondary {
    position: absolute;
    left: 24px;
    top: 4%;
    display: grid;
    gap: 8px;
    font-size: 24px;
    font-weight: 700;
    color: #bfbfbf;
}

.future-logo {
    position: absolute;
    left: 60%;
    /* top: 7%; */
    width: 16%;
    aspect-ratio: 1;
    display: grid;
    place-content: center;
    text-align: center;
    /* background: #ddd; */
    color: black;
    font-weight: bold;
}

.free-playing {
    position: absolute;
    left: 3%;
    bottom: 8%;
    max-width: 65%;
}
.free-playing .track-label {
    font-size: 20px;
    font-weight: 700;
    color: #777;
}

.free-ad {
    position: absolute;
    bottom: 4%;
    right: 4%;
    width: 57%;
    height: 16%;
    background: #222;
    display: grid;
    place-items: center;
    color: #000;
    font-weight: bold;
    font-size: clamp(30px, 5.5vw, 78px);
}

.free-time > .song-report {
    position: absolute;
    bottom: 2%;
    left: 2%;
}

@media (max-width: 600px) {
    .takeover-stage {
        min-height: 100svh;
        padding: 20px;
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .artist-heading,
    .airtime,
    .track-stack,
    .artist-gallery,
    .new-artist-copy,
    .station-utility,
    .artist-tip,
    .music-reaction,
    .free-time h1,
    .free-navigation,
    .future-logo,
    .free-playing,
    .free-ad {
        position: relative;
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
        width: auto;
        max-width: 100%;
    }

    .artist-heading {
        padding-right: 0;
    }

    .airtime {
        align-self: flex-end;
        font-size: 14px;
    }

    .artist-gallery {
        width: 100%;
        height: auto;
    }

    .new-artist-copy {
        max-height: none;
        font-size: 16px;
    }

    .music-reaction {
        align-self: flex-end;
    }

    .future-logo {
        width: 120px;
        align-self: center;
    }

    .free-ad {
        min-height: 100px;
    }

    .free-time > .song-report {
        position: relative;
        bottom: auto;
        left: auto;
    }
}

.current-song-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.music-reaction button {
    background: none;
    border: 0;
    padding: 0;
    color: white;
    font-size: inherit;
    line-height: 1;
}

.music-reaction button[data-reaction="heart"] {
    color: red;
}

.music-reaction button:active {
    transform: scale(0.9);
}

.floating-reaction {
    position: fixed;
    pointer-events: none;
    z-index: 100;
    font-size: 25px;
    line-height: 1;
    color: white;
}

.floating-reaction.reaction-heart {
    color: red;
}

@media (max-width: 600px) {
    .takeover-stage.free-time {
        min-height: calc(100svh / var(--site-scale));
        display: grid;
        grid-template-rows: auto minmax(240px, 1fr) auto auto;
        gap: 22px;
        padding: 20px;
    }
    .free-brand {
        margin-bottom: 20px;
    }
    .free-time .airtime {
        position: static;
        justify-self: end;
        min-height: 51px;
    }
    .free-time .free-navigation {
        position: static;
        transform: none;
        align-self: center;
        justify-self: center;
        max-width: 100%;
        width: auto;
    }
    .free-navigation .free-schedule {
        font-size: 18px;
    }
    .free-time .free-playing {
        position: static;
        max-width: 100%;
    }
    .free-time h1 {
        margin-bottom: 16px;
        font-size: 28px;
    }
    .free-playing .track-label {
        font-size: 16px;
    }
    .free-time .free-secondary {
        left: 20px;
        top: 20px;
        max-width: 58%;
        font-size: 16px;
        gap: 8px;
        text-align: left;
    }
}

/* Open Time landing page. */
.takeover-stage.free-time.open-time-landing {
    --landing-sidebar-width: clamp(240px, 30vw, 330px);
    position: relative;
    display: block;
    min-height: max(620px, calc(100svh / var(--site-scale, 0.8)));
    padding: 0;
    background: #000;
    overflow: hidden;
}
.landing-first-screen {
    display: grid;
    grid-template-columns: var(--landing-sidebar-width) minmax(0, 1fr);
    height: max(620px, calc(100svh / var(--site-scale, 0.8)));
    width: 100%;
}
.landing-sidebar {
    position: relative;
    grid-column: 1;
    grid-row: 1;
    display: grid;
    grid-template-rows: minmax(0, 7fr) 12px minmax(0, 3fr);
    min-width: 0;
    min-height: 0;
    overflow: visible;
}
.landing-sidebar::before {
    content: "";
    grid-column: 1;
    grid-row: 1;
    z-index: 0;
    border-radius: 0 0 14px 0;
    background-color: #6e68e0;
    background-image: url("/images/logo-bg-tilt.svg");
    background-repeat: no-repeat;
    background-position: left bottom 8px;
    background-size: min(78%, 205px) auto;
}
.landing-main {
    grid-column: 2;
    grid-row: 1;
    display: grid;
    grid-template-rows: 52px minmax(0, 1fr) auto;
    min-width: 0;
    min-height: 0;
    padding: 0 20px 20px 0;
}
.landing-topbar {
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    min-width: 0;
    min-height: 52px;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 0 0 clamp(190px, 30vw, 330px);
    border: 0;
}
.landing-brand {
    display: block;
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    z-index: 1;
    flex: 0 0 auto;
    width: 100%;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.landing-mobile-logo {
    display: none;
}
.landing-wordmark {
    display: block;
    width: 100%;
    height: 45px;
    overflow: visible;
}
.landing-wordmark text {
    fill: rgb(255 255 255 / 30%);
    font-family: Inter, Arial, sans-serif;
    font-size: 72px;
    font-weight: 900;
    font-style: italic;
    text-shadow: -2px -3px 0 rgb(232 40 40 / 50%), 3px 3px 0 rgb(48 39 227 / 50%);
}
.landing-brand:hover .landing-wordmark text {
    transform-box: fill-box;
    transform-origin: center;
    animation: landing-wordmark-vibrate 240ms linear infinite;
}
@keyframes landing-wordmark-vibrate {
    0%, 100% { transform: translate(0, 0) rotate(0); }
    20% { transform: translate(-1px, 1px) rotate(-0.35deg); }
    40% { transform: translate(1px, -1px) rotate(0.4deg); }
    60% { transform: translate(-1px, 0) rotate(-0.25deg); }
    80% { transform: translate(1px, 1px) rotate(0.3deg); }
}
@media (prefers-reduced-motion: reduce) {
    .landing-brand:hover .landing-wordmark text { animation: none; }
}
.landing-share {
    min-width: 90px;
    min-height: 38px;
    padding: 7px 16px;
    margin: 0;
    border: 0;
    border-radius: var(--landing-pill-radius, 9999px) !important;
    background: #343434;
    color: #eee;
    font-size: 14px;
    font-weight: 700;
}
.landing-share:hover {
    background: #454545;
}
.landing-discord {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    min-width: 101px;
    padding: 7px 12px;
    border-radius: var(--landing-pill-radius, 9999px) !important;
    background: #5865f2;
}
.landing-discord img {
    display: block;
    width: 79px;
    height: auto;
}
.landing-discord:hover {
    background: #6b76f5;
}
.landing-discord.is-disabled {
    opacity: 0.55;
    cursor: default;
}
.landing-top-links,
.landing-footer-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(8px, 1.2vw, 18px);
    color: rgb(255 255 255 / 80%);
    font-size: clamp(11px, 1vw, 14px);
    font-weight: 700;
    white-space: nowrap;
}
.landing-top-links {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 0;
}
.landing-community-actions {
    position: absolute;
    top: 7px;
    left: calc(var(--landing-sidebar-width) + 18px);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
}
.landing-calendar-shortcuts {
    display: none;
}
.landing-page-link {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 9999px;
    background: #343434;
}
.landing-page-link img {
    display: block;
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    opacity: 0.7;
}
.landing-page-link:hover img { opacity: 1; }
.landing-page-link:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.landing-top-links a,
.landing-footer-links a,
.landing-calendar-links a,
.landing-player-links a,
.landing-takeover-info {
    color: inherit;
    text-decoration: none;
}
.landing-top-links a:hover,
.landing-footer-links a:hover,
.landing-calendar-links a:hover,
.landing-player-links a:hover,
.landing-takeover-info:hover {
    color: #fff;
}
.community-notes {
    position: absolute;
    top: 72px;
    left: clamp(16px, 2vw, 24px);
    z-index: 1;
    width: calc(var(--landing-sidebar-width) - 28px);
    margin: 0;
    padding: 0;
}
.community-brand-line {
    display: flex;
    align-items: baseline;
    gap: clamp(4px, 2.5cqw, 10px);
    margin: 0 0 14px;
    color: inherit;
    text-decoration: none;
    min-width: 0;
    max-width: 100%;
    container-type: inline-size;
    /* Retained for the V1 top-left title experiment; currently hidden. */
    display: none;
}
.community-brand-line:hover,
.community-brand-line:focus-visible,
.community-brand-line:active {
    text-decoration: none;
}
.station-page a.community-brand-line:is(:hover, :focus-visible, :active) {
    text-decoration: none !important;
    text-decoration-line: none !important;
}
.community-brand-line .community-brand {
    min-width: 0;
    white-space: nowrap;
    color: #000;
    font-family: Inter, Arial, sans-serif;
    font-size: clamp(20px, 14cqw, 42px);
    font-style: italic;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.045em;
    text-shadow: -2px -3px 0 rgb(232 40 40 / 50%), 3px 3px 0 rgb(48 39 227 / 50%);
}
.community-brand-line img {
    display: block;
    flex: 0 1 auto;
    width: clamp(28px, 23.3cqw, 69.8px);
    height: clamp(22px, 12cqw, 36px);
    max-width: 35%;
    align-self: baseline;
    object-fit: contain;
    vertical-align: baseline;
    filter: drop-shadow(-2px -3px 0 rgb(232 40 40 / 50%)) drop-shadow(3px 3px 0 rgb(48 39 227 / 50%));
}
.community-brand-line:hover :is(.community-brand, img) {
    transform-box: fill-box;
    transform-origin: center;
    animation: landing-wordmark-vibrate 240ms linear infinite;
}
@media (prefers-reduced-motion: reduce) {
    .community-brand-line:hover :is(.community-brand, img) { animation: none; }
}
.community-notes h2 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.2;
}
.community-notes ul {
    margin: 0;
    padding: 0;
    list-style: none;
    color: #b3b3b3;
    font-size: 14px;
}
.landing-schedule {
    align-self: center;
    justify-self: center;
    width: min(100%, 440px);
    padding: 20px;
    transform: translateY(-30px);
    text-align: center;
}
.landing-schedule h1 {
    margin: 0 0 10px;
    font-size: calc(24px * 1.2);
    line-height: 1.2;
    text-transform: none;
}
.landing-schedule.is-pre-release > h1,
.landing-schedule.is-pre-release > .landing-schedule-content,
.landing-schedule.is-pre-release > .landing-timezone,
.landing-schedule.is-pre-release > .landing-calendar-links a[href$="view=schedule"] {
    display: none;
}
.release-countdown {
    margin: 0 0 24px;
    color: #fff;
    font-size: calc(15px * 1.2);
}
.release-countdown p {
    margin: 0 0 6px;
}
.release-countdown strong {
    display: block;
    font-size: calc(22px * 1.2);
    font-variant-numeric: tabular-nums;
}
.landing-schedule-title-link {
    color: inherit;
    text-decoration: none;
}
.landing-schedule-list {
    display: grid;
    gap: 4px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    text-align: left;
    width: fit-content;
    min-width: min(100%, 250px);
}
.landing-schedule-list a {
    display: flex;
    gap: 8px;
    color: #eee;
    font-size: calc(16px * 1.2);
    line-height: 1.4;
    text-decoration: none;
}
.landing-schedule-list a:hover {
    text-decoration: underline;
}
.landing-schedule-list time {
    flex: 0 0 92px;
    font-variant-numeric: tabular-nums;
}
.landing-schedule-free {
    margin: 0;
    color: #eee;
    font-size: calc(16px * 1.2);
}
.landing-timezone {
    display: block;
    width: fit-content;
    min-height: 30px;
    margin: 14px auto 4px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #b3b3b3;
    font-size: calc(12px * 1.2);
    cursor: pointer;
}
.landing-timezone:hover {
    color: #fff;
}
.landing-calendar-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    color: rgb(255 255 255 / 80%);
    font-size: calc(12px * 1.2);
}
.landing-reminders-link {
    display: block;
    width: fit-content;
    margin: 8px auto 0;
    color: rgb(255 255 255 / 80%);
    font-size: calc(12px * 1.2);
}
.landing-player {
    position: relative;
    grid-column: 1;
    grid-row: 3;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    min-width: 0;
    padding: 18px;
    margin: 0;
    border-radius: 0 8px 0 0;
    background: #1e2636;
    color: #fff;
}
.landing-player-heading {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
}
.landing-player-heading h2 {
    margin: 0;
    font-size: 20px;
}
.landing-player-heading span {
    color: rgb(255 255 255 / 72%);
    font-size: 11px;
}
.landing-player .free-playing {
    position: static;
    max-width: none;
}
.landing-player .track-label {
    margin: 0 0 3px;
    color: #b3b3b3;
    font-size: 12px;
}
.landing-player-artist {
    margin: 0;
    font-size: calc(16px * 0.85);
    font-weight: 700;
    line-height: 1.25;
}
.landing-player .playing-line {
    justify-content: space-between;
    min-width: 0;
}
.landing-player .playing-line h2 {
    min-width: 0;
    overflow: hidden;
    font-size: 16px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.landing-player .radio-volume {
    width: 28px;
}
.landing-player .radio-volume button {
    width: 28px;
    height: 30px;
}
.landing-player .radio-volume svg {
    width: 20px;
    height: 20px;
}
.landing-player .audio-feedback {
    min-height: 0;
}
.landing-player .audio-feedback #audio-status:empty {
    display: none;
}
.landing-player-links {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgb(255 255 255 / 75%);
    font-size: 11px;
}
.landing-copy-button {
    position: absolute;
    right: 12px;
    bottom: 10px;
    display: grid;
    width: 24px;
    height: 24px;
    min-height: 0;
    place-items: center;
    padding: 3px;
    border: 0;
    background: transparent;
    color: #b3b3b3;
    cursor: pointer;
}
.landing-copy-button img {
    display: block;
    width: 18px;
    height: 18px;
    filter: invert(70%);
}
.landing-copy-button:hover img {
    filter: invert(88%);
}
.landing-copy-notice {
    position: absolute;
    right: 42px;
    bottom: 15px;
    color: #b3b3b3;
    font-size: 11px;
    white-space: nowrap;
}
.landing-copy-notice[hidden] {
    display: none;
}
.landing-player .song-report {
    position: relative;
    display: inline-flex;
}
.landing-player .song-report button {
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
}
.landing-player .song-report button:hover {
    color: #fff;
}
.landing-player .song-report-tip {
    bottom: 100%;
    left: 0;
}
.landing-player #report-song-status {
    display: none;
}
.landing-takeover-cta {
    align-self: end;
    justify-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: min(100%, 490px);
    margin: 0 auto 8px;
    padding: 12px 18px;
    border-radius: 10px;
    animation: takeover-background 6s linear infinite;
}
.landing-takeover-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-height: 44px;
    padding: 8px 24px;
    border-radius: 24px;
    background: #202531;
    box-shadow: 0 4px 4px rgb(0 0 0 / 25%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}
.landing-takeover-button:hover {
    background: #2d3444;
    text-decoration: none;
}
.landing-takeover-info {
    flex: 0 0 auto;
    color: rgb(255 255 255 / 90%);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}
@keyframes takeover-background {
    0%,
    100% {
        background-color: #469373;
    }
    6.93% {
        background-color: #469393;
    }
    23.59% {
        background-color: #464693;
    }
    40.26% {
        background-color: #934693;
    }
    56.93% {
        background-color: #934646;
    }
    73.59% {
        background-color: #939346;
    }
    90.26% {
        background-color: #469346;
    }
}
@media (prefers-reduced-motion: reduce) {
    .landing-takeover-cta {
        animation: none;
        background: #934693;
    }
}
@media (min-width: 761px) {
    .landing-sidebar {
        position: static;
    }
    .landing-brand {
        position: absolute;
        right: 0;
        bottom: 0;
        left: auto;
        width: var(--landing-sidebar-width);
        height: 48px;
        zoom: 1;
    }
    .landing-wordmark {
        height: 45px;
    }
    .landing-wordmark text {
        font-size: 72px;
    }
    .landing-share,
    .landing-discord,
    .landing-top-links,
    .landing-schedule,
    .landing-player,
    .landing-takeover-cta {
        zoom: 1.15;
    }
    .landing-player {
        width: 100%;
        zoom: 1;
    }
    .landing-schedule {
        width: calc(min(100%, 440px) / 1.15);
    }
    .landing-takeover-cta {
        width: calc(min(100%, 490px) / 1.15);
    }
    .landing-community-actions {
        gap: 9px;
    }
    .community-notes {
        top: calc(18px / 1.15);
        left: calc(18px / 1.15);
        width: calc((var(--landing-sidebar-width) - 36px) / 1.15);
        zoom: 1.15;
    }
    .community-notes ul {
        color: #fff;
    }
    .landing-top-links {
        justify-content: flex-end;
        gap: clamp(12px, 1.4vw, 20px);
    }
}
@media (max-width: 760px) {
    .takeover-stage.free-time.open-time-landing {
        display: block;
        min-height: 100svh;
        padding: 0 16px 16px;
        overflow: visible;
    }
    .landing-first-screen {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: calc(100% + 32px);
        height: auto;
        min-height: 100svh;
        box-sizing: border-box;
        margin-left: -16px;
        padding-bottom: 16px;
    }
    .landing-sidebar,
    .landing-main {
        display: contents;
    }
    .landing-sidebar::before {
        display: none;
    }
    .landing-topbar {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) 44px;
        align-items: center;
        order: 1;
        width: 100%;
        min-height: 164px;
        gap: 0;
        margin-left: 0;
        padding: 0;
    }
    .landing-brand {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 2;
        display: grid;
        place-items: center;
        width: clamp(96px, 31vw, 118px);
        height: 54px;
        padding: 8px;
        border: 0;
        border-radius: 0 0 14px 0;
        background: #d74aca;
        align-self: start;
        zoom: 1 !important;
    }
    .takeover-stage.free-time.open-time-landing
        .landing-brand
        .landing-mobile-logo {
        display: block;
        width: 78px;
        max-height: 38px;
        object-fit: contain;
    }
    .landing-wordmark {
        display: none;
    }
    .takeover-stage.free-time.open-time-landing
        .landing-topbar
        .station-mobile-menu {
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 30;
    }
    .landing-top-links {
        display: none;
    }
    .landing-community-actions {
        position: static;
        order: 4;
        display: grid;
        grid-template-columns: minmax(90px, 1fr) minmax(90px, 1fr);
        width: 100%;
        gap: 6px;
        padding: 8px 4px 12px;
        margin-inline: auto;
    }
    .landing-community-actions .landing-page-link {
        display: none;
    }
    .landing-calendar-shortcuts {
        position: absolute;
        top: 62px;
        right: 12px;
        z-index: 4;
        display: grid;
        grid-template-columns: 40px;
        gap: 8px;
    }
    .landing-calendar-shortcuts .landing-page-link {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }
    .takeover-stage.free-time.open-time-landing
        .landing-community-actions
        .landing-share,
    .takeover-stage.free-time.open-time-landing
        .landing-community-actions
        .landing-discord {
        width: 100%;
        height: 40px;
        min-height: 40px;
        min-width: 0;
        box-sizing: border-box;
        padding: 0;
    }
    .takeover-stage.free-time.open-time-landing
        .landing-community-actions
        .landing-page-link {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }
    .takeover-stage.free-time.open-time-landing
        .landing-community-actions
        .landing-share {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-right: 0;
        font-size: 18px;
        transform: none;
    }
    .takeover-stage.free-time.open-time-landing
        .landing-community-actions
        .landing-discord {
        min-width: 0;
    }
    .landing-discord img {
        width: 102px;
    }
    .community-notes h2 {
        font-size: 16px;
    }
    .community-notes {
        position: static;
        order: 3;
        width: 100%;
        margin: 12px 0 0;
        padding: 8px 4px;
    }
    .landing-schedule {
        order: 2;
    }
    .landing-schedule {
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
        justify-content: center;
        align-self: center;
        width: calc(100% / 1.1);
        min-height: 0;
        padding: 8px 4px;
        transform: none;
    }
    .landing-schedule h1 {
        font-size: calc(22px * 1.2);
    }
    .landing-player {
        order: 3;
        align-self: center;
        width: calc(100% / 1.1);
        max-width: none;
        margin: 0;
        border-radius: 8px;
    }
    .landing-takeover-cta {
        order: 4;
        align-self: center;
        width: calc(100% / 1.1);
        gap: 12px;
        margin: 0;
        padding: 10px;
    }
    .landing-takeover-button {
        min-width: 0;
        padding-inline: 12px;
        font-size: 14px;
    }
    .landing-takeover-info {
        font-size: 12px;
    }
    .landing-footer-links {
        display: none;
    }
}

/* Center the current track within the free-time player area. */
.landing-player .free-playing {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
}
