@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;500;600;700;800;900&display=swap');

:root {
    --pink: #ed1e79;
    --pink-strong: #d70f67;
    --pink-soft: #ffe5f0;
    --violet: #7652c7;
    --orange: #ff8b4d;
    --bg: #f6f2f7;
    --bg-deep: #eee8f1;
    --card: #ffffff;
    --card-soft: #fbf9fc;
    --text: #17111c;
    --muted: #6f6877;
    --border: #e9e2ec;
    --shadow: 0 18px 55px rgba(55, 34, 66, .09);
    --shadow-small: 0 8px 28px rgba(55, 34, 66, .08);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --ease: cubic-bezier(.2, .8, .2, 1);
}

[data-theme="dark"] {
    --bg: #100c15;
    --bg-deep: #17101f;
    --card: #1a1421;
    --card-soft: #21182b;
    --text: #f7f2fa;
    --muted: #aaa0b3;
    --border: #31263b;
    --pink-soft: #371426;
    --shadow: 0 22px 62px rgba(0, 0, 0, .38);
    --shadow-small: 0 10px 32px rgba(0, 0, 0, .28);
}

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

html { min-height: 100%; scroll-behavior: smooth; }

body {
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 78% -5%, rgba(237, 30, 121, .08), transparent 35%),
        linear-gradient(145deg, var(--bg), var(--bg-deep));
    font-family: 'Golos Text', 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    transition: background .3s ease, color .3s ease;
}

button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }

:focus-visible {
    outline: 3px solid rgba(237, 30, 121, .35);
    outline-offset: 3px;
}

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

.skip-link {
    position: fixed;
    top: 10px;
    left: 50%;
    z-index: 9999;
    padding: 10px 18px;
    color: #fff;
    background: var(--pink);
    border-radius: 999px;
    text-decoration: none;
    transform: translate(-50%, -160%);
    transition: transform .2s;
}

.skip-link:focus { transform: translate(-50%, 0); }

/* Persistent player */
.player-sidebar {
    position: fixed;
    inset: 16px auto 16px 16px;
    z-index: 100;
    display: flex;
    width: 324px;
    padding: 24px 22px 20px;
    overflow: hidden auto;
    flex-direction: column;
    align-items: center;
    gap: 13px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.player-sidebar::-webkit-scrollbar { width: 5px; }
.player-sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }

.player-sidebar__logo {
    display: block;
    width: 190px;
    padding: 6px 9px;
    background: #fff;
    border-radius: 12px;
}

.player-sidebar__logo img { width: 100%; }

.player-sidebar__cover {
    position: relative;
    width: min(228px, 100%);
    aspect-ratio: 1;
    margin-top: 2px;
    overflow: hidden;
    flex: 0 0 auto;
    background: #fff;
    border: 1px solid rgba(237, 30, 121, .12);
    border-radius: 24px;
    box-shadow: 0 18px 42px rgba(237, 30, 121, .22);
}

.player-sidebar__cover::after {
    position: absolute;
    inset: 0;
    content: '';
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: inherit;
}

.player-sidebar__cover img {
    width: 100%;
    height: 100%;
    padding: 6px;
    object-fit: contain;
    object-position: center;
    background: #fff;
}

.player-sidebar__live {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    color: #fff;
    background: rgba(18, 12, 22, .78);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.player-sidebar__live i,
.chat-online i,
.status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #ff4564;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255, 69, 100, .18);
}

.player-sidebar__eq {
    display: flex;
    height: 22px;
    margin-bottom: -5px;
    align-items: flex-end;
    gap: 3px;
}

.player-sidebar__eq span {
    width: 4px;
    height: 5px;
    background: var(--pink);
    border-radius: 4px;
    opacity: .36;
}

.player-sidebar__eq.active span { animation: equalizer .75s ease-in-out infinite alternate; opacity: 1; }
.player-sidebar__eq.active span:nth-child(2) { animation-delay: -.3s; }
.player-sidebar__eq.active span:nth-child(3) { animation-delay: -.55s; }
.player-sidebar__eq.active span:nth-child(4) { animation-delay: -.15s; }
.player-sidebar__eq.active span:nth-child(5) { animation-delay: -.42s; }

@keyframes equalizer { to { height: 21px; } }

.player-sidebar__now {
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.player-info-mobile {
    display: flex;
    width: 100%;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    gap: 1px;
}

.player-sidebar__artist,
.player-sidebar__song {
    width: 100%;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.player-sidebar__artist { font-size: 18px; font-weight: 850; }
.player-sidebar__song { color: var(--muted); font-size: 13px; font-weight: 500; }

.player-sidebar__play {
    display: grid;
    width: 62px;
    height: 62px;
    margin: 3px 0;
    padding: 0;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, #ff3189, var(--pink-strong));
    border: 0;
    border-radius: 50%;
    box-shadow: 0 10px 28px rgba(237, 30, 121, .32);
    cursor: pointer;
    transition: transform .22s var(--ease), box-shadow .22s;
}

.player-sidebar__play span { margin-left: 3px; font-size: 22px; line-height: 1; }
.player-sidebar.is-playing .player-sidebar__play span { margin-left: 0; font-size: 15px; letter-spacing: -3px; }
.player-sidebar__play:hover { transform: scale(1.07); box-shadow: 0 14px 34px rgba(237, 30, 121, .42); }
.player-sidebar__play:active { transform: scale(.96); }

.player-sidebar__volume {
    display: flex;
    width: 100%;
    padding: 0 9px;
    align-items: center;
    gap: 10px;
}

.player-sidebar__volume label { color: var(--muted); transform: rotate(180deg); }

.player-sidebar__volume input {
    width: 100%;
    height: 5px;
    appearance: none;
    background: var(--border);
    border-radius: 10px;
    cursor: pointer;
}

.player-sidebar__volume input::-webkit-slider-thumb {
    width: 15px;
    height: 15px;
    appearance: none;
    background: var(--pink);
    border: 3px solid var(--card);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(237, 30, 121, .3);
}

.player-sidebar__volume input::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: var(--pink);
    border: 3px solid var(--card);
    border-radius: 50%;
}

.player-sidebar__listeners {
    display: flex;
    min-height: 20px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

.status-dot { background: #9b95a1; box-shadow: none; }
.status-dot.online { background: #29bd78; box-shadow: 0 0 0 4px rgba(41, 189, 120, .12); }

.player-sidebar__vote { display: flex; gap: 8px; }

.vote-btn {
    display: inline-flex;
    min-width: 62px;
    padding: 7px 12px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--muted);
    background: var(--card-soft);
    border: 1px solid var(--border);
    border-radius: 999px;
    cursor: pointer;
    transition: transform .18s, color .18s, border-color .18s, background .18s;
}

.vote-btn:hover { color: var(--text); border-color: rgba(237, 30, 121, .35); transform: translateY(-2px); }
.vote-btn--like.active { color: #168b55; background: rgba(41, 189, 120, .1); border-color: rgba(41, 189, 120, .4); }
.vote-btn--dislike.active { color: #d53b55; background: rgba(232, 67, 94, .1); border-color: rgba(232, 67, 94, .4); }

.player-sidebar__vote-hint { min-height: 16px; margin-top: -5px; color: var(--muted); font-size: 11px; }

.player-sidebar__links {
    display: flex;
    width: 100%;
    margin-top: auto;
    padding-top: 4px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

.svc-link {
    padding: 5px 9px;
    color: var(--pink-strong);
    background: var(--pink-soft);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 650;
    text-decoration: none;
    transition: transform .15s, background .15s;
}

.svc-link:hover { transform: translateY(-1px); }
.svc-link--disabled { opacity: .45; pointer-events: none; }

/* Main shell and navigation */
.main-area {
    display: flex;
    min-height: 100vh;
    margin-left: 348px;
    flex-direction: column;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    display: flex;
    width: 100%;
    max-width: none;
    min-height: 82px;
    margin: 0;
    padding: 18px clamp(20px, 2vw, 32px);
    align-items: center;
    gap: 18px;
    background: var(--bg);
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    backdrop-filter: blur(16px);
}

.main-nav { display: flex; margin-right: auto; align-items: center; gap: 4px; }

.main-nav a {
    padding: 9px 15px;
    color: var(--muted);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: color .18s, background .18s, transform .18s;
}

.main-nav a:hover { color: var(--text); background: var(--card); transform: translateY(-1px); }
.main-nav a.active { color: #fff; background: var(--pink); box-shadow: 0 7px 19px rgba(237, 30, 121, .2); }

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

.theme-toggle,
.nav-burger {
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 50%;
    box-shadow: var(--shadow-small);
    cursor: pointer;
    transition: border-color .18s, transform .18s;
}

.theme-toggle:hover { border-color: rgba(237, 30, 121, .45); transform: rotate(8deg); }
.nav-burger, .header-logo-mobile, .nav-overlay { display: none; }

.login-dropdown { position: relative; }

.login-btn {
    padding: 10px 17px;
    color: #fff;
    background: var(--text);
    border: 0;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
    transition: background .18s, transform .18s;
}

.login-btn:hover { background: var(--pink); transform: translateY(-1px); }

.login-menu {
    position: absolute;
    top: calc(100% + 9px);
    right: 0;
    width: 210px;
    padding: 8px;
    visibility: hidden;
    opacity: 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 17px;
    box-shadow: var(--shadow);
    transform: translateY(-8px) scale(.98);
    transform-origin: top right;
    transition: opacity .18s, transform .18s, visibility .18s;
}

.login-dropdown.open .login-menu { visibility: visible; opacity: 1; transform: translateY(0) scale(1); }

.login-menu__item {
    display: flex;
    padding: 9px 10px;
    align-items: center;
    gap: 10px;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
}

.login-menu__item:hover { background: var(--card-soft); }

.login-menu__icon {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    color: #fff;
    border-radius: 8px;
    font-weight: 800;
}

.login-menu__item--yandex .login-menu__icon { background: #fc3f1d; }
.login-menu__item--google .login-menu__icon { background: #4285f4; }

.user-box {
    display: flex;
    padding: 4px 11px 4px 4px;
    align-items: center;
    gap: 8px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 999px;
    box-shadow: var(--shadow-small);
}

.user-avatar { width: 34px; height: 34px; object-fit: cover; border-radius: 50%; }
.user-name { max-width: 120px; overflow: hidden; font-size: 13px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.user-logout { padding-left: 8px; color: var(--muted); border-left: 1px solid var(--border); font-size: 12px; text-decoration: none; }
.user-logout:hover { color: var(--pink); }

#app {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 14px clamp(20px, 2vw, 32px) 70px;
    flex: 1;
    transition: opacity .16s ease, transform .16s ease;
}

#app.fade { opacity: .35; transform: translateY(4px); }

.site-footer {
    display: grid;
    width: auto;
    max-width: none;
    margin: 0 clamp(20px, 2vw, 32px);
    padding: 26px 0 30px;
    align-items: center;
    grid-template-columns: 1fr auto auto;
    gap: 24px;
    color: var(--muted);
    border-top: 1px solid var(--border);
    font-size: 12px;
}

.site-footer > div { display: flex; flex-direction: column; }
.site-footer strong { color: var(--text); font-size: 15px; }
.site-footer nav { display: flex; gap: 16px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--pink); }
.site-footer p { margin: 0; }

/* Shared content */
.page { width: 100%; }
.page-intro { max-width: 790px; margin: 16px 0 34px; }
.page-intro--split { display: flex; max-width: none; align-items: flex-end; justify-content: space-between; gap: 34px; }
.page-intro--split > div:first-child { max-width: 790px; }

.page h1,
.page h2,
.page h3,
.page p { margin-top: 0; }

.page h1 {
    margin-bottom: 16px;
    font-size: clamp(38px, 4.4vw, 68px);
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: .98;
}

.page h1 em { color: var(--pink); font-style: normal; }
.page-intro > p, .page-intro > div > p { max-width: 700px; margin-bottom: 0; color: var(--muted); font-size: 17px; line-height: 1.7; }

.eyebrow,
.section-kicker {
    display: inline-flex;
    margin-bottom: 14px;
    align-items: center;
    gap: 8px;
    color: var(--pink);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.eyebrow span { width: 24px; height: 2px; background: var(--pink); border-radius: 2px; }

.button {
    display: inline-flex;
    min-height: 48px;
    padding: 12px 20px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s var(--ease), box-shadow .2s, background .2s, border-color .2s;
}

.button:hover { transform: translateY(-2px); }
.button--primary { color: #fff; background: var(--pink); box-shadow: 0 10px 26px rgba(237, 30, 121, .25); }
.button--primary:hover { background: var(--pink-strong); box-shadow: 0 13px 30px rgba(237, 30, 121, .32); }
.button--ghost { color: var(--text); background: var(--card); border-color: var(--border); box-shadow: var(--shadow-small); }
.button--ghost:hover { border-color: rgba(237, 30, 121, .35); }
.button--compact { min-height: 40px; padding: 9px 15px; font-size: 13px; }

.content-section { margin-top: 48px; }

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

.section-heading .section-kicker { margin-bottom: 5px; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(26px, 2.4vw, 36px); letter-spacing: -.035em; }
.section-note { color: var(--muted); font-size: 12px; }
.section-link { color: var(--pink); font-size: 13px; font-weight: 750; text-decoration: none; }

/* Home hero */
.hero {
    position: relative;
    display: grid;
    min-height: 510px;
    padding: clamp(34px, 5vw, 70px);
    overflow: hidden;
    align-items: center;
    grid-template-columns: minmax(0, 1.1fr) minmax(330px, .9fr);
    gap: 30px;
    background:
        linear-gradient(130deg, rgba(255, 255, 255, .98), rgba(255, 242, 248, .94)),
        var(--card);
    border: 1px solid rgba(237, 30, 121, .1);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

[data-theme="dark"] .hero { background: linear-gradient(130deg, #201725, #291524); }

.hero::before {
    position: absolute;
    top: -45%;
    right: -18%;
    width: 65%;
    aspect-ratio: 1;
    content: '';
    background: radial-gradient(circle, rgba(237, 30, 121, .14), transparent 68%);
    pointer-events: none;
}

.hero__content { position: relative; z-index: 2; }
.hero h1 { max-width: 730px; margin-bottom: 20px; }
.hero__content > p { max-width: 630px; margin-bottom: 27px; color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.68; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 11px; }

.hero__facts {
    display: flex;
    margin: 34px 0 0;
    gap: 0;
}

.hero__facts div { min-width: 105px; padding: 0 24px; border-left: 1px solid var(--border); }
.hero__facts div:first-child { padding-left: 0; border-left: 0; }
.hero__facts dt { font-size: 19px; font-weight: 900; }
.hero__facts dd { margin: 1px 0 0; color: var(--muted); font-size: 11px; }

.hero__visual { position: relative; display: grid; min-height: 380px; place-items: center; }

.hero__record {
    position: relative;
    z-index: 2;
    width: min(330px, 90%);
    aspect-ratio: 1;
    padding: 15px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 30px 70px rgba(109, 47, 79, .2);
    animation: hoverRecord 5s var(--ease) infinite alternate;
}

.hero__record::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    content: '';
    background: var(--text);
    border: 7px solid #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

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

@keyframes hoverRecord { to { transform: translateY(-9px) rotate(2deg); } }

.hero__orb { position: absolute; border-radius: 50%; filter: blur(1px); }
.hero__orb--one { top: 13%; right: 4%; width: 95px; height: 95px; background: rgba(118, 82, 199, .17); }
.hero__orb--two { bottom: 6%; left: 6%; width: 120px; height: 120px; background: rgba(237, 30, 121, .12); }

.hero__wave {
    position: absolute;
    right: 2%;
    bottom: 9%;
    z-index: 3;
    display: flex;
    height: 50px;
    padding: 9px 12px;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, .84);
    border: 1px solid rgba(237, 30, 121, .14);
    border-radius: 15px;
    box-shadow: var(--shadow-small);
    backdrop-filter: blur(8px);
}

.hero__wave i { width: 4px; height: 13px; background: var(--pink); border-radius: 4px; animation: wave 1s ease-in-out infinite alternate; }
.hero__wave i:nth-child(2) { height: 24px; animation-delay: -.6s; }
.hero__wave i:nth-child(3) { height: 31px; animation-delay: -.2s; }
.hero__wave i:nth-child(4) { height: 20px; animation-delay: -.7s; }
.hero__wave i:nth-child(5) { height: 34px; animation-delay: -.4s; }
.hero__wave i:nth-child(6) { height: 18px; animation-delay: -.8s; }
.hero__wave i:nth-child(7) { height: 25px; animation-delay: -.1s; }
@keyframes wave { to { transform: scaleY(.45); } }

/* Track history */
.tracks-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }

.track-card {
    display: grid;
    min-width: 0;
    padding: 10px 12px;
    align-items: center;
    grid-template-columns: 28px 50px minmax(0, 1fr) auto 34px;
    gap: 11px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: transform .18s var(--ease), border-color .18s, box-shadow .18s;
}

.track-card:hover { border-color: rgba(237, 30, 121, .24); box-shadow: var(--shadow-small); transform: translateY(-2px); }
.track-card__number { color: var(--muted); font-size: 10px; font-weight: 750; }
.track-card__cover { width: 50px; height: 50px; object-fit: cover; background: #fff; border-radius: 12px; }
.track-card__info { display: flex; min-width: 0; flex-direction: column; }
.track-card__artist, .track-card__title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.track-card__artist { font-size: 14px; }
.track-card__title { color: var(--muted); font-size: 12px; }
.track-card__time { color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.track-card__search { display: grid; width: 31px; height: 31px; place-items: center; color: var(--muted); background: var(--card-soft); border-radius: 50%; text-decoration: none; }
.track-card__search:hover { color: #fff; background: var(--pink); }

.track-skeleton {
    height: 72px;
    background: linear-gradient(90deg, var(--card) 25%, var(--card-soft) 48%, var(--card) 72%);
    background-size: 300% 100%;
    border: 1px solid var(--border);
    border-radius: 16px;
    animation: skeleton 1.6s infinite;
}
@keyframes skeleton { to { background-position: -150% 0; } }
.tracks-empty { grid-column: 1 / -1; padding: 24px; color: var(--muted); text-align: center; background: var(--card); border: 1px dashed var(--border); border-radius: 16px; }

/* Home feature/news cards */
.home-grid { display: grid; margin-top: 44px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

.feature-card {
    position: relative;
    min-height: 280px;
    padding: 31px;
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-small);
}

.feature-card::after { position: absolute; right: -30px; bottom: -55px; width: 180px; height: 180px; content: ''; border-radius: 50%; }
.feature-card--schedule::after { background: rgba(118, 82, 199, .1); }
.feature-card--vote::after { background: rgba(237, 30, 121, .1); }
.feature-card__icon { position: absolute; top: 27px; right: 27px; display: grid; width: 44px; height: 44px; place-items: center; color: #fff; background: var(--violet); border-radius: 14px; font-size: 20px; }
.feature-card--vote .feature-card__icon { background: var(--pink); }
.feature-card h2 { max-width: 440px; margin-bottom: 12px; font-size: clamp(23px, 2vw, 31px); line-height: 1.15; letter-spacing: -.035em; }
.feature-card p { max-width: 500px; margin-bottom: 24px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.feature-card a, .feature-card > button { position: relative; z-index: 2; padding: 0; color: var(--pink); background: none; border: 0; font-size: 13px; font-weight: 800; text-decoration: none; cursor: pointer; }
.feature-card a span, .feature-card > button span { display: inline-block; margin-left: 4px; transition: transform .18s; }
.feature-card a:hover span, .feature-card > button:hover span { transform: translateX(4px); }

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

.news-mini {
    position: relative;
    padding: 25px;
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
}

.news-mini::before { position: absolute; top: 0; left: 0; width: 4px; height: 100%; content: ''; background: var(--pink); }
.news-mini--violet::before { background: var(--violet); }
.news-mini--orange::before { background: var(--orange); }
.news-mini > div { display: flex; margin-bottom: 18px; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 10px; text-transform: uppercase; }
.news-mini > div span { color: var(--pink); font-weight: 800; }
.news-mini h3 { margin-bottom: 10px; font-size: 20px; line-height: 1.25; }
.news-mini p { margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

/* News page */
.news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

.news-card {
    position: relative;
    min-height: 280px;
    padding: 32px;
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-small);
}

.news-card::before { position: absolute; top: 0; left: 0; width: 100%; height: 5px; content: ''; background: var(--pink); }
.news-card--violet::before { background: var(--violet); }
.news-card--orange::before { background: var(--orange); }
.news-card--featured { display: flex; grid-column: 1 / -1; min-height: 330px; padding-right: 43%; flex-direction: column; justify-content: center; background: linear-gradient(120deg, var(--card) 54%, var(--pink-soft)); }
.news-card--featured::after { position: absolute; right: 5%; width: 30%; aspect-ratio: 1; content: 'Х'; display: grid; place-items: center; color: #fff; background: var(--pink); border-radius: 50%; font-size: clamp(80px, 10vw, 150px); font-weight: 900; font-style: italic; transform: rotate(-8deg); box-shadow: 0 25px 50px rgba(237, 30, 121, .25); }
.news-card__meta { display: flex; margin-bottom: 28px; justify-content: space-between; color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.news-card__meta span { color: var(--pink); font-weight: 850; }
.news-card h2 { max-width: 650px; margin-bottom: 14px; font-size: clamp(25px, 2.8vw, 40px); line-height: 1.1; letter-spacing: -.04em; }
.news-card p { max-width: 690px; margin-bottom: 22px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.news-card:not(.news-card--featured) p { margin-bottom: 0; }

.newsletter-card {
    display: flex;
    margin-top: 28px;
    padding: 35px;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    color: #fff;
    background: linear-gradient(135deg, #24182d, #4c1c3a);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.newsletter-card .section-kicker { margin-bottom: 8px; color: #ff8fbd; }
.newsletter-card h2 { max-width: 720px; margin-bottom: 0; font-size: clamp(22px, 2.3vw, 34px); line-height: 1.15; }
.newsletter-card .button { flex: 0 0 auto; }

/* Schedule */
.schedule-tabs {
    display: grid;
    margin-bottom: 18px;
    padding: 6px;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow-small);
}

.schedule-tabs button {
    display: flex;
    min-height: 52px;
    padding: 8px 10px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--muted);
    background: transparent;
    border: 0;
    border-radius: 13px;
    font-weight: 800;
    cursor: pointer;
}

.schedule-tabs button span { min-height: 12px; color: rgba(255, 255, 255, .8); font-size: 8px; font-weight: 600; text-transform: uppercase; }
.schedule-tabs button.active { color: #fff; background: var(--pink); box-shadow: 0 7px 18px rgba(237, 30, 121, .2); }

.schedule-day { display: none; }
.schedule-day.active { display: block; animation: reveal .28s ease; }
@keyframes reveal { from { opacity: 0; transform: translateY(5px); } }
.schedule-day > h2 { margin: 0 0 13px; font-size: 20px; }
.schedule-list { overflow: hidden; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-small); }

.schedule-item {
    position: relative;
    display: grid;
    min-height: 90px;
    padding: 20px 24px;
    align-items: center;
    grid-template-columns: 90px minmax(0, 1fr) auto;
    gap: 20px;
    border-top: 1px solid var(--border);
    transition: background .18s;
}

.schedule-item:first-child { border-top: 0; }
.schedule-item:hover { background: var(--card-soft); }
.schedule-item time { color: var(--pink); font-size: 16px; font-weight: 900; font-variant-numeric: tabular-nums; }
.schedule-item h3 { margin-bottom: 3px; font-size: 17px; }
.schedule-item p { margin-bottom: 0; color: var(--muted); font-size: 13px; }
.schedule-item.is-current { background: linear-gradient(90deg, var(--pink-soft), transparent); }
.schedule-item.is-current::before { position: absolute; top: 0; left: 0; width: 4px; height: 100%; content: ''; background: var(--pink); }
.schedule-item__state { min-width: 66px; padding: 6px 10px; color: #fff; background: var(--pink); border-radius: 999px; font-size: 10px; font-weight: 800; text-align: center; text-transform: uppercase; }

.schedule-note { display: flex; margin-top: 15px; padding: 18px 20px; align-items: center; gap: 14px; color: var(--muted); background: var(--card-soft); border: 1px solid var(--border); border-radius: 16px; font-size: 12px; }
.schedule-note > span { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; color: var(--pink); background: var(--pink-soft); border-radius: 50%; font-weight: 900; }
.schedule-note p { margin: 0; }
.schedule-note strong { color: var(--text); }

/* Chat */
.chat-online { display: inline-flex; padding: 10px 14px; align-items: center; gap: 9px; color: #168b55; background: rgba(41, 189, 120, .1); border: 1px solid rgba(41, 189, 120, .2); border-radius: 999px; font-size: 12px; font-weight: 750; white-space: nowrap; }
.chat-online i { background: #29bd78; box-shadow: 0 0 0 4px rgba(41, 189, 120, .12); }
.chat-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; }

.chat-card { overflow: hidden; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.chat-card__header { display: flex; min-height: 72px; padding: 14px 18px 14px 22px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); }
.chat-card__header > div { display: flex; flex-direction: column; }
.chat-card__header strong { font-size: 16px; }
.chat-card__header span { color: var(--muted); font-size: 11px; }
.chat-card__header button { display: grid; width: 38px; height: 38px; padding: 0; place-items: center; color: var(--muted); background: var(--card-soft); border: 1px solid var(--border); border-radius: 50%; cursor: pointer; }
.chat-card__header button:hover { color: var(--pink); transform: rotate(20deg); }

.chat-messages { height: min(520px, 55vh); min-height: 340px; padding: 20px; overflow-y: auto; scroll-behavior: smooth; }
.chat-message { display: grid; margin-bottom: 18px; grid-template-columns: 40px minmax(0, 1fr); gap: 11px; }
.chat-message > img { width: 40px; height: 40px; object-fit: cover; background: var(--card-soft); border-radius: 50%; }
.chat-message > div > div { display: flex; margin-bottom: 4px; align-items: baseline; gap: 9px; }
.chat-message strong { font-size: 13px; }
.chat-message time { color: var(--muted); font-size: 9px; }
.chat-message p { display: inline-block; max-width: 85%; margin: 0; padding: 9px 12px; color: var(--text); background: var(--card-soft); border: 1px solid var(--border); border-radius: 4px 14px 14px; font-size: 13px; line-height: 1.5; white-space: pre-wrap; }

.chat-loading, .chat-empty { display: flex; height: 100%; align-items: center; justify-content: center; color: var(--muted); font-size: 12px; }
.chat-loading span { width: 5px; height: 5px; margin-right: 3px; background: var(--pink); border-radius: 50%; animation: chatDot .9s infinite alternate; }
.chat-loading span:nth-child(2) { animation-delay: .2s; }
.chat-loading span:nth-child(3) { margin-right: 9px; animation-delay: .4s; }
@keyframes chatDot { to { transform: translateY(-5px); } }
.chat-empty { flex-direction: column; gap: 5px; text-align: center; }
.chat-empty strong { color: var(--text); font-size: 17px; }
.chat-empty--error strong { color: #d53b55; }

.chat-form { display: grid; padding: 14px 18px; align-items: end; grid-template-columns: 38px minmax(0, 1fr) 42px; gap: 10px; border-top: 1px solid var(--border); }
.chat-form img { width: 38px; height: 38px; object-fit: cover; border-radius: 50%; }
.chat-form textarea { width: 100%; min-height: 42px; max-height: 120px; padding: 10px 13px; resize: none; color: var(--text); background: var(--card-soft); border: 1px solid var(--border); border-radius: 14px; outline: none; font-size: 13px; line-height: 1.5; }
.chat-form textarea:focus { border-color: rgba(237, 30, 121, .45); box-shadow: 0 0 0 3px rgba(237, 30, 121, .08); }
.chat-form button { display: grid; width: 42px; height: 42px; padding: 0; place-items: center; color: #fff; background: var(--pink); border: 0; border-radius: 13px; cursor: pointer; }
.chat-form button:disabled { opacity: .5; }

.chat-login { display: flex; min-height: 86px; padding: 14px 18px; align-items: center; gap: 13px; border-top: 1px solid var(--border); }
.chat-login > span { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; color: var(--pink); background: var(--pink-soft); border-radius: 50%; }
.chat-login p { display: flex; margin: 0 auto 0 0; flex-direction: column; color: var(--muted); font-size: 11px; }
.chat-login strong { color: var(--text); font-size: 13px; }

.chat-rules { padding: 27px; align-self: start; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-small); }
.chat-rules h2 { margin-bottom: 23px; font-size: 23px; line-height: 1.18; letter-spacing: -.03em; }
.chat-rules ol { margin: 0 0 22px; padding: 0; list-style: none; }
.chat-rules li { display: grid; padding: 13px 0; align-items: center; grid-template-columns: 34px 1fr; gap: 9px; border-top: 1px solid var(--border); font-size: 12px; }
.chat-rules li span { color: var(--pink); font-size: 10px; font-weight: 850; }
.chat-rules > p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }

/* 404 and feedback */
.page-404 { display: flex; min-height: 62vh; align-items: center; justify-content: center; flex-direction: column; text-align: center; }
.page-404__code { color: var(--pink-soft); font-size: clamp(100px, 20vw, 250px); font-weight: 900; letter-spacing: -.09em; line-height: .8; }
.page-404 h1 { margin-top: -15px; }
.page-404 > p { margin-bottom: 25px; color: var(--muted); }

.toast {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1000;
    max-width: 340px;
    padding: 13px 17px;
    visibility: hidden;
    color: #fff;
    opacity: 0;
    background: #211626;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    box-shadow: 0 16px 42px rgba(0, 0, 0, .25);
    font-size: 13px;
    transform: translateY(12px);
    transition: opacity .2s, transform .2s, visibility .2s;
}

.toast.visible { visibility: visible; opacity: 1; transform: translateY(0); }

@media (max-width: 1180px) {
    .player-sidebar { width: 288px; }
    .main-area { margin-left: 320px; }
    .player-sidebar__cover { width: 205px; }
    .hero { grid-template-columns: minmax(0, 1fr) 300px; padding: 42px; }
    .hero__record { width: 280px; }
    .hero h1 { font-size: clamp(42px, 5vw, 61px); }
    .tracks-list { grid-template-columns: 1fr; }
}

@media (max-width: 920px) {
    body { padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
    .player-sidebar {
        inset: auto 0 0;
        z-index: 500;
        display: grid;
        width: 100%;
        min-height: 76px;
        padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
        overflow: visible;
        align-items: center;
        grid-template-columns: 50px minmax(0, 1fr) 48px;
        gap: 11px;
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
        border-radius: 20px 20px 0 0;
    }

    .player-sidebar__logo,
    .player-sidebar__eq,
    .player-sidebar__now,
    .player-sidebar__volume,
    .player-sidebar__vote-hint,
    .player-sidebar__links { display: none; }

    .player-sidebar__cover { width: 50px; margin: 0; grid-column: 1; grid-row: 1; border-radius: 12px; box-shadow: 0 6px 16px rgba(237, 30, 121, .2); }
    .player-sidebar__live { display: none; }
    .player-info-mobile { align-items: flex-start; grid-column: 2; grid-row: 1; }
    .player-sidebar__artist, .player-sidebar__song { text-align: left; }
    .player-sidebar__artist { font-size: 13px; }
    .player-sidebar__song { font-size: 11px; }
    .player-sidebar__play { width: 46px; height: 46px; margin: 0; grid-column: 3; grid-row: 1; box-shadow: 0 7px 18px rgba(237, 30, 121, .28); }
    .player-sidebar__play span { font-size: 17px; }
    .player-sidebar__listeners { position: absolute; top: -20px; right: 15px; padding: 3px 8px; background: var(--card); border: 1px solid var(--border); border-radius: 999px; font-size: 9px; }
    .player-sidebar__listeners #pl-status, .player-sidebar__listeners span[aria-hidden] { display: none; }
    .player-sidebar__vote { position: absolute; top: -25px; left: 15px; display: flex; gap: 4px; }
    .player-sidebar__vote .vote-btn { min-width: 48px; padding: 4px 8px; background: var(--card); font-size: 11px; box-shadow: var(--shadow-small); }

    .main-area { margin-left: 0; }
    .site-header { min-height: 72px; padding: 12px 18px; }
    .nav-burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; border-radius: 13px; }
    .nav-burger span { display: block; width: 19px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
    .nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-burger.open span:nth-child(2) { opacity: 0; }
    .nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .header-logo-mobile { position: absolute; left: 50%; display: block; width: 125px; padding: 4px 7px; background: #fff; border-radius: 8px; transform: translateX(-50%); }
    .header-logo-mobile img { width: 100%; }

    .main-nav {
        position: fixed;
        top: 76px;
        right: 12px;
        left: 12px;
        z-index: 220;
        display: flex;
        padding: 11px;
        visibility: hidden;
        opacity: 0;
        flex-direction: column;
        align-items: stretch;
        background: var(--card);
        border: 1px solid var(--border);
        border-radius: 20px;
        box-shadow: var(--shadow);
        transform: translateY(-8px);
        transition: opacity .2s, transform .2s, visibility .2s;
    }

    .main-nav.open { visibility: visible; opacity: 1; transform: translateY(0); }
    .main-nav a { padding: 12px 16px; text-align: center; }
    .nav-overlay { position: fixed; inset: 0; z-index: 200; display: block; visibility: hidden; opacity: 0; background: rgba(9, 6, 12, .42); backdrop-filter: blur(3px); transition: opacity .2s, visibility .2s; }
    .nav-overlay.open { visibility: visible; opacity: 1; }
    #app { padding-top: 8px; }
    .hero { min-height: 470px; grid-template-columns: 1fr; }
    .hero__visual { position: absolute; right: -60px; bottom: -75px; width: 330px; min-height: 330px; opacity: .2; }
    .hero__content { max-width: 720px; }
    .hero__content > p { max-width: 600px; }
    .home-grid { grid-template-columns: 1fr; }
    .chat-layout { grid-template-columns: 1fr; }
    .chat-rules { display: none; }
}

@media (max-width: 680px) {
    #app { padding: 6px 15px 48px; }
    .site-header { padding-right: 14px; padding-left: 14px; }
    .theme-toggle { width: 38px; height: 38px; }
    .login-btn { padding: 9px 13px; font-size: 12px; }
    .user-name { display: none; }
    .user-box { padding-right: 8px; }

    .page-intro { margin-top: 8px; margin-bottom: 24px; }
    .page-intro--split { align-items: flex-start; flex-direction: column; gap: 20px; }
    .page h1 { font-size: clamp(36px, 12vw, 52px); }
    .page-intro > p, .page-intro > div > p { font-size: 15px; }

    .hero { min-height: 520px; padding: 31px 24px; border-radius: 25px; }
    .hero h1 { font-size: clamp(39px, 12vw, 54px); }
    .hero__content > p { font-size: 15px; }
    .hero__visual { right: -115px; bottom: -95px; opacity: .16; }
    .hero__actions { align-items: stretch; flex-direction: column; }
    .hero__actions .button { width: 100%; }
    .hero__facts { margin-top: 26px; }
    .hero__facts div { min-width: 0; padding: 0 13px; flex: 1; }
    .hero__facts dt { font-size: 16px; }
    .hero__facts dd { font-size: 9px; }

    .content-section, .home-grid { margin-top: 35px; }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 7px; }
    .section-note { display: none; }
    .tracks-list, .news-preview-grid, .news-grid { grid-template-columns: 1fr; }
    .track-card { grid-template-columns: 40px minmax(0, 1fr) auto 30px; }
    .track-card__number { display: none; }
    .track-card__cover { width: 40px; height: 40px; border-radius: 10px; }
    .track-card__time { font-size: 10px; }
    .feature-card { min-height: 250px; padding: 25px; }
    .feature-card__icon { top: 22px; right: 22px; }

    .news-card { min-height: 0; padding: 25px; }
    .news-card--featured { padding: 210px 25px 28px; background: linear-gradient(180deg, var(--pink-soft), var(--card) 46%); }
    .news-card--featured::after { top: 32px; right: 50%; width: 145px; transform: translateX(50%) rotate(-8deg); }
    .news-card__meta { margin-bottom: 19px; }
    .newsletter-card { padding: 26px; align-items: stretch; flex-direction: column; }

    .schedule-tabs { overflow-x: auto; grid-template-columns: repeat(7, minmax(62px, 1fr)); }
    .schedule-item { min-height: 82px; padding: 16px; grid-template-columns: 58px minmax(0, 1fr); gap: 12px; }
    .schedule-item__state { display: none; }
    .schedule-item h3 { font-size: 15px; }
    .schedule-item p { font-size: 11px; }
    .schedule-note { align-items: flex-start; }

    .chat-messages { height: 48vh; min-height: 320px; padding: 16px; }
    .chat-message p { max-width: 96%; }
    .chat-login { align-items: flex-start; flex-wrap: wrap; }
    .chat-login p { width: calc(100% - 55px); }
    .chat-login .button { margin-left: 51px; }
    .chat-form { padding: 12px; grid-template-columns: minmax(0, 1fr) 42px; }
    .chat-form > img { display: none; }

    .site-footer { width: calc(100% - 30px); padding-bottom: 20px; grid-template-columns: 1fr; gap: 14px; }
    .site-footer nav { flex-wrap: wrap; }
    .toast { right: 14px; bottom: 92px; left: 14px; max-width: none; text-align: center; }
}

@media (max-width: 420px) {
    .header-logo-mobile { width: 105px; }
    .theme-toggle { display: none; }
    .hero { padding: 28px 20px; }
    .hero__facts dd { display: none; }
    .player-sidebar__listeners { display: none; }
}

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