@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --bg: #f5f6f8;
    --bg-raised: #ffffff;
    --bg-inset: #eceef1;
    --bg-glass: rgba(255, 255, 255, 0.85);
    --border: #e3e5e9;
    --border-strong: #c9ccd2;

    --text: #16181d;
    --text-muted: #545962;
    --text-faint: #7b818b;

    --accent: #4f46e5;
    --accent-hover: #4338ca;
    --accent-ink: #ffffff;
    --accent-tint: rgba(79, 70, 229, 0.08);
    --accent-glow: rgba(79, 70, 229, 0.2);
    --live: #e11d48;
    --ok: #059669;
    --warn: #d97706;
    --danger: #dc2626;

    --font-display: 'Space Grotesk', 'Inter', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-md: 1.125rem;
    --fs-lg: 1.375rem;
    --fs-xl: clamp(1.5rem, 2vw + 1rem, 2rem);
    --fs-2xl: clamp(2rem, 3vw + 1rem, 2.75rem);

    --sp-1: 0.25rem;
    --sp-2: 0.5rem;
    --sp-3: 0.75rem;
    --sp-4: 1rem;
    --sp-5: 1.5rem;
    --sp-6: 2rem;
    --sp-7: 3rem;

    --radius: 6px;
    --radius-lg: 10px;

    --shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 4px 14px rgba(16, 24, 40, 0.06);
    --tint: rgba(16, 24, 40, 0.05);
    --tint-strong: rgba(16, 24, 40, 0.07);
    --panel: #ffffff;
    --glass: rgba(255, 255, 255, 0.86);
    --glass-strong: rgba(255, 255, 255, 0.95);
    --nav-fg: rgba(22, 24, 29, 0.68);
    --container: 78rem;
    --header-h: 3.5rem;
    --player-h: 4.5rem;
}

.theme-dark {
    color: var(--text);
    --bg: #0e1014;
    --bg-raised: #171a20;
    --bg-inset: #0a0c10;
    --bg-glass: rgba(22, 25, 31, 0.75);
    --border: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(255, 255, 255, 0.18);

    --text: #e8eaed;
    --text-muted: #9aa0a8;
    --text-faint: #6b7280;

    --accent: #6366f1;
    --accent-hover: #818cf8;
    --accent-ink: #ffffff;
    --accent-tint: rgba(99, 102, 241, 0.16);
    --accent-glow: rgba(99, 102, 241, 0.35);
    --live: #ff4d6d;
    --ok: #3ddc97;
    --warn: #ffc857;
    --danger: #ff6b6b;

    --shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
    --tint: rgba(255, 255, 255, 0.06);
    --tint-strong: rgba(255, 255, 255, 0.1);
    --panel: #171a20;
    --glass: rgba(14, 16, 20, 0.86);
    --glass-strong: rgba(14, 16, 20, 0.95);
    --nav-fg: rgba(232, 234, 237, 0.72);
}



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

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: 1.55;
    min-height: 100vh;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1 0 auto;
    padding-top: var(--header-h);
}

body.has-miniplayer { padding-bottom: var(--player-h); }
body.has-miniplayer .cookie-bar { bottom: var(--player-h); }

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin: 0 0 var(--sp-4);
}
p { margin: 0 0 var(--sp-4); }
ul { margin: 0; padding: 0; list-style: none; }

a { color: var(--accent); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--accent-hover); }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

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

::selection { background: rgba(79, 70, 229, 0.35); }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-inset); }
::-webkit-scrollbar-thumb { background: #2a2e36; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

.skip-link {
    position: absolute;
    left: var(--sp-4);
    top: -100%;
    z-index: 200;
    background: var(--accent);
    color: var(--accent-ink);
    padding: var(--sp-2) var(--sp-4);
    border-radius: var(--radius);
    font-weight: 600;
}
.skip-link:focus { top: var(--sp-2); }

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

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--sp-4);
}

.muted { color: var(--text-muted); }
.muted--flush { margin: 0; }

.side-box--spaced { margin-top: var(--sp-5); }



.glass {
    position: relative;
    background: var(--bg-glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: var(--radius);
    box-shadow: inset 0 0 0 1px var(--border);
    overflow: hidden;
}

.glass--blur-bg {
    position: relative;
    z-index: 0;
}
.glass--blur-bg > .blur-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.5;
}
.glass--blur-bg > .blur-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(18px) saturate(1.2);
    transform: scale(1.15);
}



.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: var(--header-h);
    background: var(--glass);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    box-shadow: inset 0 -1px 0 var(--border);
    transition: background 0.25s ease, box-shadow 0.25s ease;
}
.navbar[data-scrolled="true"] {
    background: var(--glass-strong);
    box-shadow:
        inset 0 -1px 0 var(--border),
        0 8px 24px -16px rgba(16, 24, 40, 0.35);
}

.navbar__inner {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    height: 100%;
}

.navbar__brand {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    color: var(--text);
    font-family: var(--font-display);
    font-size: var(--fs-md);
    letter-spacing: 0.03em;
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity 0.15s ease;
}
.navbar__brand:hover { color: var(--text); opacity: 0.82; }
.navbar__brand img { height: 1.6rem; width: auto; display: block; }

.navbar__menu {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    flex: 1;
    min-width: 0;
}

.navbar__links {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0; padding: 0; list-style: none;
}

.navbar__link {
    display: inline-block;
    padding: 0.4rem 0.7rem;
    border-radius: 7px;
    color: var(--nav-fg);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.005em;
    text-decoration: none;
    transition: color 0.16s ease, background 0.16s ease;
}
.navbar__link:hover { color: var(--text); background: var(--tint); }
.navbar__link--active {
    color: var(--accent-hover);
    background: var(--accent-tint);
}

.nav-item--sub { position: relative; }

.nav-item--sub::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 14px;
}

.nav-item--sub > .navbar__link::after {
    content: "";
    display: inline-block;
    width: 0.38em;
    height: 0.38em;
    margin-left: 0.45em;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.15s ease;
}

.nav-item--sub:hover > .navbar__link::after,
.nav-item--sub:focus-within > .navbar__link::after,
.nav-item--sub[data-sub-open="true"] > .navbar__link::after {
    transform: translateY(1px) rotate(225deg);
}

.nav-item--sub:hover > .navbar__link,
.nav-item--sub:focus-within > .navbar__link,
.nav-item--sub[data-sub-open="true"] > .navbar__link {
    color: var(--text);
    background: var(--tint);
}

.nav-sub {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 14.5rem;
    margin: 0;
    padding: 8px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition:
        opacity 0.16s ease,
        transform 0.16s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.16s;
    z-index: 110;
}

.nav-item--sub:hover .nav-sub,
.nav-item--sub:focus-within .nav-sub,
.nav-item--sub[data-sub-open="true"] .nav-sub {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
}

.nav-item--sub:hover > .navbar__link::after,
.nav-item--sub:focus-within > .navbar__link::after,
.nav-item--sub[data-sub-open="true"] > .navbar__link::after {
    transform: translateY(1px) rotate(225deg);
}

.nav-item--sub[data-sub-closed="true"]:not(:hover) .nav-sub {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
}
.nav-item--sub[data-sub-closed="true"]:not(:hover) > .navbar__link::after {
    transform: translateY(-2px) rotate(45deg);
}

.nav-item--sub[data-sub-away="true"] .nav-sub {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
}
.nav-item--sub[data-sub-away="true"] > .navbar__link::after {
    transform: translateY(-2px) rotate(45deg);
}
.nav-item--sub[data-sub-away="true"] > .navbar__link {
    color: var(--nav-fg);
    background: transparent;
}
.nav-item--sub[data-sub-away="true"] > .navbar__link.navbar__link--active {
    color: var(--accent-hover);
    background: var(--accent-tint);
}

.nav-sub li + li { margin-top: 3px; }

.nav-item--sub:hover .nav-sub li,
.nav-item--sub:focus-within .nav-sub li,
.nav-item--sub[data-sub-open="true"] .nav-sub li {
    animation: nav-sub-in 0.18s ease both;
}

.nav-item--sub:hover .nav-sub li:nth-child(2),
.nav-item--sub:focus-within .nav-sub li:nth-child(2),
.nav-item--sub[data-sub-open="true"] .nav-sub li:nth-child(2) { animation-delay: 0.03s; }

.nav-item--sub:hover .nav-sub li:nth-child(3),
.nav-item--sub:focus-within .nav-sub li:nth-child(3),
.nav-item--sub[data-sub-open="true"] .nav-sub li:nth-child(3) { animation-delay: 0.06s; }

.nav-item--sub:hover .nav-sub li:nth-child(4),
.nav-item--sub:focus-within .nav-sub li:nth-child(4),
.nav-item--sub[data-sub-open="true"] .nav-sub li:nth-child(4) { animation-delay: 0.09s; }

@keyframes nav-sub-in {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: none; }
}

@media (hover: none) and (min-width: 64.01rem) {
    .nav-item--sub:hover > .navbar__link { color: var(--nav-fg); background: transparent; }
    .nav-item--sub:hover > .navbar__link::after { transform: translateY(-2px) rotate(45deg); }
    .nav-item--sub:hover .nav-sub {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-6px);
    }
    .nav-item--sub:hover .nav-sub li { animation: none; }
}

.nav-sub__link {
    position: relative;
    display: block;
    padding: 0.6rem 0.85rem;
    border-radius: 8px;
    color: var(--nav-fg);
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.16s ease, background 0.16s ease;
}
.nav-sub__link:hover { color: var(--text); background: var(--tint); }
.nav-sub__link--active {
    color: var(--accent-hover);
    background: var(--accent-tint);
}
.nav-sub__link--active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 1.05em;
    border-radius: 0 3px 3px 0;
    background: var(--accent);
}

.navbar__indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    border-radius: 2px 2px 0 0;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    opacity: 0;
    pointer-events: none;
    transition:
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        width 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.2s ease;
}
.navbar__indicator[data-visible="true"] { opacity: 1; }

.navbar__auth {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    margin-left: auto;
    flex-shrink: 0;
}
.navbar__auth .btn--primary {
    padding: 0.42rem 0.95rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 7px;
}

.notif-menu { position: relative; }

.nav-iconbtn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 50%;
    color: var(--text-muted);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.nav-iconbtn:hover,
.nav-iconbtn[aria-expanded="true"],
.nav-iconbtn--active {
    background: var(--tint);
    color: var(--text);
}
.nav-iconbtn__count {
    position: absolute;
    top: -3px;
    right: -5px;
    min-width: 1.05rem;
    height: 1.05rem;
    padding: 0 4px;
    border-radius: 999px;
    background: #f43f5e;
    color: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1.05rem;
    text-align: center;
    box-shadow: 0 0 0 2px var(--bg);
    letter-spacing: 0;
}
.nav-iconbtn__count[hidden] { display: none; }

.notif-menu__dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    width: 20rem;
    max-width: calc(100vw - 2rem);
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 32px -12px rgba(16, 24, 40, 0.25);
    z-index: 120;
    overflow: hidden;
    transform-origin: top right;
}
.notif-menu__dropdown:not([hidden]) { animation: dropdown-in 0.16s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.notif-menu__head {
    padding: 0.7rem 0.9rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-faint);
    border-bottom: 1px solid var(--border);
}
.notif-menu__list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 17rem;
    overflow-y: auto;
}
.notif-menu__item { border-bottom: 1px solid var(--border); }
.notif-menu__item > a,
.notif-menu__item > span {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.6rem 0.9rem;
    color: var(--text);
    text-decoration: none;
    transition: background 0.12s ease;
}
.notif-menu__item > a:hover { background: var(--tint); }
.notif-menu__item--unread > a,
.notif-menu__item--unread > span { background: rgba(124, 92, 255, 0.08); }
.notif-menu__item-title {
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.35;
}
.notif-menu__item time {
    font-size: 0.6875rem;
    color: var(--text-faint);
}
.notif-menu__empty {
    padding: 1.1rem 0.9rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-align: center;
}
.notif-menu__viewall {
    display: block;
    padding: 0.6rem 0.9rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    text-align: center;
    border-top: 1px solid var(--border);
    transition: background 0.12s ease;
}
.notif-menu__viewall:hover { background: var(--tint); }

.nav-toggle {
    display: none;
    margin-left: auto;
    width: 2.5rem; height: 2.5rem;
    background: transparent;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    padding: 0;
    position: relative;
    transition: background 0.15s ease;
}
.nav-toggle:hover { background: var(--tint); }
.nav-toggle::before,
.nav-toggle::after,
.nav-toggle span {
    content: "";
    position: absolute;
    left: 50%;
    width: 1.125rem; height: 2px;
    background: var(--text);
    transform: translateX(-50%);
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle::before { top: 0.7rem; }
.nav-toggle::after { bottom: 0.7rem; }
.nav-toggle[aria-expanded="true"] span { opacity: 0; }
.nav-toggle[aria-expanded="true"]::before { transform: translateX(-50%) translateY(0.45rem) rotate(45deg); }
.nav-toggle[aria-expanded="true"]::after { transform: translateX(-50%) translateY(-0.45rem) rotate(-45deg); }



.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    padding: 0.55rem 1.1rem;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}
.btn:hover { text-decoration: none; }

.btn--primary {
    background: var(--accent);
    color: var(--accent-ink);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 1px 2px rgba(0, 0, 0, 0.28);
}
.btn--primary:hover {
    background: var(--accent-hover);
    color: var(--accent-ink);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 4px 14px -4px rgba(79, 70, 229, 0.5);
}
.btn--primary:active { background: #4338ca; transform: translateY(0.5px); }

.btn--glass {
    background: var(--bg-inset);
    color: var(--text);
    box-shadow: inset 0 0 0 1px var(--border-strong);
}
.btn--glass:hover {
    background: var(--tint);
    color: var(--text);
    box-shadow: inset 0 0 0 1px var(--border-strong), 0 1px 2px rgba(0, 0, 0, 0.12);
}

.btn--sm { padding: 0.35rem 0.75rem; font-size: var(--fs-xs); }
.btn--block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.radiobanner {
    position: relative;
    background: var(--bg-inset);
}

.radiobanner__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.radiobanner__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(28px) brightness(0.5) saturate(1.3);
    transform: scale(1.2);
}
.radiobanner__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(14, 16, 20, 0.5), rgba(14, 16, 20, 0.9));
}

.radiobanner__stats {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: var(--sp-5);
    padding-block: var(--sp-5);
}

.rb-song {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    min-width: 0;
    flex: 1;
}
.rb-song__art {
    width: 88px; height: 88px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.rb-song__art img { width: 100%; height: 100%; object-fit: cover; }
.rb-song__meta { min-width: 0; }
.rb-song__artist {
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rb-song__title {
    font-size: var(--fs-md);
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rb-dj {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    flex-shrink: 0;
}
.rb-dj__avatar {
    width: 64px; height: 64px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 0 2px var(--accent), 0 4px 16px rgba(0, 0, 0, 0.5);
}
.rb-dj__avatar img { width: 100%; height: 100%; object-fit: cover; }
.rb-dj__name {
    font-family: var(--font-display);
    font-size: var(--fs-md);
    color: var(--text);
    transition: color 0.15s ease;
}
a.rb-dj { text-decoration: none; color: inherit; }
a.rb-dj[href] { cursor: pointer; }
a.rb-dj[href]:hover .rb-dj__name,
a.rb-dj[href]:focus-visible .rb-dj__name { color: var(--accent); }

.radiobanner__player {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-4);
    padding: var(--sp-3) var(--sp-4);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    box-shadow: inset 0 1px 0 var(--border);
}

.player-btn {
    width: 48px; height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--accent);
    color: var(--accent-ink);
    font-size: 1.1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.player-btn:hover { background: var(--accent-hover); transform: scale(1.05); }
.player-btn:active { transform: scale(0.97); }
.player-btn__icon { display: block; }
.player-btn__icon--pause { display: none; }
.player-btn[data-playing="true"] .player-btn__icon--play { display: none; }
.player-btn[data-playing="true"] .player-btn__icon--pause { display: block; }

.player-volume {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    color: var(--text-muted);
}

.vslider {
    position: relative;
    width: 110px;
    height: 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
    touch-action: none;
    outline: none;
}
.vslider__rail {
    position: relative;
    width: 100%;
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    overflow: hidden;
    transition: height 0.15s ease;
}
.vslider:hover .vslider__rail,
.vslider:focus-visible .vslider__rail { height: 7px; }
.vslider__fill {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 80%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover, #5ad1ff));
}
.vslider__thumb {
    position: absolute;
    top: 50%;
    left: 80%;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.55);
    transform: translate(-50%, -50%) scale(0.65);
    opacity: 0;
    transition: opacity 0.15s ease, transform 0.15s ease;
    pointer-events: none;
}
.vslider:hover .vslider__thumb,
.vslider:focus-visible .vslider__thumb,
.vslider:active .vslider__thumb {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.vslider:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 999px; }

.player-status {
    font-family: var(--font-display);
    font-size: var(--fs-sm);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.player-status--live { color: var(--live); }

.player-listeners {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--fs-xs);
    color: var(--text-muted);
    white-space: nowrap;
}
.live-dot {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--live);
    box-shadow: 0 0 8px rgba(255, 77, 109, 0.6);
    animation: pulse 1.4s ease-in-out infinite;
}

.player-eq {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    padding: 0;
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    flex-shrink: 0;
    transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.player-eq:hover {
    color: var(--text);
    background: var(--tint);
    border-color: var(--accent);
}
.player-eq[aria-expanded="true"] {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-tint);
}
.player-eq[data-eq-on="true"] { color: var(--accent); }
.player-eq:focus-visible,
.np-link:focus-visible,
.rb-song__nav .btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.player-eq-wrap {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
}

.eq-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    width: min(21rem, calc(100vw - 2rem));
    padding: var(--sp-4);
    background: rgba(14, 16, 20, 0.97);
    backdrop-filter: blur(12px);
    border-radius: var(--radius);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), inset 0 0 0 1px var(--border);
    color: var(--text);
}
.eq-panel[hidden] { display: none; }
.eq-panel:not(.eq-panel--inline):not([hidden]) {
    animation: eq-panel-in 0.16s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes eq-panel-in {
    from { opacity: 0; transform: translate(-50%, -6px); }
    to { opacity: 1; transform: translateX(-50%); }
}

.eq-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-3);
}
.eq-panel__title {
    font-family: var(--font-display);
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}
.eq-panel__state {
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}
.eq-panel__state.is-on { color: var(--live); }

.eq-panel__bands {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
}
.eq-band {
    display: grid;
    grid-template-columns: 2.6rem 1fr 2.4rem;
    align-items: center;
    gap: var(--sp-3);
}
.eq-band__label {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}
.eq-band input[type="range"] {
    width: 100%;
    accent-color: var(--accent);
    cursor: pointer;
}
.eq-band__val {
    font-size: var(--fs-xs);
    color: var(--text);
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.eq-panel__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sp-2);
}
.eq-panel__row .input {
    flex: 1 1 9rem;
    width: auto;
    min-width: 0;
}
.eq-panel__row select.input { flex: 1 1 100%; }

.eq-panel__msg {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    min-height: 1em;
}
.eq-panel__msg.is-error { color: var(--danger); }
.eq-panel__msg[hidden] { display: none; }

.eq-panel--inline {
    position: static;
    transform: none;
    width: 100%;
    max-width: 26rem;
    background: var(--bg-inset);
    backdrop-filter: none;
    box-shadow: inset 0 0 0 1px var(--border);
}

.miniplayer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 140;
    height: var(--player-h);
    background: rgba(14, 16, 20, 0.96);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.45);
}
body:not(.has-miniplayer) .miniplayer { display: none; }

.miniplayer__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: var(--sp-4);
    height: 100%;
}

.miniplayer__left {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    min-width: 0;
}

.miniplayer__center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: clamp(14rem, 26vw, 24rem);
}

.miniplayer__right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--sp-3);
    min-width: 0;
}

.miniplayer__art {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.miniplayer__meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.miniplayer__title {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.miniplayer__artist {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.miniplayer__album {
    font-size: 0.6875rem;
    color: var(--text-faint);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.miniplayer__album:empty { display: none; }

.miniplayer__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-3);
}

.miniplayer .player-btn {
    width: 38px;
    height: 38px;
    box-shadow: none;
}
.miniplayer .player-btn:hover { transform: scale(1.06); }

.player-skip {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease, transform 0.1s ease;
}
.player-skip:hover:not(:disabled) {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.08);
}
.player-skip:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.miniplayer__progress {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    width: 100%;
}

.miniplayer__time {
    font-size: 0.6875rem;
    font-variant-numeric: tabular-nums;
    color: var(--text-faint);
    min-width: 2.4rem;
    text-align: center;
}

.player-range {
    -webkit-appearance: none;
    appearance: none;
    flex: 1;
    height: 4px;
    min-width: 0;
    border-radius: 999px;
    background: linear-gradient(
        to right,
        var(--accent) 0,
        var(--accent) var(--range-fill, 0%),
        rgba(255, 255, 255, 0.18) var(--range-fill, 0%),
        rgba(255, 255, 255, 0.18) 100%
    );
    cursor: pointer;
    outline: none;
    transition: height 0.15s ease;
}
.player-range:hover:not(:disabled) { height: 6px; }
.player-range:disabled { cursor: default; }

.player-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffffff;
    border: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.15s ease;
}
.player-range:hover::-webkit-slider-thumb,
.player-range:focus-visible::-webkit-slider-thumb { opacity: 1; }

.player-range::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffffff;
    border: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.15s ease;
}
.player-range:hover::-moz-range-thumb,
.player-range:focus-visible::-moz-range-thumb { opacity: 1; }

.player-range::-moz-range-track {
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}
.player-range::-moz-range-progress {
    height: 4px;
    border-radius: 999px;
    background: var(--accent);
}
.player-range:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.player-volume__toggle {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease;
}
.player-volume__toggle:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
}
.player-volume__icon--off { display: none; }
.player-volume__toggle[data-muted="true"] .player-volume__icon--on { display: none; }
.player-volume__toggle[data-muted="true"] .player-volume__icon--off { display: inline; }
.player-volume__toggle[data-muted="true"] { color: var(--danger); }

.miniplayer .player-volume .vslider {
    width: 96px;
}

@media (max-width: 64rem) {
    .miniplayer__right .player-listeners { display: none; }
}

@media (max-width: 56rem) {
    .miniplayer__inner {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: var(--sp-3);
    }
    .miniplayer__center {
        width: auto;
        flex-direction: row;
        gap: 0;
    }
    .miniplayer__progress,
    .miniplayer__right,
    .player-skip { display: none; }
}



.timetable-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-5);
    margin-top: var(--sp-5);
    margin-bottom: var(--sp-5);
}

.tt-item {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    padding: var(--sp-4);
    border-radius: var(--radius);
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    box-shadow: inset 0 0 0 1px var(--border);
    text-decoration: none;
    color: var(--text);
    transition: box-shadow 0.15s ease, background 0.15s ease;
    min-width: 0;
}
.tt-item:hover { background: var(--tint); color: var(--text); }

.tt-item--now {
    box-shadow: inset 0 0 0 1px var(--live), 0 0 16px rgba(255, 77, 109, 0.25);
}
.tt-item--now .tt-item__name { color: var(--live); }
.tt-item--now .tt-item__badge::before {
    content: "";
    display: inline-block;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--live);
    margin-right: 6px;
    animation: pulse 1.4s ease-in-out infinite;
}

.tt-item__avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-raised);
}
.tt-item__avatar img { width: 100%; height: 100%; object-fit: cover; }

.tt-item__meta { min-width: 0; }
.tt-item__badge {
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-faint);
    display: block;
    margin-bottom: 2px;
}
.tt-item__name {
    font-family: var(--font-display);
    font-size: var(--fs-base);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}
.tt-item__time {
    font-size: var(--fs-xs);
    color: var(--text-faint);
    display: block;
    margin-top: 1px;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}



.content-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: var(--sp-5);
    padding-block: var(--sp-5) var(--sp-7);
    align-items: start;
}

.content-title {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    color: var(--text);
    margin: 0 0 var(--sp-4);
    padding-bottom: var(--sp-2);
    border-bottom: 1px solid var(--border);
}
.content-title svg { color: var(--accent); flex-shrink: 0; }
.content-title a { color: var(--text-faint); margin-left: auto; font-size: var(--fs-sm); font-family: var(--font-body); }
.content-title a:hover { color: var(--accent); }

.content-col--main { min-width: 0; }
.content-col--side { display: flex; flex-direction: column; gap: var(--sp-5); min-width: 0; }

.home-carousel {
    position: relative;
    margin: 0 0 var(--sp-6);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: inset 0 0 0 1px var(--border), 0 18px 40px -22px rgba(16, 24, 40, 0.4);
    background: var(--bg-inset);
}
.home-carousel__viewport {
    position: relative;
    height: clamp(190px, 24vw, 330px);
}
.home-carousel__track { position: absolute; inset: 0; }
.home-carousel__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.55s ease, visibility 0.55s ease;
}
.home-carousel__slide.is-active { opacity: 1; visibility: visible; }
.home-carousel__slide > a { position: absolute; inset: 0; display: block; }
.home-carousel__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-carousel__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 12, 16, 0.05) 30%, rgba(10, 12, 16, 0.78) 100%);
}
.home-carousel__caption {
    position: absolute;
    left: clamp(1rem, 3vw, 2rem);
    right: clamp(1rem, 3vw, 2rem);
    bottom: clamp(1.3rem, 2.4vw, 1.8rem);
    z-index: 2;
}
.home-carousel__title {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.6vw, 1.9rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.2rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}
.home-carousel__sub {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--fs-sm);
    margin: 0;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}
.home-carousel__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.55rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: var(--fs-xs);
    font-weight: 600;
    transition: background 0.15s ease;
}
.home-carousel__slide a:hover .home-carousel__cta { background: rgba(255, 255, 255, 0.28); }

.home-carousel__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(14, 16, 20, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.18s ease, background 0.15s ease;
}
.home-carousel:hover .home-carousel__arrow,
.home-carousel:focus-within .home-carousel__arrow { opacity: 1; }
.home-carousel__arrow:hover { background: rgba(14, 16, 20, 0.85); }
.home-carousel__arrow--prev { left: 0.75rem; }
.home-carousel__arrow--next { right: 0.75rem; }

.home-carousel__dots {
    position: absolute;
    left: 50%;
    bottom: 0.65rem;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 6px;
}
.home-carousel__dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}
.home-carousel__dot.is-active {
    width: 20px;
    background: #fff;
}

@media (max-width: 52rem) {
    .home-carousel__arrow { opacity: 1; width: 2.1rem; height: 2.1rem; }
    .home-carousel__viewport { height: clamp(160px, 42vw, 240px); }
    .home-carousel__cta { display: none; }
}



.news-feature {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-3);
    margin-bottom: var(--sp-4);
}

.news-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    display: block;
    color: var(--text);
}
.news-card:hover { color: var(--text); }
.news-card__img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}
.news-card:hover .news-card__img { transform: scale(1.05); }
.news-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: var(--sp-3);
}
.news-card__title {
    font-family: var(--font-display);
    font-size: var(--fs-sm);
    line-height: 1.3;
    margin: 0;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

.news-list { display: flex; flex-direction: column; gap: var(--sp-2); }

.news-row {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-2);
    border-radius: var(--radius);
    background: var(--bg-raised);
    box-shadow: inset 0 0 0 1px var(--border);
    color: var(--text);
    text-decoration: none;
    transition: background 0.15s ease;
    min-width: 0;
}
.news-row:hover { background: var(--tint); color: var(--text); }
.news-row__img {
    width: 72px; height: 48px;
    border-radius: 6px;
    object-fit: cover;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}
.news-row__img--ph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(124, 92, 255, 0.4) 0%, rgba(90, 209, 255, 0.28) 100%);
    overflow: hidden;
}
.news-row__img--ph img {
    width: auto;
    height: 68%;
    object-fit: contain;
    opacity: 0.9;
}
.news-row__title {
    font-size: var(--fs-sm);
    line-height: 1.35;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.news-row__meta {
    display: block;
    font-size: var(--fs-xs);
    color: var(--text-muted);
    margin-top: 2px;
}
.news-row__meta span + span::before {
    content: "\00b7";
    margin-inline: 0.35em;
}



.side-box {
    border-radius: var(--radius);
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    box-shadow: inset 0 0 0 1px var(--border);
    overflow: hidden;
}
.side-box__header {
    font-family: var(--font-display);
    font-size: var(--fs-sm);
    letter-spacing: 0.04em;
    color: var(--text);
    padding: var(--sp-3) var(--sp-4);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--sp-2);
    margin: 0;
}
.side-box__header svg { color: var(--accent); }
.side-box__body { padding: var(--sp-4); }

.side-box__sub {
    flex-basis: 100%;
    display: block;
    margin-top: 3px;
    font-size: var(--fs-xs);
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: var(--text-muted);
}

.register-cta {
    text-align: center;
    padding: var(--sp-5) var(--sp-4);
}
.register-cta__title {
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    color: var(--text);
    margin: 0 0 var(--sp-2);
}
.register-cta__text {
    color: var(--text-muted);
    font-size: var(--fs-sm);
    margin: 0 0 var(--sp-4);
}
.register-cta__login {
    color: var(--text-muted);
    font-size: var(--fs-sm);
    margin: var(--sp-3) 0 0;
}



.song-list { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }

.song-item {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-2) var(--sp-4);
    border-bottom: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    transition: background 0.15s ease;
    min-width: 0;
}
.song-item:last-child { border-bottom: none; }
.song-item:hover { background: var(--tint); color: var(--text); }

.song-item__art {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-raised);
    color: var(--text-faint);
}
.song-item__art img { width: 100%; height: 100%; object-fit: cover; }

.song-item__meta { min-width: 0; flex: 1; }
.song-item__title {
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}
.song-item__artist {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}
.song-item__time {
    font-size: var(--fs-xs);
    color: var(--text-faint);
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

.song-item__rank {
    width: 1.75rem;
    flex-shrink: 0;
    text-align: center;
    font-family: var(--font-display);
    font-size: var(--fs-sm);
    color: var(--text-faint);
}

.song-item__count {
    flex-shrink: 0;
    font-size: var(--fs-xs);
    color: var(--text-muted);
    white-space: nowrap;
}

a.song-item__title { text-decoration: none; }
a.song-item__title:hover { color: var(--accent); text-decoration: underline; }

.song-page { display: flex; flex-direction: column; gap: var(--sp-5); }

.song-page__hero {
    display: flex;
    align-items: center;
    gap: var(--sp-5);
    padding: var(--sp-5);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg, 14px);
    background:
        linear-gradient(135deg, rgba(124, 92, 255, 0.14), rgba(90, 209, 255, 0.06) 55%, transparent),
        var(--bg-raised);
}
.song-page__art {
    width: 180px;
    height: 180px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg);
    border: 1px solid var(--border);
}
.song-page__art img { width: 100%; height: 100%; object-fit: cover; }
.song-page__head { min-width: 0; }
.song-page__title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 4vw, 2rem);
    line-height: 1.15;
    margin: 0 0 var(--sp-2);
}
.song-page__artist {
    margin: 0 0 var(--sp-4);
    color: var(--text-muted);
    font-size: var(--fs-md);
}
.song-page__actions { display: flex; align-items: center; gap: var(--sp-3); }
.song-page__like-label { font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }

.song-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--sp-3);
    margin: 0;
}
.song-stats__card {
    padding: var(--sp-4);
    border: 1px solid var(--border);
    border-radius: var(--radius-md, 10px);
    background: var(--bg-raised);
}
.song-stats__card dt {
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-faint);
    margin-bottom: var(--sp-2);
}
.song-stats__card dd {
    margin: 0;
    font-size: var(--fs-md);
    font-weight: 600;
    color: var(--text);
    overflow-wrap: anywhere;
}
.song-stats__na { color: var(--text-faint); font-weight: 400; }

.song-panel {
    padding: var(--sp-5);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg, 14px);
    background: var(--bg-raised);
}
.song-panel__title {
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    margin: 0 0 var(--sp-3);
}
.song-panel__note { margin: 0; color: var(--text-muted); font-size: var(--fs-sm); }
.song-lyrics__text {
    white-space: pre-wrap;
    color: var(--text);
    line-height: 1.7;
    font-size: var(--fs-sm);
}

.song-history { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.song-history__row {
    padding: var(--sp-2) 0;
    border-bottom: 1px solid var(--border);
    font-size: var(--fs-sm);
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}
.song-history__row:last-child { border-bottom: none; }

@media (max-width: 640px) {
    .song-page__hero { flex-direction: column; align-items: flex-start; }
    .song-page__art { width: 140px; height: 140px; }
}

.lb-section {
    margin-bottom: var(--sp-6);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg, 14px);
    background: var(--bg-raised);
    overflow: hidden;
}
.lb-section__title {
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    margin: 0;
    padding: var(--sp-4) var(--sp-5);
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}
.lb-section .empty-state { padding: var(--sp-6) var(--sp-5); }
.presenter-list { list-style: none; margin: 0; padding: 0; }
.song-item__art--presenter { color: var(--accent); }

.welcome-modal {
    position: fixed;
    inset: 0;
    z-index: 220;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--sp-5);
}
.welcome-modal[hidden] { display: none; }
.welcome-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 9, 16, 0.72);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.25s ease;
}
.welcome-modal.is-open .welcome-modal__backdrop { opacity: 1; }
.welcome-modal__card {
    position: relative;
    width: min(460px, 100%);
    padding: calc(var(--sp-6) + 6px) var(--sp-5) var(--sp-5);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg, 16px);
    background:
        linear-gradient(160deg, rgba(124, 92, 255, 0.16), rgba(90, 209, 255, 0.07) 55%, transparent),
        var(--bg-raised);
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(14px) scale(0.97);
    transition: opacity 0.25s ease, transform 0.25s ease;
    overflow: hidden;
}
.welcome-modal.is-open .welcome-modal__card { opacity: 1; transform: none; }
.welcome-modal__confetti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.confetti-bit {
    position: absolute;
    border-radius: 2px;
    opacity: 0;
    animation: confetti-fall linear forwards;
}
@keyframes confetti-fall {
    0% { opacity: 1; transform: translateY(0) rotate(0deg); }
    100% { opacity: 0; transform: translateY(460px) rotate(680deg); }
}
.welcome-modal__logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    margin-bottom: var(--sp-3);
    filter: drop-shadow(0 6px 18px rgba(124, 92, 255, 0.45));
}
.welcome-modal__title {
    font-family: var(--font-display);
    font-size: var(--fs-xl, 1.35rem);
    margin: 0 0 var(--sp-3);
    position: relative;
}
.welcome-modal__text {
    margin: 0 0 var(--sp-4);
    color: var(--text-muted);
    font-size: var(--fs-sm);
    line-height: 1.6;
    position: relative;
}
.welcome-modal__actions { position: relative; flex-wrap: wrap; }
.welcome-modal__close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--text-muted);
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}
.welcome-modal__close:hover { background: var(--tint); color: var(--text); }
@media (prefers-reduced-motion: reduce) {
    .welcome-modal__backdrop, .welcome-modal__card { transition: none; }
    .confetti-bit { animation: none !important; display: none; }
}

.song-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg-raised);
    color: var(--text-muted);
    cursor: pointer;
    flex-shrink: 0;
    transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}
.song-action:hover {
    color: var(--text);
    border-color: var(--accent);
    background: var(--accent-tint);
}
.song-action:disabled { opacity: 0.5; cursor: default; }
.song-action--sm { width: 28px; height: 28px; }

.song-action[aria-pressed="true"][data-song-like] {
    color: #f43f5e;
    border-color: rgba(244, 63, 94, 0.45);
    background: rgba(244, 63, 94, 0.1);
}
.song-action[aria-pressed="true"][data-song-like] svg { fill: currentColor; }

.song-action[aria-pressed="true"][data-song-save] {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-tint);
}
.song-action[aria-pressed="true"][data-song-save] svg { fill: currentColor; }

.np-actions {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    flex-wrap: nowrap;
    flex-shrink: 0;
}
.np-actions__count {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    white-space: nowrap;
}

.np-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg-raised);
    color: var(--text-muted);
    font-size: var(--fs-xs);
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.np-link:hover {
    color: var(--text);
    border-color: var(--accent);
    background: var(--accent-tint);
}
.np-link[hidden] { display: none; }
.np-link__icon { flex-shrink: 0; opacity: 0.9; }

.rb-song__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sp-2);
    margin-top: var(--sp-2);
}
.rb-song__nav .btn {
    padding: 0.3rem 0.7rem;
}
.rb-song__nav .btn svg { flex-shrink: 0; opacity: 0.9; }

.song-item__remove-form {
    display: flex;
    align-items: center;
    margin-left: auto;
    flex-shrink: 0;
}

.track-player {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
}

.track-player__meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.track-player__title {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-player__row {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
}

.track-player__time {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

.track-player__bar {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    border-radius: 999px;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    cursor: pointer;
    outline: none;
}
.track-player__bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    border: none;
    cursor: pointer;
}
.track-player__bar::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    border: none;
    cursor: pointer;
}

.track-player__row--vol svg {
    color: var(--text-muted);
    flex-shrink: 0;
}

.track-player__row--vol .track-player__bar {
    max-width: 132px;
}

.track-player__embed {
    display: block;
    width: 100%;
    border: 0;
    border-radius: var(--radius);
    margin-top: var(--sp-2);
}



.schedule-item {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-3) var(--sp-4);
    border-bottom: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    transition: background 0.15s ease;
}
.schedule-item:last-child { border-bottom: none; }
.schedule-item:hover { background: var(--tint); color: var(--text); }

.schedule-item__cover {
    width: 52px; height: 52px;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-raised);
    flex-shrink: 0;
}
.schedule-item__meta { min-width: 0; }
.schedule-item__when {
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: 2px;
}
.schedule-item__name {
    font-size: var(--fs-sm);
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}



.discord-cta {
    text-align: center;
    padding: var(--sp-5) var(--sp-4);
    position: relative;
}
.discord-cta__badges {
    display: flex;
    justify-content: center;
    gap: var(--sp-2);
    margin-bottom: var(--sp-3);
}
.discord-cta__badge {
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(88, 101, 242, 0.2);
    color: #8b95ff;
}
.discord-cta__badge--online { background: rgba(61, 220, 151, 0.15); color: var(--ok); }
.discord-cta__logo {
    font-family: var(--font-display);
    font-size: var(--fs-md);
    font-weight: 600;
    color: var(--text);
    margin: 0 0 var(--sp-2);
}



.site-footer {
    background: linear-gradient(to bottom, var(--bg-inset), #060709);
    box-shadow: inset 0 1px 0 var(--border);
    margin-top: auto;
}

.footer-top {
    padding-block: var(--sp-6);
    border-bottom: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: var(--sp-5);
}

.footer-col__title {
    font-family: var(--font-display);
    font-size: var(--fs-sm);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin: 0 0 var(--sp-3);
    display: flex;
    align-items: center;
    gap: var(--sp-2);
}
.footer-col__title svg { color: var(--accent); }

.footer-songs { display: flex; flex-direction: column; gap: var(--sp-2); }

.footer-supporters {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.footer-supporters__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-3);
    padding: 0.3rem 0.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
}
.footer-supporters__row--top {
    background: linear-gradient(90deg, rgba(124, 92, 255, 0.22), rgba(90, 209, 255, 0.1));
    box-shadow: inset 0 0 0 1px rgba(124, 92, 255, 0.3);
}
.footer-supporters__name {
    color: var(--text);
    font-size: var(--fs-sm);
    font-weight: 600;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.footer-supporters__name:hover { color: var(--accent); text-decoration: underline; }
.footer-supporters__amt {
    color: var(--accent);
    font-size: var(--fs-sm);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}
.footer-supporters__cta {
    display: inline-block;
    margin-top: var(--sp-3);
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--text-faint);
    text-decoration: none;
}
.footer-supporters__cta:hover { color: var(--accent); }
.footer-song {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    color: var(--text);
    text-decoration: none;
    padding: var(--sp-1);
    border-radius: 6px;
    transition: background 0.15s ease;
    min-width: 0;
}
.footer-song:hover { background: rgba(255, 255, 255, 0.04); color: var(--text); }
.footer-song__art {
    width: 40px; height: 40px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-raised);
}
.footer-song__art img { width: 100%; height: 100%; object-fit: cover; }
.footer-song__meta { min-width: 0; }
.footer-song__artist { font-size: var(--fs-sm); font-weight: 500; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.footer-song__title { font-size: var(--fs-xs); color: var(--text-muted); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.footer-online {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
}
.footer-online__avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-raised);
    box-shadow: inset 0 0 0 1.5px var(--border-strong);
    position: relative;
}
.footer-online__avatar img { width: 100%; height: 100%; object-fit: cover; }
.footer-online__avatar::after {
    content: "";
    position: absolute;
    bottom: 2px; right: 2px;
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--ok);
    box-shadow: 0 0 0 2px var(--bg-inset);
}

.footer-supporter {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    color: var(--text);
    text-decoration: none;
    padding: var(--sp-2);
    border-radius: 6px;
    transition: background 0.15s ease;
    min-width: 0;
}
.footer-supporter:hover { background: rgba(255, 255, 255, 0.04); color: var(--text); }
.footer-supporter__avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px var(--accent);
}
.footer-supporter__avatar img { width: 100%; height: 100%; object-fit: cover; }
.footer-supporter__name {
    font-family: var(--font-display);
    font-size: var(--fs-md);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.footer-bottom {
    padding-block: var(--sp-4);
}
.footer-bottom__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: var(--sp-4);
}
.footer-bottom__copy {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
    color: var(--text-faint);
    font-size: var(--fs-sm);
    margin: 0;
    justify-self: start;
}
.footer-bottom__flag {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.footer-bottom__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--sp-4);
    font-size: var(--fs-sm);
}
.footer-bottom__links a { color: var(--text-muted); }
.footer-bottom__links a:hover { color: var(--text); }

.footer-socials {
    display: flex;
    gap: var(--sp-3);
    justify-self: end;
}
.footer-socials a {
    color: var(--text-muted);
    display: inline-flex;
    transition: color 0.15s ease;
}
.footer-socials a:hover { color: var(--accent); }

.cookie-bar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 150;
    background: rgba(14, 16, 20, 0.85);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text);
    text-align: center;
    padding: var(--sp-3) var(--sp-4);
    font-size: var(--fs-sm);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.4);
    display: none;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--sp-3);
}
.cookie-bar a { color: var(--text); text-decoration: underline; }



.listeners-big {
    font-family: var(--font-display);
    font-size: var(--fs-2xl);
    color: var(--text);
    margin: 0 0 var(--sp-1);
    line-height: 1.1;
}
.footer-note {
    color: var(--text-muted);
    font-size: var(--fs-sm);
    margin: 0;
}

.listeners-live { margin-top: var(--sp-3); }
.listeners-live__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: var(--sp-2);
}
.listeners-live__item {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: visible;
    box-shadow: 0 0 0 2px var(--bg-inset), 0 0 0 3px var(--border-strong);
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.listeners-live__item:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 0 2px var(--bg-inset), 0 0 0 3px var(--accent);
}
.listeners-live__item img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}
.listeners-live__ph {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--tint);
    color: var(--text);
    font-family: var(--font-display);
    font-size: var(--fs-sm);
    font-weight: 700;
}
.listeners-live__item.is-listening {
    box-shadow: 0 0 0 2px var(--bg-inset), 0 0 0 3px var(--live);
}
.listeners-live__dot {
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--live);
    box-shadow: 0 0 6px rgba(255, 77, 109, 0.7);
    animation: pulse 1.4s ease-in-out infinite;
}
.listeners-live__anon {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--tint);
    color: var(--text-muted);
    font-size: var(--fs-sm);
    font-weight: 600;
    box-shadow: 0 0 0 2px var(--bg-inset), 0 0 0 3px var(--border-strong);
}
.listeners-live__anon svg {
    flex: none;
}

.member-card {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    width: 232px;
    max-width: min(232px, 74vw);
    display: block;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-raised);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
    text-align: left;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(6px);
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
    z-index: 70;
}
.member-card::after {
    content: '';
    position: absolute;
    left: calc(50% - 6px);
    bottom: -6px;
    width: 11px;
    height: 11px;
    background: var(--bg-raised);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transform: rotate(45deg);
}
.listeners-live__item:hover .member-card,
.listeners-live__item:focus .member-card,
.listeners-live__item:focus-visible .member-card {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.member-card__banner {
    display: block;
    height: 64px;
    border-radius: 11px 11px 0 0;
    background-size: cover;
    background-position: center;
}
.member-card__banner--ph {
    background:
        radial-gradient(120% 140% at 20% 0%, rgba(124, 92, 255, 0.55), transparent 60%),
        radial-gradient(120% 140% at 90% 10%, rgba(90, 209, 255, 0.4), transparent 55%),
        linear-gradient(135deg, #1a1d26, #0e1014);
}
.member-card__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 11px 11px;
}
.member-card__name {
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.member-card__handle {
    font-size: var(--fs-xs);
    color: var(--text-faint);
}
.member-card__bio {
    margin-top: 4px;
    font-size: var(--fs-xs);
    line-height: 1.45;
    color: var(--text-muted);
    white-space: pre-line;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cookie-bar[data-visible="true"] { display: flex; }
.cookie-bar__text { margin: 0; }

.error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: calc(100vh - var(--header-h));
    padding-block: var(--sp-7) var(--sp-6);
}
body.has-miniplayer .error-page {
    min-height: calc(100vh - var(--header-h) - var(--player-h));
}
@media (max-width: 52rem) {
    .error-page {
        align-items: flex-start;
        text-align: left;
        min-height: 0;
    }
    body.has-miniplayer .error-page { min-height: 0; }
}
.error-code {
    font-family: var(--font-display);
    font-size: clamp(4rem, 12vw, 7rem);
    line-height: 1;
    color: var(--accent);
    margin: 0 0 var(--sp-2);
}
.error-message {
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    font-weight: 600;
    color: var(--text);
    margin: 0 0 var(--sp-4);
}

.auth-page {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-block: var(--sp-7) var(--sp-6);
    min-height: calc(100vh - var(--header-h) - 14rem);
}

.auth-card {
    width: 100%;
    max-width: 26rem;
    background: var(--bg-glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: var(--radius-lg);
    box-shadow: inset 0 0 0 1px var(--border), var(--shadow);
    padding: var(--sp-6);
}

.auth-card__head {
    text-align: center;
    margin-bottom: var(--sp-5);
}

.auth-card__logo {
    height: 2rem;
    width: auto;
    margin: 0 auto var(--sp-4);
    opacity: 0.95;
}

.auth-card__title {
    font-size: var(--fs-xl);
    margin: 0 0 var(--sp-2);
}

.auth-card__sub {
    color: var(--text-muted);
    font-size: var(--fs-sm);
    margin: 0;
}

.auth-card__foot {
    text-align: center;
    color: var(--text-muted);
    font-size: var(--fs-sm);
    margin: var(--sp-5) 0 0;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
}

.oauth-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
    margin-bottom: var(--sp-2);
}

.btn--oauth {
    width: 100%;
    background: var(--bg-inset);
    color: var(--text);
    box-shadow: inset 0 0 0 1px var(--border-strong);
    font-weight: 500;
    gap: var(--sp-3);
    padding: 0.65rem 1.1rem;
}
.btn--oauth:hover {
    background: var(--tint);
    color: var(--text);
}
.btn--oauth svg {
    flex-shrink: 0;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    color: var(--text-faint);
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: var(--sp-1) 0;
}
.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
}

.form-label {
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--text);
}

.form-input {
    width: 100%;
    padding: 0.6rem 0.85rem;
    background: var(--bg-inset);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    color: var(--text);
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: 1.4;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-input::placeholder {
    color: var(--text-faint);
}

.form-input:hover {
    border-color: var(--border-strong);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-input--invalid {
    border-color: var(--danger);
}

.form-input--invalid:focus {
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.25);
}

.form-error {
    color: var(--danger);
    font-size: var(--fs-sm);
    margin: 0;
}

.alert {
    padding: var(--sp-3) var(--sp-4);
    border-radius: var(--radius);
    font-size: var(--fs-sm);
    margin-bottom: var(--sp-4);
    box-shadow: inset 0 0 0 1px var(--border);
}

.alert--success {
    background: rgba(61, 220, 151, 0.1);
    color: var(--ok);
    box-shadow: inset 0 0 0 1px rgba(61, 220, 151, 0.35);
}

.alert--error {
    background: rgba(255, 107, 107, 0.1);
    color: var(--danger);
    box-shadow: inset 0 0 0 1px rgba(255, 107, 107, 0.35);
}

.alert--info {
    background: rgba(79, 70, 229, 0.1);
    color: var(--accent-hover);
    box-shadow: inset 0 0 0 1px rgba(79, 70, 229, 0.35);
}

.account-page {
    padding-block: var(--sp-6) var(--sp-7);
}

.account-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: var(--sp-5);
    align-items: start;
}

.account-card {
    overflow: hidden;
}

.account-card__hero {
    text-align: center;
    padding: var(--sp-5) var(--sp-4) var(--sp-4);
    border-bottom: 1px solid var(--border);
}

.account-card__avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto var(--sp-3);
    box-shadow: 0 0 0 2px var(--accent), 0 4px 20px rgba(0, 0, 0, 0.45);
}

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

.account-card__name {
    font-size: var(--fs-lg);
    margin: 0 0 var(--sp-2);
}

.account-card__role {
    margin: 0;
}

.account-card__badge {
    display: inline-block;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(79, 70, 229, 0.15);
    color: var(--accent-hover);
}

.account-meta {
    margin: 0;
    padding: var(--sp-3) var(--sp-4);
}

.account-meta__row {
    display: flex;
    justify-content: space-between;
    gap: var(--sp-3);
    padding: var(--sp-2) 0;
    border-bottom: 1px solid var(--border);
    font-size: var(--fs-sm);
}

.account-meta__row:last-child {
    border-bottom: none;
}

.account-meta__row dt {
    color: var(--text-faint);
    margin: 0;
}

.account-meta__row dd {
    color: var(--text);
    margin: 0;
    text-align: right;
    word-break: break-all;
}

.account-card form {
    padding: var(--sp-3) var(--sp-4) var(--sp-4);
}

.account-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
}



@media (max-width: 64rem) {
    .content-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav-toggle { display: block; }
    .navbar__indicator { display: none; }
    .navbar__menu {
        display: none;
        position: fixed;
        top: var(--header-h);
        left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: var(--sp-3);
        background: var(--panel);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 20px 40px -20px rgba(16, 24, 40, 0.3);
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
    }
    .navbar__menu[data-open="true"] {
        display: flex;
        animation: mobile-menu-in 0.2s ease both;
    }
    .navbar__links {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .navbar__link { padding: 0.8rem 0.75rem; font-size: 0.9375rem; border-radius: var(--radius); }
    .nav-item--sub::before { display: none; }
    .nav-sub {
        display: none;
        position: static;
        min-width: 0;
        padding: 0 0 0 var(--sp-3);
        margin: 2px 0 var(--sp-2);
        background: transparent;
        border: none;
        border-left: 2px solid var(--border);
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        transition: none;
    }
    .nav-item--sub[data-sub-open="true"] .nav-sub { display: block; }
    .nav-item--sub[data-sub-open="true"] > .navbar__link::after { transform: translateY(1px) rotate(225deg); }
    .nav-item--sub > .navbar__link::after { transition: transform 0.15s ease; }
    .nav-sub__link { padding: 0.55rem 0.75rem; font-size: 0.875rem; }
    .nav-item--sub:hover .nav-sub li,
    .nav-item--sub:focus-within .nav-sub li { animation: none; }
    .navbar__auth { flex-direction: column; align-items: stretch; width: 100%; margin-top: var(--sp-3); margin-left: 0; padding-top: var(--sp-3); border-top: 1px solid var(--border); gap: var(--sp-2); }
    .navbar__auth .btn { width: 100%; }
    .navbar__auth .btn--primary { padding: 0.65rem 0.95rem; font-size: var(--fs-sm); }
}

@media (max-width: 52rem) {
    .account-grid { grid-template-columns: 1fr; }

    .radiobanner__stats { flex-direction: column; align-items: flex-start; gap: var(--sp-4); }
    .rb-dj { align-self: flex-start; }
    .timetable-mini { grid-template-columns: 1fr; }
    .news-feature { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .player-volume { display: none; }
}

@keyframes mobile-menu-in {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
}

@media (max-width: 30rem) {
    .rb-song__art { width: 64px; height: 64px; }
}



.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--bg-inset);
}

.avatar--sm { width: 28px; height: 28px; font-size: var(--fs-xs); }
.avatar--xs { width: 22px; height: 22px; font-size: 0.625rem; }
.avatar--lg { width: 88px; height: 88px; font-size: var(--fs-xl); }
.avatar--nav { width: 26px; height: 26px; }

.avatar--placeholder {
    background: var(--accent-glow);
    color: var(--accent);
    font-weight: 600;
    font-family: var(--font-display);
}

.status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--bg);
    background: var(--text-faint);
}

.status-dot--online { background: var(--ok); }
.status-dot--xs { width: 8px; height: 8px; border-width: 1.5px; }



.user-menu {
    position: relative;
}

.user-menu__trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--tint);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.2rem 0.55rem 0.2rem 0.25rem;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
    line-height: 1;
}

.user-menu__trigger:hover,
.user-menu__trigger[aria-expanded="true"] {
    border-color: var(--border-strong);
    background: var(--tint-strong);
}

.user-menu__trigger svg {
    color: var(--text-faint);
    margin-left: auto;
    transition: transform 0.18s ease;
}
.user-menu__trigger[aria-expanded="true"] svg { transform: rotate(180deg); }

.user-menu__name {
    max-width: 8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-menu__dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 14rem;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 32px -12px rgba(16, 24, 40, 0.25);
    z-index: 120;
    overflow: hidden;
    transform-origin: top right;
}
.user-menu__dropdown:not([hidden]) { animation: dropdown-in 0.16s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes dropdown-in {
    from { opacity: 0; transform: translateY(-5px) scale(0.985); }
    to { opacity: 1; transform: none; }
}

.user-menu__header {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-3) var(--sp-4);
    border-bottom: 1px solid var(--border);
}

.user-menu__display {
    margin: 0;
    font-weight: 600;
    font-size: var(--fs-sm);
}

.user-menu__handle {
    margin: 0;
    font-size: var(--fs-xs);
    color: var(--text-faint);
}

.user-menu__links {
    padding: var(--sp-1) 0;
}

.user-menu__links a {
    display: block;
    padding: var(--sp-2) var(--sp-4);
    color: var(--text);
    font-size: var(--fs-sm);
    transition: background 0.12s ease, color 0.12s ease;
}

.user-menu__links a:hover {
    background: var(--tint);
    color: var(--accent);
}

.user-menu__logout {
    border-top: 1px solid var(--border);
    padding: 0;
}

.user-menu__logout button {
    display: block;
    width: 100%;
    text-align: left;
    padding: var(--sp-2) var(--sp-4);
    background: none;
    border: none;
    color: var(--danger);
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    cursor: pointer;
    transition: background 0.12s ease;
}

.user-menu__logout button:hover {
    background: rgba(255, 107, 107, 0.08);
}

@media (max-width: 64rem) {
    .user-menu, .user-menu__dropdown { width: 100%; }
    .user-menu__trigger {
        width: 100%;
        justify-content: flex-start;
        padding: 0.55rem 0.75rem;
        border-radius: var(--radius);
    }
    .user-menu__dropdown {
        position: static;
        min-width: 0;
        margin-top: var(--sp-2);
        box-shadow: none;
    }
}



.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25em;
    padding: 0.15em 0.6em;
    border-radius: 999px;
    font-size: var(--fs-xs);
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
}

.badge--role {
    background: rgba(79, 70, 229, 0.15);
    color: var(--accent);
}

.badge--ok { background: rgba(61, 220, 151, 0.12); color: var(--ok); }
.badge--warn { background: rgba(255, 200, 87, 0.12); color: var(--warn); }
.badge--danger { background: rgba(255, 107, 107, 0.12); color: var(--danger); }

.badge--icon {
    background: color-mix(in srgb, var(--badge-color, var(--accent)) 15%, transparent);
    color: var(--badge-color, var(--accent));
}

.badge-row {
    display: inline-flex;
    gap: 0.25rem;
    margin-left: var(--sp-2);
    vertical-align: middle;
}

.colour-swatch {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 4px;
    vertical-align: middle;
}



.form-field {
    display: flex;
    flex-direction: column;
    gap: var(--sp-1);
}

.form-field__label {
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--text-muted);
}

.form-field__error {
    font-size: var(--fs-xs);
    color: var(--danger);
}

.form-hint {
    font-size: var(--fs-xs);
    color: var(--text-faint);
    margin: 0;
}

.input {
    width: 100%;
    padding: 0.55rem 0.85rem;
    background: var(--bg-inset);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    color: var(--text);
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    line-height: 1.4;
    transition: border-color 0.15s ease;
}

.input:focus {
    outline: none;
    border-color: var(--accent);
}

.input--error {
    border-color: var(--danger);
}

.input--error:focus {
    border-color: var(--danger);
}

.input--color {
    padding: 0.25rem;
    height: 2.5rem;
    cursor: pointer;
}

.input--file {
    padding: 0.4rem;
    cursor: pointer;
}

img.file-preview {
    display: block;
    width: auto;
    max-width: 240px;
    max-height: 150px;
    object-fit: cover;
    margin-top: var(--sp-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-raised);
}
[data-live-preview-wrap] { display: block; }
#avatar-preview-wrap img.file-preview,
#avatar-preview-wrap [data-live-preview] {
    width: 88px;
    height: 88px;
    border-radius: 50%;
}
.banner-preview img[data-live-preview],
.banner-preview img.file-preview {
    width: 100%;
    max-width: none;
    max-height: 180px;
    margin-top: 0;
    border-radius: 10px;
}

select.input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239aa0a8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.65rem center;
    padding-right: 2rem;
    cursor: pointer;
}
select.input:hover { border-color: var(--accent); }
select.input option {
    background: var(--panel);
    color: var(--text);
}
select.input optgroup {
    font-style: normal;
    font-weight: 600;
    color: var(--text-muted);
}

.editor {
    width: 100%;
    background: var(--bg-inset);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.15s ease;
}

.editor:focus-within {
    border-color: var(--accent);
}

.editor__toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-1);
    padding: var(--sp-1);
    border-bottom: 1px solid var(--border);
}

.editor__toolbar[hidden],
.editor__area[hidden] {
    display: none;
}

.editor__btn {
    padding: 0.25rem 0.6rem;
    background: transparent;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    line-height: 1.4;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.editor__btn:hover,
.editor__btn:focus-visible {
    border-color: var(--accent);
    color: var(--text);
}

.editor__area {
    display: block;
    width: 100%;
    min-height: 15rem;
    padding: 0.75rem 0.85rem;
    background: transparent;
    color: var(--text);
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    line-height: 1.7;
    outline: none;
    overflow-y: auto;
}

.editor__area:empty::before {
    content: "Write the article body...";
    color: var(--text-faint);
    pointer-events: none;
}

.editor__area p,
.editor__area div {
    margin: 0 0 var(--sp-3);
    font-size: var(--fs-sm);
    color: var(--text);
    line-height: 1.7;
}

.editor__area h2 {
    margin: var(--sp-4) 0 var(--sp-2);
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    font-weight: 600;
}

.editor__area h3 {
    margin: var(--sp-4) 0 var(--sp-2);
    font-family: var(--font-display);
    font-size: var(--fs-md);
    font-weight: 600;
}

.editor__area ul,
.editor__area ol {
    margin: 0 0 var(--sp-3);
    padding-left: 1.5rem;
    line-height: 1.7;
}

.editor__area img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: var(--sp-2) 0;
    border-radius: var(--radius);
}

.editor__error {
    margin: 0;
    padding: var(--sp-1) 0.85rem var(--sp-2);
    font-size: var(--fs-xs);
    color: var(--danger);
}

.stacked-form {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
}

.stacked-form > .btn,
.badge-create-form > .btn {
    align-self: flex-end;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: var(--sp-2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4);
}

.form-row .form-field--narrow {
    max-width: 8rem;
}

.badge-create-form {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
}

.btn-row {
    display: flex;
    gap: var(--sp-2);
    margin-top: var(--sp-2);
}

.btn--xs {
    padding: 0.2rem 0.6rem;
    font-size: var(--fs-xs);
}

.btn--danger {
    background: rgba(255, 107, 107, 0.12);
    color: var(--danger);
    box-shadow: inset 0 0 0 1px rgba(255, 107, 107, 0.25);
}

.btn--danger:hover {
    background: rgba(255, 107, 107, 0.2);
    color: var(--danger);
}

.alert--warn {
    background: rgba(255, 200, 87, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 200, 87, 0.25);
    color: var(--warn);
}

.alert-inline-form {
    display: inline-block;
    margin-left: var(--sp-2);
    vertical-align: middle;
}

.carousel-form {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
}

.carousel-admin-list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
}
.carousel-admin-item {
    display: grid;
    grid-template-columns: 140px 1fr auto;
    gap: var(--sp-4);
    align-items: start;
    padding: var(--sp-4);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-inset);
}
.carousel-admin-item__thumb {
    width: 140px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--panel);
}
.carousel-admin-item__form {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    min-width: 0;
}
.carousel-admin-item__actions {
    display: flex;
    gap: var(--sp-2);
}
@media (max-width: 56rem) {
    .carousel-admin-item {
        grid-template-columns: 1fr;
    }
    .carousel-admin-item__thumb {
        width: 100%;
        height: 120px;
    }
}



.panel-page {
    padding: var(--sp-5) 0;
}

.panel-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: var(--sp-5);
    align-items: start;
}

.panel-nav {
    position: sticky;
    top: calc(var(--header-h) + var(--sp-4));
}

.panel-nav__title {
    font-family: var(--font-display);
    font-size: var(--fs-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-faint);
    margin: 0 0 var(--sp-3);
}

.panel-nav ul {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.panel-nav__link {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-2) var(--sp-3);
    border-radius: var(--radius);
    color: var(--text-muted);
    font-size: var(--fs-sm);
    transition: background 0.12s ease, color 0.12s ease;
}

.panel-nav__icon {
    flex-shrink: 0;
    opacity: 0.7;
}

.panel-nav__link:hover {
    background: var(--tint);
    color: var(--text);
}

.panel-nav__link:hover .panel-nav__icon {
    opacity: 1;
}

.panel-nav__link--active {
    background: rgba(79, 70, 229, 0.12);
    color: var(--accent);
    font-weight: 500;
}

.panel-nav__link--active .panel-nav__icon {
    opacity: 1;
}

.panel-content {
    min-width: 0;
}

.panel-content__title {
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    margin-bottom: var(--sp-2);
}

.panel-content__sub {
    margin: 0 0 var(--sp-5);
    color: var(--text-muted);
    font-size: var(--fs-sm);
}

.settings-group + .settings-group {
    margin-top: var(--sp-5);
    padding-top: var(--sp-5);
    border-top: 1px solid var(--border);
}

.settings-group__title {
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-faint);
    margin: 0 0 var(--sp-3);
}

.panel-content__back {
    margin-bottom: var(--sp-2);
    font-size: var(--fs-sm);
}

.panel-search {
    display: flex;
    gap: var(--sp-2);
    margin-bottom: var(--sp-4);
    max-width: 28rem;
}

.panel-search .input { flex: 1; }



.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-3);
    margin-bottom: var(--sp-5);
}

.stat-card {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--sp-4);
}

.stat-card__icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--accent);
    margin-bottom: var(--sp-3);
}

.stat-card__value {
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    font-weight: 600;
    color: var(--text);
    font-variant-numeric: tabular-nums;
    margin: 0 0 2px;
}

.stat-card__label {
    font-size: var(--fs-xs);
    color: var(--text-faint);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

@media (max-width: 70rem) {
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
}



.table-wrap {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--fs-sm);
}

.data-table th {
    text-align: left;
    padding: var(--sp-2) var(--sp-3);
    border-bottom: 1px solid var(--border-strong);
    color: var(--text-faint);
    font-weight: 500;
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.data-table td {
    padding: var(--sp-3);
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table .truncated {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.data-table--kv {
    max-width: 640px;
}

.data-table--kv td:first-child {
    width: 200px;
    text-transform: uppercase;
    font-size: var(--fs-xs);
    letter-spacing: 0.06em;
    color: var(--text-faint);
    white-space: nowrap;
}

.data-table .btn {
    margin-left: var(--sp-2);
}

.panel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
    margin-top: var(--sp-4);
}

.user-cell {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    color: var(--text);
    font-weight: 500;
}

.user-cell:hover { color: var(--accent); }

.pagination {
    display: flex;
    gap: var(--sp-1);
    margin-top: var(--sp-4);
    flex-wrap: wrap;
}

.pagination__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0 var(--sp-2);
    border-radius: var(--radius);
    background: var(--bg-raised);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: var(--fs-sm);
}

.pagination__link:hover { color: var(--text); border-color: var(--border-strong); }

.pagination__link--active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--accent-ink);
    font-weight: 600;
}



.user-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--sp-4);
    align-items: start;
}

.side-box--danger {
    border-color: rgba(255, 107, 107, 0.25);
}

.side-box--danger .side-box__header {
    color: var(--danger);
}

.badge-manage-list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
}

.badge-manage-row {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
}

.badge-manage-row .btn { margin-left: auto; }



.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--sp-3);
}

.staff-card {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-3);
    background: var(--bg-inset);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.15s ease;
}

.staff-card:hover { border-color: var(--border-strong); }

.staff-card--link { color: var(--text); }
.staff-card--link:hover { color: var(--text); border-color: var(--accent); }

.staff-card--senior {
    border-color: rgba(79, 70, 229, 0.3);
    background: rgba(79, 70, 229, 0.05);
}

.staff-card__avatar {
    position: relative;
    flex-shrink: 0;
}

.staff-card__info { flex: 1; min-width: 0; }

.staff-card__name {
    margin: 0;
    font-weight: 600;
    font-size: var(--fs-sm);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.staff-card__rank {
    margin: 0;
    font-size: var(--fs-xs);
    color: var(--text-faint);
}

.staff-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-1);
    margin-top: var(--sp-1);
}

.staff-card__remove { flex-shrink: 0; }



.cpage {
    padding-bottom: var(--sp-7);
}

.cpage__hero {
    position: relative;
    padding: calc(var(--header-h) + var(--sp-7)) 0 var(--sp-6);
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.site-main .cpage__hero { padding-top: var(--sp-7); }

.cpage__hero-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(79, 70, 229, 0.14) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 80% 20%, rgba(90, 209, 255, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.cpage__hero-inner {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--sp-6);
    flex-wrap: wrap;
}

.cpage__eyebrow {
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin: 0 0 var(--sp-2);
}

.cpage__title {
    font-family: var(--font-display);
    font-size: var(--fs-2xl);
    font-weight: 700;
    margin: 0 0 var(--sp-2);
    letter-spacing: -0.02em;
}

.cpage__desc {
    color: var(--text-muted);
    max-width: 32rem;
    margin: 0;
    font-size: var(--fs-md);
    line-height: 1.6;
}

.cpage__hero-stats {
    display: flex;
    align-items: center;
    gap: var(--sp-5);
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--sp-4) var(--sp-5);
    flex-shrink: 0;
}

.cpage-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.cpage-stat__value {
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--text);
    line-height: 1;
}

.cpage-stat__value--live { color: var(--ok); }

.cpage-stat__label {
    font-size: 0.65rem;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.cpage-stat__divider {
    width: 1px;
    height: 2rem;
    background: var(--border-strong);
}



.cpage__body {
    padding-top: var(--sp-6);
}

.cpage-section {
    margin-bottom: var(--sp-6);
}

.cpage-section__head {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
    margin-bottom: var(--sp-4);
}

.cpage-section__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    background: rgba(79, 70, 229, 0.1);
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.cpage-section__icon--directorship { background: rgba(217, 119, 6, 0.1); color: #b45309; }
.cpage-section__icon--management { background: rgba(234, 88, 12, 0.1); color: #c2410c; }
.cpage-section__icon--development { background: rgba(79, 70, 229, 0.1); color: #4338ca; }
.cpage-section__icon--moderation { background: rgba(5, 150, 105, 0.1); color: #047857; }
.cpage-section__icon--administration { background: rgba(220, 38, 38, 0.1); color: #b91c1c; }
.cpage-section__icon--activity { background: rgba(3, 105, 161, 0.1); color: #0369a1; }

.cpage-section__heading {
    flex: 1;
    min-width: 0;
}

.cpage-section__title {
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    font-weight: 600;
    margin: 0;
    letter-spacing: -0.01em;
}

.cpage-section__sub {
    margin: 2px 0 0;
    font-size: var(--fs-sm);
    color: var(--text-faint);
    line-height: 1.4;
}

.cpage-section__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.75rem;
    height: 1.75rem;
    padding: 0 var(--sp-2);
    border-radius: 999px;
    background: var(--bg-inset);
    border: 1px solid var(--border);
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--text-faint);
    flex-shrink: 0;
    margin-top: 4px;
}



.cpage-members {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--sp-3);
}

.cpage-card {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
    padding: var(--sp-4);
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.cpage-card:hover {
    border-color: var(--border-strong);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.cpage-card--senior {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.07) 0%, rgba(79, 70, 229, 0.02) 100%);
    border-color: rgba(79, 70, 229, 0.25);
}

.cpage-card--senior:hover {
    border-color: rgba(79, 70, 229, 0.4);
}

.cpage-card__avatar {
    position: relative;
    flex-shrink: 0;
}

.cpage-card__avatar img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.cpage-avatar-ph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.2) 0%, rgba(79, 70, 229, 0.08) 100%);
    color: var(--accent);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--fs-md);
}

.cpage-avatar-ph--xs {
    width: 24px;
    height: 24px;
    font-size: 0.6rem;
}

.cpage-dot {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--ok);
    border: 2px solid var(--bg-raised);
    box-shadow: 0 0 6px rgba(61, 220, 151, 0.4);
}

.cpage-dot--xs {
    width: 8px;
    height: 8px;
    border-width: 1.5px;
    box-shadow: 0 0 4px rgba(61, 220, 151, 0.4);
}

.cpage-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cpage-card__top {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    flex-wrap: wrap;
}

.cpage-card__name {
    font-weight: 600;
    font-size: var(--fs-sm);
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cpage-card__senior-tag {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    background: rgba(79, 70, 229, 0.12);
    padding: 0.15em 0.5em;
    border-radius: 999px;
    flex-shrink: 0;
}

.cpage-card__rank {
    font-size: var(--fs-xs);
    color: var(--accent);
    font-weight: 500;
}

.cpage-card__handle {
    font-size: var(--fs-xs);
    color: var(--text-faint);
}

.cpage-card__bio {
    margin: var(--sp-1) 0 0;
    font-size: var(--fs-xs);
    color: var(--text-muted);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cpage-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-1);
    margin-top: var(--sp-1);
}

.cpage-card__activity {
    margin-top: var(--sp-1);
    font-size: var(--fs-xs);
    color: var(--ok);
}

.cpage-section__icon--members { background: rgba(79, 70, 229, 0.12); color: #4338ca; }

a.cpage-card--link {
    display: flex;
    color: inherit;
    text-decoration: none;
}
a.cpage-card--link:hover { border-color: rgba(79, 70, 229, 0.4); }

.cpage-dot--lg {
    width: 16px;
    height: 16px;
    border-width: 2.5px;
}

.mpage { padding-bottom: var(--sp-7); }

.mpage__banner {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.mpage__banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.mpage__banner-ph {
    width: 100%;
    height: 100%;
    background:
        radial-gradient(60% 120% at 20% 0%, rgba(79, 70, 229, 0.12) 0%, transparent 60%),
        radial-gradient(50% 100% at 80% 10%, rgba(16, 24, 40, 0.06) 0%, transparent 55%),
        linear-gradient(180deg, #e7e9ee 0%, #f5f6f8 100%);
}

.mpage__container { position: relative; }

.mpage__head {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-4);
    margin-top: 0;
}

.mpage__avatar { position: relative; flex-shrink: 0; margin-top: -56px; }
.mpage__avatar img,
.mpage-avatar-ph {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    border: 4px solid var(--bg);
    object-fit: cover;
    display: block;
}
.mpage-avatar-ph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.25) 0%, rgba(79, 70, 229, 0.08) 100%);
    color: var(--accent);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--fs-xl);
}
.mpage__avatar .cpage-dot--lg {
    position: absolute;
    bottom: 6px;
    right: 6px;
    border-color: var(--bg);
}

.mpage__id { flex: 1; min-width: 0; padding-top: var(--sp-4); padding-bottom: var(--sp-2); }
.mpage__name-row {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    flex-wrap: wrap;
}
.mpage__name {
    margin: 0;
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    font-weight: 600;
    letter-spacing: 0.01em;
}
.mpage__online {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: var(--fs-xs);
    font-weight: 500;
    color: var(--ok);
}
.mpage-online-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ok);
    box-shadow: 0 0 6px rgba(61, 220, 151, 0.5);
}
.mpage__handle {
    margin: 2px 0 0;
    color: var(--text-faint);
    font-size: var(--fs-sm);
}
.mpage__tagline {
    margin: var(--sp-2) 0 0;
    color: var(--text-muted);
    font-size: var(--fs-sm);
    max-width: 42rem;
}
.mpage__actions { padding-top: var(--sp-4); padding-bottom: var(--sp-3); flex-shrink: 0; }

.mpage__chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sp-2);
    margin-top: var(--sp-4);
}
.mpage-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
    padding: 0.25em 0.7em;
    border-radius: 999px;
    font-size: var(--fs-xs);
    font-weight: 500;
    background: var(--tint);
    color: var(--text-muted);
    border: 1px solid var(--border);
}
.mpage-chip--staff { background: rgba(79, 70, 229, 0.08); color: var(--accent-hover); border-color: rgba(79, 70, 229, 0.25); }
.mpage-chip--featured { background: rgba(217, 119, 6, 0.08); color: #b45309; border-color: rgba(217, 119, 6, 0.3); }
.mpage-chip--vip { background: rgba(219, 39, 119, 0.08); color: #be185d; border-color: rgba(219, 39, 119, 0.3); }
.mpage-chip--veteran { background: rgba(3, 105, 161, 0.08); color: #0369a1; border-color: rgba(3, 105, 161, 0.3); }

.mpage__grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--sp-5);
    margin-top: var(--sp-5);
    align-items: start;
}
.mpage__bio p {
    margin: 0 0 var(--sp-3);
    color: var(--text-muted);
    font-size: var(--fs-sm);
    line-height: 1.7;
}
.mpage__bio p:last-child { margin-bottom: 0; }
.mpage__bio-empty { color: var(--text-faint); }

@media (max-width: 64rem) {
    .mpage__grid { grid-template-columns: 1fr; }
}
@media (max-width: 40rem) {
    .mpage__banner { height: 150px; }
    .mpage__head { flex-wrap: wrap; }
    .mpage__avatar { margin-top: -44px; }
    .mpage__avatar img,
    .mpage-avatar-ph { width: 80px; height: 80px; font-size: var(--fs-lg); }
    .mpage__actions { width: 100%; padding-bottom: 0; }
}

.banner-preview {
    margin-bottom: var(--sp-4);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}
.banner-preview img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    display: block;
}
.banner-preview__ph {
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-inset);
    color: var(--text-faint);
    font-size: var(--fs-sm);
}



.cpage-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-6);
    background: var(--bg-inset);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    color: var(--text-faint);
}

.cpage-empty p {
    margin: 0;
    font-size: var(--fs-sm);
}



.cpage-activity {
    margin-top: var(--sp-6);
    padding-top: var(--sp-6);
    border-top: 1px solid var(--border);
}

.cpage-activity__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--sp-3);
}

.cpage-mod {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--sp-4);
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.cpage-mod__head {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    margin-bottom: var(--sp-3);
    padding-bottom: var(--sp-2);
    border-bottom: 1px solid var(--border);
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-faint);
}

.cpage-mod__head svg {
    color: var(--accent);
    flex-shrink: 0;
}

.cpage-mod__empty {
    margin: 0;
    font-size: var(--fs-sm);
    color: var(--text-faint);
    padding: var(--sp-3) 0;
}



.cpage-song {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
}

.cpage-song__art {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    object-fit: cover;
    flex-shrink: 0;
    background: var(--bg-inset);
}

.cpage-song__art--ph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-faint);
}

.cpage-song__info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.cpage-song__title {
    font-weight: 600;
    font-size: var(--fs-sm);
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cpage-song__artist {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cpage-song__meta {
    font-size: 0.65rem;
    color: var(--text-faint);
}



.cpage-online {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
}

.cpage-online li {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
}

.cpage-online__av {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
}

.cpage-online__av img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.cpage-online__name {
    font-size: var(--fs-sm);
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}



.cpage-rank {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
}

.cpage-rank li {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
}

.cpage-rank__n {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-faint);
    width: 1.25rem;
    text-align: center;
    flex-shrink: 0;
}

.cpage-rank li:nth-child(1) .cpage-rank__n { color: #ffc857; }
.cpage-rank li:nth-child(2) .cpage-rank__n { color: #c0c5ce; }
.cpage-rank li:nth-child(3) .cpage-rank__n { color: #cd7f32; }

.cpage-rank__av {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.cpage-rank__name {
    flex: 1;
    font-size: var(--fs-sm);
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cpage-rank__val {
    font-size: var(--fs-xs);
    font-weight: 500;
    color: var(--text-faint);
    flex-shrink: 0;
}



.account-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--sp-4);
    flex-wrap: wrap;
    padding-bottom: var(--sp-5);
    margin-bottom: var(--sp-5);
    border-bottom: 1px solid var(--border);
}

.account-head__title {
    font-family: var(--font-display);
    font-size: var(--fs-2xl);
    font-weight: 700;
    margin: 0 0 var(--sp-1);
    letter-spacing: -0.02em;
}

.account-head__desc {
    margin: 0;
    color: var(--text-muted);
    font-size: var(--fs-md);
}

.account-head__status {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-2) var(--sp-3);
    border-radius: 999px;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    flex-shrink: 0;
}

.account-head__status.is-verified {
    background: rgba(61, 220, 151, 0.08);
    border-color: rgba(61, 220, 151, 0.3);
    color: var(--ok);
}

.account-head__status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff9f43;
    flex-shrink: 0;
}

.account-head__status.is-verified .account-head__status-dot {
    background: var(--ok);
    box-shadow: 0 0 6px rgba(61, 220, 151, 0.5);
}



.account-card__handle {
    margin: 0 0 var(--sp-2);
    font-size: var(--fs-sm);
    color: var(--text-faint);
}

.account-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-1);
    justify-content: center;
    margin-bottom: var(--sp-3);
}

.account-card__avatar img,
.account-card__avatar .avatar {
    border-radius: 50%;
}

.avatar-form {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
}



.content-page {
    padding: calc(var(--header-h) + var(--sp-6)) 0 var(--sp-7);
    background:
        radial-gradient(ellipse 80% 45% at 50% 0%, rgba(79, 70, 229, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 45% 30% at 88% 6%, rgba(90, 209, 255, 0.05) 0%, transparent 60%);
}

.site-main .content-page { padding-top: var(--sp-6); }

.container--narrow {
    max-width: 46rem;
}

.page-head {
    position: relative;
    padding: var(--sp-6);
    margin-bottom: var(--sp-6);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(124, 92, 255, 0.10), rgba(90, 209, 255, 0.04) 55%, rgba(255, 255, 255, 0.01));
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    overflow: hidden;
}

.page-head::after {
    content: "";
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(45% 55% at 25% 15%, rgba(124, 92, 255, 0.28), transparent 70%),
        radial-gradient(40% 50% at 85% 25%, rgba(90, 209, 255, 0.16), transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}

.page-head > * {
    position: relative;
    z-index: 1;
}



.page-head__eyebrow {
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin: 0 0 var(--sp-2);
}

.page-head__title {
    font-family: var(--font-display);
    font-size: var(--fs-2xl);
    font-weight: 700;
    margin: 0 0 var(--sp-2);
    letter-spacing: -0.02em;
}

.page-head__desc {
    margin: 0;
    color: var(--text-muted);
    max-width: 36rem;
    font-size: var(--fs-md);
    line-height: 1.6;
}



.listen-card {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--sp-6);
    text-align: center;
    margin-bottom: var(--sp-6);
}

.listen-card__now {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-3);
    margin-bottom: var(--sp-5);
}

.listen-card__art {
    width: 96px;
    height: 96px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    background: var(--bg-inset);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.listen-card__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.listen-card__label {
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
}

.listen-card__title {
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    font-weight: 600;
}

.listen-card__artist {
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

.listen-card__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-4);
    flex-wrap: wrap;
}

.listen-card__volume {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    color: var(--text-faint);
}

.listen-card__volume input[type="range"] {
    width: 9rem;
    accent-color: var(--accent);
    cursor: pointer;
}

.listen-card__note {
    margin: var(--sp-5) 0 0;
    font-size: var(--fs-xs);
    color: var(--text-faint);
}

.play-btn--lg {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.play-btn--lg:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.play-btn__icon--pause { display: none; }
.play-btn[data-playing="true"] .play-btn__icon--play { display: none; }
.play-btn[data-playing="true"] .play-btn__icon--pause { display: block; }



.page-grid {
    display: grid;
    gap: var(--sp-3);
    margin-top: var(--sp-5);
}

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

@media (max-width: 52rem) {
    .page-grid--3 { grid-template-columns: 1fr; }
}

.info-tile {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--sp-4);
}

.info-tile__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: var(--radius);
    background: rgba(79, 70, 229, 0.1);
    color: var(--accent);
    margin-bottom: var(--sp-3);
}

.info-tile__title {
    font-family: var(--font-display);
    font-size: var(--fs-md);
    font-weight: 600;
    margin: 0 0 var(--sp-1);
}

.info-tile__text {
    margin: 0;
    font-size: var(--fs-sm);
    color: var(--text-muted);
    line-height: 1.5;
}

.info-tile__text a { color: var(--accent); }



.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--sp-3);
    padding: var(--sp-7) var(--sp-5);
    background: var(--bg-inset);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    color: var(--text-faint);
    font-size: var(--fs-sm);
    margin: 0;
}

.empty-state h2 {
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    color: var(--text);
    margin: 0;
}

.empty-state p {
    margin: 0;
    max-width: 32rem;
    font-size: var(--fs-sm);
    line-height: 1.6;
}

.empty-inline {
    margin: 0;
    font-size: var(--fs-sm);
    color: var(--text-faint);
}

.btn-row--center { justify-content: center; }

.form-honeypot {
    position: absolute !important;
    left: -9999px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.request-submit-row {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    flex-wrap: wrap;
}
.request-submit-row .form-hint { margin: 0; }

.request-account-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    flex-wrap: wrap;
}
.request-account-cta h3 {
    margin: 0 0 0.25rem;
    font-family: var(--font-display);
    font-size: var(--fs-md);
    color: var(--text);
}
.request-account-cta .form-hint { margin: 0; max-width: 34rem; }



.schedule-days {
    display: flex;
    flex-direction: column;
    gap: var(--sp-5);
}

.schedule-day {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--sp-4) var(--sp-5) var(--sp-4);
    transition: border-color 0.15s ease;
}

.schedule-day:hover { border-color: var(--border-strong); }

.schedule-day__title {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    font-weight: 600;
    margin: 0 0 var(--sp-3);
    color: var(--accent);
}

.schedule-day__title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--border), transparent);
}

.schedule-day__list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
}

.schedule-slot {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-4);
    padding: var(--sp-4);
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color 0.15s ease;
}

.schedule-slot:hover { border-color: var(--border-strong); }

.schedule-slot__time {
    display: flex;
    flex-direction: column;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--fs-sm);
    color: var(--text);
    min-width: 4rem;
    flex-shrink: 0;
}

.schedule-slot__end {
    font-size: var(--fs-xs);
    font-weight: 400;
    color: var(--text-faint);
}

.schedule-slot__body { flex: 1; min-width: 0; }

.schedule-slot__show {
    display: block;
    font-weight: 600;
    font-size: var(--fs-md);
    margin-bottom: 2px;
}

.schedule-slot__host {
    display: block;
    font-size: var(--fs-sm);
    color: var(--accent);
}

.schedule-slot__desc {
    margin: var(--sp-2) 0 0;
    font-size: var(--fs-sm);
    color: var(--text-muted);
    line-height: 1.5;
}

.schedule-slot__tag {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-faint);
    background: var(--bg-inset);
    border: 1px solid var(--border);
    padding: 0.2em 0.6em;
    border-radius: 999px;
    flex-shrink: 0;
}



.presenter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--sp-3);
}

.team-group { margin-top: var(--sp-6); }
.team-group:first-of-type { margin-top: var(--sp-5); }

.presenter-card {
    display: flex;
    gap: var(--sp-3);
    padding: var(--sp-4);
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.presenter-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-1px);
}

.presenter-card--featured {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.07) 0%, rgba(79, 70, 229, 0.02) 100%);
    border-color: rgba(79, 70, 229, 0.25);
}

.presenter-card__img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.presenter-card__img--ph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.2) 0%, rgba(79, 70, 229, 0.08) 100%);
    color: var(--accent);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--fs-lg);
}

.presenter-card__body { min-width: 0; }

.presenter-card__name {
    font-family: var(--font-display);
    font-size: var(--fs-md);
    font-weight: 600;
    margin: 0 0 2px;
}

.presenter-card__headline {
    margin: 0;
    font-size: var(--fs-xs);
    color: var(--accent);
    font-weight: 500;
}

.presenter-card__bio {
    margin: var(--sp-2) 0 0;
    font-size: var(--fs-sm);
    color: var(--text-muted);
    line-height: 1.5;
}



.page-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
    margin: 0 0 var(--sp-5);
}

.page-filter {
    padding: 0.4rem 0.95rem;
    background: var(--bg-inset);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-muted);
    font-size: var(--fs-xs);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.page-filter:hover {
    color: var(--text);
    border-color: var(--border-strong);
}

.page-filter--active {
    background: var(--accent-tint);
    border-color: transparent;
    color: var(--accent-hover);
}

button.page-filter {
    font: inherit;
    cursor: pointer;
}

.shop-currency {
    justify-content: flex-end;
    gap: 6px;
}

.shop-currency__label {
    align-self: center;
    margin-right: 2px;
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--sp-2);
    margin-top: var(--sp-5);
}
.pagination__pages {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.pagination__link,
.pagination__page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.15rem;
    height: 2.15rem;
    padding: 0 0.65rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-inset);
    color: var(--text-muted);
    font-size: var(--fs-sm);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.pagination__link:hover:not(.pagination__link--disabled),
.pagination__page:hover {
    color: var(--text);
    border-color: var(--border-strong);
    background: var(--tint);
}
.pagination__page--current {
    background: var(--accent-tint);
    border-color: transparent;
    color: var(--accent-hover);
    font-weight: 700;
}
.pagination__link--disabled {
    opacity: 0.4;
    cursor: default;
}
.pagination__ellipsis {
    color: var(--text-faint);
    padding: 0 4px;
    user-select: none;
}
.pagination__summary {
    text-align: center;
    color: var(--text-faint);
    font-size: var(--fs-xs);
    margin-top: var(--sp-3);
}

.post-list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}

.post-card {
    display: flex;
    gap: var(--sp-4);
    padding: var(--sp-4);
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color 0.15s ease;
}

.post-card:hover { border-color: var(--border-strong); }

.post-card__cover {
    width: 200px;
    height: 120px;
    object-fit: cover;
    border-radius: var(--radius);
    flex-shrink: 0;
    background: var(--bg-inset);
}

.post-card__cover--ph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(124, 92, 255, 0.4) 0%, rgba(90, 209, 255, 0.28) 100%);
    overflow: hidden;
}
.post-card__cover--ph img {
    width: auto;
    height: 55%;
    object-fit: contain;
    opacity: 0.9;
}

.post-card__body { min-width: 0; }

.post-card__meta {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: var(--fs-xs);
    color: var(--text-faint);
    margin-bottom: var(--sp-2);
}

.post-card__cat {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.post-card__title {
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    font-weight: 600;
    margin: 0 0 var(--sp-2);
    line-height: 1.3;
}

.post-card__title a { color: inherit; }

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

.post-card__excerpt {
    margin: 0;
    font-size: var(--fs-sm);
    color: var(--text-muted);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card__author {
    margin: var(--sp-2) 0 0;
    font-size: var(--fs-xs);
    color: var(--text-faint);
}



.contact-alt {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-3);
    margin-top: var(--sp-5);
}



.request-list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
    list-style: none;
    margin: 0;
    padding: 0;
}

.request-list__row {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-3);
    background: var(--bg-inset);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.request-list__song { flex: 1; min-width: 0; }

.request-list__title {
    display: block;
    font-weight: 600;
    font-size: var(--fs-sm);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.request-list__artist {
    display: block;
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

.request-list__status {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.2em 0.6em;
    border-radius: 999px;
    flex-shrink: 0;
}

.request-list__status--pending { color: #ff9f43; background: rgba(255, 159, 67, 0.12); }
.request-list__status--approved { color: var(--ok); background: rgba(61, 220, 151, 0.12); }
.request-list__status--played { color: var(--accent); background: rgba(79, 70, 229, 0.12); }
.request-list__status--rejected { color: #ff6b6b; background: rgba(255, 107, 107, 0.12); }

.request-list__date {
    font-size: var(--fs-xs);
    color: var(--text-faint);
    flex-shrink: 0;
}

.notif-list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    margin: 0;
    padding: 0;
    list-style: none;
}

.notif-item {
    padding: var(--sp-4);
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.notif-item--unread { border-left: 3px solid var(--accent); }

.notif-item__title {
    margin: 0 0 var(--sp-1);
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--text);
}

.notif-item__body {
    margin: 0;
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

.notif-item__time {
    display: block;
    margin-top: var(--sp-2);
    font-size: var(--fs-xs);
    color: var(--text-faint);
}



.prose h2 {
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    font-weight: 600;
    margin: var(--sp-6) 0 var(--sp-3);
    color: var(--text);
}

.prose h2:first-child { margin-top: 0; }

.prose p {
    margin: 0 0 var(--sp-3);
    font-size: var(--fs-md);
    color: var(--text-muted);
    line-height: 1.7;
}

.prose a { color: var(--accent); }

.prose h3,
.prose h4 {
    font-family: var(--font-display);
    font-weight: 600;
    margin: var(--sp-5) 0 var(--sp-2);
    color: var(--text);
}

.prose h3 { font-size: var(--fs-md); }

.prose h4 { font-size: var(--fs-sm); }

.prose strong { color: var(--text); }

.prose img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: var(--sp-4) 0;
    border-radius: var(--radius);
}

.prose ul,
.prose ol {
    margin: 0 0 var(--sp-3);
    padding-left: 1.5rem;
    font-size: var(--fs-md);
    color: var(--text-muted);
    line-height: 1.7;
}

.prose li { margin-bottom: var(--sp-1); }

.prose blockquote {
    margin: 0 0 var(--sp-4);
    padding: var(--sp-2) 0 var(--sp-2) var(--sp-3);
    border-left: 3px solid var(--accent);
    color: var(--text-muted);
    font-size: var(--fs-md);
    line-height: 1.7;
}

.prose hr {
    margin: var(--sp-5) 0;
    border: 0;
    border-top: 1px solid var(--border-strong);
}

.prose code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.9em;
    background: var(--bg-inset);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 0.1em 0.35em;
}

.prose pre {
    margin: 0 0 var(--sp-4);
    padding: var(--sp-3);
    background: var(--bg-inset);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    overflow-x: auto;
}

.prose pre code {
    background: none;
    border: 0;
    padding: 0;
}



.form-label-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--sp-3);
}

.form-label-link {
    font-size: var(--fs-xs);
    color: var(--accent);
    font-weight: 500;
}

.form-label-link:hover { text-decoration: underline; }

.form-field__optional {
    color: var(--text-faint);
    font-weight: 400;
}



@media (max-width: 64rem) {
    .panel-layout {
        grid-template-columns: 1fr;
    }

    .panel-nav {
        position: static;
    }

    .panel-nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        gap: var(--sp-1);
    }

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

    .user-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 52rem) {
    .cpage__hero-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cpage__hero-stats {
        width: 100%;
        justify-content: center;
    }

    .cpage-members {
        grid-template-columns: 1fr;
    }

    .cpage-activity__grid {
        grid-template-columns: 1fr;
    }

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

    .page-grid--3 {
        grid-template-columns: 1fr;
    }

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

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

    .post-card {
        flex-direction: column;
    }

    .post-card__cover {
        width: 100%;
        height: 160px;
    }

    .schedule-slot {
        flex-wrap: wrap;
    }

    .listen-card__volume input[type="range"] {
        width: 6rem;
    }
}

img.theme-img--dark { display: none; }
.theme-dark img.theme-img--light { display: none; }
.theme-dark img.theme-img--dark { display: block; }

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    flex-shrink: 0;
    padding: 0;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius);
    color: var(--text-muted);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}
.theme-toggle:hover { background: var(--tint); color: var(--text); }
.theme-toggle svg { display: block; width: 1.0625rem; height: 1.0625rem; }
.theme-toggle__icon--sun { display: none; }
.theme-dark .theme-toggle__icon--moon { display: none; }
.theme-dark .theme-toggle__icon--sun { display: block; }

.theme-dark .mpage__banner-ph {
    background:
        radial-gradient(60% 120% at 20% 0%, rgba(99, 102, 241, 0.18) 0%, transparent 60%),
        radial-gradient(50% 100% at 80% 10%, rgba(255, 255, 255, 0.05) 0%, transparent 55%),
        linear-gradient(180deg, #1b1f27 0%, #12151a 100%);
}

.scroll-top {
    position: fixed;
    right: 1.25rem;
    bottom: calc(var(--player-h, 64px) + 1.25rem);
    z-index: 145;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(20, 23, 30, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.18s ease, background 0.18s ease, opacity 0.18s ease;
}
.scroll-top:hover { transform: translateY(-3px); background: rgba(34, 38, 48, 0.95); }
.scroll-top[hidden] { display: none; }
body:not(.has-miniplayer) .scroll-top { bottom: 1.25rem; }

@media (max-width: 52rem) {
    .footer-bottom__inner {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }
    .footer-bottom__copy,
    .footer-socials { justify-self: center; }
    .footer-bottom__links { order: -1; }
}

.content-page__engage {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin: 28px 0 8px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}
.mpage__react { margin-top: 14px; }

.reactions {
    display: inline-flex;
    align-items: center;
    position: relative;
}
.reactions__chips {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    position: relative;
}
.reaction-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg-raised);
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
}
.reaction-chip:hover {
    border-color: var(--border-strong);
    background: var(--bg-inset);
}
.reaction-chip:active { transform: scale(0.96); }
.reaction-chip.is-mine {
    border-color: var(--accent);
    background: var(--accent-tint);
    color: var(--text);
}
.reaction-chip__e { font-size: 15px; }
.reaction-chip__n {
    font-weight: 600;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}
.reaction-chip--add { padding: 4px 7px; }
.reactions__wrap { position: relative; display: inline-flex; }
.reactions__picker {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2px;
    padding: 6px;
    background: var(--glass-strong);
    border: 1px solid var(--border);
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    z-index: 30;
}
.reactions__picker[hidden] { display: none; }
.reactions__opt {
    border: 0;
    background: transparent;
    font-size: 17px;
    line-height: 1;
    padding: 5px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.12s ease, transform 0.12s ease;
}
.reactions__opt:hover {
    background: var(--accent-tint);
    transform: scale(1.18);
}
.reactions__opt.is-mine {
    background: var(--accent-tint);
    box-shadow: inset 0 0 0 1px var(--accent);
}
.reactions--compact .reaction-chip {
    padding: 3px 7px;
    font-size: 12px;
}
.reactions--compact .reaction-chip__e { font-size: 13px; }

.comments {
    margin: 34px 0 42px;
    padding: 22px;
    border-radius: var(--radius-lg);
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    box-shadow: inset 0 0 0 1px var(--border);
}
.comments__head { margin-bottom: 16px; }
.comments__title {
    font-family: var(--font-display);
    font-size: 17px;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 9px;
}
.comments__count {
    display: inline-block;
    min-width: 22px;
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--accent-tint);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
}
.comments__composer {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}
.comments__textarea {
    width: 100%;
    min-height: 76px;
    resize: vertical;
    line-height: 1.55;
}
.comments__composer-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.comments__hint {
    font-size: 12px;
    color: var(--text-faint);
    font-variant-numeric: tabular-nums;
}
.comments__error {
    font-size: 13px;
    color: #e5484d;
    flex: 1;
    text-align: right;
}
.comments__error:empty { display: none; }
.comments__guest {
    font-size: 14px;
    color: var(--text-muted);
    padding: 10px 14px;
    background: var(--bg-inset);
    border-radius: var(--radius);
    margin-bottom: 18px;
}
.comments__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}
.comments__empty {
    font-size: 14px;
    color: var(--text-faint);
    padding: 8px 0;
}

.comment {
    display: flex;
    gap: 12px;
}
.comment__avatar { flex: 0 0 40px; }
.comment__avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}
.comment-avatar-ph {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #a855f7);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
}
.comment__main {
    flex: 1;
    min-width: 0;
    padding: 10px 14px 12px;
    border-radius: var(--radius);
    background: var(--bg-raised);
    box-shadow: inset 0 0 0 1px var(--border);
}
.comment__head {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.comment__author {
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
    text-decoration: none;
}
.comment__author:hover {
    color: var(--accent);
    text-decoration: underline;
}
.comment__role {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 4px;
    background: var(--accent-tint);
    color: var(--accent);
}
.comment__time {
    font-size: 12px;
    color: var(--text-faint);
    margin-left: auto;
}
.comment__del {
    border: 0;
    background: transparent;
    color: var(--text-faint);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 0 2px;
    border-radius: 4px;
}
.comment__del:hover {
    color: #e5484d;
    background: rgba(229, 72, 77, 0.1);
}
.comment__body {
    margin: 6px 0 8px;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text);
    overflow-wrap: anywhere;
}

@media (max-width: 640px) {
    .comments { padding: 16px; }
    .comments__composer-foot { flex-wrap: wrap; }
    .comments__error { text-align: left; }
    .comment__time { margin-left: 0; }
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 8px 0 34px;
}
.job-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 26px;
    border-radius: var(--radius-lg);
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    box-shadow: inset 0 0 0 1px var(--border);
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.job-card:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 0 0 1px var(--border-strong), 0 14px 34px rgba(0, 0, 0, 0.1);
}
.job-card__top {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-bottom: 14px;
}
.job-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), #a855f7);
    color: #fff;
}
.job-card__type {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-tint);
    padding: 4px 10px;
    border-radius: 999px;
}
.job-card__title {
    font-family: var(--font-display);
    font-size: 24px;
    margin: 0 0 6px;
}
.job-card__lead {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 16px;
}
.job-card__h3 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin: 12px 0 6px;
}
.job-card__list {
    list-style: none;
    margin: 0 0 8px;
    padding: 0;
    display: grid;
    gap: 6px;
}
.job-card__list li {
    position: relative;
    padding-left: 22px;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--text);
}
.job-card__list li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 8px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.75;
}
.job-card .btn { margin-top: auto; }
.job-card .job-card__list + .job-card__h3 + .job-card__list + .btn { margin-top: 16px; }

.jobs-apply {
    scroll-margin-top: 90px;
    padding: 30px;
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, var(--accent-tint), transparent 55%), var(--bg-glass);
    backdrop-filter: blur(12px);
    box-shadow: inset 0 0 0 1px var(--border);
    margin-bottom: 34px;
}
.jobs-apply__title {
    font-family: var(--font-display);
    font-size: 22px;
    margin: 0 0 6px;
}
.jobs-apply__lead {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 20px;
    max-width: 60ch;
}
.jobs-form { display: grid; gap: 16px; }
.jobs-form__row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.jobs-form__message { min-height: 96px; resize: vertical; }

.mic-clip {
    display: grid;
    gap: 10px;
    padding: 16px;
    border-radius: var(--radius);
    background: var(--bg-inset);
    box-shadow: inset 0 0 0 1px var(--border);
}
.mic-clip__controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.mic-clip__timer {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    font-size: 15px;
    color: #e5484d;
    min-width: 40px;
}
.mic-clip__audio { max-width: 320px; height: 34px; }
.mic-clip__hint { margin: 0; }
.mic-clip__error {
    margin: 0;
    font-size: 13px;
    color: #e5484d;
}
.mic-clip__error:empty { display: none; }
input.input--xs { padding: 4px 8px; font-size: 12px; }
.panel-content .data-table audio { width: 160px; height: 30px; }

@media (max-width: 900px) {
    .jobs-grid { grid-template-columns: 1fr; }
    .jobs-form__row { grid-template-columns: 1fr; }
    .jobs-apply { padding: 20px; }
}

.music-search { margin: 0 0 14px; }
.music-search__row { display: flex; gap: 8px; }
.music-search__row .music-search__input { flex: 1; min-width: 0; }
.music-search__hint { margin: 8px 0 0; font-size: 13px; color: var(--text-muted); }
.music-search__results {
    list-style: none;
    margin: 8px 0 0;
    padding: 4px;
    max-height: 236px;
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-raised);
}
.music-search__results[hidden] { display: none; }
.music-search__item--muted { padding: 8px 10px; font-size: 13px; color: var(--text-faint); }
.music-search__result {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 7px 10px;
    border: 0;
    border-radius: 8px;
    background: none;
    color: inherit;
    text-align: left;
    cursor: pointer;
}
.music-search__result:hover,
.music-search__result:focus-visible { background: var(--accent-tint); outline: none; }
.music-search__art {
    width: 36px;
    height: 36px;
    flex: none;
    border-radius: 6px;
    object-fit: cover;
    background: var(--bg-inset);
}
.music-search__art--ph {
    background: linear-gradient(135deg, var(--accent-tint), var(--bg-inset));
}
.music-search__meta { display: flex; flex-direction: column; min-width: 0; }
.music-search__name {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.music-search__sub {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.music-search__picked {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 8px 0 0;
    font-size: 13px;
    color: var(--ok);
}
.music-search__picked[hidden] { display: none; }
.music-search__picked-check { font-weight: 700; }

.mpage__actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.mpage__edit {
    margin-top: 16px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg-glass);
    backdrop-filter: blur(8px);
}
.mpage__edit[hidden] { display: none; }
.mpage__edit-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}
.mpage__edit-form { margin-top: 4px; }
.mpage__edit-form--spaced { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--border-strong); }
.mpage__edit-avatar { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-top: 14px; }
.mpage__edit-avatar .form-field { flex: 1; min-width: 200px; margin-bottom: 0; }
.mpage__remove-featured { margin-bottom: 12px; }
.mpage__edit-banner { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--border-strong); }
.mpage__edit-banner .banner-preview { margin-bottom: 12px; }
.account-card__edit { margin-top: 10px; }

.gdpr-danger {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}
.gdpr-danger__title {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    color: #e5484d;
}
.gdpr-danger .form-hint { margin-bottom: 12px; }

.vip-status {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 22px;
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg-raised);
}
.vip-status--on {
    border-color: rgba(61, 220, 151, 0.45);
    background: linear-gradient(120deg, rgba(61, 220, 151, 0.10), transparent 60%), var(--bg-raised);
}
.vip-status__dot {
    width: 12px;
    height: 12px;
    flex: none;
    border-radius: 50%;
    background: var(--ok);
    box-shadow: 0 0 0 4px rgba(61, 220, 151, 0.22);
}
.vip-status__body { display: flex; flex-direction: column; gap: 2px; }
.vip-status__body span { font-size: var(--fs-sm); color: var(--text-muted); }

.vip-perks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px;
    margin: 0 0 26px;
}
.vip-perk {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg-raised);
}
.vip-perk svg { flex: none; color: var(--accent); margin-top: 2px; }
.vip-perk div { display: flex; flex-direction: column; gap: 3px; }
.vip-perk strong { font-size: 15px; }
.vip-perk span { font-size: var(--fs-sm); color: var(--text-muted); }

.vip-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin: 0 0 26px;
}
.vip-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: linear-gradient(160deg, var(--accent-tint), transparent 55%), var(--bg-raised);
    overflow: hidden;
}
.vip-plan--best { border-color: var(--accent); box-shadow: 0 10px 30px -18px var(--accent-glow); }
.vip-plan__tag {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--accent-ink);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.vip-plan__name { margin: 0 0 6px; font-size: 18px; }
.vip-plan__blurb { margin: 0 0 14px; font-size: var(--fs-sm); color: var(--text-muted); min-height: 3em; }
.vip-plan__price { display: flex; align-items: baseline; gap: 6px; margin: 0; }
.vip-plan__amount { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.vip-plan__currency { font-size: 15px; color: var(--text-muted); font-weight: 600; }
.vip-plan__period { margin: 2px 0 16px; font-size: 13px; color: var(--text-faint); }
.vip-plan__form { display: flex; flex-direction: column; gap: 4px; margin-top: auto; }
.vip-plan__form .form-field { margin-bottom: 8px; }
.vip-plan__btn { width: 100%; justify-content: center; }

.vip-howto__steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.vip-howto__steps li::marker { color: var(--accent); font-weight: 700; }
.vip-howto .form-hint { margin: 12px 0 0; }

.panel-table-wrap { overflow-x: auto; }
.panel-table__muted { display: block; font-size: 12px; color: var(--text-faint); }
.data-table__actions { display: flex; gap: 6px; white-space: nowrap; }
.data-table__action { margin: 0; }
.panel-content__subtitle { margin: 0 0 12px; font-size: 16px; font-weight: 700; }

.msg-view summary { list-style: none; cursor: pointer; display: inline-flex; }
.msg-view summary::-webkit-details-marker { display: none; }
.msg-view summary::marker { content: ''; }
.msg-view__body {
    margin-top: 8px;
    padding: 10px 12px;
    max-width: 460px;
    font-size: 13px;
    line-height: 1.55;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    background: var(--bg-inset);
    border: 1px solid var(--border);
    border-radius: 8px;
}

@media (max-width: 700px) {
    .vip-perks { grid-template-columns: 1fr; }
    .vip-plans { grid-template-columns: 1fr; }
    .vip-status { flex-wrap: wrap; }
}


