/* My Demo Radio master stylesheet */
/* Cleaned from Styles, working.css: duplicates merged, repeated overrides collapsed, and sections grouped for easier maintenance. */

/* =========================================================
   TOKENS & BASE
   ========================================================= */

:root {
    --bg: #0f0f0f;
        --surface: rgba(18, 18, 18, 0.94);
        --surface-soft: rgba(255, 255, 255, 0.03);
        --text: #ffffff;
        --muted: #d7d7d7;
        --border: rgba(255, 255, 255, 0.14);
        --accent: #fff500;
        --accent-text: #111111;
        --container: 1240px;
        --header-height: 72px;
        --radius: 20px;
        --shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.28);
}

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

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

body {
    margin: 0;
        background: var(--bg);
        color: var(--text);
        font-family: Roboto, Arial, Helvetica, sans-serif;
        line-height: 1.5;
}

body::before {
    content: "";
        position: fixed;
        inset: 0;
        z-index: -1;
        background-image: url("/assets/img/mdr-background.png");
        background-size: cover;
        background-position: center top;
        background-repeat: no-repeat;
}

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

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

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

main {
    min-height: calc(100vh - var(--header-height));
}

/* =========================================================
   LAYOUT & NAVIGATION
   ========================================================= */

.container {
    width: min(calc(100% - 48px), var(--container));
        margin: 0 auto;
}

.site-header {
    position: sticky;
        top: 0;
        z-index: 1000;
        background: rgba(0, 0, 0, 0.94);
        border-bottom: 1px solid var(--border);
        backdrop-filter: blur(8px);
}

.header-inner {
    min-height: var(--header-height);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
}

.logo {
    display: inline-flex;
        align-items: center;
        padding: 10px 0;
        flex-shrink: 0;
}

.logo img {
    display: block;
        height: 40px;
        width: auto;
}

.nav-toggle {
    width: 42px;
        height: 42px;
        padding: 0;
        display: none;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: 1px solid var(--border);
        border-radius: 10px;
        color: var(--text);
        cursor: pointer;
}

.site-nav {
    display: flex;
        position: static;
        top: var(--header-height);
        left: 0;
        right: 0;
        padding: 0;
        background: transparent;
        border-bottom: 0;
        flex-direction: row;
        gap: 22px;
        align-items: center;
}

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

.site-nav a {
    font-size: 15px;
        line-height: 1.2;
}

.site-nav a.is-active {
    color: var(--accent);
}

.site-nav-dashboard a {
    text-transform: uppercase;
        font-size: 13px;
        letter-spacing: 0.02em;
        white-space: nowrap;
}

.site-nav-live {
    margin-left: auto;
        display: inline-flex;
        align-items: center;
}

.site-footer {
    border-top: 1px solid var(--border);
        padding: 24px 0;
        color: #cfcfcf;
        font-size: 15px;
}

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

.footer-copy {
    margin: 0;
}

.footer-nav {
    display: flex;
        flex-wrap: wrap;
        gap: 18px;
}

.footer-nav a {
    color: #cfcfcf;
        font-size: 14px;
        transition: color 0.2s ease;
}

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

.site-nav-dashboard {
    display: flex;
        position: static;
        padding: 0;
        background: transparent;
        border-bottom: 0;
        flex-direction: row;
        align-items: center;
        gap: 24px;
        width: 100%;
        justify-content: flex-start;
}

/* =========================================================
   FORMS & BUTTONS
   ========================================================= */

.button {
    display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 46px;
        padding: 0.95rem 1.5rem;
        border-radius: 6px;
        border: 0;
        font-size: 1rem;
        font-weight: 500;
        line-height: 1;
        transition: all 0.2s ease;
        cursor: pointer;
}

.button-primary {
    background: var(--accent);
        color: var(--accent-text);
}

.button-primary:hover {
    background: #ffffff;
        color: #111111;
}

.button-full-mobile {
    width: auto;
}

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

.form-field-full {
    grid-column: 1 / -1;
}

.form-label {
    display: block;
        margin: 0 0 8px;
        font-size: 14px;
        color: var(--text);
}

.form-input,
.form-textarea {
    width: 100%;
        border: 1px solid var(--border);
        background: rgba(255, 255, 255, 0.04);
        color: var(--text);
        border-radius: 10px;
        padding: 14px;
        outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.form-input:focus,
.form-textarea:focus {
    border-color: rgba(255, 245, 0, 0.55);
}

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

.role-choice {
    display: grid;
        grid-template-columns: 20px 1fr;
        column-gap: 12px;
        row-gap: 4px;
        align-items: start;
        border: 1px solid var(--border);
        border-radius: 14px;
        padding: 16px;
        cursor: pointer;
        background: rgba(255, 255, 255, 0.02);
}

.role-choice input {
    grid-column: 1;
        grid-row: 1 / span 2;
        margin: 3px 0 0;
}

.role-choice span {
    grid-column: 2;
        display: block;
        font-size: 18px;
        font-weight: 500;
        color: var(--text);
        margin: 0;
}

.role-choice small {
    grid-column: 2;
        display: block;
        color: var(--muted);
        font-size: 13px;
        line-height: 1.4;
}

.auth-step-label {
    display: inline-block;
        margin-bottom: 16px;
        color: var(--accent);
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
}

.auth-inline-link {
    color: var(--accent);
}

.dashboard-filter select.form-input,
.dashboard-filter select {
    appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        background: rgba(255, 255, 255, 0.04);
        color: var(--text);
        border: 1px solid var(--border);
        border-radius: 10px;
        padding: 14px 44px 14px 14px;
        background-image: linear-gradient(45deg, transparent 50%, var(--text) 50%), linear-gradient(135deg, var(--text) 50%, transparent 50%);
        background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
        background-size: 6px 6px, 6px 6px;
        background-repeat: no-repeat;
}

.dashboard-filter select.form-input:focus,
.dashboard-filter select:focus {
    border-color: rgba(255, 245, 0, 0.55);
        outline: none;
}

.dashboard-filter .form-label {
    color: var(--muted);
        margin-bottom: 8px;
}

.checkbox-chip-grid {
    display: flex;
        flex-wrap: wrap;
        gap: 10px;
}

.checkbox-chip {
    position: relative;
        display: inline-flex;
        align-items: center;
        min-height: 42px;
        padding: 10px 14px;
        border-radius: 999px;
        background: rgba(255,255,255,0.04);
        border: 1px solid rgba(255,255,255,0.10);
        cursor: pointer;
        transition: border-color 0.2s ease, background 0.2s ease;
}

.checkbox-chip input {
    position: absolute;
        opacity: 0;
        pointer-events: none;
}

.checkbox-chip span {
    color: #ffffff;
        font-size: 14px;
        line-height: 1;
}

.checkbox-chip:has(input:checked) {
    background: rgba(255,245,0,0.10);
        border-color: var(--accent);
}

.checkbox-chip:has(input:checked) span {
    color: #ffffff;
}

.custom-file-input {
    display: none;
}

.custom-file-button {
    display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        cursor: pointer;
}

.custom-file-note {
    display: block;
        margin-top: 8px;
        font-size: 13px;
        color: var(--muted);
        text-align: center;
}

.button-disabled {
    opacity: 0.6;
        pointer-events: none;
}

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

.song-setup-form .form-grid {
    margin-top: 4px;
}

.artist-profile-actions .button {
    width: 100%;
        justify-content: center;
        text-align: center;
}

.track-art-button {
    appearance: none;
        -webkit-appearance: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 46px;
        padding: 0;
        border-radius: 6px;
        border: 0;
        background: transparent;
        color: var(--accent);
        font: inherit;
        font-size: 1rem;
        font-weight: 500;
        line-height: 1;
        text-align: left;
        cursor: pointer;
        transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.track-order-actions{
    margin-bottom: 20px;
}

.track-art-button:hover,
.track-art-button:focus-visible {
    background: rgba(255, 255, 255, 0.06);
        border-color: rgba(255, 255, 255, 0.22);
        color: var(--text);
}

select.form-input,
.form-field select,
.listing-toolbar-filters select,
.dashboard-filter select {
    appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        width: 100%;
        background-color: #414141;
        color: #ffffff;
        border: 1px solid var(--border);
        border-radius: 10px;
        padding: 14px 44px 14px 14px;
        background-image: linear-gradient(45deg, transparent 50%, #ffffff 50%),
            linear-gradient(135deg, #ffffff 50%, transparent 50%);
        background-position: calc(100% - 18px) calc(50% - 3px),
            calc(100% - 12px) calc(50% - 3px);
        background-size: 6px 6px, 6px 6px;
        background-repeat: no-repeat;
}

select.form-input option,
.form-field select option,
.listing-toolbar-filters select option,
.dashboard-filter select option {
    background-color: #414141;
        color: #ffffff;
}

select.form-input option[disabled],
.form-field select option[disabled],
.listing-toolbar-filters select option[disabled],
.dashboard-filter select option[disabled] {
    color: #9b9b9b;
}

select.form-input:focus,
.form-field select:focus,
.listing-toolbar-filters select:focus,
.dashboard-filter select:focus {
    outline: none;
        border-color: rgba(255, 245, 0, 0.55);
        box-shadow: none;
}

/* =========================================================
   AUTH & MODAL
   ========================================================= */

.auth-open-button {
    appearance: none;
        -webkit-appearance: none;
}

.auth-modal {
    position: fixed;
        inset: 0;
        z-index: 2000;
        display: none;
        overflow-y: auto;
        padding: 24px 0;
}

.auth-modal.is-open {
    display: block;
}

.auth-modal-backdrop {
    position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.72);
        backdrop-filter: blur(6px);
}

.auth-modal-dialog {
    position: relative;
        z-index: 1;
        width: min(calc(100% - 32px), 760px);
        margin: 0 auto;
        background: #414141;
        border: 1px solid var(--border);
        border-radius: 20px;
        box-shadow: var(--shadow-soft);
        padding: 28px;
        max-height: calc(100vh - 48px);
        overflow-y: auto;
}

.auth-modal-close {
    position: absolute;
        top: 14px;
        right: 14px;
        width: 40px;
        height: 40px;
        border: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.06);
        color: var(--text);
        font-size: 24px;
        line-height: 1;
        cursor: pointer;
}

.auth-modal-header {
    margin-bottom: 20px;
        padding-right: 44px;
}

.auth-modal-header h2 {
    margin: 0 0 8px;
        font-size: 32px;
        line-height: 1.05;
        font-weight: 400;
}

.auth-modal-header p {
    margin: 0;
        color: var(--muted);
        font-size: 15px;
        font-weight: 300;
}

.auth-modal-tabs {
    display: flex;
        gap: 10px;
        margin-bottom: 20px;
}

.auth-tab {
    min-height: 44px;
        padding: 0.8rem 1.1rem;
        border: 1px solid var(--border);
        border-radius: 8px;
        background: transparent;
        color: var(--text);
        cursor: pointer;
}

.auth-tab.is-active {
    background: var(--accent);
        color: var(--accent-text);
        border-color: var(--accent);
}

.auth-panel {
    display: none;
}

.auth-panel.is-active {
    display: block;
}

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

.auth-form-links {
    margin-top: -4px;
}

.auth-form-links a {
    color: var(--accent);
        font-size: 14px;
}

.auth-form-actions {
    margin-top: 6px;
        display: flex;
        justify-content: flex-start;
}

.auth-switch-text {
    margin: 16px 0 0;
        color: var(--muted);
        font-size: 14px;
}

.auth-text-button {
    border: 0;
        background: transparent;
        color: var(--accent);
        cursor: pointer;
        padding: 0;
        font: inherit;
}

.auth-checkbox {
    display: flex;
        gap: 10px;
        align-items: flex-start;
        color: var(--muted);
        font-size: 14px;
}

.auth-checkbox input {
    margin-top: 3px;
}

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

.auth-helper-text {
    color: var(--muted);
        font-size: 14px;
}

.auth-flash {
    margin-bottom: 16px;
        padding: 12px 14px;
        border-radius: 10px;
        border: 1px solid var(--border);
        background: rgba(255, 255, 255, 0.04);
        color: var(--text);
        font-size: 14px;
}

.auth-flash-error {
    border-color: rgba(255, 120, 120, 0.35);
        background: rgba(255, 120, 120, 0.08);
}

.auth-progress-list {
    display: grid;
        gap: 12px;
}

.auth-progress-item {
    padding: 12px 14px;
        border: 1px solid var(--border);
        border-radius: 10px;
        color: var(--muted);
        font-size: 14px;
}

.auth-progress-item.is-active {
    border-color: rgba(255, 245, 0, 0.5);
        color: var(--text);
        background: rgba(255, 245, 0, 0.06);
}

.auth-progress-item.is-complete {
    color: var(--text);
        background: rgba(255, 255, 255, 0.04);
}

/* =========================================================
   DASHBOARD SHARED
   ========================================================= */

.modal-open {
    overflow: hidden;
}

.dashboard-page-hero {
    padding-bottom: 24px;
}

.dashboard-section {
    padding: 0 0 56px;
}

.dashboard-toolbar {
    margin-bottom: 24px;
}

.dashboard-filter {
    max-width: 320px;
}

.dashboard-filter select option {
    background: #414141;
        color: var(--text);
}

.dashboard-two-col,
.dashboard-two-col-artist {
    display: grid;
        grid-template-columns: 320px minmax(0, 1fr);
        gap: 24px;
        align-items: start;
}

.dashboard-panel {
    background: var(--surface-soft);
        border: 1px solid var(--border);
        border-radius: 18px;
        padding: 24px;
}

.dashboard-panel-header {
    display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        margin-bottom: 18px;
}

.dashboard-panel-header h2 {
    margin: 0;
        font-size: 28px;
        line-height: 1.1;
        font-weight: 400;
}

.account-summary-card {
    margin-bottom: 24px;
}

.account-summary-grid {
    display: grid;
        grid-template-columns: minmax(0, 1fr) 220px;
        gap: 24px;
        align-items: start;
}

.account-summary-main {
    display: grid;
        grid-template-columns: 120px minmax(0, 1fr);
        gap: 20px;
        align-items: start;
}

.account-summary-avatar {
    width: 120px;
        height: 120px;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid var(--border);
}

.account-summary-copy h2 {
    margin: 0 0 8px;
        font-size: 34px;
        line-height: 1;
        font-weight: 400;
}

.account-summary-subtitle {
    margin: 0 0 14px;
        color: var(--muted);
        font-size: 16px;
}

.account-summary-text {
    margin: 14px 0 0;
        color: var(--muted);
        font-size: 15px;
        font-weight: 300;
}

.account-detail-list {
    display: flex;
        flex-wrap: wrap;
        gap: 8px 10px;
}

.account-detail-list span {
    display: inline-flex;
        align-items: center;
        min-height: 32px;
        padding: 6px 10px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.08);
        font-size: 13px;
        color: #d9d9d9;
}

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

.account-stat-grid {
    display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px;
        margin-bottom: 24px;
}

.account-stat-card {
    padding: 22px;
}

.account-stat-label {
    display: inline-block;
        margin-bottom: 10px;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: var(--accent);
}

.account-stat-card strong {
    display: block;
        margin-bottom: 8px;
        font-size: 34px;
        line-height: 1;
        font-weight: 400;
        color: #ffffff;
}

.account-stat-card p {
    margin: 0;
        color: #c8c8c8;
        font-size: 14px;
}

.dashboard-three-col {
    display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
        margin-bottom: 24px;
}

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

.dashboard-mini-item {
    display: flex;
        justify-content: space-between;
        gap: 12px;
        align-items: start;
        padding: 14px;
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        background: rgba(255, 255, 255, 0.02);
}

.dashboard-mini-item strong {
    display: block;
        margin: 0 0 6px;
        font-size: 15px;
        line-height: 1.2;
}

.dashboard-mini-item p {
    margin: 0;
        color: #c7c7c7;
        font-size: 13px;
        line-height: 1.4;
}

.dashboard-mini-item span {
    display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 28px;
        padding: 0 10px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.06);
        color: #ffffff;
        font-size: 12px;
        white-space: nowrap;
}

.preference-tag-grid {
    display: flex;
        flex-wrap: wrap;
        gap: 10px;
}

.preference-tag {
    display: inline-flex;
        align-items: center;
        min-height: 36px;
        padding: 8px 12px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.08);
        color: #ffffff;
        font-size: 13px;
}

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

.gallery-tile {
    aspect-ratio: 1 / 1;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid var(--border);
        position: relative;
        overflow: hidden;
}

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

.song-item {
    display: grid;
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 16px;
        align-items: center;
        border: 1px solid var(--border);
        border-radius: 14px;
        padding: 14px;
        background: rgba(255, 255, 255, 0.02);
}

.song-item-actions {
    margin-left: auto;
        flex: 0 0 auto;
        display: flex;
        flex-direction: row;
        gap: 8px;
        align-items: center;
        justify-content: center;
}

.song-action-button {
    background: transparent;
        padding: 0;
        min-width: 0;
        min-height: 0;
        line-height: 1;
        opacity: 0.9;
        width: 36px;
        height: 36px;
        border: 0;
        border-radius: 999px;
        color: #ffffff;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        transition: transform 0.2s ease, background 0.2s ease;
}

.song-thumb {
    aspect-ratio: 1 / 1;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.08);
        position: relative;
        overflow: hidden;
}

.song-meta h3 {
    margin: 0 0 6px;
        font-size: 20px;
        line-height: 1.1;
        font-weight: 400;
}

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

.media-play-button {
    position: absolute;
        inset: 0;
        border: 0;
        background: rgba(0, 0, 0, 0.28);
        color: #ffffff;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        z-index: 2;
        transition: background 0.2s ease;
}

.media-play-button:hover,
.media-play-button:focus-visible,
.media-play-button.is-playing {
    background: rgba(0, 0, 0, 0.45);
}

.media-play-button:disabled {
    cursor: default;
        opacity: 0.55;
}

.media-play-button-icon {
    width: 52px;
        height: 52px;
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.12);
        color: #ffffff;
        font-size: 18px;
        line-height: 1;
        pointer-events: none;
}

.dashboard-hero {
    position: relative;
        padding: 0 0 32px;
}

.dashboard-cover {
    height: 460px;
        background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
        border-bottom: 1px solid var(--border);
        position: relative;
        z-index: 0;
}

.dashboard-cover-inner {
    height: 100%;
        display: flex;
        justify-content: flex-end;
        align-items: flex-start;
        padding-top: 18px;
}

.dashboard-cover-edit-button {
    display: inline-flex;
        align-items: center;
        min-height: 36px;
        padding: 0.65rem 0.9rem;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 999px;
        background: rgba(0, 0, 0, 0.28);
        color: var(--text);
        font-size: 13px;
        line-height: 1;
        backdrop-filter: blur(6px);
        transition: background 0.2s ease, border-color 0.2s ease;
}

.dashboard-cover-edit-button:hover {
    background: rgba(0, 0, 0, 0.42);
        border-color: rgba(255, 255, 255, 0.26);
}

.dashboard-hero-inner {
    position: relative;
        z-index: 1;
        margin-top: -56px;
}

.stat-pill {
    display: inline-flex;
        padding: 6px 10px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.06);
        color: var(--muted);
        font-size: 12px;
        white-space: nowrap;
}

.current-spin-card {
    border: 1px solid var(--border);
        border-radius: 14px;
        padding: 14px;
        margin-bottom: 16px;
        background: rgba(255, 255, 255, 0.02);
}

.current-spin-card strong {
    display: block;
        margin-bottom: 6px;
        font-weight: 500;
}

.current-spin-card span {
    color: var(--muted);
        font-size: 14px;
}

.song-cover-upload-wrap {
    margin-top: 20px;
        display: grid;
        gap: 10px;
        justify-items: center;
}

.song-cover-preview {
    min-height: 280px;
}

.song-upload-meta {
    display: flex;
        flex-direction: column;
        gap: 10px;
}

.song-upload-notes {
    display: flex;
        flex-direction: column;
        gap: 4px;
}

.dashboard-empty-state {
    padding: 20px;
        border: 1px dashed rgba(255, 255, 255, 0.18);
        border-radius: 16px;
}

.song-play-button {
    position: absolute;
        inset: 0;
        border: 0;
        background: rgba(0, 0, 0, 0.28);
        color: #ffffff;
        font-size: 28px;
        cursor: pointer;
        transition: background 0.2s ease;
}

.song-play-button:hover,
.song-play-button.is-playing {
    background: rgba(0, 0, 0, 0.45);
}

.dashboard-modal {
    position: fixed;
        inset: 0;
        display: none;
        align-items: center;
        justify-content: center;
        padding: 40px 16px;
        z-index: 1000;
        overflow-y: auto;
        overscroll-behavior: contain;
}

.dashboard-modal.is-open {
    display: block;
}

.dashboard-modal-backdrop {
    position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.7);
        backdrop-filter: blur(6px);
}

.dashboard-modal-dialog {
    position: relative;
        width: min(680px, calc(100vw - 32px));
        max-height: 90vh;
        overflow-y: auto;
        background: #414141;
        border-radius: 24px;
        padding: 22px 18px;
        box-shadow: 0 24px 64px rgba(0,0,0,0.45);
        margin: 5vh auto;
        border: 1px solid rgba(255,255,255,0.08);
}

.dashboard-modal-close {
    position: absolute;
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
        border: 0;
        border-radius: 999px;
        cursor: pointer;
        font-size: 24px;
        background: rgba(255,255,255,0.06);
        color: #fff;
}

.dashboard-modal-header {
    margin-bottom: 24px;
}

.dashboard-modal-header h2 {
    margin-bottom: 8px;
}

.dashboard-modal-actions {
    display: flex;
        justify-content: flex-end;
        gap: 12px;
        margin-top: 24px;
}

.song-upload-modal-layout {
    display: grid;
        grid-template-columns: 1fr;
        gap: 24px;
        align-items: start;
}

.song-upload-modal-media,
.song-upload-modal-form {
    display: flex;
        flex-direction: column;
        gap: 16px;
}

.gallery-tile-overlay {
    position: absolute;
        inset: 0;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 10px;
        padding: 12px;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.08));
        opacity: 0;
        transition: opacity 0.2s ease;
}

.gallery-tile:hover .gallery-tile-overlay,
.gallery-tile:focus-within .gallery-tile-overlay {
    opacity: 1;
}

.gallery-lightbox-dialog {
    width: min(1100px, 96vw);
        padding: 20px;
        background: rgba(12, 16, 24, 0.96);
}

.gallery-lightbox-inner {
    display: grid;
        grid-template-columns: 56px minmax(0, 1fr) 56px;
        gap: 16px;
        align-items: center;
}

.gallery-lightbox-stage {
    display: flex;
        align-items: center;
        justify-content: center;
        min-height: 60vh;
}

.gallery-lightbox-stage img {
    max-width: 100%;
        max-height: 75vh;
        border-radius: 18px;
        display: block;
}

.gallery-lightbox-nav {
    width: 56px;
        height: 56px;
        border: 0;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.12);
        color: #ffffff;
        cursor: pointer;
        font-size: 32px;
        line-height: 1;
}

.gallery-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.dashboard-panel-gallery,
.dashboard-panel-songs {
    min-width: 0;
}

.dashboard-panel-gallery .gallery-grid {
    gap: 10px;
}

.dashboard-panel-gallery .gallery-tile {
    aspect-ratio: 1 / 1;
        min-height: 90px;
}

.dashboard-panel-songs .song-list {
    gap: 12px;
}

.dashboard-panel-songs .song-item {
    display: flex;
        align-items: center;
        gap: 16px;
        border: 1px solid var(--border);
        border-radius: 14px;
        padding: 14px;
        background: rgba(255, 255, 255, 0.02);
        grid-template-columns: 88px minmax(0, 1fr) 80px;
}

.dashboard-panel-songs .song-thumb {
    width: 56px;
        min-width: 56px;
        height: 56px;
        border-radius: 12px;
}

.dashboard-panel-songs .song-meta {
    min-width: 0;
}

.dashboard-panel-songs .song-meta h3,
.dashboard-panel-songs .song-meta p {
    overflow-wrap: anywhere;
        word-break: break-word;
}

.dashboard-modal-dialog,
.dashboard-modal-dialog-lg,
.dashboard-modal-dialog-form {
    position: relative;
        z-index: 1;
        width: min(680px, calc(100vw - 24px));
        margin: 0 auto;
        padding: 28px;
        border-radius: 24px;
        background: #414141;
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
        max-width: 100%;
}

.dashboard-modal-dialog-lg,
.dashboard-modal-dialog-form {
    width: min(860px, calc(100vw - 24px));
}

.dashboard-modal-dialog-form {
    max-height: 90vh;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        width: min(920px, calc(100vw - 24px));
}

.dashboard-modal-body {
    display: grid;
        gap: 20px;
}

.dashboard-modal-body-form {
    overflow-y: auto;
        padding-right: 4px;
        min-height: 0;
}

.dashboard-modal-footer {
    position: sticky;
        bottom: 0;
        display: flex;
        justify-content: flex-end;
        gap: 12px;
        margin-top: 4px;
        padding-top: 16px;
        background: #414141;
        border-top: 1px solid rgba(255,255,255,0.08);
}

.song-setup-shell {
    display: flex;
        flex-direction: column;
        gap: 24px;
}

.song-setup-intro p {
    margin: 0;
}

.song-setup-layout {
    display: grid;
        grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
        gap: 24px;
        align-items: start;
}

.song-setup-media,
.song-setup-form {
    display: flex;
        flex-direction: column;
        gap: 18px;
}

.stat-panel {
    padding: 24px;
}

.promo-panel h2,
            .dashboard-modal-header h2 {
    margin: 0 0 8px;
}

.promo-panel p,
            .dashboard-panel-subtitle,
            .dashboard-modal-header p {
    margin: 0;
        color: #c8c8c8;
}

.dashboard-modal-dialog-lg {
    width: min(860px, calc(100vw - 32px));
}

.dashboard-panel-header-tight {
    margin-bottom: 16px;
}

.dashboard-modal-dialog,
            .dashboard-modal-dialog-lg,
            .dashboard-modal-dialog-form {
    width: min(680px, calc(100vw - 32px));
        margin: 5vh auto;
        padding: 28px;
}

.dashboard-modal-dialog-lg,
            .dashboard-modal-dialog-form {
    width: min(860px, calc(100vw - 32px));
}

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

/* =========================================================
   MARKETING PAGES
   ========================================================= */

.hero-copy {
    max-width: none;
        padding-right: 48px;
}

.hero-copy h1 {
    margin: 0 0 18px;
        font-size: 60px;
        line-height: 1;
        font-weight: 400;
}

.hero-copy .lead {
    margin: 0;
        max-width: none;
        color: var(--text);
        font-size: 16px;
        font-weight: 300;
}

.hero-actions {
    margin-top: 28px;
}

.hero-player-wrap {
    display: flex;
        justify-content: flex-end;
        align-items: center;
}

.page-hero {
    padding: 72px 0 36px;
}

.page-hero-copy {
    max-width: 760px;
}

.page-hero-copy h1 {
    margin: 0 0 14px;
        font-size: clamp(2.4rem, 5vw, 4rem);
        line-height: 1;
        font-weight: 400;
}

.page-hero-copy p {
    margin: 0;
        color: var(--muted);
        font-size: 1rem;
        font-weight: 300;
}

.hero-home {
    position: relative;
        min-height: calc(100vh - var(--header-height));
        display: flex;
        align-items: center;
        overflow: hidden;
        background-image: url("/assets/img/hero-image.jpg");
        background-size: cover;
        background-position: 62% center;
        background-repeat: no-repeat;
}

.hero-home-overlay {
    position: absolute;
        inset: 0;
        background: linear-gradient(
            90deg,
            rgba(10, 10, 10, 0.80) 0%,
            rgba(10, 10, 10, 0.64) 34%,
            rgba(10, 10, 10, 0.38) 58%,
            rgba(10, 10, 10, 0.56) 100%
        );
        z-index: 1;
}

.hero-home-inner {
    position: relative;
        z-index: 2;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        align-items: center;
        padding: 64px 0;
}

.radio-popup-static {
    width: 300px;
        min-height: 300px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        background: rgba(26, 18, 42, 0.92);
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 22px;
        padding: 18px;
        box-shadow: var(--shadow-soft);
        backdrop-filter: blur(10px);
}

.radio-popup-top {
    display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
}

.radio-badge {
    display: inline-flex;
        align-items: center;
        min-height: 28px;
        padding: 4px 10px;
        border-radius: 999px;
        background: rgba(255, 245, 0, 0.14);
        color: var(--accent);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
}

.radio-status {
    font-size: 11px;
        font-weight: 700;
        color: #d8d8d8;
        text-transform: uppercase;
        letter-spacing: 0.04em;
}

.radio-player-body {
    display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        text-align: center;
        flex: 1;
}

.radio-player-disc {
    width: 120px;
        height: 120px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: radial-gradient(circle at center, #2a2140 0%, #2a2140 28%, #0d0d0d 29%, #0d0d0d 47%, #4c3f6b 48%, #1a1525 100%);
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.05);
}

.radio-player-disc span {
    display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: var(--accent);
        color: #111111;
        font-size: 14px;
        font-weight: 700;
}

.radio-kicker {
    margin: 0 0 6px;
        color: #c2b0e3;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
}

.radio-popup-body h2 {
    margin: 0 0 8px;
        font-size: 28px;
        line-height: 1.05;
        font-weight: 400;
}

.radio-text {
    margin: 0;
        color: #d1d1d1;
        font-size: 14px;
}

.radio-player-footer {
    display: flex;
        justify-content: center;
        gap: 8px;
}

.radio-player-footer span {
    display: block;
        height: 6px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.18);
}

.radio-player-footer span:nth-child(1) {
    width: 42px;
}

.radio-player-footer span:nth-child(2) {
    width: 72px;
        background: rgba(255, 245, 0, 0.65);
}

.radio-player-footer span:nth-child(3) {
    width: 32px;
}

.benefit-section,
.pricing-benefits-section {
    padding: 24px 0 64px;
}

.benefit-row {
    display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        align-items: center;
        margin-bottom: 56px;
}

.benefit-row:last-child {
    margin-bottom: 0;
}

.benefit-image img {
    width: 100%;
        height: auto;
        display: block;
}

.benefit-copy {
    padding-top: 8px;
        padding-bottom: 8px;
}

.benefit-copy-left {
    padding-left: 48px;
}

.benefit-copy-right {
    padding-right: 48px;
}

.benefit-copy h2 {
    margin: 0 0 6px;
        font-size: 30px;
        line-height: 1.1;
        font-weight: 400;
        white-space: nowrap;
}

.benefit-copy hr {
    margin: 0 0 22px;
        border: 0;
        border-top: 2px solid rgba(255, 255, 255, 0.8);
}

.benefit-copy p {
    margin: 0 0 24px;
        color: var(--text);
        font-size: 16px;
        font-weight: 300;
}

.info-section,
.pricing-section,
.faq-section,
.contact-section,
.legal-section {
    padding: 12px 0 48px;
}

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

.info-card,
.pricing-card,
.faq-item,
.contact-card,
.cta-panel,
.legal-content,
.contact-form-wrap,
.contact-detail-card {
    background: var(--surface-soft);
        border: 1px solid var(--border);
        border-radius: 18px;
        padding: 24px;
}

.info-step {
    display: inline-block;
        margin-bottom: 14px;
        color: var(--accent);
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.06em;
}

.info-card h2,
.faq-item h2,
.contact-card h2,
.split-copy h2,
.cta-panel h2,
.legal-content h2,
.contact-detail-card h2 {
    margin: 0 0 10px;
        font-size: 24px;
        line-height: 1.1;
        font-weight: 400;
}

.info-card p,
.faq-item p,
.contact-card p,
.split-copy p,
.cta-panel p,
.legal-content p,
.contact-detail-card p {
    margin: 0 0 12px;
        color: var(--muted);
        font-size: 15px;
        font-weight: 300;
}

.faq-list {
    display: grid;
        gap: 18px;
}

.split-section {
    padding: 16px 0 40px;
}

.split-row {
    display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
}

.cta-section {
    padding: 0 0 64px;
}

.pricing-section-clean {
    padding: 12px 0 56px;
}

.pricing-card {
    display: flex;
        flex-direction: column;
        height: 100%;
}

.pricing-card-header {
    margin-bottom: 18px;
}

.pricing-card h2 {
    margin: 0 0 8px;
        font-size: 30px;
        line-height: 1.05;
        font-weight: 400;
}

.pricing-card-subtitle {
    margin: 0 0 18px;
        color: var(--text);
        opacity: 0.85;
        font-size: 14px;
        min-height: 36px;
}

.pricing-price {
    margin: 0 0 18px;
        font-size: 40px;
        line-height: 1;
        color: var(--accent);
        font-weight: 400;
}

.pricing-price span {
    font-size: 20px;
        color: var(--text);
}

.pricing-card p {
    margin: 0 0 16px;
        color: var(--muted);
        font-size: 15px;
        font-weight: 300;
}

.pricing-list {
    margin: 0 0 24px;
        padding-left: 18px;
        color: var(--muted);
}

.pricing-list li + li {
    margin-top: 8px;
}

.contact-hero {
    padding-bottom: 28px;
}

.contact-section {
    padding: 0 0 56px;
}

.contact-main-row {
    display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        align-items: start;
        margin-bottom: 32px;
}

.contact-copy-left {
    padding-right: 48px;
}

.contact-copy-right {
    padding-left: 48px;
}

.contact-main-copy p {
    margin: 0;
        color: var(--muted);
        font-size: 16px;
        font-weight: 300;
}

.contact-form-actions {
    margin-top: 20px;
        display: flex;
        justify-content: flex-start;
}

.contact-details-grid {
    display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 22px;
}

/* =========================================================
   ONBOARDING & PAYMENT
   ========================================================= */

.auth-page-hero {
    padding-bottom: 28px;
}

.auth-page-section {
    padding: 0 0 56px;
}

.auth-page-layout {
    display: grid;
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 22px;
        align-items: start;
}

.auth-page-main-card,
.auth-page-side-card {
    background: var(--surface-soft);
        border: 1px solid var(--border);
        border-radius: 18px;
        padding: 24px;
}

.auth-page-title {
    margin: 0 0 12px;
        font-size: 30px;
        line-height: 1.05;
        font-weight: 400;
}

.auth-page-text {
    margin: 0 0 16px;
        color: var(--text);
        font-size: 16px;
        font-weight: 300;
}

.auth-page-text-muted {
    color: var(--muted);
}

.auth-page-actions, .artist-profile-edit-actions {
    margin-top: 24px;
        display: flex;
        justify-content: flex-end;
}

.payment-layout {
    display: grid;
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 22px;
        align-items: start;
}

.payment-main-card {
    background: var(--surface-soft);
        border: 1px solid var(--border);
        border-radius: 18px;
        padding: 24px;
}

.payment-selected-role {
    margin-bottom: 20px;
}

.payment-selected-label {
    margin: 0 0 8px;
        color: var(--accent);
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
}

.payment-selected-role h2 {
    margin: 0 0 8px;
        font-size: 32px;
        line-height: 1.05;
        font-weight: 400;
}

.payment-selected-subtitle {
    margin: 0 0 10px;
        color: var(--muted);
        font-size: 15px;
}

.payment-change-link {
    margin: 0;
        color: var(--muted);
        font-size: 14px;
}

.payment-change-link a {
    color: var(--accent);
}

.payment-plan-card,
.payment-placeholder-card {
    border: 1px solid var(--border);
        border-radius: 16px;
        padding: 20px;
        background: rgba(255, 255, 255, 0.02);
}

.payment-plan-card {
    margin-bottom: 18px;
}

.payment-plan-header {
    display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 18px;
        align-items: start;
        margin-bottom: 16px;
}

.payment-plan-header h2 {
    margin: 0 0 8px;
        font-size: 30px;
        line-height: 1.05;
        font-weight: 400;
}

.payment-plan-subtitle {
    margin: 0;
        color: var(--muted);
        font-size: 14px;
}

.payment-price {
    font-size: 40px;
        line-height: 1;
        color: var(--accent);
        font-weight: 400;
        white-space: nowrap;
}

.payment-price span {
    font-size: 20px;
        color: var(--text);
}

.payment-plan-summary {
    margin: 0 0 16px;
        color: var(--muted);
        font-size: 15px;
        font-weight: 300;
}

.payment-feature-list {
    margin: 0;
        padding-left: 18px;
        color: var(--muted);
}

.payment-feature-list li + li {
    margin-top: 8px;
}

.payment-placeholder-card h3 {
    margin: 0 0 10px;
        font-size: 24px;
        line-height: 1.1;
        font-weight: 400;
}

.payment-placeholder-card p {
    margin: 0 0 18px;
        color: var(--muted);
        font-size: 15px;
        font-weight: 300;
}

.payment-actions {
    margin-top: 20px;
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
}

.payment-button-secondary {
    background: transparent;
        color: var(--text);
        border: 1px solid var(--border);
}

.payment-button-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
}

.onboarding-media-grid {
    display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px;
}

.onboarding-upload-card {
    border: 1px solid var(--border);
        border-radius: 16px;
        padding: 20px;
        background: rgba(255, 255, 255, 0.02);
        text-align: center;
}

.onboarding-upload-card p {
    margin: 0 0 16px;
        color: var(--muted);
        font-size: 15px;
        font-weight: 300;
}

.onboarding-media-preview {
    height: 180px;
        border: 1px dashed rgba(255, 255, 255, 0.22);
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 16px;
        color: var(--muted);
        background: rgba(255, 255, 255, 0.02);
}

.onboarding-media-preview-circle {
    width: 180px;
        height: 180px;
        margin-left: auto;
        margin-right: auto;
        border-radius: 50%;
}

.onboarding-image-preview {
    overflow: hidden;
        padding: 0;
        position: relative;
}

.onboarding-image-preview img {
    display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
}

.onboarding-preview-placeholder {
    display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
}

/* =========================================================
   ARTIST PAGES
   ========================================================= */

.artist-profile-card {
    background: #414141;
        border: 1px solid var(--border);
        border-radius: 18px;
        padding: 24px;
        display: grid;
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 24px;
        align-items: stretch;
        position: relative;
        z-index: 2;
}

.artist-profile-summary {
    grid-column: span 4;
        display: flex;
        flex-direction: row;
        gap: 20px;
        align-items: center;
        min-width: 0;
}

.artist-avatar {
    width: 120px;
        height: 120px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid var(--border);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
}

.artist-profile-copy h1 {
    margin: 0 0 12px;
        font-size: 36px;
        line-height: 1;
        font-weight: 400;
        margin-bottom: 12px;
}

.artist-profile-copy p {
    margin: 0 0 8px;
        color: var(--muted);
}

.artist-profile-bio {
    grid-column: span 5;
        display: flex;
        flex-direction: column;
        justify-content: start;
        min-width: 0;
}

.artist-profile-bio h2 {
    margin: 0 0 12px;
        font-size: 24px;
        line-height: 1.1;
        font-weight: 400;
}

.artist-profile-bio p {
    margin: 0;
        color: var(--muted);
        font-size: 15px;
        font-weight: 300;
}

.artist-profile-actions {
    grid-column: span 3;
        display: flex;
        flex-direction: column;
        justify-content: start;
        gap: 12px;
}

.artist-cover-form,
.artist-gallery-upload-form {
    display: inline-flex;
}

.artist-profile-readonly {
    display: block;
}

.artist-profile-edit-form {
    display: none;
        margin-top: 8px;
        grid-column: 1 / -1;
        padding-top: 24px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.artist-profile-save-button,
.artist-profile-cancel-button {
    display: none;
}

.artist-profile-card.is-editing .artist-profile-readonly {
    display: none;
}

.artist-profile-card.is-editing .artist-profile-edit-form {
    display: block;
}

.artist-profile-card.is-editing .artist-profile-save-button,
.artist-profile-card.is-editing .artist-profile-cancel-button {
    display: inline-flex;
}

.artist-avatar-wrap {
    flex: 0 0 120px;
}

.artist-profile-copy {
    flex: 1 1 auto;
        min-width: 0;
}

.artist-profile-edit-header {
    margin-bottom: 16px;
}

.artist-real-name {
    margin: 0 0 12px;
        font-size: 14px;
        line-height: 1.4;
        opacity: 0.8;
}

/* =========================================================
   DISCOVERY & MUSIC
   ========================================================= */

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

.discover-card {
    background: var(--surface-soft);
        border: 1px solid var(--border);
        border-radius: 18px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
}

.discover-card-cover {
    height: 180px;
        background: rgba(255, 255, 255, 0.06);
}

.discover-card-body {
    padding: 20px;
}

.discover-card-top {
    display: flex;
        justify-content: space-between;
        gap: 12px;
        align-items: start;
        margin-bottom: 12px;
}

.discover-card-top h3 {
    margin: 0;
        font-size: 22px;
        line-height: 1.1;
        font-weight: 400;
}

.discover-card-body p {
    margin: 0 0 16px;
        color: var(--muted);
        font-size: 15px;
        font-weight: 300;
}

.discover-card-actions {
    display: flex;
        gap: 10px;
        flex-wrap: wrap;
}

.genre-chip {
    appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
        width: 100%;
        min-height: 52px;
        padding: 12px 14px;
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        background: #141414;
        color: #ffffff;
        font: inherit;
        font-size: 15px;
        line-height: 1.2;
        text-align: left;
        cursor: pointer;
        box-shadow: none;
        transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.genre-chip:hover,
.genre-chip:focus-visible {
    border-color: rgba(255, 255, 255, 0.24);
        background: #1a1a1a;
}

.genre-chip.is-active {
    background: rgba(255, 245, 0, 0.08);
        border-color: var(--accent);
        color: #ffffff;
}

.genre-chip-plus {
    display: inline-block;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        color: var(--accent);
        font-weight: 700;
        font-size: 16px;
        line-height: 1;
        margin-right: 8px;
}

.music-stats-grid {
    display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
        margin-bottom: 24px;
}

.stat-kicker,
            .track-stats-inline span {
    display: block;
        margin-bottom: 6px;
        font-size: 12px;
        text-transform: uppercase;
        color: #b5b5b5;
}

.stat-row strong,
            .track-stats-inline strong {
    font-size: 30px;
        line-height: 1;
        color: #ffffff;
}

.promo-panel {
    display: grid;
        grid-template-columns: 1.6fr auto;
        gap: 24px;
        align-items: center;
        margin-bottom: 24px;
}

.track-list {
    display: grid;
        gap: 20px;
}

.track-card {
    display: grid;
        grid-template-columns: 28px 140px minmax(0, 1fr) 120px;
        gap: 20px;
        align-items: start;
        padding: 20px;
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 18px;
        background: rgba(255,255,255,0.02);
}

.track-card-handle {
    padding-top: 12px;
        font-size: 20px;
        color: #9f9f9f;
        cursor: grab;
        user-select: none;
}

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

.track-art-placeholder {
    display: flex;
        align-items: center;
        justify-content: center;
        min-height: 120px;
        border-radius: 16px;
        background: #1b1b1b;
        color: #9f9f9f;
        text-transform: uppercase;
        font-size: 12px;
        letter-spacing: 0.06em;
}

.track-art-placeholder.large {
    min-height: 180px;
}

.track-card-top {
    display: flex;
        justify-content: space-between;
        gap: 16px;
        align-items: start;
        margin-bottom: 18px;
}

.track-card-top h3 {
    margin: 0 0 6px;
}

.track-card-top p {
    margin: 0;
        color: #bdbdbd;
}

.track-stats-inline {
    display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
        margin-bottom: 18px;
}

.track-card-side {
    display: flex;
        justify-content: flex-end;
        padding-top: 8px;
}

.track-list-compact {
    gap: 12px;
}

.track-card.track-card-compact {
    grid-template-columns: 24px 56px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
}

.track-card-handle-compact {
    padding-top: 0;
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    font-size: 16px;
    color: #9f9f9f;
}

.track-card-art-compact {
    position: relative;
    width: 56px;
    min-width: 56px;
    height: 56px;
    display: block;
}

.track-art-image {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.08);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.track-art-play {
    position: absolute;
    inset: 0;
    border: 0;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.28);
    color: #ffffff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.track-art-play:hover,
.track-art-play:focus-visible,
.track-art-play.is-playing {
    background: rgba(0, 0, 0, 0.45);
}

.track-card-main-compact {
    min-width: 0;
    display: grid;
    gap: 10px;
}

.track-card-top-compact {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 14px;
    margin-bottom: 0;
}

.track-card-title-wrap {
    min-width: 0;
}

.track-card-title-wrap h3 {
    margin: 0 0 6px;
    font-size: 20px;
    line-height: 1.1;
    font-weight: 400;
}

.track-card-title-wrap p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.track-card-actions-compact {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.track-card-actions-compact .button {
    min-height: 36px;
    padding: 0.6rem 0.9rem;
    font-size: 13px;
    white-space: nowrap;
}

.track-delete-form {
    margin: 0;
}

.track-inline-delete {
    min-height: 36px;
    padding: 0.6rem 0.9rem;
    border: 1px solid rgba(255, 120, 120, 0.24);
    border-radius: 10px;
    background: rgba(255, 120, 120, 0.08);
    color: #ffffff;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.track-inline-delete:hover,
.track-inline-delete:focus-visible {
    background: rgba(255, 120, 120, 0.14);
    border-color: rgba(255, 120, 120, 0.36);
}

.track-stats-inline-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 0;
}

.track-stat-chip {
    display: inline-grid;
    gap: 4px;
    min-width: 110px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
}

.track-stat-chip span {
    margin: 0;
    font-size: 11px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #b5b5b5;
}

.track-stat-chip strong {
    font-size: 16px;
    line-height: 1.1;
    color: #ffffff;
    font-weight: 500;
}

.track-card-side-compact {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-top: 0;
    min-width: 110px;
}

.spin-toggle-working {
    display: grid;
    gap: 8px;
    justify-items: end;
    font-size: 11px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #bdbdbd;
}

.spin-toggle-working input {
    width: 18px;
    height: 18px;
}

/* Optional polish so current spin cards align a little better */
.track-card.track-card-compact .payment-button-secondary {
    border-radius: 10px;
}

/* Keep long titles and metadata from breaking layout */
.track-card.track-card-compact,
.track-card.track-card-compact > * {
    min-width: 0;
}

.spin-toggle {
    display: grid;
        gap: 10px;
        justify-items: end;
        font-size: 13px;
        text-transform: uppercase;
        color: #d8d8d8;
}

.spin-toggle input {
    width: 18px;
        height: 18px;
}

.upload-file-panel {
    display: grid;
        gap: 12px;
        justify-items: start;
}

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

.upload-block {
    display: grid;
        gap: 12px;
}

.upload-block-label {
    margin: 0;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: #b5b5b5;
}

.upload-dropzone {
    display: grid;
        gap: 10px;
        justify-items: center;
        align-content: center;
        min-height: 220px;
        padding: 20px;
        border: 1px dashed rgba(255,255,255,0.16);
        border-radius: 18px;
        background: rgba(255,255,255,0.03);
        text-align: center;
}

.upload-dropzone-icon {
    font-size: 40px;
        line-height: 1;
        color: var(--accent);
}

.upload-dropzone strong {
    font-size: 18px;
        color: #fff;
}

.upload-dropzone span {
    font-size: 13px;
        color: #bdbdbd;
}

.track-card-actions {
    display: flex;
        gap: 10px;
        flex-wrap: wrap;
}

.spin-toggle-inline {
    justify-items: start;
}

.music-scroll-row {
    display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(150px, 180px);
        gap: 16px;
        overflow-x: auto;
        padding-bottom: 6px;
        scroll-snap-type: x proximity;
}

.music-scroll-row.compact {
    grid-auto-columns: minmax(140px, 170px);
}

.music-scroll-row::-webkit-scrollbar {
    height: 8px;
}

.music-scroll-row::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.16);
        border-radius: 999px;
}

.music-tile {
    scroll-snap-align: start;
        display: grid;
        gap: 10px;
}

.music-tile h3 {
    margin: 0;
        font-size: 15px;
        color: #ffffff;
}

.music-tile p {
    margin: 0;
        font-size: 13px;
        color: #bdbdbd;
}

.music-tile-art {
    position: relative;
        min-height: 160px;
        border-radius: 18px;
        background: linear-gradient(180deg, #232323 0%, #141414 100%);
        border: 1px solid rgba(255, 255, 255, 0.06);
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
}

.music-tile-badge {
    position: absolute;
        top: 12px;
        left: 12px;
        padding: 6px 10px;
        border-radius: 999px;
        background: var(--accent);
        color: #111111;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
}

.matched-results-panel {
    margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-label {
    margin: 0 0 16px;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: #b5b5b5;
}

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

.promo-kicker {
    margin: 0 0 8px;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: var(--accent);
}

.upload-cover-preview,
            .edit-track-cover {
    display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        aspect-ratio: 1 / 1;
        max-width: 180px;
        border-radius: 16px;
        background: #1b1b1b;
        color: #9f9f9f;
        text-transform: uppercase;
        font-size: 12px;
        letter-spacing: 0.06em;
}

.edit-track-hero {
    display: grid;
        grid-template-columns: 180px minmax(0, 1fr);
        gap: 20px;
        align-items: center;
}

.edit-track-summary h3 {
    margin: 0 0 8px;
}

.edit-track-summary p {
    margin: 0 0 16px;
        color: #c7c7c7;
}

.discover-section {
    margin-bottom: 24px;
}

.genre-chip-grid {
    display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 12px;
}

.genre-chip:hover,
            .genre-chip:focus-visible {
    border-color: rgba(255, 255, 255, 0.24);
        background: #1a1a1a;
}

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

.discover-card-featured .discover-card-cover {
    min-height: 180px;
}

.listing-toolbar-panel {
    margin-bottom: 24px;
}

.listing-toolbar {
    display: grid;
        gap: 24px;
}

.listing-toolbar-main h2 {
    margin: 8px 0 8px;
}

.listing-back-link {
    display: inline-block;
        color: var(--accent);
        text-decoration: none;
        font-size: 14px;
}

.listing-back-link:hover,
            .listing-back-link:focus-visible {
    text-decoration: underline;
}

.listing-toolbar-filters {
    display: grid;
        grid-template-columns: 1.4fr 1fr 1fr;
        gap: 16px;
}

.hot-track-card {
    display: grid;
        grid-template-columns: 160px minmax(0, 1fr);
        gap: 18px;
        padding: 18px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
}

.hot-track-art {
    min-height: 160px;
        border-radius: 18px;
        background: linear-gradient(180deg, #232323 0%, #141414 100%);
        display: flex;
        align-items: center;
        justify-content: center;
}

.hot-track-top {
    display: flex;
        justify-content: space-between;
        gap: 12px;
        align-items: start;
        margin-bottom: 12px;
}

.hot-track-top h3 {
    margin: 0 0 6px;
}

.hot-track-artist {
    margin: 0;
        color: #c8c8c8;
}

.hot-track-meta {
    display: flex;
        flex-wrap: wrap;
        gap: 8px 14px;
        margin-bottom: 12px;
        font-size: 13px;
        color: #b5b5b5;
}

.hot-track-summary {
    margin: 0 0 16px;
        color: #d0d0d0;
}

.hot-track-actions {
    display: flex;
        flex-wrap: wrap;
        gap: 10px;
}

.listing-footer-actions {
    display: flex;
        justify-content: center;
        margin-top: 28px;
}

/* =========================================================
   MESSAGES
   ========================================================= */

.messages-layout {
    display: grid;
        grid-template-columns: 360px minmax(0, 1fr);
        gap: 24px;
        align-items: start;
}

.messages-sidebar {
    display: grid;
        gap: 18px;
}

.messages-sidebar-top {
    display: grid;
        gap: 14px;
}

.messages-sidebar-top h2 {
    margin: 0 0 6px;
        font-size: 28px;
        line-height: 1.1;
        font-weight: 400;
}

.messages-filter-row {
    display: flex;
        flex-wrap: wrap;
        gap: 10px;
}

.messages-filter-chip {
    appearance: none;
        -webkit-appearance: none;
        border: 1px solid rgba(255,255,255,0.12);
        border-radius: 999px;
        background: #141414;
        color: #ffffff;
        padding: 10px 14px;
        font: inherit;
        font-size: 13px;
        cursor: pointer;
}

.messages-filter-chip.is-active {
    background: rgba(255,245,0,0.08);
        border-color: var(--accent);
}

.messages-thread-list {
    display: grid;
        gap: 12px;
}

.message-thread-card {
    appearance: none;
        -webkit-appearance: none;
        width: 100%;
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 16px;
        background: rgba(255,255,255,0.02);
        color: inherit;
        padding: 14px;
        display: grid;
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 12px;
        text-align: left;
        cursor: pointer;
}

.message-thread-card.is-active {
    border-color: rgba(255,245,0,0.45);
        background: rgba(255,245,0,0.04);
}

.message-thread-avatar {
    width: 52px;
        height: 52px;
        border-radius: 50%;
        background: rgba(255,255,255,0.08);
        border: 1px solid rgba(255,255,255,0.08);
}

.message-thread-avatar.large {
    width: 68px;
        height: 68px;
}

.message-thread-copy {
    min-width: 0;
}

.message-thread-top {
    display: flex;
        justify-content: space-between;
        gap: 10px;
        align-items: start;
        margin-bottom: 8px;
}

.message-thread-top strong {
    font-size: 15px;
}

.message-thread-top span {
    color: #b5b5b5;
        font-size: 12px;
        white-space: nowrap;
}

.message-thread-meta {
    margin-bottom: 8px;
}

.message-role-pill {
    display: inline-flex;
        align-items: center;
        padding: 5px 10px;
        border-radius: 999px;
        background: rgba(255,255,255,0.06);
        color: #ffffff;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.05em;
}

.message-role-pill.manager {
    background: rgba(255,245,0,0.12);
        color: var(--accent);
}

.message-role-pill.executive {
    background: rgba(145,145,255,0.16);
        color: #d8d8ff;
}

.message-thread-card p {
    margin: 0;
        color: #c8c8c8;
        font-size: 13px;
        line-height: 1.4;
}

.messages-sidebar-note {
    border-top: 1px solid rgba(255,255,255,0.08);
        padding-top: 16px;
}

.messages-sidebar-note p {
    margin: 0;
        color: #bdbdbd;
        font-size: 13px;
}

.messages-thread-panel {
    min-height: 720px;
}

.message-thread-view {
    display: none;
        grid-template-rows: auto 1fr auto;
        gap: 20px;
        min-height: 672px;
}

.message-thread-view.is-active {
    display: grid;
}

.messages-thread-header {
    display: flex;
        justify-content: space-between;
        gap: 18px;
        align-items: start;
        padding-bottom: 18px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
}

.messages-thread-header-main {
    display: grid;
        grid-template-columns: 68px minmax(0, 1fr);
        gap: 14px;
        align-items: center;
}

.messages-thread-header h2 {
    margin: 0 0 6px;
        font-size: 28px;
        line-height: 1.1;
        font-weight: 400;
}

.messages-thread-header p {
    margin: 0;
        color: #bdbdbd;
}

.message-thread-status {
    display: inline-flex;
        align-items: center;
        min-height: 36px;
        padding: 8px 12px;
        border-radius: 999px;
        background: rgba(255,255,255,0.06);
        color: #ffffff;
        font-size: 12px;
        text-align: center;
}

.message-thread-status.restricted {
    background: rgba(255,245,0,0.10);
        color: var(--accent);
}

.messages-bubble-list {
    display: grid;
        gap: 14px;
        align-content: start;
}

.message-bubble {
    max-width: 78%;
        padding: 14px 16px;
        border-radius: 18px;
        border: 1px solid rgba(255,255,255,0.08);
        background: rgba(255,255,255,0.04);
}

.message-bubble.incoming {
    justify-self: start;
}

.message-bubble.outgoing {
    justify-self: end;
        background: rgba(255,245,0,0.08);
        border-color: rgba(255,245,0,0.18);
}

.message-bubble p {
    margin: 0 0 8px;
        color: #ffffff;
}

.message-bubble span {
    display: block;
        color: #bdbdbd;
        font-size: 12px;
}

.messages-composer {
    display: grid;
        gap: 14px;
        border-top: 1px solid rgba(255,255,255,0.08);
        padding-top: 18px;
}

.messages-composer-actions {
    display: flex;
        justify-content: space-between;
        gap: 12px;
        flex-wrap: wrap;
}

/* =========================================================
   SETTINGS
   ========================================================= */

.settings-layout {
    display: grid;
        grid-template-columns: 280px minmax(0, 1fr);
        gap: 24px;
        align-items: start;
}

.settings-sidebar-sticky {
    position: sticky;
        top: 96px;
}

.settings-sidebar h2 {
    margin: 0 0 14px;
        font-size: 24px;
        line-height: 1.1;
        font-weight: 400;
}

.settings-nav {
    display: grid;
        gap: 10px;
}

.settings-nav-link {
    display: block;
        padding: 12px 14px;
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 14px;
        background: rgba(255,255,255,0.02);
        color: #ffffff;
        transition: border-color 0.2s ease, background 0.2s ease;
}

.settings-nav-link:hover,
.settings-nav-link:focus-visible {
    border-color: rgba(255,245,0,0.45);
        background: rgba(255,245,0,0.04);
}

.settings-main {
    display: grid;
        gap: 24px;
}

.settings-card {
    scroll-margin-top: 96px;
}

.settings-form {
    display: grid;
        gap: 20px;
}

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

.settings-info-block {
    border: 1px solid rgba(255,255,255,0.08);
        border-radius: 16px;
        padding: 18px;
        background: rgba(255,255,255,0.02);
}

.settings-info-label {
    display: inline-block;
        margin-bottom: 8px;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: var(--accent);
}

.settings-info-block strong {
    display: block;
        margin-bottom: 8px;
        font-size: 22px;
        line-height: 1.1;
        font-weight: 400;
}

.settings-info-block p {
    margin: 0;
        color: #c7c7c7;
        font-size: 14px;
}

.settings-switch-list {
    display: grid;
        gap: 16px;
}

.settings-switch-row {
    display: flex;
        justify-content: space-between;
        gap: 18px;
        align-items: start;
        padding: 18px;
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 16px;
        background: rgba(255,255,255,0.02);
}

.settings-switch-row strong {
    display: block;
        margin: 0 0 6px;
        font-size: 16px;
        line-height: 1.2;
}

.settings-switch-row p {
    margin: 0;
        color: #c7c7c7;
        font-size: 14px;
}

.settings-switch-row input[type="checkbox"] {
    width: 20px;
        height: 20px;
        margin-top: 4px;
        flex: 0 0 auto;
}

.settings-actions-row {
    display: flex;
        gap: 12px;
        flex-wrap: wrap;
        align-items: center;
}

.settings-inline-form {
    display: inline-flex;
        margin: 0;
}

