:root {
    --bg: #020816;
    --bg-soft: #071224;
    --panel: rgba(8, 18, 38, 0.82);
    --panel-strong: rgba(7, 16, 34, 0.94);
    --line: rgba(92, 119, 164, 0.28);
    --line-strong: rgba(58, 210, 255, 0.4);
    --text: #eef6ff;
    --text-soft: #93a5c2;
    --text-dim: #64748e;
    --cyan: #39d4ff;
    --blue: #667dff;
    --pink: #ff2c86;
    --orange: #ff9f42;
    --green: #67f2c3;
    --danger: #ff7d9d;
    --shadow: 0 26px 80px rgba(0, 0, 0, 0.38);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(0, 185, 255, 0.22), transparent 24%),
        radial-gradient(circle at top right, rgba(102, 125, 255, 0.14), transparent 26%),
        linear-gradient(115deg, #020a14 0%, #030c1b 38%, #01050f 100%);
}

body.player-open {
    overflow: hidden;
}

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

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.page-shell {
    position: relative;
    overflow: hidden;
}

.page-background {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 32%, rgba(0, 220, 255, 0.14), transparent 18%),
        radial-gradient(circle at 52% 8%, rgba(66, 96, 255, 0.18), transparent 20%),
        radial-gradient(circle at 80% 16%, rgba(255, 31, 112, 0.08), transparent 12%);
    filter: blur(14px);
}

.layout,
.site-footer {
    position: relative;
    z-index: 1;
    width: min(1540px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}

.layout {
    padding-top: 22px;
}

.hero-panel {
    min-height: 310px;
    padding-bottom: 22px;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    gap: 32px;
}

.brand-block {
    max-width: 460px;
    padding-top: 10px;
}

.brand-mark {
    display: inline-flex;
    flex-direction: column;
    line-height: 0.82;
    text-transform: uppercase;
    color: #ff2d1f;
    text-shadow: 0 10px 22px rgba(255, 44, 44, 0.34);
}

.brand-logo-image {
    display: block;
    max-width: min(260px, 100%);
    max-height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgba(255, 44, 44, 0.22));
}

.brand-main {
    font-size: 2.65rem;
    font-weight: 900;
    letter-spacing: -0.08em;
    transform: rotate(-8deg);
    transform-origin: left center;
}

.brand-name {
    margin-top: -8px;
    margin-left: 18px;
    font-size: 3.15rem;
    font-weight: 900;
    letter-spacing: -0.08em;
    transform: rotate(-4deg);
    transform-origin: left center;
}

.brand-role,
.section-heading p,
.section-heading span,
.mix-counter,
.instagram-text,
.instagram-user {
    text-transform: uppercase;
    letter-spacing: 0.34em;
}

.brand-role {
    margin: 30px 0 20px;
    color: #bdd7ff;
    font-size: 0.98rem;
}

.brand-copy {
    max-width: 360px;
    margin: 0 0 26px;
    color: var(--text-soft);
    font-size: 1.08rem;
    line-height: 1.6;
}

.instagram-button {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--orange), var(--pink));
    box-shadow: 0 16px 32px rgba(255, 53, 121, 0.28);
}

.instagram-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.instagram-icon svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
}

.instagram-text,
.instagram-user {
    font-size: 0.72rem;
    font-weight: 800;
}

.hero-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

.preview-fallback {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.24), transparent 24%),
        linear-gradient(135deg, #1d2940, #0b1425);
    color: #e8f7ff;
    font-size: 1.5rem;
    font-weight: 800;
}

.avatar-circle {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 2px solid rgba(58, 210, 255, 0.88);
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.28), transparent 26%),
        linear-gradient(135deg, #1b273a, #0b1527);
    color: #eef8ff;
    font-size: 0.82rem;
    font-weight: 800;
    box-shadow: 0 0 22px rgba(58, 210, 255, 0.18);
}

.avatar-image {
    object-fit: cover;
}

.avatar-featured {
    width: 96px;
    height: 96px;
    border-radius: 28px;
    font-size: 1.5rem;
}

.mix-counter {
    padding: 12px 15px;
    border: 1px solid rgba(58, 210, 255, 0.54);
    border-radius: 999px;
    background: rgba(2, 21, 38, 0.68);
    color: var(--cyan);
    font-size: 0.76rem;
    font-weight: 700;
}

.subscribe-card,
.search-box,
.mix-card,
.panel-card,
.sidebar-card,
.login-card {
    backdrop-filter: blur(18px);
}

.subscribe-card {
    position: relative;
    padding: 18px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: linear-gradient(90deg, rgba(8, 31, 43, 0.92), rgba(16, 28, 58, 0.92));
    box-shadow: var(--shadow);
}

.subscribe-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(90deg, rgba(0, 221, 255, 0.45), rgba(103, 136, 255, 0.08));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.subscribe-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.mail-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(180deg, #1ac8ff, #6374ff);
    box-shadow: 0 12px 24px rgba(79, 113, 255, 0.3);
}

.mail-icon svg {
    width: 22px;
    height: 22px;
    fill: #091423;
}

.subscribe-head h1 {
    margin: 0 0 4px;
    font-size: 1.88rem;
    line-height: 1;
}

.subscribe-head p {
    margin: 0;
    color: var(--text-soft);
}

.subscribe-form {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 10px;
}

.subscribe-form input,
.search-box input,
.dashboard-form input,
.dashboard-form textarea,
.login-form input {
    width: 100%;
    border: 1px solid rgba(84, 111, 152, 0.28);
    outline: none;
    color: var(--text);
    background: rgba(33, 44, 71, 0.48);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.subscribe-form input,
.dashboard-form input,
.login-form input {
    height: 50px;
}

.subscribe-form input,
.dashboard-form input,
.dashboard-form textarea,
.login-form input {
    padding: 14px 18px;
    border-radius: 16px;
}

.dashboard-form textarea {
    resize: vertical;
    min-height: 120px;
}

.subscribe-form input::placeholder,
.search-box input::placeholder,
.dashboard-form input::placeholder,
.dashboard-form textarea::placeholder {
    color: #7e8faa;
}

.subscribe-form input:focus,
.search-box input:focus,
.dashboard-form input:focus,
.dashboard-form textarea:focus,
.login-form input:focus {
    border-color: rgba(58, 210, 255, 0.58);
    box-shadow: 0 0 0 4px rgba(58, 210, 255, 0.08);
}

.subscribe-form button,
.primary-button,
.login-form button {
    min-width: 170px;
    height: 50px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(180deg, #44d0ff, #637dff);
    color: #07111f;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.subscribe-form button:hover,
.primary-button:hover,
.mix-footer a:hover,
.mix-open-button:hover,
.login-form button:hover,
.danger-button:hover {
    transform: translateY(-1px);
}

.form-message {
    min-height: 22px;
    margin: 10px 4px 0;
    color: #7fcbff;
    font-size: 0.92rem;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 56px;
    margin-top: 26px;
    padding: 0 16px;
    border: 1px solid rgba(78, 93, 131, 0.35);
    border-radius: 16px;
    background: linear-gradient(90deg, rgba(10, 24, 35, 0.88), rgba(27, 24, 50, 0.82));
}

.search-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: #a8b3c4;
}

.search-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.search-box input {
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
}

.mixes-section {
    padding: 28px 0 10px;
}

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

.section-heading p,
.section-heading span {
    margin: 0;
    color: #9eb4d9;
    font-size: 0.8rem;
    font-weight: 700;
}

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

.mix-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(95, 113, 150, 0.3);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(8, 17, 33, 0.98), rgba(10, 22, 41, 0.94));
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    transition: transform 0.22s ease, border-color 0.22s ease;
}

.mix-card:hover {
    transform: translateY(-4px);
    border-color: rgba(58, 210, 255, 0.35);
}

.mix-card.is-hidden {
    display: none;
}

.cover-art {
    position: relative;
    height: 356px;
    background:
        radial-gradient(circle at 30% 25%, rgba(53, 209, 255, 0.24), transparent 22%),
        radial-gradient(circle at 68% 40%, rgba(98, 120, 255, 0.22), transparent 26%),
        linear-gradient(140deg, #0d1a32, #09111f 50%, #11182a 100%);
    transition: filter 0.22s ease;
}

.cover-art::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(3, 8, 18, 0.22);
    opacity: 0;
    transition: opacity 0.22s ease;
    pointer-events: none;
}

.mix-card-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mix-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(28, 10, 14, 0.96);
    color: #f4fbff;
    font-size: 0.95rem;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
}

.mix-action-button strong {
    font-size: 0.92rem;
}

.mix-pin-button {
    background: linear-gradient(180deg, #3ad5ff, #1cb8f2);
    color: #07111f;
}

.mix-pin-button.is-active {
    background: linear-gradient(180deg, #76e4ff, #35c8ff);
    box-shadow: 0 0 0 2px rgba(58, 210, 255, 0.26), 0 12px 24px rgba(58, 210, 255, 0.24);
}

.mix-like-chip {
    gap: 8px;
    background: rgba(40, 9, 15, 0.96);
}

.mix-like-chip.is-active {
    background: linear-gradient(180deg, #ff347f, #ff5f8c);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(255, 52, 127, 0.28);
}

.mix-share-button {
    background: rgba(28, 10, 14, 0.96);
}

.cover-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    opacity: 0;
    transition: opacity 0.22s ease;
}

.mix-card:hover .cover-overlay,
.mix-card:focus-within .cover-overlay {
    opacity: 1;
}

.mix-card:hover .cover-art::after,
.mix-card:focus-within .cover-art::after {
    opacity: 1;
}

.play-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 82px;
    height: 82px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(31, 23, 33, 0.5);
    color: #f3fbff;
    backdrop-filter: blur(8px);
    transform: scale(0.92);
    transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.mix-card:hover .play-badge,
.mix-card:focus-within .play-badge {
    transform: scale(1);
}

.play-badge svg {
    width: 34px;
    height: 34px;
    fill: currentColor;
}

.mix-meta {
    padding: 16px 18px 18px;
}

.mix-meta h2 {
    margin: 0 0 14px;
    font-size: 1.15rem;
    line-height: 1.2;
    text-transform: uppercase;
}

.mix-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.mix-footer span {
    color: #a0b5d0;
    font-size: 0.84rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.mix-footer-minimal {
    justify-content: space-between;
}

.mix-footer a,
.mix-open-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 1px solid rgba(77, 185, 255, 0.28);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(68, 208, 255, 0.18), rgba(99, 125, 255, 0.18));
    color: #d8f6ff;
    font-size: 0.84rem;
    font-weight: 700;
}

.mix-open-button {
    cursor: pointer;
}

.empty-state,
.empty-admin-state,
.help-box {
    display: grid;
    place-items: center;
    min-height: 110px;
    border: 1px dashed rgba(107, 128, 168, 0.3);
    border-radius: 18px;
    color: var(--text-soft);
    background: rgba(8, 16, 30, 0.65);
}

.empty-state {
    margin-top: 14px;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid rgba(84, 111, 152, 0.24);
    border-radius: 14px;
    background: rgba(8, 18, 38, 0.86);
    color: #d8f6ff;
    font-weight: 700;
}

.pagination-link.is-active {
    border-color: rgba(58, 210, 255, 0.44);
    background: linear-gradient(180deg, rgba(68, 208, 255, 0.2), rgba(99, 125, 255, 0.22));
    color: #ffffff;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 10px;
    margin-bottom: 24px;
    padding: 18px 0 8px;
    color: var(--text-dim);
    font-size: 0.92rem;
}

.site-footer p {
    margin: 0;
}

.site-footer a {
    color: #76dcff;
}

.player-modal[hidden] {
    display: none;
}

.player-modal {
    position: fixed;
    inset: 0;
    z-index: 30;
    overflow-y: auto;
    background:
        radial-gradient(circle at 16% 42%, rgba(0, 222, 255, 0.18), transparent 20%),
        radial-gradient(circle at 54% 8%, rgba(61, 99, 255, 0.18), transparent 20%),
        linear-gradient(115deg, rgba(2, 10, 20, 0.98), rgba(3, 10, 24, 0.98));
    scrollbar-color: rgba(98, 125, 255, 0.95) rgba(255, 255, 255, 0.08);
    scrollbar-width: thin;
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

.player-modal.is-minimized {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.player-modal::-webkit-scrollbar {
    width: 10px;
}

.player-modal::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08);
}

.player-modal::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: linear-gradient(180deg, #44d0ff, #637dff);
}

.player-modal-card {
    width: 100%;
    min-height: 100vh;
}

.player-fullscreen {
    display: flex;
    flex-direction: column;
    padding: 24px 18px 28px;
}

.player-topbar {
    display: grid;
    grid-template-columns: 54px 1fr 54px;
    align-items: center;
    gap: 12px;
}

.player-icon-button {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #f2f8ff;
    font-size: 1.5rem;
}

.player-now {
    text-align: center;
}

.player-now-line {
    display: inline-block;
    width: 44px;
    height: 4px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
}

.player-now p {
    margin: 0;
    color: #a8c6ea;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.42em;
}

.player-stage {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: center;
    justify-items: center;
    flex: 1;
    min-height: 0;
    padding: 22px 4px 0;
}

.player-tracks-panel {
    position: absolute;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    z-index: 3;
    width: min(1560px, calc(100vw - 24px));
    display: none;
    grid-template-rows: auto auto 1fr;
    gap: 10px;
    padding: 10px 12px 18px;
    border: 1px solid rgba(58, 210, 255, 0.28);
    border-radius: 26px 26px 0 0;
    background: linear-gradient(180deg, rgba(8, 24, 59, 0.98), rgba(5, 20, 56, 0.98));
    max-height: min(570px, calc(100vh - 170px));
    overflow: hidden;
    box-shadow: var(--shadow);
}

.player-tracks-panel.is-open {
    display: grid;
}

.player-tracks-topline {
    display: flex;
    justify-content: center;
    padding-top: 2px;
}

.player-panel-head h3,
.player-panel-head p {
    margin: 0;
}

.player-panel-head-wide {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 2px 8px;
    border-bottom: 1px solid rgba(84, 111, 152, 0.18);
}

.player-panel-head h3 {
    font-size: 1.95rem;
    line-height: 1;
    text-transform: uppercase;
}

.player-tracks-kicker {
    color: var(--cyan);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.player-tracks-close {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #f4fbff;
    font-size: 1.45rem;
    line-height: 1;
}

.player-tracks-list {
    margin: 0;
    padding: 0;
    overflow: auto;
    color: #dfeeff;
    list-style: none;
}

.player-tracks-list li {
    padding: 14px 70px 14px 70px;
    border-top: 1px solid rgba(84, 111, 152, 0.14);
    color: #e7f1ff;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.45;
    counter-increment: track-item;
    position: relative;
}

.player-tracks-list li::before {
    content: counter(track-item) ".";
    position: absolute;
    left: 18px;
    top: 14px;
    color: #d8e7fb;
    font-weight: 700;
}

.player-tracks-list {
    counter-reset: track-item;
}

.player-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: min(980px, 100%);
    margin: 0 auto;
    min-width: 0;
    padding: 10px 8px;
    text-align: center;
}

.player-cover-shell {
    width: min(360px, 76vw);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 34px;
    box-shadow: 0 0 42px rgba(58, 210, 255, 0.18);
}

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

.player-meta {
    margin-top: 22px;
}

.player-meta h2 {
    margin: 0 0 8px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    text-transform: uppercase;
}

.player-meta p {
    margin: 0;
    color: #bdd5f2;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
}

.player-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.player-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #f1f8ff;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.player-like-button {
    background: rgba(40, 9, 15, 0.96);
    box-shadow: 0 0 26px rgba(255, 58, 123, 0.12);
}

.player-like-button.is-active {
    background: linear-gradient(90deg, rgba(255, 58, 123, 0.98), rgba(255, 95, 140, 0.88));
    box-shadow: 0 0 26px rgba(255, 58, 123, 0.28);
}

.player-share-wrap {
    position: relative;
}

.player-share-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    gap: 8px;
    min-width: 180px;
    padding: 12px;
    border: 1px solid rgba(84, 111, 152, 0.2);
    border-radius: 18px;
    background: rgba(7, 15, 30, 0.96);
    box-shadow: var(--shadow);
}

.player-share-menu[hidden] {
    display: none;
}

.player-share-menu button {
    min-height: 40px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: #f1f8ff;
}

.player-progress-block {
    width: min(980px, 100%);
    margin-top: 26px;
}

.player-progress {
    width: 100%;
    accent-color: #ffffff;
}

.player-time-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
    color: #c2d7ef;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 26px;
}

.player-control-button {
    width: 62px;
    height: 62px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: #f4fbff;
    font-size: 1.6rem;
}

.player-control-main {
    width: 82px;
    height: 82px;
    background: linear-gradient(180deg, #44d0ff, #637dff);
    color: #08111f;
    box-shadow: 0 0 34px rgba(68, 208, 255, 0.28);
}

.player-stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 18px;
    color: var(--text-soft);
}

.player-stats-row a {
    color: #7fe4ff;
}

.player-embed-shell {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.mini-player[hidden] {
    display: none;
}

.mini-player {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 26;
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(520px, calc(100vw - 36px));
}

.mini-player-card,
.mini-player-toggle {
    border: 1px solid rgba(84, 111, 152, 0.22);
    background: linear-gradient(90deg, rgba(11, 24, 54, 0.98), rgba(9, 26, 69, 0.98));
    box-shadow: 0 18px 40px rgba(3, 10, 26, 0.42);
}

.mini-player-card {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 72px;
    padding: 12px 16px;
    border-radius: 22px;
    color: #f4fbff;
    text-align: left;
}

.mini-player-cover-shell {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    overflow: hidden;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
}

.mini-player-cover-shell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mini-player-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 3px;
}

.mini-player-copy strong,
.mini-player-copy span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-player-copy strong {
    font-size: 1.05rem;
    font-weight: 800;
    text-transform: uppercase;
}

.mini-player-copy span {
    color: #b9d0ec;
    font-size: 0.96rem;
    letter-spacing: 0.08em;
}

.mini-player-toggle {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    color: #f4fbff;
    font-size: 1.7rem;
}

.login-body,
.dashboard-body {
    background:
        radial-gradient(circle at top left, rgba(0, 185, 255, 0.18), transparent 26%),
        linear-gradient(120deg, #040c16 0%, #081120 45%, #03070f 100%);
}

.login-page {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 24px;
}

.login-card {
    width: min(520px, 100%);
    padding: 32px;
    border: 1px solid rgba(58, 210, 255, 0.24);
    border-radius: 28px;
    background: rgba(6, 17, 34, 0.92);
    box-shadow: var(--shadow);
}

.login-back,
.dashboard-logo {
    color: #78dcff;
}

.login-kicker,
.dashboard-kicker,
.panel-kicker,
.sidebar-label {
    margin: 0 0 10px;
    color: #8fb0d7;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.login-card h1,
.dashboard-header h1,
.panel-head h2 {
    margin: 0;
}

.login-copy {
    margin: 12px 0 24px;
    color: var(--text-soft);
    line-height: 1.6;
}

.login-form,
.dashboard-form {
    display: grid;
    gap: 16px;
}

.login-form label,
.dashboard-form label {
    display: grid;
    gap: 8px;
}

.login-form label span,
.dashboard-form label span {
    color: #d3e7ff;
    font-size: 0.92rem;
    font-weight: 700;
}

.login-hint {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(84, 111, 152, 0.22);
    color: var(--text-soft);
}

.login-hint p {
    margin: 6px 0;
}

.flash-message {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 700;
}

.flash-success {
    background: rgba(77, 215, 166, 0.16);
    border: 1px solid rgba(77, 215, 166, 0.28);
    color: #93ffd7;
}

.flash-error {
    background: rgba(255, 107, 146, 0.16);
    border: 1px solid rgba(255, 107, 146, 0.3);
    color: #ffc0cf;
}

.dashboard-shell {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 22px;
    width: min(1600px, calc(100% - 32px));
    margin: 20px auto;
}

.dashboard-sidebar {
    position: sticky;
    top: 20px;
    align-self: start;
    display: grid;
    gap: 18px;
}

.dashboard-logo {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 4px;
}

.dashboard-logo img {
    max-width: 180px;
    max-height: 90px;
    object-fit: contain;
}

.dashboard-logo span {
    font-size: 0.84rem;
    letter-spacing: 0.3em;
}

.dashboard-logo strong {
    font-size: 1.8rem;
}

.sidebar-card,
.panel-card {
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(8, 18, 38, 0.88);
    box-shadow: var(--shadow);
}

.sidebar-card {
    padding: 20px;
}

.sidebar-card h2 {
    margin: 0 0 6px;
}

.sidebar-meta {
    margin: 0;
    color: var(--text-soft);
}

.sidebar-stats {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.sidebar-stats li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--text-soft);
}

.sidebar-stats strong {
    color: #f2f8ff;
    font-size: 1.25rem;
}

.sidebar-actions {
    display: grid;
    gap: 10px;
}

.sidebar-actions a,
.danger-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 16px;
    border: 1px solid rgba(84, 111, 152, 0.24);
    background: rgba(16, 28, 58, 0.78);
    color: #d9efff;
    font-weight: 700;
}

.danger-button {
    background: rgba(255, 107, 146, 0.12);
    border-color: rgba(255, 107, 146, 0.3);
    color: #ffc8d5;
}

.dashboard-main {
    display: grid;
    gap: 22px;
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 4px 0;
}

.dashboard-header-badge,
.panel-counter {
    display: inline-flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(13, 28, 58, 0.78);
    border: 1px solid rgba(58, 210, 255, 0.26);
    color: #88e4ff;
    font-weight: 700;
}

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

.panel-card {
    padding: 22px;
}

.panel-head {
    margin-bottom: 18px;
}

.panel-head-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

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

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

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

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

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

.preview-card {
    display: grid;
    gap: 10px;
}

.preview-card p {
    margin: 0;
    color: var(--text-soft);
    font-weight: 700;
}

.preview-card img,
.preview-fallback {
    width: 100%;
    height: 180px;
    border: 1px solid rgba(84, 111, 152, 0.24);
    border-radius: 18px;
}

.help-box {
    min-height: auto;
    padding: 14px 16px;
    place-items: start;
    text-align: left;
}

.mix-admin-list {
    display: grid;
    gap: 16px;
}

.subscriber-list {
    display: grid;
    gap: 14px;
}

.subscriber-item {
    padding: 16px 18px;
    border: 1px solid rgba(84, 111, 152, 0.2);
    border-radius: 18px;
    background: rgba(7, 15, 30, 0.7);
}

.subscriber-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.subscriber-copy {
    display: grid;
    gap: 6px;
}

.subscriber-main strong {
    color: #eef6ff;
    font-size: 1rem;
}

.subscriber-main span {
    color: var(--text-soft);
    font-size: 0.92rem;
}

.subscriber-delete-form {
    margin-left: auto;
}

.mix-admin-item {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr) 120px;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border: 1px solid rgba(84, 111, 152, 0.2);
    border-radius: 20px;
    background: rgba(7, 15, 30, 0.7);
}

.mix-admin-thumb {
    overflow: hidden;
    height: 110px;
    border-radius: 16px;
    background: rgba(13, 23, 40, 0.9);
}

.mix-admin-thumb img,
.mix-admin-thumb .preview-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mix-admin-top,
.mix-admin-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.mix-admin-label {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(57, 212, 255, 0.14);
    color: #7be7ff;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mix-admin-date,
.mix-admin-meta span,
.mix-admin-meta a {
    color: var(--text-soft);
    font-size: 0.9rem;
}

.mix-admin-content h3 {
    margin: 10px 0 8px;
    font-size: 1.18rem;
}

.mix-admin-content p {
    margin: 0 0 12px;
    color: var(--text-soft);
    line-height: 1.55;
}

.delete-form {
    justify-self: end;
}

@media (max-width: 1280px) {
    .mix-grid,
    .dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .dashboard-shell {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        position: static;
    }

    .mix-admin-item {
        grid-template-columns: 1fr;
    }

    .delete-form {
        justify-self: start;
    }
}

@media (max-width: 860px) {
    .layout,
    .site-footer,
    .dashboard-shell {
        width: min(100% - 24px, 1600px);
    }

    .hero-content,
    .subscribe-form,
    .site-footer,
    .dashboard-header,
    .panel-head-inline,
    .section-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-side {
        align-items: flex-start;
    }

    .subscribe-form button,
    .primary-button,
    .login-form button {
        width: 100%;
    }

    .two-columns,
    .three-columns,
    .image-previews {
        grid-template-columns: 1fr;
    }

    .player-stage {
        grid-template-columns: 1fr;
        padding-top: 14px;
    }

    .player-tracks-panel {
        position: static;
        display: none;
        width: 100%;
        max-height: 360px;
        transform: none;
        border-radius: 24px;
    }

    .player-tracks-panel.is-open {
        display: grid;
    }
}

@media (max-width: 640px) {
    .mix-grid {
        grid-template-columns: 1fr;
    }

    .cover-art {
        height: 320px;
    }

    .brand-main {
        font-size: 2.1rem;
    }

    .brand-name {
        font-size: 2.45rem;
    }

    .subscribe-head h1 {
        font-size: 1.42rem;
    }

    .instagram-button {
        flex-wrap: wrap;
        justify-content: center;
    }

    .login-card,
    .panel-card,
    .sidebar-card {
        padding: 18px;
    }

    .player-fullscreen {
        padding: 16px 12px 24px;
    }

    .mini-player {
        left: 50%;
        right: auto;
        bottom: 12px;
        width: auto;
        gap: 10px;
        transform: translateX(-50%);
    }

    .mini-player-card {
        min-height: 66px;
        padding: 10px 12px;
    }

    .mini-player-toggle {
        width: 66px;
        height: 66px;
    }

    .player-topbar {
        grid-template-columns: 44px 1fr 44px;
    }

    .player-meta h2 {
        font-size: 2.1rem;
    }

    .player-panel-head h3 {
        font-size: 1.4rem;
    }

    .player-tracks-list li {
        padding: 14px 16px 14px 50px;
    }

    .player-actions,
    .player-controls,
    .player-stats-row {
        gap: 10px;
    }
}
