:root {
    color-scheme: light;
    --bg: #f5fbf8;
    --surface: #ffffff;
    --surface-2: #e9f7f2;
    --text: #16312d;
    --muted: #63756f;
    --line: #cfe2dc;
    --primary: #0f8f7a;
    --primary-2: #32b48d;
    --accent: #e36d5a;
    --warm: #f4c96a;
    --shadow: 0 18px 50px rgba(20, 92, 77, .12);
    --radius: 8px;
    --max: 1180px;
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

.visually-hidden {
    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;
}

:root[data-theme="dark"] {
    color-scheme: dark;
    --bg: #0c1715;
    --surface: #13221f;
    --surface-2: #18302b;
    --text: #ecf8f3;
    --muted: #a8bbb4;
    --line: #29443d;
    --primary: #37c4a0;
    --primary-2: #79d6b4;
    --accent: #f08b73;
    --warm: #e7bd5b;
    --shadow: 0 18px 50px rgba(0, 0, 0, .3);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--bg);
    color: var(--text);
    font: 16px/1.55 Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    color: var(--accent);
}

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

svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

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

input,
textarea,
select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--text);
    padding: 10px 12px;
}

textarea {
    resize: vertical;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    border-bottom: 1px solid var(--line);
    padding: 14px;
    text-align: left;
    vertical-align: top;
}

th {
    color: var(--muted);
    font-size: 13px;
    text-transform: uppercase;
}

td p {
    margin: 6px 0 0;
    color: var(--muted);
}

.site-shell {
    min-height: 100vh;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 14px clamp(16px, 3vw, 34px);
    border-bottom: 1px solid color-mix(in srgb, var(--line), transparent 35%);
    background: color-mix(in srgb, var(--bg), transparent 8%);
    backdrop-filter: blur(14px);
}

.brand {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: var(--text);
    min-width: max-content;
}

.brand strong,
.brand small {
    display: block;
    line-height: 1.1;
}

.brand small {
    color: var(--muted);
    font-size: 12px;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.main-nav a,
.icon-link,
.theme-toggle,
.button {
    border-radius: var(--radius);
}

.main-nav a {
    padding: 8px 10px;
    color: var(--muted);
    font-size: 14px;
    white-space: nowrap;
}

.main-nav a.is-active,
.main-nav a:hover {
    background: var(--surface-2);
    color: var(--text);
}

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

.icon-link,
.theme-toggle {
    position: relative;
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
}

.icon-link span {
    position: absolute;
    right: -5px;
    top: -5px;
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
}

.radio-dock,
.page-content,
.site-footer {
    width: min(var(--max), calc(100% - 32px));
    margin-inline: auto;
}

.radio-dock {
    padding: 26px 0 10px;
}

.player-card {
    display: grid;
    grid-template-columns: minmax(180px, 300px) 1fr;
    gap: clamp(18px, 3vw, 34px);
    align-items: stretch;
    padding: clamp(16px, 3vw, 28px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--surface), var(--surface-2));
    box-shadow: var(--shadow);
}

.player-art {
    min-height: 240px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface-2) center / cover no-repeat;
}

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

.player-main {
    display: grid;
    align-content: center;
    gap: 16px;
}

.player-topline,
.radio-facts,
.hero-actions,
.buy-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.live-pill {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    width: max-content;
    padding: 5px 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent), transparent 86%);
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
}

.live-pill span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 6px color-mix(in srgb, currentColor, transparent 82%);
}

.stream-state {
    color: var(--muted);
    font-size: 14px;
}

.player-card h1,
.home-hero h2,
.section-heading h2,
.article-page h2,
.auth-card h2 {
    margin: 0;
    letter-spacing: 0;
}

.player-card h1 {
    max-width: 720px;
    font-size: 48px;
    line-height: 1.03;
}

.current-track {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
}

.player-controls {
    display: grid;
    grid-template-columns: auto minmax(180px, 320px) minmax(160px, 220px);
    gap: 16px;
    align-items: center;
}

.play-button {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 14px 30px color-mix(in srgb, var(--primary), transparent 65%);
}

.play-button svg {
    width: 28px;
    height: 28px;
}

.play-button svg path {
    fill: currentColor;
    stroke: none;
}

.wave-wrap {
    height: 92px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--surface), transparent 25%);
    overflow: hidden;
}

.wave-wrap canvas {
    width: 100%;
    height: 100%;
}

.volume-control span {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 13px;
}

.volume-control input {
    padding: 0;
    accent-color: var(--primary);
}

.radio-facts {
    color: var(--muted);
    font-size: 14px;
}

.radio-facts span,
.radio-facts a {
    padding: 6px 9px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--surface), transparent 25%);
}

.radio-details {
    margin-top: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.radio-details summary {
    cursor: pointer;
    padding: 14px 16px;
    font-weight: 700;
}

.radio-widgets {
    display: grid;
    grid-template-columns: minmax(240px, .9fr) minmax(300px, 1.1fr);
    gap: 20px;
    padding: 0 16px 16px;
}

.radio-widgets h2 {
    margin: 0 0 12px;
    font-size: 20px;
}

.last-song-row,
.my_table_order,
.my_table_song {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 6px;
    border-radius: var(--radius);
}

.last-song-row img,
.my_table_song_cover {
    width: 45px;
    height: 45px;
    border-radius: 6px;
    object-fit: cover;
}

.my_table_song:hover {
    background: var(--surface-2);
}

.form-grid {
    display: grid;
    gap: 12px;
}

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

.request-table form {
    display: grid;
    gap: 12px;
}

.page-content {
    padding: 24px 0 42px;
}

.home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
    gap: clamp(20px, 4vw, 56px);
    align-items: center;
    min-height: 360px;
}

.home-hero p {
    max-width: 660px;
    color: var(--muted);
    font-size: 18px;
}

.home-hero img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.home-hero h2,
.section-heading h2,
.article-page h2 {
    font-size: 42px;
    line-height: 1.08;
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    border: 1px solid transparent;
    padding: 10px 14px;
    cursor: pointer;
    font-weight: 700;
}

.button.primary {
    background: var(--primary);
    color: #fff;
}

.button.ghost {
    border-color: var(--line);
    background: var(--surface);
    color: var(--text);
}

.section-band {
    margin-top: 26px;
    padding: clamp(18px, 3vw, 28px) 0;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: end;
    margin-bottom: 18px;
}

.program-grid,
.card-grid,
.product-grid,
.metric-grid {
    display: grid;
    gap: 16px;
}

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

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

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

.program-card,
.news-card,
.product-card,
.auth-card,
.mini-panel,
.empty-state,
.checkout-box {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 10px 26px rgba(17, 94, 76, .06);
}

.program-card {
    min-height: 170px;
    padding: 18px;
}

.program-card span,
.news-card span {
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
}

.program-card h3,
.news-card h3,
.product-card h3,
.mini-panel h3 {
    margin: 8px 0;
    line-height: 1.2;
}

.program-card p,
.news-card p,
.product-card p,
.mini-panel p {
    margin: 0;
    color: var(--muted);
}

.split-band {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    border-block: 1px solid var(--line);
}

.split-band p {
    max-width: 760px;
    color: var(--muted);
}

.news-card {
    overflow: hidden;
}

.news-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: var(--surface-2);
}

.news-card div {
    padding: 16px;
}

.product-card {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 14px;
    padding: 14px;
}

.product-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
    background: var(--surface-2);
}

.buy-row {
    justify-content: space-between;
}

.buy-row input {
    width: 72px;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.qty-input {
    width: 86px;
}

.checkout-box {
    display: grid;
    grid-template-columns: 1fr minmax(220px, 300px) auto;
    gap: 16px;
    align-items: end;
    margin-top: 16px;
    padding: 18px;
}

.checkout-box strong {
    display: block;
    font-size: 28px;
}

.article-page {
    width: min(860px, 100%);
    margin-inline: auto;
    padding: 18px 0 34px;
}

.article-page > img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 20px;
    background: var(--surface-2);
}

.article-content {
    color: var(--text);
    font-size: 18px;
}

.article-content p {
    color: var(--muted);
}

.social-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.social-list a {
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.auth-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    width: min(900px, 100%);
    margin-inline: auto;
}

.auth-card {
    display: grid;
    gap: 14px;
    padding: 22px;
}

.auth-card label,
.checkout-box label,
.copy-field,
.request-table label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 14px;
}

.ref-note {
    margin: 0;
    color: var(--primary);
}

.account-layout {
    display: grid;
    grid-template-columns: minmax(260px, 360px) 1fr;
    gap: 20px;
}

.account-summary {
    align-self: start;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 22px;
}

.metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 18px 0;
}

.metric-grid div {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px;
    background: var(--surface-2);
}

.metric-grid span {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

.metric-grid strong {
    font-size: 22px;
}

.copy-field {
    margin-bottom: 16px;
}

.account-panels {
    display: grid;
    gap: 16px;
}

.mini-panel {
    padding: 18px;
}

.mini-list {
    display: grid;
    gap: 8px;
}

.mini-list span {
    display: block;
    padding: 10px 12px;
    border-radius: var(--radius);
    background: var(--surface-2);
    color: var(--muted);
}

.notice {
    margin: 0 0 14px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.notice-success {
    border-color: color-mix(in srgb, var(--primary), transparent 45%);
    background: color-mix(in srgb, var(--primary), transparent 88%);
}

.notice-error {
    border-color: color-mix(in srgb, var(--accent), transparent 45%);
    background: color-mix(in srgb, var(--accent), transparent 88%);
}

.notice-warning {
    border-color: color-mix(in srgb, var(--warm), transparent 30%);
    background: color-mix(in srgb, var(--warm), transparent 82%);
}

.empty-state {
    display: grid;
    justify-items: start;
    gap: 12px;
    padding: 28px;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 30px 0 42px;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.site-footer strong,
.site-footer span {
    display: block;
}

body.is-loading #app {
    opacity: .58;
}

@media (max-width: 980px) {
    .site-header {
        grid-template-columns: 1fr auto;
    }

    .main-nav {
        grid-column: 1 / -1;
        justify-content: start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 2px;
    }

    .player-card,
    .home-hero,
    .account-layout {
        grid-template-columns: 1fr;
    }

    .player-art {
        min-height: 200px;
    }

    .program-grid,
    .card-grid,
    .product-grid,
    .radio-widgets {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .checkout-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .radio-dock,
    .page-content,
    .site-footer {
        width: min(100% - 20px, var(--max));
    }

    .site-header {
        padding: 12px 10px;
    }

    .brand small {
        display: none;
    }

    .player-card {
        padding: 14px;
    }

    .player-controls,
    .program-grid,
    .card-grid,
    .product-grid,
    .radio-widgets,
    .auth-layout,
    .form-grid.two,
    .metric-grid {
        grid-template-columns: 1fr;
    }

    .player-card h1 {
        font-size: 32px;
    }

    .home-hero h2,
    .section-heading h2,
    .article-page h2 {
        font-size: 30px;
    }

    .section-heading,
    .split-band,
    .site-footer {
        align-items: start;
        flex-direction: column;
    }

    th,
    td {
        padding: 10px;
    }
}

/* Wellness editorial redesign */
:root {
    --bg: #f7fbf6;
    --surface: #ffffff;
    --surface-2: #eef6ea;
    --text: #16231d;
    --muted: #68766d;
    --line: #dce7d8;
    --primary: #668b3f;
    --primary-2: #2f704d;
    --accent: #d88b57;
    --warm: #e8d789;
    --deep: #0f5535;
    --shadow: 0 22px 60px rgba(43, 86, 56, .12);
    --radius: 8px;
    --max: 1500px;
}

:root[data-theme="dark"] {
    --bg: #0f1712;
    --surface: #16231b;
    --surface-2: #1e3025;
    --text: #f3f8ef;
    --muted: #aebbaa;
    --line: #2e4435;
    --primary: #a1c66f;
    --primary-2: #78b887;
    --accent: #e0a174;
    --warm: #e0cf82;
    --deep: #113d2c;
}

body {
    background:
        radial-gradient(circle at 8% 0%, rgba(151, 181, 113, .16), transparent 32%),
        linear-gradient(180deg, #fbfdf9 0%, var(--bg) 44%, #fff 100%);
}

:root[data-theme="dark"] body {
    background: linear-gradient(180deg, #101b14 0%, #0f1712 100%);
}

.site-header {
    position: sticky;
    grid-template-columns: auto 1fr auto;
    width: min(var(--max), calc(100% - 48px));
    margin: 18px auto 0;
    padding: 16px 20px;
    border: 1px solid rgba(82, 112, 71, .16);
    border-radius: 0 0 8px 8px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 18px 45px rgba(61, 89, 55, .08);
}

:root[data-theme="dark"] .site-header {
    background: rgba(22, 35, 27, .9);
}

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

.brand strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    letter-spacing: 0;
}

.main-nav {
    gap: 18px;
}

.main-nav a {
    position: relative;
    padding: 8px 4px;
    background: transparent;
    color: #39463c;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

:root[data-theme="dark"] .main-nav a {
    color: var(--muted);
}

.main-nav a.is-active,
.main-nav a:hover {
    background: transparent;
    color: var(--deep);
}

:root[data-theme="dark"] .main-nav a.is-active,
:root[data-theme="dark"] .main-nav a:hover {
    color: var(--primary);
}

.main-nav a.is-active::after {
    content: "";
    position: absolute;
    left: 14%;
    right: 14%;
    bottom: -8px;
    height: 2px;
    border-radius: 999px;
    background: var(--primary);
}

.icon-link,
.theme-toggle {
    border-color: rgba(89, 121, 72, .22);
    background: #fff;
}

.radio-dock,
.page-content,
.site-footer {
    width: min(var(--max), calc(100% - 48px));
}

.radio-dock {
    padding: 18px 0 8px;
}

.compact-player {
    display: grid;
    grid-template-columns: auto auto minmax(220px, 1fr) auto minmax(150px, 190px) auto;
    gap: 14px;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid rgba(82, 112, 71, .18);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(239, 248, 234, .92));
    box-shadow: 0 16px 40px rgba(61, 89, 55, .08);
}

:root[data-theme="dark"] .compact-player {
    background: linear-gradient(135deg, rgba(22, 35, 27, .96), rgba(30, 48, 37, .92));
}

.compact-player__live,
.compact-player__meta {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: var(--muted);
    font-size: 13px;
    white-space: nowrap;
}

.live-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d96a4b;
    box-shadow: 0 0 0 7px rgba(217, 106, 75, .12);
}

.compact-play-button {
    width: 46px;
    height: 46px;
    box-shadow: none;
    background: var(--primary);
}

.compact-play-button svg {
    width: 22px;
    height: 22px;
}

.compact-player__track {
    min-width: 0;
}

.compact-player__track strong,
.compact-player__track small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.compact-player__track strong {
    font-size: 16px;
}

.compact-player__track small {
    color: var(--muted);
    font-size: 12px;
}

.compact-player__meta span {
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(102, 139, 63, .09);
}

.compact-volume span {
    margin-bottom: 2px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0;
}

.compact-player__mini {
    min-height: 38px;
    white-space: nowrap;
}

.compact-radio-details {
    margin-top: 10px;
    border-color: rgba(82, 112, 71, .16);
    background: rgba(255, 255, 255, .82);
    box-shadow: none;
}

.page-content {
    padding-top: 16px;
}

.wellness-home {
    display: grid;
    gap: 28px;
}

.wellness-hero {
    display: grid;
    grid-template-columns: minmax(360px, .85fr) minmax(460px, 1.15fr);
    min-height: 500px;
    overflow: hidden;
    border: 1px solid rgba(82, 112, 71, .16);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.wellness-hero__copy {
    display: grid;
    align-content: center;
    gap: 22px;
    padding: clamp(34px, 5vw, 64px);
}

.wellness-hero__copy h2 {
    max-width: 700px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 68px;
    font-weight: 500;
    line-height: .98;
    color: #1b231d;
}

:root[data-theme="dark"] .wellness-hero__copy h2 {
    color: var(--text);
}

.wellness-hero__copy p {
    max-width: 590px;
    margin: 0;
    color: var(--muted);
    font-size: 18px;
}

.wellness-hero__image {
    position: relative;
    min-height: 420px;
    overflow: hidden;
}

.wellness-hero__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, .62), transparent 35%);
    pointer-events: none;
}

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

.hero-proof {
    display: grid;
    gap: 4px;
    width: min(420px, 100%);
    padding: 18px 20px;
    border-left: 4px solid var(--primary);
    background: rgba(239, 248, 234, .8);
}

.hero-proof span,
.hero-proof small {
    color: var(--muted);
    font-size: 13px;
}

.hero-proof strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
}

.home-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, .75fr);
    gap: 24px;
}

.schedule-panel,
.bonus-panel {
    border: 1px solid rgba(82, 112, 71, .16);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 14px 38px rgba(61, 89, 55, .07);
}

.schedule-panel {
    padding: 24px;
}

.compact-heading {
    align-items: start;
    margin-bottom: 14px;
}

.schedule-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.schedule-item {
    display: grid;
    gap: 8px;
    min-height: 150px;
    padding: 16px;
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(239, 248, 234, .95), rgba(255, 255, 255, .95));
}

.schedule-item span,
.visual-card span {
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.schedule-item strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    line-height: 1.1;
}

.schedule-item small {
    align-self: end;
    color: var(--muted);
}

.bonus-panel {
    display: grid;
    align-content: center;
    gap: 14px;
    padding: 28px;
    background:
        linear-gradient(135deg, rgba(35, 103, 66, .92), rgba(102, 139, 63, .92)),
        url("../img/visual-shop.jpg") center / cover;
    color: #fff;
}

.bonus-panel .eyebrow,
.bonus-panel p {
    color: rgba(255, 255, 255, .78);
}

.bonus-panel h2 {
    margin: 0;
    font-size: 50px;
    line-height: 1;
}

.bonus-panel .button.primary {
    background: #fff;
    color: var(--deep);
}

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

.visual-card {
    position: relative;
    min-height: 260px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 18px 48px rgba(61, 89, 55, .1);
}

.visual-card > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.visual-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .54) 52%, rgba(255, 255, 255, .08));
}

.visual-card > div {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: end;
    gap: 8px;
    width: min(78%, 360px);
    min-height: 260px;
    padding: 28px;
}

.visual-card h3 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    line-height: 1.05;
}

.visual-card p {
    margin: 0;
    color: var(--muted);
}

.visual-card > a {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.editorial-section,
.shop-preview {
    margin-top: 0;
    padding-top: 10px;
}

.section-heading h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
}

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

.news-card,
.product-card,
.program-card,
.auth-card,
.mini-panel,
.empty-state,
.checkout-box {
    border-color: rgba(82, 112, 71, .16);
    box-shadow: 0 14px 38px rgba(61, 89, 55, .07);
}

.news-card img,
.product-card img {
    aspect-ratio: 1.45 / 1;
}

.news-card h3,
.product-card h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 500;
}

.product-card {
    padding: 0;
    overflow: hidden;
}

.product-card > div,
.product-card form {
    padding-inline: 16px;
}

.product-card form {
    padding-bottom: 16px;
}

.button.primary {
    background: var(--primary);
    box-shadow: 0 12px 26px rgba(102, 139, 63, .22);
}

.button.ghost {
    background: rgba(255, 255, 255, .74);
}

.site-footer {
    width: min(var(--max), calc(100% - 48px));
    margin-top: 20px;
}

@media (max-width: 1180px) {
    .compact-player {
        grid-template-columns: auto auto minmax(220px, 1fr) auto;
    }

    .compact-volume,
    .compact-player__mini {
        display: none;
    }

    .wellness-hero {
        grid-template-columns: 1fr;
    }

    .wellness-hero__image {
        min-height: 360px;
        order: -1;
    }

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

@media (max-width: 860px) {
    .site-header,
    .radio-dock,
    .page-content,
    .site-footer {
        width: min(100% - 24px, var(--max));
    }

    .site-header {
        margin-top: 10px;
    }

    .main-nav {
        gap: 12px;
    }

    .compact-player,
    .home-showcase,
    .visual-card-grid,
    .schedule-list,
    .editorial-grid {
        grid-template-columns: 1fr;
    }

    .compact-player__meta {
        display: none;
    }

    .wellness-hero__copy {
        padding: 28px;
    }

    .wellness-hero__copy h2 {
        font-size: 42px;
    }
}

@media (max-width: 560px) {
    .brand strong {
        font-size: 18px;
    }

    .compact-player {
        gap: 10px;
        padding: 10px;
    }

    .compact-player__live {
        display: none;
    }

    .wellness-hero__image {
        min-height: 260px;
    }

    .wellness-hero__copy h2 {
        font-size: 34px;
    }

    .visual-card,
    .visual-card > div {
        min-height: 230px;
    }
}

/* Target visual layout: compact radio magazine */
:root {
    --bg: #fbfdf9;
    --surface: #ffffff;
    --surface-2: #f1f7ec;
    --text: #111b17;
    --muted: #5d6a63;
    --line: #e1e9dd;
    --primary: #007a4f;
    --primary-2: #6fa143;
    --deep: #0b4a2e;
    --shadow: 0 18px 45px rgba(25, 67, 42, .1);
    --max: 1448px;
}

body {
    background: #fbfdf9;
    color: var(--text);
}

.site-header {
    top: 0;
    z-index: 30;
    width: 100%;
    margin: 0;
    padding: 18px max(24px, calc((100vw - var(--max)) / 2));
    border: 0;
    border-bottom: 1px solid rgba(15, 74, 46, .12);
    border-radius: 0;
    background: rgba(255, 255, 255, .96);
    box-shadow: none;
    backdrop-filter: blur(18px);
}

.brand {
    gap: 14px;
}

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

.brand strong {
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    color: var(--primary);
}

.brand small {
    color: var(--primary-2);
    font-size: 14px;
    font-weight: 600;
}

.main-nav {
    justify-content: center;
    gap: 34px;
}

.main-nav a {
    padding: 9px 0 14px;
    color: #17231d;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.main-nav a.is-active::after {
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--primary);
}

.header-actions {
    gap: 10px;
}

.social-link,
.search-button,
.icon-link,
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(15, 74, 46, .12);
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    cursor: pointer;
}

.search-button {
    margin-left: 12px;
    color: #17231d;
}

.support-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 22px;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 12px 26px rgba(0, 122, 79, .18);
}

.support-button:hover {
    color: #fff;
    background: #08633f;
}

.header-cart,
.theme-toggle {
    width: 36px;
    height: 36px;
}

.radio-dock,
.page-content,
.site-footer {
    width: min(var(--max), calc(100% - 92px));
}

.radio-dock {
    padding: 14px 0 16px;
}

.compact-player {
    grid-template-columns: 70px minmax(220px, 320px) minmax(260px, 1fr) minmax(118px, 150px) minmax(150px, 190px) auto;
    gap: 24px;
    min-height: 76px;
    padding: 12px 22px;
    border: 1px solid rgba(15, 74, 46, .12);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow);
}

.compact-player__live {
    display: none;
}

.compact-play-button {
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, #078055, #006b47);
    box-shadow: 0 16px 30px rgba(0, 122, 79, .22);
}

.compact-player__program,
.compact-player__track {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.compact-player__program span {
    justify-self: start;
    padding: 2px 10px;
    border-radius: 999px;
    background: #dff1e4;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
}

.compact-player__program strong,
.compact-player__track strong {
    overflow: hidden;
    color: #101a15;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.compact-player__program small,
.compact-player__track small {
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.compact-player__track {
    position: relative;
    padding-left: 54px;
}

.compact-player__track > span:first-child {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
}

.compact-player__track > span:first-child svg {
    position: absolute;
    left: 6px;
    top: 13px;
    width: 30px;
    height: 30px;
    color: var(--primary);
}

.compact-player__meta {
    justify-content: center;
}

.compact-player__meta span {
    padding: 0;
    background: transparent;
    color: var(--muted);
    font-size: 13px;
}

.compact-player__meta span:first-child {
    display: grid;
    gap: 2px;
}

.compact-player__meta span:first-child::before {
    content: "Слушают";
    color: var(--muted);
}

.compact-player__meta span:first-child strong {
    color: var(--text);
    font-size: 19px;
}

.compact-player__meta span:last-child {
    display: none;
}

.compact-volume {
    display: grid;
    gap: 8px;
}

.compact-volume span {
    display: none;
}

.compact-player__mini {
    min-height: 42px;
    border-radius: 8px;
    background: #fff;
    color: var(--primary);
}

.compact-radio-details {
    display: block;
    height: 0;
    margin-top: 0;
    padding: 0;
    border-width: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
}

.compact-radio-details > summary {
    display: none;
}

.compact-radio-details[open] {
    height: auto;
    margin-top: 14px;
    padding: 18px;
    border-width: 1px;
    opacity: 1;
    overflow: visible;
    pointer-events: auto;
}

.page-content {
    padding-top: 0;
}

.wellness-home-v2 {
    display: grid;
    gap: 14px;
}

.home-mosaic {
    display: grid;
    grid-template-columns: minmax(560px, 1.58fr) minmax(320px, .68fr) minmax(230px, .43fr);
    gap: 14px;
    align-items: stretch;
}

.hero-card {
    position: relative;
    display: flex;
    min-height: 350px;
    overflow: hidden;
    border-radius: 10px;
    background:
        linear-gradient(90deg, rgba(20, 56, 27, .94) 0%, rgba(39, 77, 34, .72) 42%, rgba(12, 45, 23, .12) 100%),
        var(--hero-card-image, url("../img/visual-hero-radio.jpg")) center / cover;
    color: #fff;
    box-shadow: var(--shadow);
}

.hero-card__content {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: center;
    gap: 18px;
    width: min(560px, 68%);
    padding: 42px 46px 88px;
}

.hero-card h1 {
    margin: 0;
    color: #fff;
    font-size: 54px;
    font-weight: 800;
    line-height: .98;
}

.hero-card h1 span {
    color: #b9df8f;
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-weight: 500;
}

.hero-card p {
    max-width: 420px;
    margin: 0;
    color: rgba(255, 255, 255, .9);
    font-size: 15px;
    line-height: 1.45;
}

.hero-card .button.primary {
    background: #7eb04c;
    box-shadow: none;
}

.hero-card .button.ghost {
    border-color: rgba(255, 255, 255, .72);
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.hero-tools {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(255, 255, 255, .18);
    background: rgba(15, 43, 19, .78);
    backdrop-filter: blur(12px);
}

.hero-tools a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 64px;
    color: #fff;
    font-weight: 700;
}

.hero-tools a + a {
    border-left: 1px solid rgba(255, 255, 255, .22);
}

.hero-tools svg {
    width: 24px;
    height: 24px;
}

.schedule-board,
.balance-card,
.invite-card,
.article-strip-section,
.benefits-strip {
    border: 1px solid rgba(15, 74, 46, .12);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(25, 67, 42, .07);
}

.schedule-board {
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 350px;
    padding: 22px;
}

.board-heading,
.strip-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.board-heading h2,
.strip-heading h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
}

.board-heading a,
.board-link,
.strip-heading a {
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.program-rows {
    display: grid;
    align-content: center;
}

.program-rows article {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    gap: 14px;
    align-items: center;
    min-height: 58px;
    border-bottom: 1px solid var(--line);
}

.program-rows time {
    color: #1b2a22;
    font-weight: 700;
}

.program-rows strong,
.program-rows span {
    display: block;
    line-height: 1.22;
}

.program-rows strong {
    font-size: 14px;
}

.program-rows span {
    color: var(--muted);
    font-size: 12px;
}

.program-rows em {
    padding: 4px 10px;
    border-radius: 999px;
    background: #dbeeda;
    color: #1a7346;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    white-space: nowrap;
}

.board-link {
    justify-self: end;
    padding-top: 16px;
}

.side-stack {
    display: grid;
    gap: 14px;
}

.balance-card {
    display: grid;
    gap: 12px;
    padding: 22px;
}

.balance-card div {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
    color: var(--primary);
}

.balance-card b {
    color: var(--primary);
    font-size: 38px;
    line-height: 1;
}

.balance-card b span {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ffc43b;
    color: #7a4d00;
    font-size: 19px;
}

.balance-card p,
.balance-card small {
    margin: 0;
    color: var(--muted);
}

.invite-card {
    display: grid;
    align-content: center;
    gap: 18px;
    min-height: 112px;
    padding: 22px;
    background:
        linear-gradient(90deg, rgba(83, 116, 54, .92), rgba(83, 116, 54, .64)),
        var(--invite-card-image, url("../img/visual-massage.jpg")) center / cover;
    color: #fff;
}

.invite-card .button.ghost {
    justify-self: start;
    background: #fff;
    color: #263722;
}

.spotlight-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1.12fr;
    gap: 14px;
}

.spotlight-card {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    border: 1px solid rgba(15, 74, 46, .1);
    border-radius: 10px;
    background: #eef7eb;
}

.spotlight-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spotlight-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(241, 250, 238, .95), rgba(241, 250, 238, .72) 47%, rgba(241, 250, 238, .04));
}

.spotlight-card--blue::after {
    background: linear-gradient(90deg, rgba(231, 244, 250, .95), rgba(231, 244, 250, .68) 48%, rgba(231, 244, 250, .03));
}

.spotlight-card--shop::after {
    background: linear-gradient(90deg, rgba(253, 244, 226, .94), rgba(253, 244, 226, .76) 50%, rgba(253, 244, 226, .08));
}

.spotlight-card > div {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: center;
    gap: 10px;
    width: min(55%, 330px);
    min-height: 220px;
    padding: 26px;
}

.spotlight-card span {
    justify-self: start;
    padding: 4px 10px;
    border-radius: 4px;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.spotlight-card--blue span {
    background: #0b6f9a;
}

.spotlight-card--shop span {
    background: #f0c681;
    color: #885013;
}

.spotlight-card h3 {
    margin: 0;
    color: #053b2b;
    font-size: 26px;
    line-height: 1.08;
}

.spotlight-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.spotlight-card .button {
    justify-self: start;
    min-height: 38px;
    padding: 0 16px;
}

.article-strip-section {
    padding: 12px 14px 14px;
}

.strip-heading {
    padding: 0 2px 12px;
}

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

.article-strip article {
    display: grid;
    grid-template-columns: 42% 1fr;
    min-height: 112px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

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

.article-strip div {
    display: grid;
    gap: 8px;
    padding: 12px;
}

.article-strip h3 {
    margin: 0;
    color: #101a15;
    font-size: 15px;
    line-height: 1.18;
}

.article-strip span {
    align-self: end;
    color: var(--muted);
    font-size: 13px;
}

.article-strip small {
    justify-self: end;
    color: var(--muted);
    font-size: 12px;
}

.benefits-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 18px 20px;
}

.benefits-strip article {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 14px;
    align-items: center;
    min-height: 72px;
}

.benefits-strip article + article {
    border-left: 1px solid var(--line);
    padding-left: 20px;
}

.benefits-strip svg {
    width: 34px;
    height: 34px;
    color: var(--primary);
}

.benefits-strip strong,
.benefits-strip span {
    display: block;
    line-height: 1.2;
}

.benefits-strip strong {
    color: #053b2b;
    font-size: 14px;
}

.benefits-strip span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

:root[data-theme="dark"] body {
    background: #101812;
}

:root[data-theme="dark"] .site-header,
:root[data-theme="dark"] .compact-player,
:root[data-theme="dark"] .schedule-board,
:root[data-theme="dark"] .balance-card,
:root[data-theme="dark"] .article-strip-section,
:root[data-theme="dark"] .benefits-strip,
:root[data-theme="dark"] .article-strip article {
    background: #16231b;
}

:root[data-theme="dark"] .main-nav a,
:root[data-theme="dark"] .program-rows time,
:root[data-theme="dark"] .compact-player__program strong,
:root[data-theme="dark"] .compact-player__track strong,
:root[data-theme="dark"] .article-strip h3,
:root[data-theme="dark"] .benefits-strip strong {
    color: var(--text);
}

@media (max-width: 1240px) {
    .site-header {
        grid-template-columns: 1fr auto;
        gap: 14px;
    }

    .main-nav {
        grid-column: 1 / -1;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .compact-player {
        grid-template-columns: 64px 1fr 1fr;
    }

    .compact-player__meta,
    .compact-volume,
    .compact-player__mini {
        display: none;
    }

    .home-mosaic {
        grid-template-columns: 1fr 360px;
    }

    .hero-card {
        grid-column: 1 / -1;
    }

    .side-stack {
        grid-template-columns: 1fr;
    }

    .article-strip,
    .benefits-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .benefits-strip article + article {
        border-left: 0;
        padding-left: 0;
    }
}

@media (max-width: 860px) {
    .site-header,
    .radio-dock,
    .page-content,
    .site-footer {
        width: min(100% - 24px, var(--max));
        padding-inline: 0;
    }

    .site-header {
        position: static;
        display: grid;
        margin-top: 12px;
        padding: 14px;
        border: 1px solid rgba(15, 74, 46, .12);
        border-radius: 12px;
    }

    .header-actions {
        justify-content: start;
        overflow-x: auto;
    }

    .support-button span {
        display: none;
    }

    .compact-player,
    .home-mosaic,
    .spotlight-row,
    .article-strip,
    .benefits-strip {
        grid-template-columns: 1fr;
    }

    .compact-player__track {
        padding-left: 0;
    }

    .compact-player__track > span:first-child svg {
        position: static;
    }

    .hero-card__content {
        width: 100%;
        padding: 32px 24px 260px;
    }

    .hero-tools {
        grid-template-columns: 1fr 1fr;
    }

    .spotlight-card > div {
        width: 70%;
    }
}

@media (max-width: 560px) {
    .brand strong {
        font-size: 22px;
    }

    .brand small {
        font-size: 12px;
    }

    .hero-card {
        min-height: 520px;
    }

    .hero-card h1 {
        font-size: 36px;
    }

    .program-rows article {
        grid-template-columns: 48px 1fr;
    }

    .program-rows em {
        grid-column: 2;
        justify-self: start;
    }

    .hero-tools {
        grid-template-columns: 1fr;
    }

    .spotlight-card > div {
        width: 100%;
        min-height: 240px;
    }
}

/* Visual fidelity pass: reference layout */
:root {
    --max: 1444px;
    --bg: #ffffff;
    --surface: #ffffff;
    --surface-2: #f4f8f1;
    --text: #111a16;
    --muted: #626c66;
    --line: #e2e8e0;
    --primary: #00794f;
    --primary-2: #75a548;
    --deep: #075d3d;
    --shadow: 0 10px 28px rgba(24, 55, 37, .07);
}

html {
    background: #fff;
}

body {
    min-width: 320px;
    background: #fff;
    color: var(--text);
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: 350px minmax(560px, 1fr) auto;
    gap: 22px;
    align-items: center;
    width: 100%;
    min-height: 76px;
    margin: 0;
    padding: 12px max(46px, calc((100vw - var(--max)) / 2));
    border: 0;
    border-bottom: 1px solid #e7ebe6;
    border-radius: 0;
    background: rgba(255, 255, 255, .97);
    box-shadow: none;
    backdrop-filter: blur(16px);
}

.brand {
    gap: 12px;
}

.brand img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.brand strong {
    color: #08784e;
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 25px;
    font-weight: 800;
    line-height: 1;
}

.brand small {
    margin-top: 3px;
    color: #6c9b48;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
}

.main-nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 34px;
}

.main-nav a {
    position: relative;
    padding: 15px 0 14px;
    background: transparent;
    color: #1b241f;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.main-nav a.is-active,
.main-nav a:hover {
    background: transparent;
    color: var(--primary);
}

.main-nav a.is-active::after {
    left: 0;
    right: 0;
    bottom: 5px;
    height: 2px;
    border-radius: 0;
    background: var(--primary);
}

.header-actions {
    gap: 10px;
    justify-content: flex-end;
}

.social-link,
.search-button {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border: 1px solid #e4ebe2;
    border-radius: 50%;
    background: #fbfdfb;
    color: var(--primary);
    box-shadow: none;
}

.social-link svg,
.search-button svg {
    width: 19px;
    height: 19px;
}

.search-button {
    margin-left: 36px;
    border-color: transparent;
    background: transparent;
    color: #142019;
}

.support-button {
    min-height: 40px;
    margin-left: 14px;
    padding: 0 20px;
    border-radius: 8px;
    background: #00794f;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    box-shadow: none;
}

.support-button svg {
    width: 19px;
    height: 19px;
}

.radio-dock,
.page-content,
.site-footer {
    width: min(var(--max), calc(100% - 92px));
}

.radio-dock {
    padding: 14px 0 16px;
}

.compact-player {
    display: grid;
    grid-template-columns: 72px minmax(250px, 320px) minmax(290px, 1fr) minmax(150px, 190px) minmax(180px, 230px) 132px;
    gap: 0;
    align-items: center;
    min-height: 76px;
    padding: 6px 18px;
    border: 1px solid #e1e7df;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(23, 54, 36, .06);
}

.compact-play-button {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #00794f;
    box-shadow: none;
}

.compact-play-button svg {
    width: 23px;
    height: 23px;
}

.compact-player__program,
.compact-player__track,
.compact-player__meta,
.compact-volume,
.compact-player__mini {
    min-width: 0;
    min-height: 52px;
    border-left: 1px solid #e2e7e0;
}

.compact-player__program {
    display: grid;
    align-content: center;
    gap: 1px;
    padding: 0 28px;
}

.compact-player__program span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    justify-self: start;
    padding: 2px 8px;
    border-radius: 999px;
    background: #e2f1e4;
    color: #08794f;
    font-size: 12px;
    font-weight: 600;
}

.compact-player__program .live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #14935e;
    box-shadow: none;
}

.compact-player__program strong,
.compact-player__track strong {
    overflow: hidden;
    color: #111a16;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.compact-player__program small,
.compact-player__track small,
.compact-player__track span {
    overflow: hidden;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.compact-player__track {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 0 26px;
}

.compact-player__track > svg {
    position: static;
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.compact-player__track > div {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.compact-player__meta {
    display: grid;
    grid-template-columns: 36px 1fr;
    align-items: center;
    gap: 10px;
    justify-content: start;
    padding: 0 24px;
}

.compact-player__meta > svg {
    width: 27px;
    height: 27px;
    color: var(--primary);
}

.compact-player__meta span {
    display: grid;
    gap: 1px;
    padding: 0;
    background: transparent;
}

.compact-player__meta small {
    color: var(--muted);
    font-size: 12px;
}

.compact-player__meta strong {
    color: #111a16;
    font-size: 16px;
    line-height: 1;
}

.compact-player__meta span::before {
    display: none;
    content: none;
}

.compact-volume {
    display: grid;
    grid-template-columns: 28px minmax(100px, 1fr);
    align-items: center;
    gap: 14px;
    padding: 0 28px;
}

.compact-volume > svg {
    width: 23px;
    height: 23px;
    color: #111a16;
}

.compact-volume input {
    width: 100%;
    accent-color: var(--primary);
}

.compact-player__mini {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    margin-left: 18px;
    padding: 0 14px;
    border: 1px solid #dce4db;
    border-radius: 8px;
    background: #fff;
    color: #075f3f;
    font-size: 12px;
    white-space: nowrap;
}

.page-content {
    padding-top: 0;
}

.wellness-home-v2 {
    display: grid;
    gap: 14px;
}

.home-mosaic {
    display: grid;
    grid-template-columns: minmax(0, 822fr) minmax(0, 359fr) minmax(0, 236fr);
    gap: 14px;
    align-items: stretch;
}

.hero-card {
    position: relative;
    min-height: 340px;
    overflow: hidden;
    border-radius: 10px;
    background: #224b1a;
    color: #fff;
    box-shadow: none;
}

.hero-card__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% center;
    filter: brightness(.73) saturate(1.08) contrast(1.04);
    transform: scale(1.015);
}

.hero-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(90deg, rgba(32, 76, 22, .98) 0%, rgba(35, 79, 24, .9) 32%, rgba(24, 60, 24, .45) 58%, rgba(10, 37, 22, .03) 100%);
}

.hero-card__content {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: center;
    gap: 13px;
    width: 55%;
    min-height: 292px;
    padding: 24px 42px 66px;
}

.hero-card h1 {
    margin: 0;
    color: #fff;
    font-size: 43px;
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: 0;
}

.hero-card h1 span {
    color: #aed77d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 41px;
    font-style: italic;
    font-weight: 400;
    line-height: 1.04;
}

.hero-card p {
    max-width: 390px;
    margin: 0;
    color: rgba(255, 255, 255, .93);
    font-size: 13px;
    line-height: 1.45;
}

.hero-card .hero-actions {
    gap: 14px;
    margin-top: 5px;
}

.hero-card .button {
    min-height: 38px;
    padding: 0 16px;
    border-radius: 8px;
    font-size: 12px;
}

.hero-card .button.primary {
    background: #79ad47;
    box-shadow: none;
}

.hero-card .button.ghost {
    border-color: rgba(255, 255, 255, .7);
    background: rgba(255, 255, 255, .06);
    color: #fff;
}

.hero-tools {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 49px;
    border-top: 1px solid rgba(255, 255, 255, .17);
    background: rgba(12, 39, 17, .77);
    backdrop-filter: blur(9px);
}

.hero-tools a {
    min-height: 49px;
    gap: 10px;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
}

.hero-tools svg {
    width: 20px;
    height: 20px;
}

.schedule-board,
.balance-card,
.invite-card,
.article-strip-section,
.benefits-strip {
    border: 1px solid #e2e8e0;
    border-radius: 10px;
    background: #fff;
    box-shadow: none;
}

.schedule-board {
    grid-template-rows: auto 1fr auto;
    min-height: 340px;
    padding: 20px;
}

.board-heading h2,
.strip-heading h2 {
    font-size: 16px;
    line-height: 1.2;
}

.board-heading a,
.board-link,
.strip-heading a {
    font-size: 12px;
    font-weight: 500;
}

.program-rows article {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 55px;
}

.program-rows time {
    font-size: 12px;
    font-weight: 600;
}

.program-rows strong {
    font-size: 12px;
}

.program-rows span,
.program-rows em {
    font-size: 12px;
}

.program-rows em {
    padding: 4px 9px;
}

.board-link {
    padding-top: 12px;
}

.side-stack {
    display: grid;
    grid-template-rows: minmax(0, 1fr) 114px;
    gap: 14px;
}

.balance-card {
    align-content: start;
    gap: 9px;
    padding: 18px;
}

.balance-card div {
    gap: 10px;
    padding-bottom: 12px;
    font-size: 15px;
}

.balance-card div > svg {
    width: 23px;
    height: 23px;
}

.balance-card p,
.balance-card small {
    font-size: 12px;
    line-height: 1.35;
}

.balance-card b {
    font-size: 37px;
}

.balance-card b span {
    width: 28px;
    height: 28px;
    font-size: 17px;
}

.balance-card .button {
    min-height: 34px;
    margin-top: auto;
    font-size: 12px;
}

.invite-card {
    min-height: 114px;
    gap: 12px;
    padding: 18px;
    background:
        linear-gradient(90deg, rgba(88, 121, 56, .94), rgba(88, 121, 56, .53)),
        var(--invite-card-image) 72% center / cover;
}

.invite-card strong {
    font-size: 14px;
    line-height: 1.35;
}

.invite-card .button.ghost {
    min-height: 34px;
    padding: 0 14px;
    border: 0;
    font-size: 12px;
}

.spotlight-row {
    grid-template-columns: 1fr 1fr 1.12fr;
    gap: 14px;
}

.spotlight-card,
.spotlight-card > div {
    min-height: 220px;
}

.spotlight-card {
    border-color: #e1e8de;
    border-radius: 10px;
    box-shadow: none;
}

.spotlight-card img {
    object-position: center 55%;
}

.spotlight-card--blue img {
    object-position: center 62%;
}

.spotlight-card--shop img {
    object-position: center 52%;
}

.spotlight-card::after {
    background: linear-gradient(90deg, rgba(241, 249, 237, .98) 0%, rgba(241, 249, 237, .88) 42%, rgba(241, 249, 237, .09) 74%);
}

.spotlight-card--blue::after {
    background: linear-gradient(90deg, rgba(234, 245, 250, .98) 0%, rgba(234, 245, 250, .87) 43%, rgba(234, 245, 250, .08) 76%);
}

.spotlight-card--shop::after {
    background: linear-gradient(90deg, rgba(255, 247, 232, .98) 0%, rgba(255, 247, 232, .88) 44%, rgba(255, 247, 232, .05) 76%);
}

.spotlight-card > div {
    gap: 9px;
    width: min(54%, 300px);
    padding: 24px;
}

.spotlight-card span {
    padding: 4px 9px;
    font-size: 12px;
    letter-spacing: 0;
}

.spotlight-card h3 {
    font-size: 21px;
    line-height: 1.1;
}

.spotlight-card p {
    font-size: 12px;
    line-height: 1.4;
}

.spotlight-card .button {
    min-height: 34px;
    padding: 0 14px;
    font-size: 12px;
}

.article-strip-section {
    padding: 10px 14px 12px;
}

.strip-heading {
    padding: 0 2px 9px;
}

.article-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.article-strip article {
    grid-template-columns: 45% 1fr;
    min-height: 110px;
    border-radius: 8px;
}

.article-strip img {
    min-height: 110px;
    object-position: center;
}

.article-strip div {
    gap: 6px;
    padding: 11px;
}

.article-strip h3 {
    font-size: 12px;
    line-height: 1.25;
}

.article-strip span,
.article-strip small {
    font-size: 12px;
}

.benefits-strip {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 10px 20px;
    background: #f8faf6;
}

.benefits-strip article {
    grid-template-columns: 42px 1fr;
    gap: 12px;
    min-height: 62px;
}

.benefits-strip article + article {
    padding-left: 24px;
}

.benefits-strip svg {
    width: 31px;
    height: 31px;
}

.benefits-strip strong {
    font-size: 12px;
}

.benefits-strip span {
    font-size: 12px;
    line-height: 1.3;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-actions {
    display: flex;
    gap: 8px;
}

.footer-actions .icon-link,
.footer-actions .theme-toggle {
    display: inline-flex;
    width: 38px;
    height: 38px;
}

:root[data-theme="dark"] body,
:root[data-theme="dark"] html {
    background: #101812;
}

@media (max-width: 1320px) {
    .site-header {
        grid-template-columns: auto 1fr auto;
        gap: 16px;
        padding-inline: 28px;
    }

    .brand strong {
        font-size: 21px;
    }

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

    .main-nav {
        justify-content: center;
        gap: 20px;
    }

    .main-nav a {
        font-size: 12px;
    }

    .search-button {
        margin-left: 10px;
    }

    .support-button {
        margin-left: 4px;
        padding-inline: 14px;
        font-size: 12px;
    }

    .compact-player {
        grid-template-columns: 68px minmax(220px, 280px) minmax(250px, 1fr) minmax(130px, 160px) minmax(150px, 180px) 120px;
    }

    .compact-player__program,
    .compact-player__track,
    .compact-player__meta,
    .compact-volume {
        padding-inline: 18px;
    }

    .hero-card h1 {
        font-size: 39px;
    }

    .hero-card h1 span {
        font-size: 37px;
    }
}

@media (max-width: 1120px) {
    .site-header {
        position: static;
        grid-template-columns: 1fr auto;
        min-height: auto;
        padding-block: 12px;
    }

    .main-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: flex-start;
        overflow-x: auto;
    }

    .compact-player {
        grid-template-columns: 68px minmax(210px, .8fr) minmax(260px, 1.2fr) 150px;
    }

    .compact-player__meta,
    .compact-volume {
        display: none;
    }

    .compact-player__mini {
        display: inline-flex;
    }

    .home-mosaic {
        grid-template-columns: minmax(0, 1fr) 340px;
    }

    .hero-card {
        grid-column: 1 / -1;
    }

    .side-stack {
        grid-template-rows: 1fr 114px;
    }

    .article-strip,
    .benefits-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .benefits-strip article + article {
        border-left: 0;
        padding-left: 0;
    }
}

@media (max-width: 760px) {
    .main-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        scrollbar-width: none;
    }

    .main-nav::-webkit-scrollbar {
        display: none;
    }

    .site-header,
    .radio-dock,
    .page-content,
    .site-footer {
        width: min(100% - 24px, var(--max));
        padding-inline: 0;
    }

    .site-header {
        width: 100%;
        padding: 12px;
        border-radius: 0;
    }

    .brand strong {
        font-size: 20px;
    }

    .header-actions {
        gap: 6px;
    }

    .social-link {
        display: none;
    }

    .search-button {
        margin: 0;
    }

    .support-button span {
        display: none;
    }

    .compact-player {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 10px;
        min-height: 72px;
        padding: 8px 12px;
    }

    .compact-play-button {
        width: 54px;
        height: 54px;
    }

    .compact-player__program {
        border-left: 0;
        padding: 0 4px;
    }

    .compact-player__track,
    .compact-player__mini {
        display: none;
    }

    .home-mosaic,
    .spotlight-row,
    .article-strip,
    .benefits-strip {
        grid-template-columns: 1fr;
    }

    .hero-card {
        min-height: 500px;
    }

    .hero-card__image {
        object-position: 68% center;
    }

    .hero-card__content {
        width: 100%;
        min-height: 450px;
        padding: 30px 24px 170px;
    }

    .hero-card h1,
    .hero-card h1 span {
        font-size: 36px;
    }

    .hero-tools {
        grid-template-columns: 1fr 1fr;
        height: 98px;
    }

    .hero-tools a {
        min-height: 49px;
    }

    .schedule-board {
        min-height: 330px;
    }

    .side-stack {
        grid-template-rows: auto auto;
    }

    .spotlight-card > div {
        width: 68%;
    }

    .article-strip article {
        min-height: 120px;
    }

    .site-footer {
        align-items: flex-start;
        gap: 20px;
    }
}

@media (max-width: 460px) {
    .brand small {
        display: none;
    }

    .support-button {
        display: none;
    }

    .hero-card h1,
    .hero-card h1 span {
        font-size: 32px;
    }

    .hero-card .hero-actions {
        align-items: stretch;
    }

    .hero-card .button {
        width: 100%;
    }

    .spotlight-card > div {
        width: 78%;
    }
}

/* Usability and content pages */
.header-theme-toggle {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--primary);
    cursor: pointer;
}

.compact-player {
    grid-template-columns: 56px minmax(190px, .75fr) minmax(280px, 1.3fr) minmax(180px, .55fr) auto;
}

.compact-volume {
    display: grid;
    grid-template-columns: 24px minmax(120px, 1fr);
    gap: 10px;
    align-items: center;
}

input[type="range"][data-volume] {
    --volume-percent: 85%;
    appearance: none;
    width: 100%;
    height: 5px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    outline: 0;
    background: linear-gradient(to right, var(--primary) 0 var(--volume-percent), color-mix(in srgb, var(--line), var(--surface) 25%) var(--volume-percent) 100%);
    cursor: pointer;
}

input[type="range"][data-volume]::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 3px solid var(--surface);
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 2px 8px rgba(5, 70, 54, .25);
}

input[type="range"][data-volume]::-moz-range-thumb {
    width: 13px;
    height: 13px;
    border: 3px solid var(--surface);
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 2px 8px rgba(5, 70, 54, .25);
}

.compact-player__mini {
    max-width: 230px;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
}

.site-dialog {
    width: min(760px, calc(100% - 32px));
    max-height: min(84vh, 820px);
    padding: 0;
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
    box-shadow: 0 30px 90px rgba(10, 45, 35, .24);
}

.site-dialog::backdrop {
    background: rgba(8, 24, 20, .58);
    backdrop-filter: blur(4px);
}

.dialog-shell {
    display: grid;
    gap: 20px;
    padding: clamp(22px, 4vw, 38px);
}

.dialog-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
}

.dialog-heading h2 {
    margin: 2px 0 0;
    font-size: 28px;
}

.dialog-close {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface-2);
    color: var(--text);
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
}

.radio-dialog .last-songs {
    display: grid;
    gap: 8px;
}

.radio-dialog .last-song-row {
    grid-template-columns: 48px 52px minmax(0, 1fr);
    min-height: 58px;
    padding: 5px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
}

.radio-dialog .last-song-row img {
    width: 48px;
    height: 48px;
    border-radius: 5px;
    object-fit: cover;
}

.radio-dialog .my_info {
    display: none;
}

.search-dialog {
    width: min(680px, calc(100% - 32px));
}

.search-field {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 4px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-2);
}

.search-field input {
    min-height: 48px;
    padding-inline: 0;
    border: 0;
    background: transparent;
    font-size: 17px;
    outline: 0;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 12px;
}

.footer-legal a {
    color: var(--muted);
    font-size: 13px;
}

.editorial-heading {
    display: flex;
    justify-content: space-between;
    gap: 36px;
    align-items: end;
}

.editorial-heading > p {
    max-width: 540px;
    margin: 0 0 6px;
    color: var(--muted);
    font-size: 16px;
}

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

.program-card {
    display: grid;
    grid-template-columns: minmax(180px, 42%) minmax(0, 1fr);
    min-height: 300px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 16px 42px rgba(22, 73, 57, .08);
}

.program-card > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.program-card__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
}

.program-card__schedule {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    color: var(--primary);
    font-size: 14px;
}

.program-card h3 {
    margin: 22px 0 6px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    line-height: 1.15;
}

.program-host {
    margin: 0 0 12px;
    color: var(--primary);
}

.program-description {
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 15px;
}

.program-description p {
    margin: 0;
}

.program-card .button {
    margin-top: auto;
}

.product-card__image {
    display: block;
    overflow: hidden;
}

.product-card__image img {
    transition: transform .25s ease;
}

.product-card:hover .product-card__image img {
    transform: scale(1.025);
}

.product-card h3 a {
    color: var(--text);
}

.text-link {
    display: inline-block;
    margin-top: 8px;
    font-weight: 700;
}

.product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: start;
    padding: clamp(24px, 4vw, 52px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.product-detail__gallery {
    display: grid;
    gap: 18px;
}

.product-detail__gallery img {
    width: 100%;
    aspect-ratio: 1 / .8;
    border-radius: 8px;
    object-fit: cover;
    background: var(--surface-2);
}

.back-link {
    width: fit-content;
    font-weight: 700;
}

.product-detail__content h2 {
    margin: 6px 0 16px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 46px;
    line-height: 1.08;
}

.product-detail__price {
    display: block;
    margin-bottom: 24px;
    color: var(--primary);
    font-size: 30px;
}

.product-note {
    padding: 14px;
    border-left: 3px solid var(--warm);
    background: var(--surface-2);
    color: var(--muted);
    font-size: 14px;
}

.product-detail__buy {
    justify-content: flex-start;
    margin-top: 22px;
}

.product-detail__buy label {
    width: 120px;
    color: var(--muted);
    font-size: 13px;
}

.news-page {
    display: grid;
    gap: 28px;
}

.news-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
    min-height: 420px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.news-feature > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-feature > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(28px, 5vw, 58px);
}

.news-feature span,
.news-card span {
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
}

.news-feature h3 {
    margin: 16px 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 40px;
    line-height: 1.08;
}

.news-feature p {
    margin: 0 0 24px;
    color: var(--muted);
}

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

.contacts-page {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(420px, 1.15fr);
    gap: 24px;
    align-items: stretch;
}

.contact-intro,
.contact-form {
    margin: 0;
    padding: clamp(26px, 4vw, 46px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.contact-direct {
    display: grid;
    gap: 10px;
    margin: 28px 0;
}

.contact-direct a {
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight: 700;
}

.contact-form {
    display: grid;
    gap: 16px;
    box-shadow: 0 18px 50px rgba(19, 70, 55, .08);
}

.contact-form label {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: 14px;
}

.contact-form__heading h2 {
    margin: 0;
    font-size: 30px;
}

.contact-form__heading > p:last-child {
    color: var(--muted);
}

.honeypot {
    position: absolute !important;
    left: -9999px;
}

.consent-line {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 10px !important;
    align-items: flex-start;
    line-height: 1.45;
}

.consent-line input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.auth-layout-single {
    grid-template-columns: minmax(320px, .9fr) minmax(420px, 1.1fr);
    width: min(980px, 100%);
    margin-inline: auto;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 24px 70px rgba(18, 65, 52, .1);
}

.auth-layout-single .auth-card {
    border: 0;
    border-left: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
}

.auth-aside {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(30px, 5vw, 58px);
    background: var(--surface-2);
}

.auth-aside h2 {
    margin: 4px 0 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 38px;
    line-height: 1.08;
}

.auth-aside p,
.auth-aside li {
    color: var(--muted);
}

.auth-aside ul {
    display: grid;
    gap: 10px;
    padding-left: 20px;
}

.auth-divider {
    display: flex;
    gap: 12px;
    align-items: center;
    color: var(--muted);
    font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}

.social-auth {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.social-auth__button {
    display: flex;
    gap: 9px;
    align-items: center;
    min-height: 46px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--text);
    font-size: 13px;
}

.social-auth__button strong {
    display: grid;
    min-width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 50%;
    background: var(--surface-2);
    color: var(--primary);
    font-size: 12px;
}

.auth-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin: 4px 0 0;
    color: var(--muted);
}

.auth-switch .button {
    margin-left: auto;
}

.search-page {
    display: grid;
    gap: 24px;
}

.search-page-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
}

.search-results {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.search-results > a {
    display: block;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
}

.search-results > a:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.search-results span {
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.search-results h3 {
    margin: 8px 0;
    font-size: 20px;
}

.search-results p {
    margin: 0;
    color: var(--muted);
}

.standalone-radio-page {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 24px;
    background: var(--bg);
}

.standalone-radio {
    width: min(620px, 100%);
}

.standalone-radio > header {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
}

.standalone-radio > header div {
    display: grid;
}

.standalone-radio > header strong {
    font-size: 22px;
}

.standalone-radio > header span {
    color: var(--muted);
}

.standalone-radio > header .theme-toggle {
    margin-left: auto;
}

.standalone-radio__player {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    padding: clamp(28px, 6vw, 52px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    text-align: center;
    box-shadow: 0 28px 80px rgba(13, 66, 50, .16);
}

.standalone-radio__art {
    width: 190px;
    height: 190px;
    margin-bottom: 24px;
    overflow: hidden;
    border-radius: 50%;
    background-position: center;
    background-size: cover;
    box-shadow: 0 16px 40px rgba(15, 75, 57, .18);
}

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

.standalone-radio h1 {
    margin: 18px 0 4px;
    font-size: 38px;
    line-height: 1.12;
}

.standalone-radio__player > p {
    margin: 0;
    color: var(--muted);
}

.standalone-radio__controls {
    display: grid;
    grid-template-columns: auto minmax(180px, 1fr);
    gap: 18px;
    align-items: center;
    width: 100%;
    margin: 28px 0 18px;
}

.standalone-radio__controls .play-button {
    width: auto;
    min-width: 170px;
    padding: 0 22px;
    border-radius: 6px;
}

.standalone-radio__hint {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.program-rows article,
.spotlight-card p,
.article-strip h3,
.benefits-strip strong {
    font-size: 13px;
}

.program-rows article span,
.article-strip span,
.article-strip small,
.benefits-strip span {
    font-size: 12px;
    line-height: 1.4;
}

.button,
.hero-tools a,
.main-nav a {
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}

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

@media (max-width: 1120px) {
    .compact-player {
        grid-template-columns: 56px minmax(180px, .8fr) minmax(250px, 1.2fr) minmax(170px, .7fr);
    }

    .compact-player__mini {
        grid-column: 2 / -1;
        max-width: none;
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .editorial-heading,
    .contacts-page,
    .product-detail,
    .news-feature,
    .auth-layout-single {
        grid-template-columns: 1fr;
    }

    .editorial-heading {
        display: grid;
        align-items: start;
    }

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

    .auth-layout-single .auth-card {
        border-left: 0;
        border-top: 1px solid var(--line);
    }
}

@media (max-width: 760px) {
    .header-theme-toggle {
        display: inline-grid;
    }

    .compact-player {
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .compact-volume {
        display: grid;
        grid-column: 1 / -1;
    }

    .compact-player__mini {
        display: inline-flex;
        grid-column: 1 / -1;
        width: 100%;
    }

    .program-card {
        grid-template-columns: 1fr;
    }

    .program-card > img {
        height: 250px;
    }

    .news-grid,
    .search-results,
    .search-page-form,
    .social-auth,
    .standalone-radio__controls {
        grid-template-columns: 1fr;
    }

    .news-feature {
        min-height: 0;
    }

    .news-feature > img {
        height: 280px;
    }

    .contact-form .form-grid.two {
        grid-template-columns: 1fr;
    }

    .auth-layout-single .auth-card {
        order: -1;
        border-top: 0;
        border-bottom: 1px solid var(--line);
    }

    .standalone-radio__controls .play-button {
        width: 100%;
    }

    .footer-legal {
        display: grid;
    }
}

@media (max-width: 480px) {
    .search-button,
    .header-theme-toggle {
        width: 38px;
        height: 38px;
    }

    .dialog-shell,
    .contact-intro,
    .contact-form,
    .product-detail {
        padding: 20px;
    }

    .product-detail__content h2 {
        font-size: 34px;
    }
}

/* Stable header, responsive radio and compact program layout */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: color-mix(in srgb, var(--surface) 96%, transparent);
    box-shadow: 0 1px 0 var(--line);
    backdrop-filter: blur(12px);
}

.page-content > .section-band:first-child {
    margin-top: 0;
    padding-top: 28px;
}

.programs-page .editorial-heading {
    margin-bottom: 18px;
}

.programs-page .programs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.programs-page .program-card {
    grid-template-columns: minmax(190px, 40%) minmax(0, 1fr);
    min-height: 238px;
}

.programs-page .program-card > img {
    min-height: 238px;
    aspect-ratio: 4 / 3;
}

.programs-page .program-card__body {
    justify-content: flex-start;
    padding: 22px;
}

.programs-page .program-card__schedule {
    flex-wrap: wrap;
    gap: 8px 12px;
}

.programs-page .program-card h3 {
    margin: 14px 0 7px;
    font-size: 24px;
    line-height: 1.12;
}

.programs-page .program-description {
    display: -webkit-box;
    margin-bottom: 14px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.mobile-player-bar,
.mobile-player-dialog {
    display: none;
}

.auth-aside h2 {
    font-size: 34px;
    white-space: nowrap;
}

@media (max-width: 1180px) {
    .programs-page .programs-grid {
        grid-template-columns: 1fr;
    }

    .programs-page .program-card {
        grid-template-columns: minmax(230px, 32%) minmax(0, 1fr);
    }
}

@media (max-width: 760px) {
    body.menu-open {
        overflow: hidden;
    }

    .site-header {
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        min-height: 68px;
        padding: 9px 14px;
    }

    .menu-toggle {
        display: block;
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
    }

    .brand {
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
        justify-self: start;
    }

    .brand span {
        min-width: 0;
    }

    .header-actions {
        display: grid;
        grid-column: 3;
        grid-row: 1;
        margin: 0;
        justify-self: end;
    }

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

    .header-actions .header-theme-toggle {
        display: inline-grid;
        width: 42px;
        height: 42px;
        margin: 0;
    }

    .main-nav {
        position: fixed;
        z-index: 99;
        top: 68px;
        left: 0;
        right: 0;
        display: grid;
        align-content: start;
        gap: 3px;
        max-height: 0;
        padding: 0 16px;
        overflow: hidden auto;
        border: 0;
        border-radius: 0;
        background: var(--surface);
        box-shadow: 0 24px 44px rgba(8, 48, 36, .18);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px);
        transition: max-height .25s ease, padding .25s ease, opacity .18s ease, transform .25s ease, visibility .25s ease;
    }

    .menu-open .main-nav {
        max-height: calc(100dvh - 68px);
        padding: 12px 16px 22px;
        border-bottom: 1px solid var(--line);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .main-nav a {
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 44px;
        padding: 9px 12px;
        border-radius: 6px;
        font-size: 16px;
        line-height: 1.25;
        white-space: normal;
    }

    .main-nav a.is-active {
        background: var(--surface-2);
    }

    .main-nav a.is-active::after {
        display: none;
    }

    .mobile-nav-actions {
        grid-template-columns: 1fr;
        margin-top: 6px;
        padding-top: 12px;
    }

    .mobile-nav-actions .theme-toggle,
    .mobile-nav-actions .support-button {
        width: 100%;
        min-height: 46px;
        margin: 0;
        justify-content: center;
    }

    .radio-dock {
        padding: 10px 0 12px;
    }

    .page-content > .section-band:first-child {
        padding-top: 18px;
    }

    .program-rows article {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 4px 10px;
        min-height: 0;
        padding: 11px 0;
    }

    .program-rows time {
        grid-column: 1;
        grid-row: 1;
        align-self: start;
        padding-top: 2px;
    }

    .program-rows article > div {
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
    }

    .program-rows em {
        grid-column: 2;
        grid-row: 2;
        justify-self: start;
        margin-top: 3px;
    }

    .program-rows strong {
        font-size: 14px;
        overflow-wrap: break-word;
    }

    .schedule-board {
        min-height: 0;
        padding: 18px;
    }

    .board-heading {
        align-items: flex-start;
    }

    .programs-page .editorial-heading {
        gap: 10px;
        margin-bottom: 16px;
    }

    .programs-page .program-card {
        grid-template-columns: 42% minmax(0, 1fr);
        min-height: 210px;
    }

    .programs-page .program-card > img {
        height: 100%;
        min-height: 210px;
        aspect-ratio: auto;
    }

    .programs-page .program-card__body {
        padding: 18px;
    }

    .programs-page .program-card__schedule {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .programs-page .program-card h3 {
        margin-top: 11px;
        font-size: 21px;
    }

    .auth-aside h2 {
        font-size: 30px;
    }

    .radio-has-started {
        padding-bottom: calc(80px + env(safe-area-inset-bottom));
    }

    .radio-has-started .mobile-player-bar {
        position: fixed;
        z-index: 140;
        right: 8px;
        bottom: calc(8px + env(safe-area-inset-bottom));
        left: 8px;
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr) 34px;
        gap: 10px;
        align-items: center;
        min-height: 64px;
        padding: 8px 12px 8px 8px;
        border: 1px solid color-mix(in srgb, var(--primary) 30%, var(--line));
        border-radius: 8px;
        background: color-mix(in srgb, var(--surface) 94%, transparent);
        box-shadow: 0 14px 40px rgba(4, 39, 28, .24);
        backdrop-filter: blur(14px);
        animation: player-bar-enter .22s ease-out both;
    }

    .mobile-player-bar__play {
        display: grid;
        width: 48px;
        height: 48px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: var(--primary);
        color: #fff;
        cursor: pointer;
        place-items: center;
    }

    .mobile-player-bar__play svg {
        width: 21px;
        height: 21px;
        fill: currentColor;
        stroke: currentColor;
    }

    .mobile-player-bar__open {
        display: grid;
        min-width: 0;
        padding: 0;
        border: 0;
        background: transparent;
        color: var(--text);
        text-align: left;
        cursor: pointer;
    }

    .mobile-player-bar__open span,
    .mobile-player-bar__open small {
        overflow: hidden;
        color: var(--muted);
        font-size: 12px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-player-bar__open strong {
        overflow: hidden;
        font-size: 14px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-player-bar__signal {
        display: flex;
        gap: 3px;
        align-items: end;
        justify-content: center;
        height: 22px;
    }

    .mobile-player-bar__signal i {
        width: 3px;
        height: 8px;
        border-radius: 2px;
        background: var(--primary);
    }

    .radio-is-playing .mobile-player-bar__signal i {
        animation: radio-signal .8s ease-in-out infinite alternate;
    }

    .radio-is-playing .mobile-player-bar__signal i:nth-child(2) {
        height: 17px;
        animation-delay: -.35s;
    }

    .radio-is-playing .mobile-player-bar__signal i:nth-child(3) {
        height: 12px;
        animation-delay: -.6s;
    }

    .mobile-player-dialog[open] {
        position: fixed;
        inset: 0;
        display: block;
        width: 100vw;
        max-width: none;
        height: 100dvh;
        max-height: none;
        margin: 0;
        padding: 0;
        border: 0;
        background: var(--surface);
        color: var(--text);
    }

    .mobile-player-dialog::backdrop {
        background: var(--surface);
    }

    .mobile-player-fullscreen {
        display: grid;
        grid-template-rows: auto minmax(180px, 1fr) auto auto auto auto;
        align-items: center;
        min-height: 100dvh;
        padding: calc(18px + env(safe-area-inset-top)) 24px calc(20px + env(safe-area-inset-bottom));
        background:
            radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--primary) 14%, transparent), transparent 42%),
            var(--surface);
    }

    .mobile-player-fullscreen header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .mobile-player-fullscreen header button {
        width: 44px;
        height: 44px;
        border: 1px solid var(--line);
        border-radius: 50%;
        background: var(--surface-2);
        color: var(--text);
        font-size: 28px;
        cursor: pointer;
    }

    .mobile-player-fullscreen__cover {
        display: grid;
        width: min(62vw, 250px);
        aspect-ratio: 1;
        margin: 22px auto;
        border: 1px solid var(--line);
        border-radius: 50%;
        background: var(--surface-2);
        box-shadow: 0 28px 70px rgba(5, 58, 40, .18);
        place-items: center;
    }

    .mobile-player-fullscreen__cover img {
        width: 58%;
        height: 58%;
        object-fit: contain;
    }

    .mobile-player-fullscreen__meta {
        min-width: 0;
        text-align: center;
    }

    .mobile-player-fullscreen__meta > span,
    .mobile-player-fullscreen__meta small {
        color: var(--muted);
        font-size: 13px;
    }

    .mobile-player-fullscreen__meta h2 {
        margin: 7px 0 3px;
        font-size: 28px;
        line-height: 1.15;
        overflow-wrap: break-word;
    }

    .mobile-player-fullscreen__meta p {
        margin: 0 0 4px;
        color: var(--muted);
    }

    .mobile-player-fullscreen__play {
        display: grid;
        width: 72px;
        height: 72px;
        margin: 20px auto 16px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: var(--primary);
        color: #fff;
        box-shadow: 0 14px 34px color-mix(in srgb, var(--primary) 28%, transparent);
        cursor: pointer;
        place-items: center;
    }

    .mobile-player-fullscreen__play svg {
        width: 30px;
        height: 30px;
        fill: currentColor;
        stroke: currentColor;
    }

    .mobile-player-fullscreen__volume {
        display: grid;
        grid-template-columns: 24px minmax(0, 1fr);
        gap: 14px;
        align-items: center;
        width: min(360px, 100%);
        margin-inline: auto;
    }

    .mobile-player-fullscreen__volume svg {
        width: 22px;
        height: 22px;
    }

    .mobile-player-fullscreen__volume input {
        width: 100%;
    }

    .mobile-player-fullscreen nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
        margin-top: 24px;
    }

    .mobile-player-fullscreen nav a,
    .mobile-player-fullscreen nav button {
        display: flex;
        gap: 8px;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        padding: 8px 10px;
        border: 1px solid var(--line);
        border-radius: 6px;
        background: var(--surface-2);
        color: var(--text);
        font-weight: 700;
        cursor: pointer;
    }

    .mobile-player-fullscreen nav svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 520px) {
    .programs-page .program-card {
        grid-template-columns: 1fr;
    }

    .programs-page .program-card > img {
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .programs-page .program-description {
        -webkit-line-clamp: 2;
    }

    .auth-aside h2 {
        font-size: 28px;
    }
}

@keyframes player-bar-enter {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes radio-signal {
    from { transform: scaleY(.55); }
    to { transform: scaleY(1.25); }
}

/* Release polish */
.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
    color: var(--primary);
    cursor: pointer;
}

.mobile-nav-actions {
    display: none;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 4px 0;
    border-radius: 2px;
    background: currentColor;
    transition: transform .18s ease, opacity .18s ease;
}

.compact-player__program {
    border-left: 0 !important;
}

@media (min-width: 1121px) {
    .compact-player {
        grid-template-columns: 64px minmax(190px, .75fr) minmax(280px, 1.3fr) minmax(180px, .55fr) auto;
    }
}

@media (min-width: 761px) and (max-width: 1120px) {
    .compact-player {
        grid-template-columns: 64px minmax(180px, .8fr) minmax(250px, 1.2fr) minmax(170px, .7fr);
    }
}

.compact-player__track {
    border-left: 1px solid var(--line);
}

.track-title {
    min-width: 0;
    color: var(--text);
    font-weight: 650;
    overflow-wrap: anywhere;
}

.site-dialog[open] {
    animation: dialog-enter .2s ease-out both;
}

.site-dialog[open]::backdrop {
    animation: backdrop-enter .2s ease-out both;
}

.site-dialog[data-closing="1"] {
    animation: dialog-exit .17s ease-in both;
}

.site-dialog[data-closing="1"]::backdrop {
    animation: backdrop-exit .17s ease-in both;
}

@keyframes dialog-enter {
    from { opacity: 0; transform: translateY(12px) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes dialog-exit {
    from { opacity: 1; transform: translateY(0) scale(1); }
    to { opacity: 0; transform: translateY(8px) scale(.99); }
}

@keyframes backdrop-enter { from { opacity: 0; } to { opacity: 1; } }
@keyframes backdrop-exit { from { opacity: 1; } to { opacity: 0; } }

.programs-grid {
    grid-template-columns: 1fr;
    gap: 16px;
}

.program-card {
    grid-template-columns: minmax(240px, 31%) minmax(0, 1fr);
    min-height: 220px;
}

.program-card > img {
    aspect-ratio: 4 / 3;
    min-height: 220px;
}

.program-card__body {
    justify-content: center;
    padding: clamp(24px, 4vw, 42px);
}

.program-card__schedule {
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
}

.program-card__schedule span {
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--surface-2);
    font-size: 12px;
    font-weight: 800;
}

.program-card h3 {
    margin: 16px 0 6px;
    font-size: 30px;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.program-description {
    max-width: 720px;
    margin: 0 0 18px;
}

.program-detail {
    display: grid;
    grid-template-columns: minmax(320px, .85fr) minmax(0, 1.15fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
    padding: clamp(24px, 4vw, 52px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.program-detail > img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    object-fit: cover;
}

.program-detail h2 {
    margin: 8px 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 48px;
    line-height: 1.08;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.program-detail__host {
    color: var(--muted);
}

.program-detail__schedule {
    display: flex;
    gap: 10px;
    align-items: center;
    width: fit-content;
    margin: 20px 0;
    padding: 12px 14px;
    border-left: 3px solid var(--primary);
    background: var(--surface-2);
}

.product-card {
    position: relative;
}

.discount-badge {
    position: absolute;
    z-index: 2;
    top: 12px;
    left: 12px;
    padding: 5px 9px;
    border-radius: 4px;
    background: #d45541;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.price-stack {
    display: grid;
    gap: 1px;
}

.price-stack del,
.product-detail__price del {
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
}

.product-detail__price {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: baseline;
}

.product-detail__price span {
    padding: 3px 7px;
    border-radius: 4px;
    background: #fff0cd;
    color: #875800;
    font-size: 13px;
}

.content-empty {
    margin: 18px 0;
    color: var(--muted);
}

.article-strip > a {
    display: grid;
    grid-template-columns: 42% minmax(0, 1fr);
    min-height: 112px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
}

.article-strip > a:hover {
    border-color: var(--primary);
    color: var(--text);
    transform: translateY(-2px);
}

.custom-page__cover {
    width: 100%;
    max-height: 480px;
    margin-bottom: 28px;
    border-radius: 8px;
    object-fit: cover;
}

.auth-aside h2,
.section-heading h2,
.editorial-heading h2,
.spotlight-card h3,
.article-strip h3,
.benefits-strip strong,
.button,
.support-button,
.program-rows strong {
    overflow-wrap: anywhere;
}

.auth-aside h2,
.editorial-heading h2 {
    text-wrap: balance;
}

@media (max-width: 900px) {
    .program-detail {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .player-card h1,
    .hero-card h1 {
        font-size: 38px;
    }

    .home-hero h2,
    .section-heading h2,
    .article-page h2,
    .product-detail__content h2,
    .news-feature h3,
    .standalone-radio h1 {
        font-size: 34px;
    }

    .wellness-hero__copy h2 {
        font-size: 48px;
    }

    .program-card h3 {
        font-size: 26px;
    }

    .program-detail h2 {
        font-size: 36px;
    }

    .site-header {
        grid-template-columns: minmax(0, 1fr) auto auto;
    }

    .menu-toggle {
        display: block;
        grid-column: 2;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 1px);
        left: 12px;
        right: 12px;
        display: grid;
        max-height: 0;
        overflow: hidden;
        padding: 0 10px;
        border: 0 solid var(--line);
        border-radius: 0 0 8px 8px;
        background: var(--surface);
        box-shadow: 0 18px 40px rgba(8, 48, 36, .15);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: max-height .22s ease, opacity .18s ease, transform .18s ease, padding .18s ease;
    }

    .menu-open .main-nav {
        max-height: 420px;
        padding: 10px;
        border-width: 1px;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .main-nav a {
        width: 100%;
        padding: 11px 12px;
        white-space: normal;
    }

    .mobile-nav-actions {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 8px;
        padding-top: 10px;
        border-top: 1px solid var(--line);
    }

    .mobile-nav-actions .theme-toggle {
        display: inline-flex;
        width: auto;
        gap: 8px;
        padding: 0 12px;
    }

    .mobile-nav-actions .theme-toggle span,
    .mobile-nav-actions .support-button span {
        display: inline;
    }

    .menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
    .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

    .header-actions {
        grid-column: 3;
    }

    .header-actions .support-button,
    .header-actions .header-theme-toggle {
        display: none;
    }

    .compact-player__track {
        border-left: 0;
    }

    .compact-player {
        grid-template-columns: 58px minmax(0, 1fr) 44px;
    }

    .compact-player__program {
        grid-column: 2 / -1;
    }

    .compact-volume {
        grid-column: 1 / 3;
    }

    .compact-player__mini {
        display: inline-grid;
        grid-column: 3;
        width: 44px;
        min-height: 44px;
        margin: 0;
        padding: 0;
        place-items: center;
    }

    .compact-player__mini svg {
        width: 18px;
        height: 18px;
    }

    .compact-player__mini span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    .program-card {
        grid-template-columns: 1fr;
    }

    .program-card > img {
        height: 220px;
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .program-card__schedule {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .auth-aside h2 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .brand {
        gap: 8px;
    }

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

    .brand strong {
        font-size: 16px;
    }

    .brand small {
        font-size: 12px;
    }

    .program-card__body {
        padding: 22px;
    }

    .program-detail {
        padding: 20px;
    }

    .program-detail h2,
    .auth-aside h2 {
        font-size: 29px;
    }
}

/* Final responsive precedence */
html.mobile-player-open,
body.mobile-player-open {
    overflow: hidden;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
}

.programs-page .programs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.programs-page .program-card {
    grid-template-columns: minmax(190px, 40%) minmax(0, 1fr);
    min-height: 238px;
}

.programs-page .program-card > img {
    height: 100%;
    min-height: 238px;
    aspect-ratio: 4 / 3;
}

.programs-page .program-card__body {
    justify-content: flex-start;
    padding: 22px;
}

.programs-page .program-card h3 {
    margin: 14px 0 7px;
    font-size: 24px;
}

@media (max-width: 1180px) {
    .programs-page .programs-grid {
        grid-template-columns: 1fr;
    }

    .programs-page .program-card {
        grid-template-columns: minmax(230px, 32%) minmax(0, 1fr);
    }
}

@media (max-width: 760px) {
    .site-header {
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        min-height: 68px;
        padding: 9px 14px;
    }

    .menu-toggle {
        grid-column: 1;
        grid-row: 1;
    }

    .brand {
        grid-column: 2;
        grid-row: 1;
    }

    .header-actions {
        display: grid;
        grid-column: 3;
        grid-row: 1;
        margin: 0;
    }

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

    .header-actions .header-theme-toggle {
        display: inline-grid;
        width: 42px;
        height: 42px;
        margin: 0;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        gap: 3px;
        max-height: 0;
        padding: 0 16px;
        overflow-x: hidden;
        overflow-y: auto;
        border-radius: 0;
        visibility: hidden;
    }

    .menu-open .main-nav {
        max-height: calc(100dvh - 68px);
        padding: 12px 16px 22px;
        visibility: visible;
    }

    .main-nav a {
        min-height: 44px;
        padding: 9px 12px;
        font-size: 16px;
    }

    .mobile-nav-actions {
        grid-template-columns: 1fr;
    }

    .programs-page .program-card {
        grid-template-columns: 42% minmax(0, 1fr);
        min-height: 210px;
    }

    .programs-page .program-card > img {
        height: 100%;
        min-height: 210px;
        aspect-ratio: auto;
    }

    .programs-page .program-card__body {
        padding: 18px;
    }

    .programs-page .program-card h3 {
        margin-top: 11px;
        font-size: 21px;
    }

    .program-rows article {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 4px 10px;
        min-height: 0;
        padding: 11px 0;
    }

    .program-rows time {
        grid-column: 1;
        grid-row: 1;
    }

    .program-rows article > div {
        grid-column: 2;
        grid-row: 1;
    }

    .program-rows em {
        grid-column: 2;
        grid-row: 2;
        justify-self: start;
        margin-top: 3px;
    }

    .mobile-player-dialog[open] {
        overflow: hidden;
    }

    .mobile-player-fullscreen {
        grid-template-rows: auto minmax(140px, 1fr) auto auto auto auto;
        height: 100dvh;
        min-height: 0;
        overflow: hidden;
    }

    .mobile-player-fullscreen__cover {
        width: min(54vw, 220px);
        margin: 12px auto;
    }

    .mobile-player-fullscreen__meta h2 {
        font-size: 26px;
    }

    .mobile-player-fullscreen__play {
        width: 66px;
        height: 66px;
        margin: 14px auto 12px;
    }

    .mobile-player-fullscreen nav {
        margin-top: 16px;
    }
}

@media (max-width: 520px) {
    .programs-page .program-card {
        grid-template-columns: 1fr;
    }

    .programs-page .program-card > img {
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 9;
    }
}
