#main-content:has(> .station-landing) {
    --bg: #0b1118;
    --surface: #101923;
    --card: #162431;
    --card2: #1b3042;
    --border: rgba(50, 197, 255, .15);
    --border2: rgba(50, 197, 255, .24);
    --text: #f1f5f9;
    --muted2: #94a3b8;
    --accent: #009dff;
    --station-link: var(--accent);
    --station-primary: #0072ce;
    --station-primary-hover: #0068bd;
    background: var(--bg);
}

body.light-mode #main-content:has(> .station-landing) {
    --bg: #edf3f8;
    --surface: #fff;
    --card: #fff;
    --card2: #e1edf6;
    --text: #142b40;
    --muted2: #526779;
    --accent: #0078b9;
    --station-link: #0868a9;
}

.station-landing {
    max-width: 1160px;
    margin: 0 auto;
    padding: clamp(18px, 3.2vw, 44px) clamp(12px, 3vw, 28px) 36px;
    color: var(--text);
    overflow-wrap: anywhere;
}

.station-landing :is(.station-hero, .station-final) {
    display: grid;
    align-items: center;
    gap: clamp(18px, 4vw, 48px);
    padding: clamp(18px, 4vw, 48px);
    border: 1px solid var(--border2);
    border-radius: 12px;
    background: linear-gradient(115deg, var(--surface), var(--card));
}

.station-landing .station-hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
}


.station-landing .station-hero.has-custom-background {
    --text: #f1f5f9;
    --muted2: #d0dae6;
    --station-link: #6acfff;
    --interaction-ring: #00b8ff;
    background:
        linear-gradient(90deg, rgba(11, 21, 32, .97), rgba(11, 21, 32, var(--hero-opacity)) 55%, rgba(11, 21, 32, calc(var(--hero-opacity) - .15))),
        var(--hero-image) var(--hero-x) var(--hero-y) / cover no-repeat,
        linear-gradient(115deg, #101923, #162431);
}

.station-landing .has-custom-background .station-preview {
    --surface: #101923;
    --card: #162431;
    --card2: #1b3042;
}
.station-landing .station-eyebrow {
    margin: 0 0 12px;
    color: var(--station-link);
    font: 700 .75rem/1.4 'Space Mono', monospace;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.station-landing h1 {
    margin: 0;
    max-width: 17ch;
    color: var(--text);
    font-family: 'Space Mono', monospace;
    font-size: clamp(1.75rem, 4.1vw, 3.25rem);
    line-height: 1.1;
    letter-spacing: -.055em;
}

.station-landing h1 span {
    color: var(--station-link);
}

.station-landing .station-hero-description {
    max-width: 49ch;
    margin: 14px 0 20px;
    color: var(--muted2);
    font-size: clamp(.9375rem, 1.7vw, 1.0625rem);
    line-height: 1.6;
}

.station-landing .station-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 9px 14px;
    border: 1px solid var(--accent);
    border-radius: 8px;
    background: var(--station-primary);
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    line-height: 1.35;
}

.station-landing .station-cta:is(:hover, :focus-visible) {
    background: var(--station-primary-hover);
    border-color: #00b8ff;
}

.station-landing .station-cta:active {
    background: #005ca8;
}

.station-landing .station-login a:hover {
    color: var(--text);
}

.station-landing :is(.station-cta, .station-login a):focus-visible {
    outline: 2px solid var(--interaction-ring, #00b8ff);
    outline-offset: 4px;
}

.station-landing :is(.station-cta, .station-review-note) svg {
    width: 18px;
    height: 18px;
    flex: none;
}

.station-landing .station-review-note,
.station-landing .station-login {
    margin: 10px 0 0;
    font-size: .8125rem;
    line-height: 1.45;
    color: var(--muted2);
}

.station-landing .station-review-note {
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.station-landing .station-review-note svg,
.station-landing .station-login a {
    color: var(--station-link);
}

.station-landing .station-preview {
    min-width: 0;
    margin: 0;
    padding: clamp(12px, 2.3vw, 24px);
    border: 1px solid var(--border2);
    border-radius: 12px;
    background: repeating-linear-gradient(145deg, var(--border) 0 1px, transparent 1px 18px), var(--card2);
}

.station-landing .station-preview figcaption {
    margin: 0 0 9px;
    color: var(--muted2);
    font: 700 .6875rem/1.4 'Space Mono', monospace;
}

.station-landing .station-preview-card {
    padding: clamp(10px, 2vw, 20px);
    border: 1px solid var(--border2);
    border-radius: 10px;
    background: var(--surface);
    box-shadow: 0 8px 20px #0002;
}

.station-landing .station-preview-identity {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.5vw, 15px);
}

.station-landing .station-preview-logo {
    display: grid;
    place-items: center;
    flex: 0 0 clamp(48px, 9vw, 84px);
    aspect-ratio: 1;
    border: 1px solid var(--border2);
    border-radius: 9px;
    background: linear-gradient(135deg, var(--card2), var(--card));
    color: var(--station-link);
}

.station-landing .station-preview-logo svg {
    width: 68%;
    height: 68%;
}

.station-landing .station-preview-logo img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: contain;
}

.station-landing .station-preview-meta a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
}

.station-landing .station-preview-meta a:hover {
    text-decoration: underline;
}

.station-landing .station-preview-meta a:focus-visible {
    outline: 2px solid var(--interaction-ring);
    outline-offset: 2px;
}

.station-landing .station-preview-meta {
    min-width: 0;
}

.station-landing .station-preview-meta > strong,
.station-landing .station-preview-meta > span {
    display: block;
}

.station-landing .station-preview-meta > strong {
    font-size: clamp(.9rem, 2.1vw, 1.15rem);
    line-height: 1.25;
}

.station-landing .station-preview-meta > span {
    margin: 4px 0 5px;
    font-size: .8125rem;
    color: var(--muted2);
}

.station-landing .station-preview-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.station-landing .station-preview-tags li {
    padding: 3px 6px;
    border: 1px solid var(--border2);
    border-radius: 5px;
    background: var(--card2);
    color: var(--text);
    font-size: .6875rem;
}

.station-landing .station-preview-playback {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--border2);
    color: var(--muted2);
    font-size: .75rem;
}

.station-landing .station-preview-play {
    display: grid;
    place-items: center;
    flex: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border2);
    border-radius: 50%;
    --radio-control-background: var(--station-primary);
    background: var(--station-primary);
    color: #fff;
    cursor: pointer;
}

.ravi-public-ui #main-content .station-preview-play:is(:hover, :focus-visible) {
    --radio-control-background: var(--station-primary-hover);
}

.station-landing .station-preview-play [data-radio-icon] {
    width: 18px;
    height: 18px;
    font-size: 0;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 4l13 8-13 8z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.station-landing .station-preview-play[data-radio-state="playing"] [data-radio-icon] {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 4h4v16H6zm8 0h4v16h-4z'/%3E%3C/svg%3E");
}

.station-landing .station-preview-play[aria-busy="true"] [data-radio-icon] {
    mask: none;
    border: 2px solid currentColor;
    border-inline-end-color: transparent;
    border-radius: 50%;
    background: none;
}

@media (prefers-reduced-motion: no-preference) {
    .station-landing .station-preview-play[aria-busy="true"] [data-radio-icon] {
        animation: station-preview-spin .8s linear infinite;
    }
}

@keyframes station-preview-spin {
    to { transform: rotate(1turn); }
}

.station-landing .station-preview-status [data-station-status] {
    display: none;
}

.station-landing .station-preview-play[data-radio-state="connecting"] + .station-preview-status [data-station-status="connecting"],
.station-landing .station-preview-play[data-radio-state="paused"] + .station-preview-status [data-station-status="paused"],
.station-landing .station-preview-play[data-radio-state="error"] + .station-preview-status [data-station-status="error"] {
    display: inline;
}

.station-landing .station-preview-play-symbol {
    flex: none;
    width: 28px;
    height: 28px;
    color: var(--station-link);
}

.station-landing .station-preview-wave {
    width: clamp(32px, 8vw, 72px);
    flex-shrink: 0;
    margin-inline-start: auto;
    color: var(--station-link);
}

.station-landing .station-landing-section,
.station-landing .station-final {
    margin-top: clamp(20px, 4vw, 42px);
}

.station-landing .station-landing-section h2,
.station-landing .station-final h2 {
    margin: 0 0 12px;
    font-size: clamp(1.2rem, 2.35vw, 1.65rem);
    line-height: 1.2;
    color: var(--text);
}

.station-landing :is(.station-benefits, .station-steps) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.station-landing .station-steps {
    margin: 0;
    padding: 0;
    list-style: none;
}

.station-landing :is(.station-benefit, .station-step) {
    min-width: 0;
    padding: clamp(12px, 2vw, 19px);
    border: 1px solid var(--border2);
    border-radius: 9px;
    background: var(--card);
}

.station-landing :is(.station-benefit, .station-step) h3 {
    margin: 0 0 5px;
    color: var(--text);
    font-size: .9375rem;
    line-height: 1.3;
}

.station-landing :is(.station-benefit, .station-step, .station-final) p {
    margin: 0;
    font-size: .875rem;
    line-height: 1.5;
    color: var(--muted2);
}

.station-landing :is(.station-benefit-icon, .station-step-number) {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: none;
    border: 1px solid var(--border2);
    border-radius: 7px;
    background: var(--card2);
    color: var(--station-link);
}

.station-landing .station-benefit-icon {
    margin-bottom: 8px;
}

.station-landing .station-benefit-icon svg {
    width: 19px;
    height: 19px;
}

.station-landing .station-step {
    display: flex;
    gap: 9px;
    background: var(--surface);
}

.station-landing .station-step-number {
    font: 700 .8125rem/1 'Space Mono', monospace;
}

.station-landing .station-final {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: clamp(16px, 2.6vw, 28px);
    margin-bottom: 12px;
}

.station-landing .station-final h2 {
    margin-bottom: 6px;
}

@media (max-width: 700px) {
    .station-landing .station-hero.has-custom-background {
        background-image:
            linear-gradient(180deg, rgba(11, 21, 32, .93), rgba(11, 21, 32, max(.78, var(--hero-opacity))) 57%, rgba(11, 21, 32, calc(var(--hero-opacity) - .15))),
            var(--hero-image),
            linear-gradient(115deg, #101923, #162431);
    }

    .station-landing :is(.station-hero, .station-final, .station-benefits, .station-steps) {
        grid-template-columns: minmax(0, 1fr);
    }

    .station-landing .station-benefit {
        display: grid;
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 3px 9px;
    }

    .station-landing .station-benefit-icon {
        grid-row: span 2;
        margin: 0;
    }

    .station-landing .station-benefit h3 {
        margin: 0;
    }

    .station-landing .station-final {
        gap: 12px;
    }

    .station-landing .station-final .station-cta {
        justify-self: start;
    }
}
