:root {
    --pink: #ef165a;
    --pink-dark: #ca0f48;
    --pink-soft: #ff4d82;
    --yellow: #ffd50b;
    --yellow-deep: #f0bb00;
    --sky: #93d9fa;
    --navy: #071a3f;
    --ink: #10172a;
    --muted: #687087;
    --line: #e8eaf0;
    --paper: #fffdfb;
    --green: #9ed227;
    --player-width: clamp(330px, 24.6vw, 390px);
    --header-height: 72px;
    --radius-lg: 28px;
    --radius-md: 20px;
    --shadow: 0 18px 50px rgba(20, 35, 65, .1);
    --font-rounded: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
    --font-body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--ink);
    background: #f6f8fc;
    font-family: var(--font-body);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

body.is-navigating .page-content {
    opacity: .5;
    pointer-events: none;
}

body.player-expanded {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    color: inherit;
    font: inherit;
}

button,
summary,
a {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
    outline: 3px solid rgba(7, 26, 63, .35);
    outline-offset: 3px;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    border-radius: 12px;
    background: #fff;
    color: var(--navy);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-shell {
    min-height: 100vh;
    margin-left: var(--player-width);
    overflow: hidden;
}

.page-content {
    min-height: calc(100vh - var(--header-height));
    transition: opacity .18s ease;
}

.section-wrap {
    width: min(100% - 48px, 1280px);
    margin-inline: auto;
}

.eyebrow,
.hero-kicker {
    display: block;
    margin-bottom: 4px;
    color: var(--pink);
    font-size: .75rem;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.icon-button {
    display: inline-grid;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.icon-button:hover {
    border-color: #cfd4df;
    transform: translateY(-2px);
}

.icon-button svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    display: flex;
    min-height: var(--header-height);
    padding: 10px clamp(18px, 2.3vw, 36px);
    align-items: center;
    gap: 18px;
    border-bottom: 1px solid rgba(11, 28, 63, .06);
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(14px);
}

.site-nav {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: clamp(2px, .65vw, 12px);
}

.nav-link,
.nav-more > summary {
    display: inline-flex;
    min-height: 42px;
    padding: 9px clamp(11px, 1vw, 17px);
    align-items: center;
    border-radius: 999px;
    font-size: .92rem;
    font-weight: 750;
    list-style: none;
    cursor: pointer;
    white-space: nowrap;
}

.nav-link:hover,
.nav-more > summary:hover,
.nav-link.is-active,
.nav-more.is-active > summary {
    background: var(--yellow);
}

.nav-more {
    position: relative;
}

.nav-more > summary::-webkit-details-marker {
    display: none;
}

.nav-more > summary::after {
    width: 7px;
    height: 7px;
    margin: -4px 0 0 8px;
    border-right: 2px solid;
    border-bottom: 2px solid;
    content: "";
    transform: rotate(45deg);
}

.nav-more__panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: grid;
    width: 230px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
}

.nav-more__panel a {
    padding: 10px 12px;
    border-radius: 10px;
    font-weight: 650;
}

.nav-more__panel a:hover {
    color: var(--pink);
    background: #fff2f6;
}

.header-actions {
    display: flex;
    margin-left: auto;
    align-items: center;
    gap: 8px;
}

.social-link {
    color: #138dd3;
    font-size: .78rem;
    font-weight: 900;
}

.account-link {
    color: #fff;
    border-color: var(--pink);
    background: var(--pink);
}

.account-link.is-active {
    box-shadow: 0 0 0 4px rgba(239, 22, 90, .18);
}

.header-search {
    position: absolute;
    inset: calc(100% + 1px) 24px auto;
    display: flex;
    padding: 14px;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 0 0 18px 18px;
    background: #fff;
    box-shadow: var(--shadow);
}

.header-search[hidden] {
    display: none;
}

.header-search input {
    flex: 1;
    min-width: 0;
    padding: 11px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.header-search button,
.filter-bar button,
.button-link {
    padding: 10px 18px;
    border: 0;
    border-radius: 12px;
    background: var(--yellow);
    font-weight: 800;
    cursor: pointer;
}

.mobile-brand,
.menu-toggle {
    display: none;
}

/* Persistent player */
.radio-player {
    position: fixed;
    z-index: 300;
    inset: 0 auto 0 0;
    width: var(--player-width);
    color: #fff;
    background:
        radial-gradient(circle at 15% 8%, rgba(255,255,255,.15) 0 3px, transparent 4px),
        radial-gradient(circle at 84% 18%, rgba(255,255,255,.12) 0 8px, transparent 9px),
        linear-gradient(180deg, #f51c61 0%, #e80e53 64%, #d90d4e 100%);
    box-shadow: 8px 0 32px rgba(120, 4, 48, .16);
    overflow: hidden;
}

.radio-player::before {
    position: absolute;
    inset: 0;
    opacity: .12;
    background-image:
        radial-gradient(circle at 20px 20px, transparent 10px, #fff 11px, transparent 12px),
        radial-gradient(circle at 58px 62px, transparent 15px, #fff 16px, transparent 17px);
    background-size: 90px 90px;
    content: "";
    pointer-events: none;
}

.player-full {
    position: relative;
    z-index: 1;
    height: 100%;
    padding: 12px clamp(20px, 2.1vw, 34px) 22px;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-color: rgba(255,255,255,.45) transparent;
    scrollbar-width: thin;
}

.player-brand {
    display: block;
    width: min(88%, 290px);
    margin: -4px auto -2px;
}

.player-brand img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    object-position: center;
    mix-blend-mode: multiply;
}

.live-row {
    display: flex;
    min-height: 26px;
    margin: -3px 0 10px;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.live-pill,
.stale-pill {
    display: inline-flex;
    padding: 4px 12px;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .04em;
}

.live-pill span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 0 rgba(255,255,255,.6);
    animation: live-pulse 1.8s infinite;
}

.live-pill.is-offline {
    opacity: .65;
}

.live-pill.is-offline span {
    animation: none;
}

.stale-pill {
    border-color: rgba(255, 229, 127, .65);
    color: #fff2a7;
}

@keyframes live-pulse {
    70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

.cover-frame {
    position: relative;
    width: min(100%, 305px);
    margin: 0 auto;
    overflow: hidden;
    aspect-ratio: 1;
    border: 3px solid #fff;
    border-radius: 26px;
    background: #311559;
    box-shadow: 0 18px 34px rgba(76, 0, 37, .25);
}

.cover-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.track-copy {
    display: grid;
    min-height: 68px;
    margin: 12px auto 0;
    align-content: center;
    text-align: center;
}

.track-copy strong,
.track-copy span {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.track-copy strong {
    font-family: var(--font-rounded);
    font-size: clamp(1.35rem, 2vw, 1.78rem);
    line-height: 1.1;
}

.track-copy span {
    margin-top: 3px;
    color: var(--yellow);
    font-family: var(--font-rounded);
    font-size: clamp(1.2rem, 1.8vw, 1.55rem);
    font-weight: 900;
}

.visualizer {
    display: block;
    width: 100%;
    height: 44px;
    margin: 1px 0 5px;
}

.stream-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.stream-facts span {
    display: flex;
    min-width: 0;
    padding: 7px 8px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 10px;
    background: rgba(145, 0, 54, .15);
    font-size: .78rem;
    white-space: nowrap;
}

.stream-facts svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.player-controls {
    display: grid;
    margin: 12px auto 9px;
    grid-template-columns: 58px 82px 58px;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.player-controls button,
.mini-play,
.mini-expand,
.player-close {
    display: grid;
    padding: 0;
    place-items: center;
    border-radius: 50%;
    cursor: pointer;
}

.reaction-button {
    width: 58px;
    height: 58px;
    color: #fff;
    border: 2px solid #fff;
    background: transparent;
}

.main-play {
    width: 82px;
    height: 82px;
    color: var(--navy);
    border: 1px solid rgba(0,0,0,.1);
    background: var(--yellow);
    box-shadow: 0 12px 20px rgba(83, 38, 0, .22);
}

.player-controls svg,
.mini-play svg,
.mini-expand svg,
.player-close svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.main-play svg {
    width: 35px;
    height: 35px;
}

.icon-pause,
.is-playing .icon-play {
    display: none;
}

.is-playing .icon-pause {
    display: block;
}

.volume-control {
    display: grid;
    grid-template-columns: 22px 1fr 42px;
    align-items: center;
    gap: 9px;
}

.volume-control svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.volume-control input {
    width: 100%;
    height: 5px;
    accent-color: var(--yellow);
    cursor: pointer;
}

.volume-control output {
    font-size: .78rem;
    font-weight: 800;
}

.rating-preview {
    display: grid;
    margin: 13px -8px 0;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid rgba(255,255,255,.24);
    border-bottom: 1px solid rgba(255,255,255,.24);
}

.rating-preview > div {
    display: grid;
    padding: 9px 10px;
    gap: 2px;
}

.rating-preview > div + div {
    border-left: 1px solid rgba(255,255,255,.24);
}

.rating-preview span {
    font-size: .68rem;
}

.rating-preview strong {
    color: #fff6b6;
    font-size: .72rem;
}

.music-services {
    display: flex;
    margin: 9px 0;
    justify-content: center;
    gap: 8px;
}

.music-services a {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.36);
    border-radius: 50%;
    font-size: .62rem;
    font-weight: 900;
}

.player-history {
    padding-top: 3px;
}

.player-history__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.player-history__heading h2 {
    margin: 0;
    font-size: .8rem;
}

.player-history__heading a {
    font-size: .7rem;
    font-weight: 750;
}

.player-history__list {
    display: grid;
    max-height: 94px;
    margin-top: 6px;
    gap: 5px;
    overflow-y: auto;
}

.history-mini {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
}

.history-mini img {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    object-fit: cover;
}

.history-mini div {
    min-width: 0;
}

.history-mini strong,
.history-mini span {
    display: block;
    overflow: hidden;
    font-size: .69rem;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.history-mini span,
.history-mini time,
.player-history__empty {
    color: rgba(255,255,255,.76);
    font-size: .63rem;
}

.player-history__empty {
    margin: 8px 0;
}

.player-mini,
.player-close {
    display: none;
}

/* Hero */
.hero {
    display: grid;
    min-height: 350px;
    grid-template-columns: minmax(440px, 1.05fr) minmax(430px, 1fr);
    background:
        radial-gradient(circle at 78% 18%, #fff 0 6px, transparent 7px),
        linear-gradient(180deg, #a6e2fc 0%, #83d1f4 100%);
    overflow: hidden;
}

.hero-art {
    min-height: 350px;
    overflow: hidden;
}

.hero-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
}

.hero-copy {
    position: relative;
    display: flex;
    padding: clamp(30px, 3.5vw, 58px) clamp(28px, 4vw, 68px) 32px 10px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.hero-copy::after {
    position: absolute;
    right: 10%;
    bottom: -25px;
    width: 120%;
    height: 48px;
    border-radius: 50% 50% 0 0;
    background: #0c9bd1;
    content: "";
    transform: rotate(-2deg);
}

.hero-kicker {
    color: var(--navy);
}

.hero h1 {
    margin: 0;
    color: var(--navy);
    font-family: var(--font-rounded);
    font-size: clamp(2.9rem, 5vw, 5.6rem);
    letter-spacing: -.055em;
    line-height: .95;
}

.hero h1 span {
    color: var(--pink);
}

.hero-slogan {
    margin: 13px 0 0;
    color: var(--pink);
    font-family: var(--font-rounded);
    font-size: clamp(1.65rem, 2.8vw, 3rem);
    font-weight: 900;
    line-height: 1.05;
}

.hero-description {
    margin: 12px 0 18px;
    color: var(--navy);
    font-size: clamp(1rem, 1.4vw, 1.3rem);
    font-weight: 750;
}

.hero-play {
    position: relative;
    z-index: 2;
    display: inline-flex;
    min-height: 58px;
    padding: 14px 28px;
    align-items: center;
    gap: 10px;
    border: 0;
    border-radius: 999px;
    color: var(--navy);
    background: var(--yellow);
    box-shadow: 0 10px 24px rgba(117, 78, 0, .18);
    font-size: 1.08rem;
    font-weight: 900;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease;
}

.hero-play:hover {
    box-shadow: 0 14px 28px rgba(117, 78, 0, .24);
    transform: translateY(-2px);
}

.hero-play svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Cards */
.programs {
    display: grid;
    padding-top: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.program-card {
    position: relative;
    min-height: 220px;
    padding: 18px;
    overflow: hidden;
    border-radius: 22px;
    isolation: isolate;
}

.program-card::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .14;
    background-image: radial-gradient(circle, #00123b 0 1px, transparent 1.5px);
    background-size: 12px 12px;
    content: "";
}

.program-card > div {
    position: relative;
    z-index: 2;
    max-width: 54%;
}

.program-card > div > span {
    display: inline-block;
    padding: 5px 8px;
    border-radius: 999px;
    background: var(--yellow);
    color: var(--navy);
    font-size: .58rem;
    font-weight: 900;
    text-transform: uppercase;
}

.program-card h3 {
    margin: 10px 0 7px;
    color: var(--pink);
    font-family: var(--font-rounded);
    font-size: clamp(1.75rem, 2.5vw, 2.65rem);
    letter-spacing: -.06em;
    line-height: .83;
    text-transform: uppercase;
}

.program-card--night h3 {
    color: #fff;
}

.program-card p {
    margin: 0;
    color: var(--navy);
    font-size: .84rem;
    font-weight: 750;
    line-height: 1.25;
}

.program-card--night p {
    color: #fff;
}

.program-card img {
    position: absolute;
    z-index: 1;
    right: -2px;
    bottom: 0;
    width: 54%;
    height: 96%;
    object-fit: cover;
    object-position: center;
    mix-blend-mode: multiply;
}

.program-card > a {
    position: absolute;
    z-index: 3;
    left: 18px;
    bottom: 16px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.88);
    color: var(--pink);
    font-size: .69rem;
    font-weight: 850;
}

.program-card--morning {
    background: #ffd232;
}

.program-card--night {
    background: #222a75;
}

.program-card--story {
    background: #a9d635;
}

.dashboard {
    display: grid;
    padding-top: 18px;
    padding-bottom: 30px;
    grid-template-columns: .96fr .9fr 1.12fr;
    gap: 14px;
}

.portal-card {
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(18, 31, 55, .045);
}

.card-heading,
.section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.card-heading h2,
.section-heading h2 {
    margin: 0;
    color: var(--navy);
    font-family: var(--font-rounded);
    font-size: clamp(1.1rem, 1.45vw, 1.42rem);
    line-height: 1.1;
}

.card-heading > a {
    padding-top: 4px;
    color: #0d68cb;
    font-size: .69rem;
    font-weight: 700;
    white-space: nowrap;
}

.honest-empty {
    display: grid;
    min-height: 190px;
    padding: 20px;
    place-items: center;
    align-content: center;
    text-align: center;
}

.honest-empty > span {
    color: var(--pink);
    font-size: 2.1rem;
}

.honest-empty strong {
    color: var(--navy);
}

.honest-empty p {
    max-width: 280px;
    margin: 6px 0 0;
    color: var(--muted);
    font-size: .8rem;
}

.news-list {
    display: grid;
    margin-top: 12px;
    gap: 9px;
}

.news-teaser {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 11px;
}

.news-teaser img {
    width: 86px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
}

.news-teaser div {
    min-width: 0;
}

.news-teaser strong {
    display: block;
    color: var(--navy);
    font-size: .78rem;
}

.news-teaser p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: .69rem;
    line-height: 1.35;
}

.quick-links {
    padding-block: 8px 50px;
}

.quick-grid {
    display: grid;
    margin-top: 18px;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.quick-grid a {
    display: grid;
    min-height: 150px;
    padding: 20px;
    align-content: center;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    transition: transform .18s ease, box-shadow .18s ease;
}

.quick-grid a:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.quick-grid span {
    color: var(--pink);
    font-size: 1.7rem;
}

.quick-grid strong {
    margin-top: 8px;
    color: var(--navy);
}

.quick-grid small {
    margin-top: 3px;
    color: var(--muted);
}

/* Interior pages */
.page-hero {
    position: relative;
    display: flex;
    min-height: 290px;
    padding: clamp(54px, 7vw, 100px) max(32px, calc((100% - 1180px) / 2));
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 22%, #fff 0 26px, transparent 27px),
        radial-gradient(circle at 83% 25%, #fff 0 18px, transparent 19px),
        linear-gradient(135deg, #a8e6ff, #70c9ef);
}

.page-hero > div {
    position: relative;
    z-index: 2;
    width: min(700px, 80%);
}

.page-hero h1 {
    margin: 0;
    color: var(--navy);
    font-family: var(--font-rounded);
    font-size: clamp(2.3rem, 5vw, 4.8rem);
    letter-spacing: -.05em;
    line-height: .98;
}

.page-hero p {
    max-width: 660px;
    margin: 14px 0 0;
    color: #17345f;
    font-size: clamp(1rem, 1.4vw, 1.22rem);
    font-weight: 650;
}

.page-hero__heart {
    position: absolute;
    right: 8%;
    color: var(--pink);
    font-size: clamp(8rem, 17vw, 16rem);
    line-height: 1;
    opacity: .18;
    transform: rotate(10deg);
}

.section-page {
    min-height: 430px;
    padding-block: 34px 70px;
}

.filter-bar {
    display: grid;
    padding: 18px;
    grid-template-columns: 1fr 210px auto;
    align-items: end;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
}

.filter-bar label {
    display: grid;
    gap: 6px;
}

.filter-bar label span {
    color: var(--muted);
    font-size: .75rem;
    font-weight: 750;
}

.filter-bar input,
.filter-bar select {
    width: 100%;
    min-height: 46px;
    padding: 10px 13px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

.filter-bar button {
    min-height: 46px;
}

.content-empty {
    display: grid;
    min-height: 320px;
    margin-top: 18px;
    padding: 34px;
    place-items: center;
    align-content: center;
    border: 1px dashed #d9dce6;
    border-radius: 24px;
    background: rgba(255,255,255,.7);
    text-align: center;
}

.content-empty > span {
    color: var(--pink);
    font-size: 3rem;
}

.content-empty h2 {
    margin: 8px 0 0;
    color: var(--navy);
    font-family: var(--font-rounded);
}

.content-empty p {
    max-width: 560px;
    margin: 7px 0 0;
    color: var(--muted);
}

.content-empty .button-link {
    margin-top: 18px;
}

.history-results__head {
    display: flex;
    margin: 24px 2px 12px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: .82rem;
}

.history-results__head strong {
    color: var(--navy);
}

.history-results {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.history-card {
    display: grid;
    min-width: 0;
    padding: 10px;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(8, 35, 78, .05);
}

.history-card > img,
.artist-tracks img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 14px;
    object-fit: cover;
    background: #fff0f5;
}

.history-card__body {
    min-width: 0;
    align-self: center;
}

.history-card time {
    color: var(--muted);
    font-size: .72rem;
}

.history-card time strong {
    color: var(--pink);
    font-size: .9rem;
}

.history-card h2,
.artist-tracks h2 {
    overflow: hidden;
    margin: 5px 0 2px;
    color: var(--navy);
    font-family: var(--font-rounded);
    font-size: 1rem;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.history-card__artist {
    display: block;
    overflow: hidden;
    color: var(--muted);
    font-size: .82rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.history-card__artist:hover {
    color: var(--pink);
}

.history-card__services {
    display: flex;
    margin-top: 9px;
    flex-wrap: wrap;
    gap: 5px;
}

.history-card__services a {
    padding: 4px 7px;
    border-radius: 999px;
    background: #f2f5fb;
    color: var(--navy);
    font-size: .62rem;
    font-weight: 800;
}

.pagination {
    display: grid;
    margin-top: 22px;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 14px;
}

.pagination a {
    width: fit-content;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--navy);
    font-weight: 800;
}

.pagination a:last-child {
    justify-self: end;
}

.pagination strong {
    color: var(--muted);
    font-size: .82rem;
}

.artist-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.artist-card,
.artist-summary {
    display: flex;
    min-width: 0;
    padding: 16px;
    align-items: center;
    gap: 13px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
}

.artist-card__avatar {
    display: grid;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    place-items: center;
    border-radius: 50%;
    background: var(--pink);
    color: #fff;
    font-size: 1.35rem;
}

.artist-card > span:nth-child(2) {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.artist-card strong,
.artist-summary strong {
    overflow: hidden;
    color: var(--navy);
    font-family: var(--font-rounded);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.artist-card small,
.artist-summary p,
.artist-tracks p {
    margin: 0;
    color: var(--muted);
    font-size: .78rem;
}

.artist-card b {
    margin-left: auto;
    color: var(--pink);
}

.artist-summary {
    margin-bottom: 16px;
}

.artist-tracks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.artist-tracks article {
    display: grid;
    padding: 10px;
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.chat-shell {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
}

.chat-shell__head,
.chat-shell__composer {
    display: flex;
    padding: 16px 20px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #fff6f9;
}

.chat-shell__head span {
    color: var(--muted);
    font-size: .76rem;
}

.chat-shell__messages {
    padding: 0 20px;
}

.chat-shell__messages .content-empty {
    margin: 0;
    border: 0;
}

.chat-shell__composer input {
    flex: 1;
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.chat-shell__composer a {
    padding: 9px 15px;
    border-radius: 12px;
    background: var(--yellow);
    font-weight: 800;
}

.split-cards,
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.content-card,
.login-card,
.contact-grid a,
.editorial-copy {
    padding: clamp(24px, 4vw, 46px);
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
}

.content-card h2,
.login-card h2,
.editorial-copy h2 {
    margin: 8px 0;
    color: var(--navy);
    font-family: var(--font-rounded);
}

.content-card p,
.login-card p,
.editorial-copy p {
    color: var(--muted);
}

.content-card button,
.login-card button {
    padding: 11px 15px;
    border: 0;
    border-radius: 12px;
}

.feature-icon {
    color: var(--pink);
    font-size: 2.2rem;
}

.weekday-tabs {
    display: flex;
    margin-bottom: 16px;
    gap: 8px;
}

.weekday-tabs button {
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font-weight: 750;
}

.weekday-tabs button.is-active {
    border-color: var(--yellow);
    background: var(--yellow);
}

.login-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.login-card > div {
    max-width: 720px;
}

.contact-grid {
    grid-template-columns: repeat(3, 1fr);
}

.contact-grid a {
    display: grid;
    gap: 6px;
    transition: transform .18s ease;
}

.contact-grid a:hover {
    transform: translateY(-3px);
}

.contact-grid strong {
    color: var(--pink);
    font-family: var(--font-rounded);
    font-size: 1.3rem;
}

.contact-grid span {
    color: var(--muted);
    overflow-wrap: anywhere;
}

.editorial-copy {
    max-width: 860px;
    margin-inline: auto;
}

.editorial-copy p {
    font-size: 1.05rem;
    line-height: 1.8;
}

.site-footer {
    display: grid;
    padding: 32px clamp(24px, 4vw, 60px);
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 30px;
    color: #fff;
    background: var(--navy);
}

.site-footer > div {
    display: grid;
}

.site-footer span,
.site-footer p,
.site-footer nav {
    color: rgba(255,255,255,.72);
    font-size: .78rem;
}

.site-footer nav {
    display: flex;
    gap: 16px;
}

.toast-region {
    position: fixed;
    z-index: 1000;
    right: 20px;
    bottom: 20px;
    display: grid;
    max-width: min(360px, calc(100% - 40px));
    gap: 8px;
}

.toast {
    padding: 13px 16px;
    border-radius: 14px;
    color: #fff;
    background: var(--navy);
    box-shadow: var(--shadow);
    font-size: .86rem;
    animation: toast-in .2s ease-out;
}

@keyframes toast-in {
    from { opacity: 0; transform: translateY(10px); }
}

@media (max-width: 1320px) {
    :root { --player-width: 330px; }
    .site-header { gap: 10px; }
    .nav-link, .nav-more > summary { padding-inline: 10px; font-size: .82rem; }
    .header-actions { gap: 5px; }
    .icon-button { width: 38px; height: 38px; }
    .hero { grid-template-columns: minmax(390px, 1fr) minmax(390px, 1fr); }
    .program-card { min-height: 205px; }
}

@media (max-height: 880px) and (min-width: 961px) {
    .player-full { padding-inline: 24px; }
    .player-brand img { height: 95px; }
    .cover-frame { width: min(100%, 235px); }
    .track-copy { min-height: 52px; margin-top: 8px; }
    .visualizer { height: 30px; }
    .player-controls { margin-block: 8px 6px; grid-template-columns: 46px 66px 46px; gap: 16px; }
    .reaction-button { width: 46px; height: 46px; }
    .main-play { width: 66px; height: 66px; }
    .music-services { margin-block: 5px; }
    .player-history__list { max-height: 68px; }
}

@media (max-width: 1080px) and (min-width: 961px) {
    .header-actions .social-link { display: none; }
    .hero { grid-template-columns: .95fr 1fr; }
    .hero-copy { padding-right: 25px; }
    .programs { grid-template-columns: 1fr 1fr; }
    .program-card:last-child { grid-column: 1 / -1; }
    .dashboard { grid-template-columns: 1fr 1fr; }
    .news-card { grid-column: 1 / -1; }
    .news-list { grid-template-columns: repeat(3, 1fr); }
    .quick-grid { grid-template-columns: 1fr 1fr; }
    .history-results,
    .artist-grid,
    .artist-tracks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
    :root {
        --header-height: 64px;
        --player-width: 0px;
    }

    .site-shell {
        margin-left: 0;
        padding-bottom: 78px;
    }

    .radio-player {
        inset: auto 0 0;
        width: 100%;
        height: 78px;
        box-shadow: 0 -10px 30px rgba(90, 5, 42, .2);
        transition: height .25s ease;
    }

    .radio-player.is-expanded {
        height: 100dvh;
        padding-top: env(safe-area-inset-top);
    }

    .player-mini {
        position: relative;
        z-index: 3;
        display: grid;
        height: 78px;
        padding: 9px 10px 9px max(10px, env(safe-area-inset-left));
        grid-template-columns: 56px minmax(0, 1fr) 50px 38px;
        align-items: center;
        gap: 10px;
    }

    .player-mini > img {
        width: 56px;
        height: 56px;
        border: 2px solid #fff;
        border-radius: 13px;
        object-fit: cover;
    }

    .player-mini__text {
        min-width: 0;
    }

    .player-mini__text strong,
    .player-mini__text span {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .player-mini__text strong {
        font-size: .88rem;
    }

    .player-mini__text span {
        color: #fff2a4;
        font-size: .76rem;
    }

    .mini-play,
    .mini-expand {
        width: 46px;
        height: 46px;
        color: var(--navy);
        border: 0;
        background: var(--yellow);
    }

    .mini-expand {
        width: 36px;
        height: 36px;
        color: #fff;
        border: 1px solid rgba(255,255,255,.45);
        background: transparent;
    }

    .radio-player.is-expanded .player-mini {
        display: none;
    }

    .player-full {
        display: none;
        width: min(100%, 480px);
        margin-inline: auto;
        padding: 14px 28px max(28px, env(safe-area-inset-bottom));
    }

    .radio-player.is-expanded .player-full {
        display: block;
    }

    .player-close {
        position: absolute;
        z-index: 4;
        top: 14px;
        right: 16px;
        display: grid;
        width: 42px;
        height: 42px;
        color: #fff;
        border: 1px solid rgba(255,255,255,.5);
        background: rgba(130,0,47,.2);
    }

    .player-brand img { height: 118px; }
    .cover-frame { width: min(66vw, 290px); }
    .player-history__list { max-height: 130px; }

    .site-header {
        justify-content: space-between;
        padding-inline: 14px;
    }

    .mobile-brand {
        display: flex;
        align-items: center;
        gap: 8px;
        color: var(--navy);
        font-family: var(--font-rounded);
        font-weight: 900;
    }

    .mobile-brand__heart {
        display: grid;
        width: 34px;
        height: 34px;
        place-items: center;
        border-radius: 50%;
        color: #fff;
        background: var(--pink);
    }

    .menu-toggle {
        display: inline-grid;
        margin-left: auto;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 1px);
        right: 10px;
        left: 10px;
        display: none;
        max-height: calc(100dvh - 160px);
        padding: 12px;
        flex-direction: column;
        align-items: stretch;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: #fff;
        box-shadow: var(--shadow);
        overflow-y: auto;
    }

    .site-nav.is-open {
        display: flex;
    }

    .nav-link,
    .nav-more > summary {
        width: 100%;
        padding: 11px 14px;
        justify-content: space-between;
        font-size: .92rem;
    }

    .nav-more__panel {
        position: static;
        width: 100%;
        margin-top: 4px;
        padding: 4px 10px 8px 18px;
        border: 0;
        box-shadow: none;
    }

    .header-actions {
        margin-left: 0;
    }

    .header-actions .social-link,
    .header-actions > button {
        display: none;
    }

    .header-search {
        inset-inline: 10px;
    }

    .section-wrap {
        width: min(100% - 28px, 720px);
    }

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .hero-art {
        min-height: 270px;
        order: 2;
    }

    .hero-copy {
        padding: 42px 24px 28px;
        align-items: center;
        text-align: center;
    }

    .hero h1 {
        font-size: clamp(3rem, 13vw, 5rem);
    }

    .hero-copy::after {
        display: none;
    }

    .programs,
    .dashboard,
    .quick-grid,
    .split-cards,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .program-card:last-child,
    .news-card {
        grid-column: auto;
    }

    .program-card {
        min-height: 230px;
    }

    .news-list {
        grid-template-columns: 1fr;
    }

    .filter-bar {
        grid-template-columns: 1fr;
    }

    .history-results,
    .artist-grid,
    .artist-tracks {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .login-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-footer {
        padding-bottom: 34px;
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .site-footer nav {
        flex-wrap: wrap;
    }

    .toast-region {
        right: 14px;
        bottom: 94px;
    }
}

@media (max-width: 700px) {
    .history-results,
    .artist-grid,
    .artist-tracks {
        grid-template-columns: 1fr;
    }

    .history-results__head {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
}

@media (max-width: 480px) {
    .header-actions .account-link { width: 38px; height: 38px; }
    .hero-art { min-height: 225px; }
    .hero-slogan { font-size: 1.55rem; }
    .program-card { min-height: 215px; padding: 16px; }
    .program-card > a { left: 16px; bottom: 14px; }
    .program-card h3 { font-size: 2rem; }
    .program-card p { font-size: .76rem; }
    .dashboard { padding-bottom: 22px; }
    .portal-card { padding: 15px; }
    .card-heading { flex-direction: column; }
    .page-hero { min-height: 230px; padding: 45px 20px; }
    .page-hero > div { width: 100%; }
    .page-hero__heart { right: -16%; }
    .section-page { padding-bottom: 45px; }
}

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

/* Stage 3: secure sign-in and listener account. */
.account-page {
    display: grid;
    gap: 20px;
}

.account-alert {
    padding: 14px 18px;
    border: 1px solid #b9d9c7;
    border-radius: 14px;
    color: #154c31;
    background: #eaf8f0;
    font-weight: 750;
}

.account-alert--error {
    border-color: #f0b7c9;
    color: #8b153c;
    background: #fff0f5;
}

.login-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.login-panel,
.account-profile-card,
.account-stats article {
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(8, 28, 66, .07);
}

.login-panel {
    padding: clamp(22px, 3vw, 34px);
}

.login-panel h2 {
    margin: 8px 0 8px;
    color: var(--navy);
    font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.login-panel > p {
    margin: 0 0 22px;
    color: var(--muted);
    line-height: 1.6;
}

.oauth-buttons,
.email-login-form,
.account-form {
    display: grid;
    gap: 12px;
}

.oauth-button {
    display: flex;
    min-height: 54px;
    padding: 9px 16px;
    align-items: center;
    gap: 13px;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--navy);
    background: #fff;
    font-weight: 800;
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.oauth-button:hover {
    border-color: var(--pink);
    box-shadow: 0 8px 22px rgba(239, 22, 90, .12);
    transform: translateY(-1px);
}

.oauth-button strong {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 10px;
    color: #fff;
    background: var(--navy);
}

.oauth-button--google strong { color: #4285f4; background: #f4f7fb; }
.oauth-button--yandex strong { background: #fc3f1d; }
.oauth-button.is-disabled { color: #7c8492; background: #f4f6f9; cursor: not-allowed; }
.oauth-button.is-disabled:hover { border-color: var(--line); box-shadow: none; transform: none; }

.vkid-shell {
    min-height: 80px;
    margin-top: 12px;
    padding: 12px;
    border-radius: 14px;
    background: #f1f6ff;
}

.vkid-shell > p {
    margin: 10px;
    color: var(--muted);
    font-size: .88rem;
}

.email-login-form + .email-login-form {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.email-login-form label,
.account-form label {
    display: grid;
    gap: 7px;
    color: var(--navy);
    font-size: .82rem;
    font-weight: 800;
}

.email-login-form input,
.account-form input[type="text"] {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid #cdd3df;
    border-radius: 12px;
    color: var(--navy);
    background: #fff;
    font: inherit;
}

.email-login-form input:focus,
.account-form input[type="text"]:focus {
    border-color: var(--pink);
    outline: 3px solid rgba(239, 22, 90, .12);
}

.email-login-form button,
.account-form button,
.account-profile-card > form button {
    min-height: 48px;
    padding: 0 18px;
    border: 0;
    border-radius: 12px;
    color: #0c1837;
    background: var(--yellow);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.account-setup-note,
.login-consent {
    color: var(--muted);
    line-height: 1.55;
}

.account-setup-note {
    padding: 16px;
    border-radius: 14px;
    background: #f4f6f9;
}

.login-consent {
    margin: 0;
    text-align: center;
    font-size: .82rem;
}

.login-consent a { color: var(--pink); font-weight: 800; }

.account-dashboard {
    display: grid;
    gap: 18px;
}

.account-profile-card {
    display: grid;
    padding: clamp(20px, 4vw, 38px);
    gap: 26px;
}

.account-identity {
    display: flex;
    align-items: center;
    gap: 18px;
}

.account-identity img,
.account-avatar {
    width: 86px;
    height: 86px;
    flex: 0 0 86px;
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(239, 22, 90, .18);
    object-fit: cover;
}

.account-avatar {
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--pink);
    font-size: 2rem;
}

.account-identity h2 { margin: 4px 0; color: var(--navy); font-size: 1.8rem; }
.account-identity p { margin: 0; color: var(--muted); }
.account-form { max-width: 560px; }

.account-checkbox {
    display: flex !important;
    align-items: center;
    gap: 10px !important;
    font-weight: 700 !important;
}

.account-checkbox input { width: 18px; height: 18px; accent-color: var(--pink); }

.account-providers {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.provider-chip {
    padding: 7px 11px;
    border-radius: 999px;
    color: #23523a;
    background: #e9f8ef;
    font-size: .78rem;
    font-weight: 850;
}

.button-secondary {
    color: var(--navy) !important;
    border: 1px solid var(--line) !important;
    background: #fff !important;
}

.account-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.account-stats article {
    display: grid;
    min-height: 145px;
    padding: 20px;
    align-content: center;
    gap: 6px;
}

.account-stats span { color: var(--pink); font-size: .78rem; font-weight: 900; text-transform: uppercase; }
.account-stats strong { color: var(--navy); font-size: 2rem; }
.account-stats small { color: var(--muted); line-height: 1.4; }

.account-link img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

@media (max-width: 900px) {
    .login-layout { grid-template-columns: 1fr; }
    .account-stats { grid-template-columns: 1fr; }
    .account-stats article { min-height: 110px; }
}

@media (max-width: 540px) {
    .account-identity { align-items: flex-start; }
    .account-identity img,
    .account-avatar { width: 64px; height: 64px; flex-basis: 64px; }
    .account-identity h2 { font-size: 1.35rem; }
    .account-identity p { overflow-wrap: anywhere; }
}
